@xysfe/actui 1.10.4-beta.47 → 1.10.4-beta.49

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/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/CascadePicker/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.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/assets/mixins/gold-visible.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/CascadePicker/index.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCost=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/CascadePicker/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCost=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/CascadePicker/index.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,o,s,i){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.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=1467)}({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"),o=r(25),s=r(0).Symbol,i="function"==typeof s;(t.exports=function(t){return n[t]||(n[t]=i&&s[t]||(i?s:o)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(4),o=r(41),s=r(38),i=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=s(e,!0),n(r),o)try{return i(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),o=r(2),s=r(0),i=r(66),a=r(69);n(n.P+n.R,"Promise",{finally:function(t){var e=i(this,o.Promise||s.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},101:function(t,e,r){"use strict";var n=r(9),o=r(44),s=r(68);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=s(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},107:function(t,e){t.exports=r},1071:function(t,e,r){"use strict";var n=r(129),o=r.n(n),s=r(114),i=r.n(s),a=r(94),c=r.n(a),u=r(72),l=r.n(u),f=r(107),h=r.n(f),p=r(938),d=r(1470),v=r(788),b=r.n(v),y=r(829),g=(r.n(y),r(39));r.n(g);e.a={name:"ActGoldCost",mixins:[h.a],data:function(){return{pickerType:0,costCount:0,title:"",subTitle:"",tableData:null,fakerTableData:null,costInsured:0,costTableId:0}},props:{costTables:{type:Array,default:function(){return[]}},applicant:{type:Object,default:function(){return{}}},insureds:{type:Array,default:function(){return[]}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},btnColor:{type:String,default:""},isNewCostTable:{type:Boolean,default:!0}},components:{ActCascadePicker:b.a,ActCostTable:p.a,ActCostTableNew:d.a},methods:{calculate:function(){var t=this;this.$nextTick(function(){t.genTableList()})},showPicker:function(){1===this.pickerType||2===this.pickerType?this.$refs.singlePicker.show():this.$refs.multiPicker.show()},select:function(t,e,r){if(1===t.length){if(1===this.pickerType&&t[0]===this.costInsured)return;if(2===this.pickerType&&t[0]===this.costTableId)return;1===this.pickerType&&(this.costInsured=t[0]),2===this.pickerType&&(this.costTableId=t[0])}else if(2===t.length){if(t[0]===this.costTableId&&t[1]===this.costInsured)return;this.costTableId=t[0],this.costInsured=t[1]}this.getCost()},genTableList:function(){if(this.costTables&&this.costTables.length){var t=[],e=0,r=[];this.setCostTableIdType();var n=this.isAllCalcType();if(0===this.costTableId&&(this.costTableId=this.costTables[0].id),1===this.costTables.length){if(this.pickerType=1,this.costTableId!==this.costTables[0].id&&(this.costTableId=this.costTables[0].id),1===Number(this.costTables[0].calc_type))t.push({value:0,text:"全部被保险人"}),e++;else for(var o=0,s=this.insureds.length;o<s;o++)t.push({value:o,text:"被保险人"+(o+1)}),e++;this.costInsured>0&&this.costInsured>=this.insureds.length?(this.costInsured=0,r=[0]):r=[this.costInsured],this.$refs.singlePicker.setData(t,r)}else if(1===this.insureds.length||n){this.pickerType=2,this.costInsured>0&&(this.costInsured=0);for(var i=0,a=this.costTables.length;i<a;i++)t.push({value:this.costTables[i].id,text:this.costTables[i].name}),e++;r=[0];for(var c=0,u=t.length;c<u;c++)if(t[c].value===this.costTableId){r=[c];break}this.$refs.singlePicker.setData(t,r)}else if(this.costTables.length>1&&this.insureds.length>1){this.pickerType=3;var l=void 0;r[0]=0;for(var f=0,h=this.costTables.length;f<h;f++){if(this.costTables[f].id===this.costTableId&&(r[0]=f),l={value:this.costTables[f].id,text:this.costTables[f].name,children:[]},"1"===this.costTables[f].calc_type)l.children.push({value:0,text:"全部被保险人"}),e++;else for(var p=0,d=this.insureds.length;p<d;p++)l.children.push({value:p,text:"被保险人"+(p+1)}),e++;t.push(l)}this.costInsured>0&&this.costInsured>=this.insureds.length?(this.updateState({key:"costInsured",value:0}),r[1]=0):r[1]=this.costInsured,this.$refs.multiPicker.setData(t,r)}this.costCount=e,this.getCost()}},getCost:function(){var t=this;new l.a(function(e,r){var n=void 0,o=c()({},t.paramExt),s={genes:o};if(t.applicant&&(o.applicant=t.applicant),t.insureds.length<=t.costInsured)return r({errmsg:"表格不存在"});if(1===t.costTablesCalcType[t.costTableId])n="/buy/getCostTableComplex",o.tableId=t.costTableId,o.insureds=t.insureds;else{n="/buy/getCostTable",s.tableId=t.costTableId;var a=t.insureds[t.costInsured];o.plan=a.plan,o.insured=a.insured}var u=Object(y.md5)(i()(s));t.costTableCache=t.costTableCache||{},t.costTableCache[u]?e(t.costTableCache[u]):t.$fetch(n,s).then(function(r){t.costTableCache[u]=r,e(r)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},setCostTableIdType:function(){for(var t={},e=0,r=this.costTables.length;e<r;e++){t[this.costTables[e].id]=~~this.costTables[e].calc_type}this.costTablesCalcType=t},isAllCalcType:function(){for(var t=0,e=this.costTables.length;t<e;t++){if(1!==~~this.costTables[t].calc_type)return!1}return!0},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],r=[],n=void 0,s=void 0,i=void 0,a=void 0,c=this.costTables,u=Array.isArray(c),l=0,c=u?c:o()(c);;){var f;if(u){if(l>=c.length)break;f=c[l++]}else{if(l=c.next(),l.done)break;f=l.value}var h=f;if(h.id===this.costTableId){a=h.type;break}}for(var p=0,d=t.rows.length;p<d;p++){s=t.rows[p],i=(1===a||2===a)&&+s[3]>+s[2],n=[];for(var v=0,b=t.cols.length;v<b;v++)n.push({value:v===t.cols.length-1?parseFloat(Math.round(100*s[v])/100).toFixed(2):s[v]||0,type:!i||1!==a&&2!==a||3!==v?0:1});e.push(n),p<5||(p+1)%10==0||p===d-1?r.push(n):(1===a||2===a)&&i&&+t.rows[p-1][3]<=+t.rows[p-1][2]?r.push(n):(1===a||2===a)&&i&&+t.rows[p+1][3]<=+t.rows[p+1][2]&&r.push(n)}this.title=t.name,this.subTitle=t.planText;var y=function(e,r){if(!Object(g.isArray)(e))return[];e=Object(g.deepCopy)(e);var n=t.display||[],o={head:function(){return e.filter(function(t,e){return"1"===String(n[e])})||[]},rows:function(){return e.map(function(t){return t&&t.filter(function(t,e){return"1"===String(n[e])})||[]})||[]}};return o[r]?o[r]():[]};this.tableData={head:y(t.cols,"head"),rows:y(e,"rows")},this.fakerTableData={head:y(t.cols,"head"),rows:y(r,"rows")}}}}},1072:function(t,e,r){"use strict";var n=r(196),o=r.n(n),s=r(39);r.n(s);e.a={props:{tableData:{type:Object,default:function(){}},brandColor:{type:String,default:""}},data:function(){return{tableScroller:null,rightTitleScroller:null,rightTableScroller:null,moreToggle:!0}},computed:{renderData:function(){return this.tableData},leftTitleArr:function(){return this.renderData&&this.renderData.head&&this.renderData.head.length?this.renderData.head.slice(0,2):[]},styleOption:function(){return this.brandColor?{backgroundColor:this.brandColor}:{}},rightTitleArr:function(){if(this.renderData&&this.renderData.head&&this.renderData.head.length){var t=this.renderData.head.length;return this.renderData.head.slice(2,t)}return[]},leftTable:function(){if(this.renderData){var t=[];return this.renderData.rows&&this.renderData.rows.forEach(function(e){var r=[];e.forEach(function(t,e){e<2&&r.push(t)}),t.push(r)}),t}return[]},rightTable:function(){if(this.renderData){var t=[];return this.renderData.rows&&this.renderData.rows.forEach(function(e){var r=[];e.forEach(function(t,e){e>1&&r.push(t)}),t.push(r)}),t}return[[]]}},watch:{renderData:{handler:function(t){var e=this;t&&t.rows&&t.head&&this.$nextTick(function(){var t=e.$refs.rightTitle,r=e.$refs.tableWrapper,n=e.$refs.rightTable;t&&e.$nextTick(function(){e.rightTitleScroller?e.rightTitleScroller.refresh():(e.rightTitleScroller=new o.a(t,{scrollX:!0,bounce:!1,probeType:3,momentum:!1}),e.rightTitleScroller.on("scroll",function(t){var r=t.x,n=t.y;Object(s.throttle)(e.rightTableScroller.scrollTo(r,n,0))}))}),r&&e.$nextTick(function(){e.tableScroller?e.tableScroller.refresh():e.tableScroller=new o.a(r,{scrollY:!0,scrollX:!1})}),n&&e.$nextTick(function(){e.rightTableScroller?e.rightTableScroller.refresh():(e.rightTableScroller=new o.a(n,{scrollY:!0,scrollX:!0,bounce:!1,probeType:2,momentum:!1}),e.rightTableScroller.on("scroll",function(t){var r=t.x,n=t.y;e.rightTitleScroller.scrollTo(r,n,0)}))})})},deep:!0}}}},11:function(t,e){t.exports={}},114:function(t,e,r){t.exports={default:r(117),__esModule:!0}},117:function(t,e,r){var n=r(2),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},128:function(t,e){t.exports=n},129:function(t,e,r){t.exports={default:r(142),__esModule:!0}},13:function(t,e,r){var n=r(34),o=r(15);t.exports=function(t){return n(o(t))}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},142:function(t,e,r){r(51),r(48),t.exports=r(143)},143:function(t,e,r){var n=r(4),o=r(56);t.exports=r(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},1467:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(28),o=r.n(n),s=r(1468);s.a.install=function(t){t.component(s.a.name,s.a),t.prototype.$createGoldCost=o()(s.a,t)},e.default=s.a},1468:function(t,e,r){"use strict";function n(t){a||r(1469)}var o=r(1071),s=r(1473),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-1ce1129b",null);u.options.__file="src\\components\\GoldCost\\src\\index.vue",e.a=u.exports},1469:function(t,e){},1470:function(t,e,r){"use strict";function n(t){a||r(1471)}var o=r(1072),s=r(1472),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-2842a46c",null);u.options.__file="src\\components\\GoldCost\\src\\costTable.vue",e.a=u.exports},1471:function(t,e){},1472:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.head&&t.renderData.rows&&t.renderData.rows.length?[r("div",{staticClass:"wrapper"},[r("div",{staticClass:"title-wrapper"},[r("div",{staticClass:"left-title"},[t._l(t.leftTitleArr,function(e,n){return[r("span",{key:"head-"+n,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")])]})],2),t._v(" "),r("div",{ref:"rightTitle",staticClass:"right-title"},[r("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[t._l(t.rightTitleArr,function(e,n){return[r("span",{key:"head-"+n,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")])]})],2)])]),t._v(" "),r("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[r("div",{staticClass:"table"},[r("div",{staticClass:"left-table"},[r("table",{staticClass:"table-body",attrs:{border:"0"}},[t.leftTable&&t.leftTable.length?r("tbody",t._l(t.leftTable,function(e,n){return r("tr",{key:"tr-"+n,staticClass:"table-tr"},[t._l(e,function(e,o){return[r("td",{key:"td-"+n+"-"+o,staticClass:"table-item"},[t._v("\n "+t._s(e.value)+"\n ")])]})],2)}),0):t._e()])]),t._v(" "),r("div",{ref:"rightTable",staticClass:"right-table"},[r("table",{staticClass:"table-body",attrs:{border:"0"}},[t.rightTable&&t.rightTable.length?r("tbody",t._l(t.rightTable,function(e,n){return r("tr",{key:"tr-"+n,staticClass:"table-tr"},[t._l(e,function(e,o){return[r("td",{key:"td-"+n+"-"+o,staticClass:"table-item"},[t._v("\n "+t._s(e.value)+"\n ")])]})],2)}),0):t._e()])])])])])]:[r("div",{staticClass:"no-data"},[t._v("\n 暂无相关数据\n ")])]],2)},o=[];n._withStripped=!0},1473:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("act-panel",{attrs:{visible:!!t.costTables&&!!t.costTables.length&&t.isVisible}},[r("template",{slot:"title"},[r("h3",[t._v("\n 价值演示\n ")]),t._v(" "),t.costCount>1?r("div",{staticClass:"act-cost-more",on:{click:function(e){return e.stopPropagation(),t.showPicker.apply(null,arguments)}}},[r("span",[t._v("查看更多")]),t._v(" "),r("span",{staticClass:"act-cost-more-arrow"})]):t._e()]),t._v(" "),r("div",{staticClass:"act-cost-box"},[t.title?r("div",{staticClass:"act-cost-tit"},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),t.subTitle?r("div",{staticClass:"act-cost-sub-tit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]):t._e(),t._v(" "),t.isNewCostTable?r("act-cost-table-new",{attrs:{tableData:t.tableData,brandColor:t.brandColor}}):r("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,brandColor:t.brandColor}})],1),t._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("act-cascade-picker",{ref:"singlePicker",attrs:{title:"",confirmColor:t.brandColor},on:{select:t.select}}),t._v(" "),r("act-cascade-picker",{ref:"multiPicker",attrs:{title:"",confirmColor:t.brandColor},on:{select:t.select}})],1)],2)},o=[];n._withStripped=!0},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(20);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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,r){var n=r(31)("keys"),o=r(25);t.exports=function(t){return n[t]||(n[t]=o(t))}},196:function(t,e){t.exports=o},2:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},22:function(t,e,r){var n=r(6),o=r(0).document,s=n(o)&&n(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},24:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25: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,o=r(8),s=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},28:function(e,r){e.exports=t},29:function(t,e,r){var n=r(42),o=r(32);t.exports=Object.keys||function(t){return n(t,o)}},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),o=r(0),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[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),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},37:function(t,e,r){"use strict";var n=r(18),o=r(9),s=r(54),i=r(5),a=r(11),c=r(60),u=r(27),l=r(62),f=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,r,d,v,b,y){c(r,e,d);var g,_,x,T=function(t){if(!h&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},m=e+" Iterator",C="values"==v,w=!1,j=t.prototype,S=j[f]||j["@@iterator"]||v&&j[v],k=S||T(v),O=v?C?T("entries"):k:void 0,D="Array"==e?j.entries||S:S;if(D&&(x=l(D.call(new t)))!==Object.prototype&&x.next&&(u(x,m,!0),n||"function"==typeof x[f]||i(x,f,p)),C&&S&&"values"!==S.name&&(w=!0,k=function(){return S.call(this)}),n&&!y||!h&&!w&&j[f]||i(j,f,k),a[e]=k,a[m]=p,v)if(g={values:C?k:T("values"),keys:b?k:T("keys"),entries:O},y)for(_ in g)_ in j||s(j,_,g[_]);else o(o.P+o.F*(h||w),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,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},39:function(t,r){t.exports=e},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),o=r(13),s=r(46)(!1),i=r(19)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),c=0,u=[];for(r in a)r!=i&&n(a,r)&&u.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~s(u,r)||u.push(r));return u}},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=o(e),this.reject=o(r)}var o=r(20);t.exports.f=function(t){return new n(t)}},45:function(t,e,r){var n=r(14),o=r(1)("toStringTag"),s="Arguments"==n(function(){return arguments}()),i=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=i(e=Object(t),o))?r:s?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},46:function(t,e,r){var n=r(13),o=r(35),s=r(47);t.exports=function(t){return function(e,r,i){var a,c=n(e),u=o(c.length),l=s(i,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}}},47:function(t,e,r){var n=r(16),o=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):s(t,e)}},48:function(t,e,r){"use strict";var n=r(59)(!0);r(37)(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),o=r(24);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e){e.f={}.propertyIsEnumerable},51:function(t,e,r){r(64);for(var n=r(0),o=r(5),s=r(11),i=r(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=n[u],f=l&&l.prototype;f&&!f[i]&&o(f,i,u),s[u]=s.Array}},53:function(t,e,r){var n=r(4),o=r(61),s=r(32),i=r(19)("IE_PROTO"),a=function(){},c=function(){var t,e=r(22)("iframe"),n=s.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(),c=t.F;n--;)delete c.prototype[s[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[i]=t):r=c(),void 0===e?r:o(r,e)}},54:function(t,e,r){t.exports=r(5)},56:function(t,e,r){var n=r(45),o=r(1)("iterator"),s=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||s[n(t)]}},58:function(t,e){e.f=Object.getOwnPropertySymbols},59:function(t,e,r){var n=r(16),o=r(15);t.exports=function(t){return function(e,r){var s,i,a=String(o(e)),c=n(r),u=a.length;return c<0||c>=u?t?"":void 0:(s=a.charCodeAt(c),s<55296||s>56319||c+1===u||(i=a.charCodeAt(c+1))<56320||i>57343?t?a.charAt(c):s:t?a.slice(c,c+2):i-56320+(s-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(53),o=r(24),s=r(27),i={};r(5)(i,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(i,{next:o(1,r)}),s(t,e+" Iterator")}},61:function(t,e,r){var n=r(10),o=r(4),s=r(29);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,i=s(e),a=i.length,c=0;a>c;)n.f(t,r=i[c++],e[r]);return t}},62:function(t,e,r){var n=r(8),o=r(33),s=r(19)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,r){"use strict";var n=r(65),o=r(63),s=r(11),i=r(13);t.exports=r(37)(Array,"Array",function(t,e){this._t=i(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,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},65:function(t,e){t.exports=function(){}},66:function(t,e,r){var n=r(4),o=r(20),s=r(1)("species");t.exports=function(t,e){var r,i=n(t).constructor;return void 0===i||void 0==(r=n(i)[s])?e:o(r)}},67:function(t,e,r){var n,o,s,i=r(17),a=r(97),c=r(43),u=r(22),l=r(0),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,b=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){g.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++b]=function(){a("function"==typeof t?t:Function(t),e)},n(b),b},p=function(t){delete y[t]},"process"==r(14)(f)?n=function(t){f.nextTick(i(g,t,1))}:v&&v.now?n=function(t){v.now(i(g,t,1))}:d?(o=new d,s=o.port2,o.port1.onmessage=_,n=i(s.postMessage,s,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):n="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(i(g,t,1),0)}),t.exports={set:h,clear:p}},68:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},69:function(t,e,r){var n=r(4),o=r(6),s=r(44);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=s.f(t);return(0,r.resolve)(e),r.promise}},7:function(t,e,r){"use strict";function n(t,e,r,n,o,s,i,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId=s);var l;if(i?(l=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(i)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}e.a=n},71:function(t,e,r){t.exports={default:r(79),__esModule:!0}},72:function(t,e,r){t.exports={default:r(95),__esModule:!0}},78:function(t,e){},788:function(t,e){t.exports=s},79:function(t,e,r){r(80),t.exports=r(2).Object.assign},8:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},80:function(t,e,r){var n=r(9);n(n.S+n.F,"Object",{assign:r(81)})},81:function(t,e,r){"use strict";var n=r(3),o=r(29),s=r(58),i=r(50),a=r(33),c=r(34),u=Object.assign;t.exports=!u||r(12)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=a(t),u=arguments.length,l=1,f=s.f,h=i.f;u>l;)for(var p,d=c(arguments[l++]),v=f?o(d).concat(f(d)):o(d),b=v.length,y=0;b>y;)p=v[y++],n&&!h.call(d,p)||(r[p]=d[p]);return r}:u},82:function(t,e,r){var n=r(17),o=r(86),s=r(87),i=r(4),a=r(35),c=r(56),u={},l={},e=t.exports=function(t,e,r,f,h){var p,d,v,b,y=h?function(){return t}:c(t),g=n(r,f,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(s(y)){for(p=a(t.length);p>_;_++)if((b=e?g(i(d=t[_])[0],d[1]):g(t[_]))===u||b===l)return b}else for(v=y.call(t);!(d=v.next()).done;)if((b=o(v,g,d.value,e))===u||b===l)return b};e.BREAK=u,e.RETURN=l},829:function(t,e){t.exports=i},86:function(t,e,r){var n=r(4);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var s=t.return;throw void 0!==s&&n(s.call(t)),e}}},864:function(t,e,r){"use strict";var n=r(128),o=r.n(n);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:""}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},87:function(t,e,r){var n=r(11),o=r(1)("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||s[o]===t)}},88:function(t,e,r){var n=r(1)("iterator"),o=!1;try{var s=[7][n]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var s=[7],i=s[n]();i.next=function(){return{done:r=!0}},s[n]=function(){return i},t(s)}catch(t){}return r}},89: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}},9:function(t,e,r){var n=r(0),o=r(2),s=r(17),i=r(5),a=r(8),c=function(t,e,r){var u,l,f,h=t&c.F,p=t&c.G,d=t&c.S,v=t&c.P,b=t&c.B,y=t&c.W,g=p?o:o[e]||(o[e]={}),_=g.prototype,x=p?n:d?n[e]:(n[e]||{}).prototype;p&&(r=e);for(u in r)(l=!h&&x&&void 0!==x[u])&&a(g,u)||(f=l?x[u]:r[u],g[u]=p&&"function"!=typeof x[u]?r[u]:b&&l?s(f,n):y&&x[u]==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):v&&"function"==typeof f?s(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&_&&!_[u]&&i(_,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},90:function(t,e,r){var n=r(5);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},93:function(t,e,r){"use strict";var n=r(0),o=r(2),s=r(10),i=r(3),a=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];i&&e&&!e[a]&&s.f(e,a,{configurable:!0,get:function(){return this}})}},938:function(t,e,r){"use strict";function n(t){a||r(939)}var o=r(864),s=r(940),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},939:function(t,e){},94:function(t,e,r){"use strict";e.__esModule=!0;var n=r(71),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},940:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?r("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[r("table",{staticClass:"act-cost-table-body"},[r("thead",[r("tr",t._l(t.renderData.head,function(e,n){return r("td",{key:"head-"+n,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),r("tbody",t._l(t.renderData.rows,function(e,n){return r("tr",{key:"tr-"+n},t._l(e,function(e,o){return r("td",{key:"td-"+n+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):r("table",{staticClass:"act-cost-table-body"},[r("thead",[r("tr",t._l(t.renderData.head,function(e,n){return r("td",{key:"head-"+n,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),r("tbody",t._l(t.renderData.rows,function(e,n){return r("tr",{key:"tr-"+n},t._l(e,function(e,o){return r("td",{key:"td-"+n+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:r("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?r("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore.apply(null,arguments)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),r("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];n._withStripped=!0},95:function(t,e,r){r(78),r(48),r(51),r(96),r(100),r(101),t.exports=r(2).Promise},96:function(t,e,r){"use strict";var n,o,s,i,a=r(18),c=r(0),u=r(17),l=r(45),f=r(9),h=r(6),p=r(20),d=r(89),v=r(82),b=r(66),y=r(67).set,g=r(98)(),_=r(44),x=r(68),T=r(99),m=r(69),C=c.TypeError,w=c.process,j=w&&w.versions,S=j&&j.v8||"",k=c.Promise,O="process"==l(w),D=function(){},P=o=_.f,I=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(D,D)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==S.indexOf("6.6")&&-1===T.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var n=t._v,o=1==t._s,s=0;r.length>s;)!function(e){var r,s,i,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&$(t),t._h=1),!0===a?r=n:(l&&l.enter(),r=a(n),l&&(l.exit(),i=!0)),r===e.promise?u(C("Promise-chain cycle")):(s=E(r))?s.call(r,c,u):c(r)):u(n)}catch(t){l&&!i&&l.exit(),u(t)}}(r[s++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){y.call(c,function(){var e,r,n,o=t._v,s=L(t);if(s&&(e=x(function(){O?w.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=O||L(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},$=function(t){y.call(c,function(){var e;O?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},R=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()),M(e,!0))},F=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(e=E(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,u(F,n,1),u(R,n,1))}catch(t){R.call(n,t)}}):(r._v=t,r._s=1,M(r,!1))}catch(t){R.call({_w:r,_d:!1},t)}}};I||(k=function(t){d(this,k,"Promise","_h"),p(t),n.call(this);try{t(u(F,this,1),u(R,this,1))}catch(t){R.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(90)(k.prototype,{then:function(t,e){var r=P(b(this,k));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=O?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new n;this.promise=t,this.resolve=u(F,t,1),this.reject=u(R,t,1)},_.f=P=function(t){return t===k||t===i?new s(t):o(t)}),f(f.G+f.W+f.F*!I,{Promise:k}),r(27)(k,"Promise"),r(93)("Promise"),i=r(2).Promise,f(f.S+f.F*!I,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!I),"Promise",{resolve:function(t){return m(a&&this===i?k:this,t)}}),f(f.S+f.F*!(I&&r(88)(function(t){k.all(t).catch(D)})),"Promise",{all:function(t){var e=this,r=P(e),n=r.resolve,o=r.reject,s=x(function(){var r=[],s=0,i=1;v(t,!1,function(t){var a=s++,c=!1;r.push(void 0),i++,e.resolve(t).then(function(t){c||(c=!0,r[a]=t,--i||n(r))},o)}),--i||n(r)});return s.e&&o(s.v),r.promise},race:function(t){var e=this,r=P(e),n=r.reject,o=x(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.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),o=r(67).set,s=n.MutationObserver||n.WebKitMutationObserver,i=n.process,a=n.Promise,c="process"==r(14)(i);t.exports=function(){var t,e,r,u=function(){var n,o;for(c&&(n=i.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){i.nextTick(u)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);r=function(){l.then(u)}}else r=function(){o.call(n,u)};else{var f=!0,h=document.createTextNode("");new s(u).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},99:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""}})});
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/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/CascadePicker/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.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/assets/mixins/gold-visible.js","@xysfe/actui/es/assets/common/scroll.js","@xysfe/actui/es/BScroll/index.js","@xysfe/actui/es/CascadePicker/index.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCost=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/mixins/gold-visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/BScroll/index.js"),require("@xysfe/actui/es/CascadePicker/index.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCost=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/mixins/gold-visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/BScroll/index.js"],t["@xysfe/actui/es/CascadePicker/index.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,r,n,o,s,i){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.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=1467)}({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"),o=r(25),s=r(0).Symbol,i="function"==typeof s;(t.exports=function(t){return n[t]||(n[t]=i&&s[t]||(i?s:o)("Symbol."+t))}).store=n},10:function(t,e,r){var n=r(4),o=r(41),s=r(38),i=Object.defineProperty;e.f=r(3)?Object.defineProperty:function(t,e,r){if(n(t),e=s(e,!0),n(r),o)try{return i(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),o=r(2),s=r(0),i=r(66),a=r(69);n(n.P+n.R,"Promise",{finally:function(t){var e=i(this,o.Promise||s.Promise),r="function"==typeof t;return this.then(r?function(r){return a(e,t()).then(function(){return r})}:t,r?function(r){return a(e,t()).then(function(){throw r})}:t)}})},101:function(t,e,r){"use strict";var n=r(9),o=r(44),s=r(68);n(n.S,"Promise",{try:function(t){var e=o.f(this),r=s(t);return(r.e?e.reject:e.resolve)(r.v),e.promise}})},107:function(t,e){t.exports=r},1071:function(t,e,r){"use strict";var n=r(129),o=r.n(n),s=r(114),i=r.n(s),a=r(94),c=r.n(a),u=r(72),l=r.n(u),f=r(107),h=r.n(f),p=r(938),d=r(1470),v=r(788),b=r.n(v),y=r(829),g=(r.n(y),r(39));r.n(g);e.a={name:"ActGoldCost",mixins:[h.a],data:function(){return{pickerType:0,costCount:0,title:"",subTitle:"",tableData:null,fakerTableData:null,costInsured:0,costTableId:0}},props:{costTables:{type:Array,default:function(){return[]}},applicant:{type:Object,default:function(){return{}}},insureds:{type:Array,default:function(){return[]}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:"#8c7fee"},btnColor:{type:String,default:""},isNewCostTable:{type:Boolean,default:!0}},computed:{isShowNewCostTable:function(){return!(this.tableData&&this.tableData.head&&this.tableData.head.length<5)&&this.isNewCostTable}},components:{ActCascadePicker:b.a,ActCostTable:p.a,ActCostTableNew:d.a},methods:{calculate:function(){var t=this;this.$nextTick(function(){t.genTableList()})},showPicker:function(){1===this.pickerType||2===this.pickerType?this.$refs.singlePicker.show():this.$refs.multiPicker.show()},select:function(t,e,r){if(1===t.length){if(1===this.pickerType&&t[0]===this.costInsured)return;if(2===this.pickerType&&t[0]===this.costTableId)return;1===this.pickerType&&(this.costInsured=t[0]),2===this.pickerType&&(this.costTableId=t[0])}else if(2===t.length){if(t[0]===this.costTableId&&t[1]===this.costInsured)return;this.costTableId=t[0],this.costInsured=t[1]}this.getCost()},genTableList:function(){if(this.costTables&&this.costTables.length){var t=[],e=0,r=[];this.setCostTableIdType();var n=this.isAllCalcType();if(0===this.costTableId&&(this.costTableId=this.costTables[0].id),1===this.costTables.length){if(this.pickerType=1,this.costTableId!==this.costTables[0].id&&(this.costTableId=this.costTables[0].id),1===Number(this.costTables[0].calc_type))t.push({value:0,text:"全部被保险人"}),e++;else for(var o=0,s=this.insureds.length;o<s;o++)t.push({value:o,text:"被保险人"+(o+1)}),e++;this.costInsured>0&&this.costInsured>=this.insureds.length?(this.costInsured=0,r=[0]):r=[this.costInsured],this.$refs.singlePicker.setData(t,r)}else if(1===this.insureds.length||n){this.pickerType=2,this.costInsured>0&&(this.costInsured=0);for(var i=0,a=this.costTables.length;i<a;i++)t.push({value:this.costTables[i].id,text:this.costTables[i].name}),e++;r=[0];for(var c=0,u=t.length;c<u;c++)if(t[c].value===this.costTableId){r=[c];break}this.$refs.singlePicker.setData(t,r)}else if(this.costTables.length>1&&this.insureds.length>1){this.pickerType=3;var l=void 0;r[0]=0;for(var f=0,h=this.costTables.length;f<h;f++){if(this.costTables[f].id===this.costTableId&&(r[0]=f),l={value:this.costTables[f].id,text:this.costTables[f].name,children:[]},"1"===this.costTables[f].calc_type)l.children.push({value:0,text:"全部被保险人"}),e++;else for(var p=0,d=this.insureds.length;p<d;p++)l.children.push({value:p,text:"被保险人"+(p+1)}),e++;t.push(l)}this.costInsured>0&&this.costInsured>=this.insureds.length?(this.updateState({key:"costInsured",value:0}),r[1]=0):r[1]=this.costInsured,this.$refs.multiPicker.setData(t,r)}this.costCount=e,this.getCost()}},getCost:function(){var t=this;new l.a(function(e,r){var n=void 0,o=c()({},t.paramExt),s={genes:o};if(t.applicant&&(o.applicant=t.applicant),t.insureds.length<=t.costInsured)return r({errmsg:"表格不存在"});if(1===t.costTablesCalcType[t.costTableId])n="/buy/getCostTableComplex",o.tableId=t.costTableId,o.insureds=t.insureds;else{n="/buy/getCostTable",s.tableId=t.costTableId;var a=t.insureds[t.costInsured];o.plan=a.plan,o.insured=a.insured}var u=Object(y.md5)(i()(s));t.costTableCache=t.costTableCache||{},t.costTableCache[u]?e(t.costTableCache[u]):t.$fetch(n,s).then(function(r){t.costTableCache[u]=r,e(r)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},setCostTableIdType:function(){for(var t={},e=0,r=this.costTables.length;e<r;e++){t[this.costTables[e].id]=~~this.costTables[e].calc_type}this.costTablesCalcType=t},isAllCalcType:function(){for(var t=0,e=this.costTables.length;t<e;t++){if(1!==~~this.costTables[t].calc_type)return!1}return!0},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],r=[],n=void 0,s=void 0,i=void 0,a=void 0,c=this.costTables,u=Array.isArray(c),l=0,c=u?c:o()(c);;){var f;if(u){if(l>=c.length)break;f=c[l++]}else{if(l=c.next(),l.done)break;f=l.value}var h=f;if(h.id===this.costTableId){a=h.type;break}}for(var p=0,d=t.rows.length;p<d;p++){s=t.rows[p],i=(1===a||2===a)&&+s[3]>+s[2],n=[];for(var v=0,b=t.cols.length;v<b;v++)n.push({value:v===t.cols.length-1?parseFloat(Math.round(100*s[v])/100).toFixed(2):s[v]||0,type:!i||1!==a&&2!==a||3!==v?0:1});e.push(n),p<5||(p+1)%10==0||p===d-1?r.push(n):(1===a||2===a)&&i&&+t.rows[p-1][3]<=+t.rows[p-1][2]?r.push(n):(1===a||2===a)&&i&&+t.rows[p+1][3]<=+t.rows[p+1][2]&&r.push(n)}this.title=t.name,this.subTitle=t.planText;var y=function(e,r){if(!Object(g.isArray)(e))return[];e=Object(g.deepCopy)(e);var n=t.display||[],o={head:function(){return e.filter(function(t,e){return"1"===String(n[e])})||[]},rows:function(){return e.map(function(t){return t&&t.filter(function(t,e){return"1"===String(n[e])})||[]})||[]}};return o[r]?o[r]():[]};this.tableData={head:y(t.cols,"head"),rows:y(e,"rows")},this.fakerTableData={head:y(t.cols,"head"),rows:y(r,"rows")}}}}},1072:function(t,e,r){"use strict";var n=r(196),o=r.n(n),s=r(39);r.n(s);e.a={props:{tableData:{type:Object,default:function(){}},brandColor:{type:String,default:"#8c7fee"}},data:function(){return{tableScroller:null,rightTitleScroller:null,rightTableScroller:null,moreToggle:!0}},computed:{renderData:function(){return this.tableData},leftTitleArr:function(){return this.renderData&&this.renderData.head&&this.renderData.head.length?this.renderData.head.slice(0,2):[]},styleOption:function(){return this.brandColor?{backgroundColor:this.brandColor}:{}},rightTitleArr:function(){if(this.renderData&&this.renderData.head&&this.renderData.head.length){var t=this.renderData.head.length;return this.renderData.head.slice(2,t)}return[]},leftTable:function(){if(this.renderData){var t=[];return this.renderData.rows&&this.renderData.rows.forEach(function(e){var r=[];e.forEach(function(t,e){e<2&&r.push(t)}),t.push(r)}),t}return[]},rightTable:function(){if(this.renderData){var t=[];return this.renderData.rows&&this.renderData.rows.forEach(function(e){var r=[];e.forEach(function(t,e){e>1&&r.push(t)}),t.push(r)}),t}return[[]]}},watch:{renderData:{handler:function(t){var e=this;t&&t.rows&&t.head&&this.$nextTick(function(){var t=e.$refs.rightTitle,r=e.$refs.tableWrapper,n=e.$refs.rightTable;t&&e.$nextTick(function(){e.rightTitleScroller?e.rightTitleScroller.refresh():(e.rightTitleScroller=new o.a(t,{scrollX:!0,bounce:!1,probeType:3,momentum:!1}),e.rightTitleScroller.on("scroll",function(t){var r=t.x,n=t.y;Object(s.throttle)(e.rightTableScroller.scrollTo(r,n,0))}))}),r&&e.$nextTick(function(){e.tableScroller?e.tableScroller.refresh():e.tableScroller=new o.a(r,{scrollY:!0,scrollX:!1})}),n&&e.$nextTick(function(){e.rightTableScroller?e.rightTableScroller.refresh():(e.rightTableScroller=new o.a(n,{scrollY:!0,scrollX:!0,bounce:!1,probeType:2,momentum:!1}),e.rightTableScroller.on("scroll",function(t){var r=t.x,n=t.y;e.rightTitleScroller.scrollTo(r,n,0)}))})})},deep:!0}}}},11:function(t,e){t.exports={}},114:function(t,e,r){t.exports={default:r(117),__esModule:!0}},117:function(t,e,r){var n=r(2),o=n.JSON||(n.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},128:function(t,e){t.exports=n},129:function(t,e,r){t.exports={default:r(142),__esModule:!0}},13:function(t,e,r){var n=r(34),o=r(15);t.exports=function(t){return n(o(t))}},14:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},142:function(t,e,r){r(51),r(48),t.exports=r(143)},143:function(t,e,r){var n=r(4),o=r(56);t.exports=r(2).getIterator=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return n(e.call(t))}},1467:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(28),o=r.n(n),s=r(1468);s.a.install=function(t){t.component(s.a.name,s.a),t.prototype.$createGoldCost=o()(s.a,t)},e.default=s.a},1468:function(t,e,r){"use strict";function n(t){a||r(1469)}var o=r(1071),s=r(1473),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-1ce1129b",null);u.options.__file="src\\components\\GoldCost\\src\\index.vue",e.a=u.exports},1469:function(t,e){},1470:function(t,e,r){"use strict";function n(t){a||r(1471)}var o=r(1072),s=r(1472),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-2842a46c",null);u.options.__file="src\\components\\GoldCost\\src\\costTable.vue",e.a=u.exports},1471:function(t,e){},1472:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.head&&t.renderData.rows&&t.renderData.rows.length?[r("div",{staticClass:"wrapper"},[r("div",{staticClass:"title-wrapper"},[r("div",{staticClass:"left-title"},[t._l(t.leftTitleArr,function(e,n){return[r("span",{key:"head-"+n,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")])]})],2),t._v(" "),r("div",{ref:"rightTitle",staticClass:"right-title"},[r("div",{ref:"rightTitleWrapper",staticClass:"right-title-wrapper"},[t._l(t.rightTitleArr,function(e,n){return[r("span",{key:"head-"+n,staticClass:"table-item",style:t.styleOption},[t._v("\n "+t._s(e)+"\n ")])]})],2)])]),t._v(" "),r("div",{ref:"tableWrapper",staticClass:"table-wrapper"},[r("div",{staticClass:"table"},[r("div",{staticClass:"left-table"},[r("table",{staticClass:"table-body",attrs:{border:"0"}},[t.leftTable&&t.leftTable.length?r("tbody",t._l(t.leftTable,function(e,n){return r("tr",{key:"tr-"+n,staticClass:"table-tr"},[t._l(e,function(e,o){return[r("td",{key:"td-"+n+"-"+o,staticClass:"table-item"},[t._v("\n "+t._s(e.value)+"\n ")])]})],2)}),0):t._e()])]),t._v(" "),r("div",{ref:"rightTable",staticClass:"right-table"},[r("table",{staticClass:"table-body",attrs:{border:"0"}},[t.rightTable&&t.rightTable.length?r("tbody",t._l(t.rightTable,function(e,n){return r("tr",{key:"tr-"+n,staticClass:"table-tr"},[t._l(e,function(e,o){return[r("td",{key:"td-"+n+"-"+o,staticClass:"table-item"},[t._v("\n "+t._s(e.value)+"\n ")])]})],2)}),0):t._e()])])])])])]:[r("div",{staticClass:"no-data"},[t._v("\n 暂无相关数据\n ")])]],2)},o=[];n._withStripped=!0},1473:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("act-panel",{attrs:{visible:!!t.costTables&&!!t.costTables.length&&t.isVisible}},[r("template",{slot:"title"},[r("h3",[t._v("\n 价值演示\n ")]),t._v(" "),t.costCount>1?r("div",{staticClass:"act-cost-more",on:{click:function(e){return e.stopPropagation(),t.showPicker.apply(null,arguments)}}},[r("span",[t._v("查看更多")]),t._v(" "),r("span",{staticClass:"act-cost-more-arrow"})]):t._e()]),t._v(" "),r("div",{staticClass:"act-cost-box"},[t.title?r("div",{staticClass:"act-cost-tit"},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),t.subTitle?r("div",{staticClass:"act-cost-sub-tit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]):t._e(),t._v(" "),t.isShowNewCostTable?r("act-cost-table-new",{attrs:{tableData:t.tableData,brandColor:t.brandColor}}):r("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,brandColor:t.brandColor}})],1),t._v(" "),r("div",{attrs:{slot:"footer"},slot:"footer"},[r("act-cascade-picker",{ref:"singlePicker",attrs:{title:"",confirmColor:t.brandColor},on:{select:t.select}}),t._v(" "),r("act-cascade-picker",{ref:"multiPicker",attrs:{title:"",confirmColor:t.brandColor},on:{select:t.select}})],1)],2)},o=[];n._withStripped=!0},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(20);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,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},18:function(t,e){t.exports=!0},19:function(t,e,r){var n=r(31)("keys"),o=r(25);t.exports=function(t){return n[t]||(n[t]=o(t))}},196:function(t,e){t.exports=o},2:function(t,e){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},22:function(t,e,r){var n=r(6),o=r(0).document,s=n(o)&&n(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},24:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25: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,o=r(8),s=r(1)("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,s)&&n(t,s,{configurable:!0,value:e})}},28:function(e,r){e.exports=t},29:function(t,e,r){var n=r(42),o=r(32);t.exports=Object.keys||function(t){return n(t,o)}},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),o=r(0),s=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return s[t]||(s[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),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},37:function(t,e,r){"use strict";var n=r(18),o=r(9),s=r(54),i=r(5),a=r(11),c=r(60),u=r(27),l=r(62),f=r(1)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,r,d,v,b,y){c(r,e,d);var g,_,T,x=function(t){if(!h&&t in j)return j[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},m=e+" Iterator",C="values"==v,w=!1,j=t.prototype,S=j[f]||j["@@iterator"]||v&&j[v],k=S||x(v),D=v?C?x("entries"):k:void 0,O="Array"==e?j.entries||S:S;if(O&&(T=l(O.call(new t)))!==Object.prototype&&T.next&&(u(T,m,!0),n||"function"==typeof T[f]||i(T,f,p)),C&&S&&"values"!==S.name&&(w=!0,k=function(){return S.call(this)}),n&&!y||!h&&!w&&j[f]||i(j,f,k),a[e]=k,a[m]=p,v)if(g={values:C?k:x("values"),keys:b?k:x("keys"),entries:D},y)for(_ in g)_ in j||s(j,_,g[_]);else o(o.P+o.F*(h||w),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,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},39:function(t,r){t.exports=e},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),o=r(13),s=r(46)(!1),i=r(19)("IE_PROTO");t.exports=function(t,e){var r,a=o(t),c=0,u=[];for(r in a)r!=i&&n(a,r)&&u.push(r);for(;e.length>c;)n(a,r=e[c++])&&(~s(u,r)||u.push(r));return u}},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=o(e),this.reject=o(r)}var o=r(20);t.exports.f=function(t){return new n(t)}},45:function(t,e,r){var n=r(14),o=r(1)("toStringTag"),s="Arguments"==n(function(){return arguments}()),i=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=i(e=Object(t),o))?r:s?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},46:function(t,e,r){var n=r(13),o=r(35),s=r(47);t.exports=function(t){return function(e,r,i){var a,c=n(e),u=o(c.length),l=s(i,u);if(t&&r!=r){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===r)return t||l||0;return!t&&-1}}},47:function(t,e,r){var n=r(16),o=Math.max,s=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):s(t,e)}},48:function(t,e,r){"use strict";var n=r(59)(!0);r(37)(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),o=r(24);t.exports=r(3)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},50:function(t,e){e.f={}.propertyIsEnumerable},51:function(t,e,r){r(64);for(var n=r(0),o=r(5),s=r(11),i=r(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=n[u],f=l&&l.prototype;f&&!f[i]&&o(f,i,u),s[u]=s.Array}},53:function(t,e,r){var n=r(4),o=r(61),s=r(32),i=r(19)("IE_PROTO"),a=function(){},c=function(){var t,e=r(22)("iframe"),n=s.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(),c=t.F;n--;)delete c.prototype[s[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[i]=t):r=c(),void 0===e?r:o(r,e)}},54:function(t,e,r){t.exports=r(5)},56:function(t,e,r){var n=r(45),o=r(1)("iterator"),s=r(11);t.exports=r(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||s[n(t)]}},58:function(t,e){e.f=Object.getOwnPropertySymbols},59:function(t,e,r){var n=r(16),o=r(15);t.exports=function(t){return function(e,r){var s,i,a=String(o(e)),c=n(r),u=a.length;return c<0||c>=u?t?"":void 0:(s=a.charCodeAt(c),s<55296||s>56319||c+1===u||(i=a.charCodeAt(c+1))<56320||i>57343?t?a.charAt(c):s:t?a.slice(c,c+2):i-56320+(s-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(53),o=r(24),s=r(27),i={};r(5)(i,r(1)("iterator"),function(){return this}),t.exports=function(t,e,r){t.prototype=n(i,{next:o(1,r)}),s(t,e+" Iterator")}},61:function(t,e,r){var n=r(10),o=r(4),s=r(29);t.exports=r(3)?Object.defineProperties:function(t,e){o(t);for(var r,i=s(e),a=i.length,c=0;a>c;)n.f(t,r=i[c++],e[r]);return t}},62:function(t,e,r){var n=r(8),o=r(33),s=r(19)("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?i:null}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,r){"use strict";var n=r(65),o=r(63),s=r(11),i=r(13);t.exports=r(37)(Array,"Array",function(t,e){this._t=i(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,o(1)):"keys"==e?o(0,r):"values"==e?o(0,t[r]):o(0,[r,t[r]])},"values"),s.Arguments=s.Array,n("keys"),n("values"),n("entries")},65:function(t,e){t.exports=function(){}},66:function(t,e,r){var n=r(4),o=r(20),s=r(1)("species");t.exports=function(t,e){var r,i=n(t).constructor;return void 0===i||void 0==(r=n(i)[s])?e:o(r)}},67:function(t,e,r){var n,o,s,i=r(17),a=r(97),c=r(43),u=r(22),l=r(0),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,b=0,y={},g=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},_=function(t){g.call(t.data)};h&&p||(h=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return y[++b]=function(){a("function"==typeof t?t:Function(t),e)},n(b),b},p=function(t){delete y[t]},"process"==r(14)(f)?n=function(t){f.nextTick(i(g,t,1))}:v&&v.now?n=function(t){v.now(i(g,t,1))}:d?(o=new d,s=o.port2,o.port1.onmessage=_,n=i(s.postMessage,s,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(n=function(t){l.postMessage(t+"","*")},l.addEventListener("message",_,!1)):n="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),g.call(t)}}:function(t){setTimeout(i(g,t,1),0)}),t.exports={set:h,clear:p}},68:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},69:function(t,e,r){var n=r(4),o=r(6),s=r(44);t.exports=function(t,e){if(n(t),o(e)&&e.constructor===t)return e;var r=s.f(t);return(0,r.resolve)(e),r.promise}},7:function(t,e,r){"use strict";function n(t,e,r,n,o,s,i,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),s&&(u._scopeId=s);var l;if(i?(l=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(i)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var h=u.beforeCreate;u.beforeCreate=h?[].concat(h,l):[l]}return{exports:t,options:u}}e.a=n},71:function(t,e,r){t.exports={default:r(79),__esModule:!0}},72:function(t,e,r){t.exports={default:r(95),__esModule:!0}},78:function(t,e){},788:function(t,e){t.exports=s},79:function(t,e,r){r(80),t.exports=r(2).Object.assign},8:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},80:function(t,e,r){var n=r(9);n(n.S+n.F,"Object",{assign:r(81)})},81:function(t,e,r){"use strict";var n=r(3),o=r(29),s=r(58),i=r(50),a=r(33),c=r(34),u=Object.assign;t.exports=!u||r(12)(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=a(t),u=arguments.length,l=1,f=s.f,h=i.f;u>l;)for(var p,d=c(arguments[l++]),v=f?o(d).concat(f(d)):o(d),b=v.length,y=0;b>y;)p=v[y++],n&&!h.call(d,p)||(r[p]=d[p]);return r}:u},82:function(t,e,r){var n=r(17),o=r(86),s=r(87),i=r(4),a=r(35),c=r(56),u={},l={},e=t.exports=function(t,e,r,f,h){var p,d,v,b,y=h?function(){return t}:c(t),g=n(r,f,e?2:1),_=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(s(y)){for(p=a(t.length);p>_;_++)if((b=e?g(i(d=t[_])[0],d[1]):g(t[_]))===u||b===l)return b}else for(v=y.call(t);!(d=v.next()).done;)if((b=o(v,g,d.value,e))===u||b===l)return b};e.BREAK=u,e.RETURN=l},829:function(t,e){t.exports=i},86:function(t,e,r){var n=r(4);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){var s=t.return;throw void 0!==s&&n(s.call(t)),e}}},864:function(t,e,r){"use strict";var n=r(128),o=r.n(n);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:"#8c7fee"}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},87:function(t,e,r){var n=r(11),o=r(1)("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||s[o]===t)}},88:function(t,e,r){var n=r(1)("iterator"),o=!1;try{var s=[7][n]();s.return=function(){o=!0},Array.from(s,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var r=!1;try{var s=[7],i=s[n]();i.next=function(){return{done:r=!0}},s[n]=function(){return i},t(s)}catch(t){}return r}},89: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}},9:function(t,e,r){var n=r(0),o=r(2),s=r(17),i=r(5),a=r(8),c=function(t,e,r){var u,l,f,h=t&c.F,p=t&c.G,d=t&c.S,v=t&c.P,b=t&c.B,y=t&c.W,g=p?o:o[e]||(o[e]={}),_=g.prototype,T=p?n:d?n[e]:(n[e]||{}).prototype;p&&(r=e);for(u in r)(l=!h&&T&&void 0!==T[u])&&a(g,u)||(f=l?T[u]:r[u],g[u]=p&&"function"!=typeof T[u]?r[u]:b&&l?s(f,n):y&&T[u]==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):v&&"function"==typeof f?s(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&_&&!_[u]&&i(_,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},90:function(t,e,r){var n=r(5);t.exports=function(t,e,r){for(var o in e)r&&t[o]?t[o]=e[o]:n(t,o,e[o]);return t}},93:function(t,e,r){"use strict";var n=r(0),o=r(2),s=r(10),i=r(3),a=r(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:n[t];i&&e&&!e[a]&&s.f(e,a,{configurable:!0,get:function(){return this}})}},938:function(t,e,r){"use strict";function n(t){a||r(939)}var o=r(864),s=r(940),i=r(7),a=!1,c=n,u=Object(i.a)(o.a,s.a,s.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},939:function(t,e){},94:function(t,e,r){"use strict";e.__esModule=!0;var n=r(71),o=function(t){return t&&t.__esModule?t:{default:t}}(n);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}},940:function(t,e,r){"use strict";r.d(e,"a",function(){return n}),r.d(e,"b",function(){return o});var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?r("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[r("table",{staticClass:"act-cost-table-body"},[r("thead",[r("tr",t._l(t.renderData.head,function(e,n){return r("td",{key:"head-"+n,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),r("tbody",t._l(t.renderData.rows,function(e,n){return r("tr",{key:"tr-"+n},t._l(e,function(e,o){return r("td",{key:"td-"+n+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):r("table",{staticClass:"act-cost-table-body"},[r("thead",[r("tr",t._l(t.renderData.head,function(e,n){return r("td",{key:"head-"+n,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),r("tbody",t._l(t.renderData.rows,function(e,n){return r("tr",{key:"tr-"+n},t._l(e,function(e,o){return r("td",{key:"td-"+n+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:r("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?r("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore.apply(null,arguments)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),r("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];n._withStripped=!0},95:function(t,e,r){r(78),r(48),r(51),r(96),r(100),r(101),t.exports=r(2).Promise},96:function(t,e,r){"use strict";var n,o,s,i,a=r(18),c=r(0),u=r(17),l=r(45),f=r(9),h=r(6),p=r(20),d=r(89),v=r(82),b=r(66),y=r(67).set,g=r(98)(),_=r(44),T=r(68),x=r(99),m=r(69),C=c.TypeError,w=c.process,j=w&&w.versions,S=j&&j.v8||"",k=c.Promise,D="process"==l(w),O=function(){},P=o=_.f,I=!!function(){try{var t=k.resolve(1),e=(t.constructor={})[r(1)("species")]=function(t){t(O,O)};return(D||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==S.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),E=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},M=function(t,e){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var n=t._v,o=1==t._s,s=0;r.length>s;)!function(e){var r,s,i,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&$(t),t._h=1),!0===a?r=n:(l&&l.enter(),r=a(n),l&&(l.exit(),i=!0)),r===e.promise?u(C("Promise-chain cycle")):(s=E(r))?s.call(r,c,u):c(r)):u(n)}catch(t){l&&!i&&l.exit(),u(t)}}(r[s++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){y.call(c,function(){var e,r,n,o=t._v,s=L(t);if(s&&(e=T(function(){D?w.emit("unhandledRejection",o,t):(r=c.onunhandledrejection)?r({promise:t,reason:o}):(n=c.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=D||L(t)?2:1),t._a=void 0,s&&e.e)throw e.v})},L=function(t){return 1!==t._h&&0===(t._a||t._c).length},$=function(t){y.call(c,function(){var e;D?w.emit("rejectionHandled",t):(e=c.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()),M(e,!0))},R=function(t){var e,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw C("Promise can't be resolved itself");(e=E(t))?g(function(){var n={_w:r,_d:!1};try{e.call(t,u(R,n,1),u(N,n,1))}catch(t){N.call(n,t)}}):(r._v=t,r._s=1,M(r,!1))}catch(t){N.call({_w:r,_d:!1},t)}}};I||(k=function(t){d(this,k,"Promise","_h"),p(t),n.call(this);try{t(u(R,this,1),u(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(90)(k.prototype,{then:function(t,e){var r=P(b(this,k));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=D?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&M(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),s=function(){var t=new n;this.promise=t,this.resolve=u(R,t,1),this.reject=u(N,t,1)},_.f=P=function(t){return t===k||t===i?new s(t):o(t)}),f(f.G+f.W+f.F*!I,{Promise:k}),r(27)(k,"Promise"),r(93)("Promise"),i=r(2).Promise,f(f.S+f.F*!I,"Promise",{reject:function(t){var e=P(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!I),"Promise",{resolve:function(t){return m(a&&this===i?k:this,t)}}),f(f.S+f.F*!(I&&r(88)(function(t){k.all(t).catch(O)})),"Promise",{all:function(t){var e=this,r=P(e),n=r.resolve,o=r.reject,s=T(function(){var r=[],s=0,i=1;v(t,!1,function(t){var a=s++,c=!1;r.push(void 0),i++,e.resolve(t).then(function(t){c||(c=!0,r[a]=t,--i||n(r))},o)}),--i||n(r)});return s.e&&o(s.v),r.promise},race:function(t){var e=this,r=P(e),n=r.reject,o=T(function(){v(t,!1,function(t){e.resolve(t).then(r.resolve,n)})});return o.e&&n(o.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),o=r(67).set,s=n.MutationObserver||n.WebKitMutationObserver,i=n.process,a=n.Promise,c="process"==r(14)(i);t.exports=function(){var t,e,r,u=function(){var n,o;for(c&&(n=i.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?r():e=void 0,n}}e=void 0,n&&n.enter()};if(c)r=function(){i.nextTick(u)};else if(!s||n.navigator&&n.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);r=function(){l.then(u)}}else r=function(){o.call(n,u)};else{var f=!0,h=document.createTextNode("");new s(u).observe(h,{characterData:!0}),r=function(){h.data=f=!f}}return function(n){var o={fn:n,next:void 0};e&&(e.next=o),t||(t=o,r()),e=o}}},99:function(t,e,r){var n=r(0),o=n.navigator;t.exports=o&&o.userAgent||""}})});
@@ -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/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.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/scroll.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCostLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCostLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,o){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=1474)}({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"),o=n(25),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(4),o=n(41),i=n(38),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}},100:function(t,e,n){"use strict";var r=n(9),o=n(2),i=n(0),s=n(66),a=n(69);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},101:function(t,e,n){"use strict";var r=n(9),o=n(44),i=n(68);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},1073:function(t,e,n){"use strict";var r=n(114),o=n.n(r),i=n(94),s=n.n(i),a=n(72),c=n.n(a),u=n(40),l=n.n(u),f=n(159),p=n.n(f),d=n(938),v=n(829);n.n(v);e.a={name:"ActGoldCostLayer",mixins:[l.a],data:function(){return{title:"",subTitle:"",tableData:null,fakerTableData:null,staticCostTable:null,staticApplicant:null,staticInsured:null}},props:{costTable:{type:Object,default:function(){return null}},applicant:{type:Object,default:function(){return{}}},insured:{type:Object,default:function(){return{}}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},btnColor:{type:String,default:""}},components:{ActGoldLayer:p.a,ActCostTable:d.a},computed:{realCostTable:function(){return this.staticCostTable||this.costTable},realApplicant:function(){return this.staticApplicant||this.applicant},realInsured:function(){return this.staticInsured||this.insured}},methods:{setData:function(t,e,n){this.staticCostTable=t,this.staticApplicant=e,this.staticInsured=n},getCost:function(){var t=this;new c.a(function(e,n){var r=void 0,i=s()({},t.paramExt),a={genes:i};t.realApplicant&&(i.applicant=t.realApplicant),1===Number(t.realCostTable.calc_type)?(r="/buy/getCostTableComplex",i.tableId=t.realCostTable.id,i.insureds=[t.realInsured]):(r="/buy/getCostTable",a.tableId=t.realCostTable.id,i.plan=t.realInsured.plan,i.insured=t.realInsured.insured);var c=Object(v.md5)(o()(a));t.costTableCache=t.costTableCache||{},t.costTableCache[c]?e(t.costTableCache[c]):t.$fetch(r,a).then(function(n){t.costTableCache[c]=n,e(n)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],n=[],r=this.realCostTable.type,o=void 0,i=void 0,s=void 0,a=0,c=t.rows.length;a<c;a++){i=t.rows[a],s=(1===r||2===r)&&+i[3]>+i[2],o=[];for(var u=0,l=t.cols.length;u<l;u++)o.push({value:u===t.cols.length-1?parseFloat(Math.round(100*i[u])/100).toFixed(2):i[u]||0,type:!s||1!==r&&2!==r||3!==u?0:1});e.push(o),a<5||(a+1)%10==0||a===c-1?n.push(o):(1===r||2===r)&&s&&+t.rows[a-1][3]<=+t.rows[a-1][2]?n.push(o):(1===r||2===r)&&s&&+t.rows[a+1][3]<=+t.rows[a+1][2]&&n.push(o)}this.title=t.name,this.subTitle=t.planText,this.tableData={head:t.cols,rows:e},this.fakerTableData={head:t.cols,rows:n}}},watch:{isVisible:function(t){this.getCost()}}}},11:function(t,e){t.exports={}},114:function(t,e,n){t.exports={default:n(117),__esModule:!0}},117:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},128:function(t,e){t.exports=n},13:function(t,e,n){var r=n(34),o=n(15);t.exports=function(t){return r(o(t))}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},1474:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n.n(r),i=n(1475);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldCostLayer=o()(i.a,t)},e.default=i.a},1475:function(t,e,n){"use strict";function r(t){a||n(1476)}var o=n(1073),i=n(1477),s=n(7),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-94eb39bc",null);u.options.__file="src\\components\\GoldCostLayer\\src\\index.vue",e.a=u.exports},1476:function(t,e){},1477: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,title:t.title,center:!1},on:{close:t.hide}},[n("div",{staticClass:"act-cost-box act-iphonex-padding"},[n("p",{staticClass:"act-cost-table-subtit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]),t._v(" "),n("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,togglable:!1,scrollable:!0,brandColor:t.brandColor}})],1)])},o=[];r._withStripped=!0},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},159:function(t,e){t.exports=r},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(20);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)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(31)("keys"),o=n(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return 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):{}}},24:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},27:function(t,e,n){var r=n(10).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})}},28:function(e,n){e.exports=t},29:function(t,e,n){var r=n(42),o=n(32);t.exports=Object.keys||function(t){return r(t,o)}},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),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)"})},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),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},37:function(t,e,n){"use strict";var r=n(18),o=n(9),i=n(54),s=n(5),a=n(11),c=n(60),u=n(27),l=n(62),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,b){c(n,e,v);var _,m,x,g=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",T="values"==h,w=!1,C=t.prototype,S=C[f]||C["@@iterator"]||h&&C[h],O=S||g(h),P=h?T?g("entries"):O:void 0,D="Array"==e?C.entries||S:S;if(D&&(x=l(D.call(new t)))!==Object.prototype&&x.next&&(u(x,j,!0),r||"function"==typeof x[f]||s(x,f,d)),T&&S&&"values"!==S.name&&(w=!0,O=function(){return S.call(this)}),r&&!b||!p&&!w&&C[f]||s(C,f,O),a[e]=O,a[j]=d,h)if(_={values:T?O:g("values"),keys:y?O:g("keys"),entries:P},b)for(m in _)m in C||i(C,m,_[m]);else o(o.P+o.F*(p||w),e,_);return _}},38: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")}},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,n){t.exports=e},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),o=n(13),i=n(46)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(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=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},45: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,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},46:function(t,e,n){var r=n(13),o=n(35),i=n(47);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=o(c.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)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),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},48:function(t,e,n){"use strict";var r=n(59)(!0);n(37)(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),o=n(24);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){e.f={}.propertyIsEnumerable},51:function(t,e,n){n(64);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&o(f,s,u),i[u]=i.Array}},53:function(t,e,n){var r=n(4),o=n(61),i=n(32),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(22)("iframe"),r=i.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[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},54:function(t,e,n){t.exports=n(5)},56:function(t,e,n){var r=n(45),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){e.f=Object.getOwnPropertySymbols},59:function(t,e,n){var r=n(16),o=n(15);t.exports=function(t){return function(e,n){var i,s,a=String(o(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-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(53),o=n(24),i=n(27),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")}},61:function(t,e,n){var r=n(10),o=n(4),i=n(29);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},62:function(t,e,n){var r=n(8),o=n(33),i=n(19)("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}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,n){"use strict";var r=n(65),o=n(63),i=n(11),s=n(13);t.exports=n(37)(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")},65:function(t,e){t.exports=function(){}},66:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},67:function(t,e,n){var r,o,i,s=n(17),a=n(97),c=n(43),u=n(22),l=n(0),f=l.process,p=l.setImmediate,d=l.clearImmediate,v=l.MessageChannel,h=l.Dispatch,y=0,b={},_=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},m=function(t){_.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(s(_,t,1))}:h&&h.now?r=function(t){h.now(s(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=m,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:p,clear:d}},68:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},69:function(t,e,n){var r=n(4),o=n(6),i=n(44);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(s?(l=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)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}e.a=r},71:function(t,e,n){t.exports={default:n(79),__esModule:!0}},72:function(t,e,n){t.exports={default:n(95),__esModule:!0}},78:function(t,e){},79:function(t,e,n){n(80),t.exports=n(2).Object.assign},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){var r=n(9);r(r.S+r.F,"Object",{assign:n(81)})},81:function(t,e,n){"use strict";var r=n(3),o=n(29),i=n(58),s=n(50),a=n(33),c=n(34),u=Object.assign;t.exports=!u||n(12)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=i.f,p=s.f;u>l;)for(var d,v=c(arguments[l++]),h=f?o(v).concat(f(v)):o(v),y=h.length,b=0;y>b;)d=h[b++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:u},82:function(t,e,n){var r=n(17),o=n(86),i=n(87),s=n(4),a=n(35),c=n(56),u={},l={},e=t.exports=function(t,e,n,f,p){var d,v,h,y,b=p?function(){return t}:c(t),_=r(n,f,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=a(t.length);d>m;m++)if((y=e?_(s(v=t[m])[0],v[1]):_(t[m]))===u||y===l)return y}else for(h=b.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===u||y===l)return y};e.BREAK=u,e.RETURN=l},829:function(t,e){t.exports=o},86:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},864:function(t,e,n){"use strict";var r=n(128),o=n.n(r);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:""}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},87:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},88:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},89:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},9:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),a=n(8),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,y=t&c.B,b=t&c.W,_=d?o:o[e]||(o[e]={}),m=_.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(u in n)(l=!p&&x&&void 0!==x[u])&&a(_,u)||(f=l?x[u]:n[u],_[u]=d&&"function"!=typeof x[u]?n[u]:y&&l?i(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((_.virtual||(_.virtual={}))[u]=f,t&c.R&&m&&!m[u]&&s(m,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},90:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},93:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(10),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},938:function(t,e,n){"use strict";function r(t){a||n(939)}var o=n(864),i=n(940),s=n(7),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},939:function(t,e){},94:function(t,e,n){"use strict";e.__esModule=!0;var r=n(71),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},940: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("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?n("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:n("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?n("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore.apply(null,arguments)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),n("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];r._withStripped=!0},95:function(t,e,n){n(78),n(48),n(51),n(96),n(100),n(101),t.exports=n(2).Promise},96:function(t,e,n){"use strict";var r,o,i,s,a=n(18),c=n(0),u=n(17),l=n(45),f=n(9),p=n(6),d=n(20),v=n(89),h=n(82),y=n(66),b=n(67).set,_=n(98)(),m=n(44),x=n(68),g=n(99),j=n(69),T=c.TypeError,w=c.process,C=w&&w.versions,S=C&&C.v8||"",O=c.Promise,P="process"==l(w),D=function(){},k=o=m.f,M=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(D,D)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==S.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},E=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,s,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(T("Promise-chain cycle")):(i=L(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){b.call(c,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=x(function(){P?w.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){b.call(c,function(){var e;P?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=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()),E(e,!0))},G=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=L(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(G,r,1),u(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,E(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};M||(O=function(t){v(this,O,"Promise","_h"),d(t),r.call(this);try{t(u(G,this,1),u(F,this,1))}catch(t){F.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(90)(O.prototype,{then:function(t,e){var n=k(y(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&E(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(G,t,1),this.reject=u(F,t,1)},m.f=k=function(t){return t===O||t===s?new i(t):o(t)}),f(f.G+f.W+f.F*!M,{Promise:O}),n(27)(O,"Promise"),n(93)("Promise"),s=n(2).Promise,f(f.S+f.F*!M,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!M),"Promise",{resolve:function(t){return j(a&&this===s?O:this,t)}}),f(f.S+f.F*!(M&&n(88)(function(t){O.all(t).catch(D)})),"Promise",{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=k(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},97:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},98:function(t,e,n){var r=n(0),o=n(67).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},99:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""}})});
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/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.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/scroll.js","@xysfe/actui/es/assets/common/goldlayer.js","@xysfe/actui/es/assets/utils/encrypt.js"],e):"object"==typeof exports?exports.GoldCostLayer=e(require("@xysfe/actui/es/assets/utils/create/index.js"),require("@xysfe/actui/es/assets/mixins/visible.js"),require("@xysfe/actui/es/assets/common/scroll.js"),require("@xysfe/actui/es/assets/common/goldlayer.js"),require("@xysfe/actui/es/assets/utils/encrypt.js")):t.GoldCostLayer=e(t["@xysfe/actui/es/assets/utils/create/index.js"],t["@xysfe/actui/es/assets/mixins/visible.js"],t["@xysfe/actui/es/assets/common/scroll.js"],t["@xysfe/actui/es/assets/common/goldlayer.js"],t["@xysfe/actui/es/assets/utils/encrypt.js"])}("undefined"!=typeof self?self:this,function(t,e,n,r,o){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=1474)}({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"),o=n(25),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(4),o=n(41),i=n(38),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}},100:function(t,e,n){"use strict";var r=n(9),o=n(2),i=n(0),s=n(66),a=n(69);r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,o.Promise||i.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},101:function(t,e,n){"use strict";var r=n(9),o=n(44),i=n(68);r(r.S,"Promise",{try:function(t){var e=o.f(this),n=i(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},1073:function(t,e,n){"use strict";var r=n(114),o=n.n(r),i=n(94),s=n.n(i),a=n(72),c=n.n(a),u=n(40),l=n.n(u),f=n(159),p=n.n(f),d=n(938),v=n(829);n.n(v);e.a={name:"ActGoldCostLayer",mixins:[l.a],data:function(){return{title:"",subTitle:"",tableData:null,fakerTableData:null,staticCostTable:null,staticApplicant:null,staticInsured:null}},props:{costTable:{type:Object,default:function(){return null}},applicant:{type:Object,default:function(){return{}}},insured:{type:Object,default:function(){return{}}},paramExt:{type:Object,default:function(){return{}}},brandColor:{type:String,default:""},btnColor:{type:String,default:""}},components:{ActGoldLayer:p.a,ActCostTable:d.a},computed:{realCostTable:function(){return this.staticCostTable||this.costTable},realApplicant:function(){return this.staticApplicant||this.applicant},realInsured:function(){return this.staticInsured||this.insured}},methods:{setData:function(t,e,n){this.staticCostTable=t,this.staticApplicant=e,this.staticInsured=n},getCost:function(){var t=this;new c.a(function(e,n){var r=void 0,i=s()({},t.paramExt),a={genes:i};t.realApplicant&&(i.applicant=t.realApplicant),1===Number(t.realCostTable.calc_type)?(r="/buy/getCostTableComplex",i.tableId=t.realCostTable.id,i.insureds=[t.realInsured]):(r="/buy/getCostTable",a.tableId=t.realCostTable.id,i.plan=t.realInsured.plan,i.insured=t.realInsured.insured);var c=Object(v.md5)(o()(a));t.costTableCache=t.costTableCache||{},t.costTableCache[c]?e(t.costTableCache[c]):t.$fetch(r,a).then(function(n){t.costTableCache[c]=n,e(n)})}).then(function(e){0===e.ret&&e.data?t.genTableData(e.data):t.genTableData(null)}).catch(function(e){t.genTableData(null)})},genTableData:function(t){if(!t)return this.title="",this.subTitle="",this.tableData=null,void(this.fakerTableData=null);for(var e=[],n=[],r=this.realCostTable.type,o=void 0,i=void 0,s=void 0,a=0,c=t.rows.length;a<c;a++){i=t.rows[a],s=(1===r||2===r)&&+i[3]>+i[2],o=[];for(var u=0,l=t.cols.length;u<l;u++)o.push({value:u===t.cols.length-1?parseFloat(Math.round(100*i[u])/100).toFixed(2):i[u]||0,type:!s||1!==r&&2!==r||3!==u?0:1});e.push(o),a<5||(a+1)%10==0||a===c-1?n.push(o):(1===r||2===r)&&s&&+t.rows[a-1][3]<=+t.rows[a-1][2]?n.push(o):(1===r||2===r)&&s&&+t.rows[a+1][3]<=+t.rows[a+1][2]&&n.push(o)}this.title=t.name,this.subTitle=t.planText,this.tableData={head:t.cols,rows:e},this.fakerTableData={head:t.cols,rows:n}}},watch:{isVisible:function(t){this.getCost()}}}},11:function(t,e){t.exports={}},114:function(t,e,n){t.exports={default:n(117),__esModule:!0}},117:function(t,e,n){var r=n(2),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(t){return o.stringify.apply(o,arguments)}},12:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},128:function(t,e){t.exports=n},13:function(t,e,n){var r=n(34),o=n(15);t.exports=function(t){return r(o(t))}},14:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},1474:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(28),o=n.n(r),i=n(1475);i.a.install=function(t){t.component(i.a.name,i.a),t.prototype.$createGoldCostLayer=o()(i.a,t)},e.default=i.a},1475:function(t,e,n){"use strict";function r(t){a||n(1476)}var o=n(1073),i=n(1477),s=n(7),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-94eb39bc",null);u.options.__file="src\\components\\GoldCostLayer\\src\\index.vue",e.a=u.exports},1476:function(t,e){},1477: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,title:t.title,center:!1},on:{close:t.hide}},[n("div",{staticClass:"act-cost-box act-iphonex-padding"},[n("p",{staticClass:"act-cost-table-subtit"},[t._v("\n "+t._s(t.subTitle)+"\n ")]),t._v(" "),n("act-cost-table",{attrs:{tableData:t.tableData,fakerTableData:t.fakerTableData,togglable:!1,scrollable:!0,brandColor:t.brandColor}})],1)])},o=[];r._withStripped=!0},15:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},159:function(t,e){t.exports=r},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(20);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)}}},18:function(t,e){t.exports=!0},19:function(t,e,n){var r=n(31)("keys"),o=n(25);t.exports=function(t){return r[t]||(r[t]=o(t))}},2:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},20:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return 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):{}}},24:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},27:function(t,e,n){var r=n(10).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})}},28:function(e,n){e.exports=t},29:function(t,e,n){var r=n(42),o=n(32);t.exports=Object.keys||function(t){return r(t,o)}},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),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)"})},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),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},37:function(t,e,n){"use strict";var r=n(18),o=n(9),i=n(54),s=n(5),a=n(11),c=n(60),u=n(27),l=n(62),f=n(1)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,v,h,y,b){c(n,e,v);var _,m,x,g=function(t){if(!p&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},j=e+" Iterator",T="values"==h,w=!1,C=t.prototype,S=C[f]||C["@@iterator"]||h&&C[h],O=S||g(h),P=h?T?g("entries"):O:void 0,D="Array"==e?C.entries||S:S;if(D&&(x=l(D.call(new t)))!==Object.prototype&&x.next&&(u(x,j,!0),r||"function"==typeof x[f]||s(x,f,d)),T&&S&&"values"!==S.name&&(w=!0,O=function(){return S.call(this)}),r&&!b||!p&&!w&&C[f]||s(C,f,O),a[e]=O,a[j]=d,h)if(_={values:T?O:g("values"),keys:y?O:g("keys"),entries:P},b)for(m in _)m in C||i(C,m,_[m]);else o(o.P+o.F*(p||w),e,_);return _}},38: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")}},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,n){t.exports=e},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),o=n(13),i=n(46)(!1),s=n(19)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~i(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=o(e),this.reject=o(n)}var o=n(20);t.exports.f=function(t){return new r(t)}},45: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,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},46:function(t,e,n){var r=n(13),o=n(35),i=n(47);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=o(c.length),l=i(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)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),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},48:function(t,e,n){"use strict";var r=n(59)(!0);n(37)(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),o=n(24);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){e.f={}.propertyIsEnumerable},51:function(t,e,n){n(64);for(var r=n(0),o=n(5),i=n(11),s=n(1)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&o(f,s,u),i[u]=i.Array}},53:function(t,e,n){var r=n(4),o=n(61),i=n(32),s=n(19)("IE_PROTO"),a=function(){},c=function(){var t,e=n(22)("iframe"),r=i.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[i[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},54:function(t,e,n){t.exports=n(5)},56:function(t,e,n){var r=n(45),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){e.f=Object.getOwnPropertySymbols},59:function(t,e,n){var r=n(16),o=n(15);t.exports=function(t){return function(e,n){var i,s,a=String(o(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(i=a.charCodeAt(c),i<55296||i>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):i:t?a.slice(c,c+2):s-56320+(i-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(53),o=n(24),i=n(27),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")}},61:function(t,e,n){var r=n(10),o=n(4),i=n(29);t.exports=n(3)?Object.defineProperties:function(t,e){o(t);for(var n,s=i(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},62:function(t,e,n){var r=n(8),o=n(33),i=n(19)("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}},63:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},64:function(t,e,n){"use strict";var r=n(65),o=n(63),i=n(11),s=n(13);t.exports=n(37)(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")},65:function(t,e){t.exports=function(){}},66:function(t,e,n){var r=n(4),o=n(20),i=n(1)("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[i])?e:o(n)}},67:function(t,e,n){var r,o,i,s=n(17),a=n(97),c=n(43),u=n(22),l=n(0),f=l.process,p=l.setImmediate,d=l.clearImmediate,v=l.MessageChannel,h=l.Dispatch,y=0,b={},_=function(){var t=+this;if(b.hasOwnProperty(t)){var e=b[t];delete b[t],e()}},m=function(t){_.call(t.data)};p&&d||(p=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return b[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete b[t]},"process"==n(14)(f)?r=function(t){f.nextTick(s(_,t,1))}:h&&h.now?r=function(t){h.now(s(_,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=m,r=s(i.postMessage,i,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:p,clear:d}},68:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},69:function(t,e,n){var r=n(4),o=n(6),i=n(44);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},7:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId=i);var l;if(s?(l=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)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var f=u.render;u.render=function(t,e){return l.call(e),f(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,l):[l]}return{exports:t,options:u}}e.a=r},71:function(t,e,n){t.exports={default:n(79),__esModule:!0}},72:function(t,e,n){t.exports={default:n(95),__esModule:!0}},78:function(t,e){},79:function(t,e,n){n(80),t.exports=n(2).Object.assign},8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},80:function(t,e,n){var r=n(9);r(r.S+r.F,"Object",{assign:n(81)})},81:function(t,e,n){"use strict";var r=n(3),o=n(29),i=n(58),s=n(50),a=n(33),c=n(34),u=Object.assign;t.exports=!u||n(12)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=a(t),u=arguments.length,l=1,f=i.f,p=s.f;u>l;)for(var d,v=c(arguments[l++]),h=f?o(v).concat(f(v)):o(v),y=h.length,b=0;y>b;)d=h[b++],r&&!p.call(v,d)||(n[d]=v[d]);return n}:u},82:function(t,e,n){var r=n(17),o=n(86),i=n(87),s=n(4),a=n(35),c=n(56),u={},l={},e=t.exports=function(t,e,n,f,p){var d,v,h,y,b=p?function(){return t}:c(t),_=r(n,f,e?2:1),m=0;if("function"!=typeof b)throw TypeError(t+" is not iterable!");if(i(b)){for(d=a(t.length);d>m;m++)if((y=e?_(s(v=t[m])[0],v[1]):_(t[m]))===u||y===l)return y}else for(h=b.call(t);!(v=h.next()).done;)if((y=o(h,_,v.value,e))===u||y===l)return y};e.BREAK=u,e.RETURN=l},829:function(t,e){t.exports=o},86:function(t,e,n){var r=n(4);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},864:function(t,e,n){"use strict";var r=n(128),o=n.n(r);e.a={name:"ActCostTable",data:function(){return{moreToggle:!1}},components:{ActScroll:o.a},props:{tableData:{type:Object,default:function(){return null}},fakerTableData:{type:Object,default:function(){return null}},togglable:{type:Boolean,default:!0},scrollable:{type:Boolean,default:!1},brandColor:{type:String,default:"#8c7fee"}},computed:{renderData:function(){return this.togglable?this.moreToggle?this.tableData:this.fakerTableData:this.tableData},showToggle:function(){return!!this.togglable&&(this.renderData&&this.renderData.rows&&this.renderData.rows.length&&this.fakerTableData.rows.length<this.tableData.rows.length)}},methods:{toggleMore:function(){this.moreToggle=!this.moreToggle},scrollSuc:function(t){this.scroll=t},refreshScroll:function(){var t=this;this.$nextTick(function(){t.scroll&&t.scroll.refresh()})}},watch:{tableData:function(t){t&&this.refreshScroll()}}}},87:function(t,e,n){var r=n(11),o=n(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||i[o]===t)}},88:function(t,e,n){var r=n(1)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i=[7],s=i[r]();s.next=function(){return{done:n=!0}},i[r]=function(){return s},t(i)}catch(t){}return n}},89:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},9:function(t,e,n){var r=n(0),o=n(2),i=n(17),s=n(5),a=n(8),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,v=t&c.S,h=t&c.P,y=t&c.B,b=t&c.W,_=d?o:o[e]||(o[e]={}),m=_.prototype,x=d?r:v?r[e]:(r[e]||{}).prototype;d&&(n=e);for(u in n)(l=!p&&x&&void 0!==x[u])&&a(_,u)||(f=l?x[u]:n[u],_[u]=d&&"function"!=typeof x[u]?n[u]:y&&l?i(f,r):b&&x[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((_.virtual||(_.virtual={}))[u]=f,t&c.R&&m&&!m[u]&&s(m,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},90:function(t,e,n){var r=n(5);t.exports=function(t,e,n){for(var o in e)n&&t[o]?t[o]=e[o]:r(t,o,e[o]);return t}},93:function(t,e,n){"use strict";var r=n(0),o=n(2),i=n(10),s=n(3),a=n(1)("species");t.exports=function(t){var e="function"==typeof o[t]?o[t]:r[t];s&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},938:function(t,e,n){"use strict";function r(t){a||n(939)}var o=n(864),i=n(940),s=n(7),a=!1,c=r,u=Object(s.a)(o.a,i.a,i.b,!1,c,"data-v-530770d2",null);u.options.__file="src\\components\\GoldCost\\src\\table.vue",e.a=u.exports},939:function(t,e){},94:function(t,e,n){"use strict";e.__esModule=!0;var r=n(71),o=function(t){return t&&t.__esModule?t:{default:t}}(r);e.default=o.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},940: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("div",{staticClass:"act-cost-table"},[t.renderData&&t.renderData.rows&&t.renderData.rows.length>0?[t.scrollable?n("act-scroll",{ref:t.scroll,staticClass:"act-cost-table-scrollable",attrs:{listenScrollInit:!0},on:{scrollSuc:t.scrollSuc}},[n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]):n("table",{staticClass:"act-cost-table-body"},[n("thead",[n("tr",t._l(t.renderData.head,function(e,r){return n("td",{key:"head-"+r,style:{"background-color":t.brandColor||"#8c7fee"}},[t._v("\n "+t._s(e)+"\n ")])}),0)]),t._v(" "),n("tbody",t._l(t.renderData.rows,function(e,r){return n("tr",{key:"tr-"+r},t._l(e,function(e,o){return n("td",{key:"td-"+r+"-"+o,class:{sw:e.type}},[t._v("\n "+t._s(e.value)+"\n ")])}),0)}),0)])]:n("div",{staticClass:"act-cost-empty",class:{"act-cost-table-scrollable-empty":t.scrollable}},[t._v("\n 暂无相关数据\n ")]),t._v(" "),t.showToggle?n("a",{staticClass:"act-cost-toggle",class:{"act-cost-toggle-hide":t.moreToggle},style:{color:t.brandColor},attrs:{href:"javascript:;"},on:{click:function(e){return e.stopPropagation(),t.toggleMore.apply(null,arguments)}}},[t._v(t._s(t.moreToggle?"收起":"查看全部")),n("span",{style:{"border-color":t.brandColor}})]):t._e()],2)},o=[];r._withStripped=!0},95:function(t,e,n){n(78),n(48),n(51),n(96),n(100),n(101),t.exports=n(2).Promise},96:function(t,e,n){"use strict";var r,o,i,s,a=n(18),c=n(0),u=n(17),l=n(45),f=n(9),p=n(6),d=n(20),v=n(89),h=n(82),y=n(66),b=n(67).set,_=n(98)(),m=n(44),x=n(68),g=n(99),j=n(69),T=c.TypeError,w=c.process,C=w&&w.versions,S=C&&C.v8||"",O=c.Promise,P="process"==l(w),D=function(){},k=o=m.f,M=!!function(){try{var t=O.resolve(1),e=(t.constructor={})[n(1)("species")]=function(t){t(D,D)};return(P||"function"==typeof PromiseRejectionEvent)&&t.then(D)instanceof e&&0!==S.indexOf("6.6")&&-1===g.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!p(t)||"function"!=typeof(e=t.then))&&e},E=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,o=1==t._s,i=0;n.length>i;)!function(e){var n,i,s,a=o?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(o||(2==t._h&&R(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(T("Promise-chain cycle")):(i=L(n))?i.call(n,c,u):c(n)):u(r)}catch(t){l&&!s&&l.exit(),u(t)}}(n[i++]);t._c=[],t._n=!1,e&&!t._h&&A(t)})}},A=function(t){b.call(c,function(){var e,n,r,o=t._v,i=I(t);if(i&&(e=x(function(){P?w.emit("unhandledRejection",o,t):(n=c.onunhandledrejection)?n({promise:t,reason:o}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",o)}),t._h=P||I(t)?2:1),t._a=void 0,i&&e.e)throw e.v})},I=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){b.call(c,function(){var e;P?w.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},F=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()),E(e,!0))},G=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw T("Promise can't be resolved itself");(e=L(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(G,r,1),u(F,r,1))}catch(t){F.call(r,t)}}):(n._v=t,n._s=1,E(n,!1))}catch(t){F.call({_w:n,_d:!1},t)}}};M||(O=function(t){v(this,O,"Promise","_h"),d(t),r.call(this);try{t(u(G,this,1),u(F,this,1))}catch(t){F.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(90)(O.prototype,{then:function(t,e){var n=k(y(this,O));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=P?w.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&E(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r;this.promise=t,this.resolve=u(G,t,1),this.reject=u(F,t,1)},m.f=k=function(t){return t===O||t===s?new i(t):o(t)}),f(f.G+f.W+f.F*!M,{Promise:O}),n(27)(O,"Promise"),n(93)("Promise"),s=n(2).Promise,f(f.S+f.F*!M,"Promise",{reject:function(t){var e=k(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(a||!M),"Promise",{resolve:function(t){return j(a&&this===s?O:this,t)}}),f(f.S+f.F*!(M&&n(88)(function(t){O.all(t).catch(D)})),"Promise",{all:function(t){var e=this,n=k(e),r=n.resolve,o=n.reject,i=x(function(){var n=[],i=0,s=1;h(t,!1,function(t){var a=i++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},o)}),--s||r(n)});return i.e&&o(i.v),n.promise},race:function(t){var e=this,n=k(e),r=n.reject,o=x(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},97:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},98:function(t,e,n){var r=n(0),o=n(67).set,i=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n(14)(s);t.exports=function(){var t,e,n,u=function(){var r,o;for(c&&(r=s.domain)&&r.exit();t;){o=t.fn,t=t.next;try{o()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,p=document.createTextNode("");new i(u).observe(p,{characterData:!0}),n=function(){p.data=f=!f}}return function(r){var o={fn:r,next:void 0};e&&(e.next=o),t||(t=o,n()),e=o}}},99:function(t,e,n){var r=n(0),o=r.navigator;t.exports=o&&o.userAgent||""}})});