From c3af3bf223040399488360bcf54964e654a91d70 Mon Sep 17 00:00:00 2001 From: idwenwen <1095369685@qq.com> Date: Tue, 4 Jan 2022 17:42:12 +0800 Subject: [PATCH] Update fron-end code --- src/main/resources/static/index.html | 2 +- src/main/resources/static/static/js/chunk-0dbc.3675fe97.js | 1 + src/main/resources/static/static/js/chunk-0dbc.73ebe113.js | 1 - .../js/{chunk-2933.100f2ca9.js => chunk-2933.fa1918b6.js} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 src/main/resources/static/static/js/chunk-0dbc.3675fe97.js delete mode 100644 src/main/resources/static/static/js/chunk-0dbc.73ebe113.js rename src/main/resources/static/static/js/{chunk-2933.100f2ca9.js => chunk-2933.fa1918b6.js} (75%) diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index 2e43df9b..8f40e919 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -1 +1 @@ -FATE Board
\ No newline at end of file +FATE Board
\ No newline at end of file diff --git a/src/main/resources/static/static/js/chunk-0dbc.3675fe97.js b/src/main/resources/static/static/js/chunk-0dbc.3675fe97.js new file mode 100644 index 00000000..a5bbbe39 --- /dev/null +++ b/src/main/resources/static/static/js/chunk-0dbc.3675fe97.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0dbc"],{"+2Yw":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".app-content {\n height: calc(100% - 36px);\n font-size: 12px;\n}\n.details-container {\n height: 100%;\n}\n.details-container .top {\n padding-bottom: 5px;\n margin-bottom: 20px;\n line-height: 25px;\n border-bottom: 1px solid;\n}\n.details-container .top .link {\n color: #409eff;\n}\n.details-container .dashboard-link {\n color: #494ece;\n font-size: 1.14em;\n font-weight: bold;\n font-family: 'Lato';\n text-decoration: underline;\n cursor: pointer;\n padding-left: 5px;\n}\n.details-container .section-wrapper {\n height: calc(100% - 12px);\n}\n.details-container .section-wrapper .section-title {\n margin-bottom: 16px;\n font-size: 1.29em;\n color: #3E4052;\n font-weight: bold;\n}\n.details-container .section-wrapper .section-view {\n padding: 16px 8.9%;\n background: #fff;\n border-radius: 4px;\n overflow-y: auto;\n}\n.details-container .section-wrapper .section-view .summary-items li {\n margin-bottom: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items li hr {\n margin: 10px 0;\n}\n.details-container .section-wrapper .section-view .summary-items li p {\n word-break: break-all;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content {\n background-color: #F8F8FA;\n padding: 10px;\n width: 100%;\n font-size: 1em;\n overflow: hidden;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content .notes-content-fold {\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-line-clamp: 3;\n word-break: break-all;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n background-color: transparent;\n width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content .notes-content-unfold {\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n background-color: transparent;\n width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-can-fold {\n color: #494ece;\n text-decoration: underline;\n display: block;\n text-align: right;\n padding-right: 15px;\n}\n.details-container .section-wrapper .section-view .summary-items .inline-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.details-container .section-wrapper .section-view .summary-items .inline-row .inline-prop {\n min-width: 85px;\n}\n.details-container .section-wrapper .section-view .summary-items .hr-style {\n background-color: #E8E8EF;\n height: 1px;\n border: none;\n}\n.details-container .section-wrapper .section-view .summary-items .prop {\n color: #999BA3;\n size: 1em;\n font-family: 'Lato';\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content {\n font-size: 1.14em;\n color: #6A6C75;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content .value {\n padding-right: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content .tip {\n font-size: 12px;\n color: #4159D1;\n cursor: pointer;\n text-decoration: underline;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-dataset {\n max-width: calc(100% - 85px);\n min-width: calc(100% - 85px);\n}\n.details-container .section-wrapper .section-view .summary-items .prop-dataset .prop-dataset-item {\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n display: block;\n overflow: hidden;\n margin-bottom: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-notes {\n max-width: 100%;\n min-width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-notes .prop-dataset-item {\n margin-bottom: 0px;\n}\n.details-container .section-wrapper .section-view .log-list {\n padding: 24px;\n border-radius: 5px;\n height: 80%;\n overflow: auto;\n}\n.details-container .section-wrapper .section-view .log-list > li {\n /*height: 25px;*/\n line-height: 20px;\n font-size: 12px;\n color: #999ba3;\n}\n.details-container .section-wrapper .section-view .log-list > li .num {\n display: inline-block;\n min-width: 40px;\n white-space: nowrap;\n margin-right: 10px;\n color: #c6c8cc;\n}\n.details-container .section-wrapper .section-view .echart {\n width: 100%;\n height: 500px;\n background-color: #EBEDF0;\n}\n.details-container .section-wrapper .section-view .full-screen-echart {\n width: 100%;\n height: 500px;\n background-color: #EBEDF0;\n}\n.details-container .section-wrapper .section-view .tab {\n overflow: auto;\n overflow-x: hidden;\n}\n.details-container .section-wrapper .section-summary {\n height: 100%;\n}\n.details-container .section-wrapper .section-summary .dashboard-btn {\n height: 32px;\n width: 100%;\n margin-top: 12px;\n font-size: 1em;\n color: #4159D1;\n text-align: center;\n line-height: 32px;\n background-color: #F8F9FA;\n border-radius: 2px;\n border: 0px;\n}\n.details-container .section-wrapper .section-summary .dashboard-btn:hover {\n color: #fff;\n background-color: #4159D1;\n}\n.details-container .prop-section {\n width: 18.8%;\n}\n.details-container .echart-section {\n width: calc(100% - 18.8% - 15px);\n}\n.details-container .tab-bar {\n margin: 0 10px 24px 24px;\n height: 24px;\n background: #F8F9FA;\n border: 1px solid #F8F9FA;\n}\n.details-container .tab-bar .tab-btn {\n width: 138px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-right: 1px;\n padding: 4px 18px 3px;\n background: #fff;\n line-height: 24px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n}\n.details-container .tab-bar .tab-btn .text {\n font-size: 14px;\n font-weight: bold;\n color: #7f7d8e;\n}\n.details-container .tab-bar .tab-btn:hover {\n background: #4159D1;\n}\n.details-container .tab-bar .tab-btn:hover .text {\n color: #fff;\n}\n.details-container .tab-bar .tab-btn-active {\n background: #4159D1;\n}\n.details-container .tab-bar .tab-btn-active .text {\n color: #fff;\n}\n.details-container .output-wrapper {\n height: 100%;\n padding: 12px;\n padding-top: 16px;\n background: #fff;\n}\n.details-container .output-wrapper .output-content {\n max-height: 100%;\n min-height: calc(100% - 36px);\n}\n.details-container .output-wrapper .dag-wrapper {\n width: 100%;\n position: relative;\n}\n.details-container .output-wrapper .dag-wrapper .output-title {\n font-size: 1.14em;\n color: #7f7d8e;\n}\n.details-container .output-wrapper .dag-wrapper .output-desc {\n padding-left: 10px;\n color: #bbbbc8;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper {\n height: calc(100% - 32px);\n overflow: hidden;\n margin-top: 16px;\n margin-right: 16px;\n border: 2px solid #F8F9FA;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .echarts {\n height: 100%;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button {\n position: absolute;\n bottom: 0px;\n left: 0px;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button .sutiable-button-item {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #F8F8FA;\n margin-bottom: 12px;\n color: #BBBBC8;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button .sutiable-button-item:hover {\n background-color: #494ece;\n color: #fff;\n}\n.details-container .output-wrapper .para-wrapper {\n min-width: 30vh;\n overflow: auto;\n max-width: 30vh;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node {\n font-size: 1em;\n display: inline-block;\n min-width: 100%;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__label {\n font-size: 1em;\n color: #999BA3;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__expand-icon {\n padding: 0px;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__content {\n height: 22px;\n}\n.details-container .output-wrapper .para-wrapper .para-warpper-content {\n width: 100%;\n height: calc(100% - 48px);\n position: relative;\n}\n.details-container .output-wrapper .para-wrapper .para-title {\n margin-bottom: 18px;\n font-size: 1.14em;\n color: #7f7d8e;\n}\n.details-container .output-wrapper .para-wrapper .el-tree {\n color: #7f7d8e !important;\n}\n.details-container .output-wrapper .para-wrapper .msg {\n max-height: calc(100% - 35px);\n min-height: calc(100% - 35px);\n margin-bottom: 12px;\n color: #7f7d8e !important;\n overflow: auto;\n padding: 6px;\n padding-left: 12px;\n}\n.details-container .output-wrapper .para-wrapper .msg .msg-list > li {\n margin-bottom: 20px;\n}\n.details-container .output-wrapper .para-wrapper .msg .msg-list > li .msg-section-list > li {\n white-space: nowrap;\n}\n.details-container .output-wrapper .para-wrapper .msg .unfold-tree {\n position: absolute;\n top: 0px;\n right: 0px;\n color: #BBBBC8;\n text-decoration: underline;\n cursor: pointer;\n}\n.details-container .output-wrapper .para-wrapper .msg .unfold-tree:hover {\n color: #494ece;\n}\n.details-container .dialog-icons {\n position: absolute;\n right: 15px;\n top: 15px;\n}\n.details-container .dialog-icons .img-wrapper {\n width: 24px;\n height: 24px;\n margin-left: 10px;\n cursor: pointer;\n}\n.details-container .el-dialog {\n overflow: hidden;\n padding-right: 6px;\n height: calc(100% - 70px);\n}\n.details-container .el-dialog .el-dialog__header {\n padding: 16px 24px 16px;\n}\n.details-container .el-dialog .el-dialog__header .el-dialog__title {\n font-size: 1.16em;\n color: #3E4052;\n font-weight: bold;\n}\n.details-container .el-dialog .el-dialog__body {\n padding: 0;\n height: calc(100% - 60px);\n overflow: auto;\n}\n.details-container .is-fullscreen {\n margin-top: 48px;\n height: calc(100% - 50px);\n}\n.details-container .v-modal {\n opacity: 1;\n background: #EBEDF0;\n top: 48px;\n}\n.dialog-tabs {\n margin: 0 18px 24px 24px;\n height: 24px;\n background: #fff;\n}\n.dialog-tabs .el-tabs__active-bar {\n display: none;\n}\n.dialog-tabs .el-tabs__header {\n background: #F8F9FA;\n padding: 1px 0;\n}\n.dialog-tabs .el-tabs__item {\n width: 138px;\n margin-right: 1px;\n background: #fff;\n height: 22px;\n line-height: 22px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n font-size: 14px;\n text-align: center;\n font-weight: bold;\n color: #7f7d8e;\n padding: 0px;\n}\n.dialog-tabs .el-tabs__item:hover {\n color: #fff;\n background: #4159D1;\n}\n.dialog-tabs .el-tabs__item.is-active {\n color: #fff;\n background: #4159D1;\n}\n.dialog-tabs .el-tabs__nav-wrap::after {\n content: none;\n margin-bottom: 0px;\n background-color: #fff;\n}\n.download {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 24px;\n line-height: 24px;\n padding: 0 20px;\n margin-right: 18px;\n background-color: #F8F9FA;\n}\n.download .link {\n color: #4159D1;\n cursor: pointer;\n}\n.download .head, .download .link {\n font-size: 14px;\n padding: 0 10px;\n font-weight: 700;\n}\n.confirm-dialog .el-dialog {\n height: auto !important;\n}\n.confirm-dialog .el-dialog .el-dialog__body {\n height: auto !important;\n padding: 30px 20px;\n}\n.download-link {\n font-size: 12px;\n color: #4159D1;\n cursor: pointer;\n text-decoration: underline;\n font-weight: bold;\n}\n.disable-color {\n color: #c6c8cc;\n cursor: default;\n}\n",""])},"+998":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyODI1IDQ4OTApIj4NCiAgICA8ZyBpZD0i57uEXzE4MjYiIGRhdGEtbmFtZT0i57uEIDE4MjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQzMjcgLTYzOCkiPg0KICAgICAgPGcgaWQ9IuakreWchl82MyIgZGF0YS1uYW1lPSLmpK3lnIYgNjMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE3MTUyIC00MjUyKSI+DQogICAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgICAgPC9nPg0KICAgICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzE0NiAtNDI0NikiLz4NCiAgICAgIDxsaW5lIGlkPSLnm7Tnur9fMTE3IiBkYXRhLW5hbWU9IuebtOe6vyAxMTciIGNsYXNzPSJjbHMtMSIgeDE9IjYiIHkyPSI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcxNDYgLTQyNDYpIi8+DQogICAgPC9nPg0KICA8L2c+DQo8L3N2Zz4NCg=="},"+ccE":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABHElEQVQ4ja2UMUsEMRCFP+WasxWstLU+SBFidWBrfbZ3/8DaH3C1/8BrtbYVO0OKgPVVe5yVIFit5crAnCy7SRTdBwObebOPfZuX7DVNwxDYH0QFGJVIH+IEmOny3lnzkptNWvMhHgJz4FSW2nbAGlg5a96LQj7EA+ACOAdegTtnzVo5Eb0EjoFH4MFZU+eEblo2njN2z3Z2nTVXu373Z4+Ba6D2Ic4TItKrdWbc5nq7pp87BW59iJUPcapVSU+4tqWskIqJxYUun7QEC+V6yObIWbMCZPs3WhPtJVEMpLPmAxBLlT5n0RPSCBSRmukKfQJL3eIklFvq7Dd+DCTwpvTRrwPZEjzR0KWOiIR1232neI38+9D+BcPcR8AX+8OCQUetr28AAAAASUVORK5CYII="},"0GRe":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEnaIu4fXvvmV6jOhiKGHkFHVpJpSZRsABs6AGpsNFQAbBsGPkxZnIfHwYXS1tw4gBTzhhCx+8BuHSMAxdRMhgqrmIdtGPlLpJAsO1GGFgYAAAktRYvyoxTmkAAAAASUVORK5CYII="},"0gb5":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Gain",{yAxis:{name:"gain"}},void 0,!0)},"0sA9":function(t,e,n){"use strict";n.r(e);e.default=function(t){return[{type:"text",props:{content:t.random.data[0][0]+": "+t.random.data[0][1]}}]}},"0snz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".scroller[data-v-2dab1a8e] {\n position: relative;\n overflow-y: auto;\n}\n.wrap[data-v-2dab1a8e] {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.item-view[data-v-2dab1a8e] {\n width: 100%;\n}\n.scroller.ready .item-view[data-v-2dab1a8e] {\n position: absolute;\n top: 0;\n left: 0;\n will-change: transform;\n}\n",""])},"0wwb":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("GoyQ"),i=n.n(r),o=[{label:"",prop:"name"},{label:"model label",prop:"modelLabel"},{label:"dataset",prop:"dataset"},{label:"auc",prop:"auc"},{label:"ks",prop:"ks"}],s=function(t){var e={},n=[],r=[];return Object(a.each)(t,function(t,o){r.push(o),Object(a.each)(t,function(t,r){var s=t.meta;Object(a.each)(s,function(t,a){i()(t)&&(e[s.name]||(e[s.name]=[],n.push(s.name)),e[s.name].push({name:r.replace("_ovr",""),modelLabel:a,dataset:o,auc:s[a].auc,ks:s[a].ks}))})})}),Array.isArray(e)?(Object(a.sortByName)(e,"name"),Object(a.sortByName)(e,"modelLabel")):Object(a.each)(e,function(t){Object(a.sortByName)(t,"name"),Object(a.sortByName)(t,"modelLabel")}),n.length>1?(Object(a.sortByName)(n),{select:function(t){return{type:"f-select",name:"f-select",props:{label:"select model",options:function(){var e=[];return Object(a.each)(t,function(t){e.push({label:t,value:t})}),e}()}}}(n),data:e,namespaces:r}):1===n.length?{select:n,data:e[n[0]],namespaces:r}:void 0};e.default=function(t){var e=[],n=s(t),a=n.select,r=void 0===a?null:a,i=n.data,l=[{type:"title",props:{title:"One_vs_Rest Evaluation",styles:"min-width: 300px;"}}];return r.length>1&&l.push(r),e.push(function(t){return{type:"group",props:{options:t}}}([{type:"form",props:{form:l,inrow:!0,rowDir:"right"}},{type:"table",props:{header:o,data:i,export:"OneVsRestEvaluation"}}])),e}},"1YGu":function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("7Qib"),u=n("PcWm"),p=n("QdnX"),d=function(t,e,n){return l()({name:t,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:e},n)},h=function(t){return t&&t.replace(/(train_|validate_)/g,"").replace(/(train\.|validate\.)/g,"fold_")};e.default=function(t){var e=Object(u.a)();e.yAxis.name="tpr, fpr";var n=[],a=[],i=[],s=[];return Object(p.each)(t,function(t){var e=Object(p.groupBy)(t,"meta.pair_type");Object(p.sortByName)(e,"[0]",!0),Object(p.each)(e,function(t){var e,i=r()(t,2),o=i[0],l=i[1],c=r()(l,2),u=c[0],f=c[1],m=d(h(u.meta.curve_name),u.data,{pairType:o}),v=d(h(f.meta.curve_name),f.data,{pairType:o}),g=[m,v],b=0,y=0,x=0,w=0,A=f.data;Object(p.each)(u.data,function(t,e){var n=Math.abs(t[1]-A[e][1]);n>b&&(b=n,w=t[0],y=t[1],x=A[e][1])}),g.push(d("",[[w,y],[w,x]],{symbol:"none",lineStyle:{type:"dashed",opacity:1},pairType:o})),(e=n).push.apply(e,g),s.push(o);var I=void 0;I=m.name.endsWith("_tpr")?[m.name,v.name,o,u.meta.thresholds]:[v.name,m.name,o,f.meta.thresholds];var _=function(t,e,n,a){return{tpr:t,fpr:e,pairType:n,thresholds:a}}.apply(null,I);a.push(_)})}),e.tooltip.formatter=function(t){return function(e){var n="";return t.forEach(function(t,a){var r=[],i=t.thresholds[e[0].dataIndex];if(i||0===i){var s=!0,l=!1,u=void 0;try{for(var p,d=o()(e);!(s=(p=d.next()).done);s=!0){var f=p.value;f.seriesName.match(h(t.pairType))&&(f.seriesName.match(t.tpr)||f.seriesName.match(t.fpr))&&r.push(f)}}catch(t){l=!0,u=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw u}}r.length&&(n+="Threshold: ("+t.pairType+")"+i+"
");var m=!1,v=0,g=0;if(r.forEach(function(e){e.seriesName===t.tpr&&(n+=t.tpr+": "+e.data[1]+"
",v=e.data[1],m=!0),e.seriesName===t.fpr&&(n+=t.fpr+": "+e.data[1]+"
",g=e.data[1])}),m){var b=v-g;n+="KS: "+Math.abs(Object(c.b)(b))+"
"}}}),n}}(a),n=n.sort(function(t,e){return e.name&&t.name&&e.name.match("tpr")&&t.name.match("fpr")?1:t.name?-1:1}),i.push({type:"chart",props:{options:n,setting:e,legend:"custom",group:s}}),i.length>1?i:i[0]}},"1sAi":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("roc",{yAxis:{name:"tpr"}},{areaStyle:{color:"#494ece",opacity:.1}},function(t){var e=t.thresholds;return function(t){var n="";return t.forEach(function(t){var a=e[t.seriesName][t.dataIndex];(a||0===a)&&(n+="Threshold: "+a+"
"),n+="Tpr("+t.seriesName+"): "+t.data[1]+"
",n+="Fpr("+t.seriesName+"): "+t.axisValue+"
"}),n}})},"2mqv":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("uNnm"),u=n("evsm"),p=n("QdnX"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l,d){var h,f,m,v;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(h={party_id:a,role:i,component_name:s,job_id:l,model_type:d},f=[],m=void 0,n&&!n.msg.match("no data")&&(n=Object(c.default)(n.data),Object(p.each)(n,function(t){"others"===t.name&&(m=(m=Object(u.b)(t.name)).bind(null,t,h))})),!m){t.next=9;break}return t.next=7,m();case 7:v=t.sent,f.push.apply(f,o()(v));case 9:return t.abrupt("return",f);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o,s){return t.apply(this,arguments)}}();e.default=d},"3Q/S":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t}})}),e},p=function(){var t=l()(r.a.mark(function t(e,a,i,s,l,p){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(d=a.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(a.data,i,s,l,p))){t.next=10;break}return h={},f=[],m=d.shift(),t.next=7,Object(c.sendMetricsDataRequest)(m);case 7:return h=t.sent,f=Object(c.textTransform)(h.data.data),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[].concat(o()(u(f)))}}]}]);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},"3cDs":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=[],g={party_id:a,role:i,component_name:s,job_id:c},y=void 0,x=void 0,w=[],A=void 0,I=void 0,_=void 0,O=[],C=void 0,S=void 0,E=void 0,j=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)y=p.d.bind(null,l()({metrics:t.options},g));else if("iter"===t.name)C=p.d.bind(null,l()({metrics:t.options},g)),E=Object(h.b)("warmStart");else if("stepwise"===t.name)A=p.d.bind(null,l()({metrics:t.options},g)),_=Object(h.b)(t.name);else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},g),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),w.push([e,Object(m.createAsyncComponent)(n)])}})),w.length&&Object(d.each)(w,function(t){u.push(Object(m.wrapGroupComponent)(t))}),!y){t.next=19;break}return t.next=18,y();case 18:x=t.sent;case 19:if(x&&(T=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),N=T(x.data)||[],(k=(k=[].concat(o()(N))).length>0?Object(m.wrapGroupComponent)(k):null)&&(u.length>1?u.splice(1,0,k):u.push(k))),!A){t.next=24;break}return t.next=23,A();case 23:I=t.sent;case 24:if(_&&(O=_(I,i),u.push.apply(u,o()(O))),!C){t.next=29;break}return t.next=28,C();case 28:S=t.sent;case 29:return E&&(j=E(S),0===u.length?u.push(Object(m.wrapGroupComponent)(j)):u[0].options&&Array.isArray(u[0].options)?(L=u[0].options).unshift.apply(L,o()(j)):Array.isArray(u[0])&&(D=u[0]).unshift.apply(D,o()(j))),t.abrupt("return",u);case 31:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"3lD8":function(t,e,n){var a=n("K4j0");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("2ace0298",a,!0,{})},"4rwF":function(t,e,n){"use strict";var a=n("m1cH"),r=n.n(a),i={methods:{change:function(t){this.$emit("change",t)},refOpera:function(t,e){for(var n,a=!0,i=arguments.length,o=Array(i>2?i-2:0),s=2;sO&&(O=t.tree.length)});var C=Object(g.head)(I),S=Object(g.head)(_),E=Object(f.b)(),j=Object(m.b)(),T=Object(g.head)(C);if(E.series.data=T.data,j.series.data=S,j.series.markLine.data[0][1].coord[1]=O,d()(s,{treeOptions:E,currentTreeData:{id:T.data[0].treeid,size:T.size,maxDepth:T.maxDepth,treeWidth:T.treeWidth},treesOverviewData:C,maxTreeSize:O,treesLineData:j}),w>=3){s.allTreesOverviewData=I,s.allTreesLineSeriesData=_;var N=[];"guest"===n?Object(g.each)(x,function(t,e){var n=e+": "+t;N.push({value:e,label:n})}):"host"===n&&Object(g.each)(w,function(t){N.push({value:t,label:t})}),s.classOptions=N}if(p&&p.length>0){var k=p.length,L=Object(v.b)(),D=new Array(k),R=new Array(k),F=void 0,P=new Array(k),M=0,B=new Array(k);p.forEach(function(t,e){var r=k-e-1,i=t.importance;D[r]=i,(null==F||i>F)&&(F=i);var o=t.sitename.split(":"),s=u()(o,2),p=s[0],d=s[1],h=p===n&&d===a?c[t.fid]:t.fid+"";P[r]=h;var f=h?h.toString().length:(void 0===h?"undefined":l()(h)).length;f>M&&(M=f),B[r]=t.sitename}),P=P.map(function(t){return t||(t=void 0===t?"undefined":l()(t)),t.toString().padEnd(M," ")}),R.fill(F),L.series[0].data=R,L.series[1].data=D,L.series[1].name="importance",L.series[0].label.formatter=function(t){return Object(h.b)(D[t.dataIndex])},L.yAxis[0].data=P,L.yAxis[1].data=B,s.variableImportanceOptions=L;var U=p.map(function(t){if((t=o()({},t)).sitename.indexOf("host")>-1&&n.indexOf("host")<0){var e=t.sitename.match(/[0-9]+$/)[0];e&&(t.name="host_"+e+"_"+t.fid)}else t.name=c[t.fid];return t});s.featureTable={tBody:U}}if(c){var z=r()(c);if(z.length){var H=z.map(function(t){var e=u()(t,2),r=e[0];return{variable:e[1],featureIndex:n+"_"+a+"_"+r}});s.featureHostTable={tHeader:[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],tBody:H}}}return{importance:{type:"table",name:"importance",props:{data:s.featureTable?s.featureTable.tBody:[]}},featureHostTable:{type:"table",props:{name:"featureHostTable",header:s.featureHostTable.tHeader,data:s.featureHostTable.tBody}},treesLine:{type:"chart",name:"treesLineData",props:{options:s.treesLineData}},treeOptions:{type:"chart",name:"treeOptions",props:{options:s.treeOptions,zoom:!0}}}})},"8NUx":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB"),i=[{type:"index",label:"index",width:"70px"},{label:"leaf_id",prop:"leafId",showOverflowTooltip:!0},{label:"transformed_vector",prop:"vector",showOverflowTooltip:!0}],o=function(t,e){var n=function(t,e){var n=[];return Object(a.each)(t,function(t,a){n.push({leafId:t,vector:e[a]})}),n}(t,e),r=[],i={};return Object(a.each)(n,function(t){var e=function(t){return t.split("_")[1]}(t.vector),n="s_"+e;i[n]||(i[n]=[],r.push({label:e,value:n})),i[n].push(t)}),r.length>1?{selection:r,content:i}:{content:i[r[0].value]}};e.default=function(t){if(t&&t.sbt_transformer&&t.sbt_transformer.leaf_mapping){var e=[],n=t.sbt_transformer.leaf_mapping.meta,a=n.feat_name,s=n.index,l=o(s,a);return l.selection&&l.selection.length>1&&function(t,e){t.push({type:"form",props:{form:[Object(r.createFormComponent)("f-select","f-select",{options:e,label:"transformer_tree_id"})]}})}(e,l.selection),function(t,e){t.push({type:"table",props:{header:i,data:e,zeroFormat:"0",export:"sbt_feature_transformer"}})}(e,l.content),e}}},"8csx":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},"8gZQ":function(t,e,n){"use strict";n.r(e),n.d(e,"combineForPerformanceSum",function(){return h});var a=n("YEIV"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("QdnX"),l=n("evsm"),c=n("saIk"),u=n("OjIB"),p=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function d(t,e){var n={type:"form",props:{form:[{type:"f-tabs",props:{tabs:[function(t){var e={label:"Performance Summary"},n=o()(t);return n.length>1?e.children=function(){var t=[];return Object(s.each)(n,function(e){t.push({label:e,value:"ps_"+e})}),t}():e.value="ps_"+n[0],e}(t)],needRefresh:!1}}]}},a=function(t,e){var n=[];return Object(s.each)(t,function(t,a){n.push(p("ps_"+a,{metrics:r()({},a,t),xAyis:e},null,Object(l.b)(c.METRIC_TYPES.PERFORMANCE_SUM),"performance_summary",!0))}),n}(t,e);return[n,Object(u.createAsyncComponent)(a,!1)]}function h(t){var e=(t.props?t.props:t[1].props).data,n={},a=[],r=!1;return Object(s.each)(e,function(t){if(!r){var e=t.metric_namespace;n[e]=n[e]||{},t.auc||t.ks||(r=!0);var i=t.metric_name.toLowerCase();i.match("fold")&&i.match("iteration")||(!n[e].auc&&t.auc&&(n[e].auc={data:[],meta:{curve_name:"auc"}}),n[e].auc.data.push([t.metric_name,t.auc]),!n[e].ks&&t.ks&&(n[e].ks={data:[],meta:{curve_name:"ks"}}),n[e].ks&&n[e].ks.data.push([t.metric_name,t.ks]),a.push(t.metric_name))}}),r?[]:d(n,a)}},"8lCB":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEj588i9e/lubGjOhiKGF0/OTZmVBmGgEHzIIamA4XARkEw8dOnJmJzMeH0dXSNowY8IQTtvDBaxAuDcPQRYQMppqLaBf9SKmbJDBcixEGBgYApxhYv2+ITlEAAAAASUVORK5CYII="},"8nZS":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("QbLZ"),u=n.n(c),p=n("UasS"),d=n("QdnX"),h=n("OjIB"),f=function(t,e,n,a){return u()({type:t,name:e,props:n},a)},m=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)},v=function(t,e){return{label:t,value:e||t}};e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var i=t.data&&t.data.data,s=i.binningResult,l=i.hostResults,c=i.header,u=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,g=s,b=0,y="",x=[],w=[],A=void 0;if(Array.isArray(g)){var I=Object(d.head)(g);b=I.partyId,y=I.role,g=I.binningResult||{}}else b=g.partyId,y=g.role,g=g.binningResult;if(Object(d.isEmpty)(g)&&Object(d.isEmpty)(l))return[];var _=Object(p.default)(g,c,"guest",b,y,y,u),O=[],C=[];Object(d.each)(c,function(t){Object(d.each)(_.sourceData,function(e){if(t===e.variable)return O.push(e),!1}),Object(d.each)(_.options,function(e){if(t===e.value)return C.push(e),!1})}),_.sourceData=O,_.options=C,A=_,Object(d.each)(l,function(t,e){w.push(Object(p.default)(t.binningResult,c,"host",t.partyId,t.role,y,u)),x.push(t.partyId||e)});var S=void 0,E={},j=[f("search")],T=void 0,N=o()({},A.eventOptions),k=o()({},A.woeOptions),L=o()({},A.stackBarData),D=o()({},A.woeData);if(Object(d.each)(A.options,function(t){Object(d.each)(A.variableData,function(e,n){if(n===t.value)return E[t.value]=e,!1})}),"guest"===y){x.length>0?(j.push(f("f-select","tableSelection",{options:[v("guest"),v("host",x.map(function(t){return{label:t,value:t}}))],multiple:!0})),S={guest:A.sourceData}):S=A.sourceData;var R={guest:A.options};Object(d.each)(x,function(t,e){var n=w[e];S[t]=n.sourceData,R[t]=n.options;var a=n.variableData;Object(d.each)(n.options,function(t){Object(d.each)(a,function(e,a){if(t.value===a)return E[t.value=t.label]=e,N[t.value]=n.eventOptions[a],k[t.value]=n.woeOptions[a],L[t.value]=n.stackBarData[a],D[t.value]=n.woeData[a],!1})})});var F="";F=x.length>0?[v("guest",R.guest),v("host",x.map(function(t){return{label:t,value:R[t]}}))]:R.guest,T=[f("f-select","f-select",{options:F,supportFilter:!0})]}else T=[f("f-select","f-select",{options:A.options,supportFilter:!0})],S=A.sourceData;var P=[m("","index",{type:"index"}),m("variable","variable",{sortable:!0}),m("binning_count","binning_count",{sortable:!0})],M=[{type:"form",props:{form:T,toProperty:"select"}},{type:"table",props:{header:[m("","index",{type:"index"}),m("binning")],data:E,zeroFormat:"0",export:"feature_binning_detail"}}];if("guest"===y){var B=!0;for(var U in L){var z=L[U];r()(z)<=0&&(B=!1)}B&&M.push({type:"chart",name:"stackBar",props:{setting:N,options:L,export:"instance_distribution",detail:!1}});var H=!0;for(var $ in D){var W=D[$];r()(W)<=0&&(H=!1)}H&&M.push({type:"chart",name:"woe",props:{setting:k,options:D,export:"woe",detail:!1}})}return[[{type:"form",props:{form:j,toProperty:"tableSelection"}},{type:"table",props:{header:P,data:S,zeroFormat:"0",export:"feature_summary"}}],M].map(function(t){return Object(h.wrapGroupComponent)(t)})}},BCMh:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("QdnX"),o=n("evsm"),s=n("saIk"),l=function(t){return function(e){return t.includes(e)}},c=l([s.METRIC_TYPES.RECALL_MULTI_EVALUATION,s.METRIC_TYPES.PRECISION_MULTI_EVALUATION]),u=l([s.METRIC_TYPES.RECALL_BINARY_EVALUATION,s.METRIC_TYPES.PRECISION_BINARY_EVALUATION]);e.default=function(t){var e={};Object(i.each)(t.data,function(t,n){var a=Object(i.groupBy)(t,"meta.metric_type");Object(i.each)(a,function(t){var a=r()(t,2),i=a[0],o=a[1],s=i;c(i)?s="_multiEvaluation":u(i)&&(s="_binaryEvaluation"),e[s]||(e[s]={}),e[s][n]?e[s][n]=e[s][n].concat(o):e[s][n]=o})});var n=[];return Object(i.each)(e,function(t,e){var a=Object(o.b)(e);n.push(a(t))}),console.log(n),n}},BSnc:function(t,e,n){var a=n("+2Yw");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0767c020",a,!0,{})},Bw9L:function(t,e,n){"use strict";var a=n("BSnc");n.n(a).a},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},CQmJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".combination__container[data-v-7a2005ca] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.template_nodata[data-v-7a2005ca] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n min-height: 200px;\n font-size: 1.45em;\n font-weight: bold;\n}\n",""])},CX6U:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".small-form-text {\n font-size: 12px !important;\n font-weight: normal !important;\n}\n.dialog-content {\n position: relative;\n height: 100%;\n}\n.dialog-content .report {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n}\n.dialog-content .dialog-tabs {\n margin: 0px;\n padding: 0 10px 10px 24px;\n height: 100%;\n background: #fff;\n}\n.dialog-content .dialog-tabs .el-tabs__content {\n height: calc(100% - 40px);\n}\n.dialog-content .dialog-tabs .el-tabs__content .el-tab-pane {\n height: 100%;\n width: 100%;\n padding-right: 12px;\n position: relative;\n overflow-y: auto;\n overflow-x: hidden;\n}\n",""])},CmYt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEjdyW4/XvuV2RjOhiKGFk5LZ8B5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAYOQYFZsgdawAAAAASUVORK5CYII="},CpoS:function(t,e,n){var a=n("p/T2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("19dbdbd5",a,!0,{})},Do9X:function(t,e,n){var a=n("N97a");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("5b0c9170",a,!0,{})},EYjE:function(t,e,n){var a=n("C98N");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("96000c26",a,!0,{})},F5Pm:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("kjiq"),u=n("7Qib"),p=n("LvDl");function d(t,e){try{var n=t.toString().split(".");n=n.length>1?n[1].length:0;var a=e.toString().split(".");a=a.length>1?a[1].length:0;var r=Number(t.toString().replace(".","")),i=Number(e.toString().replace(".","")),o=Object(p.multiply)(Object(p.divide)(r,i),Math.pow(10,a-n));return o.toString().length>8&&(o=parseFloat(o.toFixed(t.toString().length+2))),o}catch(t){}}function h(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}function f(t){var e=0,n=!0,a=!1,r=void 0;try{for(var i,o=l()(t);!(n=(i=o.next()).done);n=!0){var s=i.value;s>e&&(e=s)}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var p=parseFloat(e.toFixed(u));p";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e};var v=s,g=Object(c.b)();g.series.push({name:"train_%total",type:"bar",data:e.expected_percentage,itemStyle:{color:"#5E7FEB"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"val_%total",type:"bar",data:e.actual_percentage,itemStyle:{color:"#0Ec7a5"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"train_event_ratio",type:"line",yAxisIndex:1,data:e.train_pos_perc,itemStyle:{color:"#FF9E1F"},pairType:e.name}),g.series.push({name:"val_event_ratio",type:"line",yAxisIndex:1,data:e.validate_pos_perc,itemStyle:{color:"#FF4F38"},pairType:e.name}),g.legend.data=["train_%total","val_%total","train_event_ratio","val_event_ratio"],g.xAxis.data=e.intervals,g.yAxis[0].name="%total";var b=f([].concat(r()(e.expected_percentage),r()(e.actual_percentage)));g.yAxis[0].max=b,g.yAxis[0].interval=d(b,5),g.yAxis[0].axisLabel.formatter=function(t){return h(t,100,b)+" %"},g.yAxis[1].name="event_ratio";var y=f([].concat(r()(e.train_pos_perc),r()(e.validate_pos_perc)));return g.yAxis[1].max=y,g.yAxis[1].interval=d(y,5),g.yAxis[1].axisLabel.formatter=function(t){return h(t,100,y)+" %"},g.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+(100*t.data).toFixed(4)+"%
"}),e},{summaryTable:a.concat([{actual:"total",psi:"Total PSI: "+n,_total:!0}]),summaryPic:v,quantileTable:a,quantilePic:g}}e.default=function(t){for(var e={},n={},a={},r={},i=[],s=t?o()(t):[],l=0,c=s.length;l1?(e[s[l]]=u.summaryTable,n[s[l]]=u.quantileTable,a[s[l]]=u.summaryPic,r[s[l]]=u.quantilePic,i.push({label:s[l].replace("_psi",""),value:s[l]})):(e=u.summaryTable,n=u.quantileTable,a=u.summaryPic,r=u.quantilePic)}var p=[b("PSI Summary"),{type:"table",props:{header:v,data:e,pageSize:"all",zeroFormat:"0",export:"psi"}},{type:"chart",props:{setting:a,export:"psi",detail:!1}},b("Quantile Distribution"),{type:"table",props:{header:g,data:n,pageSize:"all",zeroFormat:"0",export:"quantile_distribution"}},{type:"chart",props:{setting:r,export:"quantile_distribution",detail:!1}}];return i.length>0&&p.splice(1,0,{type:"form",props:{form:[{type:"f-select",props:{options:i}}]}}),p}},FNvf:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var u,p,d,h,f;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(u=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=17;break}p={},d=[];case 4:if(!(u.length>0)){t.next=16;break}return h=u.shift(),t.next=8,Object(c.sendMetricsDataRequest)(h);case 8:if(p=t.sent,!(f=p.data.meta).label_encoder){t.next=14;break}if("break"!==function(){var t=f.label_encoder,e=[];return t&&o()(t).length>0&&"guest"===i&&(o()(t).forEach(function(n){e.push({value:n,transformed_value:t[n]})}),d.push({type:"table",props:{data:e,header:[{type:"index",label:"index"},{prop:"value",label:"original_label"},{prop:"transformed_value",label:"transformed_label"}],export:"transform_detail"}})),"break"}()){t.next=14;break}return t.abrupt("break",16);case 14:t.next=4;break;case 16:return t.abrupt("return",[Object(c.wrapGroupComponent)(d)]);case 17:return t.abrupt("return",[]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=u},GSnC:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},GYfr:function(t,e,n){var a=n("s1Q/");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("506340ec",a,!0,{})},GhKH:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABIElEQVQ4ja3UrUtDURgG8J8fICaLTaswYc5/QEE2sBtdEMFmMQp2BaPFpCALA6tR2JLBvKJg1SIWwxhaJoN3cr279wq6Bw6c8348vJ9not/vGwcmx8KC6SJltd6pYS+el+1mpZVnm5latd5ZxCGW8BjiEp5w2m5WnguJqvXOXESwiTfc4SXUC1jDPG4jwve81K4whVYikiEGhNcR2QbWsTVUpos9iwY+UcsoRS10jbD9RlbXPlDGAS6wEuciZOWw+YG8rt2gi20ch+wVZ5H2CIraP3C4x0m8j4I8E4VzFI7dxD0XWTWa+YU80yZN1MNOtDgPpbDpJfXp1HYTA7kaAzks9shAJh3zVmQZ+zkrct5uVh7SPoXfyL+X9i8Yz3+EL7v9UsDY3cLeAAAAAElFTkSuQmCC"},Gvav:function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n=t.data.train,a=[];return n.init_iter&&(n=n.init_iter)&&(n=n.data[0],a.push({type:"text",props:{content:"warm_start initial iteration: "+n[1]}})),a}},HP1B:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("D3Ub"),o=n.n(i),s=n("OjIB"),l=function(){var t=o()(r.a.mark(function t(e,a,i,o,l,c){var u,p,d,h,f;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(u=a.msg.match("no data")?null:Object(s.getAllMetricsRequest)(a.data,i,o,l,c))){t.next=11;break}return p={},d=[],h=u.shift(),t.next=7,Object(s.sendMetricsDataRequest)(h);case 7:return p=t.sent,(f=p.data.data).length>0&&f.forEach(function(t,e){var n={name:t[0],row:t[1]};"total"===t[0].toLowerCase()?d.push(n):d.splice(d.length-1,0,n)}),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"table",props:{data:d,header:[{prop:"name",label:"Name"},{prop:"row",label:"Row count"}],zeroFormat:"0"}}]}]);case 11:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=l},HoRF:function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("EJiy"),o=n.n(i),s=n("PcWm"),l=n("QdnX"),c=n("OjIB"),u=function(t){return t&&t.replace(/(train_|validate_)/g,"").replace(/(train\.|validate\.)/g,"fold_")};e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"custom";return function(p){var d=[];return Object(l.each)(p,function(p,h){var f=[],m=Object(s.a)(),v={};Object(l.each)(p,function(t){var e=t.data,a=t.meta,i=u(a.curve_name);m.xAxis.name=a.unit_name,v[a.curve_name]=a.thresholds;var o={name:i,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:e,pairType:u(a.curve_name)};r()(o,n),f.push(o)}),function(t,e){for(var n in t)Object.hasOwnProperty.call(t,n)&&e[n]&&("object"===o()(t[n])?t[n]=r()(t[n],e[n]):t=e[n])}(m,e),!0===a?m.tooltip.formatter=Object(c.curveFormatter)("Threshold",Object(l.upperFirst)(t),v):"function"==typeof a&&(m.tooltip.formatter=a({thresholds:v})),Object(l.sortByName)(f,"name"),d.push({type:"chart",props:{options:f,setting:m,legend:i}})}),d.length>1?d:d[0]}}},Ibv5:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".dialog[data-v-3bbf5dd1] .el-dialog__title {\n font-size: 24px;\n font-weight: 700;\n color: #3E4052;\n}\n.wrap[data-v-3bbf5dd1] {\n overflow: auto;\n height: 60vh;\n margin-top: -10px;\n}\n[data-v-3bbf5dd1] .error {\n color: #ff6d5a;\n font-size: 12px;\n}\n.divider[data-v-3bbf5dd1] {\n display: block;\n width: 100%;\n margin: 20px 0;\n border-bottom: 2px solid #dcdde0;\n}\n.button[data-v-3bbf5dd1] {\n width: 220px;\n font-weight: 700;\n}\n",""])},Ix4U:function(t,e,n){"use strict";n.r(e);var a=n("PcWm"),r=n("QdnX"),i=n("7Qib");e.default=function(t){var e=[];return Object(r.each)(t,function(t,n){var o=[],s=Object(a.a)(),l=[],c=[];Object(r.each)(t,function(t){var e=t.data,n=t.meta;l.push(n.thresholds);var a={name:n.curve_name,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},pairType:n.pair_type,data:e};c.push(n.pair_type);var r=[],i=[];e.forEach(function(t){r.push(t[0]),i.push(t[1])});var u=s.xAxis.data||[];r.length>u.length&&(s.xAxis.data=r),a.data=i,a.name=n.curve_name+(n.ordinate_name?"_"+n.ordinate_name:""),o.push(a)}),o=o.sort(function(t,e){return t.name&&e.name&&e.name.toLowerCase().match("precision")&&t.name.toLowerCase().match("recall")?1:-1}),Object(r.sortByName)(o,"pairType"),s.xAxis.name="class",s.xAxis.type="category",s.yAxis.name="precision, recall",s.tooltip.formatter=function(t){var e="",n=t[0].axisValue;return e+="Class: "+n+"
",t.forEach(function(t){var n=Array.isArray(t.data)?t.data[1]:t.data;t.seriesName.toLowerCase().match("precision")?e+="Precision("+t.seriesName.replace("_Precision","")+"): "+n+"
":t.seriesName.toLowerCase().match("recall")&&(e+="Recall("+t.seriesName.replace("_Recall","")+"): "+n+"
")}),e},e.push({type:"chart",props:{options:o,setting:s,legend:"custom",group:Object(i.f)(c)}})}),e.length>1?e:e[0]}},IxTP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".table-search {\n margin-bottom: 12px;\n}\n.table-search .search-input {\n max-width: 150px;\n}\n.table-search .search-input .el-input__inner {\n background: #F8F8FA;\n height: 24px;\n border: 0px;\n border-radius: 2px;\n width: 130px;\n padding-right: 20px;\n line-height: 24px;\n}\n.table-search .search-input .el-input-group__append {\n border: 0px;\n border-radius: 2px;\n background: #F8F8FA;\n padding-right: 10px;\n padding-left: 0px;\n}\n.table-search .search-input .el-input__icon {\n line-height: 24px;\n margin-right: 7px;\n}\n.table-search .el-select {\n max-width: 135px;\n}\n.table-search .el-select .el-select__tags {\n border-radius: 2px;\n height: 16px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.table-search .el-select .el-select__tags .el-tag {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 2px;\n height: 16px;\n margin-right: 2px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-select__tags-text {\n line-height: 16px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-tag__close {\n line-height: 16px;\n margin-top: 0px;\n}\n.table-search .el-select .el-input__inner {\n height: 24px;\n background-color: #fff;\n border: 2px solid #EBEDF0;\n border-radius: 2px;\n}\n.table-search .el-select .el-select__caret {\n line-height: 24px;\n}\n.header-section-style {\n background-color: #DEECFC !important;\n border: 1px solid #ffffff;\n color: #6A6C75;\n padding: 3px 0px;\n}\n.header-section-style .caret-wrapper {\n height: 22px;\n}\n.header-section-style .caret-wrapper .ascending {\n top: 0px;\n}\n.header-section-style .caret-wrapper .descending {\n bottom: 0px;\n}\n.default-cell-style {\n border: 1px solid #fff;\n border-bottom: 1px solid #fff !important;\n background-color: #FAFBFC;\n color: #999BA3;\n font-size: 12px;\n padding: 3px 0px;\n}\n.default-cell-first-col-style {\n background-color: #EBEDF0 !important;\n color: #6A6C75;\n}\n.default-cell-summary-font {\n color: #6a6c75;\n font-weight: bold;\n}\n.selction-row-choosed {\n background-color: #ebedf0 !important;\n color: #6A6C75;\n}\n.simple-input {\n display: block;\n width: 100%;\n background: transparent;\n font-size: 12px;\n color: inherit;\n -webkit-appearance: none;\n border: 0;\n outline: 0;\n padding: 3px 7px;\n text-align: center;\n}\n.simple-input:focus {\n text-align: left;\n}\n",""])},K4Y6:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},K4j0:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},L2p5:function(t,e,n){"use strict";var a=n("GYfr");n.n(a).a},M2ad:function(t,e,n){"use strict";var a=n("Pi7P");n.n(a).a},MG1N:function(t,e,n){"use strict";var a=n("jiEp");n.n(a).a},MTjI:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QdnX"),l=6;function c(t,e){return(t/e*100).toFixed(4)+"%"}function u(t,e){var n=[],a=function(t){return t.reduce(function(t,e){return e.reduce(function(t,e){return e.toString().match(/[a-zA-Z]+/)?t:t+e},t)},0)}(e);return Object(s.each)(e,function(e){n.push(function(t,e,n){for(var a={},r=0;r2&&void 0!==arguments[2]?arguments[2]:{};return function(a){var r="";return a.forEach(function(a,i){var o="";n[a.seriesName]&&(o=n[a.seriesName][a.dataIndex]),(o||0===o)&&(r+=t+"("+a.seriesName+"): "+o+"
");var s=Array.isArray(a.data)?a.data[1]:a.data;r+=e+"("+a.seriesName+"): "+s+"
"}),r}},N=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"weight",label:"weight",sortable:!0}]},k=function(t,e){return{variable:t,weight:Object(g.b)(e)}},L=function(t,e){return[{type:"text",props:{content:"iterations: {iters}",data:{"{iters}":t},className:"small-form-text"}},{type:"text",props:{content:"converged: {isConverged}",data:{"{isConverged}":e},className:"small-form-text"}}]},D=function(t,e){return{type:"form",props:f()({form:t},e)}};function R(t,e,n){var a=t.oneVsRestResult,r=a.completedModels,i=a.oneVsRestClasses,o="host"===e.toLowerCase(),s="guest"===e,l=r.length,c={},u=Object(m.makeArray)(l),p={},d={},h=[];Object(m.each)(r,function(t,e){var n=t.weight,a=t.header,r=[];Object(m.each)(a,function(t){r.push(k(t,n[t]))}),o||r.push(k("intercept",t.intercept));var l="model_"+e+(s?":"+i[e]:"");u[e]=l,p[l]=t.iters,d[l]=t.isConverged,c[l]=r});var f=[];return u.length&&(f=[{type:"f-select",name:"select",props:{label:"one_vs_rest model",options:u.map(function(t){return{label:t.replace(/\:.+/,""),value:t}})},connect:["modelText","iterations","converged"]},{type:"text",name:"modelText",props:{content:"model label: {modelLabel}",data:{"{modelLabel}":function(t){var e=t.split(":");return i&&i.length>0?e[1]:t.replace(/\:.+/,"")}},className:"small-form-text",inner:!0}},{type:"text",name:"iterations",props:{content:"iterations: {iterations}",data:{"{iterations}":function(t){return p[t]}},className:"small-form-text",inner:!0}},{type:"text",name:"converged",props:{content:"converged: {converged}",data:{"{converged}":function(t){return d[t]}},className:"small-form-text",inner:!0}},{type:"search"}],h.push(D(f))),n&&f.splice(1,0,{type:"text",props:{content:"The Final Model Information:"}}),h.push({type:"table",props:{data:c,header:N(),export:"model_summary"}}),h}function F(t){var e=t.weight,n=t.intercept,a=t.needOneVsRest,r=[],i=[];if(Object(m.each)(e,function(t,e){r.push(k(e,t))}),!a){r.push(k("intercept",n));var o=t.isConverged,s=t.iters,l=L(s,o);i.push(D([].concat(u()(l),[{type:"search"}])))}return i.push({type:"table",props:{header:N(),data:r,export:"model_summary"}}),i}var P=function(){var t=l()(o.a.mark(function t(e){var n,a,r,i,s=e.name,l=e.originParam;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.c)(l.props);case 2:return n=t.sent,a=Object(b.default)(n.data),r=void 0,r=(r=s.startsWith("loss")?a.find(function(t){return"loss"===t.name}):s.startsWith("dbi")?a.find(function(t){return"dbi"===t.name}):a.find(function(t){return"curves"===t.name})).options[s],(i=Object(g.a)(l)).props.metrics=r,t.abrupt("return",i);case 10:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}(),M=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:"async",props:r()({options:t,refresh:e?function(){var t=l()(o.a.mark(function t(n){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!x()(e)){t.next=4;break}e(n),t.next=6;break;case 4:return t.next=6,P(n);case 6:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}():""},n)}}},OwHS:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=function(t){return Object(a.default)("performanceSum",{yAxis:{name:"auc, ks",min:"dataMin"},xAxis:{type:"category",data:t.xAxis},grid:{top:"15%"},legend:{top:"10",right:"20",icon:"roundRect"}},void 0,null,!0)(t.metrics)}},P1SN:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("YEIV"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("FyfS"),f=n.n(h),m=n("GQeE"),v=n.n(m),g=n("QbLZ"),b=n.n(g),y=n("7Qib"),x=n("2c2J").a.state.modelNameMap,w=function(t,e,n,a,r,i,o,s,l){if(0===t.length)return{data:[],size:0,maxDepth:0,treeWidth:0};var c=0,u=function(t){var u=t.arr,p=t.node,d=t.grandChildrenArr,h=void 0===d?[]:d,f=t.depth,m=void 0===f?0:f,v=t.rootNode,g=a[p.fid],b=o.toLowerCase().match(x.homoBoost.toLowerCase())?parseFloat(p.bid).toFixed(6):parseFloat(r[p.id]).toFixed(6),w=p.sitename.split(":")[0],A=p.sitename.split(":")[1],I=v&&void 0===b?v+"\n":"ID: "+p.id+"\n";return w!==e||A!==n||p.isLeaf||o.toLowerCase().match(x.homoBoost.toLowerCase())?o.toLowerCase().match(x.homoBoost.toLowerCase())&&!p.isLeaf&&g&&(I+=g+" <= "+(b||p.bid||0),-1===p.missingDir&&(I+="\nis a missing value"),I+="\n"):(I+=g+" <= "+(void 0!==b?b:p.bid||0),1!==(i[p.id]||p.missingDir)&&(I+="\nor missing"),I+="\n"),(p.isLeaf&&"guest"===e||p.isLeaf&&o.toLowerCase().match(x.homoBoost.toLowerCase()))&&!v&&(I+="weight: "+Object(y.b)(p.weight)+"\n"),o.toLowerCase().match(x.homoBoost.toLowerCase())||(I+="mix"===s.toLowerCase()&&e.toLowerCase().match("guest")&&-1===p.leftNodeid&&-1===p.rightNodeid&&0===m?"HOST"+(l?":"+l:""):(w&&w.toUpperCase())+" "+(A?":"+A:l?":"+l:"")),u.push({treeid:p.id,name:I,children:h}),m>c&&(c=m),void 0!==b},p=t.find(function(e){return e.id===t[0].id}),d=[],h=u({arr:d,node:p,rootNode:"mix"===s.toLowerCase()&&e.toLowerCase().match("guest")?"Multi nodes":""}),m=0;if("mix"===s.toLowerCase()&&!h&&e.toLowerCase().match("guest")){!function(t,e){var n=!0,a=!1,r=void 0;try{for(var i,o=f()(e);!(n=(i=o.next()).done);n=!0){var s=i.value;s.isLeaf&&u({arr:t,node:s,grandChildrenArr:[],depth:1})}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}}(d[0].children,t),m=170*(d[0].children.length||1)}else{m=function e(n,a,r,i){++i;var o=0,s=t.find(function(t){return t.id===a}),l=t.find(function(t){return t.id===r});if(s){var c=[],p=s.leftNodeid,d=s.rightNodeid;u({arr:n,node:s,grandChildrenArr:c,depth:i}),o+=e(c,p,d,i)}else l&&(o+=170);if(l){var h=[],f=l.rightNodeid;o+=e(h,l.leftNodeid,f,i),u({arr:n,node:l,grandChildrenArr:h,depth:i})}else s&&(o+=170);return s||l||(o=170),o}(d[0].children,t[0].leftNodeid,t[0].rightNodeid,1)}return{data:d,size:t.length,maxDepth:c,treeWidth:m}},A=n("sqJL"),I=n("UOeh"),_=n("uNnm"),O=n("OjIB"),C=n("evsm"),S=n("QdnX"),E=n("J2iB"),j=n.n(E),T=n("saIk"),N=n("xjht"),k=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var c,u,p,d,h,f,m,v,g,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(c={party_id:a,role:i,component_name:s,job_id:l},u=void 0,p=void 0,d=[],h=void 0,f=void 0,m=void 0,v=[],!n||n.msg.match("no data")){t.next=22;break}if(n=Object(_.default)(n.data),Object(S.each)(n,function(t){if("others"===t.name)u=N.d.bind(null,b()({metrics:t.options},c));else if("iter"===t.name)h=N.d.bind(null,b()({metrics:t.options},c)),m=Object(C.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(S.each)(t.options,function(e,a){n.push(D(a,b()({metrics:e},c),N.d,Object(C.b)(t.name),Object(_.explainCurves)(a).name,!0))}),d.push([e,Object(O.createAsyncComponent)(n)])}}),d.length&&Object(S.each)(d,function(t){e.push(t)}),!u){t.next=16;break}return t.next=15,u();case 15:p=t.sent;case 16:if(p&&(g=Object(C.b)(T.METRIC_TYPES.EVALUATION_SUMMARY),y=g(p.data)||[],(x=(x=[].concat(o()(y))).length>0?0===e.length?Object(O.wrapGroupComponent)(x):x:null)&&(e.length>1?e.splice(1,0,x):e.push(x))),!h){t.next=21;break}return t.next=20,h();case 20:f=t.sent;case 21:m&&(v=m(f),0===e.length?e.push(Object(O.wrapGroupComponent)(v)):e[0].options&&Array.isArray(e[0].options)?(w=e[0].options).unshift.apply(w,o()(v)):Array.isArray(e[0])&&(A=e[0]).unshift.apply(A,o()(v)));case 22:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),L=function(t,e,n,a){return b()({type:t,name:e,props:n},a)},D=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},R=function(t,e){return{label:t,value:e}},F=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"importance",much_deep:!0}],P=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"gain",much_deep:!0}],M=[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],B=["73,78,206","7,135,210","1,161,194","107,142,0","2,135,69","236,118,0","225,51,51","130,53,180","212,0,120","82,85,112"];function U(t,e,n){var a=Object(y.a)(I.a),r=[],i=Object(y.a)(a.series),o=!0,s=!1,l=void 0;try{for(var c,u=f()(t);!(o=(c=u.next()).done);o=!0){var p=c.value;0===p[1]?(i.data.length>0&&(1===i.data.length&&(delete i.symbol,i.symbolSize=4),r.push(i),i=Object(y.a)(a.series)),i.data=[p],r.push(i),i=Object(y.a)(a.series)):(i.data=i.data||[],i.data.push(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return r.push(i),a.series=r,a.series[0].markLine.data[0][1].coord[1]=e,a.yAxis.max=e,a.backgroundColor="#f8f8fa",a.color="#FF8800",a.tooltip.backgroundColor=n,a.tooltip.textStyle.color="#fff",a.tooltip.axisPointer.lineStyle.color=n,a}function z(t,e){if("string"==typeof e)return e;var n=t.split("_");return n.length>1?e[parseInt(n[0])]:e[0]}function H(t,e,n){var a=function(t,e,n){var a=t.data.data,r=t.data.meta,i=r.meta_data.workMode,o=r.module_name,s=a.featureNameFidMapping,l=a.trees,c=a.classes,u=a.treeDim,p=a.treePlan,d=function(t,e,n){var a=[];if(n>=3)if("guest"===t)e.forEach(function(t,e){var n="model_"+e;a.push({value:e,label:n,name:t})});else if("host"===t)for(var r=0;r0?{}:[],f={},m=d.length>0?{}:[],g=d.length>0?{}:"rgba("+B[0]+",1)",b=d.length>0?{}:0;return l.forEach(function(t,a){var r={tree:t.tree,role:n,partyId:e,featureNameFidMapping:s,splitMaskdict:t.splitMaskdict,missingDirMaskdict:t.missingDirMaskdict,type:o,workMode:i};if(Array.isArray(h)){h.push({label:t.tree.length,value:h.length.toString()});var l=v()(f).length%p.length,c=p[l]?p[l].split("-"):[];c="1"===c[0]?c[1]:null,r.treePartyId=c,f[(h.length-1).toString()]=r,m.push([a,t.tree.length]),b0){var n=Object(y.a)(A.a);return n.series.data=t,n.series.label.backgroundColor=e,n.series.leaves.label.backgroundColor=e.replace(",1)",",0.6)"),n}return{}}(e.data,t.color),width:e.treeWidth,height:"+"+100*(e.maxDepth-4>0?e.maxDepth-4:0),zoom:!0,noData:"this tree belongs to other party",legend:!1,className:"overflow-hidden"})]}function W(t,e,n){var a=t.data.data.featureNameFidMapping,r=H(t,e,n),i=[];for(var o in a)i.push(a[o]);return[L("form","",{form:[L("f-treeSelect","",{labels:r.label_index,treeList:r.treeList,treeLine:r.treeLines,maxmium:r.maxmium,basicColor:r.colors,showlabel:!!n.toLowerCase().match("guest")})]}),L("async","",{options:r.treeData,variableMap:i})]}function G(t,e){var n=function(t){if(t.featureImportances&&t.featureImportances.length>0){var e=[];return Object(S.each)(Object(y.a)(t.featureImportances),function(t){e.push(d()({},t,{gain:t.main&&"split"===t.main||!t.main?t.importance2:t.importance,importance:t.main&&"gain"===t.main?t.importance2:t.importance})),Y="split"===t.main}),e}return!1}(t);if(!n)return!1;var a=function(t,e){var n=u()({},e,[]),a=[],r=!0,i=!1,o=void 0;try{for(var s,l=f()(t);!(r=(s=l.next()).done);r=!0){var c=s.value;c.sitename.match(e)?n[e].push(c):(a.indexOf(c.sitename)<0&&(a.push(c.sitename),n[c.sitename]=[]),n[c.sitename].push(c))}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}var p=[],d=!0,h=!1,m=void 0;try{for(var v,g=f()(a);!(d=(v=g.next()).done);d=!0){var b=v.value;p.push(R(b,b))}}catch(t){h=!0,m=t}finally{try{!d&&g.return&&g.return()}finally{if(h)throw m}}var y=p.length>0?[R(e,e),R("guest"===e?"host":"guest",p)]:[];return{selection:y.length>0?L("f-select","",{options:y,legend:!0,multiple:!0}):null,data:y.length>0?n:n[e]}}(n,e),r=a.selection,i=a.data,o=[L("text","",{content:"{t} features involved in model splitting",data:{"{t}":function(t){return t.data.length||0}}})];r&&o.push(r);var s=[L("form","",{form:o}),L("table","",{header:F,data:i,pageSize:"all",combine:!1,export:"feature_importance_split",mapVariable:"fullname"})];if(function(t){return t.find(function(t){return!j()(t.gain)&&0!==t.gain})}(n)){var l=[L("text","",{content:"{t} features involved in model splitting",data:{"{t}":function(t){return t.data.length||0}}})];return r&&l.push(r),{importanceSplit:s,importanceGain:[L("form","",{form:l}),L("table","",{header:P,data:i,pageSize:"all",combine:!1,export:"feature_importance_gain",mapVariable:"fullname"})]}}return{type:"group",props:{options:s}}}var Y=!0;function V(t,e){Y=!0;var n=G(t,e);if(!n)return!1;var a=[L("title","",{content:"Feature Importance"})],r=[{label:"split"+(Y?" (applied)":""),value:"importanceSplit"},{label:"gain"+(Y?"":" (applied)"),value:"importanceGain"}];return n.type?[].concat(a,[n]):[L("tabs","",{title:"Feature Importance",options:Y?r:r.reverse(),content:n})]}function Z(t,e,n){if(t.featureNameFidMapping&&v()(t.featureNameFidMapping).length>0){var a=t.anonymousNameMapping,r=[];for(var i in a)r.push({variable:a[i],featureIndex:i});return[L("title","",{content:"Feature Mapping"}),L("table","",{header:M,data:r,combine:!1,export:"feature_mapping"})]}return!1}var Q=function(){var t=l()(r.a.mark(function t(e,n,a,i,o,s){var l,c,u,p,d;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=[],e.data.meta&&(c=e.data.meta.module_name,u=e.data.meta.meta_data.workMode,l.push(W(e,a,i)),("guest"===i||u.toLowerCase().match("mix"))&&(p=V(e.data.data,i))&&l.push(p),"host"!==i||c.toLowerCase().match("homo")||u.toLowerCase().match("mix")||(d=Z(e.data.data))&&l.push(d)),t.next=4,k(l,n,a,i,o,s);case 4:return t.abrupt("return",l.map(function(t){return Object(O.wrapGroupComponent)(t)}));case 5:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=Q},PZ4n:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t){if(t.msg.toString().toLowerCase().match("no data"))return[];var e=t.data,r=e.data,i=e.meta,o=[];return i&&i.meta_data&&i.meta_data.staticColumns.forEach(function(t,e){var n={};n.variable=t,r.selfValues.results.forEach(function(t){n[t.valueName]=t.values[e],n[t.valueName]=t.values[e]}),o.push(n)}),o.length>0?[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:o,header:function(t){var e=[Object(a.createHeader)("variable","variable",{sortable:!0,pageFixed:!0})];return t.forEach(function(t){e.push(Object(a.createHeader)(t,t,{sortable:!0,showOverflowTooltip:!0}))}),e.unshift({type:"index",label:"index"}),e}(i.meta_data.statistics),zeroFormat:"0",headerPagination:!0}}]}]:[]}},PbIf:function(t,e,n){"use strict";var a=n("EYjE");n.n(a).a},PcWm:function(t,e,n){"use strict";function a(){return{color:["#494ece","#00d269","#ff8103","#00dfcf","#f23ba9","#0080ff","#c13ce1","#ffcd03","#7c56ff","#a7cf02","#00d3ff","#ff1414"],backgroundColor:"#fbfbfc",tooltip:{position:function(t,e,n,a,r){var i=n.offsetWidth,o=n.offsetHeight,s=r.viewSize[0],l=r.viewSize[1],c=t[0]+20,u=t[1]+-10;return u+o>=l&&(u=l-o),c+i+100>=s&&(c=s-i-100),{left:c,top:u}},axisPointer:{type:"line"},trigger:"axis"},itemStyle:{},grid:{top:"10%",left:"3%",right:"10%",bottom:"3%",containLabel:!0},xAxis:{type:"value",splitLine:{show:!1},axisTick:{alignWithLabel:!0},name:"",nameCap:10},yAxis:{type:"value",name:"",splitArea:{show:!0,areaStyle:{color:["#ffffff"]}}},series:[],legend:{}}}n.d(e,"a",function(){return a})},Pi7P:function(t,e,n){var a=n("CQmJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("e95fb1b2",a,!0,{})},PkDK:function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB");e.default=function(t,e,n,i,o,s){if(t.msg.match("no data"))return[];var l,c=t.data.data,u=c.allNames,p=u.length<=1,d={},h=void 0,f=void 0,m=[];"guest"===i?(h=u[0].names,f=p?[]:u[1].names):(h=p?u[0].names:u[1].names,f=p?[]:u[0].names),m.push({label:"index",type:"index"}),m.push({label:"variable",prop:"name",showOverflowTooltip:!0}),p||m.push({label:"anonym in "+("guest"===i?"host":"guest"),prop:"anonymous",width:115,showOverflowTooltip:!0}),l=c.anonymousMap,c.localVif&&Array.isArray(c.localVif)&&c.localVif.length>0&&(m.push({label:"vif",prop:"vif",showOverflowTooltip:!0,sortable:!0}),Object(a.each)(l,function(t,e){t.vif=c.localVif[e]}));var v=function(t,e,n,r){var i=n.length;Object(a.each)(e,function(e,o){Object(a.each)(n,function(n,a){t[e]||(t[e]={}),t[e][n]=r[o*i+a]})})};v(d,h,h,c.localCorr),v(d,h,f,c.corr),p||Object(a.each)(h,function(t,e){Object(a.each)(l,function(n){n.name===t&&(h[e]+="("+n.anonymous+")")})});var g=[{type:"group",props:{options:[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:m,data:l}}]}},{type:"pearson",props:{variable:h,otherVariable:f,nums:d,single:p,role:i}}];return[Object(r.wrapGroupComponent)(g)]}},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var a=n("eOYL"),r={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=i,e?(n||(n=a.a.getUUID("line")),e.drawLayer(n,t),n):new a.a(t)}};function i(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;a.a.stroke(e,t.style,function(e){for(var n=0;np?p+.4*f:p-.4*f},v={x:d,y:h>p?h-.4*f:h+.4*f};if(o.push(m),n&&u===d){"left"===n?n=-s:"right"===n&&(n=s);var g={x:u+n,y:h>p?p+.4*f*2:p-.4*f*2};o.push(g);var b={x:u+n,y:h>p?h-.4*f*2:h+.4*f*2};o.push(b)}o.push(v)}return o.push(e),o}e.b=r},QSr5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEnaIu4fXvvmV6jOhiKGHkFHVpB5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAeZQYFTxHy6sAAAAASUVORK5CYII="},Qb70:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("7Qib"),o=n("QdnX"),s=n("OjIB"),l=n("3EZw"),c=n.n(l)()(s.createHeader)(l.placeholder,l.placeholder,{align:"center"}),u=function(t){return[{label:"index",width:100,type:"index"}].concat(r()(function(t){return[c("variable","variable"),c(t+" value ratio","ratio"),c("fill_value","value")]}(t)))},p=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},d=function(t){return function(e,n){t.push({variable:n,ratio:Object(i.b)(e.ratio),value:Object(i.b)(e.value)})}},h=function(t,e){var n={};for(var a in t)n[a]={ratio:t[a],value:e[a]};return n},f=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r1&&void 0!==arguments[1]?arguments[1]:"key",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",a=[];return A(t,function(t,i){var o;a.push((o={},r()(o,e,i),r()(o,n,t),o))}),a},D=function(t,e){return te?1:t>=e?0:NaN},R=function(t,e){return et?1:e>=t?0:NaN};var F=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=new u.a;t.forEach(function(t){var n=void 0;n="string"==typeof e?E(t,e):"function"==typeof e?e(t):t,a.set(t,function(t){var e=[];return t.replace(/\D|\d+/g,function(t){var n=+t;e.push(isNaN(n)?t:n)}),e}(n))});var r=n?D:R;t.sort(function(t,e){t=a.get(t),e=a.get(e);for(var n=Math.min(t.length,e.length),i=0;ie&&(e=l)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var d=parseFloat(e.toFixed(u));d1?n[1].length:0;var a=e.toString().split(".");return a=a.length>1?a[1].length:0,Number(t.toString().replace(".",""))/Number(e.toString().replace(".",""))*Math.pow(10,a-n)}catch(t){}}function d(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}var h=function(t,e,n,a,r){return{name:t,type:e,data:n,color:a,barWidth:r,yAxisIndex:"PSI"===t?"1":"0"}},f=function(t,e,n){var a={};return r()(t).forEach(function(r){a[r]=[],a[r]=function(t,e,n,a){return[h("Expected","bar",e[t],"#5E7FEB","8px"),h("Actual","bar",n[t],"#0EC7A5","8px"),h("PSI","line",a[t],"#FF9F22")]}(r,t,e,n)}),a};function m(t){return isNaN(+t)&&(t=0),(100*t).toFixed(4)+"%"}e.default=function(t){if(t.msg.match("no data"))return[];var e=t.data.data,a=e.featurePsi,i=e.totalScore,o=[],p={},h=[],v={},g={},b={},y={};return r()(a).forEach(function(t){var e=a[t].featureName,n=a[t].interval;p[e]=[],v[e]=[],g[e]=[],b[e]=[],y[e]=[],o.push({variable:e,psi:i[e]}),h.push({value:e,label:e}),n.forEach(function(n,r){p[e].push({binning:n,expected:m(a[t].expectPerc[r]),actual:m(a[t].actualPerc[r]),psi:a[t].psi[r]}),v[e].push(function(t){var e=void 0;return null!=(e=/([0-9.-]+)<([0-9a-zA-Z]+)(?:<=)([0-9.-]+)/g.exec(t))?"("+e[1]+","+e[3]+"]":null!=(e=/([0-9.-]+)<([0-9a-zA-Z]+)/g.exec(t))?"["+e[1]+",+∞)":null!=(e=/([0-9a-zA-Z]+)(?:<=)([0-9.-]+)/g.exec(t))?"(-∞,"+e[2]+"]":t}(n)),g[e].push(a[t].expectPerc[r]),b[e].push(a[t].actualPerc[r]),y[e].push(a[t].psi[r])})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"table",props:{data:o,header:[{type:"index",label:"index"},Object(s.createHeader)("variable","variable",{sortable:!0}),Object(s.createHeader)("PSI","psi",{sortable:!0})],zeroFormat:"0"}}]},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",props:{options:h}}]}},{type:"table",props:{data:p,header:[{type:"index",label:"index"},Object(s.createHeader)("binning"),Object(s.createHeader)("Expected%","expected"),Object(s.createHeader)("Actual%","actual"),Object(s.createHeader)("PSI","psi")],zeroFormat:"0",pageSize:-1}},{type:"chart",props:{setting:function(t,e,n,a){var i={};return r()(t).forEach(function(r,o){var s=Object(c.a)(l.a);s.xAxis.data=t[r];var p=u(e[r]),h=u(n[r]),f=p>h?p:h;s.yAxis[0].max=f,s.yAxis[0].interval=f/5,s.yAxis[0].axisLabel.formatter=function(t){return d(t,100,f)+" %"};var m=u(a[r]);s.yAxis[1].max=m,s.yAxis[1].interval=m/5,s.yAxis[1].axisLabel.formatter=function(t){return""+d(t,1,m)},s.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e},i[r]=s}),i}(v,g,b,y),options:f(g,b,y)}}]}]}},R5W1:function(t,e,n){"use strict";var a=n("lS5Q");n.n(a).a},RAVm:function(t,e,n){"use strict";n.r(e);var a=n("OjIB"),r=n("QdnX");e.default=function(t){var e=t.reader_name.meta.table_info,n=[];Object(r.each)(e,function(t,e){var a={};a.variable=e,a.samples=t,n.push(a)}),Object(r.sortByName)(n,"variable");var i=[],o=t.reader_name&&t.reader_name.meta;return o&&(o.file_path&&i.push({type:"text",props:{content:"file path: "+o.file_path,className:"small-form-text"}}),o.file_count&&i.push({type:"text",props:{content:"file count: "+o.file_count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"namespace: "+t.reader_name.meta.namespace,className:"small-form-text"}},{type:"text",props:{content:"name: "+t.reader_name.meta.table_name,className:"small-form-text"}}]),o.count&&i.push({type:"text",props:{content:"count: "+o.count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"partitions: "+t.reader_name.meta.partitions,className:"small-form-text"}},{type:"text",props:{content:"storage engine: "+t.reader_name.meta.storage_engine,className:"small-form-text"}}]),n.length>0&&i.push.apply(i,[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:n,header:[{type:"index",label:"index"},Object(a.createHeader)("variable","variable",{sortable:!0}),Object(a.createHeader)("samples","samples")],zeroFormat:"0",export:t.reader_name.meta.table_name,pageSize:-1}}])),i}},RZZm:function(t,e,n){var a=n("eomL");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("755370d4",a,!0,{})},S6YE:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t,e){var n=[];return t.forEach(function(t){n.push({type:"text",props:{content:t,className:"small-form-text",subContent:t.toLowerCase().match(/unmatched.*count/i)&&e.toLowerCase().match(/left/i)?"(Unmatched instance host variables are considered missing values)":""}})}),n},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=23;break}d={},h=[],f=[],m=0;case 6:if(!(p.length>0)){t.next=22;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),x=h.findIndex(function(t){return t.toLowerCase().match(/unmatched/)}),w=y.join_method?y.join_method.replace("_"," "):"",x>=0&&w&&h.splice(x,0,"Join method: "+w),(A=u(h,w)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(A))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n){e[n]&&t.push(n.replace(/_/g," ")+": "+e[n].toString().replace(/_/g," "))};for(var n in y)n.match(/metric_type/i)||"name"===n||n.match(/join_method/i)||e(y,n);(A=u(t,w)).length>0&&f.push({type:"form",props:{form:[].concat(o()(A))}})}(),m++,t.next=6;break;case 22:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 23:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},SNd3:function(t,e,n){"use strict";var a=n("n0uM");n.n(a).a},"SQ+b":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("3cDs"),u=n("QdnX"),p=function(t){var e=[];return t.forEach(function(t,n){e.push({prop:"cluster"+n,label:"Cluster"+n,showOverflowTooltip:!0})}),[{type:"index",label:"index"},{prop:"variable",label:"variable",pageFixed:!0}].concat(e)},d=function(t){var e=[],n={_total:!0},a=0,r=0;return t.forEach(function(t){a+=t.cluster[1],r+=t.cluster[2],e.push({custerLabel:"Cluster"+t.cluster[0],count:t.cluster[1],ratio:(100*t.cluster[2]).toFixed(4)+"%"})}),n.custerLabel="Total",n.count=a,n.ratio=Math.round(100*r)+"%",e.push(n),e},h=function(t,e){for(var n=[],a=e.length,r=function(a){n[a]={variable:e[a]},Object(u.each)(t,function(t,e){n[a]["cluster"+e]=t.centroid[a]})},i=0;i0&&g&&g.length>0&&(y=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"text",props:{content:"count of clusters: "+e.data.data.countOfClusters,className:"small-form-text"}},{type:"text",props:{content:"max_interation: "+e.data.data.maxInteration,className:"small-form-text"}},{type:"text",props:{content:"converged: "+e.data.data.converged,className:"small-form-text"}}]}]),v&&v.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Cluster Detail"}},{type:"table",props:{header:[{type:"index",label:"index"},{prop:"custerLabel",label:"custer label"},{prop:"count",label:"count"},{prop:"ratio",label:"ratio"}],data:d(v)}}]}),g&&g.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Centroid Detail"}},{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:p(g),data:h(g,b),headerPagination:!0}}]}),(f=y).push.apply(f,o()(m)),t.abrupt("return",y);case 12:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=f},SeDR:function(t,e,n){"use strict";n.r(e);var a=n("Vae8");e.default=a.default},SqDN:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},TD7w:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Accuracy",{yAxis:{name:"accuracy"}},void 0,!0)},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var a=n("uy/s");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("ff63f00e",a,!0,{})},UAQg:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("rfXi"),d=n.n(p),h=n("jWXv"),f=n.n(h),m=n("YEIV"),v=n.n(m),g=n("xjht"),b=n("uNnm"),y=n("evsm"),x=n("QdnX"),w=n("OjIB"),A=n("GoyQ"),I=n.n(A),_=n("gPpF"),O=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,p,d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u={party_id:a,role:i,component_name:s,job_id:c,isEvaluation:!0},p=[],d=[],h=void 0,f=void 0,n&&!n.msg.match("no data")&&(n=Object(b.default)(n.data),Object(x.each)(n,function(t){if("others"===t.name)h=(h=Object(y.b)(t.name)).bind(null,t,u);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(x.each)(t.options,function(e,a){console.log(t.name,"nams"),n.push(C(a,l()({metrics:e},u),g.d,Object(y.b)(t.name),Object(b.explainCurves)(a).name,!0))}),d.push([e,Object(w.createAsyncComponent)(n)])}})),!h){t.next=12;break}return t.next=9,h();case 9:m=t.sent,p.push.apply(p,o()(m)),f=S(p);case 12:return d.length&&Object(x.each)(d,function(t){f&&(t=E(t,f)),p.push(Object(w.wrapGroupComponent)(t))}),t.abrupt("return",p);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),C=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function S(t){var e=null;return Object(x.each)(t,function(t,n){var a=t.options;if(Object(x.each)(a,function(t,n){if("group"===t.type){var a=t.props.options;if(Object(x.each)(a,function(t,n){if("table"===t.type&&"OneVsRestEvaluation"===t.props.export){if(e=t.props.data,Array.isArray(e)){var a=e[0].name.split("_class")[0];e=v()({},a,e)}return!1}}),null!==e)return!1}}),null!==e)return!1}),e}function E(t,e){t=t||[];var n=new f.a;Object(x.each)(e,function(t,e){I()(t)?Object(x.each)(t,function(t,e){if(I()(t))Object(x.each)(t,function(t,e){if("dataset"===e)return n.add(t),!1});else if("dataset"===e)return n.add(t),!1}):"dataset"===e&&n.add(t)}),n=d()(n);var a=t[0]?t[0].props.form:[],r={label:"One vs Rest",children:function(){var t=[];return Object(x.each)(n,function(e){t.push({label:e,value:"ovr_"+e})}),t}()};if(a[0]&&"f-tabs"===a[0].type){var i=a[0].props.tabs;i[0]&&"loss"!==i[0].label.toLowerCase()&&i.push(r)}else a.push({type:"f-type",ptops:{tabs:[r]}}),t.push({type:"form",props:{form:a}});var o=t[1],s=[];if(Object(x.each)(n,function(t){s.push(C("ovr_"+t,{tableData:e,namespace:t},function(t){return t},_.default,"one_vs_rest",!0))}),o&&"async"===o.type){var l=o.props.options;l.push.apply(l,s)}else t.push(Object(w.createAsyncComponent)(s));return t}e.default=O},"UCI/":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a);e.default=function(t){var e=t.data.data&&t.data.data.colMap,a=[],i={};return e&&r()(e).length>0?(r()(e).forEach(function(t){a.push({value:t,label:t}),i[t]=[],e[t].transformedHeaders.forEach(function(n,a){i[t].push({encoded_vector:n,value:e[t].values[a]})})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",name:"f-selection",props:{options:a}}]}},{type:"table",props:{data:i,header:[{type:"index",label:"index"},{prop:"value",label:"value"},{prop:"encoded_vector",label:"encoded_vector"}],export:"encode_detail"}}]}]):[]}},UFPc:function(t,e,n){"use strict";var a=n("tlOW");n.n(a).a},UJde:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("OjIB"),u=n("QdnX"),p=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)};e.default=function(t){var e=[];return Object(u.each)(t,function(t,n){Object(u.each)(t,function(t,n){var a=t.meta,i=a.weight_mode,o=a.class_weight,s=a.classes,l=a.sample_weight_name,c=[p("","index",{type:"index"}),p("label","label"),p("weight","weight")],d=[],h=[],f=[],m=[],v=null;h.push({type:"text",props:{content:"weight mode: "+i}}),l&&h.push({type:"text",props:{content:"column name: "+l}}),o&&r()(o).length>0&&(m=function(t){return{type:"f-select",props:{options:function(){var e=[];return e.push({label:"all",value:"default"}),Object(u.each)(t,function(t){e.push({label:t.label,value:"label"+t.label})}),e}(),styles:"width:auto;"}}}(f=function(t,e){var n=[];return Object(u.each)(e,function(e){n.push({label:e,weight:t[e]})}),n}(o,s)),v=function(t){var e={default:t};return Object(u.each)(t,function(t){e["label"+t.label]=[t]}),e}(f),h.push(m)),d.push({type:"form",props:{form:h}}),v&&d.push({type:"table",props:{header:c,data:v}}),e.push.apply(e,d)})}),e.length>0?Object(c.wrapGroupComponent)(e):null}},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return u});var a=n("gDS+"),r=n.n(a),i=n("UVkp"),o=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=o.a.getUUID("text")),e.drawLayer(n,t),n):new o.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,CENTER:i.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,a=e.$meta.get("$translate")||{x:0,y:0},r=e.point.x||e.point[0]||0,i=e.point.y||e.point[1]||0,o=(t.x||t[0]||0)-a.x,l=(t.y||t[1]||0)-a.y,c=parseInt(e.style.font),u=!1;return e.position===s.RIGHT?o>=r-n&&o<=r&&l>=i-c/2&&l<=i+c/2&&(u=!0):e.position===s.CENTER?o>=r-n/2&&o<=r+n/2&&l>=i-c/2&&l<=i+c/2&&(u=!0):o>=r&&o<=r+n&&l>=i-c/2&&l<=i+c/2&&(u=!0),u}function c(){var t=JSON.parse(r()(this.style));t.textBaseline=i.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=u(e,t.text,t.style),a=t.width||Math.ceil(n.width),r=parseInt(t.style.font),i=t.breakLine?t.height?Math.floor(t.height/(r+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(r+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)a;)m--;d.push(t.text.substr(h,m)),h+=m}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var g in e.save(),t.style)e[g]=t.style[g];t.angle&&o.a.rotate(e,t.point,t.angle);for(var b=0;b1?t.betweenEachLine:0));e.restore()}.call(this)}function u(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r={};for(var i in t.save(),n)t[i]=n[i];var o=t.measureText(e);return r.width=o.width,r.ylength=0!==Math.cos(a)?r.width*Math.cos(a):0,r.xlength=0!==Math.sin(a)?r.width*Math.cos(a):r.width,t.restore(),r}e.a=s},UN1j:function(t,e,n){"use strict";n.r(e);var a=n("YEIV"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("4rwF"),u=n("ODRq"),p=n.n(u),d={data:function(){return{storageMap:new p.a}},methods:{setStorageMap:function(t,e){return this.storageMap.set(t,e),!0},getStorageMap:function(t){var e=this.storageMap.get(t);return e||(e=new p.a,this.setStorageMap(t,e)),e}}},h=n("jWXv"),f=n.n(h),m=n("rfXi"),v=n.n(m),g=n("+Ej1"),b=n.n(g),y=n("FyfS"),x=n.n(y),w=n("EJiy"),A=n.n(w),I=n("GQeE"),_=n.n(I);function O(t,e){var n=_()(t);for(var a in e)if(n.indexOf(a)>=0)o()(t[a],e[a]);else{if(!n.find(function(e){return"object"===A()(t[e])&&!e.match("csv")}))continue;var r=!0,i=!1,s=void 0;try{for(var l,c=x()(n);!(r=(l=c.next()).done);r=!0){var u=l.value;if(!u.match("csv")&&"object"===A()(t[u])&&O(t[u],e))break}}catch(t){i=!0,s=t}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}}}var C={data:function(){return{collecting:!1,dataCollection:"",oldProperty:[],needToAsyncProperty:[],currentArgs:"",currentProperty:"",currentComp:"",currentCompProp:"",originProperty:[]}},methods:{getNextProperty:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a="";if("default"===t)return"default";for(var r=_()(t),i=function(i,o){var s=r[i];if(e.originProperty.indexOf(s)<0){var l="object"===A()(t[s])&&_()(t[s]).find(function(e){return"object"===A()(t[s][e])&&null!==t[s][e]&&"title"in t[s][e]});return!function(t){return""!==t&&null!==t&&void 0!==t&&!b()(t)}(t[s].title)||l?l&&(a=e.getNextProperty(t[r[i]],!1)):a=s,a?(n&&e.originProperty.push(a),{v:a}):(e.originProperty.push(s),"continue")}},o=0,s=r.length;o0?(a.push(u),o=!0):o=!1}else if(["table"].indexOf(c.type)>=0){var p=this.refOpera("comp"+l,"allSteps",t);p&&(o?O(a[a.length-1],p):a.push(p))}else if(["chart","async","group","tabs"].indexOf(c.type)>=0){if(this.refOpera("comp"+l,"getNames").find(function(t){return i.match(t)})){if(o)this.oldProperty[this.oldProperty.length-1].connectTo.push("comp"+l);this.needToAsyncProperty.push({data:o?a[a.length-1]:"default",comp:"comp"+l,compType:c.type,checkName:this.refOpera("comp"+l,"getNames"),position:a.length-1,name:c.name})}}}this.needToAsyncProperty.length>0&&(this.collecting=!0,this.$nextTick(function(){n.startAsyncRequest(t)})),this.dataCollection=a,this.collecting||(this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="")},startAsyncRequest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentArgs,e=this.needToAsyncProperty[0];if(e){var n=this.getNextProperty(e.data);if("default"===n){if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0)this.currentComp=e,this.currentCompProp="",this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t);else this.refOpera(e.comp,"allSteps",t);this.needToAsyncProperty.shift(),this.originProperty=[]}else if(n&&"default"!==n)if(this.currentComp=e,this.currentCompProp=n,n!==this.refOpera(e.comp,"getCurrentProperty").toString())this.refOpera(e.comp,"linkageChange",n,!1,t.imply);else if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0){this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t,n)}else this.refOpera(e.comp,"allSteps",t,n);else this.needToAsyncProperty.shift(),this.originProperty=[],this.startAsyncRequest()}else this.returnToOrigin(),this.collecting=!1,this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="",this.originProperty=[]},asyncRequestRefreshed:function(){this.refOpera(this.currentComp.comp,"allSteps",this.currentArgs,this.currentCompProp)},combineReporter:function(t,e){var n=this,a=this.currentComp.data;if(a&&"default"!==a||"chart"!==e)if(a&&"default"!==a||"group"!==e)a&&"chart"===e?O(a,t):a&&"group"===e&&(1===t[this.currentCompProp].length?O(a,r()({},this.currentCompProp,t[this.currentCompProp][0])):(a.groups=a.groups||[],a.groups.push(t[this.currentCompProp])));else{var i;""===this.dataCollection&&(this.dataCollection=[]),(i=this.dataCollection).push.apply(i,l()(t.group))}else for(var o in t)this.dataCollection.push(t[o]);this.$nextTick(function(){n.startAsyncRequest()})},returnToOrigin:function(){for(var t=0,e=this.oldProperty.length;t=0){var r=t.refOpera("comp"+a,"getNames");Array.isArray(r)&&r.length>0&&e.push.apply(e,l()(r))}}),e},getVariableMap:function(){var t=this,e=[];return this.currentList.forEach(function(n,a){if(["table","group","chart","async"].indexOf(n.type)>=0){var r=t.refOpera("comp"+a,"getVariableMap");Array.isArray(r)&&r.length>0&&e.push.apply(e,l()(r))}}),e.length>0?v()(new f.a(e)):e},hasIv:function(){for(var t=!1,e=0,n=this.currentList.length;e=0){var r=this.refOpera("comp"+e,"hasIv");if(r){t=r;break}}}return t},handleFilterLogic:function(t){for(var e=!1,n=0,a=this.currentList.length;n=0){var i=this.refOpera("comp"+n,"handleFilterLogic",t);if(i){e=i;break}}}return e}}},S={name:"Cgroup",components:{Cform:function(){return n.e("chunk-6795").then(n.bind(null,"55cT"))},Ctable:function(){return n.e("chunk-09f6").then(n.bind(null,"sBn2"))},Cchart:function(){return n.e("chunk-3243").then(n.bind(null,"cdl0"))},Cechart:function(){return Promise.all([n.e("chunk-ffb3"),n.e("chunk-61f4")]).then(n.bind(null,"8K0p"))},Casync:function(){return n.e("chunk-4d44").then(n.bind(null,"pH2k"))},Ctitle:function(){return n.e("chunk-446d").then(n.bind(null,"cPhb"))},Ctext:function(){return n.e("chunk-2d2d").then(n.bind(null,"kYNT"))},Cpearson:function(){return n.e("chunk-5834").then(n.bind(null,"odDI"))},Ctabs:function(){return n.e("chunk-385e").then(n.bind(null,"dVgn"))}},mixins:[c.a,d,C],props:{options:{type:Array,default:function(){return[]}},unique:{type:String,default:"Cgroup"}},data:function(){return{currentList:[].concat(l()(this.options)),timer:(new Date).getTime(),needToInRow:["pearson"]}},watch:{options:{handler:function(){var t=this;this.$set(this,"currentList",[].concat(l()(this.options))),this.timer=(new Date).getTime(),this.$nextTick(function(){t.needDefault()})},deep:!0}},mounted:function(){var t=this;this.$nextTick(function(){t.needDefault()})},methods:{needDefault:function(){for(var t=this,e=!0,n=0;n=0&&this.refOpera("comp"+(e+1),"linkageForm",t)},searchByForm:function(t,e){"table"===this.currentList[e+1].type&&this.refOpera("comp"+(e+1),"searching",t)},changeByForm:function(t,e,n){for(var a=e+1;a=0&&this.refOpera("comp"+a,"linkageChange",t,n)},changeByOutside:function(t,e){for(var n=e-1;n>=0;n--)if("form"===this.currentList[n].type){this.refOpera("comp"+n,"linkageOutside",t);break}},refreshByForm:function(t){for(var e=t+1;e=0){this.refOpera("comp"+e,"linkageRefresh");break}},rangeByForm:function(t,e){for(var n=e+1;n=0&&!this.refOpera("comp"+n,"setDefault",e))return!1}return!0},getSelected:function(){for(var t={},e=0;e=0&&(t=o()(t,this.refOpera("comp"+e,"getSelected")))}return r()({},this.unique,t)},addEvents:function(t,e){for(var n in e)t.on[n]=e[n]},addEventForForm:function(t,e){var n=this;this.addEvents(t,{search:function(t){n.searchByForm(t,e)},form:function(t){n.filterByForm(t,e)},refresh:function(){n.refreshByForm(e)},change:function(t){n.changeByForm(t,e)},range:function(t){n.rangeByForm(t,e)},headerPage:function(t){n.headerPageByForm(t,e)},filterTable:function(t){n.filterTableByForm(t,e)}})},addEventForChart:function(t,e){var n=this;this.addEvents(t,{refreshed:function(){n.collecting?n.asyncRequestRefreshed():n.$emit("refreshed")},reporter:function(t,e){n.combineReporter(t,e)}})},addEventForOthers:function(t,e){var n=this,a={change:function(t){n.changeByOutside(t,e)}};arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&(a.afterRequest=this.fixedAfterRequest()),this.addEvents(t,a)},addEventForTable:function(t,e){var n=this;this.addEvents(t,{refreshed:function(){n.$emit("refreshed")}})},children:function(t){for(var e=[],n=0;n=0&&this.addEventForChart(r,n),["table","chart"].indexOf(a.type)>=0&&this.addEventForOthers(r,n,!1),"async"===a.type&&this.addEventForOthers(r,n,!0),["table"].indexOf(a.type)>=0&&this.addEventForTable(r,n);var i="comp-group__each "+a.type+"_inrow";e.push(t("div",{class:i},[t("C"+a.type,r)]))}return e},checkInRow:function(){var t=this;return this.currentList.find(function(e){return t.needToInRow.indexOf(e.type)>=0})},groups:function(t){return t("section",{class:"cus-group__container"+(this.checkInRow()?" container__inrow":"")},this.children(t))}},render:function(t){return this.groups(t)}},E=(n("L2p5"),n("KHd+")),j=Object(E.a)(S,void 0,void 0,!1,null,"2f4a7698",null);j.options.__file="index.vue";e.default=j.exports},UOeh:function(t,e,n){"use strict";function a(){return{color:"transparent",tooltip:{trigger:"axis",position:function(t,e,n,a,r){var i=n.offsetWidth,o=n.offsetHeight;return{left:t[0]-i/2,top:t[1]-o/2}},formatter:function(t){return"Tree ID: "+t[0].data[0]+"
Tree Size: "+(0!==parseInt(t[0].data[1])?t[0].data[1]:"unknow")},backgroundColor:"#fff",textStyle:{color:"rgb(73,78,206)",fontSize:12,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", "Arial", "sans-serif"'},axisPointer:{type:"line",lineStyle:{color:"#FF9A4D",width:2}}},backgroundColor:"transparent",grid:{left:0,right:0,bottom:0,top:0,containLabel:!0},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:{type:"line",symbol:"none",data:[],markLine:{lineStyle:{width:2,color:"#FF9A4D",type:"solid"},animation:!1,symbol:"none",data:[[{coord:[0,0]},{coord:[0,0]}]]}}}}n.d(e,"b",function(){return a}),e.a=a()},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},UasS:function(t,e,n){"use strict";n.r(e);var a=n("EJiy"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("7Qib");var u=n("QdnX"),p=n("VEiK"),d=n.n(p);function h(t,e,n){return n?"-":"host"===e?"-":void 0===t||null===t?"-":Object(c.b)(t)}e.default=function(t,e,n,a,i,s){var p=arguments.length>6&&void 0!==arguments[6]&&arguments[6],f=arguments[7];if(Object(u.isEmpty)(t))return null;var m=function(){var r=[],u=[],m={},v={},g={},b={},y={},x=0,w=function(w){var A=[],I=[],_=-9999,O=t[w].ivArray.length>0?t[w].ivArray:t[w].splitPoints,C=t[w].splitPoints.length "+_,l="("+_+", +∞)"):C&&a===r.length-1?(o="missing_value",l="missing_value"):(o=_+" < "+w+" <= "+i,l="("+_+","+i+"]"),_=i);var u=d()(h(t[w].eventRateArray[a],s,p),100),f=d()(h(t[w].nonEventRateArray[a],s,p),100);A.push({binning:o,"anonym in guest":"bin_"+a,event_count:h(t[w].eventCountArray[a],s,p),event_ratio:u?u.toFixed(4)+"%":"",non_event_count:h(t[w].nonEventCountArray[a],s,p),non_event_ratio:f?f.toFixed(4)+"%":"",woe:h(t[w].woeArray[a],s,p),iv:h(t[w].ivArray[a],s,p)}),I.push({formatterBinning:l,event_count:h(t[w].eventCountArray[a],s,p),event_ratio:h(t[w].eventRateArray[a],s,p),non_event_count:h(t[w].nonEventCountArray[a],s,p),non_event_ratio:h(t[w].nonEventRateArray[a],s,p),woe:h(t[w].woeArray[a],s,p)})}),m[w]=A;var S=[];S.push({name:"event_count",type:"bar",data:t[w].eventCountArray,stack:"event",barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),S.push({name:"non_event_count",type:"bar",data:t[w].nonEventCountArray,stack:"event",barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#0EC7A5"}});var E=t[w].eventCountArray.map(function(t,e){return e+1}),j={backgroundColor:"#EBEDF0",title:{text:""},color:["#8e91df","#78d0b7"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,right:0,top:"3%",orient:"horizontal",itemWidth:15,itemHeight:15},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:{type:"value",splitArea:{show:!0,areaStyle:{color:"#ffffff"}}},xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}}},series:[]},T={backgroundColor:"#EBEDF0",title:{text:""},color:["#8e91df","#78d0b7"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,right:0,top:"3%",orient:"horizontal",itemWidth:15,itemHeight:15},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:{type:"value",splitArea:{show:!0,areaStyle:{color:"#ffffff"}}},xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}}},series:[]};j.xAxis.data=[].concat(l()(E)),T.xAxis.data=[].concat(l()(E)),j.tooltip.formatter=function(t){var e=I[t[0].dataIndex],n=[e.formatterBinning+"
"],a=!0,r=!1,i=void 0;try{for(var s,l=o()(t);!(a=(s=l.next()).done);a=!0){var c=s.value;"event_count"===c.seriesName?n.push("Event_Count: "+e.event_count+"
\n Event_Ratio: "+(100*parseFloat(e.event_ratio)).toFixed(4)+"%
"):"non_event_count"===c.seriesName&&n.push("Non_Event_Count: "+e.non_event_count+"
\n Non_Event_Ratio: "+(100*parseFloat(e.non_event_ratio)).toFixed(4)+"%
")}}catch(t){r=!0,i=t}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return n.sort(function(t,e){return t.match("Event_Count")&&e.match("Non_Event_Count")?1:t.match("Non_Event_Count")&&e.match("Event_Count")?-1:0}),n.join("")},T.tooltip.formatter=function(t){var e=I[t[0].dataIndex];return e.formatterBinning+"
Woe: "+e.woe+"
"},b[w]=j,y[w]=T,v[w]=t[w].eventCountArray.length>0&&t[w].nonEventCountArray.length>0?S:{};var N=[];N.push({name:"woe",type:"bar",data:t[w].woeArray,barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),N.push({type:"line",tooltip:{show:!1},data:t[w].woeArray,lineStyle:{color:"#0EC7A5"}}),g[w]=t[w].woeArray.length>0?N:{},r.push({variable:w,anonymInGuest:function(){if(f&&f.length>0){var t=e.findIndex(function(t){return t===w});if(t>=0)return f[t]}if(s===i){var n=w.match(/[0-9]+/)?w.match(/[0-9]+/)[0]:x;return i+"_"+a+"_"+n}return w}(),iv:h(t[w].iv,s,p),binding:function(){if("guest"!==n)return w||"-";for(var t=0;tparseInt(e.variable.match(/[0-9]+$/)[0])?1:-1:0});var I=[],_=!0,O=!1,C=void 0;try{for(var S,E=o()(r);!(_=(S=E.next()).done);_=!0)for(var j=S.value,T=0;T2&&void 0!==arguments[2]?arguments[2]:{};o()(this,t),this.url=e,this.protocols=n,this.options=r()({},p,i),this.ws=null,this.timeouted=!1,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.forcedClose=!1;var s=document.createElement("div");this.eventTarget=s,this.addEventListener=s.addEventListener.bind(s),this.removeEventListener=s.removeEventListener.bind(s),this.dispatchEvent=s.dispatchEvent.bind(s),this.options.autoOpen&&setTimeout(function(){a.open(!1)})}return l()(t,[{key:"open",value:function(e){var n=this,a=this.dispatchEvent,r=this.options,i=r.reconnectInterval,o=r.timeoutInterval,s=r.reconnectDecay,l=r.maxReconnectAttempts,c=r.maxReconnectInterval,p=r.heartCheck;if(console.log(this.reconnectAttempts),this.reconnectAttempts){if(l&&this.reconnectAttempts>l)return}else a(d("connecting")),this.reconnectAttempts=0;this.ws||(this.ws=new WebSocket(t.baseUrl+this.url,this.protocols));var h=this.ws,f=null;p&&(f=function(t){return{timeout:6e4,timer:null,reset:function(){clearTimeout(this.timer),this.start()},start:function(){this.timer=setTimeout(function(){t.send(u()(""))},this.timeout)},stop:function(){clearTimeout(this.timer)}}}(h));var m=setTimeout(function(){n.timeouted=!0,n.ws.close(),n.timeouted=!1},o);h.onopen=function(t){clearTimeout(m),n.protocols=h.protocols,n.readyState=WebSocket.OPEN,d("open",t).isReconnect=e,e=!1,a(d("open",t)),f&&f.start()},h.onclose=function(t){if(clearTimeout(m),f&&f.stop(),n.ws=null,n.forcedClose)n.readyState=WebSocket.CLOSED,a(d("close",t));else{n.readyState=WebSocket.CONNECTING;var r=d("connecting");r.code=t.code,r.reason=t.reason,r.wasClean=t.wasClean,a(r),e||n.timeouted||a(d("close",t));var o=i*Math.pow(s,n.reconnectAttempts);setTimeout(function(){n.reconnectAttempts++,n.open(!0)},Math.min(o,c))}},h.onmessage=function(t){var e=d("message",t);e.data=t.data,a(e),f&&f.reset()},h.onerror=function(t){a(d("error",t))}}},{key:"send",value:function(t){if(this.ws)return this.ws.send(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments[1];this.forcedClose=!0,this.ws&&this.ws.close(t,e)}}]),t}();h.CONNECTING=WebSocket.CONNECTING,h.OPEN=WebSocket.OPEN,h.CLOSING=WebSocket.CLOSING,h.CLOSE=WebSocket.CLOSE,h.PROTOCOL="https:"===window.location.protocol?"wss://":"ws://",h.baseUrl=""+h.PROTOCOL+location.host,e.a=h},V2Nr:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABHklEQVQ4ja3ULUhDURgG4McfEJPFplWYMBGWFYTBuvEWEWwWo2BXMFpME2RlWI2DNYNpVcGqRSyGMbRMBt/kenfvFXQvHDjn+3n5fs/McDg0DcxOhQXzZcpao13HQTyvep2kW2Sbm1qt0V7FMdbwGOIKnnDe6yTPpUS1RnspImjgDXd4CfUKtrCMTkT4XpTaNebQTUUyxojwJiLbwTZ2x8pssRfRwifqOaWoh64Vtt/I69oHqjhCExtxmiGrhs0PFHXtFn0kOA3ZKy4i7QmUtX/kcI+zeJ8EeS5K5ygc+6l7IfJqtPALea5NlmiAvWhxESphM0jrs6ntpwZyMwZyXOyJgUw7Fq3IOg4LVuSy10kesj6l38i/l/YvmM5/hC+PjVLArR6mbwAAAABJRU5ErkJggg=="},VZY0:function(t,e,n){var a=n("CX6U");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("539394d8",a,!0,{})},Vae8:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,x,w,A,I,_,O,C,S,E,j,T,N,k,L;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data,g=[],x=[],u&&b(x,u.bestIteration),Object(d.isEmpty)(x)||g.push(Object(m.wrapGroupComponent)(x)),w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=[],O=void 0,C=void 0,S=void 0,E=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)A=p.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)O=p.d.bind(null,l()({metrics:t.options},w)),S=Object(h.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(y(a,l()({metrics:e},w),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),_.push([e,Object(m.createAsyncComponent)(n)])}})),_.length&&Object(d.each)(_,function(t){g.push(Object(m.wrapGroupComponent)(t))}),!A){t.next=19;break}return t.next=18,A();case 18:I=t.sent;case 19:if(I&&(j=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),T=j(I.data)||[],(N=(N=[].concat(o()(T))).length>0?Object(m.wrapGroupComponent)(N):null)&&(g.length>1?g.splice(1,0,N):g.push(N))),!O){t.next=24;break}return t.next=23,O();case 23:C=t.sent;case 24:return S&&(E=S(C),0===g.length?g.push(Object(m.wrapGroupComponent)(E)):g[0].options&&Array.isArray(g[0].options)?(k=g[0].options).unshift.apply(k,o()(E)):Array.isArray(g[0])&&(L=g[0]).unshift.apply(L,o()(E))),t.abrupt("return",g);case 26:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();function b(t,e){e>-1&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var y=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"Vmd+":function(t,e,n){"use strict";n.r(e);var a=n("lBJu");e.default=a.default},X6wx:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("cluster_index","Cluster Label"),Object(i.createHeader)("radius","Max radius"),Object(i.createHeader)("nearest_idx","Nearest Cluster")];function s(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){for(var i=t[a].meta,l=i.cluster_index,c=i.nearest_idx,u=i.radius,p=l.length,d=[],h=0;h=0&&(l[a][d]=void 0===o[n]?"-":Object(s.b)(o[n])),h[n]||(l[a][d+"_disable"]=!0);for(var i=0;i0){var f=!0,m=!1,v=void 0;try{for(var g,b=r()(c);!(f=(g=b.next()).done);f=!0){var y=g.value.find(function(t){return t.variable===n});if(y){u=y.anony,p=y.anonyIdx;break}}}catch(t){m=!0,v=t}finally{try{!f&&b.return&&b.return()}finally{if(m)throw v}}}l[a].binding=u,l[a]._anony_index=p;break}}),u&&u.length>0){for(var m=0;m0&&n.push(Object(l.createFormComponent)("f-select","f-selection",{options:[Object(l.createOption)("guest"),Object(l.createOption)("host",e.length>0?e.map(function(t){return{label:t,value:t}}):"host")],multiple:!1}))):"host"===t&&n.push(Object(l.createFormComponent)("search")),n}(i,m)}},{type:"table",props:{header:function(t,e,n,a){var r={};if("guest"===t){var i=[n,a[0]||[]];i=i.reduce(function(t,e){return t.concat(e)}),r.header=[{type:"index",label:"index"}].concat(function(t,e,n){var a={},r={};return r=t.reduce(function(t,n){return!a[n[e]]&&(a[n[e]]=t.push(n)),t},[]),n&&r.unshift(r.pop()),r}(i,"prop",a[0])),r.disable={guest:c(n,i)},e.forEach(function(t,e){r.disable[t]=c(a[e],i)})}else"host"===t&&(n.splice(1,0,{prop:"binding",label:"anonym in guest"}),r.header=[{type:"index",label:"index"}].concat(n));return r}(i,m,d,f),data:function(t,e,n,a){var r={};return"guest"===t?Array.isArray(e)&&e.length>0?(r.guest=n,e.forEach(function(t,e){r[t]=a[e]})):r=n:"host"===t&&(r=n),r}(i,m,p,h),pageSize:-1,export:"selection_detail"}}]}]}return[]}},Z3Wt:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("QbLZ"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("xjht"),u=n("QdnX"),p=n("evsm"),d=n("saIk"),h=n("OjIB"),f=n("uNnm"),m=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var m,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(m=[],g={party_id:a,role:i,component_name:s,job_id:l},b=void 0,y=void 0,x=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(u.each)(n,function(t){if("others"===t.name)b=c.d.bind(null,o()({metrics:t.options},g));else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(u.each)(t.options,function(e,a){n.push(v(a,o()({metrics:e},g),c.d,Object(p.b)(t.name),Object(f.explainCurves)(a).name,!0))}),x.push([e,Object(h.createAsyncComponent)(n)])}})),x.length&&Object(u.each)(x,function(t){m.push(Object(h.wrapGroupComponent)(t))}),!b){t.next=11;break}return t.next=10,b();case 10:y=t.sent;case 11:return y&&(w=Object(p.b)(d.METRIC_TYPES.SBT_FEATURE_TRANSFORMER),A=w(y.data),m.push(Object(h.wrapGroupComponent)(A))),t.abrupt("return",m);case 13:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),v=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=m},Zmut:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".title[data-v-56e1b348] {\n font-size: 16px;\n font-weight: 700;\n color: #3E4052;\n}\n.tip[data-v-56e1b348] {\n font-size: 12px;\n color: #999BA3;\n}\n.title[data-v-56e1b348],\n.tip[data-v-56e1b348] {\n margin-bottom: 0.5em;\n}\n",""])},aU68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9klEQVQ4jdXUIUtEQRSG4UejRqtNWBAE5SaxGITbNCrTFCwGQbb4GyyLYLAI2i4a3TZgsIhpUBCEBZvVqHVlYdawcNdl2aADU853eIf3HJipbrdrEmd6IpRRQEVZNXv3t75ataKsttDCQi69oZliuB0JVJTVIk6wiRec5ugIS2jjOMXwWgsqyuoMe/jEBR4HHl7FPmZxmWI47AcTG3ad2jnWa9TucTBUbQA4/rCLsuoNeANfuEkxPPVXn2JoFWW1gm3M4C7F0B6mNocdLKODqxztooFnXKcYPkZVa2TgfC69Z0BnXLW1rPbwj9VqgD9qw/r+2H+Ebwpgjw85Jd+tAAAAAElFTkSuQmCC"},arco:function(t,e,n){"use strict";var a=n("Do9X");n.n(a).a},bF4i:function(t,e,n){var a=n("IxTP");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("1bb1ea2e",a,!0,{})},bw2v:function(t,e,n){"use strict";var a=n("U9kv");n.n(a).a},cU3k:function(t,e,n){"use strict";var a=n("QbLZ"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("bdgK"),u={name:"VirtualScrollItem",inject:["scrollData","scrollParent","scrollResizeObserver"],props:{item:{type:Object,required:!0},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},tag:{type:String,default:"div"}},computed:{id:function(){return this.item[this.scrollData.keyField]},size:function(){return this.scrollData.validSizes[this.id]&&this.scrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.scrollData.active}},watch:{id:function(){this.size||this.onDataUpdate()},finalActive:function(t){this.size||(t?this.scrollParent.$_undefinedMap[this.id]||(this.scrollParent.$_undefinedSizes++,this.scrollParent.$_undefinedMap[this.id]=!0):this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=!1)),this.scrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingScrollUpdate===this.id&&this.updateSize()}},created:function(){this.$_forceNextScrollUpdate=null,this.scrollResizeObserver||this.vscrollParent.$on("vscroll:update",this.onScrollUpdate)},mounted:function(){this.scrollData.active&&(this.updateSize(),this.observeSize())},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextScrollUpdate=null,this.$_pendingScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextScrollUpdate=this.id},computeSize:function(t){var e=this;this.$nextTick(function(){if(e.id===t){var n=e.$el.offsetWidth,a=e.$el.offsetHeight;e.applySize(n,a)}e.$_pendingSizeUpdate=null})},applySize:function(t,e){var n=Math.round(e);n&&this.size!==n&&(this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.scrollData.sizes,this.id,n),this.$set(this.scrollData.validSizes,this.id,!0))},observeSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.observe(this.$el),this.$el.addEventListener("resize",this.onResize))},unobserveSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.unobserve(this.$el),this.$el.removeEventListener("resize",this.onResize))},onResize:function(t){var e=t.detail.contentRect,n=e.width,a=e.height;this.applySize(n,a)},onScrollUpdate:function(t){var e=t.force;!this.finalActive&&e&&(this.$_pendingScrollUpdate=this.id),this.$_forceNextScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()}},render:function(t){return t(this.tag,this.$slots.default)}},p=n("KHd+"),d=Object(p.a)(u,void 0,void 0,!1,null,null,null);d.options.__file="VirtualScrollItem.vue";var h=d.exports,f=0,m={name:"VirtualScroll",directives:{ObserveVisibility:n("hf7O").a},components:{VirtualScrollItem:h},provide:function(){return this.$_resizeObserver=new c.default(function(t){var e=!0,n=!1,a=void 0;try{for(var r,i=l()(t);!(e=(r=i.next()).done);e=!0){var o=r.value;if(o.target){var s=new CustomEvent("resize",{detail:{contentRect:o.contentRect}});o.target.dispatchEvent(s)}}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}),{scrollData:this.scrollData,scrollParent:this,scrollResizeObserver:this.$_resizeObserver}},props:{items:{type:Array,required:!0},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},minItemSize:{type:Number,required:!0},buffer:{type:Number,default:200},keyField:{type:String,default:"lineNum"},emitScroll:{type:Boolean,default:!1}},data:function(){return{pool:[],ready:!1,totalSize:0,scrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField}}},computed:{itemsWithSize:function(){for(var t=[],e=this.items,n=this.keyField,a=this.scrollData.sizes,r=0;r1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,a=t.info.type,r=n.get(a);r||(r=[],n.set(a,r)),r.push(t),e||(t.info.used=!1,t.position=-9999,this.$_views.delete(t.info.key))},handleScroll:function(){var t=this;this.checkPosition(),this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(function(){t.$_scrollDirty=!1,t.updateItems(!1,!0).continuous||(clearTimeout(t.$_refreshTimout),t.$_refreshTimout=setTimeout(t.handleScroll,100))}))},getRange:function(t){var e,n=0,a=this.items.length,r=a-1,i=this.sizes,o=this.buffer;t.start-=o,t.end+=o;var s=0,l=r,c=~~(a/2),u=void 0;do{u=c,i[c].accumulatort.start&&(l=c),c=~~((s+l)/2)}while(c!==u);for(c<0&&(c=0),e=c,n=c;na&&(n=a),{startIndex:e,endIndex:n}},updateItems:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.items,a=this.sizes,r=this.pool,i=this.keyField,s=this.$_computedMinItemSize,l=this.$_views,c=this.$_unusedViews,u=n.length,p=this.getScroll();if(e){var d=p.start-this.$_lastStartPosition;if(d<0&&(d=-d),d=this.$_startIndex;if(this.$_continuous!==b){if(b){l.clear(),c.clear();for(var y=0,x=r.length;y=m)&&this.unuseView(g));for(var I=b?null:new o.a,_=void 0,O=void 0,C=void 0,S=void 0,E=f;E=C.length)&&(g=this.addView(r,E,_,j),this.unuseView(g,!0),C=c.get(O)),(g=C[S]).item=_,g.info.used=!0,g.info.index=E,g.info.key=j,I.set(O,S+1),S++),l.set(j,g)),g.position=a[E-1].accumulator):g&&this.unuseView(g)}return this.$_startIndex=f,this.$_endIndex=m,clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:b}},getScroll:function(){var t=this.$el;return{start:t.scrollTop,end:t.scrollTop+t.clientHeight}},sortViews:function(){this.pool.sort(function(t,e){return t.info.index-e.info.index})},checkPosition:function(){var t=this.getScroll();this.ready&&0===t.start&&this.$emit("scroll-top"),this.ready&&this.$el.scrollHeight-t.end==0&&this.$emit("scroll-bottom"),this.ready&&this.emitScroll&&this.$emit("scroll",r()({},t,{top:t.start,bottom:this.$el.scrollHeight-t.end}))},handleVisibilityChange:function(t,e){var n=this;this.ready&&(t||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height)&&(this.$emit("vscroll:update",{force:!1}),requestAnimationFrame(function(){n.updateItems(!1)}))},addResizeObserver:function(){var t=new c.default(this.handleResize);t.observe(this.$el),this.$once("hook:beforeDestory",function(){t.disconnect()})},handleResize:function(){this.ready&&(this.updateItems(!1),this.forceUpdate())},scrollToItem:function(t){var e=t>0?this.sizes[t-1].accumulator:0;this.scrollToPosition(e)},scrollToPosition:function(t){this.$el.scrollTop=t},scrollToBottom:function(){var t=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var e=this.$el;this.$nextTick(function(){e.scrollTop=e.scrollHeight+5e3;requestAnimationFrame(function n(){e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(function(){e.scrollTop=e.scrollHeight+5e3,0===t.$_undefinedSizes?t.$_scrollingToBottom=!1:requestAnimationFrame(n)})})})}},forceUpdate:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.scrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})}}},v=(n("dmqG"),Object(p.a)(m,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"scroller",class:{ready:t.ready},on:{"&scroll":function(e){return t.handleScroll(e)}}},[n("div",{ref:"wrapper",staticClass:"wrap",style:{minHeight:t.totalSize+"px"}},t._l(t.pool,function(e){return n("virtual-scroll-item",{key:e.info.id,staticClass:"item-view",style:t.ready?{transform:"translateY("+e.position+"px)"}:null,attrs:{item:e.item,index:e.info.index,active:e.info.used}},[t._t("default",null,{item:e.item,index:e.info.index,active:e.info.used})],2)}))])},[],!1,null,"2dab1a8e",null));v.options.__file="index.vue";var g={components:{Scroll:v.exports},props:{logs:{type:Array,default:null}},data:function(){return{bottom:0}},watch:{logs:function(t,e){if(t)if(e){if(e.lengthi&&n===a){if(this.bottom>0)return;this.afterScrollMount()}}}else this.afterScrollMount()}},methods:{afterScrollMount:function(){this.$refs.scroller&&this.$refs.scroller.scrollToBottom()},scrollTo:function(t){this.$refs.scroller&&this.$refs.scroller.scrollToItem(t)},onScroll:function(t){this.bottom=t.bottom},setSpace:function(t){return t}}},b=(n("PbIf"),Object(p.a)(g,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"log-content"},[t.logs?t.logs.length?n("scroll",{ref:"scroller",staticClass:"log-contents",attrs:{items:t.logs,"min-item-size":20,"emit-scroll":""},on:{"scroll-top":function(e){t.$emit("scroll-top")},scroll:t.onScroll,"hook:mounted":t.afterScrollMount},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.item;return n("div",{staticClass:"flex flex-row",attrs:{id:a.lineNum}},[n("span",{staticClass:"log-lineNum"},[t._v(t._s(a.lineNum))]),t._v(" "),n("span",{staticClass:"log-content"},[t._v(t._s(a.content))])])}}])}):n("div",{staticClass:"log-tip"},[n("span",[t._v("no data")])]):n("div",{staticClass:"log-tip"},[n("span",[t._v("loading...")])])],1)},[],!1,null,"4d72c288",null));b.options.__file="index.vue";e.a=b.exports},dIf5:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("7Qib"),o=n("QdnX"),s=n("OjIB"),l=n("3EZw"),c=n.n(l)()(s.createHeader)(l.placeholder,l.placeholder,{align:"center"}),u=function(t){return[{label:"index",width:100,type:"index"}].concat(r()(function(t){return[c("variable","variable"),c(t+" value ratio","ratio"),c("fill_value","value")]}(t)))},p=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},d=function(t){return function(e,n){t.push({variable:n,ratio:Object(i.b)(e.ratio),value:Object(i.b)(e.value)})}},h=function(t,e){var n={};for(var a in t)n[a]={ratio:t[a],value:e[a]};return n},f=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r0?[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[m("method: "+(A.data.train.scale.meta.method||"null")),{type:"table",props:{header:f(),data:y,pageSize:10,zeroFormat:"0",export:"scale_detail"}}]}]:[]);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),f=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable"},{prop:"columnLower",label:"columnLower"},{prop:"columnUpper",label:"columnUpper"},{prop:"mean",label:"mean"},{prop:"std",label:"std"}]};function m(t){return{type:"form",props:{form:[{type:"text",props:{content:t}}]}}}e.default=h},duAm:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABJElEQVQ4ja2UMUsEMRCFP8XmbIWrFDvLcK1WR2ytFVLd/QNtrayu1Z9wVUBrW2OnraS8StFKEKzWcmVgTtbdJIrug4FkZvLIzLxkpa5r+sBqLyzAWiloXRwBh7q9Ct485HKTpVkXN4AJsAPcq3sXWADz4M1bkci6uA4cAPvAC3AZvFloTEiPgE3gBrgO3lQ5ootGGXeZcveW5QZvjpf+drMHwClQWRcnCRLxVZozaMY6zZbrWhfHwLl18Ux7JZgD28CJNN26+O1ccvzBGylxqttbNcFUYx1kdRS8kRvI+J/URupLoijI4M078Cim6yw6RCqBIlI5baIPYKYjTkJjM839wo+CBF41PPy1IBuEWyq61BMRsT63zxS/kX8/2r+gn/8I+ASky32yMnH7igAAAABJRU5ErkJggg=="},dyDN:function(t,e,n){"use strict";n("EJiy");var a=Number(document.documentMode),r=/([\:\-\_]+(.))/g,i=/^moz([A-Z])/,o=function(t){return t.replace(r,function(t,e,n,a){return a?n.toUpperCase():n}).replace(i,"Moz$1")},s=a<9?function(t,e){if(!t||!e)return null;"float"===(e=o(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}:function(t,e){if(!t||!e)return null;"float"===(e=o(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}};var l=n("DhVD"),c=n.n(l),u={name:"OverflowTooltip",props:{tag:{type:String,default:"div"},effect:{type:String,default:"dark"},placement:{type:String,default:"top"},tooltipOptions:{type:Object,default:function(){return{}}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=c()(50,function(t){return t.handleShowPopper()})},methods:{onMouseEnter:function(){for(var t=this.$slots.default[0].elm;t&&1!==t.nodeType;)t=t.nextSibling;var e=document.createRange();if(e.setStart(t,0),e.setEnd(t,t.childNodes.length),Math.floor(e.getBoundingClientRect().width)+((+s(t,"paddingLeft")||0)+(+s(t,"paddingRight")||0))>t.offsetWidth||t.scrollWidthf[e[0]][1]&&(f[e[0]]=e):f[e[0]]=e});var m=r()(f).sort(function(t,e){return t[0]-e[0]}),v={name:a.meta.curve_name,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:m,pairType:a.meta.pair_type};i.push(v)}),s.xAxis.name="recall",s.yAxis.name="precision",s.tooltip.formatter=function(t){var e="";return t.forEach(function(t,n){var a=h[t.seriesName][t.dataIndex];(a||0===a)&&(e+="Thresholds("+t.seriesName+"): "+a+"
");var r=Array.isArray(t.data)?t.data[1]:t.data;e+="Precision("+t.seriesName+"):"+r+"
",e+="Recall("+t.seriesName+"):"+t.axisValue+"
"}),e},e.push({type:"chart",props:{group:a.map(function(t){return l()(t,1)[0]}),options:i,setting:s,legend:"custom"}})}),e.length>1?e:e[0]}},eOYL:function(t,e,n){"use strict";var a=n("FyfS"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("gDS+"),u=n.n(c),p=n("iCc5"),d=n.n(p),h=n("V7oC"),f=n.n(h),m={click:!0,mouseup:!0,mousemove:!0,mousedown:!0,mousewheel:!0},v=function(){function t(e,n,a){d()(this,t),this.canvasDom=e,this.interactive=function(){var t=JSON.parse(u()(m));for(var e in n)t[e]=n[e];return t}(),this.inited=!1,this.afterInit=a,this.width=0,this.height=0,this._inited()}return f()(t,[{key:"_inited",value:function(){var t=this;if(this.canvasDom){this._suitable();var e=!1;this.lay&&(e=!0,this.lay.deleteAllAboutChain()),this.lay=function(){if(t.canvasDom)return t.afterInit(t.canvasDom)}(),this.scaleTime=1,this.translateX=0,this.translateY=0,this.holding=!1,this.moved=!1,this.originPos=null,this.lay.emit("$translate",this.translateX,this.translateY),!e&&this.lay&&this._addEvents()}}},{key:"_suitable",value:function(){if(this.canvasDom&&this.canvasDom.parentElement){var t=this.canvasDom.parentElement,e=getComputedStyle(t),n=parseInt(e.width),a=parseInt(e.height);this.canvasDom.setAttribute("style","width:"+n+"px;height:"+a+"px;overflow:hidden;"),this.canvasDom.setAttribute("width",n),this.canvasDom.setAttribute("height",a),this.width=n,this.height=a,this.inited=!0}}},{key:"_addEvents",value:function(){if(this.inited){var t=this;t.canvasDom.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!0,t.moved=!1,t.interactive.mousedown.operation&&t.interactive.mousedown.operation(t.lay)}),t.canvasDom.addEventListener("mousemove",function(e){if(e.stopPropagation(),e.preventDefault(),t.holding)if(null===t.originPos)t.originPos=t._getPos(e);else{var n=t._getPos(e);if(n.x!==t.originPos.x||n.y!==t.originPos.y){t.moved=!0;var a=n.x-t.originPos.x,r=n.y-t.originPos.y;t.translateX+=a,t.translateY+=r,t.originPos=n,!0===t.interactive.mousemove?(t.lay.$ctx.translate(a,r),t.lay.emit("$translate",t.translateX,t.translateY),t.lay.drawing()):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,a,r)}}else{var i=t._getPos(e);!0===t.interactive.mousemove?t.lay.emit("showTips",i):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,i)}}),t.canvasDom.addEventListener("mouseup",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!1,t.originPos=null,t.interactive.mouseup.operation&&t.interactive.mouseup.operation(t.lay)}),t.canvasDom.addEventListener("click",function(e){if(e.preventDefault(),t.moved)t.moved=!1;else{var n=t._getPos(e);if(t.interactive.click.beforeClick&&t.interactive.click.beforeClick(),t.interactive.click.operation)t.interactive.click.operation(t.lay,n);else if(!0===t.interactive.click)t.lay.emit("choose",n);else if(t.interactive.click.props){var a;(a=t.lay).emit.apply(a,["choose",n].concat(l()(t.interactive.click.props)))}}}),t.canvasDom.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),t.originPos=null,t.holding=!1,t.interactive.mouseout&&t.interactive.mouseout.operation(t.lay)});var e=function(e){e.stopPropagation(),e.preventDefault();var n=t._getPos(e),a=e.wheelDelta||24*-e.detail,r=t.scaleTime+a/1500,i=(r=r<=.1?.1:r)/t.scaleTime;t.scaleTime=r,!0===t.interactive.mousewheel?t.lay.emit("scale",i,n):t.interactive.mousewheel&&t.interactive.mousewheel.operation(t.lay,i,n)};/Firefox/i.test(window.navigator.userAgent)?t.canvasDom.addEventListener("DOMMouseScroll",e):t.canvasDom.addEventListener("mousewheel",e),window.addEventListener("resize",function(){setTimeout(function(){t.interactive.resize?(t._suitable(),t.interactive.resize()):t._inited()},10)})}}},{key:"_getPos",value:function(t){var e=void 0,n=void 0;return t.layerX||0===t.layerX?(e=t.layerX,n=t.layerY):(t.offsetX||0===t.offsetY)&&(e=t.offsetX,n=t.offsetY),{x:e,y:n}}},{key:"suitableForWhole",value:function(t,e,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var r=this,i=this.canvasDom.width-2*n,o=this.canvasDom.height-2*n,s=t.call(this.lay),l=o/s.height,c=i/s.width,u=l1&&(u=1/this.scaleTime,this.scaleTime=1):this.scaleTime*=u,!0===r.interactive.mousewheel?this.lay.emit("scale",u,s.point,function(){e&&e(),r.lay.$ctx.translate(-r.translateX,-r.translateY),r.translateX=0,r.translateY=0,r.lay.emit("$translate",r.translateX,r.translateY)}):r.interactive.mousewheel&&r.interactive.mousewheel.operation(this.lay,u,s.point),!0}},{key:"scaleBigger",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime+.1)/this.scaleTime;this.scaleTime+=.1,this.lay.emit("scale",n,{x:t,y:e})}},{key:"scaleSmaller",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime-.1)/this.scaleTime;this.scaleTime-=.1,this.lay.emit("scale",n,{x:t,y:e})}}]),t}();function g(){for(var t={},e=arguments.length,n=Array(e),a=0;a1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:7,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,a=(new Date).getTime().toString().substr(-e),r=Math.ceil(Math.random()*Math.pow(10,n)).toString();return t+"_"+a+"_"+(r=(n>r.length?new Array(n-r.length).fill(0).join(""):"")+r)}function x(t,e){var n=t.toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var a="#",r=1;r<4;r+=1)a+=n.slice(r,r+1).concat(n.slice(r,r+1));n=a}for(var i=[],o=1;o<7;o+=2)i.push(parseInt("0x"+n.slice(o,o+2)));return"rgba("+i.join(",")+","+(void 0!==e?e:1)+")"}return n}function w(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!a&&t.beginPath(),n(t),!a){for(var r in t.save(),e)t[r]=e[r];t.stroke(),t.restore(),t.closePath()}}function A(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!a&&t.beginPath(),n(t),!a){for(var r in t.save(),e)t[r]=e[r];t.fill(),t.restore(),t.closePath()}}function I(t,e){var n=t.$ctx;t.stroke&&w(n,t.style,e),t.fill&&A(n,t.style,e),t.justPath&&e(n)}function _(t,e,n){var a=e.x||e[0],r=e.y||e[1];t.translate(a,r),t.rotate(n),t.translate(-a,-r)}function O(t,e,n){var a=t.x||t[0]||0,r=t.y||t[1]||0,i=e.x||e[0]||0,o=e.y||e[1]||0;return{x:i+C((a-i)*n),y:o+C((r-o)*n)}}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return parseFloat(parseFloat(t).toFixed(e))}function S(t){if(!t)return"00:00:00";if(t.toString().match(":"))return t;t=(new Date).getTime()-t;var e=Math.round(t/1e3),n=e%60,a=(e-n)/60,r=a%60,i=(a-r)/60;return n=n<10?"0"+n:n,r=r<10?"0"+r:r,(i=i<10?"0"+i:i)+":"+r+":"+n}var E=n("EJiy"),j=n.n(E);var T=new o.a,N=null,k=10;function L(){var t=[],e=!0,n=!1,a=void 0;try{for(var i,o=r()(T);!(e=(i=o.next()).done);e=!0){var s=i.value,l=s[1].getOnce();if(null===l)T.delete(s[0]);else if(l){D(s[1].lay);var c=s[1].lay.getTopNode(),u=0,p=!0,d=!1,h=void 0;try{for(var f,m=r()(t);!(p=(f=m.next()).done);p=!0){var v=f.value;if(c.$uuid===v.$uuid)break;u++}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}u>=t.length&&t.push(c),s[1].chainFinish&&T.delete(s[0])}}}catch(t){n=!0,a=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw a}}var g=!0,b=!1,y=void 0;try{for(var x,w=r()(t);!(g=(x=w.next()).done);g=!0){x.value.drawing()}}catch(t){b=!0,y=t}finally{try{!g&&w.return&&w.return()}finally{if(b)throw y}}T.size>0?N=setTimeout(L,k):(clearTimeout(N),N=null)}function D(t){t.$struct&&t.$struct()}var R=function(){function t(e,n,a,i){d()(this,t),this.name=e,this.repeat=n,this.chainList=[],this.chainFinish=!1,this.lay=a,this.hasCalledOnce=!1;var o=!0,s=!1,l=void 0;try{for(var c,u=r()(i);!(o=(c=u.next()).done);o=!0){var p=c.value;p.lay=a,this.chainList.push(new F(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}}return f()(t,[{key:"getOnce",value:function(){var t=null,e=!0,n=!1,a=void 0;try{for(var i,o=r()(this.chainList);!(e=(i=o.next()).done);e=!0){var s=i.value;if(!s.finish){t=s.getOnce();break}}}catch(t){n=!0,a=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw a}}return this.complete()&&(this.repeat?this.restart():this.chainFinish=!0),this.hasCalledOnce=!0,t}},{key:"complete",value:function(){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.chainList);!(t=(a=i.next()).done);t=!0){if(!a.value.finish)return!1}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}return!0}},{key:"restart",value:function(){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.chainList);!(t=(a=i.next()).done);t=!0){a.value.restart()}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}}]),t}(),F=function(){function t(e){var n=e.target,a=e.process,r=e.interval,i=e.origin,o=e.lay,s=e.compare;d()(this,t),this.target=n,this.process=a,this.interval=r,this.origin=i,this.lay=o,this.finish=!1,this.current=this.origin,this.round=0,this.compare=s}return f()(t,[{key:"getOnce",value:function(){this.round++;var t=!1;return this.round*k>=this.interval&&(this.current=this.process(),this.complete(),this.round=0,t=!0),t}},{key:"getCurrent",value:function(t){for(var e=Math.floor(t/this.interval),n=this.origin,a=0;a2?n-2:0),r=2;r0&&null===N&&(N=setTimeout(L,k))},t.prototype.deleteChainTranslate=function(t){T.delete(t+"_"+this.$uuid)},t.prototype.deleteAllAboutChain=function(){if(T.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(T);!(t=(a=i.next()).done);t=!0){var o=a.value;o[0].match(this.$uuid)&&T.delete(o[0])}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}if(this.$children.size>0){var s=!0,l=!1,c=void 0;try{for(var u,p=r()(this.$children);!(s=(u=p.next()).done);s=!0)u.value[1].deleteAllAboutChain()}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}}},t.prototype.settingRGBA=function(t,e,n,a,r){return{interval:r||k,lay:this,target:e,origin:t,process:function(){for(var t=x(this.origin).replace("rgba(","").replace(")$","").split(","),e=x(this.target).replace("rgba(","").replace(")$","").split(","),i=x(this.current).replace("rgba(","").replace(")$","").split(","),o=0;o0&&i[o]>parseFloat(e[o]))&&(i[o]=parseFloat(e[o]))}return n.call(this.lay,"rgba("+i.join(",")+")"),"rgba("+i.join(",")+")"=="rgba("+e.join(",")||"rgba("+i.join(",")+")"}}},t.prototype.settingNum=function(t,e,n,a,r){return{interval:r||k,lay:this,target:e,origin:t,process:function(){var t=(this.target-this.origin)/Math.floor((a||k)/(r||k)),e=this.current+t;return(t<0&&e0&&e>this.target)&&(e=this.target),this.current=e,n.call(this.lay,e),e===this.target||e}}},t.prototype.setting=function(t,e,n){return{interval:n||k,lay:this,target:t,origin:null,process:function(){return e.call(this.lay,t),F.FINISH}}},t.prototype.settingCus=function(t,e){return{interval:e||k,lay:this,target:null,origin:null,process:function(){return t.call(this),!0}}},t.prototype.setCus=function(e,n,a){var r=e||t.getUUID("trasnlate");return this.registerChainTranslate(r,!1,this.settingCus(n,a)),r},t.prototype.set=function(e,n,a,r){var i=e||t.getUUID("trasnlate"),o={interval:r||k,lay:this,target:n,origin:null,process:function(){return a.call(this.lay,n),F.FINISH}};return this.registerChainTranslate(i,!1,o),i}}(P),function(t){t.prototype.drawing=function(){(function(){var t=[];(function(){if(!this.$parent)if(this.$clear)this.$clear();else{var t=this.$canvas.width,e=this.$canvas.height;this.$ctx.clearRect(-10*t,-10*e,20*t,20*e)}}).call(this);var e=this.getTopNode();!function e(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.$children.size>0?n.$children.forEach(function(n,r){if(n.$children.size>0&&n.$visiable)e(n,a+(n.$zindex||0));else{var i=a+(n.$zindex||0);t[i]||(t[i]=[]),t[i].push(n)}}):(t[0]||(t[0]=[]),t[0].push(n))}(e,0);var n=!0,a=!1,i=void 0;try{for(var o,s=r()(t);!(n=(o=s.next()).done);n=!0){var l=o.value;if(l){var c=!0,u=!1,p=void 0;try{for(var d,h=r()(l);!(c=(d=h.next()).done);c=!0){var f=d.value;f.$visiable&&(f.$inCanvas&&!f.$inCanvas()||f.$path())}}catch(t){u=!0,p=t}finally{try{!c&&h.return&&h.return()}finally{if(u)throw p}}}}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}}).call(this)},t.prototype.drawLayer=function(e,n,a){var r=this.$children.get(e),i=!0;if(r){if(i=!1,!a&&n.props)for(var o in n.props)r[o]=n.props[o];n.canvas&&r.$canvas!==n.canvas&&(r.$canvas=n.canvas,r.$ctx=r.$canvas.getContext("2d")),r.$struct&&r.$struct()}else n.__parent__=this,void 0===n.visiable&&(n.visiable=this.$visiable),r=new t(n),this.$children.set(e,r);return this.$childrenName.push(e),{node:r,old:!i}},t.prototype.drawLayers=function(t){for(var e in t)this.drawLayer(e,t[e])}}(P),function(t){t.prototype._InitEvents=function(t){var e=t.events;this.$events=e||{},this.$events.$showing=function(){if(this.$visiable=!0,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.$children);!(t=(a=i.next()).done);t=!0)a.value[1].emit("$showing")}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}},this.$events.$hide=function(){if(this.$visiable=!1,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.$children);!(t=(a=i.next()).done);t=!0)a.value[1].emit("$hide")}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}},this.$events.$translate=function(t,e){this.$meta||(this.$meta=new o.a),this.$meta.set("$translate",{x:t||0,y:e||0})}},t.prototype.$showing=function(){this.emit("$showing")},t.prototype.$hide=function(){this.emit("$hide")},t.prototype.emit=function(t){for(var e=this,n="",a=arguments.length,i=Array(a>1?a-1:0),o=1;oa+1&&parseFloat(t.modelLabel)>a+1)for(var o=a+1;i>o;)n[r].auc.data.push([t.modelLabel,0]),n[r].ks.data.push([t.modelLabel,0]),o++;n[r].auc.data.push([t.modelLabel,t.auc.toFixed(6)]),n[r].ks.data.push([t.modelLabel,t.ks.toFixed(6)]),a=parseFloat(t.modelLabel)}};return Object(o.each)(t,function(t,e){l()(t)&&t.dataset?r(t,e):Object(o.each)(t,function(t,n){r(t,e)})}),{content:n}}(e,n).content;a.xAxis.name="model label",a.tooltip.formatter=function(t){var e={};Object(o.each)(t,function(t,n){var a=t.seriesName.match("_auc"),r=t.seriesName.replace(/(\_auc|\_ks)/,"");e[r]=e[r]||{},e[r][a?"auc":"ks"]=t.data[1]});var n="";return Object(o.each)(e,function(t,e){n&&(n+="
"),n+=e+" ",Object(o.each)(t,function(t,e){n&&(n+="
"),n+=e+": "+t})}),n};var s=[],u=[],p=[];return Object(o.each)(r,function(t,e){var n=[c(t.auc.meta.curve_name,t.auc.data,{pairType:e}),c(t.ks.meta.curve_name,t.ks.data,{pairType:e})];s.push(e),p.push.apply(p,n)}),u.push({type:"chart",props:{options:p,setting:a,legend:"custom",group:s}}),u.length>1?u:u[0]}},hF9E:function(t,e,n){"use strict";var a=n("epZ/");n.n(a).a},hnh8:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},hzma:function(t,e,n){"use strict";var a=n("mLUo");n.n(a).a},iA7x:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6IzAwY2JmZjt9LmJ7ZmlsbDojMDA4MWEyO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},ikd3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdXUIUtEQRSG4UejRqtNWBBkNIpFuGaNCjcpWAyCbPE3WBbBYBE0DWh0swMWMepFEBZsVqPWlYVZw8Jdl2WDDkw53+Ed3nNgprrdrkmc6YlQRgEVZdXs3d/6atWKstpCCwu59IZmiuF2JFBRVos4wSZecJqjIyyhjeMUw2stqCirM+zhExd4HHh4FfuYxWWK4bAfTGzYdWrnWK9Ru8fBULUB4PjDLsqqN+ANfOEmxfDUX32KoVWU1Qq2MYO7FEN7mNocdrCMDq5ytIsGnnGdYvgYVa2RgfO59J4BnXHV1rLawz9WqwH+qA3r+2P/Eb4BPfePrVMAU8IAAAAASUVORK5CYII="},j07e:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".condition[data-v-3daaa25f] {\n width: 360px;\n max-width: 360px;\n}\n.condition[data-v-3daaa25f] .el-input__inner {\n height: 24px;\n background: #F8F9FA;\n border: 2px solid transparent;\n}\n.is-error .condition[data-v-3daaa25f] .el-input__inner,\n .is-error .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: #f56c6c;\n border-radius: 2px;\n}\n.is-success .condition[data-v-3daaa25f] .el-input__inner,\n .is-success .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: transparent;\n}\n.label[data-v-3daaa25f] {\n color: #999BA3;\n margin-right: 15px;\n}\n[data-v-3daaa25f] .el-form-item {\n margin-bottom: 10px;\n}\n",""])},jElq:function(t,e,n){"use strict";function a(){return{color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}}n.d(e,"b",function(){return a}),e.a={color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}},jecE:function(t,e,n){"use strict";var a=n("RZZm");n.n(a).a},jiEp:function(t,e,n){var a=n("Ibv5");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0eff5c3c",a,!0,{})},jkWR:function(t,e,n){var a=n("nVpJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("212490e7",a,!0,{})},kbN7:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t,className:"small-form-text"}})}),e},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=18;break}return d={},h=[],f=[],m=p.shift(),t.next=8,Object(c.sendMetricsDataRequest)(m);case 8:return d=t.sent,v=d.data.meta,(g=function(t,e,n){t[e]&&h.push((n||e).replace(/_/g," ")+": "+t[e].toString())})(v,"model_id"),g(v,"model_version"),g(v,"component_name"),g(v,"step_index","checkpoint"),(b=u(h)).length>0&&f.push({type:"form",props:{form:[].concat(o()(b))}}),t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},kjiq:function(t,e,n){"use strict";function a(){return{backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}}n.d(e,"b",function(){return a}),e.a={backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}},"l2+S":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("jaccard_similarity_score","JC"),Object(i.createHeader)("fowlkes_mallows_score","FMI"),Object(i.createHeader)("adjusted_rand_score","RI")],s=[Object(i.createHeader)("davies_bouldin_index","DBI")];function l(t,e){return t.find(function(t){return t.prop===e})}function c(t){var e={};return Object(i.each)(t,function(t){e[t[0]]=t[1]}),[e]}function u(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){var i=t[a];l(o,i.data[0][0])?n.push.apply(n,r()(u(o,c(i.data),"External Index"))):n.push.apply(n,r()(u(s,c(i.data),"Internal Index")))}return n}},l489:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2U2YjI1ODt9LmJ7ZmlsbDojYjcwO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},lBJu:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("OjIB"),d=n("QdnX"),h=n("xjht"),f=n("uNnm"),m=n("evsm"),v=n("saIk");function g(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},y=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data||{},y=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=void 0,O=void 0,C=void 0,S=[],E=[],j=void 0,T=void 0,N=void 0,k=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)O=h.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)j=h.d.bind(null,l()({metrics:t.options},w)),N=Object(m.b)("warmStart");else if("stepwise"===t.name)A=h.d.bind(null,l()({metrics:t.options},w)),_=Object(m.b)(t.name);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},w),h.d,Object(m.b)(t.name),Object(f.explainCurves)(a).name,!0))}),S.push([e,Object(p.createAsyncComponent)(n)])}})),u&&(L=u.weight,D=u.oneVsRestResult,g(x=D?Object(p.oneVsRestResultHandler)(u,i):Object(d.isEmpty)(L)?[]:Object(p.weightHandler)(u),u.bestIteration),x.length&&E.push(Object(p.wrapGroupComponent)(x))),S.length&&Object(d.each)(S,function(t){E.push(Object(p.wrapGroupComponent)(t))}),!O){t.next=22;break}return t.next=21,O();case 21:C=t.sent;case 22:if(C&&(R=Object(m.b)(v.METRIC_TYPES.EVALUATION_SUMMARY),F=R(C.data)||[],(P=(P=[].concat(o()(F))).length>0?Object(p.wrapGroupComponent)(P):null)&&(E.length>1?E.splice(1,0,P):E.push(P))),!A){t.next=27;break}return t.next=26,A();case 26:I=t.sent;case 27:if(_&&(y=_(I,i),E.push.apply(E,o()(y))),!j){t.next=32;break}return t.next=31,j();case 31:T=t.sent;case 32:return N&&(k=N(T),0===E.length?E.push(Object(p.wrapGroupComponent)(k)):E[0].options&&Array.isArray(E[0].options)?(M=E[0].options).unshift.apply(M,o()(k)):Array.isArray(E[0])&&(B=E[0]).unshift.apply(B,o()(k))),t.abrupt("return",E);case 34:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=y},lBxe:function(t,e,n){"use strict";var a=n("4d7F"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("GQeE"),f=n.n(h),m=n("iCc5"),v=n.n(m),g=n("V7oC"),b=n.n(g),y=n("mWkO"),x=n("m1cH"),w=n.n(x),A=n("UMXJ"),I=8,_=22,O="#ffffff",C="#4159D1",S="#0EC7A5",E="rgba(36,182,139,0.6)",j="rgba(187,187,200,0.6)",T="#FF4F38",N="#e8e8ef",k="#BBBBC8",L=4,D="#6A6C75",R="#ffffff",F="#534C77",P=16,M="arial",B="#999BA3",U="#494ECE",z=6,H=10,$=12,W=20,G=4,Y=2,V=2,Z=12,Q=5,X=6,J=4,K="rgba(127,125,142,0.7)",q="rgba(255,255,255,1)",tt="#E6B258",et="#bcf500",nt="#00cbff",at="#7F7D8E",rt="#7F7D8E",it={drawProgress:function(t,e,n){t.canvas=e?e.$canvas:t.canvas,t.struct=lt;var a=!0,r=null;if(e){n||(n=y.a.getUUID("progress"));var i=e.drawLayer(n,t);return a=!i.old,r=i.node,a&&it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),n}return r=new y.a(t),it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),r},clear:function(){this.$ctx.clearRect(0,0,this.$canvas.width,this.$canvas.height)},type:{UNRUN:"UNRUN|WAITING",RUNNING:"RUNNING",FAIL:"FAILED|ERROR|CANCELED",SUCCESS:"SUCCESS|COMPLETE"},events:{choose:function(t,e){var n=this;n.$here(t)?n.choose=!0:n.choose=!1,n.setCus("choose",function(){n.containerStyle=ot(n.type,!!n.choose,n.disable),n.contentStyle=ot(n.type,!!n.choose,n.disable,"content"),n.fontStyle=st(n.type,!!n.choose,n.disable),e&&"function"==typeof e&&e(n.text,n.$here(t))})},linkChoose:function(t,e){var n=this;if(n.$here(t)&&n.$visiable)return n.setCus("choose",function(){e&&"function"==typeof e&&e(n.$parent.text,n.$here(t),!0)}),"finish"},scale:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=y.a.toFixed(e.contentFontSize*t),e.iconPadding=y.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=y.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=y.a.toFixed(e.lineWidth*t),e.portWidth=y.a.toFixed(e.portWidth*t),e.portHeight=y.a.toFixed(e.portHeight*t),e.portRadius=y.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=y.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=y.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var a=e.$children.get(n);a&&(a.$here(t)?a.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&a.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var a=!0,r=!1,i=void 0;try{for(var o,s=u()(e.input);!(a=(o=s.next()).done);a=!0){n(o.value.name)}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}}if(e.output.length>0){var l=!0,c=!1,p=void 0;try{for(var d,h=u()(e.output);!(l=(d=h.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,p=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw p}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=y.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);r+1>=60?(r=0,a+1>=60?(a=0,n+=1):a+=1):r+=1,n=(n.toString().length<2?"0":"")+n,a=(a.toString().length<2?"0":"")+a,r=(r.toString().length<2?"0":"")+r,t.time=n+":"+a+":"+r},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=ot(t.type||it.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var a={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==it.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),a.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var r=ot(t,!!n.choose,n.disable,"content");a.toNewTypeContent.push(n.settingRGBA(n.contentStyle,r,function(t){n.contentStyle=t},200)),a.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===it.type.RUNNING?(n.progress=0,n.time=y.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),it.animations.tictok.call(n),it.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===it.type.SUCCESS||t===it.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==it.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var i=ot(t,!!n.choose,n.disable);a.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,i,function(t){n.containerStyle=t},200));var o=st(t,!!n.choose,n.disable);for(var s in a.toNewTypeText.push(n.settingRGBA(n.fontStyle,o,function(t){n.fontStyle=t},200)),a)n.registerChainTranslate.apply(n,[s,!1].concat(w()(a[s])))}}}};function ot(t,e,n,a){return e?"content"===a&&t===it.type.RUNNING?n?j:E:C:n&&t!==it.type.UNRUN?N:n&&t===it.type.UNRUN?k:t===it.type.SUCCESS?S:t===it.type.RUNNING?"content"===a?n?j:E:S:t===it.type.FAIL?T:t===it.type.UNRUN?N:void 0}function st(t,e,n){return n&&t!==it.type.UNRUN?e?R:D:n&&t===it.type.UNRUN?e?R:F:t===it.type.SUCCESS?R:t===it.type.RUNNING?D:t===it.type.FAIL?R:t===it.type.UNRUN?D:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||P,t.padding=t.padding||_,t.tooltipRadius=t.tooltipRadius||J,t.iconPadding=t.iconPadding||H,t.betweenIconWithContent=t.betweenIconWithContent||z,t.lineWidth=t.lineWidth||I,t.portWidth=t.portWidth||(t.specialDataInput?W:$),t.portHeight=t.portHeight||G,t.portRadius=t.portRadius||Y,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||V,t.tooltipFont=t.tooltipFont||Z,t.tipTrangleSize=t.tipTrangleSize||Q,t.radius=t.radius||L,t.tooltipPadding=t.tooltipPadding||X,t.type===it.type.RUNNING&&(t.time=y.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,a=t.point.x||t.point[0]||0,r=t.point.y||t.point[1]||0,i=function(t,e,n,a){a&&(a.containerStyle=a.containerStyle||ot(t||it.type.UNRUN,!!e,n),a.contentStyle=a.contentStyle||ot(t||it.type.UNRUN,!!e,n,"content"),a.fontStyle=a.fontStyle||st(t||it.type.UNRUN,!!e,n));var r={container:{fillStyle:a?a.containerStyle:ot(t||it.type.UNRUN,!!e,n)},content:{fillStyle:a?a.contentStyle:ot(t||it.type.UNRUN,!!e,n,"content")},text:{font:a.contentFontSize+"px "+M,fillStyle:a.fontStyle},time:{font:.8*a.contentFontSize+"px "+M,fillStyle:B},link:{font:.8*a.contentFontSize+"px "+M,fillStyle:U,cursor:"pointer",underline:!0}};return a.style=r,a.style}(t.type,t.choose,t.disable,t),o=Object(A.b)(t.$ctx,t.text,i.text);i.container.fillStyle=t.containerLightUp||i.container.fillStyle;var s=t.width||Math.ceil(o.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,u=new d.a,p=l-t.iconPadding,h=t.betweenIconWithContent;if(y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s,height:l,radius:t.radius,style:i.container,fill:!0}},t,"container"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:O},fill:!0}},t,"containerInner"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:i.content,fill:!0}},t,"content"),y.a.component.text.drawText({props:{point:{x:a,y:r},text:t.text,style:i.text,position:y.a.component.text.CENTER}},t,"text"),y.a.component.icon.drawIcon({props:{point:{x:a+s/2+h+p/2,y:r},width:p,img:t.img},visiable:!!t.img},t,"icon"),y.a.component.text.drawText({props:{point:{x:a+s/2+h,y:r},text:t.time,style:i.time},visiable:c===it.type.RUNNING},t,"time"),y.a.component.text.drawText({props:{point:{x:a+s/2+2*h+p,y:r},text:"retry",style:i.link},visiable:c===it.type.FAIL,events:{choose:it.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,m=r-l/2,v=0;v0)for(var x=n.length,w=r+l/2,C=0;C1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=arguments[2],a=this,r=a.$meta.get("$translate")||{x:0,y:0};e={x:e.x-r.x,y:e.y-r.y},a.setCus("scale",function(){a.toppest=y.a.scaleDistanceForPoint(a.toppest,e,t),a.padding=y.a.toFixed(a.padding*t),a.paddingHeight=y.a.toFixed(a.paddingHeight*t),a.fontSizeForContent=y.a.toFixed(a.fontSizeForContent*t),a.lineWidthForLinking=y.a.toFixed(a.lineWidthForLinking*t),a.componentBetween=y.a.toFixed(a.componentBetween*t),a.innerBetween=y.a.toFixed(a.innerBetween*t),a.levelBetween=y.a.toFixed(a.levelBetween*t),n&&n.call(a)})},toSuccess:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toComplete:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toFail:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toFailed:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCanceled:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCancel:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toError:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toRunning:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.RUNNING,e)},toWaiting:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toUnrun:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toType:function(t){for(var e in t)ct.animations.toNewType.call(this.$children.get(e),t[e].type,t[e].props)},lineBright:function(t){var e=this;this._lineBright=t;var n=[];this.$children.forEach(function(a,r){if(t&&r===t)a.$zindex=2;else if(t&&r.match(t)&&!r.match("_"+t)&&!r.match(t+"_")){var i=r.split("|");i.splice(i.indexOf(t),1),a.$zindex=1,a.style.strokeStyle="#578FFF",a.style.lineWidth*=1.5,e.$children.get(i[0]).containerLightUp="#578FFF",e.$children.get(i[0]).$struct(),n.push(i[0])}else r.match("line")?(a.$zindex=0,a.style.strokeStyle="#BBBBC8",a.style.lineWidth=e.lineWidthForLinking):n.indexOf(r)<0&&(a.$zindex=1,a.containerLightUp="")})}}},wt=function(){function t(e,n){v()(this,t),this.level=[],this.root=[],this.linking={},this.components=new d.a,this.size=0,this.lay=e,this.checkNewPort(n.dependencies),this.componentInfo(n.component_list),this.componentDisable(n.component_need_run),this.componentBelone(n.component_module,n.dependencies),this.componentLink(n.dependencies)}return b()(t,[{key:"checkNewPort",value:function(t){pt=!(f()(t).length>0)||!!t[f()(t)[0]][0].up_output_info}},{key:"componentInfo",value:function(t){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(t);!(e=(r=i.next()).done);e=!0){var o=r.value;this.components.set(o.component_name,new At(o))}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}},{key:"componentDisable",value:function(t){for(var e in t)this.components.get(e).setDisable(!t[e]),this.components.get(e).setImage(this.lay.images)}},{key:"componentBelone",value:function(t,e){for(var n in t)this.components.get(n).setBelone(t[n],this.lay.images,e)}},{key:"componentLink",value:function(t){var e=this,n=function t(n){for(var a in e.linking){var r=!0,i=!1,o=void 0;try{for(var s,l=u()(e.linking[a]);!(r=(s=l.next()).done);r=!0){var c=s.value;if(c.components[0]===n){var p=e.components.get(c.components[0]),d=e.components.get(c.components[1]);d.level<=p.level&&(d.level=p.level+1,t(c.components[1]))}}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}}};for(var a in t){var r=!0,i=!1,o=void 0;try{for(var s,l=u()(t[a]);!(r=(s=l.next()).done);r=!0){var c=s.value;this.linking[c.type]=this.linking[c.type]||[],this.linking[c.type].push({components:[c.component_name,a],outputType:c.up_output_info?c.up_output_info.join(""):c.type+"0"}),n(c.component_name)}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}}var p=!0,d=!1,h=void 0;try{for(var f,m=u()(this.components);!(p=(f=m.next()).done);p=!0){var v=f.value;this.level[v[1].level]=this.level[v[1].level]||[],this.level[v[1].level].push(v[1]),0===v[1].level&&this.root.push(v[1])}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}}},{key:"componentCheckWidthAndHeight",value:function(){var t="",e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.components);!(e=(r=i.next()).done);e=!0){var o=r.value;o[0].length>t.length&&(t=o[0])}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}var s=Object(A.b)(this.lay.$ctx,t,{font:this.lay.fontSizeForContent+"px "+M}),l=Math.ceil(s.width)+2*this.lay.padding,c=this.lay.fontSizeForContent+2*this.lay.paddingHeight;this.compWidth=l,this.compHeight=c;var p=!0,d=!1,h=void 0;try{for(var f,m=u()(this.components);!(p=(f=m.next()).done);p=!0){var v=f.value;v[1].width=l,v[1].height=c}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}}},{key:"checkPos",value:function(){var t=this.lay;if(!t._inited){var e=this.getStyleOfDag();e.height=2,this.linkPos[t].push(s)}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}}},{key:"getLinkInstance",value:function(){for(var t in this.linkPos){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.linkPos[t]);!(e=(r=i.next()).done);e=!0){var o=r.value,s=this.lay.levelBetween,l=!!o.corssLevel&&(t.match("data")?-this.compWidth/3:this.compWidth/3),c=Object(ut.a)(o.line[0],o.line[1],l,s);y.a.component.line.drawLine({props:{point:c,curve:!0,stroke:!0,style:{lineWidth:this.lay.lineWidthForLinking*(this.lay._lineBright&&o.name.match(this.lay._lineBright)?1.5:1),strokeStyle:this.lay._lineBright&&o.name.match(this.lay._lineBright)?"#578FFF":"#BBBBC8"}}},this.lay,o.name)}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}}},{key:"getStyleOfDag",value:function(){var t=0,e=0,n=!0,a=!1,r=void 0;try{for(var i,o=u()(this.level);!(n=(i=o.next()).done);n=!0){var s=i.value;s.length>t&&(t=s.length),e+=s.length*this.compHeight+(s.length-1)*this.lay.innerBetween+this.lay.levelBetween}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}return e-=this.lay.levelBetween,{width:t*this.compWidth+(t-1)*this.lay.componentBetween,height:e}}},{key:"resetting",value:function(){this.componentCheckWidthAndHeight(),this.checkPos(),this.componentGetInstance(),this.getLinking(),this.getLinkInstance()}}]),t}(),At=function(){function t(e){v()(this,t),this.name=e.component_name,this.time=e.time,this.images=null,this.type=this.getStatus(e.status||"unrun"),this.level=0,this.width=0,this.height=0}return b()(t,[{key:"getStatus",value:function(t){var e=t.toUpperCase();return ct.type.SUCCESS.indexOf(e)>=0?ct.type.SUCCESS:ct.type.FAIL.indexOf(e)>=0?ct.type.FAIL:ct.type.RUNNING.indexOf(e)>=0?ct.type.RUNNING:ct.type.UNRUN}},{key:"setDisable",value:function(t){this.disable=t}},{key:"setImage",value:function(t){this.img=t.get((this.disable?"DISABLE_":"")+this.type.split("|")[0])}},{key:"setBelone",value:function(t,e,n){this.belone=t,this.setPort(e,n)}},{key:"setPos",value:function(t){this.point=t}},{key:"checkSetPort",value:function(t,e,n){var a=pt?["secureboost","linr","lr","poisson","heteronn","homonn","localbaseline","fm","mf","svd","scdpp","gmf","ftl","psi","kmeans"]:["none"],r=n[t];if(n[t]&&n[t].length>0){var i=!0,o=!1,s=void 0;try{for(var l,c=u()(r);!(i=(l=c.next()).done);i=!0){var p=l.value;if(["model","data","cache"].indexOf(p.type)<0)return!0}}catch(t){o=!0,s=t}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}return!1}return e.toLowerCase().match(new RegExp("("+a.join("|")+")","i"))}},{key:"setPort",value:function(t,e){this.input=this.input||[],this.output=this.output||[];var n,a,r;this.checkSetPort(this.name,this.belone,e)?(n=this.input).push.apply(n,[{name:"train_datainput",tooltip:"Train Data Input",type:"data"},{name:"validate_datainput",tooltip:"Validation Data Input",type:"data"}]):this.belone.toLowerCase().match(/(reader|modelloader|cacheloader)/)||this.input.push({name:"datainput",tooltip:"Data Input",type:"data"});(this.belone.toLowerCase().match(/evaluation|union/i)&&(this.input[0].mult=t.get("MULT_DATA_PORT")),this.belone.toLowerCase().match(/(evaluation|upload|download|pearson|datasplit|psi|kmeans|modelloader|cacheloader)/i)||this.output.push({name:"data0output",tooltip:"Data Output",type:"data"}),this.belone.toLowerCase().match(/(kmeans)/i))&&(a=this.output).push.apply(a,[{name:"data0output",tooltip:"Data Output_0",type:"data"},{name:"data1output",tooltip:"Data Output_1",type:"data"}]);this.belone.toLowerCase().match(/(datasplit)/i)&&(r=this.output).push.apply(r,[{name:"data0output",tooltip:"Train Data Output",type:"data"},{name:"data1output",tooltip:"Validation Data Output",type:"data"},{name:"data2output",tooltip:"Test Data Output",type:"data"}]);this.belone.toLowerCase().match(/(intersection|cacheloader)/)&&(this.belone.toLowerCase().match(/(intersection)/)&&this.input.push({name:"cacheinput",tooltip:"Cache Input",type:"cache"}),this.output.push({name:"cache0output",tooltip:"Cache Output",type:"cache"})),this.belone.toLowerCase().match(/(intersection|evaluation|upload|download|rsa|datasplit|reader|union|scorecard|cacheloader)/i)||(this.belone.toLowerCase().match(/(statistics|pearson|psi|modelloader)/i)||this.input.push({name:"modelinput",tooltip:"Model Input",type:"model"}),this.output.push({name:"model0output",tooltip:"Model Output",type:"model"}),this.belone.toLowerCase().match(/(selection)/i)&&(this.input[1].mult=t.get("MULT_MODEL_PORT")))}},{key:"getComponentInstance",value:function(t){ct.drawProgress({props:{point:this.point,text:this.name,width:this.width,height:this.height,type:t.$children.get(this.name)?t.$children.get(this.name).type:this.type,disable:this.disable,input:this.input,output:this.output,specialDataInput:this.specialDataInput,contentFontSize:t.fontSizeForContent,time:t.$children.get(this.name)?t.$children.get(this.name).time:this.time,img:this.img},zindex:1,events:ct.events},t,this.name)}}]),t}(),It={name:"FlowDiagram",props:{dagInfo:{type:Object,default:function(){}},purePic:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},operationList:{type:Boolean,default:!0}},data:function(){return{dagCheck:null,flowData:null,images:new d.a,thumb:.6,canvasId:"flowDiagramCanvas",canvas:null,choosed:null,needToSet:[],originalSetting:null,imageSetting:[{name:"COMPLETE",url:n("NdWW")},{name:"DISABLE_COMPLETE",url:n("6Ix9")},{name:"SUCCESS",url:n("NdWW")},{name:"DISABLE_SUCCESS",url:n("6Ix9")},{name:"FAIL",url:n("U8kZ")},{name:"DISABLE_FAIL",url:n("+998")},{name:"CANCEL",url:n("U8kZ")},{name:"DISABLE_CANCEL",url:n("+998")},{name:"CANCELED",url:n("U8kZ")},{name:"DISABLE_CANCELED",url:n("+998")},{name:"ERROR",url:n("U8kZ")},{name:"DISABLE_ERROR",url:n("+998")},{name:"FAILED",url:n("U8kZ")},{name:"DISABLE_FAILED",url:n("+998")},{name:"MULT_DATA_PORT",url:n("l489")},{name:"MULT_MODEL_PORT",url:n("iA7x")}]}},watch:{dagInfo:{handler:function(){this.checkInfo(),this.checkFlowData(),this.canvas&&this.canvas.inited||this.initing(),this.toSetting(),this.checkChoosed()},deep:!0}},created:function(){this.canvasId=y.a.getUUID("flowDiagramCanvas"),this.checkInfo(),this.checkFlowData()},mounted:function(){var t=this;this.addedImages(this.imageSetting).then(function(){t.initing()})},methods:{initing:function(){if(!this.dagInfo)throw new TypeError("Daginfo param need to be an Object");var t=document.getElementById(this.canvasId);if(!t)throw new Error("Can not found canvas-element");this.originalSetting=this.dagInfo,this.drawComp(t,this.images)},drawComp:function(t,e){var n=this,a=this,r=this.purePic?{click:!1}:{click:{beforeClick:function(){xt.events.lineBright.call(a.component)},props:[function(t,e,r){if(r)n.$emit("retry",t);else{e&&xt.events.lineBright.call(a.component,t);var i=0,o="";a.dagInfo.component_list.map(function(e,n){e.component_name===t&&(i=n,o=e.status)});var s={name:t,dataIndex:i,model:a.dagInfo.component_module[t],disable:!a.dagInfo.component_need_run[t],status:o};e&&(a.choosed=s,a.$emit("choose",s))}}]}};a.canvas=new y.a.CanvasUtil(t,r,function(t){return a.getInstance(t,e),a.component.drawing(),a.thumbnail&&a.checkThumbnail(),a.component})},getInstance:function(t,e){if(!t)return null;this.component=xt.drawDiagram({canvas:t,props:{dagInfo:this.flowData,thumbnail:this.thumbnail?this.thumb:1,images:e},clear:xt.clear,events:xt.events})},checkInfo:function(){var t=this.dagCheck||{};if(this.dagInfo){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.dagInfo.component_list);!(e=(r=i.next()).done);e=!0){var o=r.value,s=o.status||"unrun";t[o.component_name]?s!==t[o.component_name].status&&(this.needToSet.push(o.component_name),t[o.component_name].status=s,t[o.component_name].time=o.time):t[o.component_name]={status:s.charAt(0).toUpperCase()+s.slice(1),time:o.time}}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}if(this.dagInfo.component_need_run)for(var l in this.dagInfo.component_need_run)t[l].disable=this.dagInfo.component_need_run[l]}this.dagCheck=t},checkFlowData:function(){if(this.dagInfo){var t=JSON.parse(l()(this.dagInfo)),e=!0,n=!1,a=void 0;try{for(var r,i=u()(t.component_list);!(e=(r=i.next()).done);e=!0){var s=r.value;s.status=(s.status||"unrun").toUpperCase()}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}this.flowData?this.flowData=o()(this.flowData,t):this.flowData=t}},toSetting:function(){if(this.component){var t=!0,e=!1,n=void 0;try{for(var a,r=u()(this.needToSet);!(t=(a=r.next()).done);t=!0){var i=a.value,o=xt.RUNNING.match(this.dagCheck[i].status.toUpperCase())?this.dagCheck[i].time:this.images.get((this.dagCheck[i].disable?"":"DISABLE_")+this.dagCheck[i].status.toUpperCase());this.component.emit("to"+(this.dagCheck[i].status.charAt(0).toUpperCase()+this.dagCheck[i].status.slice(1)),i,o)}}catch(t){e=!0,n=t}finally{try{!t&&r.return&&r.return()}finally{if(e)throw n}}this.needToSet=[]}},checkChoosed:function(){if(this.choosed){var t=this.dagInfo.component_list[this.choosed.dataIndex];t.component_name===this.choosed.name&&t.status!==this.choosed.status&&(this.choosed.status=t.status,this.$emit("choose",this.choosed))}},checkThumbnail:function(){this.component.emit("scale",this.thumb,this.component.toppest),this.component._inited=!1},initImage:function(t,e){var n=this;return new r.a(function(a,r){var i=new Image;i.onload=function(){n.images.set(t,i),a()},i.src=e})},addedImages:function(t){var e=[],n=!0,a=!1,i=void 0;try{for(var o,s=u()(t);!(n=(o=s.next()).done);n=!0){var l=o.value;e.push(this.initImage(l.name,l.url))}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}return r.a.all(e)},suitableWhole:function(){var t=this;this.canvas.suitableForWhole(function(){var e=t.component.$meta.get("clear"),n=t.component.toppest;return{width:e.width,height:e.height,point:n}},function(){t.component.toppest={x:t.canvas.canvasDom.width/2,y:20},t.component._inited=!1})},bigger:function(){this.canvas.scaleBigger()},small:function(){this.canvas.scaleSmaller()}}},_t=(n("bw2v"),n("KHd+")),Ot=Object(_t.a)(It,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("canvas",{attrs:{id:t.canvasId}}),t._v(" "),t.operationList?n("div",{staticClass:"buttonList"},[n("div",{staticClass:"opera_btn",on:{click:t.suitableWhole}},[n("i",{staticClass:"el-icon-full-screen"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.bigger}},[n("i",{staticClass:"el-icon-plus"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.small}},[n("i",{staticClass:"el-icon-minus"})])]):t._e()])},[],!1,null,"2d801b92",null);Ot.options.__file="index.vue";e.a=Ot.exports},"lE/D":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("OjIB"),o=n("QdnX"),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("7Qib");var f=function(t){var e=[];return t.forEach(function(t,n){e.push(Object(i.createOption)(n))}),e},m=function(t){var e=[];if(0!==t.length)return t[0].tables.forEach(function(n,a){var r={};e.push(n),t.forEach(function(t,e){r[++e]=t.tables[a].tbody}),e[a].tbody=r}),Object(i.createTables)(e,"text")};e.default=function(t,e){var a={steps:[],summary:{tables:[]}},s=[],c=[];return Object(o.each)(t.data.train,function(t){c.push(t)}),c.forEach(function(t){!function(t,e,n,a,i){var o={},s=[],c=t.summary,p=t.common||[],f=n.guest_features_anonym,m=n.host_features_anonym;o.name=n.name,o.intercept=Object(h.b)(n.intercept),o.enter=[],o.remove=[],o.numberIn=n.number_in,o.def=Object(h.b)(n.def),o.tables=s,o.icval=Object(h.b)(n.current_ic_val),o.commonTableContent=[];var v=t.steps,g=n.name.match(/[0-9]+/)[0];if(v.length>0)for(var b=0;b=v.length){v.push(o);break}}else v.push(o);for(var x=new d.a,w=0;w1)for(var O=0;O0?t.steps[t.steps.length-1].name.match(/[0-9]+/)[0]:-1,et=n.name.match(/[0-9]+/)[0]||0;if(parseFloat(et)>=parseFloat(tt))if(c.tables.length>0){var nt=!0,at=!1,rt=void 0;try{for(var it,ot=u()(c.tables);!(nt=(it=ot.next()).done);nt=!0){var st=it.value;st.tableName===X&&(st.tbody[0].intercept_only=Object(h.b)(n.current_ic_val)||"-",st.tbody[0].i_a_c=Object(h.b)(n.loss)||"-")}}catch(t){at=!0,rt=t}finally{try{!nt&&ot.return&&ot.return()}finally{if(at)throw rt}}}else c.tables.splice(1,0,{tableName:X,theader:q,tbody:[{intercept_only:Object(h.b)(n.current_ic_val)||"-",i_a_c:Object(h.b)(n.loss)||"-"}]})}}if(!a.toLowerCase().match("host")){var lt=a.toLowerCase().match("guest")?[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"}]:[{label:"Effect",prop:"effect"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"},{label:n.score_name.toUpperCase(),prop:"a_b_ic"}],ct=o.commonTableContent;s.push({tableName:"Analysis of Effects",theader:lt,tbody:ct})}if(!a.toLowerCase().match("arbiter")){var ut=[{label:"Parameter",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"},{label:"Estimate",prop:"estimate"}],pt=o.commonTableContent;s.push({tableName:"Analysis of Maximum Likelihood Estimates",theader:ut,tbody:pt})}if(!a.toLowerCase().match("arbiter")){var dt=[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"}],ht=[],ft=!0,mt=!1,vt=void 0;try{for(var gt,bt=u()(o.features);!(ft=(gt=bt.next()).done);ft=!0){var yt=gt.value;yt[1].entered||ht.push({effect:yt[0],anonymInArbiter:yt[1].arbiter,role:yt[1].role,df:"-"})}}catch(t){mt=!0,vt=t}finally{try{!ft&&bt.return&&bt.return()}finally{if(mt)throw vt}}s.push({tableName:"Analysis of Effect Eligible for Entry",theader:dt,tbody:ht})}if(!a.toLowerCase().match("arbiter")){var xt=[{label:"Step",prop:"step"},{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"eorr"},{label:"Number in",prop:"numberIn"},{label:"DF",prop:"df"}],wt=[],At=t.steps[0].numberIn,It=!0,_t=!1,Ot=void 0;try{for(var Ct,St=u()(t.steps);!(It=(Ct=St.next()).done);It=!0){var Et=Ct.value,jt=!0,Tt=!1,Nt=void 0;try{for(var kt,Lt=u()(Et.enter);!(jt=(kt=Lt.next()).done);jt=!0){var Dt=kt.value,Rt=Et.features.get(Dt);At++,wt.push({step:Et.name.match(/[0-9]+/)[0],effect:Dt,role:Rt.role,anonymInArbiter:Rt.arbiter,eorr:"entered",numberIn:At,df:"-"})}}catch(t){Tt=!0,Nt=t}finally{try{!jt&&Lt.return&&Lt.return()}finally{if(Tt)throw Nt}}var Ft=!0,Pt=!1,Mt=void 0;try{for(var Bt,Ut=u()(Et.remove);!(Ft=(Bt=Ut.next()).done);Ft=!0){var zt=Bt.value;Rt=Et.features.get(zt),At--,wt.push({step:Et.name.match(/[0-9]+/)[0],effect:zt,role:Rt.role,anonymInArbiter:Rt.arbiter,eorr:"removed",numberIn:At,df:"-"})}}catch(t){Pt=!0,Mt=t}finally{try{!Ft&&Ut.return&&Ut.return()}finally{if(Pt)throw Mt}}Et.enter.length||Et.remove.length||wt.push({step:Et.name.match(/[0-9]+/)[0],effect:"-",role:"-",anonymInArbiter:"-",eorr:"-",numberIn:At,df:"-"})}}catch(t){_t=!0,Ot=t}finally{try{!It&&St.return&&St.return()}finally{if(_t)throw Ot}}c.tables[0]&&!c.tables[0].tableName?c.tables.splice(0,1,{tableName:"",theader:xt,tbody:wt}):c.tables.splice(0,0,{tableName:"",theader:xt,tbody:wt})}var Ht=!1,$t=!1,Wt=a.toLowerCase().match("arbiter")?[{label:"Effect",prop:"effect"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"},{label:n.score_name.toUpperCase(),prop:"a_b_ic"}]:[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"}],Gt=[],Yt=[{label:"Parameter",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"},{label:"Estimate",prop:"estimate"}];a.toLowerCase().match("arbiter")&&Yt.splice(1,1);for(var Vt=0;Vt0&&(s=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:Object(i.createTables)(a.common,"title")},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[Object(i.wrapForm)([Object(i.formOption)("f-step",{options:f(a.steps)}),Object(i.formOption)("title",{title:"Steps:"})])].concat(r()(m(a.steps)))},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:Object(i.createTables)(a.summary.tables,"text")}]),s}},lEsB:function(t,e,n){"use strict";n.r(e);var a=n("FyfS"),r=n.n(a),i=n("EJiy"),o=n.n(i),s=n("P2sY"),l=n.n(s),c=n("UasS"),u=n("QdnX"),p=n("OjIB"),d=function(t,e,n,a){return l()({type:t,name:e,props:n},a)},h=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},f=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":o()(e))&&null==n&&(n=e),l()({prop:t,label:e},n)},m=function(t,e){return{label:t,value:e||t}};function v(t,e,n){var a=[],i={},o=[],s=function(t){if(i[t.partyId]=(i[t.partyId]||0)+1,i[t.partyId]===n&&!a.some(function(e){return e===t.partyId})&&(a.push(t.partyId),o.push(t),a.length===e.length))return"break"},l=!0,c=!1,u=void 0;try{for(var p,d=r()(t);!(l=(p=d.next()).done);l=!0){if("break"===s(p.value))break}}catch(t){c=!0,u=t}finally{try{!l&&d.return&&d.return()}finally{if(c)throw u}}return o}function g(t,e,n,a,r,i){var o=t,s=0,p="",h=[],v=[],g=void 0;if(Array.isArray(o)){var b=Object(u.head)(o);s=b.partyId,p=b.role,o=b.binningResult||{}}else s=o.partyId,p=o.role,o=o.binningResult;if(Object(u.isEmpty)(o)&&Object(u.isEmpty)(e))return[];var y=Object(c.default)(o,n,"guest",s,p,p,r,a),x=[],w=[];Object(u.each)(n,function(t){Object(u.each)(y.sourceData,function(e){if(t===e.variable)return x.push(e),!1}),Object(u.each)(y.options,function(e){if(t===e.value)return w.push(e),!1})}),y.sourceData=x,y.options=w,g=y,Object(u.each)(e,function(t,e){v.push(Object(c.default)(t.binningResult,n,"host",t.partyId,t.role,p,r)),h.push(t.partyId||e)});var A=void 0,I={},_=[d("search")],O=void 0,C=l()({},g.eventOptions),S=l()({},g.woeOptions),E=l()({},g.stackBarData),j=l()({},g.woeData);if(Object(u.each)(g.options,function(t){Object(u.each)(g.variableData,function(e,n){if(n===t.value)return I[t.value]=e,!1})}),"guest"===p){h.length>0?(_.push(d("f-select","tableSelection",{options:[m("guest"),m("host",h.map(function(t){return{label:t,value:t}}))],multiple:!0})),A={guest:g.sourceData}):A=g.sourceData;var T={guest:g.options};Object(u.each)(h,function(t,e){var n=v[e];A[t]=n.sourceData,T[t]=n.options;var a=n.variableData;Object(u.each)(n.options,function(t){Object(u.each)(a,function(e,a){if(t.value===a)return I[t.value=t.label]=e,C[t.value]=n.eventOptions[a],S[t.value]=n.woeOptions[a],E[t.value]=n.stackBarData[a],j[t.value]=n.woeData[a],!1})})});var N="";N=h.length>0?[m("guest",T.guest),m("host",h.map(function(t){return{label:t,value:T[t]}}))]:T.guest,O=[d("f-select","f-select",{options:N,supportFilter:!0})]}else O=[d("f-select","f-select",{options:g.options,supportFilter:!0})],A=g.sourceData;var k=[f("","index",{type:"index"}),f("variable","variable",{sortable:!0}),f("binning_count","binning_count",{sortable:!0}),f("iv","IV",{sortable:!0}),f("monotonicity","monotonicity",{sortable:!0})],L=[f("","index",{type:"index"}),f("binning","binning",{matching:!0}),f("iv"),f("woe"),f("event_count"),f("event_ratio"),f("non_event_count"),f("non_event_ratio")];"host"===i&&(k.splice(2,0,f("anonymInGuest","anonym in guest")),L.splice(2,0,f("anonym in guest","anonym in guest"))),"guest"===i&&O.push(d("tslider","tslider",{label:"woe range",range:!0,step:.001,outSide:function(t){var e=t.data,n=void 0,a=void 0;Object(u.each)(e,function(t){var e=parseFloat(t.woe);a||(a=e),n||(n=e),en&&(n=e)}),this.dataMax=parseFloat(n),this.dataMin=parseFloat(a)},formatRange:function(t){var e={columnName:"woe"};return e.min=t[0],e.max=t[1],e}}));var D=[{type:"form",props:{form:O,toProperty:"select",inrow:!0}},{type:"table",props:{header:L,data:I,zeroFormat:"0",export:"feature_binning_detail",toExp:!1}}];return"guest"===p&&(D.push({type:"chart",name:"stackBar",props:{setting:C,options:E,export:"instance_distribution",detail:!1,noDataMissing:!0}}),D.push({type:"chart",name:"woe",props:{setting:S,options:j,export:"woe",detail:!1,noDataMissing:!0}})),[[{type:"form",props:{form:_,toProperty:"tableSelection"}},{type:"table",props:{header:k,data:A,zeroFormat:"0",export:"feature_summary",toExp:!1}}],D].map(function(t){return{type:"group",props:{options:t}}})}e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var r=t.data&&t.data.data,i=r.multiClassResult,o=r.header,s=r.headerAnonymous,l=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,c=[],f=[],m=i||t.data&&t.data.data,b=m.hostResults,y=m.results,x=m.labels,w=m.binningResult,A=m.hostPartyIds,I=1;if(x&&0!==x.length){for(var _=0,O=x.length;_0)){t.next=19;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),(x=u(h)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(x))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n,a){e[n]&&t.push((a||n).replace(/_/g," ")+": "+e[n].toString())};e(y,"job_id"),e(y,"component_name"),e(y,"name","cache name"),e(y,"key","cache key"),(x=u(t)).length>0&&f.push({type:"form",props:{form:[].concat(o()(x))}})}(),m++,t.next=6;break;case 19:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 20:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},lS5Q:function(t,e,n){var a=n("zISJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("42fede7a",a,!0,{})},lSAi:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("YEIV"),l=n.n(s),c=n("P2sY"),u=n.n(c),p=n("QbLZ"),d=n.n(p),h=n("D3Ub"),f=n.n(h),m=n("xjht"),v=n("evsm"),g=n("QdnX"),b=n("OjIB"),y=n("saIk"),x=function(){var t=f()(r.a.mark(function t(e,n){var a,i,s,c,p,h,f,x,A,I,_,O,C,S,E,j,T,N,k,L;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.d)(d()({metrics:e.options},n));case 2:for(i=t.sent,s=function(t){var e={};return Object(g.each)(t,function(t,n){Object(g.each)(t,function(t,a){var r=t.meta.metric_type;e[r]||(e[r]={}),e[r][n]||(e[r][n]={}),u()(e[r][n],l()({},a,t))})}),e},c=s(i.data),p=[],h={},f={},x={},A=[],Object(g.each)(c,function(t,e){if(e===y.METRIC_TYPES.EVALUATION_SUMMARY)h=t;else if(e===y.METRIC_TYPES.QUANTILE_PR)f=t;else if(e===y.METRIC_TYPES.F1_SCORE)x[y.METRIC_TYPES.F1_SCORE]=t;else if(e===y.METRIC_TYPES.CONFUSION_MAT)x[y.METRIC_TYPES.CONFUSION_MAT]=t;else if(e===y.METRIC_TYPES.SAMPLE_TABLE){var a=Object(v.b)(e)(t);A.push({title:y.METRIC_TYPES.SAMPLE_TABLE,content:Object(b.wrapGroupComponent)(a)})}else if(e===y.METRIC_TYPES.PSI){var r=Object(v.b)(e),i={};for(var o in t)i=u()(i,t[o]);var s=r(i);A.push({title:y.METRIC_TYPES.PSI,content:Object(b.wrapGroupComponent)(s)})}else if(e===y.METRIC_TYPES.OVR){var l=Object(v.b)(e)(t,e);A.push({title:"One_vs_Rest Evaluation",content:Object(b.wrapGroupComponent)(l)})}else Object(g.each)(t,function(t,a){if("string"!=typeof t){var r=Object(v.b)(e)(t,n);A.push({title:e,content:Object(b.wrapGroupComponent)(r)})}})}),Object(g.isEmpty)(h)||(I=Object(v.b)(y.METRIC_TYPES.EVALUATION_SUMMARY),(_=I(h,Object(g.isEmpty)(f)?void 0:f,n.isEvaluation)||[])&&_.length>0&&p.push({title:y.METRIC_TYPES.EVALUATION_SUMMARY,content:Object(b.wrapGroupComponent)(_)})),Object(g.isEmpty)(x)||(O=Object(v.b)(y.METRIC_TYPES.CONFUSION_MAT),C=O(x.CONFUSION_MAT,x.F1_SCORE),p.push({title:y.METRIC_TYPES.CONFUSION_MAT,content:Object(b.wrapGroupComponent)(C)})),(a=p).push.apply(a,A),p=p.sort(function(t,e){var n=w.indexOf(t.title),a=w.indexOf(e.title);return n<0||a<0?0:n>a?1:-1}),S=[],E=!0,j=!1,T=void 0,t.prev=19,N=o()(p);!(E=(k=N.next()).done);E=!0)L=k.value,S.push(L.content);t.next=27;break;case 23:t.prev=23,t.t0=t.catch(19),j=!0,T=t.t0;case 27:t.prev=27,t.prev=28,!E&&N.return&&N.return();case 30:if(t.prev=30,!j){t.next=33;break}throw T;case 33:return t.finish(30);case 34:return t.finish(27);case 35:return t.abrupt("return",S);case 36:case"end":return t.stop()}},t,this,[[19,23,27,35],[28,,30,34]])}));return function(e,n){return t.apply(this,arguments)}}(),w=[y.METRIC_TYPES.CLUSTERING_EVALUATION_SUMMARY,y.METRIC_TYPES.DISTANCE_MEASURE,y.METRIC_TYPES.CONTINGENCY_MATRIX];e.default=x},mLUo:function(t,e,n){var a=n("j07e");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("07b18410",a,!0,{})},mWkO:function(t,e,n){"use strict";var a=n("eOYL"),r=n("PpD2"),i=n("UVkp"),o={drawArc:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=s,e?(n||(n=a.a.getUUID("circle")),e.drawLayer(n,t),n):new a.a(t)},LEFT_UP:i.a.LEFT_UP,RIGHT_UP:i.a.RIGHT_UP,LEFT_DOWN:i.a.LEFT_DOWN,RIGHT_DOWM:i.a.RIGHT_DOWM};function s(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,r=t.radius;t.position===o.LEFT_UP?t.point={x:e+r,y:n+r}:t.position===o.RIGHT_UP?t.point={x:e,y:n+r}:t.position===o.LEFT_DOWN&&(t.point={x:e+r,y:n}),function(t){a.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.radius,o=t.sAngle||i.a._SANGLE,s=t.eAngle||i.a._EANGLE,l=!!t.wise;e.arc(n,a,r,o,s,l)})}.call(t)}var l=o,c={drawRect:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=p,t.here=u,e?(n||(n=a.a.getUUID("rect")),e.drawLayer(n,t),n):new a.a(t)},LEFT_UP:i.a.LEFT_UP,RIGHT_UP:i.a.RIGHT_UP,LEFT_DOWN:i.a.LEFT_DOWN,RIGHT_DOWN:i.a.RIGHT_DOWN,CENTER:i.a.CENTER};function u(t){var e=this,n=e.point.x||e.point[0]||0,a=e.point.y||e.point[1]||0,r=e.width,i=e.height,o={};o=e.position===c.LEFT_UP?{x:n+r/2,y:a+i/2}:e.position===c.RIGHT_UP?{x:n-r/2,y:a+i/2}:e.position===c.LEFT_DOWN?{x:n+r/2,y:a-i/2}:e.position===c.RIGHT_DOWN?{x:n-r/2,y:a-i/2}:{x:n,y:a};var s=e.$meta.get("$translate")||{x:0,y:0},l=(t.x||t[0]||0)-s.x,u=(t.y||t[1]||0)-s.y;return l>=o.x-r/2&&l<=o.x+r/2&&u>=o.y-i/2&&u<=o.y+i/2}function p(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,r=t.width,i=t.height;t.position===c.LEFT_UP?t.point={x:e+r/2,y:n+i/2}:t.position===c.RIGHT_UP?t.point={x:e-r/2,y:n+i/2}:t.position===c.LEFT_DOWN?t.point={x:e+r/2,y:n-i/2}:t.position===c.RIGHT_DOWN&&(t.point={x:e-r/2,y:n-i/2}),function(){var t=this;a.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.radius,i=t.width,o=t.height,s=0===t.progress?0:t.progress?t.progress:1;if(s<=0)return;var l=n-i/2,c=a-o/2+r;e.moveTo(l,c);var u=l+r,p=c,d=1*Math.PI,h=i*sr?(l=i*s>i-r?l+i-2*r:l+i*s,c-=r,e.lineTo(l,c),i*s>i-r?(u=l,p=c+r,d=1.5*Math.PI,h=s<1?d+Math.acos((r-(i-i*s))/r):0,e.arc(u,p,r,d,h,!1),l+=r-(i-i*s),c=c+o-r-Math.cos(.5*Math.PI-Math.acos((r-(i-i*s))/r))*r,e.lineTo(l,c),p=p+o-2*r,d=0,h=s<1?d+Math.acos((r-(i-i*s))/r):.5*Math.PI,e.arc(u,p,r,d,h,!1),l=u-i+3*r,c=p+r,e.lineTo(l,c)):(c+=o,e.lineTo(l,c),l=l-i*s+r,e.lineTo(l,c)),u=l,p=c-r,e.arc(u,p,r,.5*Math.PI,1*Math.PI,!1)):(l+=i*s,c=c+o-2*r+Math.sin(.5*Math.PI-Math.acos((r-i*s)/r))*r,e.lineTo(l,c),p=p+o-2*r,d=1*Math.PI-Math.acos((r-i*s)/r),h=1*Math.PI,e.arc(u,p,r,d,h,!1));l=n-i/2,c=a-o/2+r,e.lineTo(l,c)})}.call(t)}var d=c,h=n("UMXJ"),f=n("FyfS"),m=n.n(f),v={drawTrangle:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=g,e?(n||(n=a.a.getUUID("trangle")),e.drawLayer(n,t),n):new a.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,UP:i.a.CENTER,BOTTOM:i.a.BOTTOM};function g(){this.height?function(){var t=this;a.a.commonDrawing(t,function(e){var n=Math.tan(30*Math.PI/180)*t.height,a=[],r=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0;a.push(t.point),t.position===v.LEFT?a.push.apply(a,[{x:r+t.height,y:i-n},{x:r+t.height,y:i+n}]):t.position===v.RIGHT?a.push.apply(a,[{x:r-t.height,y:i-n},{x:r-t.height,y:i+n}]):t.position===v.BOTTOM?a.push.apply(a,[{x:r-n,y:i-t.height},{x:r+n,y:i-t.height}]):a.push.apply(a,[{x:r-n,y:i+t.height},{x:r+n,y:i+t.height}]);var o=0,s=!0,l=!1,c=void 0;try{for(var u,p=m()(a);!(s=(u=p.next()).done);s=!0){var d=u.value,h=d.x||d[0]||0,f=d.y||d[1]||0;0===o?e.moveTo(h,f):e.lineTo(h,f),o++}}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}var g=t.point.x||t.point[0]||0,b=t.point.y||t.point[1]||0;e.lineTo(g,b)})}.call(this):function(){var t=this;a.a.commonDrawing(t,function(e){var n=0,a=!0,r=!1,i=void 0;try{for(var o,s=m()(t.point);!(a=(o=s.next()).done);a=!0){var l=o.value,c=l.x||l[0]||0,u=l.y||l[1]||0;0===n?e.moveTo(c,u):e.lineTo(c,u),n++}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}var p=t.point[0].x||t.point[0][0]||0,d=t.point[0].y||t.point[0][1]||0;e.lineTo(p,d)})}.call(this)}var b=v,y=5,x={drawTooltip:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.struct=A,t.here=w,e?(n||(n=a.a.getUUID("tooltip")),e.drawLayer(n,t),n):new a.a(t)},here:w,LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,UP:i.a.CENTER,BOTTOM:i.a.BOTTOM,TEXT:{LEFT:h.a.LEFT,RIGHT:h.a.RIGHT,CENTER:h.a.CENTER},events:{scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=this;n.setCus("scale",function(){if(n.point=a.a.scaleDistanceForPoint(n.point,e,t),n.width&&(n.width=a.a.toFixed(n.width*t)),n.height&&(n.height=a.a.toFixed(n.height*t)),n.padding&&(n.padding=a.a.toFixed(n.padding*t)),n.trangleSize&&(n.trangleSize=a.a.toFixed(n.trangleSize*t)),n.textStyle.font){var r=parseFloat(n.textStyle.font);n.textStyle.font=n.textStyle.font.replace(r,a.a.toFixed(r*t))}n.linebetween=a.a.toFixed(n.linebetween*t),n.radius=a.a.toFixed((n.radius||4)*t)})}}};function w(t){return!1}function A(){var t=this;t.linebetween=t.linebetween||y;var e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,a={x:e,y:n},r={},o=0;t.text=Array.isArray(t.text)?t.text:[t.text];var s=!0,l=!1,c=void 0;try{for(var u,p=m()(t.text);!(s=(u=p.next()).done);s=!0){var f=u.value,v=Object(h.b)(t.$ctx,f,t.textStyle);Math.ceil(v.width)>o&&(o=Math.ceil(v.width))}}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}var g=parseInt(t.textStyle.font)*t.text.length+t.linebetween*(t.text.length-1)+1.5*t.padding,w=o+2*t.padding;t.position===x.RIGHT?(r.x=e-t.trangleSize-w/2,r.y=n):t.position===x.UP?(r.x=e,r.y=n+t.trangleSize+g/2):t.position===x.BOTTOM?(r.x=e,r.y=n-t.trangleSize-g/2):(r.x=e+t.trangleSize+w/2,r.y=n),b.drawTrangle({props:{point:a,height:t.trangleSize,style:t.containerStyle,position:t.position||i.a.LEFT,fill:!0}},this,"trangle"),d.drawRect({props:{point:r,radius:t.radius||4,width:w,height:g,position:d.CENTER,style:t.containerStyle,fill:!0}},this,"rect");for(var A=0;Ae-a/2&&sn-r/2}function O(){!function(t){var e=t.$ctx;e.beginPath();var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.width,i=t.height||r;e.drawImage(t.img,n-r/2,a-i/2,r,i),e.closePath()}(this)}var C={drawIcon:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=O,t.here=_,e?(n||(n=a.a.getUUID("icon")),e.drawLayer(n,t),n):new a.a(t)}},S={line:r.b,circle:l,rect:d,text:h.a,trangle:b,tooltip:I,icon:C};a.a.component=S;e.a=a.a},mrTZ:function(t,e,n){"use strict";var a=n("jkWR");n.n(a).a},n0uM:function(t,e,n){var a=n("8csx");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("64326f00",a,!0,{})},nHDQ:function(t,e,n){"use strict";n.r(e);var a=n("7Qib"),r=n("QdnX"),i=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"ratio",label:"imputer value ratio",sortable:!0},{prop:"mode",label:"impute mode",sortable:!0},{prop:"value",label:"imputed value"}]},o=function(t){return function(e,n){t.push({variable:n,ratio:100*Object(a.b)(e.ratio)+"%",value:e.value||"",mode:e.mode})}},s=function(t,e,n){var a={};for(var r in t)a[r]={ratio:t[r],value:e[r],mode:n[r]};return a},l=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},c=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r0&&e.push.apply(e,G()(r))}),e},getVariableMap:function(){var t=this,e=[];return this.cList.forEach(function(n,a){var r=t.refOpera("comp"+a,"getVariableMap");r.length>0&&e.push.apply(e,G()(r))}),$()(new z.a(e))},allSteps:function(t){var e=this;V=t,Z=0;(function(t,e){for(var n=[],a=V.needExport.join("|"),r=0,i=t.length;r0&&(this.showNoData=!1,this.handleOptions(),this.$forceUpdate())},methods:{handleOptions:function(){var t=this,e={},n={},a=[],r=[],i=[];if(this.data&&this.data.meta&&this.data.meta.header.length)for(var s=function(i){var o=[],s=[];t.data.meta.header[i]&&t.data.meta.header[i].forEach(function(t,e){o.push({prop:t.replace(".","")+e,label:t,showOverflowTooltip:!0})}),t.data.data[i].forEach(function(t){var e={};o.forEach(function(n,a){var r=t[a];null!==r&&"object"===(void 0===r?"undefined":u()(r))&&(r=f()(r)),e[n.prop]=null!==r?r&&r.toString():"-"}),s.push(e)}),o.unshift({type:"index",label:"index"}),e[t.data.meta.names[i]]=o,1===t.data.meta.header.length?(n=s,r=t.data.meta.total[i]):(a.push({label:t.data.meta.names[i],value:t.data.meta.names[i]}),r.push({label:t.data.meta.names[i],value:t.data.meta.total[i]}),n[t.data.meta.names[i]]=s)},l=0;l0?(o()(n).length>0&&this.data.meta.header.length>1?i.push({type:"form",props:{form:[{type:"f-select",props:{options:a},connect:[1]},{type:"text",props:{content:"Outputting {total} instances",subContent:"(only 100 instances are shown in the table)",className:"small-form-text",data:{"{total}":function(t){var e=Array.isArray(t)?t[0]:t,n=!0,a=!1,i=void 0;try{for(var o,s=d()(r);!(n=(o=s.next()).done);n=!0){var l=o.value;if(l.label===e)return l.value}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}}},inner:!0}}]}}):i.push({type:"text",props:{content:"Outputting "+r+" instances",subContent:"(only 100 instances are shown in the table)",className:"small-form-text"}}),i.push({type:"table",props:{header:{disable:p,header:h},data:n,zeroFormat:"0",nullFormat:"null",headerPagination:!0,pageSize:10}}),this.group=i):this.showNoData=!0},getHeader:function(t){var e=this,n={},a={},r=[];return o()(t).forEach(function(e,n){t[e].forEach(function(t){a[t.prop]||(a[t.prop]=!0,r.push(t))})}),o()(t).forEach(function(a,i){n[a]=e.disabledHeader(t[a],r)}),{disable:n,commonHeader:r}},disabledHeader:function(t,e){var n=[],a=[];return t.forEach(function(t){a.push(t.prop)}),e.forEach(function(t){a.indexOf(t.prop)<0&&n.push(t.prop)}),n}}},q=(n("mrTZ"),Object(N.a)(K,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"combination__container"},[!t.showNoData&&t.group.length>0?n("group",{attrs:{options:t.group}}):t._e(),t._v(" "),t.showNoData?n("div",{staticClass:"template_nodata"},[t._v("No Data")]):t._e()],1)},[],!1,null,"9746f0c0",null));q.options.__file="DataOutput.vue";var tt=q.exports,et=n("P2sY"),nt=n.n(et),at=n("Dbz9"),rt=n.n(at),it=n("cU3k"),ot=n("V/pm"),st=function(t){return v()({logs:null,logSize:0,logType:""},t)},lt={components:{Log:it.a},props:{componentName:{type:String,default:""},jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""},visible:{type:Boolean,default:!1}},data:function(){return st()},watch:{logSize:function(t){t&&this.onPull(!1)},componentName:{handler:function(){this.visible&&(this.clearData(),this.closeSocket(),this.initLogSocket())},immediate:!0},visible:"visibleHandler"},beforeDestroy:function(){this.closeSocket()},methods:{initLogSocket:function(){var t=this;if(!this.ws){var e=this.jobId,n=this.role,a=this.partyId,r=this.componentName;e&&n&&a&&r||console.warn("Missing required parameters"),this.ws=new ot.a("/log/new/"+e+"/"+n+"/"+a+"/"+r),this.ws.addEventListener("message",function(e){t.handleLogMessage(JSON.parse(e.data))})}return this.ws},handleLogMessage:function(t){switch(t.type){case"logSize":this.handleLogSizeResponse(t.data);break;case"componentInfo":this.insertLogs(t)}},handleLogSizeResponse:function(t){var e=l()(t)[0];this.logType=e[0],this.logSize=e[1]},handleScrollTop:function(){this.onPull()},onPull:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.logSize,n=this.logs||[],a=void 0,r=void 0;if(n.length?t?(r=n[0].lineNum-1,a=Math.max(1,r-50)):(a=n[n.length-1].lineNum+1,r=e):(r=e,a=Math.max(r-50,1)),e>0){if(r-1;)i===a[r].lineNum?a.splice(r,1):i=a[r].lineNum}else a=e;a=a.map(function(t){return rt()(t)}),this.logs=a},getLogsRange:function(t){return[t[0].lineNum,t[t.length-1].lineNum]},visibleHandler:function(t){t?this.initLogSocket():(this.clearData(),this.closeSocket())},clearData:function(){nt()(this,st())},closeSocket:function(){this.ws&&this.ws.close(),this.ws=null}}},ct=(n("SNd3"),Object(N.a)(lt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"calc(100vh - 190px)"}},[e("log",{attrs:{logs:this.logs},on:{"scroll-top":this.handleScrollTop}})],1)},[],!1,null,null,null));ct.options.__file="Log.vue";var ut=ct.exports,pt=n("evsm"),dt=n("xjht"),ht={name:"OutputDialog",components:{ViewSwitch:L,ReportNav:B,Combination:J,DataOutput:tt,Log:ut},props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},modelType:{type:String,default:""},componentName:{type:String,default:""},jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""},status:{type:String,default:""}},data:function(){return{fullscreen:!1,activeName:"model",transformFn:null,cList:[],tabIndex:0,logInited:!1,dataOutput:[],noReportData:!1,noModelData:!1,noDataOutput:!1,dataOutputResponse:null,showRefresh:!0}},computed:v()({},Object(j.c)(["modelNameMap"]),{modelName:function(){var t="summary";return this.joinComponents(["evaluation","scorecard"]).match(this.modelType)?t="metrics":this.joinComponents(["boost","homoBoost","homoLR","heteroLR","heteroLinR","sklearnLR","poisson","homoNN","heteroNN","heterofm","homofm","heteroMF","heteroSVD","heteroSVDPP","heteroGMF"]).match(this.modelType)&&(t="model output"),t},reportType:function(){var t=!!this.modelType.toLowerCase().match(new RegExp("("+["binning","selection","evaluation","featureimputation","labeltransform","datatransform","dataio","federatedsample","scale","onehot"].join("|")+")")),e=!!this.modelType.toLowerCase().match(new RegExp("("+["binning","selection","secureboost","lr","featureimputation","labeltransform","datatransform","dataio","intersection","federatedsample","scale","onehot"].join("|")+")")),n=!!this.modelType.toLowerCase().match(new RegExp("("+["secureboost","lr"].join("|")+")"));return{has:t||e||n,hasReport:t,hasData:e,hasModel:n}},dataOutputShow:function(){return!this.joinComponents(["correlation","evaluation","psi","statistic","modelLoader","CacheLoader"]).match(this.modelType)},modelOutputShow:function(){return!this.modelType.match(new RegExp("("+["columnexpend"].join("|")+")"))}}),watch:{componentName:function(){this.componentName&&(this.refresh(),this.dataOutputResponse=null)},fullscreen:function(){this.$refs.model_output.resize()}},created:function(){this.currentActiveName(),this.transformFn=Object(pt.a)(this.modelType)},methods:{refresh:function(){var t={job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName};this.dataDataOutputCheck(),this.getResults(t),this.transformFn=Object(pt.a)(this.modelType),this.dataOutput=[]},refreshAll:function(){"model"===this.activeName?this.refresh():"data"===this.activeName&&this.getDataOutputData()},switchFullscreen:function(){this.fullscreen=!this.fullscreen},currentActiveName:function(){this.modelOutputShow?this.activeName="model":this.dataOutputShow?this.activeName="data":this.activeName="log"},switchVisible:function(){this.currentActiveName(),this.dataOutput=[],this.$emit("closeDialog")},joinComponents:function(t){var e=this;return t.map(function(t){return e.modelNameMap[t]}).join("|")},getResults:function(t){var e=this;E.a.all([Object(dt.e)(t),Object(dt.c)(t)]).then(function(t){var n=C()(t,2),a=n[0],r=n[1],i="";i=(null===a.data||a.data.toString().toLowerCase().match("no data")||a.msg&&a.msg.toString().toLowerCase().match("no data"))&&(null===r.data||r.data.toString().toLowerCase().match("no data")||r.msg&&r.msg.toString().toLowerCase().match("no data"))?[]:e.transformFn(a,r,e.partyId,e.role,e.componentName,e.jobId,e.modelType),Array.isArray(i)?(e.cList=i,0===i.length?(e.noModelData=!0,e.noReportData=!0):(e.noModelData=!1,e.noReportData=!1)):i.then(function(t){e.cList=t,0===t.length?(e.noModelData=!0,e.noReportData=!0):(e.noModelData=!1,e.noReportData=!1)})})},changeTabs:function(t){switch(this.tabIndex=+t.index,this.showRefresh=!0,+t.index){case 1:this.getDataOutputData(),this.showRefresh=!1}switch(t.name){case"log":this.logInited=!0,this.showRefresh=!1}},getDataOutputData:function(){var t=this,e={job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName},n=function(e){t.dataOutputResponse=e,t.dataOutput=e&&e.data||[],t.dataOutput&&t.dataOutput.retmsg&&!t.dataOutput.retmsg.toString().toLowerCase().match("no data")?t.noDataOutput=!1:t.noDataOutput=!0};this.dataOutputResponse?n(this.dataOutputResponse):Object(dt.a)(e).then(n)},getNames:function(){return this.$refs.model_output.getNames()},getVariableMap:function(){return this.$refs.model_output.getVariableMap()},hasIv:function(){return this.$refs.model_output.hasIv()},allSteps:function(t){return this.$refs.model_output.allSteps(t)},combinationReporter:function(t){this.$emit("cReporter",t)},dataOutputReporter:function(t){this.$emit("dReporter",t)},handleFilterLogic:function(t){return this.$refs.model_output.handleFilterLogic(t)},dataDataOutputCheck:function(){this.getDataOutputData()}}},ft=(n("OLz/"),Object(N.a)(ht,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:t.title,"show-close":!1,visible:t.visible,fullscreen:t.fullscreen,"close-on-click-modal":!1,"modal-append-to-body":!1,width:"80%",top:"70px"},on:{"update:visible":function(e){t.visible=e}}},[n("view-switch",{attrs:{fullscreen:t.fullscreen},on:{switchFullscreen:t.switchFullscreen,switchVisible:t.switchVisible}}),t._v(" "),n("div",{staticClass:"dialog-content"},[n("report-nav",{staticClass:"report",attrs:{"show-refresh":t.showRefresh,"model-type":t.modelType,"report-type":t.reportType,"no-report-data":t.noReportData,"no-model-data":t.noModelData,"no-data-output":t.noDataOutput},on:{download:function(e){return t.$emit("download",e)},refresh:t.refreshAll}}),t._v(" "),n("el-tabs",{staticClass:"dialog-tabs",on:{"tab-click":t.changeTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t.modelOutputShow?n("el-tab-pane",{attrs:{label:t.modelName,name:"model"}},[n("combination",{ref:"model_output",attrs:{"c-list":t.cList,visiable:t.visible},on:{reporter:t.combinationReporter}})],1):t._e(),t._v(" "),t.dataOutputShow?n("el-tab-pane",{attrs:{label:"data output",name:"data"}},[1===t.tabIndex?n("DataOutput",{ref:"data_output",attrs:{data:t.dataOutput},on:{reporter:t.dataOutputReporter}}):t._e()],1):t._e(),t._v(" "),n("el-tab-pane",{attrs:{label:"log",name:"log"}},[t.logInited?n("log",{attrs:{visible:t.visible,"component-name":t.componentName,"job-id":t.jobId,role:t.role,"party-id":t.partyId}}):t._e()],1)],1)],1)],1)},[],!1,null,null,null));ft.options.__file="index.vue";var mt=ft.exports,vt=n("dyDN"),gt=n("14Xm"),bt=n.n(gt),yt=n("ODRq"),xt=n.n(yt),wt=n("D3Ub"),At=n.n(wt),It=n("+Ej1"),_t=n.n(It),Ot={props:{title:{type:String,default:""},tip:{type:String,default:""}}},Ct=(n("hF9E"),Object(N.a)(Ot,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"heading"},[n("div",{staticClass:"title"},[t._t("title",[n("span",[t._v(t._s(t.title))])]),t._v(" "),t._t("append")],2),t._v(" "),t._t("tip",[t.tip?n("div",{staticClass:"tip"},[t._v(t._s(t.tip))]):t._e()])],2)},[],!1,null,"56e1b348",null));Ct.options.__file="Heading.vue";var St=Ct.exports,Et={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{page:{currentPage:1,pageSize:10,layout:"total, prev, pager, next, jumper"}}},computed:{paginatedData:function(){var t=this.page,e=t.currentPage,n=t.pageSize;return this.data.slice((e-1)*n,e*n)}},methods:{handleCurrentPageChange:function(t){this.page.currentPage=t},handleInput:function(t,e){var n=this.data.map(function(n){return n.origin===e?v()({},n,{modified:t.target.value}):n});this.$emit("update:data",n)},handleInputEnter:function(t){t.target.blur()},tableDownload:function(){return{default:{"variable_modify.csv":{header:["origin","modified"],data:this.data}}}}}},jt=(n("orkn"),Object(N.a)(Et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{staticStyle:{"margin-bottom":"15px"},attrs:{data:t.paginatedData,size:"mini","header-cell-class-name":"header-section-style default-cell-summary-font"}},[n("el-table-column",{attrs:{type:"index",label:"index",width:"100",align:"center","header-align":"center","class-name":"default-cell-style default-cell-first-col-style"}}),t._v(" "),n("el-table-column",{attrs:{prop:"origin",label:"original variable",align:"center","header-align":"center","class-name":"default-cell-style"}}),t._v(" "),n("el-table-column",{attrs:{prop:"modified",label:"modified variable",align:"center","header-align":"center","class-name":"default-cell-style"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("input",{staticClass:"simple-input",domProps:{value:a.modified},on:{input:function(e){t.handleInput(e,a.origin)},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleInputEnter(e):null}}})]}}])})],1),t._v(" "),n("div",{staticClass:"flex flex-end"},[n("el-pagination",t._b({attrs:{total:t.data.length,background:""},on:{"current-change":t.handleCurrentPageChange}},"el-pagination",t.page,!1))],1)],1)},[],!1,null,null,null));jt.options.__file="TableForm.vue";var Tt=jt.exports,Nt={greater:">",less:"<",equal:"=",greaterOrEqual:"≥",lessOrEqual:"≤",notEqual:"≠",in:"in",notIn:"not in"},kt={name:"Logic",props:{checked:{type:Boolean,default:!1},label:{type:String,default:""},variableType:{type:String,default:"int"},operator:{type:String,default:"greater",validator:function(t){return Nt[t]}},condition:{type:String,default:""}},data:function(){return{error:void 0}},computed:{operators:function(){return l()(Nt).map(function(t){var e=C()(t,2);return{value:e[0],label:e[1]}})},placeholder:function(){var t=this.label,e=this.variableType,n=this.isRangeType,a=n?[1,4,5]:[1];return a="int"===e?a:a.map(function(t){return t/100}),"enter "+(n?t+" range":"an "+t)+" like: "+a[0]+(a[1]?","+a[1]+"~"+a[2]:"")},isRangeType:function(){return"in"===this.operator||"notIn"===this.operator}},methods:{handleUpdate:function(t,e){this.$emit("update:"+e,t),this.$emit("updated")},handleInput:function(t){t=(t=t.replace(/[,、。/\\。;;]/g,",")).replace(/(-{1,2})|——/g,"~"),this.handleUpdate(t,"condition")},handleChange:function(t){var e=this;this.$nextTick(function(){e.validate(e.condition)})},validate:function(t){this.checked&&t&&(this.error=this.isRangeType?this.validateRange(t):this.validateNumber(t),this.$emit("error",this.error))},validateNumber:function(t){if(!/^[+-]?(0|([1-9]\d*))(\.\d+)?$/.test(t))return"Invalid number "+t},validateRange:function(t){var e=this,n=[];return t.split(",").forEach(function(t){if(t){var a=[];if(t.indexOf("~")<0)e.validateNumber(t)&&n.push(t);else if((a=t.split("~")).length>2)n.push(t);else(!a.every(function(t){return!e.validateNumber(t)})||+a[0]>=+a[1])&&n.push(t)}}),n.length?"Invalid range "+n.join("..."):void 0}}},Lt=(n("hzma"),Object(N.a)(kt,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"logic"},[n("el-form",{attrs:{"show-message":!1,inline:"",size:"mini"}},[n("el-form-item",[n("el-checkbox",{attrs:{value:t.checked},on:{change:function(e){t.handleUpdate(e,"checked")}}},[n("div",{staticClass:"label"},[t._v(t._s(t.label))])])],1),t._v(" "),n("el-form-item",{attrs:{error:t.error}},[n("el-select",{staticStyle:{width:"90px"},attrs:{value:t.operator},on:{change:function(e){t.handleUpdate(e,"operator")}}},t._l(t.operators,function(e,a){return n("el-option",t._b({key:a},"el-option",e,!1))}))],1),t._v(" "),n("el-form-item",{attrs:{error:t.error}},[n("el-input",{staticClass:"condition",attrs:{value:t.condition,placeholder:t.placeholder},on:{input:t.handleInput,change:t.handleChange}})],1)],1)],1)},[],!1,null,"3daaa25f",null));Lt.options.__file="Logic.vue";var Dt=Lt.exports,Rt={props:{files:{type:Array,default:function(){return[]}}}},Ft=(n("UFPc"),Object(N.a)(Rt,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticStyle:{"padding-top":"5px","padding-left":"2px"}},t._l(t.files,function(e,a){return n("li",{key:a,staticClass:"item"},[n("el-checkbox",{on:{change:function(e){t.$emit("change")}},model:{value:e.checked,callback:function(n){t.$set(e,"checked",n)},expression:"file.checked"}},[n("span",{staticClass:"name"},[t._v(t._s(e.filename))])])],1)}))},[],!1,null,"099ffed2",null));Ft.options.__file="Files.vue";var Pt=Ft.exports,Mt=n("Yz+Y"),Bt=n.n(Mt),Ut=n("FYw3"),zt=n.n(Ut),Ht=n("mRg0"),$t=n.n(Ht),Wt=n("iCc5"),Gt=n.n(Wt),Yt=n("V7oC"),Vt=n.n(Yt),Zt=n("Iab2"),Qt=n("xOOu"),Xt=n.n(Qt),Jt={fields:null,defaultValue:" ",quote:'"',escapedQuote:'""',delimiter:",",escapedDelimiter:"_",eol:"Win32"===navigator.platform||"Windows"===navigator.platform?"\r\n":"\n",header:!0,includeEmptyRows:!1};function Kt(t,e){var n=!0;return t.reduce(function(t,a){return null==a&&(a=""),n?(n=!1,a):""+t+e+a},"")}function qt(t,e,n){return void 0===t[e]?n:t[e]}var te=function(){function t(e){Gt()(this,t),this.options=nt()({},Jt,e),this.options.fields&&(this.options.fields=this.preprocessFileds(this.options.fields))}return Vt()(t,[{key:"preprocessFileds",value:function(t){var e=this;return t.map(function(t){if("string"==typeof t)return{label:t,value:function(n){return qt(n,t,e.options.defaultValue)}};if("object"===(void 0===t?"undefined":u()(t))){if("string"==typeof t.value)return{label:t.label,value:function(n){return qt(n,t.value,e.options.defaultValue)}};if("function"==typeof t.value)return{label:t.label,value:function(n){var a=t.value(n,t);return null==a?e.options.defaultValue:a}}}throw new Error("Invalid fields options")})}},{key:"getHeader",value:function(){var t=this;return Kt(this.options.fields.map(function(e){return t.processValue(e.label)}),this.options.delimiter)}},{key:"processRow",value:function(t){var e=this;if(t){var n=this.options.fields.map(function(n){return e.processValue(n.value(t))});if(!this.options.includeEmptyRows||!n.every(function(t){return void 0===t}))return Kt(n,this.options.delimiter)}}},{key:"processValue",value:function(t){var e=void 0===t?"undefined":u()(t);if("number"!==e&&"boolean"!==e&&"string"!==e){if(void 0===(t=f()(t)))return;'"'===t[0]&&t.replace(/^"(.+)"$/,"$1")}return"string"==typeof t&&((t=t.replace(new RegExp(this.options.quote,"g"),this.options.escapedQuote)).match(new RegExp(this.options.delimiter,"g"))&&(t=""+this.options.quote+t+this.options.quote),t+="\t"),t}},{key:"processData",value:function(t){var e=this;return Kt(t.map(function(t){return e.processRow(t)}).filter(function(t){return t}),this.options.eol)}},{key:"parse",value:function(t,e){var n=t.reduce(function(t,e){return o()(e).forEach(function(e){t[e]||(t[e]=!0)}),t},{});this.options.fields=o()(n),this.options.fields=this.preprocessFileds(this.options.fields),e&&(this.options.fields=function(t,e,n,a){return n=n||function(t,e){return e.indexOf(t)},a=a||function(t){return t.label},t.sort(function(t,r){var i=n(a(t),e),o=n(a(r),e);return i<0||o<0?0:i>o?1:-1})}(this.options.fields,e));var a=this.options.header?this.getHeader():"",r=this.processData(t);return a+(a&&r?this.options.eol:"")+r||"no data"}}]),t}(),ee=function(){function t(){Gt()(this,t),this.zip=new Xt.a,this.folds=new xt.a}return Vt()(t,[{key:"addFileInZip",value:function(t,e,n,a){(a&&this.folds.get(a)||this.zip).file(t,e,n)}},{key:"addBolb",value:function(t,e,n){this.addFileInZip(t,e,{blob:!0},n)}},{key:"addFile",value:function(t,e,n){this.addFileInZip(t,e,{},n)}},{key:"addImage",value:function(t,e,n){this.addFileInZip(t,e,{base64:!0},n)}},{key:"createFold",value:function(t,e){var n=(e&&this.folds.get(e)||this.zip).folder(t);this.folds.set(t,n)}},{key:"addCSV",value:function(t,e,n){var a=new ae(t);this.addFile(t,a.parseData(e),n)}},{key:"addPng",value:function(t,e,n){this.addImage(t,e,n)}},{key:"save",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"blob";return this.zip.generateAsync({type:e}).then(function(e){Object(Zt.saveAs)(e,t)})}}]),t}(),ne=function(){function t(e){Gt()(this,t),this.name=e,this.type="application/octet-stream;charset=utf-8",this.extension=this.getExtension(e)}return Vt()(t,[{key:"getExtension",value:function(t){var e=t.lastIndexOf(".");return e>>>=0,t.slice(e)}},{key:"input",value:function(t){this.data=t}},{key:"parseData",value:function(t){return t}},{key:"getBlob",value:function(){return new Blob([this.parseData(this.data)],this.type)}},{key:"download",value:function(){Object(Zt.saveAs)(this.getBlob(),this.name)}}]),t}(),ae=function(t){function e(t){Gt()(this,e);var n=zt()(this,(e.__proto__||Bt()(e)).call(this,t));return n.type="text/csv;charset=utf-8",n}return $t()(e,t),Vt()(e,[{key:"parseData",value:function(t){return(new te).parse(t)}}]),e}(ne),re=function(){function t(e,n,a){Gt()(this,t),this.file=new te,this.name=e,this.toBom=a,this.str="",this.into=n}return Vt()(t,[{key:"add",value:function(t,e){var n=this.file.processValue(t),a=this.file.options.eol,r=this.file.parse(Array.isArray(e)?e:e.data?e.data:[],e.header||null),i=(this.toBom?"\ufeff":"")+this.str+n+a+r+a+a;this.str=i}},{key:"getData",value:function(){return{name:this.name,data:this.str,into:this.into}}}]),t}();!function(t){function e(t){Gt()(this,e);var n=zt()(this,(e.__proto__||Bt()(e)).call(this,t));return n.type="image/png;charset=utf-8",n}$t()(e,t)}(ne);var ie=function(){var t=At()(bt.a.mark(function t(e,n,a){var r,i,s,l,c,p,h,f;return bt.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(oe||(oe=new ee),r=new xt.a,i=function t(e,n){var i=se(n)?n.toString():"";if("object"===(void 0===e?"undefined":u()(e))){var s=o()(e),l=s.find(function(t){return e[t]&&se(e[t].title)&&s.length>1});for(var c in se(l)&&se(e.title)&&oe.createFold(e.title.toString(),n),e)if("object"===u()(e[c])&&e[c]&&!e[c].data)t(e[c],e.title);else if(c.match(".png")&&e[c])oe.addPng((se(e.title)?e.title.toString().replace("|","_")+"_":"")+c,e[c].split(",")[1],i||"");else if(c.match(".csv")&&e[c]){var p=c+(n?"_"+n:""),h=r.get(p)||new re(c,i||"",!0);h.add(se(e.title)?e.title.toString().replace("|","_"):"",a?a(e[c]):e[c]),r.set(p,h)}else if(Array.isArray(e[c])&&e[c].length>0){var f=!0,m=!1,v=void 0;try{for(var g,b=d()(e[y]);!(f=(g=b.next()).done);f=!0){var y=g.value;t(y,e.title)}}catch(t){m=!0,v=t}finally{try{!f&&b.return&&b.return()}finally{if(m)throw v}}}}},s=!0,l=!1,c=void 0,t.prev=6,p=d()(e);!(s=(h=p.next()).done);s=!0)f=h.value,i(f),r.forEach(function(t,e){var n=t.getData();oe.addFile(n.name,n.data,n.into)}),r=new xt.a;t.next=14;break;case 10:t.prev=10,t.t0=t.catch(6),l=!0,c=t.t0;case 14:t.prev=14,t.prev=15,!s&&p.return&&p.return();case 17:if(t.prev=17,!l){t.next=20;break}throw c;case 20:return t.finish(17);case 21:return t.finish(14);case 22:return t.prev=22,t.next=25,oe.save(n);case 25:oe=null,t.next=31;break;case 28:t.prev=28,t.t1=t.catch(22),console.log(t.t1);case 31:return t.abrupt("return",!0);case 32:case"end":return t.stop()}},t,this,[[6,10,14,22],[15,,17,21],[22,28]])}));return function(e,n,a){return t.apply(this,arguments)}}(),oe=null;function se(t){return""!==t&&null!==t&&void 0!==t&&!_t()(t)}function le(t){return function(e){return null==e||""===e?function(){return!0}:((e.indexOf(",")>-1||e.indexOf("~")>-1)&&(e=ce(e)),"string"==typeof e&&(e=+e),t.bind(null,e))}}var ce=function(t){return t.split(",").map(function(t){return t.indexOf("~")>0?t.split("~").map(function(t){return+t}):+t})},ue={greater:le(function(t,e){return e>t}),less:le(function(t,e){return e=t}),lessOrEqual:le(function(t,e){return e<=t}),notEqual:le(function(t,e){return e!==t}),in:le(function(t,e){for(var n=0;n=e)return!0}else if(a===e)return!0}return!1}),notIn:function(t){return ue.in(t)}};var pe={iv:function(t,e,n){var a=!0;for(var r in t)r.toLowerCase().match("iv")&&!r.toLowerCase().match("_disable")&&(a=e(parseFloat(t[r])));return a},anonym_index:function(t,e,n){return e(t._anony_index)}},de={components:{Heading:St,TableForm:Tt,Logic:Dt,Files:Pt},props:{tableData:{type:Array,default:function(){return[]}},downloadList:{type:Array,default:function(){return[]}},useLogic:{type:[Boolean,Object],default:!1}},data:function(){return{visible:!1,loading:!1,variableNames:[],logics:[],logicErrorMsg:"",filesErrorMsg:""}},computed:{disabledDownload:function(){return!(!this.logicErrorMsg&&!this.filesErrorMsg)}},watch:{useLogic:{handler:function(t){if(!t)return[];var e=[];for(var n in this.useLogic)if(this.useLogic.hasOwnProperty(n)){var a=this.useLogic[n];a&&e.push({label:n,checked:!1,operator:"greater",condition:"",variableType:a.variableType})}this.logics=e},immediate:!0},tableData:{handler:function(t){this.variableNames=t.map(function(t){return{origin:t.variable,modified:""}})},immediate:!0},logics:{handler:function(){this.logicErrorMsg=""},deep:!0,immediate:!0}},methods:{onLogicError:function(t){t?this.logicErrorMsg=t:this.$emit("filterLogic",this.filterLogics())},logicError:function(t){this.logicErrorMsg=t?"":"no variable matches logic"},handleFilesSelect:function(){this.downloadList.some(function(t){return t.checked})?this.filesErrorMsg="":this.filesErrorMsg="* at least one option selected"},filterLogics:function(){return this.logics.filter(function(t){return t.checked&&""!==t.condition}).map(function(t){return function(t,e){return function(n){return pe[t.label](n,ue[t.operator](t.condition),e)}}(t,function(e){return e[t.label]})})},filterTabelByLogic:function(t){var e,n=Object(g.a)(t),a=Array.isArray(n.data)?n.data:[n.data],r=this.filterLogics();return a.forEach(function(t,e){t.index=e}),e=r.reduce(function(t,e){return t.filter(function(t){return e(t)})},a),n.data=e,n},show:function(){var t=this;this.visible=!0,this.logicErrorMsg="",this.$nextTick(function(){t.handleFilesSelect()})},handleDownload:function(){var t=this,e=this.variableNames,n=this.downloadList;this.loading=!0;var a={},r=[];n.forEach(function(t,e){t.checked&&r.push(t.filename)});var i=[],o=!0,s=!1,l=void 0;try{for(var c,u=d()(e);!(o=(c=u.next()).done);o=!0){var p=c.value;p.modified&&i.push(p)}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}a.imply=i,a.compare=this.filterLogics(),a.needExport=r,console.log(this),this.$nextTick(function(){setTimeout(function(){t.$emit("download",a)},200)})},downloadFiles:function(t,e){var n=this,a=this.getImplying();a&&t.push(a),ie(t,e,"").then(function(t){n.loaded()})},loaded:function(){this.loading=!1},getImplying:function(){if(this.$refs.tableImplying)return this.$refs.tableImplying.tableDownload()}}},he=(n("MG1N"),Object(N.a)(de,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dialog",attrs:{visible:t.visible,"append-to-body":"",title:"Report Download Setting"},on:{"update:visible":function(e){t.visible=e}}},[n("div",{staticClass:"wrap"},[n("heading",{attrs:{title:"Modify the variable names as needed:",tip:"(The changes will only be applied to the downloaded files)"}}),t._v(" "),n("table-form",{ref:"tableImplying",attrs:{data:t.variableNames},on:{"update:data":function(e){t.variableNames=e}}}),t._v(" "),n("div",{staticClass:"divider"}),t._v(" "),t.useLogic?[n("heading",{attrs:{title:"Add logic for variable:",tip:"(files will contain variables that match the logic only)"}},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.logicErrorMsg,expression:"logicErrorMsg"}],staticClass:"error",attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.logicErrorMsg))])]),t._v(" "),t._l(t.logics,function(e){return n("logic",t._b({key:e.label,on:{error:t.onLogicError}},"logic",e,!1,!0))}),t._v(" "),n("div",{staticClass:"divider"})]:t._e(),t._v(" "),n("heading",{attrs:{title:"Select the files you want to download:"}},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.filesErrorMsg,expression:"filesErrorMsg"}],staticClass:"error",attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.filesErrorMsg))])]),t._v(" "),n("files",{attrs:{files:t.downloadList},on:{change:t.handleFilesSelect}})],2),t._v(" "),n("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"button",attrs:{disabled:t.disabledDownload,type:"primary"},on:{click:t.handleDownload}},[t._v("Download")]),t._v(" "),n("el-button",{staticClass:"button",on:{click:function(e){t.visible=!1}}},[t._v("Cancel")])],1)])},[],!1,null,"3bbf5dd1",null));he.options.__file="index.vue";var fe=he.exports,me=n("sxGJ"),ve=n.n(me),ge={props:{code:{type:String,default:""}},data:function(){return{visible:!1,isCopied:!1,copyFailed:!1,inited:!1,codeContent:""}},computed:{btnText:function(){return this.copyFailed?"copy faild":this.isCopied?"Copied!":"Copy"}},watch:{code:{handler:function(t){this.codeContent=t},immediate:!0}},methods:{initClipboard:function(){var t=this,e=new ve.a(this.$refs.btn);e.on("success",function(){t.isCopied=!0,t.copyFailed=!1,clearTimeout(t.timer),t.timer=setTimeout(function(){t.isCopied=!1},3e3)}),e.on("error",function(){t.copyFailed=!0}),this.$once("hook:beforeDestory",function(){e.destory()})},onClick:function(t){this.isCopied&&t.stopImmediatePropagation()},onOpen:function(){var t=this;this.inited||(this.$nextTick(function(){t.initClipboard()}),this.inited=!0)},show:function(t){this.codeContent=t,this.visible=!0},hide:function(){this.visible=!1}}},be=(n("jecE"),Object(N.a)(ge,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{staticClass:"dialog",attrs:{visible:t.visible,"append-to-body":"",title:"Data Download"},on:{"update:visible":function(e){t.visible=e},open:t.onOpen}},[n("div",{staticClass:"wrap"},[n("div",{staticClass:"header"},[n("div",[t._v("Use the script below to download data")]),t._v(" "),n("div",{ref:"btn",staticClass:"copy",attrs:{"data-clipboard-text":t.codeContent},on:{click:t.onClick}},[t._v(t._s(t.btnText))])]),t._v(" "),n("div",{staticClass:"content"},[n("div",{staticClass:"code"},[t._v(t._s(t.codeContent))])])])])},[],!1,null,"27385d1e",null));be.options.__file="index.vue";var ye=be.exports,xe=n("ZU66"),we={name:"JobDetails",components:{IconHoverAndActive:y.default,Dag:I.a,BreadcrumbExt:_.a,OutputDialog:mt,OverflowTooltip:vt.a,DownloadReport:fe,DownloadData:ye,Confirm:xe.a,Notes:function(){return n.e("chunk-0de5").then(n.bind(null,"0VJA"))}},data:function(){return{jobId:this.$route.query.job_id,role:this.$route.query.role,partyId:this.$route.query.party_id,jobFrom:this.$route.query.from,summaryLoading:!0,msgLoading:!1,paramList:[],roleList:[],jobInfo:{},componentName:"",lastStatus:"",logLoading:!1,dagInstance:null,graphOptions:x,treeOptions:w.a,doubleBarOptions:A.a,outputGraphOptions:x,paraLoading:!1,DAGData:null,outputVisible:!1,modelOutputType:"",outputTitle:"",currentTab:"model",logWebsocket:null,timer:null,modelOutputShowing:!0,dataOutputShow:!0,noteHint:!1,notePopover:!1,defaultPropsForTree:{label:"label",children:"children"},treeUnfoldAll:!1,treeRefresh:!0,foldButtonForNote:!0,foldPForNote:"notes-content-p",parameterCount:0,scrollTopPos:0,refreshCheck:!1,scrollHoldChange:!1,breads:[],popover:[],downloadList:[],useLogic:!1,variableMap:[]}},computed:v()({},Object(j.c)(["modelNameMap","metricTypeMap","icons","evaluationInstances"]),Object(j.c)("job",{oldJobId:"jobId"}),Object(j.d)("job",["job"]),{otherRoleList:function(){for(var t=JSON.parse(f()(this.roleList)),e=0;e0&&e;var a=[];this.$refs.outputDialog.getVariableMap().forEach(function(t){a.push({variable:t})}),this.variableMap=a,this.$refs.downloadReport.show()}},transformDownloadList:function(t){return t.map(function(t){var e=t.name,n=t.type;return{filename:e+"."+n,name:e,type:n,checked:!0}})},handleBeforeDownload:function(t){var e=this;this.$nextTick(function(){e.$refs.outputDialog.allSteps(t)})},handleDownloadData:function(){var t=this;Object(b.c)({job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName}).then(function(e){t.$refs.downloadData&&t.$refs.downloadData.show(e.data)})},jobRetry:function(t){var e,n=this,a=["The job will continue from where it "+this.jobInfo.status,"it may take few seconds to update job status."];(e=this.$refs.confirm).confirm.apply(e,a).then(function(){n.restartJobWebsocket(t)})},downloadFile:function(t){this.$refs.downloadReport.downloadFiles(t,this.jobId+"_"+this.componentName)},downloadJobConfig:function(t){"arbiter"===this.role.toLowerCase()&&"runtime"===t||Object(b.e)({jobId:this.jobId,role:this.role,partyId:this.partyId,type:t})}})},Ae=(n("Bw9L"),Object(N.a)(we,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container details-container bg-dark",on:{click:function(e){t.notePopover=!1}}},[n("breadcrumb-ext",{attrs:{breads:t.breads}}),t._v(" "),n("div",{staticClass:"flex flex-row space-between app-content"},[n("section",{staticClass:"section-wrapper prop-section"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.summaryLoading,expression:"summaryLoading"}],staticClass:"section-view job-summary section-summary"},[n("h3",{staticClass:"section-title"},[t._v("Job Summary")]),t._v(" "),n("ul",{staticClass:"summary-items"},[n("li",[n("div",{staticClass:"prop"},[t._v("job ID:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobId))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("status:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.status))])]),t._v(" "),n("li",{staticStyle:{position:"relative"}},[n("div",{staticClass:"prop"},[t._v("notes:")]),t._v(" "),n("notes",{ref:"notes",attrs:{"job-info":t.jobInfo}})],1),t._v(" "),t._m(0),t._v(" "),n("li",{staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v("role:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.role))])]),t._v(" "),n("li",{staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v("party_ID:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.partyId))])]),t._v(" "),n("li",{staticClass:"inline-row",staticStyle:{"margin-bottom":"0px"}},[n("div",{staticClass:"prop inline-prop"},[t._v("dataset:")]),t._v(" "),n("div",{staticClass:"flex flex-col flex-start prop-content prop-dataset"},[t._l(t.showingRoleList,function(e,a){return n("overflow-tooltip",{key:a,attrs:{content:e,placement:"right"}},[n("p",{staticClass:"prop-dataset-item"},[t._v(t._s(e))])])}),t._v(" "),t.thisRoleList.length>3?n("el-popover",{attrs:{placement:"right-start",title:"",width:"250",trigger:"click"}},[n("div",{staticClass:"flex flex-col flex-start"},t._l(t.thisRoleList,function(e,a){return n("span",{key:a,staticStyle:{"margin-bottom":"6px"}},[t._v(t._s(e))])})),t._v(" "),n("p",{staticClass:"text-primary tip",staticStyle:{"margin-bottom":"12px"},attrs:{slot:"reference"},slot:"reference"},[t._v("more")])]):t._e()],2)]),t._v(" "),t._l(t.otherRoleList,function(e,a){return n("li",{key:a,staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v(t._s(e.role.toLowerCase()+":"))]),t._v(" "),n("div",{staticClass:"flex flex-center prop-content"},[n("p",{staticClass:"value"},[t._v(t._s(e.datasetList.length))]),t._v(" "),n("el-popover",{attrs:{placement:"right-start",title:"",width:"250",trigger:"click"}},[n("div",[n("el-row",[n("el-col",{attrs:{span:8}},[n("p",{staticStyle:{"margin-bottom":"8px","font-weight":"bold",color:"#7f7d8e",height:"18px","line-height":"18px"}},[t._v("party_ID")])]),t._v(" "),n("el-col",{attrs:{span:12,offset:4}},[n("p",{staticStyle:{"margin-bottom":"8px","font-weight":"bold",color:"#7f7d8e",height:"18px","line-height":"18px"}},[t._v("Dataset")])])],1),t._v(" "),t._l(e.datasetList,function(e,a){return n("el-row",{key:a},[n("el-col",{attrs:{span:8}},[n("p",[t._v(" "+t._s(e.name)+" ")])]),t._v(" "),n("el-col",{attrs:{span:12,offset:4}},[n("div",{staticClass:"flex flex-col"},t._l(t.checkDataSetForOther(e.dataset),function(e,a){return n("p",{key:a},[t._v("\n "+t._s(e)+"\n ")])}))])],1)})],2),t._v(" "),n("p",{staticClass:"text-primary tip",attrs:{slot:"reference"},slot:"reference"},[t._v("view")])])],1)])}),t._v(" "),n("li",{staticClass:"inline-row download-link",on:{click:function(e){t.downloadJobConfig("dsl")}}},[t._v("\n Job DSL \n "),n("i",{staticClass:"el-icon-download"})]),t._v(" "),n("li",{staticClass:"inline-row download-link",class:{"disable-color":"arbiter"===t.role.toLowerCase()},on:{click:function(e){t.downloadJobConfig("runtime")}}},[t._v("\n Runtime config \n "),n("i",{staticClass:"el-icon-download"})]),t._v(" "),t._m(1),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("submission time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.submmissionTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("start time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.startTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("end time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.endTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("duration:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.duration))])])],2),t._v(" "),n("button",{staticClass:"dashboard-btn",on:{click:t.toDashboard}},[t._v("dashboard")])])]),t._v(" "),n("section",{staticClass:"section-wrapper echart-section"},[n("div",{staticClass:"output-wrapper flex flex-col"},[n("h3",{staticClass:"section-title"},[t._v("Outputs From Job")]),t._v(" "),n("div",{staticClass:"flex flex-row output-content"},[n("div",{staticClass:"dag-wrapper overflow-auto"},[t._m(2),t._v(" "),t.DAGData?n("div",{staticClass:"echart-wrapper"},[n("dag",{ref:"dagForJobFlow",attrs:{"dag-info":t.DAGData},on:{choose:t.getDagInstance,retry:t.jobRetry}})],1):t._e()]),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.paraLoading,expression:"paraLoading"}],staticClass:"para-wrapper flex flex-col space-between"},[n("div",{staticClass:"flex flex-col flex-start para-warpper-content",staticStyle:{width:"100%"}},[n("h4",{staticClass:"para-title"},[t._v("Parameter("+t._s(t.parameterCount)+")")]),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.msgLoading,expression:"msgLoading"}],staticClass:"msg bg-dark",staticStyle:{display:"flex"}},[t.treeRefresh?n("el-tree",{ref:"foldParameterTree",staticClass:"bg-dark",attrs:{data:t.paramList,"empty-text":"","default-expand-all":t.treeUnfoldAll,props:t.defaultPropsForTree}}):t._e(),t._v(" "),t.paramList&&t.paramList.length>0?n("div",{staticClass:"unfold-tree",on:{click:function(e){return e.stopPropagation(),t.unfoldAll(e)}}},[t._v(t._s(t.treeUnfoldAll?"fold all":"unfold all"))]):t._e()],1)]),t._v(" "),n("el-button",{staticStyle:{height:"32px","line-height":"0","font-size":"14px","border-radius":"2px",width:"100%"},attrs:{disabled:!t.componentName,type:"primary",round:""},on:{click:t.visualization}},[t._v("\n view the outputs\n ")])],1)])])])]),t._v(" "),n("output-dialog",{ref:"outputDialog",attrs:{title:t.outputTitle,visible:t.outputVisible,"model-type":t.modelOutputType,"component-name":t.componentName,"job-id":t.jobId,role:t.role,"party-id":t.partyId,status:t.jobInfo.status},on:{closeDialog:t.closeDialog,download:t.handleDownloadDialog,filterLogic:t.handleFilterLogic,cReporter:t.downloadFile,dReporter:t.downloadFile}}),t._v(" "),n("download-report",{ref:"downloadReport",attrs:{"download-list":t.downloadList,"use-logic":t.useLogic,"table-data":t.variableMap},on:{download:t.handleBeforeDownload,filterLogic:t.handleFilterLogic}}),t._v(" "),n("download-data",{ref:"downloadData"}),t._v(" "),n("canvas",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticStyle:{width:"1px",height:"1px"},attrs:{id:"historyForDetail",width:"1",height:"1"}}),t._v(" "),n("confirm",{ref:"confirm",staticClass:"confirm-dialog"})],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("hr",{staticClass:"hr-style"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("hr",{staticClass:"hr-style"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex flex-row flex-center justift-center"},[e("h4",{staticClass:"output-title"},[this._v("Main Graph")]),this._v(" "),e("p",{staticClass:"output-desc"},[this._v("Click component to view details")])])}],!1,null,null,null));Ae.options.__file="index.vue";e.default=Ae.exports},nwjN:function(t,e,n){var a={"./_binaryEvaluation.js":"eIvB","./_evaluation.js":"HoRF","./_multiEvaluation.js":"Ix4U","./accuracyEvaluation.js":"TD7w","./clusteringEvaluationSummary.js":"l2+S","./confusionMat.js":"6vOt","./contingencyMatrix.js":"MTjI","./curves.js":"BCMh","./dataInfo.js":"RAVm","./dataSplit.js":"rS0t","./dbi.js":"rPJb","./distanceMeasure.js":"X6wx","./evaluationSummary.js":"sYD+","./gainEvaluation.js":"0gb5","./ksEvaluation.js":"1YGu","./liftEvaluation.js":"NJeE","./loss.js":"sD/X","./others.js":"lSAi","./ovr.js":"0wwb","./ovrEvaluation.js":"gPpF","./performanceSum.js":"OwHS","./precisionMultiEvaluation.js":"wLBe","./psi.js":"F5Pm","./recallMultiEvaluation.js":"hnh8","./rocEvaluation.js":"1sAi","./sampleTable.js":"xik3","./sampleText.js":"0sA9","./sampleWeight.js":"UJde","./sbtFeatureTransformer.js":"8NUx","./stepwise.js":"lE/D","./warmStart.js":"Gvav"};function r(t){var e=i(t);return n(e)}function i(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(a)},r.resolve=i,t.exports=r,r.id="nwjN"},orkn:function(t,e,n){"use strict";var a=n("bF4i");n.n(a).a},"p/T2":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".report-nav[data-v-74334c8e] {\n display: inline;\n line-height: 26px;\n padding-left: 14px;\n background-color: #fff;\n}\n.report-nav span[data-v-74334c8e] {\n width: 80px;\n font-size: 12px;\n font-weight: bold;\n color: #4159d1;\n text-align: center;\n display: inline-block;\n}\n.report-nav .nav-item-wrap[data-v-74334c8e] {\n background-color: #ebedf0;\n width: auto;\n margin-right: 24px;\n padding-left: 20px;\n padding-right: 12px;\n}\n.report-nav .nav-item-wrap .title[data-v-74334c8e] {\n color: #6a6c75;\n font-weight: bold;\n min-width: 25px;\n}\n.report-nav .nav-item-wrap .nav-item[data-v-74334c8e] {\n position: relative;\n cursor: pointer;\n}\n.report-nav .nav-item-wrap .nav-item[data-v-74334c8e]:hover::after {\n content: ' ';\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n width: 80%;\n margin: auto;\n height: 1px;\n background-color: #6d71d8;\n}\n.operation-btnicon[data-v-74334c8e] {\n display: inline-block;\n vertical-align: middle;\n width: 18px;\n height: 18px;\n line-height: 1;\n}\n.disable-div[data-v-74334c8e] {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n}\n.disable-color[data-v-74334c8e] {\n position: relative;\n color: #c6c8cc !important;\n cursor: auto;\n}\n",""])},qVEv:function(t,e,n){var a=n("0snz");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("7870dd77",a,!0,{})},rPJb:function(t,e,n){"use strict";n.r(e);var a=n("7Qib"),r=n("HoRF");e.default=function(t){return Object(r.default)("DBI",{yAxis:{name:"DBI"},xAxis:{minInterval:1}},void 0,function(){return function(t){var e="",n=t[0].axisValue;return e+="iteration: "+n+"
",t.forEach(function(n,r){var i=n.data[1];e+="DBI"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},rS0t:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t,e){var n=e.model_type.toLowerCase().indexOf("homo")<0,r=t.data_split.meta,i=r.data_split_count_info,o=r.data_split_label_info,s=r.data_split_ratio_info,l=r.stratified,c=[],u={_total:!0},p=function(t,e,n){return t&&(e&&"guest"===n||!e)?[{type:"index",label:"index"},Object(a.createHeader)("layer"),Object(a.createHeader)("original count","original"),Object(a.createHeader)("train count","train"),Object(a.createHeader)("validate count","validate"),Object(a.createHeader)("test count","test")]:[{type:"index",label:"index"},Object(a.createHeader)("dataset"),Object(a.createHeader)("count"),Object(a.createHeader)("ratio")]}(l,n,e.role);if(l&&(n&&"guest"===e.role||!n))if(o.continuous_label)for(var d=function(t){var e=o.split_points[t],n="",a={};n=0===t?"(-∞,"+e+"]":t===o.split_points.length?"("+o.split_points[t-1]+",+∞)":"("+o.split_points[t-1]+","+e+"]",p.forEach(function(e){"index"!==e.type&&("layer"===e.prop?(a[e.prop]=n,0===t&&(u[e.prop]="Total")):(a[e.prop]=o[e.prop][t],0===t&&("original"!==e.prop?u[e.prop]=i[e.prop]+"("+(100*s[e.prop]).toFixed(4)+"%)":u[e.prop]=i[e.prop])))}),c.push(a)},h=0;h",t.forEach(function(n,r){var i=n.data[1];e+="loss"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},"sYD+":function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("sk9p"),o=n.n(i),s=n("7Qib"),l=n("QdnX");e.default=function(t,e,n){var a=[Object(l.createHeader)("metric_name",""),Object(l.createHeader)("metric_namespace","dataset",{sortable:!n})],i=Object(l.flattenToTable)(t,function(t,e,i,c,u){0===u&&Object(l.each)(t.data,function(t){var e=o()(t,1)[0];a.push(Object(l.createHeader)(e,e,{sortable:!n}))});var p={metric_name:e.replace(i.metric_namespace+"_",""),metric_namespace:c};return r()(p,Object(s.d)(t.data))}),c={type:"form",props:{form:[{type:"title",props:{title:n?"Evaluation Scores":"Performance Scores"}}]}};Object(l.sortByName)(i,"metric_name");var u=[c,{type:"table",props:{header:a,data:i,pageSize:20,zeroFormat:"0",export:n?"evaluation_scores":"performance_scores"}}];return e&&(a.push(Object(l.createHeader)("precision","precision"),Object(l.createHeader)("recall","recall")),c.props.form.splice(1,1,{type:"f-range",props:{label:"Quantile",max:1,min:0,step:.05,value:.5,tip:"Update Precision and Recall under the new quantile condition"}}),Object(l.each)(i,function(t){var n=e[t.metric_namespace]&&e[t.metric_namespace][t.metric_name+"_quantile_pr"];if(n&&n.meta){var a=n.meta;r()(t,{thresholds:a.thresholds,precision:a.p_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]}),recall:a.r_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]})})}})),u}},saIk:function(t,e,n){"use strict";n.r(e),n.d(e,"MODEL_TYPES",function(){return a}),n.d(e,"METRIC_TYPES",function(){return r});var a={HomoLR:"HomoLR",HeteroLR:"HeteroLR",HeteroLinR:"HeteroLinR",LocalBaseline:"LocalBaseline",DataIO:"DataIO",Evaluation:"Evaluation",HeteroSecureBoost:"HeteroSecureBoost",HeteroFeatureBinning:"HeteroFeatureBinning",HeteroFeatureSelection:"HeteroFeatureSelection",FeatureScale:"FeatureScale",FederatedSample:"FederatedSample",OneHotEncoder:"OneHotEncoder",HeteroPoisson:"HeteroPoisson",HomoNN:"HomoNN",HeteroNN:"HeteroNN",HeteroPearson:"HeteroPearson",HomoSecureboost:"HomoSecureboost",HeteroFM:"HeteroFM",HomoFM:"HomoFM",HeteroMF:"HeteroMF",HeteroSVD:"HeteroSVD",HeteroSVDPP:"HeteroSVDPP",HeteroGMF:"HeteroGMF",SBTFeatureTransformer:"SBTFeatureTransformer"},r={DATAIO_TABLE:"DATAIO_TABLE",SCALE:"SCALE",LOSS:"LOSS",DATAIO_TEXT:"DATAIO_TEXT",SAMPLE_TEXT:"SAMPLE_TEXT",SAMPLE_TABLE:"SAMPLE_TABLE",INTERSECTION:"INTERSECTION",KS_EVALUATION:"KS_EVALUATION",ROC_EVALUATION:"ROC_EVALUATION",LIFT_EVALUATION:"LIFT_EVALUATION",GAIN_EVALUATION:"GAIN_EVALUATION",ACCURACY_EVALUATION:"ACCURACY_EVALUATION",RECALL_BINARY_EVALUATION:"RECALL_BINARY_EVALUATION",PRECISION_BINARY_EVALUATION:"PRECISION_BINARY_EVALUATION",RECALL_MULTI_EVALUATION:"RECALL_MULTI_EVALUATION",PRECISION_MULTI_EVALUATION:"PRECISION_MULTI_EVALUATION",EVALUATION_SUMMARY:"EVALUATION_SUMMARY",UNION:"UNION",UPLOAD:"UPLOAD",DOWNLOAD:"DOWNLOAD",RSA:"RSA",STEPWISE:"STEPWISE",F1_SCORE:"F1_SCORE",CONFUSION_MAT:"CONFUSION_MAT",QUANTILE_PR:"QUANTILE_PR",PSI:"PSI",CLUSTERING_EVALUATION_SUMMARY:"CLUSTERING_EVALUATION_SUMMARY",DISTANCE_MEASURE:"DISTANCE_MEASURE",DBI:"DBI",CONTINGENCY_MATRIX:"CONTINGENCY_MATRIX",SAMPLE_WEIGHT:"SAMPLE_WEIGHT",PERFORMANCE_SUM:"PERFORMANCE_SUM",SBT_FEATURE_TRANSFORMER:"SBT_FEATURE_TRANSFORMER",OVR:"ovr"}},sqJL:function(t,e,n){"use strict";function a(){return{backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n")}),e}},series:{type:"tree",data:[],left:"2%",right:"2%",top:"7%",bottom:"7%",symbol:"rect",symbolSize:[110,70],layout:"orthogonal",orient:"vertical",lineStyle:{color:"#e8e8ef",width:2},itemStyle:{normal:{color:"transparent",borderColor:"transparent"}},expandAndCollapse:!1,label:{position:"inside",backgroundColor:"rgb(73,78,206)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,align:"center",fontSize:12,borderWidth:1,padding:[3,1],width:105,height:60,lineHeight:16,rich:{}},leaves:{label:{position:"inside",backgroundColor:"rgb(146,149,226)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,fontSize:12,align:"center",borderWidth:1,width:105,height:60,lineHeight:16,rich:{}}},animationDurationUpdate:750}}}n.d(e,"b",function(){return a});var r={backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n")}),e}},series:{type:"tree",data:[],left:"2%",right:"2%",top:"7%",bottom:"7%",symbol:"rect",symbolSize:[110,70],layout:"orthogonal",orient:"vertical",lineStyle:{color:"#e8e8ef",width:2},itemStyle:{normal:{color:"transparent",borderColor:"transparent"}},expandAndCollapse:!1,label:{position:"inside",backgroundColor:"rgb(73,78,206)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,align:"center",fontSize:12,borderWidth:1,padding:[3,1],width:105,height:60,lineHeight:16,rich:{}},leaves:{label:{position:"inside",backgroundColor:"rgb(146,149,226)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,fontSize:12,align:"center",borderWidth:1,width:105,height:60,lineHeight:16,rich:{}}},animationDurationUpdate:750}};e.a=r},tPEI:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("7Qib"),o=n("saIk");e.default=function(t,e,n,a,s,l,c){if(0===t.length)return[];for(var u={},p=0;p2&&void 0!==arguments[2]?arguments[2]:0;c++;var p=0,d=function(t){var o=t.isLeaf,s=t.id;v=a[t.fid],g=m(t);var c=t.sitename.split(":"),u=r()(c,2);b=u[0],y=u[1];var p="ID: "+s+"\n";return b!==e||y!==n||o||f?f&&!o&&v&&(p+=v+" <= "+g,-1===t.missingDir&&(p+="\nis a missing value"),p+="\n"):(p+=v+" <= "+g,1!==l[s]&&(p+="\nor missing"),p+="\n"),(o&&"guest"===e||o&&f)&&(p+="weight: "+Object(i.b)(t.weight)+"\n"),f||(p+=(b&&b.toUpperCase())+": "+y),{treeid:s,name:p,children:[]}}(s);o.push(d);var x=u[s.leftNodeid],w=u[s.rightNodeid];return x&&(p+=t(d.children,x,c)),w&&(p+=t(d.children,w,c)),x||w?x&&w||(p+=170):p=170,c>h&&(h=c),p}(x,t[0]);return{data:x,size:t.length,maxDepth:h,treeWidth:w}}},tlOW:function(t,e,n){var a=n("5OK2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("6d07675c",a,!0,{})},uNnm:function(t,e,n){"use strict";n.r(e),n.d(e,"explainCurves",function(){return m});var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("ODRq"),l={$curves:["roc","ks","lift","gain",["precision","recall"],"accuracy"],$loss:["loss"],$stepwise:["stepwise"],$dbi:["dbi"],$iter:["init_iter"]},c=new(n.n(s).a);function u(t){return{roc:"ROC",ks:"K-S",lift:"Lift",gain:"Gain",precision_recall:"Precision Recall","precision recall":"Precision Recall",accuracy:"Accuracy"}[t.toLowerCase()]||t}function p(t,e){var n=["train","val","predict"];return t.sort(function(t,a){var r=d(e?e(t):t,n),i=d(e?e(a):a,n);return r>=0&&i>=0?r>i?1:-1:0})}function d(t,e){for(var n=0,a=e.length;n1&&void 0!==arguments[1]?arguments[1]:"|";if(!Array.isArray(t))return t;var n="";return t.forEach(function(t){n+=(n?e:"")+(Array.isArray(t)?h(t,e):t)}),n}function f(t,e,n,a){var i=c.get(t)||{tabs:[],property:{},group:[]},s=l["$"+t][a];Array.isArray(s)&&(s=h(s,"_"));var u=function(t,e,n){var a=l["$"+t][n],r="";if(Array.isArray(a)){var i=!0,s=!1,c=void 0;try{for(var u,p=o()(a);!(i=(u=p.next()).done);i=!0){var d=u.value;if((r=e.split("_"+d)).length>=2)break}}catch(t){s=!0,c=t}finally{try{!i&&p.return&&p.return()}finally{if(s)throw c}}}else r=e.split("_"+a);return r[0]}(t,e,a);!function t(){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:[];var o=n.length;if(0===n.length)throw TypeError("There has necessary param do not get");var s=i.find(function(t){return t.label===n[0]});s||(s={label:n[0]},i.push(s));o-1<=0?s.value=n[0]:o-1==1?s.value=n[1]:(s.children=s.children||[],t.apply(void 0,[s.children].concat(r()(n.slice(1)))));return s}(i.tabs,s.replace("_"," ").toUpperCase(),n,s+"_"+n),i.property[s+"_"+n]=b(i.property[s+"_"+n],n,e),i.group.indexOf(u)<0&&i.group.push(u),c.set(t,i)}var m=function(t){var e=t.split("_");return{nameSpace:e.splice(e.length-1),name:h(e,"_")}};function v(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"others",a="others"!==n?function t(e,n){var a=e.match(new RegExp("("+h(n)+")","g"));if(a)for(var r=0;r=0||a[0]===i)return r}return-1}(t.toString().toLowerCase(),l["$"+n]):0,r=["curves","loss","dbi"].indexOf(n)>=0?"curves":"others";return a>=0&&("others"===r?function(t,e,n){var a=c.get(t)||{property:{}};b(a.property,n,e),c.set(t,a)}(n,t,e):f(n,t,e,a),!0)}function g(t,e){var n=!0,a=!1,r=void 0;try{for(var i,s=o()(t);!(n=(i=s.next()).done);n=!0){var l=i.value;v(l,e,"curves")||v(l,e,"loss")||v(l,e,"stepwise")||v(l,e,"dbi")||v(l,e,"iter")||v(l,e)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],n=arguments[2];return t[e]=t[e]||[],t[e].push(n),t}e.default=function(t){for(var e in c.clear(),t)g(t[e],e);var n=[];c.forEach(function(t,e){var a={name:e,options:t.property};t.tabs&&(a.tabs="curves"===e?function(t){var e=function(t,e){for(var n=0;n=e(n.label,l.$curves)?1:-1}),t}(t.tabs):t.tabs),t.group&&(a.group=t.group),n.push(a)});var a=n.find(function(t){return"curves"===t.name});if(a){var r=function(t){var e=["roc","ks","lift","gain","precision_recall","precision recall","accuracy"];return t.sort(function(t,n){var a=e.indexOf(t.label.toLowerCase()),r=e.indexOf(n.label.toLowerCase());return a<0||r<0?0:a>r?1:-1})}(a.tabs),i=!0,s=!1,d=void 0;try{for(var f,m=o()(r);!(i=(f=m.next()).done);i=!0){var v=f.value;v.label=u(v.label),v.children&&(v.children=p(v.children,function(t){return t.label}))}}catch(t){s=!0,d=t}finally{try{!i&&m.return&&m.return()}finally{if(s)throw d}}}return n.sort(function(t,e){return"loss"===t.name?-1:"loss"===e.name?1:"others"===t.name?-1:"others"===e.name?1:"curves"===t.name?1:"curves"===e.name?-1:"stepwise"===t.name?1:"stepwise"===e.name?-1:0}),n}},"uy/s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".container[data-v-2d801b92] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.buttonList[data-v-2d801b92] {\n position: absolute;\n bottom: 10px;\n left: 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.buttonList .opera_btn[data-v-2d801b92] {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #f8f8fa;\n margin-bottom: 12px;\n color: #bbbbc8;\n}\n.buttonList .opera_btn[data-v-2d801b92]:hover {\n background-color: #494ece;\n color: #fff;\n}\n.buttonList .opera_btn[data-v-2d801b92]:last-child {\n margin-bottom: 0px;\n}\n",""])},v8Hw:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("QdnX"),u=n("uNnm"),p=n("evsm"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(d={party_id:a,role:i,component_name:s,job_id:l},h=[],f=void 0,n&&!n.msg.match("no data")&&(n=Object(u.default)(n.data),Object(c.each)(n,function(t){"others"===t.name&&(f=(f=Object(p.b)(t.name)).bind(null,t,d))})),!f){t.next=9;break}return t.next=7,f();case 7:m=t.sent,h.push.apply(h,o()(m));case 9:return t.abrupt("return",h);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=d},w5Yh:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B,U;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data,g=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=[],O=void 0,C=void 0,S=void 0,E=[],j=void 0,T=void 0,N=void 0,k=[],L=!1,n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)A=p.d.bind(null,l()({metrics:t.options},w));else if("stepwise"===t.name)L=!0,O=p.d.bind(null,l()({metrics:t.options},w)),S=Object(h.b)(t.name);else if("iter"===t.name)j=p.d.bind(null,l()({metrics:t.options},w)),N=Object(h.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(y(a,l()({metrics:e},w),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),_.push([e,Object(m.createAsyncComponent)(n)])}})),u&&(D=u.weight,R=u.oneVsRestResult,b(x=R?Object(m.oneVsRestResultHandler)(u,i,L):Object(d.isEmpty)(D)?[]:Object(m.weightHandler)(u),u.bestIteration),x.length&&g.push(Object(m.wrapGroupComponent)(x))),_.length&&Object(d.each)(_,function(t){g.push(Object(m.wrapGroupComponent)(t))}),!A){t.next=23;break}return t.next=22,A();case 22:I=t.sent;case 23:if(I&&(F=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),P=F(I.data)||[],(M=(M=[].concat(o()(P))).length>0?Object(m.wrapGroupComponent)(M):null)&&(g.length>1?g.splice(1,0,M):g.push(M))),!O){t.next=28;break}return t.next=27,O();case 27:C=t.sent;case 28:if(S&&(E=S(C,i),g.push.apply(g,o()(E))),!j){t.next=33;break}return t.next=32,j();case 32:T=t.sent;case 33:return N&&(k=N(T),0===g.length?g.push(Object(m.wrapGroupComponent)(k)):g[0].options&&Array.isArray(g[0].options)?(B=g[0].options).unshift.apply(B,o()(k)):Array.isArray(g[0])&&(U=g[0]).unshift.apply(U,o()(k))),t.abrupt("return",g);case 35:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();function b(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var y=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},wLBe:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},woSR:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdWUsWoCQRRFjymthLQWsdnWwBTD2ESwFq20zSfkE/yEfIJtrBTrsLFxmGJA260sbAWrtBsePFMoaxZRMAOPHWbf3HfPXdhKnudcYz1cRaWMkA/xVeqvvkI0H2IbeAeaerQG3pw1X6Uc+RCffIhjIAX2QENL9qm8k56zjnyII5mql2T69GhIX13W5OmsGRU6unSdZKS2ZWoPWACHoAX3BZip281Nwj7OqAt0gG9g4qxZHT69s0ZCfgYGQBX4dNbMCx35EB+BoTrJFAlFTNTZh7NmVxYtUcG6Hm1VILsUraVoy3+MViD4i3au787+R8APTlyX/6EcnzQAAAAASUVORK5CYII="},xRkb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA7UlEQVQ4jdWUMWsCMRiGHx07Ca4OnRyjs0slnYtOLWTRn3A/wZ/gTziXgE6Wzg12cdaMN3XoKji5ngS+cxByPeQGDYTAl/B875NAGnmeU8do1kKpAtLGT8P871xUTRs/BOZAT0p7IHFWbSqBtPHPwAyYAD9AkSYFXoBF2HdW/UZB2vgASICjdF9fNRlLylZYnVWzYq+2y46pha6jiNqnpI2rXQFvv2xt/BvwCpyAlbNqVzy9syrVxveBd+AJ+HZWfZWptYEPSZKJEqLYlWRLZ9WhqlpXgB0p/Qkgu1VtIGrbB1aLAC9qZefu7D8Czj0dkom7hMLUAAAAAElFTkSuQmCC"},xik3:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("QdnX"),o=n("OjIB");e.default=function(t){var e=[],n={},a=[],s=[];return Object(i.each)(t,function(t,n){e.push(t.stratified.meta.name),0===a.length?a=t.stratified.data:function(t,e){Object(i.each)(t,function(t,n){t.push(e[n][1])})}(a,t.stratified.data)}),Object(i.each)(a,function(t,a){var r={};r.label=a,Object(i.each)(e,function(e,n){r[e]=t[n+1]}),n[a]=r,s=s.concat(r)}),n.all=s,[{type:"form",props:{form:function(t){var e=[];return e.push(Object(o.createFormComponent)("f-select","f-selection",{options:r()(t).map(function(t){return Object(o.createOption)(t)}).reverse(),multiple:!1})),e}(n)}},{type:"table",props:{header:[{prop:"label",label:"label",sortable:!0},{prop:"original_count",label:"original_count",sortable:!0},{prop:"sample_count",label:"sample_count",sortable:!0}],data:n,zeroFormat:"0",export:"sample_detail"}}]}},xjht:function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"e",function(){return l});var a=n("t3Un");function r(t){return Object(a.a)({url:"/v1/tracking/component/metrics",method:"post",data:t})}function i(t){return Object(a.a)({url:"/v1/tracking/component/metric_data",method:"post",data:t})}function o(t){return Object(a.a)({url:"/v1/tracking/component/metric_data/batch",method:"post",data:t})}function s(t){return Object(a.a)({url:"/v1/tracking/component/output/data",method:"post",data:t})}function l(t){return Object(a.a)({url:"/v1/tracking/component/output/model",method:"post",data:t})}},zISJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".refresh-container[data-v-40f3edcb] {\n margin-right: 24px;\n}\n",""])},"zTp/":function(t,e,n){"use strict";n.r(e);var a=n("UCI/");e.default=a.default}}]); \ No newline at end of file diff --git a/src/main/resources/static/static/js/chunk-0dbc.73ebe113.js b/src/main/resources/static/static/js/chunk-0dbc.73ebe113.js deleted file mode 100644 index 8b848062..00000000 --- a/src/main/resources/static/static/js/chunk-0dbc.73ebe113.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-0dbc"],{"+2Yw":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".app-content {\n height: calc(100% - 36px);\n font-size: 12px;\n}\n.details-container {\n height: 100%;\n}\n.details-container .top {\n padding-bottom: 5px;\n margin-bottom: 20px;\n line-height: 25px;\n border-bottom: 1px solid;\n}\n.details-container .top .link {\n color: #409eff;\n}\n.details-container .dashboard-link {\n color: #494ece;\n font-size: 1.14em;\n font-weight: bold;\n font-family: 'Lato';\n text-decoration: underline;\n cursor: pointer;\n padding-left: 5px;\n}\n.details-container .section-wrapper {\n height: calc(100% - 12px);\n}\n.details-container .section-wrapper .section-title {\n margin-bottom: 16px;\n font-size: 1.29em;\n color: #3E4052;\n font-weight: bold;\n}\n.details-container .section-wrapper .section-view {\n padding: 16px 8.9%;\n background: #fff;\n border-radius: 4px;\n overflow-y: auto;\n}\n.details-container .section-wrapper .section-view .summary-items li {\n margin-bottom: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items li hr {\n margin: 10px 0;\n}\n.details-container .section-wrapper .section-view .summary-items li p {\n word-break: break-all;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content {\n background-color: #F8F8FA;\n padding: 10px;\n width: 100%;\n font-size: 1em;\n overflow: hidden;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content .notes-content-fold {\n overflow: hidden;\n text-overflow: ellipsis;\n -webkit-line-clamp: 3;\n word-break: break-all;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n background-color: transparent;\n width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-content .notes-content-unfold {\n overflow: hidden;\n text-overflow: ellipsis;\n word-break: break-all;\n background-color: transparent;\n width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items li .notes-can-fold {\n color: #494ece;\n text-decoration: underline;\n display: block;\n text-align: right;\n padding-right: 15px;\n}\n.details-container .section-wrapper .section-view .summary-items .inline-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n}\n.details-container .section-wrapper .section-view .summary-items .inline-row .inline-prop {\n min-width: 85px;\n}\n.details-container .section-wrapper .section-view .summary-items .hr-style {\n background-color: #E8E8EF;\n height: 1px;\n border: none;\n}\n.details-container .section-wrapper .section-view .summary-items .prop {\n color: #999BA3;\n size: 1em;\n font-family: 'Lato';\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content {\n font-size: 1.14em;\n color: #6A6C75;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content .value {\n padding-right: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-content .tip {\n font-size: 12px;\n color: #4159D1;\n cursor: pointer;\n text-decoration: underline;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-dataset {\n max-width: calc(100% - 85px);\n min-width: calc(100% - 85px);\n}\n.details-container .section-wrapper .section-view .summary-items .prop-dataset .prop-dataset-item {\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n display: block;\n overflow: hidden;\n margin-bottom: 12px;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-notes {\n max-width: 100%;\n min-width: 100%;\n}\n.details-container .section-wrapper .section-view .summary-items .prop-notes .prop-dataset-item {\n margin-bottom: 0px;\n}\n.details-container .section-wrapper .section-view .log-list {\n padding: 24px;\n border-radius: 5px;\n height: 80%;\n overflow: auto;\n}\n.details-container .section-wrapper .section-view .log-list > li {\n /*height: 25px;*/\n line-height: 20px;\n font-size: 12px;\n color: #999ba3;\n}\n.details-container .section-wrapper .section-view .log-list > li .num {\n display: inline-block;\n min-width: 40px;\n white-space: nowrap;\n margin-right: 10px;\n color: #c6c8cc;\n}\n.details-container .section-wrapper .section-view .echart {\n width: 100%;\n height: 500px;\n background-color: #EBEDF0;\n}\n.details-container .section-wrapper .section-view .full-screen-echart {\n width: 100%;\n height: 500px;\n background-color: #EBEDF0;\n}\n.details-container .section-wrapper .section-view .tab {\n overflow: auto;\n overflow-x: hidden;\n}\n.details-container .section-wrapper .section-summary {\n height: 100%;\n}\n.details-container .section-wrapper .section-summary .dashboard-btn {\n height: 32px;\n width: 100%;\n margin-top: 12px;\n font-size: 1em;\n color: #4159D1;\n text-align: center;\n line-height: 32px;\n background-color: #F8F9FA;\n border-radius: 2px;\n border: 0px;\n}\n.details-container .section-wrapper .section-summary .dashboard-btn:hover {\n color: #fff;\n background-color: #4159D1;\n}\n.details-container .prop-section {\n width: 18.8%;\n}\n.details-container .echart-section {\n width: calc(100% - 18.8% - 15px);\n}\n.details-container .tab-bar {\n margin: 0 10px 24px 24px;\n height: 24px;\n background: #F8F9FA;\n border: 1px solid #F8F9FA;\n}\n.details-container .tab-bar .tab-btn {\n width: 138px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n margin-right: 1px;\n padding: 4px 18px 3px;\n background: #fff;\n line-height: 24px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n}\n.details-container .tab-bar .tab-btn .text {\n font-size: 14px;\n font-weight: bold;\n color: #7f7d8e;\n}\n.details-container .tab-bar .tab-btn:hover {\n background: #4159D1;\n}\n.details-container .tab-bar .tab-btn:hover .text {\n color: #fff;\n}\n.details-container .tab-bar .tab-btn-active {\n background: #4159D1;\n}\n.details-container .tab-bar .tab-btn-active .text {\n color: #fff;\n}\n.details-container .output-wrapper {\n height: 100%;\n padding: 12px;\n padding-top: 16px;\n background: #fff;\n}\n.details-container .output-wrapper .output-content {\n max-height: 100%;\n min-height: calc(100% - 36px);\n}\n.details-container .output-wrapper .dag-wrapper {\n width: 100%;\n position: relative;\n}\n.details-container .output-wrapper .dag-wrapper .output-title {\n font-size: 1.14em;\n color: #7f7d8e;\n}\n.details-container .output-wrapper .dag-wrapper .output-desc {\n padding-left: 10px;\n color: #bbbbc8;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper {\n height: calc(100% - 32px);\n overflow: hidden;\n margin-top: 16px;\n margin-right: 16px;\n border: 2px solid #F8F9FA;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .echarts {\n height: 100%;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button {\n position: absolute;\n bottom: 0px;\n left: 0px;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button .sutiable-button-item {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #F8F8FA;\n margin-bottom: 12px;\n color: #BBBBC8;\n}\n.details-container .output-wrapper .dag-wrapper .echart-wrapper .suitable-button .sutiable-button-item:hover {\n background-color: #494ece;\n color: #fff;\n}\n.details-container .output-wrapper .para-wrapper {\n min-width: 30vh;\n overflow: auto;\n max-width: 30vh;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node {\n font-size: 1em;\n display: inline-block;\n min-width: 100%;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__label {\n font-size: 1em;\n color: #999BA3;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__expand-icon {\n padding: 0px;\n}\n.details-container .output-wrapper .para-wrapper .el-tree > .el-tree-node .el-tree-node__content {\n height: 22px;\n}\n.details-container .output-wrapper .para-wrapper .para-warpper-content {\n width: 100%;\n height: calc(100% - 48px);\n position: relative;\n}\n.details-container .output-wrapper .para-wrapper .para-title {\n margin-bottom: 18px;\n font-size: 1.14em;\n color: #7f7d8e;\n}\n.details-container .output-wrapper .para-wrapper .el-tree {\n color: #7f7d8e !important;\n}\n.details-container .output-wrapper .para-wrapper .msg {\n max-height: calc(100% - 35px);\n min-height: calc(100% - 35px);\n margin-bottom: 12px;\n color: #7f7d8e !important;\n overflow: auto;\n padding: 6px;\n padding-left: 12px;\n}\n.details-container .output-wrapper .para-wrapper .msg .msg-list > li {\n margin-bottom: 20px;\n}\n.details-container .output-wrapper .para-wrapper .msg .msg-list > li .msg-section-list > li {\n white-space: nowrap;\n}\n.details-container .output-wrapper .para-wrapper .msg .unfold-tree {\n position: absolute;\n top: 0px;\n right: 0px;\n color: #BBBBC8;\n text-decoration: underline;\n cursor: pointer;\n}\n.details-container .output-wrapper .para-wrapper .msg .unfold-tree:hover {\n color: #494ece;\n}\n.details-container .dialog-icons {\n position: absolute;\n right: 15px;\n top: 15px;\n}\n.details-container .dialog-icons .img-wrapper {\n width: 24px;\n height: 24px;\n margin-left: 10px;\n cursor: pointer;\n}\n.details-container .el-dialog {\n overflow: hidden;\n padding-right: 6px;\n height: calc(100% - 70px);\n}\n.details-container .el-dialog .el-dialog__header {\n padding: 16px 24px 16px;\n}\n.details-container .el-dialog .el-dialog__header .el-dialog__title {\n font-size: 1.16em;\n color: #3E4052;\n font-weight: bold;\n}\n.details-container .el-dialog .el-dialog__body {\n padding: 0;\n height: calc(100% - 60px);\n overflow: auto;\n}\n.details-container .is-fullscreen {\n margin-top: 48px;\n height: calc(100% - 50px);\n}\n.details-container .v-modal {\n opacity: 1;\n background: #EBEDF0;\n top: 48px;\n}\n.dialog-tabs {\n margin: 0 18px 24px 24px;\n height: 24px;\n background: #fff;\n}\n.dialog-tabs .el-tabs__active-bar {\n display: none;\n}\n.dialog-tabs .el-tabs__header {\n background: #F8F9FA;\n padding: 1px 0;\n}\n.dialog-tabs .el-tabs__item {\n width: 138px;\n margin-right: 1px;\n background: #fff;\n height: 22px;\n line-height: 22px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n font-size: 14px;\n text-align: center;\n font-weight: bold;\n color: #7f7d8e;\n padding: 0px;\n}\n.dialog-tabs .el-tabs__item:hover {\n color: #fff;\n background: #4159D1;\n}\n.dialog-tabs .el-tabs__item.is-active {\n color: #fff;\n background: #4159D1;\n}\n.dialog-tabs .el-tabs__nav-wrap::after {\n content: none;\n margin-bottom: 0px;\n background-color: #fff;\n}\n.download {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n height: 24px;\n line-height: 24px;\n padding: 0 20px;\n margin-right: 18px;\n background-color: #F8F9FA;\n}\n.download .link {\n color: #4159D1;\n cursor: pointer;\n}\n.download .head, .download .link {\n font-size: 14px;\n padding: 0 10px;\n font-weight: 700;\n}\n.confirm-dialog .el-dialog {\n height: auto !important;\n}\n.confirm-dialog .el-dialog .el-dialog__body {\n height: auto !important;\n padding: 30px 20px;\n}\n.download-link {\n font-size: 12px;\n color: #4159D1;\n cursor: pointer;\n text-decoration: underline;\n font-weight: bold;\n}\n.disable-color {\n color: #c6c8cc;\n cursor: default;\n}\n",""])},"+998":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyODI1IDQ4OTApIj4NCiAgICA8ZyBpZD0i57uEXzE4MjYiIGRhdGEtbmFtZT0i57uEIDE4MjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQzMjcgLTYzOCkiPg0KICAgICAgPGcgaWQ9IuakreWchl82MyIgZGF0YS1uYW1lPSLmpK3lnIYgNjMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE3MTUyIC00MjUyKSI+DQogICAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgICAgPC9nPg0KICAgICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzE0NiAtNDI0NikiLz4NCiAgICAgIDxsaW5lIGlkPSLnm7Tnur9fMTE3IiBkYXRhLW5hbWU9IuebtOe6vyAxMTciIGNsYXNzPSJjbHMtMSIgeDE9IjYiIHkyPSI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcxNDYgLTQyNDYpIi8+DQogICAgPC9nPg0KICA8L2c+DQo8L3N2Zz4NCg=="},"+ccE":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABHElEQVQ4ja2UMUsEMRCFP+WasxWstLU+SBFidWBrfbZ3/8DaH3C1/8BrtbYVO0OKgPVVe5yVIFit5crAnCy7SRTdBwObebOPfZuX7DVNwxDYH0QFGJVIH+IEmOny3lnzkptNWvMhHgJz4FSW2nbAGlg5a96LQj7EA+ACOAdegTtnzVo5Eb0EjoFH4MFZU+eEblo2njN2z3Z2nTVXu373Z4+Ba6D2Ic4TItKrdWbc5nq7pp87BW59iJUPcapVSU+4tqWskIqJxYUun7QEC+V6yObIWbMCZPs3WhPtJVEMpLPmAxBLlT5n0RPSCBSRmukKfQJL3eIklFvq7Dd+DCTwpvTRrwPZEjzR0KWOiIR1232neI38+9D+BcPcR8AX+8OCQUetr28AAAAASUVORK5CYII="},"0GRe":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEnaIu4fXvvmV6jOhiKGHkFHVpJpSZRsABs6AGpsNFQAbBsGPkxZnIfHwYXS1tw4gBTzhhCx+8BuHSMAxdRMhgqrmIdtGPlLpJAsO1GGFgYAAAktRYvyoxTmkAAAAASUVORK5CYII="},"0gb5":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Gain",{yAxis:{name:"gain"}},void 0,!0)},"0sA9":function(t,e,n){"use strict";n.r(e);e.default=function(t){return[{type:"text",props:{content:t.random.data[0][0]+": "+t.random.data[0][1]}}]}},"0snz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".scroller[data-v-2dab1a8e] {\n position: relative;\n overflow-y: auto;\n}\n.wrap[data-v-2dab1a8e] {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.item-view[data-v-2dab1a8e] {\n width: 100%;\n}\n.scroller.ready .item-view[data-v-2dab1a8e] {\n position: absolute;\n top: 0;\n left: 0;\n will-change: transform;\n}\n",""])},"0wwb":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("GoyQ"),i=n.n(r),o=[{label:"",prop:"name"},{label:"model label",prop:"modelLabel"},{label:"dataset",prop:"dataset"},{label:"auc",prop:"auc"},{label:"ks",prop:"ks"}],s=function(t){var e={},n=[],r=[];return Object(a.each)(t,function(t,o){r.push(o),Object(a.each)(t,function(t,r){var s=t.meta;Object(a.each)(s,function(t,a){i()(t)&&(e[s.name]||(e[s.name]=[],n.push(s.name)),e[s.name].push({name:r.replace("_ovr",""),modelLabel:a,dataset:o,auc:s[a].auc,ks:s[a].ks}))})})}),Array.isArray(e)?(Object(a.sortByName)(e,"name"),Object(a.sortByName)(e,"modelLabel")):Object(a.each)(e,function(t){Object(a.sortByName)(t,"name"),Object(a.sortByName)(t,"modelLabel")}),n.length>1?(Object(a.sortByName)(n),{select:function(t){return{type:"f-select",name:"f-select",props:{label:"select model",options:function(){var e=[];return Object(a.each)(t,function(t){e.push({label:t,value:t})}),e}()}}}(n),data:e,namespaces:r}):1===n.length?{select:n,data:e[n[0]],namespaces:r}:void 0};e.default=function(t){var e=[],n=s(t),a=n.select,r=void 0===a?null:a,i=n.data,l=[{type:"title",props:{title:"One_vs_Rest Evaluation",styles:"min-width: 300px;"}}];return r.length>1&&l.push(r),e.push(function(t){return{type:"group",props:{options:t}}}([{type:"form",props:{form:l,inrow:!0,rowDir:"right"}},{type:"table",props:{header:o,data:i,export:"OneVsRestEvaluation"}}])),e}},"1YGu":function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("7Qib"),u=n("PcWm"),p=n("QdnX"),d=function(t,e,n){return l()({name:t,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:e},n)},h=function(t){return t&&t.replace(/(train_|validate_)/g,"").replace(/(train\.|validate\.)/g,"fold_")};e.default=function(t){var e=Object(u.a)();e.yAxis.name="tpr, fpr";var n=[],a=[],i=[],s=[];return Object(p.each)(t,function(t){var e=Object(p.groupBy)(t,"meta.pair_type");Object(p.sortByName)(e,"[0]",!0),Object(p.each)(e,function(t){var e,i=r()(t,2),o=i[0],l=i[1],c=r()(l,2),u=c[0],f=c[1],m=d(h(u.meta.curve_name),u.data,{pairType:o}),v=d(h(f.meta.curve_name),f.data,{pairType:o}),g=[m,v],b=0,y=0,x=0,w=0,A=f.data;Object(p.each)(u.data,function(t,e){var n=Math.abs(t[1]-A[e][1]);n>b&&(b=n,w=t[0],y=t[1],x=A[e][1])}),g.push(d("",[[w,y],[w,x]],{symbol:"none",lineStyle:{type:"dashed",opacity:1},pairType:o})),(e=n).push.apply(e,g),s.push(o);var I=void 0;I=m.name.endsWith("_tpr")?[m.name,v.name,o,u.meta.thresholds]:[v.name,m.name,o,f.meta.thresholds];var _=function(t,e,n,a){return{tpr:t,fpr:e,pairType:n,thresholds:a}}.apply(null,I);a.push(_)})}),e.tooltip.formatter=function(t){return function(e){var n="";return t.forEach(function(t,a){var r=[],i=t.thresholds[e[0].dataIndex];if(i||0===i){var s=!0,l=!1,u=void 0;try{for(var p,d=o()(e);!(s=(p=d.next()).done);s=!0){var f=p.value;f.seriesName.match(h(t.pairType))&&(f.seriesName.match(t.tpr)||f.seriesName.match(t.fpr))&&r.push(f)}}catch(t){l=!0,u=t}finally{try{!s&&d.return&&d.return()}finally{if(l)throw u}}r.length&&(n+="Threshold: ("+t.pairType+")"+i+"
");var m=!1,v=0,g=0;if(r.forEach(function(e){e.seriesName===t.tpr&&(n+=t.tpr+": "+e.data[1]+"
",v=e.data[1],m=!0),e.seriesName===t.fpr&&(n+=t.fpr+": "+e.data[1]+"
",g=e.data[1])}),m){var b=v-g;n+="KS: "+Math.abs(Object(c.b)(b))+"
"}}}),n}}(a),n=n.sort(function(t,e){return e.name&&t.name&&e.name.match("tpr")&&t.name.match("fpr")?1:t.name?-1:1}),i.push({type:"chart",props:{options:n,setting:e,legend:"custom",group:s}}),i.length>1?i:i[0]}},"1sAi":function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("roc",{yAxis:{name:"tpr"}},{areaStyle:{color:"#494ece",opacity:.1}},function(t){var e=t.thresholds;return function(t){var n="";return t.forEach(function(t){var a=e[t.seriesName][t.dataIndex];(a||0===a)&&(n+="Threshold: "+a+"
"),n+="Tpr("+t.seriesName+"): "+t.data[1]+"
",n+="Fpr("+t.seriesName+"): "+t.axisValue+"
"}),n}})},"2mqv":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("uNnm"),u=n("evsm"),p=n("QdnX"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l,d){var h,f,m,v;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(h={party_id:a,role:i,component_name:s,job_id:l,model_type:d},f=[],m=void 0,n&&!n.msg.match("no data")&&(n=Object(c.default)(n.data),Object(p.each)(n,function(t){"others"===t.name&&(m=(m=Object(u.b)(t.name)).bind(null,t,h))})),!m){t.next=9;break}return t.next=7,m();case 7:v=t.sent,f.push.apply(f,o()(v));case 9:return t.abrupt("return",f);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o,s){return t.apply(this,arguments)}}();e.default=d},"3Q/S":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t}})}),e},p=function(){var t=l()(r.a.mark(function t(e,a,i,s,l,p){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(d=a.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(a.data,i,s,l,p))){t.next=10;break}return h={},f=[],m=d.shift(),t.next=7,Object(c.sendMetricsDataRequest)(m);case 7:return h=t.sent,f=Object(c.textTransform)(h.data.data),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[].concat(o()(u(f)))}}]}]);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},"3cDs":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=[],g={party_id:a,role:i,component_name:s,job_id:c},y=void 0,x=void 0,w=[],A=void 0,I=void 0,_=void 0,O=[],C=void 0,S=void 0,E=void 0,j=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)y=p.d.bind(null,l()({metrics:t.options},g));else if("iter"===t.name)C=p.d.bind(null,l()({metrics:t.options},g)),E=Object(h.b)("warmStart");else if("stepwise"===t.name)A=p.d.bind(null,l()({metrics:t.options},g)),_=Object(h.b)(t.name);else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},g),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),w.push([e,Object(m.createAsyncComponent)(n)])}})),w.length&&Object(d.each)(w,function(t){u.push(Object(m.wrapGroupComponent)(t))}),!y){t.next=19;break}return t.next=18,y();case 18:x=t.sent;case 19:if(x&&(T=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),N=T(x.data)||[],(k=(k=[].concat(o()(N))).length>0?Object(m.wrapGroupComponent)(k):null)&&(u.length>1?u.splice(1,0,k):u.push(k))),!A){t.next=24;break}return t.next=23,A();case 23:I=t.sent;case 24:if(_&&(O=_(I,i),u.push.apply(u,o()(O))),!C){t.next=29;break}return t.next=28,C();case 28:S=t.sent;case 29:return E&&(j=E(S),0===u.length?u.push(Object(m.wrapGroupComponent)(j)):u[0].options&&Array.isArray(u[0].options)?(L=u[0].options).unshift.apply(L,o()(j)):Array.isArray(u[0])&&(D=u[0]).unshift.apply(D,o()(j))),t.abrupt("return",u);case 31:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"3lD8":function(t,e,n){var a=n("K4j0");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("2ace0298",a,!0,{})},"4rwF":function(t,e,n){"use strict";var a=n("m1cH"),r=n.n(a),i={methods:{change:function(t){this.$emit("change",t)},refOpera:function(t,e){for(var n,a=!0,i=arguments.length,o=Array(i>2?i-2:0),s=2;s=I||0===A){var _=c[A],O=u[A],C=d[A],S=h[A];v.push([I,m[A]]),g.push([I,C+"("+(C/p(_,O,C,S)*100).toFixed(4)+"%)"]),b.push([I,O+"("+(O/p(_,O,C,S)*100).toFixed(4)+"%)"]),y.push([I,_+"("+(_/p(_,O,C,S)*100).toFixed(4)+"%)"]),x.push([I,S+"("+(S/p(_,O,C,S)*100).toFixed(4)+"%)"]),w+=1}else A-=1}s.push(r()({labels:"0",0:g,1:b,f1score:v},l)),s.push(r()({labels:1,0:y,1:x,f1score:v},l))})}),[{type:"form",props:{form:[{type:"title",props:{title:"Confusion Matrix"}},{type:"f-range",props:{label:"Classification Threshold",max:1,min:0,step:.01,value:.5,tip:"Update the confusion matrix information under the new threshold condition"}}]}},{type:"table",props:{header:n,data:s,pageSize:"all",zeroFormat:"0",export:"confusion_matrix"}}]}},"7PkD":function(t,e,n){"use strict";n.r(e);var a=n("oF3Q"),r=n.n(a),i=n("QbLZ"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("sk9p"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("7Qib"),f=n("sqJL"),m=n("UOeh"),v=n("jElq"),g=n("QdnX"),b=n("tPEI");e.default=Object(g.wrap)(function(t){var e=t.responseData,n=t.role,a=t.partyId,i=t.outputType,s={},c=e.featureNameFidMapping,p=e.featureImportances,y=e.trees,x=e.classes,w=e.treeDim,A=w<3?1:w,I=Object(g.makeArray)(A,function(){return[]}),_=Object(g.makeArray)(A,function(){return[]}),O=0;Object(g.each)(y,function(t,e){var r=e%A;I[r].push(Object(b.default)(t.tree,n,a,c,t.splitMaskdict,t.missingDirMaskdict,i)),_[r].push([parseInt(e/A),t.tree.length]),0===r&&t.tree.length>O&&(O=t.tree.length)});var C=Object(g.head)(I),S=Object(g.head)(_),E=Object(f.b)(),j=Object(m.b)(),T=Object(g.head)(C);if(E.series.data=T.data,j.series.data=S,j.series.markLine.data[0][1].coord[1]=O,d()(s,{treeOptions:E,currentTreeData:{id:T.data[0].treeid,size:T.size,maxDepth:T.maxDepth,treeWidth:T.treeWidth},treesOverviewData:C,maxTreeSize:O,treesLineData:j}),w>=3){s.allTreesOverviewData=I,s.allTreesLineSeriesData=_;var N=[];"guest"===n?Object(g.each)(x,function(t,e){var n=e+": "+t;N.push({value:e,label:n})}):"host"===n&&Object(g.each)(w,function(t){N.push({value:t,label:t})}),s.classOptions=N}if(p&&p.length>0){var k=p.length,L=Object(v.b)(),D=new Array(k),R=new Array(k),F=void 0,P=new Array(k),M=0,B=new Array(k);p.forEach(function(t,e){var r=k-e-1,i=t.importance;D[r]=i,(null==F||i>F)&&(F=i);var o=t.sitename.split(":"),s=u()(o,2),p=s[0],d=s[1],h=p===n&&d===a?c[t.fid]:t.fid+"";P[r]=h;var f=h?h.toString().length:(void 0===h?"undefined":l()(h)).length;f>M&&(M=f),B[r]=t.sitename}),P=P.map(function(t){return t||(t=void 0===t?"undefined":l()(t)),t.toString().padEnd(M," ")}),R.fill(F),L.series[0].data=R,L.series[1].data=D,L.series[1].name="importance",L.series[0].label.formatter=function(t){return Object(h.b)(D[t.dataIndex])},L.yAxis[0].data=P,L.yAxis[1].data=B,s.variableImportanceOptions=L;var U=p.map(function(t){if((t=o()({},t)).sitename.indexOf("host")>-1&&n.indexOf("host")<0){var e=t.sitename.match(/[0-9]+$/)[0];e&&(t.name="host_"+e+"_"+t.fid)}else t.name=c[t.fid];return t});s.featureTable={tBody:U}}if(c){var z=r()(c);if(z.length){var H=z.map(function(t){var e=u()(t,2),r=e[0];return{variable:e[1],featureIndex:n+"_"+a+"_"+r}});s.featureHostTable={tHeader:[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],tBody:H}}}return{importance:{type:"table",name:"importance",props:{data:s.featureTable?s.featureTable.tBody:[]}},featureHostTable:{type:"table",props:{name:"featureHostTable",header:s.featureHostTable.tHeader,data:s.featureHostTable.tBody}},treesLine:{type:"chart",name:"treesLineData",props:{options:s.treesLineData}},treeOptions:{type:"chart",name:"treeOptions",props:{options:s.treeOptions,zoom:!0}}}})},"8NUx":function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB"),i=[{type:"index",label:"index",width:"70px"},{label:"leaf_id",prop:"leafId",showOverflowTooltip:!0},{label:"transformed_vector",prop:"vector",showOverflowTooltip:!0}],o=function(t,e){var n=function(t,e){var n=[];return Object(a.each)(t,function(t,a){n.push({leafId:t,vector:e[a]})}),n}(t,e),r=[],i={};return Object(a.each)(n,function(t){var e=function(t){return t.split("_")[1]}(t.vector),n="s_"+e;i[n]||(i[n]=[],r.push({label:e,value:n})),i[n].push(t)}),r.length>1?{selection:r,content:i}:{content:i[r[0].value]}};e.default=function(t){if(t&&t.sbt_transformer&&t.sbt_transformer.leaf_mapping){var e=[],n=t.sbt_transformer.leaf_mapping.meta,a=n.feat_name,s=n.index,l=o(s,a);return l.selection&&l.selection.length>1&&function(t,e){t.push({type:"form",props:{form:[Object(r.createFormComponent)("f-select","f-select",{options:e,label:"transformer_tree_id"})]}})}(e,l.selection),function(t,e){t.push({type:"table",props:{header:i,data:e,zeroFormat:"0",export:"sbt_feature_transformer"}})}(e,l.content),e}}},"8csx":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},"8gZQ":function(t,e,n){"use strict";n.r(e),n.d(e,"combineForPerformanceSum",function(){return h});var a=n("YEIV"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("QdnX"),l=n("evsm"),c=n("saIk"),u=n("OjIB"),p=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function d(t,e){var n={type:"form",props:{form:[{type:"f-tabs",props:{tabs:[function(t){var e={label:"Performance Summary"},n=o()(t);return n.length>1?e.children=function(){var t=[];return Object(s.each)(n,function(e){t.push({label:e,value:"ps_"+e})}),t}():e.value="ps_"+n[0],e}(t)],needRefresh:!1}}]}},a=function(t,e){var n=[];return Object(s.each)(t,function(t,a){n.push(p("ps_"+a,{metrics:r()({},a,t),xAyis:e},null,Object(l.b)(c.METRIC_TYPES.PERFORMANCE_SUM),"performance_summary",!0))}),n}(t,e);return[n,Object(u.createAsyncComponent)(a,!1)]}function h(t){var e=(t.props?t.props:t[1].props).data,n={},a=[],r=!1;return Object(s.each)(e,function(t){if(!r){var e=t.metric_namespace;n[e]=n[e]||{},t.auc||t.ks||(r=!0);var i=t.metric_name.toLowerCase();i.match("fold")&&i.match("iteration")||(!n[e].auc&&t.auc&&(n[e].auc={data:[],meta:{curve_name:"auc"}}),n[e].auc.data.push([t.metric_name,t.auc]),!n[e].ks&&t.ks&&(n[e].ks={data:[],meta:{curve_name:"ks"}}),n[e].ks&&n[e].ks.data.push([t.metric_name,t.ks]),a.push(t.metric_name))}}),r?[]:d(n,a)}},"8lCB":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAaElEQVQ4jWP8//8/AzUAE1VMoaZBLNgEj588i9e/lubGjOhiKGF0/OTZmVBmGgEHzIIamA4XARkEw8dOnJmJzMeH0dXSNowY8IQTtvDBaxAuDcPQRYQMppqLaBf9SKmbJDBcixEGBgYApxhYv2+ITlEAAAAASUVORK5CYII="},"8nZS":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("QbLZ"),u=n.n(c),p=n("UasS"),d=n("QdnX"),h=n("OjIB"),f=function(t,e,n,a){return u()({type:t,name:e,props:n},a)},m=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)},v=function(t,e){return{label:t,value:e||t}};e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var i=t.data&&t.data.data,s=i.binningResult,l=i.hostResults,c=i.header,u=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,g=s,b=0,y="",x=[],w=[],A=void 0;if(Array.isArray(g)){var I=Object(d.head)(g);b=I.partyId,y=I.role,g=I.binningResult||{}}else b=g.partyId,y=g.role,g=g.binningResult;if(Object(d.isEmpty)(g)&&Object(d.isEmpty)(l))return[];var _=Object(p.default)(g,c,"guest",b,y,y,u),O=[],C=[];Object(d.each)(c,function(t){Object(d.each)(_.sourceData,function(e){if(t===e.variable)return O.push(e),!1}),Object(d.each)(_.options,function(e){if(t===e.value)return C.push(e),!1})}),_.sourceData=O,_.options=C,A=_,Object(d.each)(l,function(t,e){w.push(Object(p.default)(t.binningResult,c,"host",t.partyId,t.role,y,u)),x.push(t.partyId||e)});var S=void 0,E={},j=[f("search")],T=void 0,N=o()({},A.eventOptions),k=o()({},A.woeOptions),L=o()({},A.stackBarData),D=o()({},A.woeData);if(Object(d.each)(A.options,function(t){Object(d.each)(A.variableData,function(e,n){if(n===t.value)return E[t.value]=e,!1})}),"guest"===y){x.length>0?(j.push(f("f-select","tableSelection",{options:[v("guest"),v("host",x.map(function(t){return{label:t,value:t}}))],multiple:!0})),S={guest:A.sourceData}):S=A.sourceData;var R={guest:A.options};Object(d.each)(x,function(t,e){var n=w[e];S[t]=n.sourceData,R[t]=n.options;var a=n.variableData;Object(d.each)(n.options,function(t){Object(d.each)(a,function(e,a){if(t.value===a)return E[t.value=t.label]=e,N[t.value]=n.eventOptions[a],k[t.value]=n.woeOptions[a],L[t.value]=n.stackBarData[a],D[t.value]=n.woeData[a],!1})})});var F="";F=x.length>0?[v("guest",R.guest),v("host",x.map(function(t){return{label:t,value:R[t]}}))]:R.guest,T=[f("f-select","f-select",{options:F,supportFilter:!0})]}else T=[f("f-select","f-select",{options:A.options,supportFilter:!0})],S=A.sourceData;var P=[m("","index",{type:"index"}),m("variable","variable",{sortable:!0}),m("binning_count","binning_count",{sortable:!0})],M=[{type:"form",props:{form:T,toProperty:"select"}},{type:"table",props:{header:[m("","index",{type:"index"}),m("binning")],data:E,zeroFormat:"0",export:"feature_binning_detail"}}];if("guest"===y){var B=!0;for(var U in L){var z=L[U];r()(z)<=0&&(B=!1)}B&&M.push({type:"chart",name:"stackBar",props:{setting:N,options:L,export:"instance_distribution",detail:!1}});var H=!0;for(var $ in D){var W=D[$];r()(W)<=0&&(H=!1)}H&&M.push({type:"chart",name:"woe",props:{setting:k,options:D,export:"woe",detail:!1}})}return[[{type:"form",props:{form:j,toProperty:"tableSelection"}},{type:"table",props:{header:P,data:S,zeroFormat:"0",export:"feature_summary"}}],M].map(function(t){return Object(h.wrapGroupComponent)(t)})}},BCMh:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("QdnX"),o=n("evsm"),s=n("saIk"),l=function(t){return function(e){return t.includes(e)}},c=l([s.METRIC_TYPES.RECALL_MULTI_EVALUATION,s.METRIC_TYPES.PRECISION_MULTI_EVALUATION]),u=l([s.METRIC_TYPES.RECALL_BINARY_EVALUATION,s.METRIC_TYPES.PRECISION_BINARY_EVALUATION]);e.default=function(t){var e={};Object(i.each)(t.data,function(t,n){var a=Object(i.groupBy)(t,"meta.metric_type");Object(i.each)(a,function(t){var a=r()(t,2),i=a[0],o=a[1],s=i;c(i)?s="_multiEvaluation":u(i)&&(s="_binaryEvaluation"),e[s]||(e[s]={}),e[s][n]?e[s][n]=e[s][n].concat(o):e[s][n]=o})});var n=[];return Object(i.each)(e,function(t,e){var a=Object(o.b)(e);n.push(a(t))}),console.log(n),n}},BSnc:function(t,e,n){var a=n("+2Yw");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0767c020",a,!0,{})},Bw9L:function(t,e,n){"use strict";var a=n("BSnc");n.n(a).a},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},CQmJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".combination__container[data-v-7a2005ca] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.template_nodata[data-v-7a2005ca] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n min-height: 200px;\n font-size: 1.45em;\n font-weight: bold;\n}\n",""])},CX6U:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".small-form-text {\n font-size: 12px !important;\n font-weight: normal !important;\n}\n.dialog-content {\n position: relative;\n height: 100%;\n}\n.dialog-content .report {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n}\n.dialog-content .dialog-tabs {\n margin: 0px;\n padding: 0 10px 10px 24px;\n height: 100%;\n background: #fff;\n}\n.dialog-content .dialog-tabs .el-tabs__content {\n height: calc(100% - 40px);\n}\n.dialog-content .dialog-tabs .el-tabs__content .el-tab-pane {\n height: 100%;\n width: 100%;\n padding-right: 12px;\n position: relative;\n overflow-y: auto;\n overflow-x: hidden;\n}\n",""])},CmYt:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEjdyW4/XvuV2RjOhiKGFk5LZ8B5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAYOQYFZsgdawAAAAASUVORK5CYII="},CpoS:function(t,e,n){var a=n("p/T2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("19dbdbd5",a,!0,{})},Do9X:function(t,e,n){var a=n("N97a");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("5b0c9170",a,!0,{})},EYjE:function(t,e,n){var a=n("C98N");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("96000c26",a,!0,{})},F5Pm:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("kjiq"),u=n("7Qib"),p=n("LvDl");function d(t,e){try{var n=t.toString().split(".");n=n.length>1?n[1].length:0;var a=e.toString().split(".");a=a.length>1?a[1].length:0;var r=Number(t.toString().replace(".","")),i=Number(e.toString().replace(".","")),o=Object(p.multiply)(Object(p.divide)(r,i),Math.pow(10,a-n));return o.toString().length>8&&(o=parseFloat(o.toFixed(t.toString().length+2))),o}catch(t){}}function h(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}function f(t){var e=0,n=!0,a=!1,r=void 0;try{for(var i,o=l()(t);!(n=(i=o.next()).done);n=!0){var s=i.value;s>e&&(e=s)}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var p=parseFloat(e.toFixed(u));p";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e};var v=s,g=Object(c.b)();g.series.push({name:"train_%total",type:"bar",data:e.expected_percentage,itemStyle:{color:"#5E7FEB"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"val_%total",type:"bar",data:e.actual_percentage,itemStyle:{color:"#0Ec7a5"},barMaxWidth:15,pairType:e.name}),g.series.push({name:"train_event_ratio",type:"line",yAxisIndex:1,data:e.train_pos_perc,itemStyle:{color:"#FF9E1F"},pairType:e.name}),g.series.push({name:"val_event_ratio",type:"line",yAxisIndex:1,data:e.validate_pos_perc,itemStyle:{color:"#FF4F38"},pairType:e.name}),g.legend.data=["train_%total","val_%total","train_event_ratio","val_event_ratio"],g.xAxis.data=e.intervals,g.yAxis[0].name="%total";var b=f([].concat(r()(e.expected_percentage),r()(e.actual_percentage)));g.yAxis[0].max=b,g.yAxis[0].interval=d(b,5),g.yAxis[0].axisLabel.formatter=function(t){return h(t,100,b)+" %"},g.yAxis[1].name="event_ratio";var y=f([].concat(r()(e.train_pos_perc),r()(e.validate_pos_perc)));return g.yAxis[1].max=y,g.yAxis[1].interval=d(y,5),g.yAxis[1].axisLabel.formatter=function(t){return h(t,100,y)+" %"},g.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+(100*t.data).toFixed(4)+"%
"}),e},{summaryTable:a.concat([{actual:"total",psi:"Total PSI: "+n,_total:!0}]),summaryPic:v,quantileTable:a,quantilePic:g}}e.default=function(t){for(var e={},n={},a={},r={},i=[],s=t?o()(t):[],l=0,c=s.length;l1?(e[s[l]]=u.summaryTable,n[s[l]]=u.quantileTable,a[s[l]]=u.summaryPic,r[s[l]]=u.quantilePic,i.push({label:s[l].replace("_psi",""),value:s[l]})):(e=u.summaryTable,n=u.quantileTable,a=u.summaryPic,r=u.quantilePic)}var p=[b("PSI Summary"),{type:"table",props:{header:v,data:e,pageSize:"all",zeroFormat:"0",export:"psi"}},{type:"chart",props:{setting:a,export:"psi",detail:!1}},b("Quantile Distribution"),{type:"table",props:{header:g,data:n,pageSize:"all",zeroFormat:"0",export:"quantile_distribution"}},{type:"chart",props:{setting:r,export:"quantile_distribution",detail:!1}}];return i.length>0&&p.splice(1,0,{type:"form",props:{form:[{type:"f-select",props:{options:i}}]}}),p}},FNvf:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("GQeE"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var u,p,d,h,f;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(u=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=17;break}p={},d=[];case 4:if(!(u.length>0)){t.next=16;break}return h=u.shift(),t.next=8,Object(c.sendMetricsDataRequest)(h);case 8:if(p=t.sent,!(f=p.data.meta).label_encoder){t.next=14;break}if("break"!==function(){var t=f.label_encoder,e=[];return t&&o()(t).length>0&&"guest"===i&&(o()(t).forEach(function(n){e.push({value:n,transformed_value:t[n]})}),d.push({type:"table",props:{data:e,header:[{type:"index",label:"index"},{prop:"value",label:"original_label"},{prop:"transformed_value",label:"transformed_label"}],export:"transform_detail"}})),"break"}()){t.next=14;break}return t.abrupt("break",16);case 14:t.next=4;break;case 16:return t.abrupt("return",[Object(c.wrapGroupComponent)(d)]);case 17:return t.abrupt("return",[]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=u},GSnC:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},GYfr:function(t,e,n){var a=n("s1Q/");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("506340ec",a,!0,{})},GhKH:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABIElEQVQ4ja3UrUtDURgG8J8fICaLTaswYc5/QEE2sBtdEMFmMQp2BaPFpCALA6tR2JLBvKJg1SIWwxhaJoN3cr279wq6Bw6c8348vJ9not/vGwcmx8KC6SJltd6pYS+el+1mpZVnm5latd5ZxCGW8BjiEp5w2m5WnguJqvXOXESwiTfc4SXUC1jDPG4jwve81K4whVYikiEGhNcR2QbWsTVUpos9iwY+UcsoRS10jbD9RlbXPlDGAS6wEuciZOWw+YG8rt2gi20ch+wVZ5H2CIraP3C4x0m8j4I8E4VzFI7dxD0XWTWa+YU80yZN1MNOtDgPpbDpJfXp1HYTA7kaAzks9shAJh3zVmQZ+zkrct5uVh7SPoXfyL+X9i8Yz3+EL7v9UsDY3cLeAAAAAElFTkSuQmCC"},Gvav:function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n=t.data.train,a=[];return n.init_iter&&(n=n.init_iter)&&(n=n.data[0],a.push({type:"text",props:{content:"warm_start initial iteration: "+n[1]}})),a}},HP1B:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("D3Ub"),o=n.n(i),s=n("OjIB"),l=function(){var t=o()(r.a.mark(function t(e,a,i,o,l,c){var u,p,d,h,f;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(u=a.msg.match("no data")?null:Object(s.getAllMetricsRequest)(a.data,i,o,l,c))){t.next=11;break}return p={},d=[],h=u.shift(),t.next=7,Object(s.sendMetricsDataRequest)(h);case 7:return p=t.sent,(f=p.data.data).length>0&&f.forEach(function(t,e){var n={name:t[0],row:t[1]};"total"===t[0].toLowerCase()?d.push(n):d.splice(d.length-1,0,n)}),t.abrupt("return",[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"table",props:{data:d,header:[{prop:"name",label:"Name"},{prop:"row",label:"Row count"}],zeroFormat:"0"}}]}]);case 11:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=l},HoRF:function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("EJiy"),o=n.n(i),s=n("PcWm"),l=n("QdnX"),c=n("OjIB"),u=function(t){return t&&t.replace(/(train_|validate_)/g,"").replace(/(train\.|validate\.)/g,"fold_")};e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"custom";return function(p){var d=[];return Object(l.each)(p,function(p,h){var f=[],m=Object(s.a)(),v={};Object(l.each)(p,function(t){var e=t.data,a=t.meta,i=u(a.curve_name);m.xAxis.name=a.unit_name,v[a.curve_name]=a.thresholds;var o={name:i,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:e,pairType:u(a.curve_name)};r()(o,n),f.push(o)}),function(t,e){for(var n in t)Object.hasOwnProperty.call(t,n)&&e[n]&&("object"===o()(t[n])?t[n]=r()(t[n],e[n]):t=e[n])}(m,e),!0===a?m.tooltip.formatter=Object(c.curveFormatter)("Threshold",Object(l.upperFirst)(t),v):"function"==typeof a&&(m.tooltip.formatter=a({thresholds:v})),Object(l.sortByName)(f,"name"),d.push({type:"chart",props:{options:f,setting:m,legend:i}})}),d.length>1?d:d[0]}}},Ibv5:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".dialog[data-v-3bbf5dd1] .el-dialog__title {\n font-size: 24px;\n font-weight: 700;\n color: #3E4052;\n}\n.wrap[data-v-3bbf5dd1] {\n overflow: auto;\n height: 60vh;\n margin-top: -10px;\n}\n[data-v-3bbf5dd1] .error {\n color: #ff6d5a;\n font-size: 12px;\n}\n.divider[data-v-3bbf5dd1] {\n display: block;\n width: 100%;\n margin: 20px 0;\n border-bottom: 2px solid #dcdde0;\n}\n.button[data-v-3bbf5dd1] {\n width: 220px;\n font-weight: 700;\n}\n",""])},Ix4U:function(t,e,n){"use strict";n.r(e);var a=n("PcWm"),r=n("QdnX"),i=n("7Qib");e.default=function(t){var e=[];return Object(r.each)(t,function(t,n){var o=[],s=Object(a.a)(),l=[],c=[];Object(r.each)(t,function(t){var e=t.data,n=t.meta;l.push(n.thresholds);var a={name:n.curve_name,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},pairType:n.pair_type,data:e};c.push(n.pair_type);var r=[],i=[];e.forEach(function(t){r.push(t[0]),i.push(t[1])});var u=s.xAxis.data||[];r.length>u.length&&(s.xAxis.data=r),a.data=i,a.name=n.curve_name+(n.ordinate_name?"_"+n.ordinate_name:""),o.push(a)}),o=o.sort(function(t,e){return t.name&&e.name&&e.name.toLowerCase().match("precision")&&t.name.toLowerCase().match("recall")?1:-1}),Object(r.sortByName)(o,"pairType"),s.xAxis.name="class",s.xAxis.type="category",s.yAxis.name="precision, recall",s.tooltip.formatter=function(t){var e="",n=t[0].axisValue;return e+="Class: "+n+"
",t.forEach(function(t){var n=Array.isArray(t.data)?t.data[1]:t.data;t.seriesName.toLowerCase().match("precision")?e+="Precision("+t.seriesName.replace("_Precision","")+"): "+n+"
":t.seriesName.toLowerCase().match("recall")&&(e+="Recall("+t.seriesName.replace("_Recall","")+"): "+n+"
")}),e},e.push({type:"chart",props:{options:o,setting:s,legend:"custom",group:Object(i.f)(c)}})}),e.length>1?e:e[0]}},IxTP:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".table-search {\n margin-bottom: 12px;\n}\n.table-search .search-input {\n max-width: 150px;\n}\n.table-search .search-input .el-input__inner {\n background: #F8F8FA;\n height: 24px;\n border: 0px;\n border-radius: 2px;\n width: 130px;\n padding-right: 20px;\n line-height: 24px;\n}\n.table-search .search-input .el-input-group__append {\n border: 0px;\n border-radius: 2px;\n background: #F8F8FA;\n padding-right: 10px;\n padding-left: 0px;\n}\n.table-search .search-input .el-input__icon {\n line-height: 24px;\n margin-right: 7px;\n}\n.table-search .el-select {\n max-width: 135px;\n}\n.table-search .el-select .el-select__tags {\n border-radius: 2px;\n height: 16px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.table-search .el-select .el-select__tags .el-tag {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-direction: row;\n flex-direction: row;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n border-radius: 2px;\n height: 16px;\n margin-right: 2px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-select__tags-text {\n line-height: 16px;\n}\n.table-search .el-select .el-select__tags .el-tag .el-tag__close {\n line-height: 16px;\n margin-top: 0px;\n}\n.table-search .el-select .el-input__inner {\n height: 24px;\n background-color: #fff;\n border: 2px solid #EBEDF0;\n border-radius: 2px;\n}\n.table-search .el-select .el-select__caret {\n line-height: 24px;\n}\n.header-section-style {\n background-color: #DEECFC !important;\n border: 1px solid #ffffff;\n color: #6A6C75;\n padding: 3px 0px;\n}\n.header-section-style .caret-wrapper {\n height: 22px;\n}\n.header-section-style .caret-wrapper .ascending {\n top: 0px;\n}\n.header-section-style .caret-wrapper .descending {\n bottom: 0px;\n}\n.default-cell-style {\n border: 1px solid #fff;\n border-bottom: 1px solid #fff !important;\n background-color: #FAFBFC;\n color: #999BA3;\n font-size: 12px;\n padding: 3px 0px;\n}\n.default-cell-first-col-style {\n background-color: #EBEDF0 !important;\n color: #6A6C75;\n}\n.default-cell-summary-font {\n color: #6a6c75;\n font-weight: bold;\n}\n.selction-row-choosed {\n background-color: #ebedf0 !important;\n color: #6A6C75;\n}\n.simple-input {\n display: block;\n width: 100%;\n background: transparent;\n font-size: 12px;\n color: inherit;\n -webkit-appearance: none;\n border: 0;\n outline: 0;\n padding: 3px 7px;\n text-align: center;\n}\n.simple-input:focus {\n text-align: left;\n}\n",""])},K4Y6:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},K4j0:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},L2p5:function(t,e,n){"use strict";var a=n("GYfr");n.n(a).a},M2ad:function(t,e,n){"use strict";var a=n("Pi7P");n.n(a).a},MG1N:function(t,e,n){"use strict";var a=n("jiEp");n.n(a).a},MTjI:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("QdnX"),l=6;function c(t,e){return(t/e*100).toFixed(4)+"%"}function u(t,e){var n=[],a=function(t){return t.reduce(function(t,e){return e.reduce(function(t,e){return e.toString().match(/[a-zA-Z]+/)?t:t+e},t)},0)}(e);return Object(s.each)(e,function(e){n.push(function(t,e,n){for(var a={},r=0;r2&&void 0!==arguments[2]?arguments[2]:{};return function(a){var r="";return a.forEach(function(a,i){var o="";n[a.seriesName]&&(o=n[a.seriesName][a.dataIndex]),(o||0===o)&&(r+=t+"("+a.seriesName+"): "+o+"
");var s=Array.isArray(a.data)?a.data[1]:a.data;r+=e+"("+a.seriesName+"): "+s+"
"}),r}},N=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"weight",label:"weight",sortable:!0}]},k=function(t,e){return{variable:t,weight:Object(g.b)(e)}},L=function(t,e){return[{type:"text",props:{content:"iterations: {iters}",data:{"{iters}":t},className:"small-form-text"}},{type:"text",props:{content:"converged: {isConverged}",data:{"{isConverged}":e},className:"small-form-text"}}]},D=function(t,e){return{type:"form",props:f()({form:t},e)}};function R(t,e,n){var a=t.oneVsRestResult,r=a.completedModels,i=a.oneVsRestClasses,o="host"===e.toLowerCase(),s="guest"===e,l=r.length,c={},u=Object(m.makeArray)(l),p={},d={},h=[];Object(m.each)(r,function(t,e){var n=t.weight,a=t.header,r=[];Object(m.each)(a,function(t){r.push(k(t,n[t]))}),o||r.push(k("intercept",t.intercept));var l="model_"+e+(s?":"+i[e]:"");u[e]=l,p[l]=t.iters,d[l]=t.isConverged,c[l]=r});var f=[];return u.length&&(f=[{type:"f-select",name:"select",props:{label:"one_vs_rest model",options:u.map(function(t){return{label:t.replace(/\:.+/,""),value:t}})},connect:["modelText","iterations","converged"]},{type:"text",name:"modelText",props:{content:"model label: {modelLabel}",data:{"{modelLabel}":function(t){var e=t.split(":");return i&&i.length>0?e[1]:t.replace(/\:.+/,"")}},className:"small-form-text",inner:!0}},{type:"text",name:"iterations",props:{content:"iterations: {iterations}",data:{"{iterations}":function(t){return p[t]}},className:"small-form-text",inner:!0}},{type:"text",name:"converged",props:{content:"converged: {converged}",data:{"{converged}":function(t){return d[t]}},className:"small-form-text",inner:!0}},{type:"search"}],h.push(D(f))),n&&f.splice(1,0,{type:"text",props:{content:"The Final Model Information:"}}),h.push({type:"table",props:{data:c,header:N(),export:"model_summary"}}),h}function F(t){var e=t.weight,n=t.intercept,a=t.needOneVsRest,r=[],i=[];if(Object(m.each)(e,function(t,e){r.push(k(e,t))}),!a){r.push(k("intercept",n));var o=t.isConverged,s=t.iters,l=L(s,o);i.push(D([].concat(u()(l),[{type:"search"}])))}return i.push({type:"table",props:{header:N(),data:r,export:"model_summary"}}),i}var P=function(){var t=l()(o.a.mark(function t(e){var n,a,r,i,s=e.name,l=e.originParam;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(v.c)(l.props);case 2:return n=t.sent,a=Object(b.default)(n.data),r=void 0,r=(r=s.startsWith("loss")?a.find(function(t){return"loss"===t.name}):s.startsWith("dbi")?a.find(function(t){return"dbi"===t.name}):a.find(function(t){return"curves"===t.name})).options[s],(i=Object(g.a)(l)).props.metrics=r,t.abrupt("return",i);case 10:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}(),M=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:"async",props:r()({options:t,refresh:e?function(){var t=l()(o.a.mark(function t(n){return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!x()(e)){t.next=4;break}e(n),t.next=6;break;case 4:return t.next=6,P(n);case 6:case"end":return t.stop()}},t,void 0)}));return function(e){return t.apply(this,arguments)}}():""},n)}}},OwHS:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=function(t){return Object(a.default)("performanceSum",{yAxis:{name:"auc, ks",min:"dataMin"},xAxis:{type:"category",data:t.xAxis},grid:{top:"15%"},legend:{top:"10",right:"20",icon:"roundRect"}},void 0,null,!0)(t.metrics)}},P1SN:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("YEIV"),u=n.n(c),p=n("P2sY"),d=n.n(p),h=n("FyfS"),f=n.n(h),m=n("GQeE"),v=n.n(m),g=n("QbLZ"),b=n.n(g),y=n("7Qib"),x=n("2c2J").a.state.modelNameMap,w=function(t,e,n,a,r,i,o,s,l){if(0===t.length)return{data:[],size:0,maxDepth:0,treeWidth:0};var c=0,u=function(t){var u=t.arr,p=t.node,d=t.grandChildrenArr,h=void 0===d?[]:d,f=t.depth,m=void 0===f?0:f,v=t.rootNode,g=a[p.fid],b=o.toLowerCase().match(x.homoBoost.toLowerCase())?parseFloat(p.bid).toFixed(6):parseFloat(r[p.id]).toFixed(6),w=p.sitename.split(":")[0],A=p.sitename.split(":")[1],I=v&&void 0===b?v+"\n":"ID: "+p.id+"\n";return w!==e||A!==n||p.isLeaf||o.toLowerCase().match(x.homoBoost.toLowerCase())?o.toLowerCase().match(x.homoBoost.toLowerCase())&&!p.isLeaf&&g&&(I+=g+" <= "+(b||p.bid||0),-1===p.missingDir&&(I+="\nis a missing value"),I+="\n"):(I+=g+" <= "+(void 0!==b?b:p.bid||0),1!==(i[p.id]||p.missingDir)&&(I+="\nor missing"),I+="\n"),(p.isLeaf&&"guest"===e||p.isLeaf&&o.toLowerCase().match(x.homoBoost.toLowerCase()))&&!v&&(I+="weight: "+Object(y.b)(p.weight)+"\n"),o.toLowerCase().match(x.homoBoost.toLowerCase())||(I+="mix"===s.toLowerCase()&&e.toLowerCase().match("guest")&&-1===p.leftNodeid&&-1===p.rightNodeid&&0===m?"HOST"+(l?":"+l:""):(w&&w.toUpperCase())+" "+(A?":"+A:l?":"+l:"")),u.push({treeid:p.id,name:I,children:h}),m>c&&(c=m),void 0!==b},p=t.find(function(e){return e.id===t[0].id}),d=[],h=u({arr:d,node:p,rootNode:"mix"===s.toLowerCase()&&e.toLowerCase().match("guest")?"Multi nodes":""}),m=0;if("mix"===s.toLowerCase()&&!h&&e.toLowerCase().match("guest")){!function(t,e){var n=!0,a=!1,r=void 0;try{for(var i,o=f()(e);!(n=(i=o.next()).done);n=!0){var s=i.value;s.isLeaf&&u({arr:t,node:s,grandChildrenArr:[],depth:1})}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}}(d[0].children,t),m=170*(d[0].children.length||1)}else{m=function e(n,a,r,i){++i;var o=0,s=t.find(function(t){return t.id===a}),l=t.find(function(t){return t.id===r});if(s){var c=[],p=s.leftNodeid,d=s.rightNodeid;u({arr:n,node:s,grandChildrenArr:c,depth:i}),o+=e(c,p,d,i)}else l&&(o+=170);if(l){var h=[],f=l.rightNodeid;o+=e(h,l.leftNodeid,f,i),u({arr:n,node:l,grandChildrenArr:h,depth:i})}else s&&(o+=170);return s||l||(o=170),o}(d[0].children,t[0].leftNodeid,t[0].rightNodeid,1)}return{data:d,size:t.length,maxDepth:c,treeWidth:m}},A=n("sqJL"),I=n("UOeh"),_=n("uNnm"),O=n("OjIB"),C=n("evsm"),S=n("QdnX"),E=n("J2iB"),j=n.n(E),T=n("saIk"),N=n("xjht"),k=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var c,u,p,d,h,f,m,v,g,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(c={party_id:a,role:i,component_name:s,job_id:l},u=void 0,p=void 0,d=[],h=void 0,f=void 0,m=void 0,v=[],!n||n.msg.match("no data")){t.next=22;break}if(n=Object(_.default)(n.data),Object(S.each)(n,function(t){if("others"===t.name)u=N.d.bind(null,b()({metrics:t.options},c));else if("iter"===t.name)h=N.d.bind(null,b()({metrics:t.options},c)),m=Object(C.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(S.each)(t.options,function(e,a){n.push(D(a,b()({metrics:e},c),N.d,Object(C.b)(t.name),Object(_.explainCurves)(a).name,!0))}),d.push([e,Object(O.createAsyncComponent)(n)])}}),d.length&&Object(S.each)(d,function(t){e.push(t)}),!u){t.next=16;break}return t.next=15,u();case 15:p=t.sent;case 16:if(p&&(g=Object(C.b)(T.METRIC_TYPES.EVALUATION_SUMMARY),y=g(p.data)||[],(x=(x=[].concat(o()(y))).length>0?0===e.length?Object(O.wrapGroupComponent)(x):x:null)&&(e.length>1?e.splice(1,0,x):e.push(x))),!h){t.next=21;break}return t.next=20,h();case 20:f=t.sent;case 21:m&&(v=m(f),0===e.length?e.push(Object(O.wrapGroupComponent)(v)):e[0].options&&Array.isArray(e[0].options)?(w=e[0].options).unshift.apply(w,o()(v)):Array.isArray(e[0])&&(A=e[0]).unshift.apply(A,o()(v)));case 22:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),L=function(t,e,n,a){return b()({type:t,name:e,props:n},a)},D=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},R=function(t,e){return{label:t,value:e}},F=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"importance",much_deep:!0}],P=[{label:"FEATURE",prop:"fullname",width:"110px",align:"left",showOverflowTooltip:!0,normal_deep:!0},{type:"weight",label:"",prop:"gain",much_deep:!0}],M=[{label:"variable",prop:"variable"},{label:"anonym in guest",prop:"featureIndex"}],B=["73,78,206","7,135,210","1,161,194","107,142,0","2,135,69","236,118,0","225,51,51","130,53,180","212,0,120","82,85,112"];function U(t,e,n){var a=Object(y.a)(I.a),r=[],i=Object(y.a)(a.series),o=!0,s=!1,l=void 0;try{for(var c,u=f()(t);!(o=(c=u.next()).done);o=!0){var p=c.value;0===p[1]?(i.data.length>0&&(1===i.data.length&&(delete i.symbol,i.symbolSize=4),r.push(i),i=Object(y.a)(a.series)),i.data=[p],r.push(i),i=Object(y.a)(a.series)):(i.data=i.data||[],i.data.push(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}return r.push(i),a.series=r,a.series[0].markLine.data[0][1].coord[1]=e,a.yAxis.max=e,a.backgroundColor="#f8f8fa",a.color="#FF8800",a.tooltip.backgroundColor=n,a.tooltip.textStyle.color="#fff",a.tooltip.axisPointer.lineStyle.color=n,a}function z(t,e){if("string"==typeof e)return e;var n=t.split("_");return n.length>1?e[parseInt(n[0])]:e[0]}function H(t,e,n){var a=function(t,e,n){var a=t.data.data,r=t.data.meta,i=r.meta_data.workMode,o=r.module_name,s=a.featureNameFidMapping,l=a.trees,c=a.classes,u=a.treeDim,p=a.treePlan,d=function(t,e,n){var a=[];if(n>=3)if("guest"===t)e.forEach(function(t,e){var n="model_"+e;a.push({value:e,label:n,name:t})});else if("host"===t)for(var r=0;r0?{}:[],f={},m=d.length>0?{}:[],g=d.length>0?{}:"rgba("+B[0]+",1)",b=d.length>0?{}:0;return l.forEach(function(t,a){var r={tree:t.tree,role:n,partyId:e,featureNameFidMapping:s,splitMaskdict:t.splitMaskdict,missingDirMaskdict:t.missingDirMaskdict,type:o,workMode:i};if(Array.isArray(h)){h.push({label:t.tree.length,value:h.length.toString()});var l=v()(f).length%p.length,c=p[l]?p[l].split("-"):[];c="1"===c[0]?c[1]:null,r.treePartyId=c,f[(h.length-1).toString()]=r,m.push([a,t.tree.length]),b0){var n=Object(y.a)(A.a);return n.series.data=t,n.series.label.backgroundColor=e,n.series.leaves.label.backgroundColor=e.replace(",1)",",0.6)"),n}return{}}(e.data,t.color),width:e.treeWidth,height:"+"+100*(e.maxDepth-4>0?e.maxDepth-4:0),zoom:!0,noData:"this tree belongs to other party",legend:!1,className:"overflow-hidden"})]}function W(t,e,n){var a=t.data.data.featureNameFidMapping,r=H(t,e,n),i=[];for(var o in a)i.push(a[o]);return[L("form","",{form:[L("f-treeSelect","",{labels:r.label_index,treeList:r.treeList,treeLine:r.treeLines,maxmium:r.maxmium,basicColor:r.colors,showlabel:!!n.toLowerCase().match("guest")})]}),L("async","",{options:r.treeData,variableMap:i})]}function G(t,e){var n=function(t){if(t.featureImportances&&t.featureImportances.length>0){var e=[];return Object(S.each)(Object(y.a)(t.featureImportances),function(t){e.push(d()({},t,{gain:t.main&&"split"===t.main||!t.main?t.importance2:t.importance,importance:t.main&&"gain"===t.main?t.importance2:t.importance})),Y="split"===t.main}),e}return!1}(t);if(!n)return!1;var a=function(t,e){var n=u()({},e,[]),a=[],r=!0,i=!1,o=void 0;try{for(var s,l=f()(t);!(r=(s=l.next()).done);r=!0){var c=s.value;c.sitename.match(e)?n[e].push(c):(a.indexOf(c.sitename)<0&&(a.push(c.sitename),n[c.sitename]=[]),n[c.sitename].push(c))}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}var p=[],d=!0,h=!1,m=void 0;try{for(var v,g=f()(a);!(d=(v=g.next()).done);d=!0){var b=v.value;p.push(R(b,b))}}catch(t){h=!0,m=t}finally{try{!d&&g.return&&g.return()}finally{if(h)throw m}}var y=p.length>0?[R(e,e),R("guest"===e?"host":"guest",p)]:[];return{selection:y.length>0?L("f-select","",{options:y,legend:!0,multiple:!0}):null,data:y.length>0?n:n[e]}}(n,e),r=a.selection,i=a.data,o=[L("text","",{content:"{t} features involved in model splitting",data:{"{t}":function(t){return t.data.length||0}}})];r&&o.push(r);var s=[L("form","",{form:o}),L("table","",{header:F,data:i,pageSize:"all",combine:!1,export:"feature_importance_split",mapVariable:"fullname"})];if(function(t){return t.find(function(t){return!j()(t.gain)&&0!==t.gain})}(n)){var l=[L("text","",{content:"{t} features involved in model splitting",data:{"{t}":function(t){return t.data.length||0}}})];return r&&l.push(r),{importanceSplit:s,importanceGain:[L("form","",{form:l}),L("table","",{header:P,data:i,pageSize:"all",combine:!1,export:"feature_importance_gain",mapVariable:"fullname"})]}}return{type:"group",props:{options:s}}}var Y=!0;function V(t,e){Y=!0;var n=G(t,e);if(!n)return!1;var a=[L("title","",{content:"Feature Importance"})],r=[{label:"split"+(Y?" (applied)":""),value:"importanceSplit"},{label:"gain"+(Y?"":" (applied)"),value:"importanceGain"}];return n.type?[].concat(a,[n]):[L("tabs","",{title:"Feature Importance",options:Y?r:r.reverse(),content:n})]}function Z(t,e,n){if(t.featureNameFidMapping&&v()(t.featureNameFidMapping).length>0){var a=t.anonymousNameMapping,r=[];for(var i in a)r.push({variable:a[i],featureIndex:i});return[L("title","",{content:"Feature Mapping"}),L("table","",{header:M,data:r,combine:!1,export:"feature_mapping"})]}return!1}var Q=function(){var t=l()(r.a.mark(function t(e,n,a,i,o,s){var l,c,u,p,d;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return l=[],e.data.meta&&(c=e.data.meta.module_name,u=e.data.meta.meta_data.workMode,l.push(W(e,a,i)),("guest"===i||u.toLowerCase().match("mix"))&&(p=V(e.data.data,i))&&l.push(p),"host"!==i||c.toLowerCase().match("homo")||u.toLowerCase().match("mix")||(d=Z(e.data.data))&&l.push(d)),t.next=4,k(l,n,a,i,o,s);case 4:return t.abrupt("return",l.map(function(t){return Object(O.wrapGroupComponent)(t)}));case 5:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=Q},PZ4n:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t){if(t.msg.toString().toLowerCase().match("no data"))return[];var e=t.data,r=e.data,i=e.meta,o=[];return i&&i.meta_data&&i.meta_data.staticColumns.forEach(function(t,e){var n={};n.variable=t,r.selfValues.results.forEach(function(t){n[t.valueName]=t.values[e],n[t.valueName]=t.values[e]}),o.push(n)}),o.length>0?[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:o,header:function(t){var e=[Object(a.createHeader)("variable","variable",{sortable:!0,pageFixed:!0})];return t.forEach(function(t){e.push(Object(a.createHeader)(t,t,{sortable:!0,showOverflowTooltip:!0}))}),e.unshift({type:"index",label:"index"}),e}(i.meta_data.statistics),zeroFormat:"0",headerPagination:!0}}]}]:[]}},PbIf:function(t,e,n){"use strict";var a=n("EYjE");n.n(a).a},PcWm:function(t,e,n){"use strict";function a(){return{color:["#494ece","#00d269","#ff8103","#00dfcf","#f23ba9","#0080ff","#c13ce1","#ffcd03","#7c56ff","#a7cf02","#00d3ff","#ff1414"],backgroundColor:"#fbfbfc",tooltip:{position:function(t,e,n,a,r){var i=n.offsetWidth,o=n.offsetHeight,s=r.viewSize[0],l=r.viewSize[1],c=t[0]+20,u=t[1]+-10;return u+o>=l&&(u=l-o),c+i+100>=s&&(c=s-i-100),{left:c,top:u}},axisPointer:{type:"line"},trigger:"axis"},itemStyle:{},grid:{top:"10%",left:"3%",right:"10%",bottom:"3%",containLabel:!0},xAxis:{type:"value",splitLine:{show:!1},axisTick:{alignWithLabel:!0},name:"",nameCap:10},yAxis:{type:"value",name:"",splitArea:{show:!0,areaStyle:{color:["#ffffff"]}}},series:[],legend:{}}}n.d(e,"a",function(){return a})},Pi7P:function(t,e,n){var a=n("CQmJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("e95fb1b2",a,!0,{})},PkDK:function(t,e,n){"use strict";n.r(e);var a=n("QdnX"),r=n("OjIB");e.default=function(t,e,n,i,o,s){if(t.msg.match("no data"))return[];var l,c=t.data.data,u=c.allNames,p=u.length<=1,d={},h=void 0,f=void 0,m=[];"guest"===i?(h=u[0].names,f=p?[]:u[1].names):(h=p?u[0].names:u[1].names,f=p?[]:u[0].names),m.push({label:"index",type:"index"}),m.push({label:"variable",prop:"name",showOverflowTooltip:!0}),p||m.push({label:"anonym in "+("guest"===i?"host":"guest"),prop:"anonymous",width:115,showOverflowTooltip:!0}),l=c.anonymousMap,c.localVif&&Array.isArray(c.localVif)&&c.localVif.length>0&&(m.push({label:"vif",prop:"vif",showOverflowTooltip:!0,sortable:!0}),Object(a.each)(l,function(t,e){t.vif=c.localVif[e]}));var v=function(t,e,n,r){var i=n.length;Object(a.each)(e,function(e,o){Object(a.each)(n,function(n,a){t[e]||(t[e]={}),t[e][n]=r[o*i+a]})})};v(d,h,h,c.localCorr),v(d,h,f,c.corr),p||Object(a.each)(h,function(t,e){Object(a.each)(l,function(n){n.name===t&&(h[e]+="("+n.anonymous+")")})});var g=[{type:"group",props:{options:[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:m,data:l}}]}},{type:"pearson",props:{variable:h,otherVariable:f,nums:d,single:p,role:i}}];return[Object(r.wrapGroupComponent)(g)]}},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return o});var a=n("eOYL"),r={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=i,e?(n||(n=a.a.getUUID("line")),e.drawLayer(n,t),n):new a.a(t)}};function i(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;a.a.stroke(e,t.style,function(e){for(var n=0;np?p+.4*f:p-.4*f},v={x:d,y:h>p?h-.4*f:h+.4*f};if(o.push(m),n&&u===d){"left"===n?n=-s:"right"===n&&(n=s);var g={x:u+n,y:h>p?p+.4*f*2:p-.4*f*2};o.push(g);var b={x:u+n,y:h>p?h-.4*f*2:h+.4*f*2};o.push(b)}o.push(v)}return o.push(e),o}e.b=r},QSr5:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAAYklEQVQ4jWP8//8/AzUAE1VMoaZBLNgEnaIu4fXvvmV6jOhiKGHkFHVpB5TpTsABO6EGeuBz0VQoJgSykeVpG0ZQsAmHuB+pBmHVMDxdhNdgqrmIptGfjUWMIBiuxQgDAwMAeZQYFTxHy6sAAAAASUVORK5CYII="},Qb70:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("7Qib"),o=n("QdnX"),s=n("OjIB"),l=n("3EZw"),c=n.n(l)()(s.createHeader)(l.placeholder,l.placeholder,{align:"center"}),u=function(t){return[{label:"index",width:100,type:"index"}].concat(r()(function(t){return[c("variable","variable"),c(t+" value ratio","ratio"),c("fill_value","value")]}(t)))},p=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},d=function(t){return function(e,n){t.push({variable:n,ratio:Object(i.b)(e.ratio),value:Object(i.b)(e.value)})}},h=function(t,e){var n={};for(var a in t)n[a]={ratio:t[a],value:e[a]};return n},f=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r1&&void 0!==arguments[1]?arguments[1]:"key",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"value",a=[];return A(t,function(t,i){var o;a.push((o={},r()(o,e,i),r()(o,n,t),o))}),a},D=function(t,e){return te?1:t>=e?0:NaN},R=function(t,e){return et?1:e>=t?0:NaN};var F=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=new u.a;t.forEach(function(t){var n=void 0;n="string"==typeof e?E(t,e):"function"==typeof e?e(t):t,a.set(t,function(t){var e=[];return t.replace(/\D|\d+/g,function(t){var n=+t;e.push(isNaN(n)?t:n)}),e}(n))});var r=n?D:R;t.sort(function(t,e){t=a.get(t),e=a.get(e);for(var n=Math.min(t.length,e.length),i=0;ie&&(e=l)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}var c=e.toString().split("."),u=c.length>1&&c[1].match(/^0+/)?c[1].match(/^0+/)[0].length:0;u?u+=2:u=2;for(var d=parseFloat(e.toFixed(u));d1?n[1].length:0;var a=e.toString().split(".");return a=a.length>1?a[1].length:0,Number(t.toString().replace(".",""))/Number(e.toString().replace(".",""))*Math.pow(10,a-n)}catch(t){}}function d(t,e,n){try{var a=0,r=n.toString().split(".").length>1?n.toString().split(".")[1].length:0;r<2&&(r=2);var i=t.toFixed(r),o=e.toFixed(r);a+=i.split(".").length>1?i.split(".")[1].length:0,a+=o.split(".").length>1?o.split(".")[1].length:0;var s=Number(i.replace(".",""))*Number(o.replace(".",""))/Math.pow(10,a),l=s.toString().split(".");return s.toString().split(".").length>1&&(l[1].match(/([0-9])/)||(s=parseInt(s))),s}catch(t){}}var h=function(t,e,n,a,r){return{name:t,type:e,data:n,color:a,barWidth:r,yAxisIndex:"PSI"===t?"1":"0"}},f=function(t,e,n){var a={};return r()(t).forEach(function(r){a[r]=[],a[r]=function(t,e,n,a){return[h("Expected","bar",e[t],"#5E7FEB","8px"),h("Actual","bar",n[t],"#0EC7A5","8px"),h("PSI","line",a[t],"#FF9F22")]}(r,t,e,n)}),a};function m(t){return isNaN(+t)&&(t=0),(100*t).toFixed(4)+"%"}e.default=function(t){if(t.msg.match("no data"))return[];var e=t.data.data,a=e.featurePsi,i=e.totalScore,o=[],p={},h=[],v={},g={},b={},y={};return r()(a).forEach(function(t){var e=a[t].featureName,n=a[t].interval;p[e]=[],v[e]=[],g[e]=[],b[e]=[],y[e]=[],o.push({variable:e,psi:i[e]}),h.push({value:e,label:e}),n.forEach(function(n,r){p[e].push({binning:n,expected:m(a[t].expectPerc[r]),actual:m(a[t].actualPerc[r]),psi:a[t].psi[r]}),v[e].push(function(t){var e=void 0;return null!=(e=/([0-9.-]+)<([0-9a-zA-Z]+)(?:<=)([0-9.-]+)/g.exec(t))?"("+e[1]+","+e[3]+"]":null!=(e=/([0-9.-]+)<([0-9a-zA-Z]+)/g.exec(t))?"["+e[1]+",+∞)":null!=(e=/([0-9a-zA-Z]+)(?:<=)([0-9.-]+)/g.exec(t))?"(-∞,"+e[2]+"]":t}(n)),g[e].push(a[t].expectPerc[r]),b[e].push(a[t].actualPerc[r]),y[e].push(a[t].psi[r])})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"table",props:{data:o,header:[{type:"index",label:"index"},Object(s.createHeader)("variable","variable",{sortable:!0}),Object(s.createHeader)("PSI","psi",{sortable:!0})],zeroFormat:"0"}}]},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",props:{options:h}}]}},{type:"table",props:{data:p,header:[{type:"index",label:"index"},Object(s.createHeader)("binning"),Object(s.createHeader)("Expected%","expected"),Object(s.createHeader)("Actual%","actual"),Object(s.createHeader)("PSI","psi")],zeroFormat:"0",pageSize:-1}},{type:"chart",props:{setting:function(t,e,n,a){var i={};return r()(t).forEach(function(r,o){var s=Object(c.a)(l.a);s.xAxis.data=t[r];var p=u(e[r]),h=u(n[r]),f=p>h?p:h;s.yAxis[0].max=f,s.yAxis[0].interval=f/5,s.yAxis[0].axisLabel.formatter=function(t){return d(t,100,f)+" %"};var m=u(a[r]);s.yAxis[1].max=m,s.yAxis[1].interval=m/5,s.yAxis[1].axisLabel.formatter=function(t){return""+d(t,1,m)},s.tooltip.formatter=function(t){var e=t[0].name+"
";return t.forEach(function(t){e+=t.seriesName+": "+("PSI"!==t.seriesName?(100*t.data).toFixed(4)+"%":t.data)+"
"}),e},i[r]=s}),i}(v,g,b,y),options:f(g,b,y)}}]}]}},R5W1:function(t,e,n){"use strict";var a=n("lS5Q");n.n(a).a},RAVm:function(t,e,n){"use strict";n.r(e);var a=n("OjIB"),r=n("QdnX");e.default=function(t){var e=t.reader_name.meta.table_info,n=[];Object(r.each)(e,function(t,e){var a={};a.variable=e,a.samples=t,n.push(a)}),Object(r.sortByName)(n,"variable");var i=[],o=t.reader_name&&t.reader_name.meta;return o&&(o.file_path&&i.push({type:"text",props:{content:"file path: "+o.file_path,className:"small-form-text"}}),o.file_count&&i.push({type:"text",props:{content:"file count: "+o.file_count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"namespace: "+t.reader_name.meta.namespace,className:"small-form-text"}},{type:"text",props:{content:"name: "+t.reader_name.meta.table_name,className:"small-form-text"}}]),o.count&&i.push({type:"text",props:{content:"count: "+o.count,className:"small-form-text"}}),i.push.apply(i,[{type:"text",props:{content:"partitions: "+t.reader_name.meta.partitions,className:"small-form-text"}},{type:"text",props:{content:"storage engine: "+t.reader_name.meta.storage_engine,className:"small-form-text"}}]),n.length>0&&i.push.apply(i,[{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{data:n,header:[{type:"index",label:"index"},Object(a.createHeader)("variable","variable",{sortable:!0}),Object(a.createHeader)("samples","samples")],zeroFormat:"0",export:t.reader_name.meta.table_name,pageSize:-1}}])),i}},RZZm:function(t,e,n){var a=n("eomL");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("755370d4",a,!0,{})},S6YE:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t,e){var n=[];return t.forEach(function(t){n.push({type:"text",props:{content:t,className:"small-form-text",subContent:t.toLowerCase().match(/unmatched.*count/i)&&e.toLowerCase().match(/left/i)?"(Unmatched instance host variables are considered missing values)":""}})}),n},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=23;break}d={},h=[],f=[],m=0;case 6:if(!(p.length>0)){t.next=22;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),x=h.findIndex(function(t){return t.toLowerCase().match(/unmatched/)}),w=y.join_method?y.join_method.replace("_"," "):"",x>=0&&w&&h.splice(x,0,"Join method: "+w),(A=u(h,w)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(A))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n){e[n]&&t.push(n.replace(/_/g," ")+": "+e[n].toString().replace(/_/g," "))};for(var n in y)n.match(/metric_type/i)||"name"===n||n.match(/join_method/i)||e(y,n);(A=u(t,w)).length>0&&f.push({type:"form",props:{form:[].concat(o()(A))}})}(),m++,t.next=6;break;case 22:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 23:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},SNd3:function(t,e,n){"use strict";var a=n("n0uM");n.n(a).a},"SQ+b":function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("3cDs"),u=n("QdnX"),p=function(t){var e=[];return t.forEach(function(t,n){e.push({prop:"cluster"+n,label:"Cluster"+n,showOverflowTooltip:!0})}),[{type:"index",label:"index"},{prop:"variable",label:"variable",pageFixed:!0}].concat(e)},d=function(t){var e=[],n={_total:!0},a=0,r=0;return t.forEach(function(t){a+=t.cluster[1],r+=t.cluster[2],e.push({custerLabel:"Cluster"+t.cluster[0],count:t.cluster[1],ratio:(100*t.cluster[2]).toFixed(4)+"%"})}),n.custerLabel="Total",n.count=a,n.ratio=Math.round(100*r)+"%",e.push(n),e},h=function(t,e){for(var n=[],a=e.length,r=function(a){n[a]={variable:e[a]},Object(u.each)(t,function(t,e){n[a]["cluster"+e]=t.centroid[a]})},i=0;i0&&g&&g.length>0&&(y=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"text",props:{content:"count of clusters: "+e.data.data.countOfClusters,className:"small-form-text"}},{type:"text",props:{content:"max_interation: "+e.data.data.maxInteration,className:"small-form-text"}},{type:"text",props:{content:"converged: "+e.data.data.converged,className:"small-form-text"}}]}]),v&&v.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Cluster Detail"}},{type:"table",props:{header:[{type:"index",label:"index"},{prop:"custerLabel",label:"custer label"},{prop:"count",label:"count"},{prop:"ratio",label:"ratio"}],data:d(v)}}]}),g&&g.length>0&&y.push({component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"title",props:{content:"Centroid Detail"}},{type:"form",props:{form:[{type:"search"}]}},{type:"table",props:{header:p(g),data:h(g,b),headerPagination:!0}}]}),(f=y).push.apply(f,o()(m)),t.abrupt("return",y);case 12:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=f},SeDR:function(t,e,n){"use strict";n.r(e);var a=n("Vae8");e.default=a.default},SqDN:function(t,e,n){"use strict";n.r(e);var a=n("w5Yh");n.d(e,"default",function(){return a.default})},TD7w:function(t,e,n){"use strict";n.r(e);var a=n("HoRF");e.default=Object(a.default)("Accuracy",{yAxis:{name:"accuracy"}},void 0,!0)},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var a=n("uy/s");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("ff63f00e",a,!0,{})},UAQg:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("rfXi"),d=n.n(p),h=n("jWXv"),f=n.n(h),m=n("YEIV"),v=n.n(m),g=n("xjht"),b=n("uNnm"),y=n("evsm"),x=n("QdnX"),w=n("OjIB"),A=n("GoyQ"),I=n.n(A),_=n("gPpF"),O=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,p,d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u={party_id:a,role:i,component_name:s,job_id:c,isEvaluation:!0},p=[],d=[],h=void 0,f=void 0,n&&!n.msg.match("no data")&&(n=Object(b.default)(n.data),Object(x.each)(n,function(t){if("others"===t.name)h=(h=Object(y.b)(t.name)).bind(null,t,u);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(x.each)(t.options,function(e,a){console.log(t.name,"nams"),n.push(C(a,l()({metrics:e},u),g.d,Object(y.b)(t.name),Object(b.explainCurves)(a).name,!0))}),d.push([e,Object(w.createAsyncComponent)(n)])}})),!h){t.next=12;break}return t.next=9,h();case 9:m=t.sent,p.push.apply(p,o()(m)),f=S(p);case 12:return d.length&&Object(x.each)(d,function(t){f&&(t=E(t,f)),p.push(Object(w.wrapGroupComponent)(t))}),t.abrupt("return",p);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),C=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};function S(t){var e=null;return Object(x.each)(t,function(t,n){var a=t.options;if(Object(x.each)(a,function(t,n){if("group"===t.type){var a=t.props.options;if(Object(x.each)(a,function(t,n){if("table"===t.type&&"OneVsRestEvaluation"===t.props.export){if(e=t.props.data,Array.isArray(e)){var a=e[0].name.split("_class")[0];e=v()({},a,e)}return!1}}),null!==e)return!1}}),null!==e)return!1}),e}function E(t,e){t=t||[];var n=new f.a;Object(x.each)(e,function(t,e){I()(t)?Object(x.each)(t,function(t,e){if(I()(t))Object(x.each)(t,function(t,e){if("dataset"===e)return n.add(t),!1});else if("dataset"===e)return n.add(t),!1}):"dataset"===e&&n.add(t)}),n=d()(n);var a=t[0]?t[0].props.form:[],r={label:"One vs Rest",children:function(){var t=[];return Object(x.each)(n,function(e){t.push({label:e,value:"ovr_"+e})}),t}()};if(a[0]&&"f-tabs"===a[0].type){var i=a[0].props.tabs;i[0]&&"loss"!==i[0].label.toLowerCase()&&i.push(r)}else a.push({type:"f-type",ptops:{tabs:[r]}}),t.push({type:"form",props:{form:a}});var o=t[1],s=[];if(Object(x.each)(n,function(t){s.push(C("ovr_"+t,{tableData:e,namespace:t},function(t){return t},_.default,"one_vs_rest",!0))}),o&&"async"===o.type){var l=o.props.options;l.push.apply(l,s)}else t.push(Object(w.createAsyncComponent)(s));return t}e.default=O},"UCI/":function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a);e.default=function(t){var e=t.data.data&&t.data.data.colMap,a=[],i={};return e&&r()(e).length>0?(r()(e).forEach(function(t){a.push({value:t,label:t}),i[t]=[],e[t].transformedHeaders.forEach(function(n,a){i[t].push({encoded_vector:n,value:e[t].values[a]})})}),[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[{type:"form",props:{form:[{type:"f-select",name:"f-selection",props:{options:a}}]}},{type:"table",props:{data:i,header:[{type:"index",label:"index"},{prop:"value",label:"value"},{prop:"encoded_vector",label:"encoded_vector"}],export:"encode_detail"}}]}]):[]}},UFPc:function(t,e,n){"use strict";var a=n("tlOW");n.n(a).a},UJde:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("EJiy"),l=n.n(s),c=n("OjIB"),u=n("QdnX"),p=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":l()(e))&&null==n&&(n=e),o()({prop:t,label:e},n)};e.default=function(t){var e=[];return Object(u.each)(t,function(t,n){Object(u.each)(t,function(t,n){var a=t.meta,i=a.weight_mode,o=a.class_weight,s=a.classes,l=a.sample_weight_name,c=[p("","index",{type:"index"}),p("label","label"),p("weight","weight")],d=[],h=[],f=[],m=[],v=null;h.push({type:"text",props:{content:"weight mode: "+i}}),l&&h.push({type:"text",props:{content:"column name: "+l}}),o&&r()(o).length>0&&(m=function(t){return{type:"f-select",props:{options:function(){var e=[];return e.push({label:"all",value:"default"}),Object(u.each)(t,function(t){e.push({label:t.label,value:"label"+t.label})}),e}(),styles:"width:auto;"}}}(f=function(t,e){var n=[];return Object(u.each)(e,function(e){n.push({label:e,weight:t[e]})}),n}(o,s)),v=function(t){var e={default:t};return Object(u.each)(t,function(t){e["label"+t.label]=[t]}),e}(f),h.push(m)),d.push({type:"form",props:{form:h}}),v&&d.push({type:"table",props:{header:c,data:v}}),e.push.apply(e,d)})}),e.length>0?Object(c.wrapGroupComponent)(e):null}},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return u});var a=n("gDS+"),r=n.n(a),i=n("UVkp"),o=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=o.a.getUUID("text")),e.drawLayer(n,t),n):new o.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,CENTER:i.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,a=e.$meta.get("$translate")||{x:0,y:0},r=e.point.x||e.point[0]||0,i=e.point.y||e.point[1]||0,o=(t.x||t[0]||0)-a.x,l=(t.y||t[1]||0)-a.y,c=parseInt(e.style.font),u=!1;return e.position===s.RIGHT?o>=r-n&&o<=r&&l>=i-c/2&&l<=i+c/2&&(u=!0):e.position===s.CENTER?o>=r-n/2&&o<=r+n/2&&l>=i-c/2&&l<=i+c/2&&(u=!0):o>=r&&o<=r+n&&l>=i-c/2&&l<=i+c/2&&(u=!0),u}function c(){var t=JSON.parse(r()(this.style));t.textBaseline=i.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=u(e,t.text,t.style),a=t.width||Math.ceil(n.width),r=parseInt(t.style.font),i=t.breakLine?t.height?Math.floor(t.height/(r+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(r+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)a;)m--;d.push(t.text.substr(h,m)),h+=m}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var g in e.save(),t.style)e[g]=t.style[g];t.angle&&o.a.rotate(e,t.point,t.angle);for(var b=0;b1?t.betweenEachLine:0));e.restore()}.call(this)}function u(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r={};for(var i in t.save(),n)t[i]=n[i];var o=t.measureText(e);return r.width=o.width,r.ylength=0!==Math.cos(a)?r.width*Math.cos(a):0,r.xlength=0!==Math.sin(a)?r.width*Math.cos(a):r.width,t.restore(),r}e.a=s},UN1j:function(t,e,n){"use strict";n.r(e);var a=n("YEIV"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("4rwF"),u=n("ODRq"),p=n.n(u),d={data:function(){return{storageMap:new p.a}},methods:{setStorageMap:function(t,e){return this.storageMap.set(t,e),!0},getStorageMap:function(t){var e=this.storageMap.get(t);return e||(e=new p.a,this.setStorageMap(t,e)),e}}},h=n("jWXv"),f=n.n(h),m=n("rfXi"),v=n.n(m),g=n("+Ej1"),b=n.n(g),y=n("FyfS"),x=n.n(y),w=n("EJiy"),A=n.n(w),I=n("GQeE"),_=n.n(I);function O(t,e){var n=_()(t);for(var a in e)if(n.indexOf(a)>=0)o()(t[a],e[a]);else{if(!n.find(function(e){return"object"===A()(t[e])&&!e.match("csv")}))continue;var r=!0,i=!1,s=void 0;try{for(var l,c=x()(n);!(r=(l=c.next()).done);r=!0){var u=l.value;if(!u.match("csv")&&"object"===A()(t[u])&&O(t[u],e))break}}catch(t){i=!0,s=t}finally{try{!r&&c.return&&c.return()}finally{if(i)throw s}}}}var C={data:function(){return{collecting:!1,dataCollection:"",oldProperty:[],needToAsyncProperty:[],currentArgs:"",currentProperty:"",currentComp:"",currentCompProp:"",originProperty:[]}},methods:{getNextProperty:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a="";if("default"===t)return"default";for(var r=_()(t),i=function(i,o){var s=r[i];if(e.originProperty.indexOf(s)<0){var l="object"===A()(t[s])&&_()(t[s]).find(function(e){return"object"===A()(t[s][e])&&null!==t[s][e]&&"title"in t[s][e]});return!function(t){return""!==t&&null!==t&&void 0!==t&&!b()(t)}(t[s].title)||l?l&&(a=e.getNextProperty(t[r[i]],!1)):a=s,a?(n&&e.originProperty.push(a),{v:a}):(e.originProperty.push(s),"continue")}},o=0,s=r.length;o0?(a.push(u),o=!0):o=!1}else if(["table"].indexOf(c.type)>=0){var p=this.refOpera("comp"+l,"allSteps",t);p&&(o?O(a[a.length-1],p):a.push(p))}else if(["chart","async","group","tabs"].indexOf(c.type)>=0){if(this.refOpera("comp"+l,"getNames").find(function(t){return i.match(t)})){if(o)this.oldProperty[this.oldProperty.length-1].connectTo.push("comp"+l);this.needToAsyncProperty.push({data:o?a[a.length-1]:"default",comp:"comp"+l,compType:c.type,checkName:this.refOpera("comp"+l,"getNames"),position:a.length-1,name:c.name})}}}this.needToAsyncProperty.length>0&&(this.collecting=!0,this.$nextTick(function(){n.startAsyncRequest(t)})),this.dataCollection=a,this.collecting||(this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="")},startAsyncRequest:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.currentArgs,e=this.needToAsyncProperty[0];if(e){var n=this.getNextProperty(e.data);if("default"===n){if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0)this.currentComp=e,this.currentCompProp="",this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t);else this.refOpera(e.comp,"allSteps",t);this.needToAsyncProperty.shift(),this.originProperty=[]}else if(n&&"default"!==n)if(this.currentComp=e,this.currentCompProp=n,n!==this.refOpera(e.comp,"getCurrentProperty").toString())this.refOpera(e.comp,"linkageChange",n,!1,t.imply);else if(["chart"].indexOf(e.compType)>=0&&t.imply.length>0){this.refOpera(e.comp,"setImply",t.imply)||this.refOpera(e.comp,"allSteps",t,n)}else this.refOpera(e.comp,"allSteps",t,n);else this.needToAsyncProperty.shift(),this.originProperty=[],this.startAsyncRequest()}else this.returnToOrigin(),this.collecting=!1,this.$emit("reporter",r()({},this.currentProperty,this.dataCollection),"group"),this.dataCollection="",this.originProperty=[]},asyncRequestRefreshed:function(){this.refOpera(this.currentComp.comp,"allSteps",this.currentArgs,this.currentCompProp)},combineReporter:function(t,e){var n=this,a=this.currentComp.data;if(a&&"default"!==a||"chart"!==e)if(a&&"default"!==a||"group"!==e)a&&"chart"===e?O(a,t):a&&"group"===e&&(1===t[this.currentCompProp].length?O(a,r()({},this.currentCompProp,t[this.currentCompProp][0])):(a.groups=a.groups||[],a.groups.push(t[this.currentCompProp])));else{var i;""===this.dataCollection&&(this.dataCollection=[]),(i=this.dataCollection).push.apply(i,l()(t.group))}else for(var o in t)this.dataCollection.push(t[o]);this.$nextTick(function(){n.startAsyncRequest()})},returnToOrigin:function(){for(var t=0,e=this.oldProperty.length;t=0){var r=t.refOpera("comp"+a,"getNames");Array.isArray(r)&&r.length>0&&e.push.apply(e,l()(r))}}),e},getVariableMap:function(){var t=this,e=[];return this.currentList.forEach(function(n,a){if(["table","group","chart","async"].indexOf(n.type)>=0){var r=t.refOpera("comp"+a,"getVariableMap");Array.isArray(r)&&r.length>0&&e.push.apply(e,l()(r))}}),e.length>0?v()(new f.a(e)):e},hasIv:function(){for(var t=!1,e=0,n=this.currentList.length;e=0){var r=this.refOpera("comp"+e,"hasIv");if(r){t=r;break}}}return t},handleFilterLogic:function(t){for(var e=!1,n=0,a=this.currentList.length;n=0){var i=this.refOpera("comp"+n,"handleFilterLogic",t);if(i){e=i;break}}}return e}}},S={name:"Cgroup",components:{Cform:function(){return n.e("chunk-6795").then(n.bind(null,"55cT"))},Ctable:function(){return n.e("chunk-09f6").then(n.bind(null,"sBn2"))},Cchart:function(){return n.e("chunk-3243").then(n.bind(null,"cdl0"))},Cechart:function(){return Promise.all([n.e("chunk-ffb3"),n.e("chunk-61f4")]).then(n.bind(null,"8K0p"))},Casync:function(){return n.e("chunk-4d44").then(n.bind(null,"pH2k"))},Ctitle:function(){return n.e("chunk-446d").then(n.bind(null,"cPhb"))},Ctext:function(){return n.e("chunk-2d2d").then(n.bind(null,"kYNT"))},Cpearson:function(){return n.e("chunk-5834").then(n.bind(null,"odDI"))},Ctabs:function(){return n.e("chunk-385e").then(n.bind(null,"dVgn"))}},mixins:[c.a,d,C],props:{options:{type:Array,default:function(){return[]}},unique:{type:String,default:"Cgroup"}},data:function(){return{currentList:[].concat(l()(this.options)),timer:(new Date).getTime(),needToInRow:["pearson"]}},watch:{options:{handler:function(){var t=this;this.$set(this,"currentList",[].concat(l()(this.options))),this.timer=(new Date).getTime(),this.$nextTick(function(){t.needDefault()})},deep:!0}},mounted:function(){var t=this;this.$nextTick(function(){t.needDefault()})},methods:{needDefault:function(){for(var t=this,e=!0,n=0;n=0&&this.refOpera("comp"+(e+1),"linkageForm",t)},searchByForm:function(t,e){"table"===this.currentList[e+1].type&&this.refOpera("comp"+(e+1),"searching",t)},changeByForm:function(t,e,n){for(var a=e+1;a=0&&this.refOpera("comp"+a,"linkageChange",t,n)},changeByOutside:function(t,e){for(var n=e-1;n>=0;n--)if("form"===this.currentList[n].type){this.refOpera("comp"+n,"linkageOutside",t);break}},refreshByForm:function(t){for(var e=t+1;e=0){this.refOpera("comp"+e,"linkageRefresh");break}},rangeByForm:function(t,e){for(var n=e+1;n=0&&!this.refOpera("comp"+n,"setDefault",e))return!1}return!0},getSelected:function(){for(var t={},e=0;e=0&&(t=o()(t,this.refOpera("comp"+e,"getSelected")))}return r()({},this.unique,t)},addEvents:function(t,e){for(var n in e)t.on[n]=e[n]},addEventForForm:function(t,e){var n=this;this.addEvents(t,{search:function(t){n.searchByForm(t,e)},form:function(t){n.filterByForm(t,e)},refresh:function(){n.refreshByForm(e)},change:function(t){n.changeByForm(t,e)},range:function(t){n.rangeByForm(t,e)},headerPage:function(t){n.headerPageByForm(t,e)},filterTable:function(t){n.filterTableByForm(t,e)}})},addEventForChart:function(t,e){var n=this;this.addEvents(t,{refreshed:function(){n.collecting?n.asyncRequestRefreshed():n.$emit("refreshed")},reporter:function(t,e){n.combineReporter(t,e)}})},addEventForOthers:function(t,e){var n=this,a={change:function(t){n.changeByOutside(t,e)}};arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&(a.afterRequest=this.fixedAfterRequest()),this.addEvents(t,a)},addEventForTable:function(t,e){var n=this;this.addEvents(t,{refreshed:function(){n.$emit("refreshed")}})},children:function(t){for(var e=[],n=0;n=0&&this.addEventForChart(r,n),["table","chart"].indexOf(a.type)>=0&&this.addEventForOthers(r,n,!1),"async"===a.type&&this.addEventForOthers(r,n,!0),["table"].indexOf(a.type)>=0&&this.addEventForTable(r,n);var i="comp-group__each "+a.type+"_inrow";e.push(t("div",{class:i},[t("C"+a.type,r)]))}return e},checkInRow:function(){var t=this;return this.currentList.find(function(e){return t.needToInRow.indexOf(e.type)>=0})},groups:function(t){return t("section",{class:"cus-group__container"+(this.checkInRow()?" container__inrow":"")},this.children(t))}},render:function(t){return this.groups(t)}},E=(n("L2p5"),n("KHd+")),j=Object(E.a)(S,void 0,void 0,!1,null,"2f4a7698",null);j.options.__file="index.vue";e.default=j.exports},UOeh:function(t,e,n){"use strict";function a(){return{color:"transparent",tooltip:{trigger:"axis",position:function(t,e,n,a,r){var i=n.offsetWidth,o=n.offsetHeight;return{left:t[0]-i/2,top:t[1]-o/2}},formatter:function(t){return"Tree ID: "+t[0].data[0]+"
Tree Size: "+(0!==parseInt(t[0].data[1])?t[0].data[1]:"unknow")},backgroundColor:"#fff",textStyle:{color:"rgb(73,78,206)",fontSize:12,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", "Arial", "sans-serif"'},axisPointer:{type:"line",lineStyle:{color:"#FF9A4D",width:2}}},backgroundColor:"transparent",grid:{left:0,right:0,bottom:0,top:0,containLabel:!0},xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:{type:"line",symbol:"none",data:[],markLine:{lineStyle:{width:2,color:"#FF9A4D",type:"solid"},animation:!1,symbol:"none",data:[[{coord:[0,0]},{coord:[0,0]}]]}}}}n.d(e,"b",function(){return a}),e.a=a()},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},UasS:function(t,e,n){"use strict";n.r(e);var a=n("EJiy"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("7Qib");var u=n("QdnX"),p=n("VEiK"),d=n.n(p);function h(t,e,n){return n?"-":"host"===e?"-":void 0===t||null===t?"-":Object(c.b)(t)}e.default=function(t,e,n,a,i,s){var p=arguments.length>6&&void 0!==arguments[6]&&arguments[6],f=arguments[7];if(Object(u.isEmpty)(t))return null;var m=function(){var r=[],u=[],m={},v={},g={},b={},y={},x=0,w=function(w){var A=[],I=[],_=-9999,O=t[w].ivArray.length>0?t[w].ivArray:t[w].splitPoints,C=t[w].splitPoints.length "+_,l="("+_+", +∞)"):C&&a===r.length-1?(o="missing_value",l="missing_value"):(o=_+" < "+w+" <= "+i,l="("+_+","+i+"]"),_=i);var u=d()(h(t[w].eventRateArray[a],s,p),100),f=d()(h(t[w].nonEventRateArray[a],s,p),100);A.push({binning:o,"anonym in guest":"bin_"+a,event_count:h(t[w].eventCountArray[a],s,p),event_ratio:u?u.toFixed(4)+"%":"",non_event_count:h(t[w].nonEventCountArray[a],s,p),non_event_ratio:f?f.toFixed(4)+"%":"",woe:h(t[w].woeArray[a],s,p),iv:h(t[w].ivArray[a],s,p)}),I.push({formatterBinning:l,event_count:h(t[w].eventCountArray[a],s,p),event_ratio:h(t[w].eventRateArray[a],s,p),non_event_count:h(t[w].nonEventCountArray[a],s,p),non_event_ratio:h(t[w].nonEventRateArray[a],s,p),woe:h(t[w].woeArray[a],s,p)})}),m[w]=A;var S=[];S.push({name:"event_count",type:"bar",data:t[w].eventCountArray,stack:"event",barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),S.push({name:"non_event_count",type:"bar",data:t[w].nonEventCountArray,stack:"event",barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#0EC7A5"}});var E=t[w].eventCountArray.map(function(t,e){return e+1}),j={backgroundColor:"#EBEDF0",title:{text:""},color:["#8e91df","#78d0b7"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,right:0,top:"3%",orient:"horizontal",itemWidth:15,itemHeight:15},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:{type:"value",splitArea:{show:!0,areaStyle:{color:"#ffffff"}}},xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}}},series:[]},T={backgroundColor:"#EBEDF0",title:{text:""},color:["#8e91df","#78d0b7"],tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{show:!0,right:0,top:"3%",orient:"horizontal",itemWidth:15,itemHeight:15},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:{type:"value",splitArea:{show:!0,areaStyle:{color:"#ffffff"}}},xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}}},series:[]};j.xAxis.data=[].concat(l()(E)),T.xAxis.data=[].concat(l()(E)),j.tooltip.formatter=function(t){var e=I[t[0].dataIndex],n=[e.formatterBinning+"
"],a=!0,r=!1,i=void 0;try{for(var s,l=o()(t);!(a=(s=l.next()).done);a=!0){var c=s.value;"event_count"===c.seriesName?n.push("Event_Count: "+e.event_count+"
\n Event_Ratio: "+(100*parseFloat(e.event_ratio)).toFixed(4)+"%
"):"non_event_count"===c.seriesName&&n.push("Non_Event_Count: "+e.non_event_count+"
\n Non_Event_Ratio: "+(100*parseFloat(e.non_event_ratio)).toFixed(4)+"%
")}}catch(t){r=!0,i=t}finally{try{!a&&l.return&&l.return()}finally{if(r)throw i}}return n.sort(function(t,e){return t.match("Event_Count")&&e.match("Non_Event_Count")?1:t.match("Non_Event_Count")&&e.match("Event_Count")?-1:0}),n.join("")},T.tooltip.formatter=function(t){var e=I[t[0].dataIndex];return e.formatterBinning+"
Woe: "+e.woe+"
"},b[w]=j,y[w]=T,v[w]=t[w].eventCountArray.length>0&&t[w].nonEventCountArray.length>0?S:{};var N=[];N.push({name:"woe",type:"bar",data:t[w].woeArray,barMinWidth:"12",barMaxWidth:"15",itemStyle:{color:"#4159D1"}}),N.push({type:"line",tooltip:{show:!1},data:t[w].woeArray,lineStyle:{color:"#0EC7A5"}}),g[w]=t[w].woeArray.length>0?N:{},r.push({variable:w,anonymInGuest:function(){if(f&&f.length>0){var t=e.findIndex(function(t){return t===w});if(t>=0)return f[t]}if(s===i){var n=w.match(/[0-9]+/)?w.match(/[0-9]+/)[0]:x;return i+"_"+a+"_"+n}return w}(),iv:h(t[w].iv,s,p),binding:function(){if("guest"!==n)return w||"-";for(var t=0;tparseInt(e.variable.match(/[0-9]+$/)[0])?1:-1:0});var I=[],_=!0,O=!1,C=void 0;try{for(var S,E=o()(r);!(_=(S=E.next()).done);_=!0)for(var j=S.value,T=0;T2&&void 0!==arguments[2]?arguments[2]:{};o()(this,t),this.url=e,this.protocols=n,this.options=r()({},p,i),this.ws=null,this.timeouted=!1,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.forcedClose=!1;var s=document.createElement("div");this.eventTarget=s,this.addEventListener=s.addEventListener.bind(s),this.removeEventListener=s.removeEventListener.bind(s),this.dispatchEvent=s.dispatchEvent.bind(s),this.options.autoOpen&&setTimeout(function(){a.open(!1)})}return l()(t,[{key:"open",value:function(e){var n=this,a=this.dispatchEvent,r=this.options,i=r.reconnectInterval,o=r.timeoutInterval,s=r.reconnectDecay,l=r.maxReconnectAttempts,c=r.maxReconnectInterval,p=r.heartCheck;if(console.log(this.reconnectAttempts),this.reconnectAttempts){if(l&&this.reconnectAttempts>l)return}else a(d("connecting")),this.reconnectAttempts=0;this.ws||(this.ws=new WebSocket(t.baseUrl+this.url,this.protocols));var h=this.ws,f=null;p&&(f=function(t){return{timeout:6e4,timer:null,reset:function(){clearTimeout(this.timer),this.start()},start:function(){this.timer=setTimeout(function(){t.send(u()(""))},this.timeout)},stop:function(){clearTimeout(this.timer)}}}(h));var m=setTimeout(function(){n.timeouted=!0,n.ws.close(),n.timeouted=!1},o);h.onopen=function(t){clearTimeout(m),n.protocols=h.protocols,n.readyState=WebSocket.OPEN,d("open",t).isReconnect=e,e=!1,a(d("open",t)),f&&f.start()},h.onclose=function(t){if(clearTimeout(m),f&&f.stop(),n.ws=null,n.forcedClose)n.readyState=WebSocket.CLOSED,a(d("close",t));else{n.readyState=WebSocket.CONNECTING;var r=d("connecting");r.code=t.code,r.reason=t.reason,r.wasClean=t.wasClean,a(r),e||n.timeouted||a(d("close",t));var o=i*Math.pow(s,n.reconnectAttempts);setTimeout(function(){n.reconnectAttempts++,n.open(!0)},Math.min(o,c))}},h.onmessage=function(t){var e=d("message",t);e.data=t.data,a(e),f&&f.reset()},h.onerror=function(t){a(d("error",t))}}},{key:"send",value:function(t){if(this.ws)return this.ws.send(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments[1];this.forcedClose=!0,this.ws&&this.ws.close(t,e)}}]),t}();h.CONNECTING=WebSocket.CONNECTING,h.OPEN=WebSocket.OPEN,h.CLOSING=WebSocket.CLOSING,h.CLOSE=WebSocket.CLOSE,h.PROTOCOL="https:"===window.location.protocol?"wss://":"ws://",h.baseUrl=""+h.PROTOCOL+location.host,e.a=h},V2Nr:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABHklEQVQ4ja3ULUhDURgG4McfEJPFplWYMBGWFYTBuvEWEWwWo2BXMFpME2RlWI2DNYNpVcGqRSyGMbRMBt/kenfvFXQvHDjn+3n5fs/McDg0DcxOhQXzZcpao13HQTyvep2kW2Sbm1qt0V7FMdbwGOIKnnDe6yTPpUS1RnspImjgDXd4CfUKtrCMTkT4XpTaNebQTUUyxojwJiLbwTZ2x8pssRfRwifqOaWoh64Vtt/I69oHqjhCExtxmiGrhs0PFHXtFn0kOA3ZKy4i7QmUtX/kcI+zeJ8EeS5K5ygc+6l7IfJqtPALea5NlmiAvWhxESphM0jrs6ntpwZyMwZyXOyJgUw7Fq3IOg4LVuSy10kesj6l38i/l/YvmM5/hC+PjVLArR6mbwAAAABJRU5ErkJggg=="},VZY0:function(t,e,n){var a=n("CX6U");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("539394d8",a,!0,{})},Vae8:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,x,w,A,I,_,O,C,S,E,j,T,N,k,L;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data,g=[],x=[],u&&b(x,u.bestIteration),Object(d.isEmpty)(x)||g.push(Object(m.wrapGroupComponent)(x)),w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=[],O=void 0,C=void 0,S=void 0,E=[],n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)A=p.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)O=p.d.bind(null,l()({metrics:t.options},w)),S=Object(h.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(y(a,l()({metrics:e},w),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),_.push([e,Object(m.createAsyncComponent)(n)])}})),_.length&&Object(d.each)(_,function(t){g.push(Object(m.wrapGroupComponent)(t))}),!A){t.next=19;break}return t.next=18,A();case 18:I=t.sent;case 19:if(I&&(j=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),T=j(I.data)||[],(N=(N=[].concat(o()(T))).length>0?Object(m.wrapGroupComponent)(N):null)&&(g.length>1?g.splice(1,0,N):g.push(N))),!O){t.next=24;break}return t.next=23,O();case 23:C=t.sent;case 24:return S&&(E=S(C),0===g.length?g.push(Object(m.wrapGroupComponent)(E)):g[0].options&&Array.isArray(g[0].options)?(k=g[0].options).unshift.apply(k,o()(E)):Array.isArray(g[0])&&(L=g[0]).unshift.apply(L,o()(E))),t.abrupt("return",g);case 26:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();function b(t,e){e>-1&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var y=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},"Vmd+":function(t,e,n){"use strict";n.r(e);var a=n("lBJu");e.default=a.default},X6wx:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("cluster_index","Cluster Label"),Object(i.createHeader)("radius","Max radius"),Object(i.createHeader)("nearest_idx","Nearest Cluster")];function s(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){for(var i=t[a].meta,l=i.cluster_index,c=i.nearest_idx,u=i.radius,p=l.length,d=[],h=0;h=0&&(l[a][d]=void 0===o[n]?"-":Object(s.b)(o[n])),h[n]||(l[a][d+"_disable"]=!0);for(var i=0;i0){var f=!0,m=!1,v=void 0;try{for(var g,b=r()(c);!(f=(g=b.next()).done);f=!0){var y=g.value.find(function(t){return t.variable===n});if(y){u=y.anony,p=y.anonyIdx;break}}}catch(t){m=!0,v=t}finally{try{!f&&b.return&&b.return()}finally{if(m)throw v}}}l[a].binding=u,l[a]._anony_index=p;break}}),u&&u.length>0){for(var m=0;m0&&n.push(Object(l.createFormComponent)("f-select","f-selection",{options:[Object(l.createOption)("guest"),Object(l.createOption)("host",e.length>0?e.map(function(t){return{label:t,value:t}}):"host")],multiple:!1}))):"host"===t&&n.push(Object(l.createFormComponent)("search")),n}(i,m)}},{type:"table",props:{header:function(t,e,n,a){var r={};if("guest"===t){var i=[n,a[0]||[]];i=i.reduce(function(t,e){return t.concat(e)}),r.header=[{type:"index",label:"index"}].concat(function(t,e,n){var a={},r={};return r=t.reduce(function(t,n){return!a[n[e]]&&(a[n[e]]=t.push(n)),t},[]),n&&r.unshift(r.pop()),r}(i,"prop",a[0])),r.disable={guest:c(n,i)},e.forEach(function(t,e){r.disable[t]=c(a[e],i)})}else"host"===t&&(n.splice(1,0,{prop:"binding",label:"anonym in guest"}),r.header=[{type:"index",label:"index"}].concat(n));return r}(i,m,d,f),data:function(t,e,n,a){var r={};return"guest"===t?Array.isArray(e)&&e.length>0?(r.guest=n,e.forEach(function(t,e){r[t]=a[e]})):r=n:"host"===t&&(r=n),r}(i,m,p,h),pageSize:-1,export:"selection_detail"}}]}]}return[]}},Z3Wt:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("QbLZ"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("xjht"),u=n("QdnX"),p=n("evsm"),d=n("saIk"),h=n("OjIB"),f=n("uNnm"),m=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var m,g,b,y,x,w,A;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(m=[],g={party_id:a,role:i,component_name:s,job_id:l},b=void 0,y=void 0,x=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(u.each)(n,function(t){if("others"===t.name)b=c.d.bind(null,o()({metrics:t.options},g));else if("curves"===t.name||"loss"===t.name||"dbi"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(u.each)(t.options,function(e,a){n.push(v(a,o()({metrics:e},g),c.d,Object(p.b)(t.name),Object(f.explainCurves)(a).name,!0))}),x.push([e,Object(h.createAsyncComponent)(n)])}})),x.length&&Object(u.each)(x,function(t){m.push(Object(h.wrapGroupComponent)(t))}),!b){t.next=11;break}return t.next=10,b();case 10:y=t.sent;case 11:return y&&(w=Object(p.b)(d.METRIC_TYPES.SBT_FEATURE_TRANSFORMER),A=w(y.data),m.push(Object(h.wrapGroupComponent)(A))),t.abrupt("return",m);case 13:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),v=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=m},Zmut:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".title[data-v-56e1b348] {\n font-size: 16px;\n font-weight: 700;\n color: #3E4052;\n}\n.tip[data-v-56e1b348] {\n font-size: 12px;\n color: #999BA3;\n}\n.title[data-v-56e1b348],\n.tip[data-v-56e1b348] {\n margin-bottom: 0.5em;\n}\n",""])},aU68:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9klEQVQ4jdXUIUtEQRSG4UejRqtNWBAE5SaxGITbNCrTFCwGQbb4GyyLYLAI2i4a3TZgsIhpUBCEBZvVqHVlYdawcNdl2aADU853eIf3HJipbrdrEmd6IpRRQEVZNXv3t75ataKsttDCQi69oZliuB0JVJTVIk6wiRec5ugIS2jjOMXwWgsqyuoMe/jEBR4HHl7FPmZxmWI47AcTG3ad2jnWa9TucTBUbQA4/rCLsuoNeANfuEkxPPVXn2JoFWW1gm3M4C7F0B6mNocdLKODqxztooFnXKcYPkZVa2TgfC69Z0BnXLW1rPbwj9VqgD9qw/r+2H+Ebwpgjw85Jd+tAAAAAElFTkSuQmCC"},arco:function(t,e,n){"use strict";var a=n("Do9X");n.n(a).a},bF4i:function(t,e,n){var a=n("IxTP");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("1bb1ea2e",a,!0,{})},bw2v:function(t,e,n){"use strict";var a=n("U9kv");n.n(a).a},cU3k:function(t,e,n){"use strict";var a=n("QbLZ"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("FyfS"),l=n.n(s),c=n("bdgK"),u={name:"VirtualScrollItem",inject:["scrollData","scrollParent","scrollResizeObserver"],props:{item:{type:Object,required:!0},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},tag:{type:String,default:"div"}},computed:{id:function(){return this.item[this.scrollData.keyField]},size:function(){return this.scrollData.validSizes[this.id]&&this.scrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.scrollData.active}},watch:{id:function(){this.size||this.onDataUpdate()},finalActive:function(t){this.size||(t?this.scrollParent.$_undefinedMap[this.id]||(this.scrollParent.$_undefinedSizes++,this.scrollParent.$_undefinedMap[this.id]=!0):this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=!1)),this.scrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingScrollUpdate===this.id&&this.updateSize()}},created:function(){this.$_forceNextScrollUpdate=null,this.scrollResizeObserver||this.vscrollParent.$on("vscroll:update",this.onScrollUpdate)},mounted:function(){this.scrollData.active&&(this.updateSize(),this.observeSize())},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextScrollUpdate=null,this.$_pendingScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextScrollUpdate=this.id},computeSize:function(t){var e=this;this.$nextTick(function(){if(e.id===t){var n=e.$el.offsetWidth,a=e.$el.offsetHeight;e.applySize(n,a)}e.$_pendingSizeUpdate=null})},applySize:function(t,e){var n=Math.round(e);n&&this.size!==n&&(this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.scrollData.sizes,this.id,n),this.$set(this.scrollData.validSizes,this.id,!0))},observeSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.observe(this.$el),this.$el.addEventListener("resize",this.onResize))},unobserveSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.unobserve(this.$el),this.$el.removeEventListener("resize",this.onResize))},onResize:function(t){var e=t.detail.contentRect,n=e.width,a=e.height;this.applySize(n,a)},onScrollUpdate:function(t){var e=t.force;!this.finalActive&&e&&(this.$_pendingScrollUpdate=this.id),this.$_forceNextScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()}},render:function(t){return t(this.tag,this.$slots.default)}},p=n("KHd+"),d=Object(p.a)(u,void 0,void 0,!1,null,null,null);d.options.__file="VirtualScrollItem.vue";var h=d.exports,f=0,m={name:"VirtualScroll",directives:{ObserveVisibility:n("hf7O").a},components:{VirtualScrollItem:h},provide:function(){return this.$_resizeObserver=new c.default(function(t){var e=!0,n=!1,a=void 0;try{for(var r,i=l()(t);!(e=(r=i.next()).done);e=!0){var o=r.value;if(o.target){var s=new CustomEvent("resize",{detail:{contentRect:o.contentRect}});o.target.dispatchEvent(s)}}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}),{scrollData:this.scrollData,scrollParent:this,scrollResizeObserver:this.$_resizeObserver}},props:{items:{type:Array,required:!0},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},minItemSize:{type:Number,required:!0},buffer:{type:Number,default:200},keyField:{type:String,default:"lineNum"},emitScroll:{type:Boolean,default:!1}},data:function(){return{pool:[],ready:!1,totalSize:0,scrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField}}},computed:{itemsWithSize:function(){for(var t=[],e=this.items,n=this.keyField,a=this.scrollData.sizes,r=0;r1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,a=t.info.type,r=n.get(a);r||(r=[],n.set(a,r)),r.push(t),e||(t.info.used=!1,t.position=-9999,this.$_views.delete(t.info.key))},handleScroll:function(){var t=this;this.checkPosition(),this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(function(){t.$_scrollDirty=!1,t.updateItems(!1,!0).continuous||(clearTimeout(t.$_refreshTimout),t.$_refreshTimout=setTimeout(t.handleScroll,100))}))},getRange:function(t){var e,n=0,a=this.items.length,r=a-1,i=this.sizes,o=this.buffer;t.start-=o,t.end+=o;var s=0,l=r,c=~~(a/2),u=void 0;do{u=c,i[c].accumulatort.start&&(l=c),c=~~((s+l)/2)}while(c!==u);for(c<0&&(c=0),e=c,n=c;na&&(n=a),{startIndex:e,endIndex:n}},updateItems:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.items,a=this.sizes,r=this.pool,i=this.keyField,s=this.$_computedMinItemSize,l=this.$_views,c=this.$_unusedViews,u=n.length,p=this.getScroll();if(e){var d=p.start-this.$_lastStartPosition;if(d<0&&(d=-d),d=this.$_startIndex;if(this.$_continuous!==b){if(b){l.clear(),c.clear();for(var y=0,x=r.length;y=m)&&this.unuseView(g));for(var I=b?null:new o.a,_=void 0,O=void 0,C=void 0,S=void 0,E=f;E=C.length)&&(g=this.addView(r,E,_,j),this.unuseView(g,!0),C=c.get(O)),(g=C[S]).item=_,g.info.used=!0,g.info.index=E,g.info.key=j,I.set(O,S+1),S++),l.set(j,g)),g.position=a[E-1].accumulator):g&&this.unuseView(g)}return this.$_startIndex=f,this.$_endIndex=m,clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:b}},getScroll:function(){var t=this.$el;return{start:t.scrollTop,end:t.scrollTop+t.clientHeight}},sortViews:function(){this.pool.sort(function(t,e){return t.info.index-e.info.index})},checkPosition:function(){var t=this.getScroll();this.ready&&0===t.start&&this.$emit("scroll-top"),this.ready&&this.$el.scrollHeight-t.end==0&&this.$emit("scroll-bottom"),this.ready&&this.emitScroll&&this.$emit("scroll",r()({},t,{top:t.start,bottom:this.$el.scrollHeight-t.end}))},handleVisibilityChange:function(t,e){var n=this;this.ready&&(t||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height)&&(this.$emit("vscroll:update",{force:!1}),requestAnimationFrame(function(){n.updateItems(!1)}))},addResizeObserver:function(){var t=new c.default(this.handleResize);t.observe(this.$el),this.$once("hook:beforeDestory",function(){t.disconnect()})},handleResize:function(){this.ready&&(this.updateItems(!1),this.forceUpdate())},scrollToItem:function(t){var e=t>0?this.sizes[t-1].accumulator:0;this.scrollToPosition(e)},scrollToPosition:function(t){this.$el.scrollTop=t},scrollToBottom:function(){var t=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var e=this.$el;this.$nextTick(function(){e.scrollTop=e.scrollHeight+5e3;requestAnimationFrame(function n(){e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(function(){e.scrollTop=e.scrollHeight+5e3,0===t.$_undefinedSizes?t.$_scrollingToBottom=!1:requestAnimationFrame(n)})})})}},forceUpdate:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.scrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})}}},v=(n("dmqG"),Object(p.a)(m,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"scroller",class:{ready:t.ready},on:{"&scroll":function(e){return t.handleScroll(e)}}},[n("div",{ref:"wrapper",staticClass:"wrap",style:{minHeight:t.totalSize+"px"}},t._l(t.pool,function(e){return n("virtual-scroll-item",{key:e.info.id,staticClass:"item-view",style:t.ready?{transform:"translateY("+e.position+"px)"}:null,attrs:{item:e.item,index:e.info.index,active:e.info.used}},[t._t("default",null,{item:e.item,index:e.info.index,active:e.info.used})],2)}))])},[],!1,null,"2dab1a8e",null));v.options.__file="index.vue";var g={components:{Scroll:v.exports},props:{logs:{type:Array,default:null}},data:function(){return{bottom:0}},watch:{logs:function(t,e){if(t)if(e){if(e.lengthi&&n===a){if(this.bottom>0)return;this.afterScrollMount()}}}else this.afterScrollMount()}},methods:{afterScrollMount:function(){this.$refs.scroller&&this.$refs.scroller.scrollToBottom()},scrollTo:function(t){this.$refs.scroller&&this.$refs.scroller.scrollToItem(t)},onScroll:function(t){this.bottom=t.bottom},setSpace:function(t){return t}}},b=(n("PbIf"),Object(p.a)(g,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"log-content"},[t.logs?t.logs.length?n("scroll",{ref:"scroller",staticClass:"log-contents",attrs:{items:t.logs,"min-item-size":20,"emit-scroll":""},on:{"scroll-top":function(e){t.$emit("scroll-top")},scroll:t.onScroll,"hook:mounted":t.afterScrollMount},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.item;return n("div",{staticClass:"flex flex-row",attrs:{id:a.lineNum}},[n("span",{staticClass:"log-lineNum"},[t._v(t._s(a.lineNum))]),t._v(" "),n("span",{staticClass:"log-content"},[t._v(t._s(a.content))])])}}])}):n("div",{staticClass:"log-tip"},[n("span",[t._v("no data")])]):n("div",{staticClass:"log-tip"},[n("span",[t._v("loading...")])])],1)},[],!1,null,"4d72c288",null));b.options.__file="index.vue";e.a=b.exports},dIf5:function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("7Qib"),o=n("QdnX"),s=n("OjIB"),l=n("3EZw"),c=n.n(l)()(s.createHeader)(l.placeholder,l.placeholder,{align:"center"}),u=function(t){return[{label:"index",width:100,type:"index"}].concat(r()(function(t){return[c("variable","variable"),c(t+" value ratio","ratio"),c("fill_value","value")]}(t)))},p=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},d=function(t){return function(e,n){t.push({variable:n,ratio:Object(i.b)(e.ratio),value:Object(i.b)(e.value)})}},h=function(t,e){var n={};for(var a in t)n[a]={ratio:t[a],value:e[a]};return n},f=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r0?[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[m("method: "+(A.data.train.scale.meta.method||"null")),{type:"table",props:{header:f(),data:y,pageSize:10,zeroFormat:"0",export:"scale_detail"}}]}]:[]);case 14:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}(),f=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable"},{prop:"columnLower",label:"columnLower"},{prop:"columnUpper",label:"columnUpper"},{prop:"mean",label:"mean"},{prop:"std",label:"std"}]};function m(t){return{type:"form",props:{form:[{type:"text",props:{content:t}}]}}}e.default=h},duAm:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAABJElEQVQ4ja2UMUsEMRCFP8XmbIWrFDvLcK1WR2ytFVLd/QNtrayu1Z9wVUBrW2OnraS8StFKEKzWcmVgTtbdJIrug4FkZvLIzLxkpa5r+sBqLyzAWiloXRwBh7q9Ct485HKTpVkXN4AJsAPcq3sXWADz4M1bkci6uA4cAPvAC3AZvFloTEiPgE3gBrgO3lQ5ootGGXeZcveW5QZvjpf+drMHwClQWRcnCRLxVZozaMY6zZbrWhfHwLl18Ux7JZgD28CJNN26+O1ccvzBGylxqttbNcFUYx1kdRS8kRvI+J/URupLoijI4M078Cim6yw6RCqBIlI5baIPYKYjTkJjM839wo+CBF41PPy1IBuEWyq61BMRsT63zxS/kX8/2r+gn/8I+ASky32yMnH7igAAAABJRU5ErkJggg=="},dyDN:function(t,e,n){"use strict";n("EJiy");var a=Number(document.documentMode),r=/([\:\-\_]+(.))/g,i=/^moz([A-Z])/,o=function(t){return t.replace(r,function(t,e,n,a){return a?n.toUpperCase():n}).replace(i,"Moz$1")},s=a<9?function(t,e){if(!t||!e)return null;"float"===(e=o(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}:function(t,e){if(!t||!e)return null;"float"===(e=o(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}};var l=n("DhVD"),c=n.n(l),u={name:"OverflowTooltip",props:{tag:{type:String,default:"div"},effect:{type:String,default:"dark"},placement:{type:String,default:"top"},tooltipOptions:{type:Object,default:function(){return{}}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=c()(50,function(t){return t.handleShowPopper()})},methods:{onMouseEnter:function(){for(var t=this.$slots.default[0].elm;t&&1!==t.nodeType;)t=t.nextSibling;var e=document.createRange();if(e.setStart(t,0),e.setEnd(t,t.childNodes.length),Math.floor(e.getBoundingClientRect().width)+((+s(t,"paddingLeft")||0)+(+s(t,"paddingRight")||0))>t.offsetWidth||t.scrollWidthf[e[0]][1]&&(f[e[0]]=e):f[e[0]]=e});var m=r()(f).sort(function(t,e){return t[0]-e[0]}),v={name:a.meta.curve_name,type:"line",smooth:!1,symbolSize:1,itemStyle:{opacity:1},lineStyle:{opacity:1},data:m,pairType:a.meta.pair_type};i.push(v)}),s.xAxis.name="recall",s.yAxis.name="precision",s.tooltip.formatter=function(t){var e="";return t.forEach(function(t,n){var a=h[t.seriesName][t.dataIndex];(a||0===a)&&(e+="Thresholds("+t.seriesName+"): "+a+"
");var r=Array.isArray(t.data)?t.data[1]:t.data;e+="Precision("+t.seriesName+"):"+r+"
",e+="Recall("+t.seriesName+"):"+t.axisValue+"
"}),e},e.push({type:"chart",props:{group:a.map(function(t){return l()(t,1)[0]}),options:i,setting:s,legend:"custom"}})}),e.length>1?e:e[0]}},eOYL:function(t,e,n){"use strict";var a=n("FyfS"),r=n.n(a),i=n("ODRq"),o=n.n(i),s=n("m1cH"),l=n.n(s),c=n("gDS+"),u=n.n(c),p=n("iCc5"),d=n.n(p),h=n("V7oC"),f=n.n(h),m={click:!0,mouseup:!0,mousemove:!0,mousedown:!0,mousewheel:!0},v=function(){function t(e,n,a){d()(this,t),this.canvasDom=e,this.interactive=function(){var t=JSON.parse(u()(m));for(var e in n)t[e]=n[e];return t}(),this.inited=!1,this.afterInit=a,this.width=0,this.height=0,this._inited()}return f()(t,[{key:"_inited",value:function(){var t=this;if(this.canvasDom){this._suitable();var e=!1;this.lay&&(e=!0,this.lay.deleteAllAboutChain()),this.lay=function(){if(t.canvasDom)return t.afterInit(t.canvasDom)}(),this.scaleTime=1,this.translateX=0,this.translateY=0,this.holding=!1,this.moved=!1,this.originPos=null,this.lay.emit("$translate",this.translateX,this.translateY),!e&&this.lay&&this._addEvents()}}},{key:"_suitable",value:function(){if(this.canvasDom&&this.canvasDom.parentElement){var t=this.canvasDom.parentElement,e=getComputedStyle(t),n=parseInt(e.width),a=parseInt(e.height);this.canvasDom.setAttribute("style","width:"+n+"px;height:"+a+"px;overflow:hidden;"),this.canvasDom.setAttribute("width",n),this.canvasDom.setAttribute("height",a),this.width=n,this.height=a,this.inited=!0}}},{key:"_addEvents",value:function(){if(this.inited){var t=this;t.canvasDom.addEventListener("mousedown",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!0,t.moved=!1,t.interactive.mousedown.operation&&t.interactive.mousedown.operation(t.lay)}),t.canvasDom.addEventListener("mousemove",function(e){if(e.stopPropagation(),e.preventDefault(),t.holding)if(null===t.originPos)t.originPos=t._getPos(e);else{var n=t._getPos(e);if(n.x!==t.originPos.x||n.y!==t.originPos.y){t.moved=!0;var a=n.x-t.originPos.x,r=n.y-t.originPos.y;t.translateX+=a,t.translateY+=r,t.originPos=n,!0===t.interactive.mousemove?(t.lay.$ctx.translate(a,r),t.lay.emit("$translate",t.translateX,t.translateY),t.lay.drawing()):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,a,r)}}else{var i=t._getPos(e);!0===t.interactive.mousemove?t.lay.emit("showTips",i):t.interactive.mousemove&&t.interactive.mousemove.operation(t.lay,t.holding,i)}}),t.canvasDom.addEventListener("mouseup",function(e){e.stopPropagation(),e.preventDefault(),t.holding=!1,t.originPos=null,t.interactive.mouseup.operation&&t.interactive.mouseup.operation(t.lay)}),t.canvasDom.addEventListener("click",function(e){if(e.preventDefault(),t.moved)t.moved=!1;else{var n=t._getPos(e);if(t.interactive.click.beforeClick&&t.interactive.click.beforeClick(),t.interactive.click.operation)t.interactive.click.operation(t.lay,n);else if(!0===t.interactive.click)t.lay.emit("choose",n);else if(t.interactive.click.props){var a;(a=t.lay).emit.apply(a,["choose",n].concat(l()(t.interactive.click.props)))}}}),t.canvasDom.addEventListener("mouseout",function(e){e.stopPropagation(),e.preventDefault(),t.originPos=null,t.holding=!1,t.interactive.mouseout&&t.interactive.mouseout.operation(t.lay)});var e=function(e){e.stopPropagation(),e.preventDefault();var n=t._getPos(e),a=e.wheelDelta||24*-e.detail,r=t.scaleTime+a/1500,i=(r=r<=.1?.1:r)/t.scaleTime;t.scaleTime=r,!0===t.interactive.mousewheel?t.lay.emit("scale",i,n):t.interactive.mousewheel&&t.interactive.mousewheel.operation(t.lay,i,n)};/Firefox/i.test(window.navigator.userAgent)?t.canvasDom.addEventListener("DOMMouseScroll",e):t.canvasDom.addEventListener("mousewheel",e),window.addEventListener("resize",function(){setTimeout(function(){t.interactive.resize?(t._suitable(),t.interactive.resize()):t._inited()},10)})}}},{key:"_getPos",value:function(t){var e=void 0,n=void 0;return t.layerX||0===t.layerX?(e=t.layerX,n=t.layerY):(t.offsetX||0===t.offsetY)&&(e=t.offsetX,n=t.offsetY),{x:e,y:n}}},{key:"suitableForWhole",value:function(t,e,n){var a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var r=this,i=this.canvasDom.width-2*n,o=this.canvasDom.height-2*n,s=t.call(this.lay),l=o/s.height,c=i/s.width,u=l1&&(u=1/this.scaleTime,this.scaleTime=1):this.scaleTime*=u,!0===r.interactive.mousewheel?this.lay.emit("scale",u,s.point,function(){e&&e(),r.lay.$ctx.translate(-r.translateX,-r.translateY),r.translateX=0,r.translateY=0,r.lay.emit("$translate",r.translateX,r.translateY)}):r.interactive.mousewheel&&r.interactive.mousewheel.operation(this.lay,u,s.point),!0}},{key:"scaleBigger",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime+.1)/this.scaleTime;this.scaleTime+=.1,this.lay.emit("scale",n,{x:t,y:e})}},{key:"scaleSmaller",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime-.1)/this.scaleTime;this.scaleTime-=.1,this.lay.emit("scale",n,{x:t,y:e})}}]),t}();function g(){for(var t={},e=arguments.length,n=Array(e),a=0;a1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:7,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,a=(new Date).getTime().toString().substr(-e),r=Math.ceil(Math.random()*Math.pow(10,n)).toString();return t+"_"+a+"_"+(r=(n>r.length?new Array(n-r.length).fill(0).join(""):"")+r)}function x(t,e){var n=t.toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var a="#",r=1;r<4;r+=1)a+=n.slice(r,r+1).concat(n.slice(r,r+1));n=a}for(var i=[],o=1;o<7;o+=2)i.push(parseInt("0x"+n.slice(o,o+2)));return"rgba("+i.join(",")+","+(void 0!==e?e:1)+")"}return n}function w(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!a&&t.beginPath(),n(t),!a){for(var r in t.save(),e)t[r]=e[r];t.stroke(),t.restore(),t.closePath()}}function A(t,e,n){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!a&&t.beginPath(),n(t),!a){for(var r in t.save(),e)t[r]=e[r];t.fill(),t.restore(),t.closePath()}}function I(t,e){var n=t.$ctx;t.stroke&&w(n,t.style,e),t.fill&&A(n,t.style,e),t.justPath&&e(n)}function _(t,e,n){var a=e.x||e[0],r=e.y||e[1];t.translate(a,r),t.rotate(n),t.translate(-a,-r)}function O(t,e,n){var a=t.x||t[0]||0,r=t.y||t[1]||0,i=e.x||e[0]||0,o=e.y||e[1]||0;return{x:i+C((a-i)*n),y:o+C((r-o)*n)}}function C(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return parseFloat(parseFloat(t).toFixed(e))}function S(t){if(!t)return"00:00:00";if(t.toString().match(":"))return t;t=(new Date).getTime()-t;var e=Math.round(t/1e3),n=e%60,a=(e-n)/60,r=a%60,i=(a-r)/60;return n=n<10?"0"+n:n,r=r<10?"0"+r:r,(i=i<10?"0"+i:i)+":"+r+":"+n}var E=n("EJiy"),j=n.n(E);var T=new o.a,N=null,k=10;function L(){var t=[],e=!0,n=!1,a=void 0;try{for(var i,o=r()(T);!(e=(i=o.next()).done);e=!0){var s=i.value,l=s[1].getOnce();if(null===l)T.delete(s[0]);else if(l){D(s[1].lay);var c=s[1].lay.getTopNode(),u=0,p=!0,d=!1,h=void 0;try{for(var f,m=r()(t);!(p=(f=m.next()).done);p=!0){var v=f.value;if(c.$uuid===v.$uuid)break;u++}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}u>=t.length&&t.push(c),s[1].chainFinish&&T.delete(s[0])}}}catch(t){n=!0,a=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw a}}var g=!0,b=!1,y=void 0;try{for(var x,w=r()(t);!(g=(x=w.next()).done);g=!0){x.value.drawing()}}catch(t){b=!0,y=t}finally{try{!g&&w.return&&w.return()}finally{if(b)throw y}}T.size>0?N=setTimeout(L,k):(clearTimeout(N),N=null)}function D(t){t.$struct&&t.$struct()}var R=function(){function t(e,n,a,i){d()(this,t),this.name=e,this.repeat=n,this.chainList=[],this.chainFinish=!1,this.lay=a,this.hasCalledOnce=!1;var o=!0,s=!1,l=void 0;try{for(var c,u=r()(i);!(o=(c=u.next()).done);o=!0){var p=c.value;p.lay=a,this.chainList.push(new F(p))}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}}return f()(t,[{key:"getOnce",value:function(){var t=null,e=!0,n=!1,a=void 0;try{for(var i,o=r()(this.chainList);!(e=(i=o.next()).done);e=!0){var s=i.value;if(!s.finish){t=s.getOnce();break}}}catch(t){n=!0,a=t}finally{try{!e&&o.return&&o.return()}finally{if(n)throw a}}return this.complete()&&(this.repeat?this.restart():this.chainFinish=!0),this.hasCalledOnce=!0,t}},{key:"complete",value:function(){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.chainList);!(t=(a=i.next()).done);t=!0){if(!a.value.finish)return!1}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}return!0}},{key:"restart",value:function(){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.chainList);!(t=(a=i.next()).done);t=!0){a.value.restart()}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}}]),t}(),F=function(){function t(e){var n=e.target,a=e.process,r=e.interval,i=e.origin,o=e.lay,s=e.compare;d()(this,t),this.target=n,this.process=a,this.interval=r,this.origin=i,this.lay=o,this.finish=!1,this.current=this.origin,this.round=0,this.compare=s}return f()(t,[{key:"getOnce",value:function(){this.round++;var t=!1;return this.round*k>=this.interval&&(this.current=this.process(),this.complete(),this.round=0,t=!0),t}},{key:"getCurrent",value:function(t){for(var e=Math.floor(t/this.interval),n=this.origin,a=0;a2?n-2:0),r=2;r0&&null===N&&(N=setTimeout(L,k))},t.prototype.deleteChainTranslate=function(t){T.delete(t+"_"+this.$uuid)},t.prototype.deleteAllAboutChain=function(){if(T.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(T);!(t=(a=i.next()).done);t=!0){var o=a.value;o[0].match(this.$uuid)&&T.delete(o[0])}}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}if(this.$children.size>0){var s=!0,l=!1,c=void 0;try{for(var u,p=r()(this.$children);!(s=(u=p.next()).done);s=!0)u.value[1].deleteAllAboutChain()}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}}},t.prototype.settingRGBA=function(t,e,n,a,r){return{interval:r||k,lay:this,target:e,origin:t,process:function(){for(var t=x(this.origin).replace("rgba(","").replace(")$","").split(","),e=x(this.target).replace("rgba(","").replace(")$","").split(","),i=x(this.current).replace("rgba(","").replace(")$","").split(","),o=0;o0&&i[o]>parseFloat(e[o]))&&(i[o]=parseFloat(e[o]))}return n.call(this.lay,"rgba("+i.join(",")+")"),"rgba("+i.join(",")+")"=="rgba("+e.join(",")||"rgba("+i.join(",")+")"}}},t.prototype.settingNum=function(t,e,n,a,r){return{interval:r||k,lay:this,target:e,origin:t,process:function(){var t=(this.target-this.origin)/Math.floor((a||k)/(r||k)),e=this.current+t;return(t<0&&e0&&e>this.target)&&(e=this.target),this.current=e,n.call(this.lay,e),e===this.target||e}}},t.prototype.setting=function(t,e,n){return{interval:n||k,lay:this,target:t,origin:null,process:function(){return e.call(this.lay,t),F.FINISH}}},t.prototype.settingCus=function(t,e){return{interval:e||k,lay:this,target:null,origin:null,process:function(){return t.call(this),!0}}},t.prototype.setCus=function(e,n,a){var r=e||t.getUUID("trasnlate");return this.registerChainTranslate(r,!1,this.settingCus(n,a)),r},t.prototype.set=function(e,n,a,r){var i=e||t.getUUID("trasnlate"),o={interval:r||k,lay:this,target:n,origin:null,process:function(){return a.call(this.lay,n),F.FINISH}};return this.registerChainTranslate(i,!1,o),i}}(P),function(t){t.prototype.drawing=function(){(function(){var t=[];(function(){if(!this.$parent)if(this.$clear)this.$clear();else{var t=this.$canvas.width,e=this.$canvas.height;this.$ctx.clearRect(-10*t,-10*e,20*t,20*e)}}).call(this);var e=this.getTopNode();!function e(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.$children.size>0?n.$children.forEach(function(n,r){if(n.$children.size>0&&n.$visiable)e(n,a+(n.$zindex||0));else{var i=a+(n.$zindex||0);t[i]||(t[i]=[]),t[i].push(n)}}):(t[0]||(t[0]=[]),t[0].push(n))}(e,0);var n=!0,a=!1,i=void 0;try{for(var o,s=r()(t);!(n=(o=s.next()).done);n=!0){var l=o.value;if(l){var c=!0,u=!1,p=void 0;try{for(var d,h=r()(l);!(c=(d=h.next()).done);c=!0){var f=d.value;f.$visiable&&(f.$inCanvas&&!f.$inCanvas()||f.$path())}}catch(t){u=!0,p=t}finally{try{!c&&h.return&&h.return()}finally{if(u)throw p}}}}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}}).call(this)},t.prototype.drawLayer=function(e,n,a){var r=this.$children.get(e),i=!0;if(r){if(i=!1,!a&&n.props)for(var o in n.props)r[o]=n.props[o];n.canvas&&r.$canvas!==n.canvas&&(r.$canvas=n.canvas,r.$ctx=r.$canvas.getContext("2d")),r.$struct&&r.$struct()}else n.__parent__=this,void 0===n.visiable&&(n.visiable=this.$visiable),r=new t(n),this.$children.set(e,r);return this.$childrenName.push(e),{node:r,old:!i}},t.prototype.drawLayers=function(t){for(var e in t)this.drawLayer(e,t[e])}}(P),function(t){t.prototype._InitEvents=function(t){var e=t.events;this.$events=e||{},this.$events.$showing=function(){if(this.$visiable=!0,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.$children);!(t=(a=i.next()).done);t=!0)a.value[1].emit("$showing")}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}},this.$events.$hide=function(){if(this.$visiable=!1,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(this.$children);!(t=(a=i.next()).done);t=!0)a.value[1].emit("$hide")}catch(t){e=!0,n=t}finally{try{!t&&i.return&&i.return()}finally{if(e)throw n}}}},this.$events.$translate=function(t,e){this.$meta||(this.$meta=new o.a),this.$meta.set("$translate",{x:t||0,y:e||0})}},t.prototype.$showing=function(){this.emit("$showing")},t.prototype.$hide=function(){this.emit("$hide")},t.prototype.emit=function(t){for(var e=this,n="",a=arguments.length,i=Array(a>1?a-1:0),o=1;oa+1&&parseFloat(t.modelLabel)>a+1)for(var o=a+1;i>o;)n[r].auc.data.push([t.modelLabel,0]),n[r].ks.data.push([t.modelLabel,0]),o++;n[r].auc.data.push([t.modelLabel,t.auc.toFixed(6)]),n[r].ks.data.push([t.modelLabel,t.ks.toFixed(6)]),a=parseFloat(t.modelLabel)}};return Object(o.each)(t,function(t,e){l()(t)&&t.dataset?r(t,e):Object(o.each)(t,function(t,n){r(t,e)})}),{content:n}}(e,n).content;a.xAxis.name="model label",a.tooltip.formatter=function(t){var e={};Object(o.each)(t,function(t,n){var a=t.seriesName.match("_auc"),r=t.seriesName.replace(/(\_auc|\_ks)/,"");e[r]=e[r]||{},e[r][a?"auc":"ks"]=t.data[1]});var n="";return Object(o.each)(e,function(t,e){n&&(n+="
"),n+=e+" ",Object(o.each)(t,function(t,e){n&&(n+="
"),n+=e+": "+t})}),n};var s=[],u=[],p=[];return Object(o.each)(r,function(t,e){var n=[c(t.auc.meta.curve_name,t.auc.data,{pairType:e}),c(t.ks.meta.curve_name,t.ks.data,{pairType:e})];s.push(e),p.push.apply(p,n)}),u.push({type:"chart",props:{options:p,setting:a,legend:"custom",group:s}}),u.length>1?u:u[0]}},hF9E:function(t,e,n){"use strict";var a=n("epZ/");n.n(a).a},hnh8:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},hzma:function(t,e,n){"use strict";var a=n("mLUo");n.n(a).a},iA7x:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6IzAwY2JmZjt9LmJ7ZmlsbDojMDA4MWEyO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},ikd3:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdXUIUtEQRSG4UejRqtNWBBkNIpFuGaNCjcpWAyCbPE3WBbBYBE0DWh0swMWMepFEBZsVqPWlYVZw8Jdl2WDDkw53+Ed3nNgprrdrkmc6YlQRgEVZdXs3d/6atWKstpCCwu59IZmiuF2JFBRVos4wSZecJqjIyyhjeMUw2stqCirM+zhExd4HHh4FfuYxWWK4bAfTGzYdWrnWK9Ru8fBULUB4PjDLsqqN+ANfOEmxfDUX32KoVWU1Qq2MYO7FEN7mNocdrCMDq5ytIsGnnGdYvgYVa2RgfO59J4BnXHV1rLawz9WqwH+qA3r+2P/Eb4BPfePrVMAU8IAAAAASUVORK5CYII="},j07e:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".condition[data-v-3daaa25f] {\n width: 360px;\n max-width: 360px;\n}\n.condition[data-v-3daaa25f] .el-input__inner {\n height: 24px;\n background: #F8F9FA;\n border: 2px solid transparent;\n}\n.is-error .condition[data-v-3daaa25f] .el-input__inner,\n .is-error .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: #f56c6c;\n border-radius: 2px;\n}\n.is-success .condition[data-v-3daaa25f] .el-input__inner,\n .is-success .condition[data-v-3daaa25f] .el-input__inner:focus {\n border-color: transparent;\n}\n.label[data-v-3daaa25f] {\n color: #999BA3;\n margin-right: 15px;\n}\n[data-v-3daaa25f] .el-form-item {\n margin-bottom: 10px;\n}\n",""])},jElq:function(t,e,n){"use strict";function a(){return{color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}}n.d(e,"b",function(){return a}),e.a={color:["#878ada"],title:{text:"",textStyle:{color:"#606266",fontSize:16,fontFamily:'"Lato", "proxima-nova", "Helvetica Neue", Arial, sans-serif'}},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"5%",bottom:"3%",containLabel:!0},backgroundColor:"#f8f8fa",yAxis:[{type:"category",data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}},{type:"category",offset:30,data:[],axisTick:{show:!1},axisLine:{show:!1},splitLine:{show:!1}}],xAxis:{type:"value",axisTick:{show:!1},axisLine:{show:!1},axisLabel:{show:!1},splitLine:{show:!1}},series:[{type:"bar",barWidth:"20%",barGap:"-100%",itemStyle:{color:"#e8e8ef"},data:[],label:{show:!0,position:"right",color:"#999",formatter:null},tooltip:{show:!1}},{name:"value",type:"bar",barWidth:"20%",data:[]}]}},jecE:function(t,e,n){"use strict";var a=n("RZZm");n.n(a).a},jiEp:function(t,e,n){var a=n("Ibv5");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("0eff5c3c",a,!0,{})},jkWR:function(t,e,n){var a=n("nVpJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("212490e7",a,!0,{})},kbN7:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("OjIB"),u=function(t){var e=[];return t.forEach(function(t){e.push({type:"text",props:{content:t,className:"small-form-text"}})}),e},p=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var p,d,h,f,m,v,g,b;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!(p=n.msg.toLowerCase().match("no data")?null:Object(c.getAllMetricsRequest)(n.data,a,i,s,l))){t.next=18;break}return d={},h=[],f=[],m=p.shift(),t.next=8,Object(c.sendMetricsDataRequest)(m);case 8:return d=t.sent,v=d.data.meta,(g=function(t,e,n){t[e]&&h.push((n||e).replace(/_/g," ")+": "+t[e].toString())})(v,"model_id"),g(v,"model_version"),g(v,"component_name"),g(v,"step_index","checkpoint"),(b=u(h)).length>0&&f.push({type:"form",props:{form:[].concat(o()(b))}}),t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 18:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},kjiq:function(t,e,n){"use strict";function a(){return{backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}}n.d(e,"b",function(){return a}),e.a={backgroundColor:"#fff",title:{text:""},tooltip:{trigger:"axis",axisPointer:{type:"line",lineStyle:{type:"dotted",color:"#ff9e1f"}}},legend:{show:!0,right:"5%",top:"3%",orient:"horizontal"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},yAxis:[{type:"value",name:"Expected, Actual",splitArea:{show:!0,areaStyle:{color:"#ffffff"}},nameGap:8,axisLabel:{show:!0,interval:"auto",formatter:"{value} %"},splitNumber:5},{type:"value",name:"PSI",nameGap:8,splitArea:{show:!0,areaStyle:{color:"#ffffff"}},axisLabel:{},splitNumber:5}],xAxis:{type:"category",data:[],axisLine:{lineStyle:{color:"#A9A9A9"}},axisLabel:{rotate:30,fontSize:12,color:"#999ba3"},nameGap:5},series:[]}},"l2+S":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("QdnX"),o=[Object(i.createHeader)("jaccard_similarity_score","JC"),Object(i.createHeader)("fowlkes_mallows_score","FMI"),Object(i.createHeader)("adjusted_rand_score","RI")],s=[Object(i.createHeader)("davies_bouldin_index","DBI")];function l(t,e){return t.find(function(t){return t.prop===e})}function c(t){var e={};return Object(i.each)(t,function(t){e[t[0]]=t[1]}),[e]}function u(t,e,n){return[{type:"title",props:{content:n}},{type:"table",props:{header:t,data:e,export:n}}]}e.default=function(t,e){var n=[];for(var a in t){var i=t[a];l(o,i.data[0][0])?n.push.apply(n,r()(u(o,c(i.data),"External Index"))):n.push.apply(n,r()(u(s,c(i.data),"Internal Index")))}return n}},l489:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTQgNiI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2U2YjI1ODt9LmJ7ZmlsbDojYjcwO308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTA4IC04MDEpIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE0IiBoZWlnaHQ9IjYiIHJ4PSIyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MDggODAxKSIvPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMiIgaGVpZ2h0PSIyIiByeD0iMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTEwIDgwMykiLz48cmVjdCBjbGFzcz0iYiIgd2lkdGg9IjIiIGhlaWdodD0iMiIgcng9IjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkxNCA4MDMpIi8+PHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIyIiBoZWlnaHQ9IjIiIHJ4PSIxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5MTggODAzKSIvPjwvZz48L3N2Zz4="},lBJu:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("OjIB"),d=n("QdnX"),h=n("xjht"),f=n("uNnm"),m=n("evsm"),v=n("saIk");function g(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var b=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},y=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,y,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data||{},y=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=void 0,O=void 0,C=void 0,S=[],E=[],j=void 0,T=void 0,N=void 0,k=[],n&&!n.msg.match("no data")&&(n=Object(f.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)O=h.d.bind(null,l()({metrics:t.options},w));else if("iter"===t.name)j=h.d.bind(null,l()({metrics:t.options},w)),N=Object(m.b)("warmStart");else if("stepwise"===t.name)A=h.d.bind(null,l()({metrics:t.options},w)),_=Object(m.b)(t.name);else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(b(a,l()({metrics:e},w),h.d,Object(m.b)(t.name),Object(f.explainCurves)(a).name,!0))}),S.push([e,Object(p.createAsyncComponent)(n)])}})),u&&(L=u.weight,D=u.oneVsRestResult,g(x=D?Object(p.oneVsRestResultHandler)(u,i):Object(d.isEmpty)(L)?[]:Object(p.weightHandler)(u),u.bestIteration),x.length&&E.push(Object(p.wrapGroupComponent)(x))),S.length&&Object(d.each)(S,function(t){E.push(Object(p.wrapGroupComponent)(t))}),!O){t.next=22;break}return t.next=21,O();case 21:C=t.sent;case 22:if(C&&(R=Object(m.b)(v.METRIC_TYPES.EVALUATION_SUMMARY),F=R(C.data)||[],(P=(P=[].concat(o()(F))).length>0?Object(p.wrapGroupComponent)(P):null)&&(E.length>1?E.splice(1,0,P):E.push(P))),!A){t.next=27;break}return t.next=26,A();case 26:I=t.sent;case 27:if(_&&(y=_(I,i),E.push.apply(E,o()(y))),!j){t.next=32;break}return t.next=31,j();case 31:T=t.sent;case 32:return N&&(k=N(T),0===E.length?E.push(Object(p.wrapGroupComponent)(k)):E[0].options&&Array.isArray(E[0].options)?(M=E[0].options).unshift.apply(M,o()(k)):Array.isArray(E[0])&&(B=E[0]).unshift.apply(B,o()(k))),t.abrupt("return",E);case 34:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=y},lBxe:function(t,e,n){"use strict";var a=n("4d7F"),r=n.n(a),i=n("P2sY"),o=n.n(i),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("GQeE"),f=n.n(h),m=n("iCc5"),v=n.n(m),g=n("V7oC"),b=n.n(g),y=n("mWkO"),x=n("m1cH"),w=n.n(x),A=n("UMXJ"),I=8,_=22,O="#ffffff",C="#4159D1",S="#0EC7A5",E="rgba(36,182,139,0.6)",j="rgba(187,187,200,0.6)",T="#FF4F38",N="#e8e8ef",k="#BBBBC8",L=4,D="#6A6C75",R="#ffffff",F="#534C77",P=16,M="arial",B="#999BA3",U="#494ECE",z=6,H=10,$=12,W=20,G=4,Y=2,V=2,Z=12,Q=5,X=6,J=4,K="rgba(127,125,142,0.7)",q="rgba(255,255,255,1)",tt="#E6B258",et="#bcf500",nt="#00cbff",at="#7F7D8E",rt="#7F7D8E",it={drawProgress:function(t,e,n){t.canvas=e?e.$canvas:t.canvas,t.struct=lt;var a=!0,r=null;if(e){n||(n=y.a.getUUID("progress"));var i=e.drawLayer(n,t);return a=!i.old,r=i.node,a&&it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),n}return r=new y.a(t),it.type.RUNNING.match(r.type.toUpperCase())&&(it.animations.tictok.call(r),it.animations.loading.call(r)),r},clear:function(){this.$ctx.clearRect(0,0,this.$canvas.width,this.$canvas.height)},type:{UNRUN:"UNRUN|WAITING",RUNNING:"RUNNING",FAIL:"FAILED|ERROR|CANCELED",SUCCESS:"SUCCESS|COMPLETE"},events:{choose:function(t,e){var n=this;n.$here(t)?n.choose=!0:n.choose=!1,n.setCus("choose",function(){n.containerStyle=ot(n.type,!!n.choose,n.disable),n.contentStyle=ot(n.type,!!n.choose,n.disable,"content"),n.fontStyle=st(n.type,!!n.choose,n.disable),e&&"function"==typeof e&&e(n.text,n.$here(t))})},linkChoose:function(t,e){var n=this;if(n.$here(t)&&n.$visiable)return n.setCus("choose",function(){e&&"function"==typeof e&&e(n.$parent.text,n.$here(t),!0)}),"finish"},scale:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=y.a.toFixed(e.contentFontSize*t),e.iconPadding=y.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=y.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=y.a.toFixed(e.lineWidth*t),e.portWidth=y.a.toFixed(e.portWidth*t),e.portHeight=y.a.toFixed(e.portHeight*t),e.portRadius=y.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=y.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=y.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var a=e.$children.get(n);a&&(a.$here(t)?a.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&a.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var a=!0,r=!1,i=void 0;try{for(var o,s=u()(e.input);!(a=(o=s.next()).done);a=!0){n(o.value.name)}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}}if(e.output.length>0){var l=!0,c=!1,p=void 0;try{for(var d,h=u()(e.output);!(l=(d=h.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,p=t}finally{try{!l&&h.return&&h.return()}finally{if(c)throw p}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=y.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),a=parseInt(e[1]),r=parseInt(e[2]);r+1>=60?(r=0,a+1>=60?(a=0,n+=1):a+=1):r+=1,n=(n.toString().length<2?"0":"")+n,a=(a.toString().length<2?"0":"")+a,r=(r.toString().length<2?"0":"")+r,t.time=n+":"+a+":"+r},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=ot(t.type||it.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var a={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==it.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),a.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var r=ot(t,!!n.choose,n.disable,"content");a.toNewTypeContent.push(n.settingRGBA(n.contentStyle,r,function(t){n.contentStyle=t},200)),a.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===it.type.RUNNING?(n.progress=0,n.time=y.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),it.animations.tictok.call(n),it.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===it.type.SUCCESS||t===it.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==it.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var i=ot(t,!!n.choose,n.disable);a.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,i,function(t){n.containerStyle=t},200));var o=st(t,!!n.choose,n.disable);for(var s in a.toNewTypeText.push(n.settingRGBA(n.fontStyle,o,function(t){n.fontStyle=t},200)),a)n.registerChainTranslate.apply(n,[s,!1].concat(w()(a[s])))}}}};function ot(t,e,n,a){return e?"content"===a&&t===it.type.RUNNING?n?j:E:C:n&&t!==it.type.UNRUN?N:n&&t===it.type.UNRUN?k:t===it.type.SUCCESS?S:t===it.type.RUNNING?"content"===a?n?j:E:S:t===it.type.FAIL?T:t===it.type.UNRUN?N:void 0}function st(t,e,n){return n&&t!==it.type.UNRUN?e?R:D:n&&t===it.type.UNRUN?e?R:F:t===it.type.SUCCESS?R:t===it.type.RUNNING?D:t===it.type.FAIL?R:t===it.type.UNRUN?D:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||P,t.padding=t.padding||_,t.tooltipRadius=t.tooltipRadius||J,t.iconPadding=t.iconPadding||H,t.betweenIconWithContent=t.betweenIconWithContent||z,t.lineWidth=t.lineWidth||I,t.portWidth=t.portWidth||(t.specialDataInput?W:$),t.portHeight=t.portHeight||G,t.portRadius=t.portRadius||Y,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||V,t.tooltipFont=t.tooltipFont||Z,t.tipTrangleSize=t.tipTrangleSize||Q,t.radius=t.radius||L,t.tooltipPadding=t.tooltipPadding||X,t.type===it.type.RUNNING&&(t.time=y.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,a=t.point.x||t.point[0]||0,r=t.point.y||t.point[1]||0,i=function(t,e,n,a){a&&(a.containerStyle=a.containerStyle||ot(t||it.type.UNRUN,!!e,n),a.contentStyle=a.contentStyle||ot(t||it.type.UNRUN,!!e,n,"content"),a.fontStyle=a.fontStyle||st(t||it.type.UNRUN,!!e,n));var r={container:{fillStyle:a?a.containerStyle:ot(t||it.type.UNRUN,!!e,n)},content:{fillStyle:a?a.contentStyle:ot(t||it.type.UNRUN,!!e,n,"content")},text:{font:a.contentFontSize+"px "+M,fillStyle:a.fontStyle},time:{font:.8*a.contentFontSize+"px "+M,fillStyle:B},link:{font:.8*a.contentFontSize+"px "+M,fillStyle:U,cursor:"pointer",underline:!0}};return a.style=r,a.style}(t.type,t.choose,t.disable,t),o=Object(A.b)(t.$ctx,t.text,i.text);i.container.fillStyle=t.containerLightUp||i.container.fillStyle;var s=t.width||Math.ceil(o.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,u=new d.a,p=l-t.iconPadding,h=t.betweenIconWithContent;if(y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s,height:l,radius:t.radius,style:i.container,fill:!0}},t,"container"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:O},fill:!0}},t,"containerInner"),y.a.component.rect.drawRect({props:{point:{x:a,y:r},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:i.content,fill:!0}},t,"content"),y.a.component.text.drawText({props:{point:{x:a,y:r},text:t.text,style:i.text,position:y.a.component.text.CENTER}},t,"text"),y.a.component.icon.drawIcon({props:{point:{x:a+s/2+h+p/2,y:r},width:p,img:t.img},visiable:!!t.img},t,"icon"),y.a.component.text.drawText({props:{point:{x:a+s/2+h,y:r},text:t.time,style:i.time},visiable:c===it.type.RUNNING},t,"time"),y.a.component.text.drawText({props:{point:{x:a+s/2+2*h+p,y:r},text:"retry",style:i.link},visiable:c===it.type.FAIL,events:{choose:it.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,m=r-l/2,v=0;v0)for(var x=n.length,w=r+l/2,C=0;C1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=arguments[2],a=this,r=a.$meta.get("$translate")||{x:0,y:0};e={x:e.x-r.x,y:e.y-r.y},a.setCus("scale",function(){a.toppest=y.a.scaleDistanceForPoint(a.toppest,e,t),a.padding=y.a.toFixed(a.padding*t),a.paddingHeight=y.a.toFixed(a.paddingHeight*t),a.fontSizeForContent=y.a.toFixed(a.fontSizeForContent*t),a.lineWidthForLinking=y.a.toFixed(a.lineWidthForLinking*t),a.componentBetween=y.a.toFixed(a.componentBetween*t),a.innerBetween=y.a.toFixed(a.innerBetween*t),a.levelBetween=y.a.toFixed(a.levelBetween*t),n&&n.call(a)})},toSuccess:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toComplete:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toFail:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toFailed:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCanceled:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCancel:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toError:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toRunning:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.RUNNING,e)},toWaiting:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toUnrun:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toType:function(t){for(var e in t)ct.animations.toNewType.call(this.$children.get(e),t[e].type,t[e].props)},lineBright:function(t){var e=this;this._lineBright=t;var n=[];this.$children.forEach(function(a,r){if(t&&r===t)a.$zindex=2;else if(t&&r.match(t)&&!r.match("_"+t)&&!r.match(t+"_")){var i=r.split("|");i.splice(i.indexOf(t),1),a.$zindex=1,a.style.strokeStyle="#578FFF",a.style.lineWidth*=1.5,e.$children.get(i[0]).containerLightUp="#578FFF",e.$children.get(i[0]).$struct(),n.push(i[0])}else r.match("line")?(a.$zindex=0,a.style.strokeStyle="#BBBBC8",a.style.lineWidth=e.lineWidthForLinking):n.indexOf(r)<0&&(a.$zindex=1,a.containerLightUp="")})}}},wt=function(){function t(e,n){v()(this,t),this.level=[],this.root=[],this.linking={},this.components=new d.a,this.size=0,this.lay=e,this.checkNewPort(n.dependencies),this.componentInfo(n.component_list),this.componentDisable(n.component_need_run),this.componentBelone(n.component_module,n.dependencies),this.componentLink(n.dependencies)}return b()(t,[{key:"checkNewPort",value:function(t){pt=!(f()(t).length>0)||!!t[f()(t)[0]][0].up_output_info}},{key:"componentInfo",value:function(t){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(t);!(e=(r=i.next()).done);e=!0){var o=r.value;this.components.set(o.component_name,new At(o))}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}},{key:"componentDisable",value:function(t){for(var e in t)this.components.get(e).setDisable(!t[e]),this.components.get(e).setImage(this.lay.images)}},{key:"componentBelone",value:function(t,e){for(var n in t)this.components.get(n).setBelone(t[n],this.lay.images,e)}},{key:"componentLink",value:function(t){var e=this,n=function t(n){for(var a in e.linking){var r=!0,i=!1,o=void 0;try{for(var s,l=u()(e.linking[a]);!(r=(s=l.next()).done);r=!0){var c=s.value;if(c.components[0]===n){var p=e.components.get(c.components[0]),d=e.components.get(c.components[1]);d.level<=p.level&&(d.level=p.level+1,t(c.components[1]))}}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}}};for(var a in t){var r=!0,i=!1,o=void 0;try{for(var s,l=u()(t[a]);!(r=(s=l.next()).done);r=!0){var c=s.value;this.linking[c.type]=this.linking[c.type]||[],this.linking[c.type].push({components:[c.component_name,a],outputType:c.up_output_info?c.up_output_info.join(""):c.type+"0"}),n(c.component_name)}}catch(t){i=!0,o=t}finally{try{!r&&l.return&&l.return()}finally{if(i)throw o}}}var p=!0,d=!1,h=void 0;try{for(var f,m=u()(this.components);!(p=(f=m.next()).done);p=!0){var v=f.value;this.level[v[1].level]=this.level[v[1].level]||[],this.level[v[1].level].push(v[1]),0===v[1].level&&this.root.push(v[1])}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}}},{key:"componentCheckWidthAndHeight",value:function(){var t="",e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.components);!(e=(r=i.next()).done);e=!0){var o=r.value;o[0].length>t.length&&(t=o[0])}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}var s=Object(A.b)(this.lay.$ctx,t,{font:this.lay.fontSizeForContent+"px "+M}),l=Math.ceil(s.width)+2*this.lay.padding,c=this.lay.fontSizeForContent+2*this.lay.paddingHeight;this.compWidth=l,this.compHeight=c;var p=!0,d=!1,h=void 0;try{for(var f,m=u()(this.components);!(p=(f=m.next()).done);p=!0){var v=f.value;v[1].width=l,v[1].height=c}}catch(t){d=!0,h=t}finally{try{!p&&m.return&&m.return()}finally{if(d)throw h}}}},{key:"checkPos",value:function(){var t=this.lay;if(!t._inited){var e=this.getStyleOfDag();e.height=2,this.linkPos[t].push(s)}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}}},{key:"getLinkInstance",value:function(){for(var t in this.linkPos){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.linkPos[t]);!(e=(r=i.next()).done);e=!0){var o=r.value,s=this.lay.levelBetween,l=!!o.corssLevel&&(t.match("data")?-this.compWidth/3:this.compWidth/3),c=Object(ut.a)(o.line[0],o.line[1],l,s);y.a.component.line.drawLine({props:{point:c,curve:!0,stroke:!0,style:{lineWidth:this.lay.lineWidthForLinking*(this.lay._lineBright&&o.name.match(this.lay._lineBright)?1.5:1),strokeStyle:this.lay._lineBright&&o.name.match(this.lay._lineBright)?"#578FFF":"#BBBBC8"}}},this.lay,o.name)}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}}}},{key:"getStyleOfDag",value:function(){var t=0,e=0,n=!0,a=!1,r=void 0;try{for(var i,o=u()(this.level);!(n=(i=o.next()).done);n=!0){var s=i.value;s.length>t&&(t=s.length),e+=s.length*this.compHeight+(s.length-1)*this.lay.innerBetween+this.lay.levelBetween}}catch(t){a=!0,r=t}finally{try{!n&&o.return&&o.return()}finally{if(a)throw r}}return e-=this.lay.levelBetween,{width:t*this.compWidth+(t-1)*this.lay.componentBetween,height:e}}},{key:"resetting",value:function(){this.componentCheckWidthAndHeight(),this.checkPos(),this.componentGetInstance(),this.getLinking(),this.getLinkInstance()}}]),t}(),At=function(){function t(e){v()(this,t),this.name=e.component_name,this.time=e.time,this.images=null,this.type=this.getStatus(e.status||"unrun"),this.level=0,this.width=0,this.height=0}return b()(t,[{key:"getStatus",value:function(t){var e=t.toUpperCase();return ct.type.SUCCESS.indexOf(e)>=0?ct.type.SUCCESS:ct.type.FAIL.indexOf(e)>=0?ct.type.FAIL:ct.type.RUNNING.indexOf(e)>=0?ct.type.RUNNING:ct.type.UNRUN}},{key:"setDisable",value:function(t){this.disable=t}},{key:"setImage",value:function(t){this.img=t.get((this.disable?"DISABLE_":"")+this.type.split("|")[0])}},{key:"setBelone",value:function(t,e,n){this.belone=t,this.setPort(e,n)}},{key:"setPos",value:function(t){this.point=t}},{key:"checkSetPort",value:function(t,e,n){var a=pt?["secureboost","linr","lr","poisson","heteronn","homonn","localbaseline","fm","mf","svd","scdpp","gmf","ftl","psi","kmeans"]:["none"],r=n[t];if(n[t]&&n[t].length>0){var i=!0,o=!1,s=void 0;try{for(var l,c=u()(r);!(i=(l=c.next()).done);i=!0){var p=l.value;if(["model","data","cache"].indexOf(p.type)<0)return!0}}catch(t){o=!0,s=t}finally{try{!i&&c.return&&c.return()}finally{if(o)throw s}}return!1}return e.toLowerCase().match(new RegExp("("+a.join("|")+")","i"))}},{key:"setPort",value:function(t,e){this.input=this.input||[],this.output=this.output||[];var n,a,r;this.checkSetPort(this.name,this.belone,e)?(n=this.input).push.apply(n,[{name:"train_datainput",tooltip:"Train Data Input",type:"data"},{name:"validate_datainput",tooltip:"Validation Data Input",type:"data"}]):this.belone.toLowerCase().match(/(reader|modelloader|cacheloader)/)||this.input.push({name:"datainput",tooltip:"Data Input",type:"data"});(this.belone.toLowerCase().match(/evaluation|union/i)&&(this.input[0].mult=t.get("MULT_DATA_PORT")),this.belone.toLowerCase().match(/(evaluation|upload|download|pearson|datasplit|statistics|psi|kmeans|modelloader|cacheloader)/i)||this.output.push({name:"data0output",tooltip:"Data Output",type:"data"}),this.belone.toLowerCase().match(/(kmeans)/i))&&(a=this.output).push.apply(a,[{name:"data0output",tooltip:"Data Output_0",type:"data"},{name:"data1output",tooltip:"Data Output_1",type:"data"}]);this.belone.toLowerCase().match(/(datasplit)/i)&&(r=this.output).push.apply(r,[{name:"data0output",tooltip:"Train Data Output",type:"data"},{name:"data1output",tooltip:"Validation Data Output",type:"data"},{name:"data2output",tooltip:"Test Data Output",type:"data"}]);this.belone.toLowerCase().match(/(intersection|cacheloader)/)&&(this.belone.toLowerCase().match(/(intersection)/)&&this.input.push({name:"cacheinput",tooltip:"Cache Input",type:"cache"}),this.output.push({name:"cache0output",tooltip:"Cache Output",type:"cache"})),this.belone.toLowerCase().match(/(intersection|evaluation|upload|download|rsa|datasplit|reader|union|scorecard|cacheloader)/i)||(this.belone.toLowerCase().match(/(statistics|pearson|psi|modelloader)/i)||this.input.push({name:"modelinput",tooltip:"Model Input",type:"model"}),this.output.push({name:"model0output",tooltip:"Model Output",type:"model"}),this.belone.toLowerCase().match(/(selection)/i)&&(this.input[1].mult=t.get("MULT_MODEL_PORT")))}},{key:"getComponentInstance",value:function(t){ct.drawProgress({props:{point:this.point,text:this.name,width:this.width,height:this.height,type:t.$children.get(this.name)?t.$children.get(this.name).type:this.type,disable:this.disable,input:this.input,output:this.output,specialDataInput:this.specialDataInput,contentFontSize:t.fontSizeForContent,time:t.$children.get(this.name)?t.$children.get(this.name).time:this.time,img:this.img},zindex:1,events:ct.events},t,this.name)}}]),t}(),It={name:"FlowDiagram",props:{dagInfo:{type:Object,default:function(){}},purePic:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},operationList:{type:Boolean,default:!0}},data:function(){return{dagCheck:null,flowData:null,images:new d.a,thumb:.6,canvasId:"flowDiagramCanvas",canvas:null,choosed:null,needToSet:[],originalSetting:null,imageSetting:[{name:"COMPLETE",url:n("NdWW")},{name:"DISABLE_COMPLETE",url:n("6Ix9")},{name:"SUCCESS",url:n("NdWW")},{name:"DISABLE_SUCCESS",url:n("6Ix9")},{name:"FAIL",url:n("U8kZ")},{name:"DISABLE_FAIL",url:n("+998")},{name:"CANCEL",url:n("U8kZ")},{name:"DISABLE_CANCEL",url:n("+998")},{name:"CANCELED",url:n("U8kZ")},{name:"DISABLE_CANCELED",url:n("+998")},{name:"ERROR",url:n("U8kZ")},{name:"DISABLE_ERROR",url:n("+998")},{name:"FAILED",url:n("U8kZ")},{name:"DISABLE_FAILED",url:n("+998")},{name:"MULT_DATA_PORT",url:n("l489")},{name:"MULT_MODEL_PORT",url:n("iA7x")}]}},watch:{dagInfo:{handler:function(){this.checkInfo(),this.checkFlowData(),this.canvas&&this.canvas.inited||this.initing(),this.toSetting(),this.checkChoosed()},deep:!0}},created:function(){this.canvasId=y.a.getUUID("flowDiagramCanvas"),this.checkInfo(),this.checkFlowData()},mounted:function(){var t=this;this.addedImages(this.imageSetting).then(function(){t.initing()})},methods:{initing:function(){if(!this.dagInfo)throw new TypeError("Daginfo param need to be an Object");var t=document.getElementById(this.canvasId);if(!t)throw new Error("Can not found canvas-element");this.originalSetting=this.dagInfo,this.drawComp(t,this.images)},drawComp:function(t,e){var n=this,a=this,r=this.purePic?{click:!1}:{click:{beforeClick:function(){xt.events.lineBright.call(a.component)},props:[function(t,e,r){if(r)n.$emit("retry",t);else{e&&xt.events.lineBright.call(a.component,t);var i=0,o="";a.dagInfo.component_list.map(function(e,n){e.component_name===t&&(i=n,o=e.status)});var s={name:t,dataIndex:i,model:a.dagInfo.component_module[t],disable:!a.dagInfo.component_need_run[t],status:o};e&&(a.choosed=s,a.$emit("choose",s))}}]}};a.canvas=new y.a.CanvasUtil(t,r,function(t){return a.getInstance(t,e),a.component.drawing(),a.thumbnail&&a.checkThumbnail(),a.component})},getInstance:function(t,e){if(!t)return null;this.component=xt.drawDiagram({canvas:t,props:{dagInfo:this.flowData,thumbnail:this.thumbnail?this.thumb:1,images:e},clear:xt.clear,events:xt.events})},checkInfo:function(){var t=this.dagCheck||{};if(this.dagInfo){var e=!0,n=!1,a=void 0;try{for(var r,i=u()(this.dagInfo.component_list);!(e=(r=i.next()).done);e=!0){var o=r.value,s=o.status||"unrun";t[o.component_name]?s!==t[o.component_name].status&&(this.needToSet.push(o.component_name),t[o.component_name].status=s,t[o.component_name].time=o.time):t[o.component_name]={status:s.charAt(0).toUpperCase()+s.slice(1),time:o.time}}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}if(this.dagInfo.component_need_run)for(var l in this.dagInfo.component_need_run)t[l].disable=this.dagInfo.component_need_run[l]}this.dagCheck=t},checkFlowData:function(){if(this.dagInfo){var t=JSON.parse(l()(this.dagInfo)),e=!0,n=!1,a=void 0;try{for(var r,i=u()(t.component_list);!(e=(r=i.next()).done);e=!0){var s=r.value;s.status=(s.status||"unrun").toUpperCase()}}catch(t){n=!0,a=t}finally{try{!e&&i.return&&i.return()}finally{if(n)throw a}}this.flowData?this.flowData=o()(this.flowData,t):this.flowData=t}},toSetting:function(){if(this.component){var t=!0,e=!1,n=void 0;try{for(var a,r=u()(this.needToSet);!(t=(a=r.next()).done);t=!0){var i=a.value,o=xt.RUNNING.match(this.dagCheck[i].status.toUpperCase())?this.dagCheck[i].time:this.images.get((this.dagCheck[i].disable?"":"DISABLE_")+this.dagCheck[i].status.toUpperCase());this.component.emit("to"+(this.dagCheck[i].status.charAt(0).toUpperCase()+this.dagCheck[i].status.slice(1)),i,o)}}catch(t){e=!0,n=t}finally{try{!t&&r.return&&r.return()}finally{if(e)throw n}}this.needToSet=[]}},checkChoosed:function(){if(this.choosed){var t=this.dagInfo.component_list[this.choosed.dataIndex];t.component_name===this.choosed.name&&t.status!==this.choosed.status&&(this.choosed.status=t.status,this.$emit("choose",this.choosed))}},checkThumbnail:function(){this.component.emit("scale",this.thumb,this.component.toppest),this.component._inited=!1},initImage:function(t,e){var n=this;return new r.a(function(a,r){var i=new Image;i.onload=function(){n.images.set(t,i),a()},i.src=e})},addedImages:function(t){var e=[],n=!0,a=!1,i=void 0;try{for(var o,s=u()(t);!(n=(o=s.next()).done);n=!0){var l=o.value;e.push(this.initImage(l.name,l.url))}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}return r.a.all(e)},suitableWhole:function(){var t=this;this.canvas.suitableForWhole(function(){var e=t.component.$meta.get("clear"),n=t.component.toppest;return{width:e.width,height:e.height,point:n}},function(){t.component.toppest={x:t.canvas.canvasDom.width/2,y:20},t.component._inited=!1})},bigger:function(){this.canvas.scaleBigger()},small:function(){this.canvas.scaleSmaller()}}},_t=(n("bw2v"),n("KHd+")),Ot=Object(_t.a)(It,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("canvas",{attrs:{id:t.canvasId}}),t._v(" "),t.operationList?n("div",{staticClass:"buttonList"},[n("div",{staticClass:"opera_btn",on:{click:t.suitableWhole}},[n("i",{staticClass:"el-icon-full-screen"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.bigger}},[n("i",{staticClass:"el-icon-plus"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.small}},[n("i",{staticClass:"el-icon-minus"})])]):t._e()])},[],!1,null,"2d801b92",null);Ot.options.__file="index.vue";e.a=Ot.exports},"lE/D":function(t,e,n){"use strict";n.r(e);var a=n("m1cH"),r=n.n(a),i=n("OjIB"),o=n("QdnX"),s=n("gDS+"),l=n.n(s),c=n("FyfS"),u=n.n(c),p=n("ODRq"),d=n.n(p),h=n("7Qib");var f=function(t){var e=[];return t.forEach(function(t,n){e.push(Object(i.createOption)(n))}),e},m=function(t){var e=[];if(0!==t.length)return t[0].tables.forEach(function(n,a){var r={};e.push(n),t.forEach(function(t,e){r[++e]=t.tables[a].tbody}),e[a].tbody=r}),Object(i.createTables)(e,"text")};e.default=function(t,e){var a={steps:[],summary:{tables:[]}},s=[],c=[];return Object(o.each)(t.data.train,function(t){c.push(t)}),c.forEach(function(t){!function(t,e,n,a,i){var o={},s=[],c=t.summary,p=t.common||[],f=n.guest_features_anonym,m=n.host_features_anonym;o.name=n.name,o.intercept=Object(h.b)(n.intercept),o.enter=[],o.remove=[],o.numberIn=n.number_in,o.def=Object(h.b)(n.def),o.tables=s,o.icval=Object(h.b)(n.current_ic_val),o.commonTableContent=[];var v=t.steps,g=n.name.match(/[0-9]+/)[0];if(v.length>0)for(var b=0;b=v.length){v.push(o);break}}else v.push(o);for(var x=new d.a,w=0;w1)for(var O=0;O0?t.steps[t.steps.length-1].name.match(/[0-9]+/)[0]:-1,et=n.name.match(/[0-9]+/)[0]||0;if(parseFloat(et)>=parseFloat(tt))if(c.tables.length>0){var nt=!0,at=!1,rt=void 0;try{for(var it,ot=u()(c.tables);!(nt=(it=ot.next()).done);nt=!0){var st=it.value;st.tableName===X&&(st.tbody[0].intercept_only=Object(h.b)(n.current_ic_val)||"-",st.tbody[0].i_a_c=Object(h.b)(n.loss)||"-")}}catch(t){at=!0,rt=t}finally{try{!nt&&ot.return&&ot.return()}finally{if(at)throw rt}}}else c.tables.splice(1,0,{tableName:X,theader:q,tbody:[{intercept_only:Object(h.b)(n.current_ic_val)||"-",i_a_c:Object(h.b)(n.loss)||"-"}]})}}if(!a.toLowerCase().match("host")){var lt=a.toLowerCase().match("guest")?[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"}]:[{label:"Effect",prop:"effect"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"},{label:n.score_name.toUpperCase(),prop:"a_b_ic"}],ct=o.commonTableContent;s.push({tableName:"Analysis of Effects",theader:lt,tbody:ct})}if(!a.toLowerCase().match("arbiter")){var ut=[{label:"Parameter",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"},{label:"Estimate",prop:"estimate"}],pt=o.commonTableContent;s.push({tableName:"Analysis of Maximum Likelihood Estimates",theader:ut,tbody:pt})}if(!a.toLowerCase().match("arbiter")){var dt=[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"}],ht=[],ft=!0,mt=!1,vt=void 0;try{for(var gt,bt=u()(o.features);!(ft=(gt=bt.next()).done);ft=!0){var yt=gt.value;yt[1].entered||ht.push({effect:yt[0],anonymInArbiter:yt[1].arbiter,role:yt[1].role,df:"-"})}}catch(t){mt=!0,vt=t}finally{try{!ft&&bt.return&&bt.return()}finally{if(mt)throw vt}}s.push({tableName:"Analysis of Effect Eligible for Entry",theader:dt,tbody:ht})}if(!a.toLowerCase().match("arbiter")){var xt=[{label:"Step",prop:"step"},{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"eorr"},{label:"Number in",prop:"numberIn"},{label:"DF",prop:"df"}],wt=[],At=t.steps[0].numberIn,It=!0,_t=!1,Ot=void 0;try{for(var Ct,St=u()(t.steps);!(It=(Ct=St.next()).done);It=!0){var Et=Ct.value,jt=!0,Tt=!1,Nt=void 0;try{for(var kt,Lt=u()(Et.enter);!(jt=(kt=Lt.next()).done);jt=!0){var Dt=kt.value,Rt=Et.features.get(Dt);At++,wt.push({step:Et.name.match(/[0-9]+/)[0],effect:Dt,role:Rt.role,anonymInArbiter:Rt.arbiter,eorr:"entered",numberIn:At,df:"-"})}}catch(t){Tt=!0,Nt=t}finally{try{!jt&&Lt.return&&Lt.return()}finally{if(Tt)throw Nt}}var Ft=!0,Pt=!1,Mt=void 0;try{for(var Bt,Ut=u()(Et.remove);!(Ft=(Bt=Ut.next()).done);Ft=!0){var zt=Bt.value;Rt=Et.features.get(zt),At--,wt.push({step:Et.name.match(/[0-9]+/)[0],effect:zt,role:Rt.role,anonymInArbiter:Rt.arbiter,eorr:"removed",numberIn:At,df:"-"})}}catch(t){Pt=!0,Mt=t}finally{try{!Ft&&Ut.return&&Ut.return()}finally{if(Pt)throw Mt}}Et.enter.length||Et.remove.length||wt.push({step:Et.name.match(/[0-9]+/)[0],effect:"-",role:"-",anonymInArbiter:"-",eorr:"-",numberIn:At,df:"-"})}}catch(t){_t=!0,Ot=t}finally{try{!It&&St.return&&St.return()}finally{if(_t)throw Ot}}c.tables[0]&&!c.tables[0].tableName?c.tables.splice(0,1,{tableName:"",theader:xt,tbody:wt}):c.tables.splice(0,0,{tableName:"",theader:xt,tbody:wt})}var Ht=!1,$t=!1,Wt=a.toLowerCase().match("arbiter")?[{label:"Effect",prop:"effect"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"},{label:n.score_name.toUpperCase(),prop:"a_b_ic"}]:[{label:"Effect",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"Entered or Removed",prop:"change"},{label:"DF",prop:"df"}],Gt=[],Yt=[{label:"Parameter",prop:"effect"},{label:"Anonym in "+(a.toLowerCase().match("host")?"guest & ":"host & ")+"arbiter",prop:"anonymInArbiter"},{label:"DF",prop:"df"},{label:"Estimate",prop:"estimate"}];a.toLowerCase().match("arbiter")&&Yt.splice(1,1);for(var Vt=0;Vt0&&(s=[{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:Object(i.createTables)(a.common,"title")},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:[Object(i.wrapForm)([Object(i.formOption)("f-step",{options:f(a.steps)}),Object(i.formOption)("title",{title:"Steps:"})])].concat(r()(m(a.steps)))},{component:function(){return Promise.resolve().then(n.bind(null,"UN1j"))},options:Object(i.createTables)(a.summary.tables,"text")}]),s}},lEsB:function(t,e,n){"use strict";n.r(e);var a=n("FyfS"),r=n.n(a),i=n("EJiy"),o=n.n(i),s=n("P2sY"),l=n.n(s),c=n("UasS"),u=n("QdnX"),p=n("OjIB"),d=function(t,e,n,a){return l()({type:t,name:e,props:n},a)},h=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}},f=function(t,e,n){return null==e&&(e=t),"object"===(void 0===e?"undefined":o()(e))&&null==n&&(n=e),l()({prop:t,label:e},n)},m=function(t,e){return{label:t,value:e||t}};function v(t,e,n){var a=[],i={},o=[],s=function(t){if(i[t.partyId]=(i[t.partyId]||0)+1,i[t.partyId]===n&&!a.some(function(e){return e===t.partyId})&&(a.push(t.partyId),o.push(t),a.length===e.length))return"break"},l=!0,c=!1,u=void 0;try{for(var p,d=r()(t);!(l=(p=d.next()).done);l=!0){if("break"===s(p.value))break}}catch(t){c=!0,u=t}finally{try{!l&&d.return&&d.return()}finally{if(c)throw u}}return o}function g(t,e,n,a,r,i){var o=t,s=0,p="",h=[],v=[],g=void 0;if(Array.isArray(o)){var b=Object(u.head)(o);s=b.partyId,p=b.role,o=b.binningResult||{}}else s=o.partyId,p=o.role,o=o.binningResult;if(Object(u.isEmpty)(o)&&Object(u.isEmpty)(e))return[];var y=Object(c.default)(o,n,"guest",s,p,p,r,a),x=[],w=[];Object(u.each)(n,function(t){Object(u.each)(y.sourceData,function(e){if(t===e.variable)return x.push(e),!1}),Object(u.each)(y.options,function(e){if(t===e.value)return w.push(e),!1})}),y.sourceData=x,y.options=w,g=y,Object(u.each)(e,function(t,e){v.push(Object(c.default)(t.binningResult,n,"host",t.partyId,t.role,p,r)),h.push(t.partyId||e)});var A=void 0,I={},_=[d("search")],O=void 0,C=l()({},g.eventOptions),S=l()({},g.woeOptions),E=l()({},g.stackBarData),j=l()({},g.woeData);if(Object(u.each)(g.options,function(t){Object(u.each)(g.variableData,function(e,n){if(n===t.value)return I[t.value]=e,!1})}),"guest"===p){h.length>0?(_.push(d("f-select","tableSelection",{options:[m("guest"),m("host",h.map(function(t){return{label:t,value:t}}))],multiple:!0})),A={guest:g.sourceData}):A=g.sourceData;var T={guest:g.options};Object(u.each)(h,function(t,e){var n=v[e];A[t]=n.sourceData,T[t]=n.options;var a=n.variableData;Object(u.each)(n.options,function(t){Object(u.each)(a,function(e,a){if(t.value===a)return I[t.value=t.label]=e,C[t.value]=n.eventOptions[a],S[t.value]=n.woeOptions[a],E[t.value]=n.stackBarData[a],j[t.value]=n.woeData[a],!1})})});var N="";N=h.length>0?[m("guest",T.guest),m("host",h.map(function(t){return{label:t,value:T[t]}}))]:T.guest,O=[d("f-select","f-select",{options:N,supportFilter:!0})]}else O=[d("f-select","f-select",{options:g.options,supportFilter:!0})],A=g.sourceData;var k=[f("","index",{type:"index"}),f("variable","variable",{sortable:!0}),f("binning_count","binning_count",{sortable:!0}),f("iv","IV",{sortable:!0}),f("monotonicity","monotonicity",{sortable:!0})],L=[f("","index",{type:"index"}),f("binning","binning",{matching:!0}),f("iv"),f("woe"),f("event_count"),f("event_ratio"),f("non_event_count"),f("non_event_ratio")];"host"===i&&(k.splice(2,0,f("anonymInGuest","anonym in guest")),L.splice(2,0,f("anonym in guest","anonym in guest"))),"guest"===i&&O.push(d("tslider","tslider",{label:"woe range",range:!0,step:.001,outSide:function(t){var e=t.data,n=void 0,a=void 0;Object(u.each)(e,function(t){var e=parseFloat(t.woe);a||(a=e),n||(n=e),en&&(n=e)}),this.dataMax=parseFloat(n),this.dataMin=parseFloat(a)},formatRange:function(t){var e={columnName:"woe"};return e.min=t[0],e.max=t[1],e}}));var D=[{type:"form",props:{form:O,toProperty:"select",inrow:!0}},{type:"table",props:{header:L,data:I,zeroFormat:"0",export:"feature_binning_detail",toExp:!1}}];return"guest"===p&&(D.push({type:"chart",name:"stackBar",props:{setting:C,options:E,export:"instance_distribution",detail:!1,noDataMissing:!0}}),D.push({type:"chart",name:"woe",props:{setting:S,options:j,export:"woe",detail:!1,noDataMissing:!0}})),[[{type:"form",props:{form:_,toProperty:"tableSelection"}},{type:"table",props:{header:k,data:A,zeroFormat:"0",export:"feature_summary",toExp:!1}}],D].map(function(t){return{type:"group",props:{options:t}}})}e.default=function(t,e,n,a){if(t.msg.toString().toLowerCase().match("no data"))return[];var r=t.data&&t.data.data,i=r.multiClassResult,o=r.header,s=r.headerAnonymous,l=(t.data&&t.data.meta&&t.data.meta.meta_data).skipStatic,c=[],f=[],m=i||t.data&&t.data.data,b=m.hostResults,y=m.results,x=m.labels,w=m.binningResult,A=m.hostPartyIds,I=1;if(x&&0!==x.length){for(var _=0,O=x.length;_0)){t.next=19;break}return v=p.shift(),t.next=10,Object(c.sendMetricsDataRequest)(v);case 10:d=t.sent,g=d.data,b=g.data,y=g.meta,h=Object(c.textTransform)(b),(x=u(h)).length>0&&f.unshift({type:"form",props:{form:[].concat(o()(x))}}),0===m&&0!==p.length||function(){var t=[],e=function(e,n,a){e[n]&&t.push((a||n).replace(/_/g," ")+": "+e[n].toString())};e(y,"job_id"),e(y,"component_name"),e(y,"name","cache name"),e(y,"key","cache key"),(x=u(t)).length>0&&f.push({type:"form",props:{form:[].concat(o()(x))}})}(),m++,t.next=6;break;case 19:return t.abrupt("return",[Object(c.wrapGroupComponent)(f)]);case 20:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=p},lS5Q:function(t,e,n){var a=n("zISJ");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("42fede7a",a,!0,{})},lSAi:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("YEIV"),l=n.n(s),c=n("P2sY"),u=n.n(c),p=n("QbLZ"),d=n.n(p),h=n("D3Ub"),f=n.n(h),m=n("xjht"),v=n("evsm"),g=n("QdnX"),b=n("OjIB"),y=n("saIk"),x=function(){var t=f()(r.a.mark(function t(e,n){var a,i,s,c,p,h,f,x,A,I,_,O,C,S,E,j,T,N,k,L;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(m.d)(d()({metrics:e.options},n));case 2:for(i=t.sent,s=function(t){var e={};return Object(g.each)(t,function(t,n){Object(g.each)(t,function(t,a){var r=t.meta.metric_type;e[r]||(e[r]={}),e[r][n]||(e[r][n]={}),u()(e[r][n],l()({},a,t))})}),e},c=s(i.data),p=[],h={},f={},x={},A=[],Object(g.each)(c,function(t,e){if(e===y.METRIC_TYPES.EVALUATION_SUMMARY)h=t;else if(e===y.METRIC_TYPES.QUANTILE_PR)f=t;else if(e===y.METRIC_TYPES.F1_SCORE)x[y.METRIC_TYPES.F1_SCORE]=t;else if(e===y.METRIC_TYPES.CONFUSION_MAT)x[y.METRIC_TYPES.CONFUSION_MAT]=t;else if(e===y.METRIC_TYPES.SAMPLE_TABLE){var a=Object(v.b)(e)(t);A.push({title:y.METRIC_TYPES.SAMPLE_TABLE,content:Object(b.wrapGroupComponent)(a)})}else if(e===y.METRIC_TYPES.PSI){var r=Object(v.b)(e),i={};for(var o in t)i=u()(i,t[o]);var s=r(i);A.push({title:y.METRIC_TYPES.PSI,content:Object(b.wrapGroupComponent)(s)})}else if(e===y.METRIC_TYPES.OVR){var l=Object(v.b)(e)(t,e);A.push({title:"One_vs_Rest Evaluation",content:Object(b.wrapGroupComponent)(l)})}else Object(g.each)(t,function(t,a){if("string"!=typeof t){var r=Object(v.b)(e)(t,n);A.push({title:e,content:Object(b.wrapGroupComponent)(r)})}})}),Object(g.isEmpty)(h)||(I=Object(v.b)(y.METRIC_TYPES.EVALUATION_SUMMARY),(_=I(h,Object(g.isEmpty)(f)?void 0:f,n.isEvaluation)||[])&&_.length>0&&p.push({title:y.METRIC_TYPES.EVALUATION_SUMMARY,content:Object(b.wrapGroupComponent)(_)})),Object(g.isEmpty)(x)||(O=Object(v.b)(y.METRIC_TYPES.CONFUSION_MAT),C=O(x.CONFUSION_MAT,x.F1_SCORE),p.push({title:y.METRIC_TYPES.CONFUSION_MAT,content:Object(b.wrapGroupComponent)(C)})),(a=p).push.apply(a,A),p=p.sort(function(t,e){var n=w.indexOf(t.title),a=w.indexOf(e.title);return n<0||a<0?0:n>a?1:-1}),S=[],E=!0,j=!1,T=void 0,t.prev=19,N=o()(p);!(E=(k=N.next()).done);E=!0)L=k.value,S.push(L.content);t.next=27;break;case 23:t.prev=23,t.t0=t.catch(19),j=!0,T=t.t0;case 27:t.prev=27,t.prev=28,!E&&N.return&&N.return();case 30:if(t.prev=30,!j){t.next=33;break}throw T;case 33:return t.finish(30);case 34:return t.finish(27);case 35:return t.abrupt("return",S);case 36:case"end":return t.stop()}},t,this,[[19,23,27,35],[28,,30,34]])}));return function(e,n){return t.apply(this,arguments)}}(),w=[y.METRIC_TYPES.CLUSTERING_EVALUATION_SUMMARY,y.METRIC_TYPES.DISTANCE_MEASURE,y.METRIC_TYPES.CONTINGENCY_MATRIX];e.default=x},mLUo:function(t,e,n){var a=n("j07e");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("07b18410",a,!0,{})},mWkO:function(t,e,n){"use strict";var a=n("eOYL"),r=n("PpD2"),i=n("UVkp"),o={drawArc:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=s,e?(n||(n=a.a.getUUID("circle")),e.drawLayer(n,t),n):new a.a(t)},LEFT_UP:i.a.LEFT_UP,RIGHT_UP:i.a.RIGHT_UP,LEFT_DOWN:i.a.LEFT_DOWN,RIGHT_DOWM:i.a.RIGHT_DOWM};function s(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,r=t.radius;t.position===o.LEFT_UP?t.point={x:e+r,y:n+r}:t.position===o.RIGHT_UP?t.point={x:e,y:n+r}:t.position===o.LEFT_DOWN&&(t.point={x:e+r,y:n}),function(t){a.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.radius,o=t.sAngle||i.a._SANGLE,s=t.eAngle||i.a._EANGLE,l=!!t.wise;e.arc(n,a,r,o,s,l)})}.call(t)}var l=o,c={drawRect:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=p,t.here=u,e?(n||(n=a.a.getUUID("rect")),e.drawLayer(n,t),n):new a.a(t)},LEFT_UP:i.a.LEFT_UP,RIGHT_UP:i.a.RIGHT_UP,LEFT_DOWN:i.a.LEFT_DOWN,RIGHT_DOWN:i.a.RIGHT_DOWN,CENTER:i.a.CENTER};function u(t){var e=this,n=e.point.x||e.point[0]||0,a=e.point.y||e.point[1]||0,r=e.width,i=e.height,o={};o=e.position===c.LEFT_UP?{x:n+r/2,y:a+i/2}:e.position===c.RIGHT_UP?{x:n-r/2,y:a+i/2}:e.position===c.LEFT_DOWN?{x:n+r/2,y:a-i/2}:e.position===c.RIGHT_DOWN?{x:n-r/2,y:a-i/2}:{x:n,y:a};var s=e.$meta.get("$translate")||{x:0,y:0},l=(t.x||t[0]||0)-s.x,u=(t.y||t[1]||0)-s.y;return l>=o.x-r/2&&l<=o.x+r/2&&u>=o.y-i/2&&u<=o.y+i/2}function p(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,r=t.width,i=t.height;t.position===c.LEFT_UP?t.point={x:e+r/2,y:n+i/2}:t.position===c.RIGHT_UP?t.point={x:e-r/2,y:n+i/2}:t.position===c.LEFT_DOWN?t.point={x:e+r/2,y:n-i/2}:t.position===c.RIGHT_DOWN&&(t.point={x:e-r/2,y:n-i/2}),function(){var t=this;a.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.radius,i=t.width,o=t.height,s=0===t.progress?0:t.progress?t.progress:1;if(s<=0)return;var l=n-i/2,c=a-o/2+r;e.moveTo(l,c);var u=l+r,p=c,d=1*Math.PI,h=i*sr?(l=i*s>i-r?l+i-2*r:l+i*s,c-=r,e.lineTo(l,c),i*s>i-r?(u=l,p=c+r,d=1.5*Math.PI,h=s<1?d+Math.acos((r-(i-i*s))/r):0,e.arc(u,p,r,d,h,!1),l+=r-(i-i*s),c=c+o-r-Math.cos(.5*Math.PI-Math.acos((r-(i-i*s))/r))*r,e.lineTo(l,c),p=p+o-2*r,d=0,h=s<1?d+Math.acos((r-(i-i*s))/r):.5*Math.PI,e.arc(u,p,r,d,h,!1),l=u-i+3*r,c=p+r,e.lineTo(l,c)):(c+=o,e.lineTo(l,c),l=l-i*s+r,e.lineTo(l,c)),u=l,p=c-r,e.arc(u,p,r,.5*Math.PI,1*Math.PI,!1)):(l+=i*s,c=c+o-2*r+Math.sin(.5*Math.PI-Math.acos((r-i*s)/r))*r,e.lineTo(l,c),p=p+o-2*r,d=1*Math.PI-Math.acos((r-i*s)/r),h=1*Math.PI,e.arc(u,p,r,d,h,!1));l=n-i/2,c=a-o/2+r,e.lineTo(l,c)})}.call(t)}var d=c,h=n("UMXJ"),f=n("FyfS"),m=n.n(f),v={drawTrangle:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=g,e?(n||(n=a.a.getUUID("trangle")),e.drawLayer(n,t),n):new a.a(t)},LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,UP:i.a.CENTER,BOTTOM:i.a.BOTTOM};function g(){this.height?function(){var t=this;a.a.commonDrawing(t,function(e){var n=Math.tan(30*Math.PI/180)*t.height,a=[],r=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0;a.push(t.point),t.position===v.LEFT?a.push.apply(a,[{x:r+t.height,y:i-n},{x:r+t.height,y:i+n}]):t.position===v.RIGHT?a.push.apply(a,[{x:r-t.height,y:i-n},{x:r-t.height,y:i+n}]):t.position===v.BOTTOM?a.push.apply(a,[{x:r-n,y:i-t.height},{x:r+n,y:i-t.height}]):a.push.apply(a,[{x:r-n,y:i+t.height},{x:r+n,y:i+t.height}]);var o=0,s=!0,l=!1,c=void 0;try{for(var u,p=m()(a);!(s=(u=p.next()).done);s=!0){var d=u.value,h=d.x||d[0]||0,f=d.y||d[1]||0;0===o?e.moveTo(h,f):e.lineTo(h,f),o++}}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}var g=t.point.x||t.point[0]||0,b=t.point.y||t.point[1]||0;e.lineTo(g,b)})}.call(this):function(){var t=this;a.a.commonDrawing(t,function(e){var n=0,a=!0,r=!1,i=void 0;try{for(var o,s=m()(t.point);!(a=(o=s.next()).done);a=!0){var l=o.value,c=l.x||l[0]||0,u=l.y||l[1]||0;0===n?e.moveTo(c,u):e.lineTo(c,u),n++}}catch(t){r=!0,i=t}finally{try{!a&&s.return&&s.return()}finally{if(r)throw i}}var p=t.point[0].x||t.point[0][0]||0,d=t.point[0].y||t.point[0][1]||0;e.lineTo(p,d)})}.call(this)}var b=v,y=5,x={drawTooltip:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.struct=A,t.here=w,e?(n||(n=a.a.getUUID("tooltip")),e.drawLayer(n,t),n):new a.a(t)},here:w,LEFT:i.a.LEFT,RIGHT:i.a.RIGHT,UP:i.a.CENTER,BOTTOM:i.a.BOTTOM,TEXT:{LEFT:h.a.LEFT,RIGHT:h.a.RIGHT,CENTER:h.a.CENTER},events:{scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=this;n.setCus("scale",function(){if(n.point=a.a.scaleDistanceForPoint(n.point,e,t),n.width&&(n.width=a.a.toFixed(n.width*t)),n.height&&(n.height=a.a.toFixed(n.height*t)),n.padding&&(n.padding=a.a.toFixed(n.padding*t)),n.trangleSize&&(n.trangleSize=a.a.toFixed(n.trangleSize*t)),n.textStyle.font){var r=parseFloat(n.textStyle.font);n.textStyle.font=n.textStyle.font.replace(r,a.a.toFixed(r*t))}n.linebetween=a.a.toFixed(n.linebetween*t),n.radius=a.a.toFixed((n.radius||4)*t)})}}};function w(t){return!1}function A(){var t=this;t.linebetween=t.linebetween||y;var e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,a={x:e,y:n},r={},o=0;t.text=Array.isArray(t.text)?t.text:[t.text];var s=!0,l=!1,c=void 0;try{for(var u,p=m()(t.text);!(s=(u=p.next()).done);s=!0){var f=u.value,v=Object(h.b)(t.$ctx,f,t.textStyle);Math.ceil(v.width)>o&&(o=Math.ceil(v.width))}}catch(t){l=!0,c=t}finally{try{!s&&p.return&&p.return()}finally{if(l)throw c}}var g=parseInt(t.textStyle.font)*t.text.length+t.linebetween*(t.text.length-1)+1.5*t.padding,w=o+2*t.padding;t.position===x.RIGHT?(r.x=e-t.trangleSize-w/2,r.y=n):t.position===x.UP?(r.x=e,r.y=n+t.trangleSize+g/2):t.position===x.BOTTOM?(r.x=e,r.y=n-t.trangleSize-g/2):(r.x=e+t.trangleSize+w/2,r.y=n),b.drawTrangle({props:{point:a,height:t.trangleSize,style:t.containerStyle,position:t.position||i.a.LEFT,fill:!0}},this,"trangle"),d.drawRect({props:{point:r,radius:t.radius||4,width:w,height:g,position:d.CENTER,style:t.containerStyle,fill:!0}},this,"rect");for(var A=0;Ae-a/2&&sn-r/2}function O(){!function(t){var e=t.$ctx;e.beginPath();var n=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0,r=t.width,i=t.height||r;e.drawImage(t.img,n-r/2,a-i/2,r,i),e.closePath()}(this)}var C={drawIcon:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=O,t.here=_,e?(n||(n=a.a.getUUID("icon")),e.drawLayer(n,t),n):new a.a(t)}},S={line:r.b,circle:l,rect:d,text:h.a,trangle:b,tooltip:I,icon:C};a.a.component=S;e.a=a.a},mrTZ:function(t,e,n){"use strict";var a=n("jkWR");n.n(a).a},n0uM:function(t,e,n){var a=n("8csx");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("64326f00",a,!0,{})},nHDQ:function(t,e,n){"use strict";n.r(e);var a=n("7Qib"),r=n("QdnX"),i=function(){return[{type:"index",label:"index",width:100},{prop:"variable",label:"variable",sortable:!0},{prop:"ratio",label:"imputer value ratio",sortable:!0},{prop:"mode",label:"impute mode",sortable:!0},{prop:"value",label:"imputed value"}]},o=function(t){return function(e,n){t.push({variable:n,ratio:100*Object(a.b)(e.ratio)+"%",value:e.value||"",mode:e.mode})}},s=function(t,e,n){var a={};for(var r in t)a[r]={ratio:t[r],value:e[r],mode:n[r]};return a},l=function(t){return{type:"form",props:{form:[{type:"title",props:{title:t}},{type:"search"}]}}},c=function(t,e,n){t.sort(function(t,a){var r=n.indexOf(t[e]),i=n.indexOf(a[e]);return r>i?1:r0&&e.push.apply(e,G()(r))}),e},getVariableMap:function(){var t=this,e=[];return this.cList.forEach(function(n,a){var r=t.refOpera("comp"+a,"getVariableMap");r.length>0&&e.push.apply(e,G()(r))}),$()(new z.a(e))},allSteps:function(t){var e=this;V=t,Z=0;(function(t,e){for(var n=[],a=V.needExport.join("|"),r=0,i=t.length;r0&&(this.showNoData=!1,this.handleOptions(),this.$forceUpdate())},methods:{handleOptions:function(){var t=this,e={},n={},a=[],r=[],i=[];if(this.data&&this.data.meta&&this.data.meta.header.length)for(var s=function(i){var o=[],s=[];t.data.meta.header[i]&&t.data.meta.header[i].forEach(function(t,e){o.push({prop:t.replace(".","")+e,label:t,showOverflowTooltip:!0})}),t.data.data[i].forEach(function(t){var e={};o.forEach(function(n,a){var r=t[a];null!==r&&"object"===(void 0===r?"undefined":u()(r))&&(r=f()(r)),e[n.prop]=null!==r?r&&r.toString():"-"}),s.push(e)}),o.unshift({type:"index",label:"index"}),e[t.data.meta.names[i]]=o,1===t.data.meta.header.length?(n=s,r=t.data.meta.total[i]):(a.push({label:t.data.meta.names[i],value:t.data.meta.names[i]}),r.push({label:t.data.meta.names[i],value:t.data.meta.total[i]}),n[t.data.meta.names[i]]=s)},l=0;l0?(o()(n).length>0&&this.data.meta.header.length>1?i.push({type:"form",props:{form:[{type:"f-select",props:{options:a},connect:[1]},{type:"text",props:{content:"Outputting {total} instances",subContent:"(only 100 instances are shown in the table)",className:"small-form-text",data:{"{total}":function(t){var e=Array.isArray(t)?t[0]:t,n=!0,a=!1,i=void 0;try{for(var o,s=d()(r);!(n=(o=s.next()).done);n=!0){var l=o.value;if(l.label===e)return l.value}}catch(t){a=!0,i=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw i}}}},inner:!0}}]}}):i.push({type:"text",props:{content:"Outputting "+r+" instances",subContent:"(only 100 instances are shown in the table)",className:"small-form-text"}}),i.push({type:"table",props:{header:{disable:p,header:h},data:n,zeroFormat:"0",nullFormat:"null",headerPagination:!0,pageSize:10}}),this.group=i):this.showNoData=!0},getHeader:function(t){var e=this,n={},a={},r=[];return o()(t).forEach(function(e,n){t[e].forEach(function(t){a[t.prop]||(a[t.prop]=!0,r.push(t))})}),o()(t).forEach(function(a,i){n[a]=e.disabledHeader(t[a],r)}),{disable:n,commonHeader:r}},disabledHeader:function(t,e){var n=[],a=[];return t.forEach(function(t){a.push(t.prop)}),e.forEach(function(t){a.indexOf(t.prop)<0&&n.push(t.prop)}),n}}},q=(n("mrTZ"),Object(N.a)(K,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"combination__container"},[!t.showNoData&&t.group.length>0?n("group",{attrs:{options:t.group}}):t._e(),t._v(" "),t.showNoData?n("div",{staticClass:"template_nodata"},[t._v("No Data")]):t._e()],1)},[],!1,null,"9746f0c0",null));q.options.__file="DataOutput.vue";var tt=q.exports,et=n("P2sY"),nt=n.n(et),at=n("Dbz9"),rt=n.n(at),it=n("cU3k"),ot=n("V/pm"),st=function(t){return v()({logs:null,logSize:0,logType:""},t)},lt={components:{Log:it.a},props:{componentName:{type:String,default:""},jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""},visible:{type:Boolean,default:!1}},data:function(){return st()},watch:{logSize:function(t){t&&this.onPull(!1)},componentName:{handler:function(){this.visible&&(this.clearData(),this.closeSocket(),this.initLogSocket())},immediate:!0},visible:"visibleHandler"},beforeDestroy:function(){this.closeSocket()},methods:{initLogSocket:function(){var t=this;if(!this.ws){var e=this.jobId,n=this.role,a=this.partyId,r=this.componentName;e&&n&&a&&r||console.warn("Missing required parameters"),this.ws=new ot.a("/log/new/"+e+"/"+n+"/"+a+"/"+r),this.ws.addEventListener("message",function(e){t.handleLogMessage(JSON.parse(e.data))})}return this.ws},handleLogMessage:function(t){switch(t.type){case"logSize":this.handleLogSizeResponse(t.data);break;case"componentInfo":this.insertLogs(t)}},handleLogSizeResponse:function(t){var e=l()(t)[0];this.logType=e[0],this.logSize=e[1]},handleScrollTop:function(){this.onPull()},onPull:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=this.logSize,n=this.logs||[],a=void 0,r=void 0;if(n.length?t?(r=n[0].lineNum-1,a=Math.max(1,r-50)):(a=n[n.length-1].lineNum+1,r=e):(r=e,a=Math.max(r-50,1)),e>0){if(r-1;)i===a[r].lineNum?a.splice(r,1):i=a[r].lineNum}else a=e;a=a.map(function(t){return rt()(t)}),this.logs=a},getLogsRange:function(t){return[t[0].lineNum,t[t.length-1].lineNum]},visibleHandler:function(t){t?this.initLogSocket():(this.clearData(),this.closeSocket())},clearData:function(){nt()(this,st())},closeSocket:function(){this.ws&&this.ws.close(),this.ws=null}}},ct=(n("SNd3"),Object(N.a)(lt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"calc(100vh - 190px)"}},[e("log",{attrs:{logs:this.logs},on:{"scroll-top":this.handleScrollTop}})],1)},[],!1,null,null,null));ct.options.__file="Log.vue";var ut=ct.exports,pt=n("evsm"),dt=n("xjht"),ht={name:"OutputDialog",components:{ViewSwitch:L,ReportNav:B,Combination:J,DataOutput:tt,Log:ut},props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},modelType:{type:String,default:""},componentName:{type:String,default:""},jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""},status:{type:String,default:""}},data:function(){return{fullscreen:!1,activeName:"model",transformFn:null,cList:[],tabIndex:0,logInited:!1,dataOutput:[],noReportData:!1,noModelData:!1,noDataOutput:!1,dataOutputResponse:null,showRefresh:!0}},computed:v()({},Object(j.c)(["modelNameMap"]),{modelName:function(){var t="summary";return this.joinComponents(["evaluation","scorecard"]).match(this.modelType)?t="metrics":this.joinComponents(["boost","homoBoost","homoLR","heteroLR","heteroLinR","sklearnLR","poisson","homoNN","heteroNN","heterofm","homofm","heteroMF","heteroSVD","heteroSVDPP","heteroGMF"]).match(this.modelType)&&(t="model output"),t},reportType:function(){var t=!!this.modelType.toLowerCase().match(new RegExp("("+["binning","selection","evaluation","featureimputation","labeltransform","datatransform","dataio","federatedsample","scale","onehot"].join("|")+")")),e=!!this.modelType.toLowerCase().match(new RegExp("("+["binning","selection","secureboost","lr","featureimputation","labeltransform","datatransform","dataio","intersection","federatedsample","scale","onehot"].join("|")+")")),n=!!this.modelType.toLowerCase().match(new RegExp("("+["secureboost","lr"].join("|")+")"));return{has:t||e||n,hasReport:t,hasData:e,hasModel:n}},dataOutputShow:function(){return!this.joinComponents(["correlation","evaluation","psi","statistic","modelLoader","CacheLoader"]).match(this.modelType)},modelOutputShow:function(){return!this.modelType.match(new RegExp("("+["columnexpend"].join("|")+")"))}}),watch:{componentName:function(){this.componentName&&(this.refresh(),this.dataOutputResponse=null)},fullscreen:function(){this.$refs.model_output.resize()}},created:function(){this.currentActiveName(),this.transformFn=Object(pt.a)(this.modelType)},methods:{refresh:function(){var t={job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName};this.dataDataOutputCheck(),this.getResults(t),this.transformFn=Object(pt.a)(this.modelType),this.dataOutput=[]},refreshAll:function(){"model"===this.activeName?this.refresh():"data"===this.activeName&&this.getDataOutputData()},switchFullscreen:function(){this.fullscreen=!this.fullscreen},currentActiveName:function(){this.modelOutputShow?this.activeName="model":this.dataOutputShow?this.activeName="data":this.activeName="log"},switchVisible:function(){this.currentActiveName(),this.dataOutput=[],this.$emit("closeDialog")},joinComponents:function(t){var e=this;return t.map(function(t){return e.modelNameMap[t]}).join("|")},getResults:function(t){var e=this;E.a.all([Object(dt.e)(t),Object(dt.c)(t)]).then(function(t){var n=C()(t,2),a=n[0],r=n[1],i="";i=(null===a.data||a.data.toString().toLowerCase().match("no data")||a.msg&&a.msg.toString().toLowerCase().match("no data"))&&(null===r.data||r.data.toString().toLowerCase().match("no data")||r.msg&&r.msg.toString().toLowerCase().match("no data"))?[]:e.transformFn(a,r,e.partyId,e.role,e.componentName,e.jobId,e.modelType),Array.isArray(i)?(e.cList=i,0===i.length?(e.noModelData=!0,e.noReportData=!0):(e.noModelData=!1,e.noReportData=!1)):i.then(function(t){e.cList=t,0===t.length?(e.noModelData=!0,e.noReportData=!0):(e.noModelData=!1,e.noReportData=!1)})})},changeTabs:function(t){switch(this.tabIndex=+t.index,this.showRefresh=!0,+t.index){case 1:this.getDataOutputData(),this.showRefresh=!1}switch(t.name){case"log":this.logInited=!0,this.showRefresh=!1}},getDataOutputData:function(){var t=this,e={job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName},n=function(e){t.dataOutputResponse=e,t.dataOutput=e&&e.data||[],t.dataOutput&&t.dataOutput.retmsg&&!t.dataOutput.retmsg.toString().toLowerCase().match("no data")?t.noDataOutput=!1:t.noDataOutput=!0};this.dataOutputResponse?n(this.dataOutputResponse):Object(dt.a)(e).then(n)},getNames:function(){return this.$refs.model_output.getNames()},getVariableMap:function(){return this.$refs.model_output.getVariableMap()},hasIv:function(){return this.$refs.model_output.hasIv()},allSteps:function(t){return this.$refs.model_output.allSteps(t)},combinationReporter:function(t){this.$emit("cReporter",t)},dataOutputReporter:function(t){this.$emit("dReporter",t)},handleFilterLogic:function(t){return this.$refs.model_output.handleFilterLogic(t)},dataDataOutputCheck:function(){this.getDataOutputData()}}},ft=(n("OLz/"),Object(N.a)(ht,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{attrs:{title:t.title,"show-close":!1,visible:t.visible,fullscreen:t.fullscreen,"close-on-click-modal":!1,"modal-append-to-body":!1,width:"80%",top:"70px"},on:{"update:visible":function(e){t.visible=e}}},[n("view-switch",{attrs:{fullscreen:t.fullscreen},on:{switchFullscreen:t.switchFullscreen,switchVisible:t.switchVisible}}),t._v(" "),n("div",{staticClass:"dialog-content"},[n("report-nav",{staticClass:"report",attrs:{"show-refresh":t.showRefresh,"model-type":t.modelType,"report-type":t.reportType,"no-report-data":t.noReportData,"no-model-data":t.noModelData,"no-data-output":t.noDataOutput},on:{download:function(e){return t.$emit("download",e)},refresh:t.refreshAll}}),t._v(" "),n("el-tabs",{staticClass:"dialog-tabs",on:{"tab-click":t.changeTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[t.modelOutputShow?n("el-tab-pane",{attrs:{label:t.modelName,name:"model"}},[n("combination",{ref:"model_output",attrs:{"c-list":t.cList,visiable:t.visible},on:{reporter:t.combinationReporter}})],1):t._e(),t._v(" "),t.dataOutputShow?n("el-tab-pane",{attrs:{label:"data output",name:"data"}},[1===t.tabIndex?n("DataOutput",{ref:"data_output",attrs:{data:t.dataOutput},on:{reporter:t.dataOutputReporter}}):t._e()],1):t._e(),t._v(" "),n("el-tab-pane",{attrs:{label:"log",name:"log"}},[t.logInited?n("log",{attrs:{visible:t.visible,"component-name":t.componentName,"job-id":t.jobId,role:t.role,"party-id":t.partyId}}):t._e()],1)],1)],1)],1)},[],!1,null,null,null));ft.options.__file="index.vue";var mt=ft.exports,vt=n("dyDN"),gt=n("14Xm"),bt=n.n(gt),yt=n("ODRq"),xt=n.n(yt),wt=n("D3Ub"),At=n.n(wt),It=n("+Ej1"),_t=n.n(It),Ot={props:{title:{type:String,default:""},tip:{type:String,default:""}}},Ct=(n("hF9E"),Object(N.a)(Ot,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"heading"},[n("div",{staticClass:"title"},[t._t("title",[n("span",[t._v(t._s(t.title))])]),t._v(" "),t._t("append")],2),t._v(" "),t._t("tip",[t.tip?n("div",{staticClass:"tip"},[t._v(t._s(t.tip))]):t._e()])],2)},[],!1,null,"56e1b348",null));Ct.options.__file="Heading.vue";var St=Ct.exports,Et={props:{data:{type:Array,default:function(){return[]}}},data:function(){return{page:{currentPage:1,pageSize:10,layout:"total, prev, pager, next, jumper"}}},computed:{paginatedData:function(){var t=this.page,e=t.currentPage,n=t.pageSize;return this.data.slice((e-1)*n,e*n)}},methods:{handleCurrentPageChange:function(t){this.page.currentPage=t},handleInput:function(t,e){var n=this.data.map(function(n){return n.origin===e?v()({},n,{modified:t.target.value}):n});this.$emit("update:data",n)},handleInputEnter:function(t){t.target.blur()},tableDownload:function(){return{default:{"variable_modify.csv":{header:["origin","modified"],data:this.data}}}}}},jt=(n("orkn"),Object(N.a)(Et,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("el-table",{staticStyle:{"margin-bottom":"15px"},attrs:{data:t.paginatedData,size:"mini","header-cell-class-name":"header-section-style default-cell-summary-font"}},[n("el-table-column",{attrs:{type:"index",label:"index",width:"100",align:"center","header-align":"center","class-name":"default-cell-style default-cell-first-col-style"}}),t._v(" "),n("el-table-column",{attrs:{prop:"origin",label:"original variable",align:"center","header-align":"center","class-name":"default-cell-style"}}),t._v(" "),n("el-table-column",{attrs:{prop:"modified",label:"modified variable",align:"center","header-align":"center","class-name":"default-cell-style"},scopedSlots:t._u([{key:"default",fn:function(e){var a=e.row;return[n("input",{staticClass:"simple-input",domProps:{value:a.modified},on:{input:function(e){t.handleInput(e,a.origin)},keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.handleInputEnter(e):null}}})]}}])})],1),t._v(" "),n("div",{staticClass:"flex flex-end"},[n("el-pagination",t._b({attrs:{total:t.data.length,background:""},on:{"current-change":t.handleCurrentPageChange}},"el-pagination",t.page,!1))],1)],1)},[],!1,null,null,null));jt.options.__file="TableForm.vue";var Tt=jt.exports,Nt={greater:">",less:"<",equal:"=",greaterOrEqual:"≥",lessOrEqual:"≤",notEqual:"≠",in:"in",notIn:"not in"},kt={name:"Logic",props:{checked:{type:Boolean,default:!1},label:{type:String,default:""},variableType:{type:String,default:"int"},operator:{type:String,default:"greater",validator:function(t){return Nt[t]}},condition:{type:String,default:""}},data:function(){return{error:void 0}},computed:{operators:function(){return l()(Nt).map(function(t){var e=C()(t,2);return{value:e[0],label:e[1]}})},placeholder:function(){var t=this.label,e=this.variableType,n=this.isRangeType,a=n?[1,4,5]:[1];return a="int"===e?a:a.map(function(t){return t/100}),"enter "+(n?t+" range":"an "+t)+" like: "+a[0]+(a[1]?","+a[1]+"~"+a[2]:"")},isRangeType:function(){return"in"===this.operator||"notIn"===this.operator}},methods:{handleUpdate:function(t,e){this.$emit("update:"+e,t),this.$emit("updated")},handleInput:function(t){t=(t=t.replace(/[,、。/\\。;;]/g,",")).replace(/(-{1,2})|——/g,"~"),this.handleUpdate(t,"condition")},handleChange:function(t){var e=this;this.$nextTick(function(){e.validate(e.condition)})},validate:function(t){this.checked&&t&&(this.error=this.isRangeType?this.validateRange(t):this.validateNumber(t),this.$emit("error",this.error))},validateNumber:function(t){if(!/^[+-]?(0|([1-9]\d*))(\.\d+)?$/.test(t))return"Invalid number "+t},validateRange:function(t){var e=this,n=[];return t.split(",").forEach(function(t){if(t){var a=[];if(t.indexOf("~")<0)e.validateNumber(t)&&n.push(t);else if((a=t.split("~")).length>2)n.push(t);else(!a.every(function(t){return!e.validateNumber(t)})||+a[0]>=+a[1])&&n.push(t)}}),n.length?"Invalid range "+n.join("..."):void 0}}},Lt=(n("hzma"),Object(N.a)(kt,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"logic"},[n("el-form",{attrs:{"show-message":!1,inline:"",size:"mini"}},[n("el-form-item",[n("el-checkbox",{attrs:{value:t.checked},on:{change:function(e){t.handleUpdate(e,"checked")}}},[n("div",{staticClass:"label"},[t._v(t._s(t.label))])])],1),t._v(" "),n("el-form-item",{attrs:{error:t.error}},[n("el-select",{staticStyle:{width:"90px"},attrs:{value:t.operator},on:{change:function(e){t.handleUpdate(e,"operator")}}},t._l(t.operators,function(e,a){return n("el-option",t._b({key:a},"el-option",e,!1))}))],1),t._v(" "),n("el-form-item",{attrs:{error:t.error}},[n("el-input",{staticClass:"condition",attrs:{value:t.condition,placeholder:t.placeholder},on:{input:t.handleInput,change:t.handleChange}})],1)],1)],1)},[],!1,null,"3daaa25f",null));Lt.options.__file="Logic.vue";var Dt=Lt.exports,Rt={props:{files:{type:Array,default:function(){return[]}}}},Ft=(n("UFPc"),Object(N.a)(Rt,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticStyle:{"padding-top":"5px","padding-left":"2px"}},t._l(t.files,function(e,a){return n("li",{key:a,staticClass:"item"},[n("el-checkbox",{on:{change:function(e){t.$emit("change")}},model:{value:e.checked,callback:function(n){t.$set(e,"checked",n)},expression:"file.checked"}},[n("span",{staticClass:"name"},[t._v(t._s(e.filename))])])],1)}))},[],!1,null,"099ffed2",null));Ft.options.__file="Files.vue";var Pt=Ft.exports,Mt=n("Yz+Y"),Bt=n.n(Mt),Ut=n("FYw3"),zt=n.n(Ut),Ht=n("mRg0"),$t=n.n(Ht),Wt=n("iCc5"),Gt=n.n(Wt),Yt=n("V7oC"),Vt=n.n(Yt),Zt=n("Iab2"),Qt=n("xOOu"),Xt=n.n(Qt),Jt={fields:null,defaultValue:" ",quote:'"',escapedQuote:'""',delimiter:",",escapedDelimiter:"_",eol:"Win32"===navigator.platform||"Windows"===navigator.platform?"\r\n":"\n",header:!0,includeEmptyRows:!1};function Kt(t,e){var n=!0;return t.reduce(function(t,a){return null==a&&(a=""),n?(n=!1,a):""+t+e+a},"")}function qt(t,e,n){return void 0===t[e]?n:t[e]}var te=function(){function t(e){Gt()(this,t),this.options=nt()({},Jt,e),this.options.fields&&(this.options.fields=this.preprocessFileds(this.options.fields))}return Vt()(t,[{key:"preprocessFileds",value:function(t){var e=this;return t.map(function(t){if("string"==typeof t)return{label:t,value:function(n){return qt(n,t,e.options.defaultValue)}};if("object"===(void 0===t?"undefined":u()(t))){if("string"==typeof t.value)return{label:t.label,value:function(n){return qt(n,t.value,e.options.defaultValue)}};if("function"==typeof t.value)return{label:t.label,value:function(n){var a=t.value(n,t);return null==a?e.options.defaultValue:a}}}throw new Error("Invalid fields options")})}},{key:"getHeader",value:function(){var t=this;return Kt(this.options.fields.map(function(e){return t.processValue(e.label)}),this.options.delimiter)}},{key:"processRow",value:function(t){var e=this;if(t){var n=this.options.fields.map(function(n){return e.processValue(n.value(t))});if(!this.options.includeEmptyRows||!n.every(function(t){return void 0===t}))return Kt(n,this.options.delimiter)}}},{key:"processValue",value:function(t){var e=void 0===t?"undefined":u()(t);if("number"!==e&&"boolean"!==e&&"string"!==e){if(void 0===(t=f()(t)))return;'"'===t[0]&&t.replace(/^"(.+)"$/,"$1")}return"string"==typeof t&&((t=t.replace(new RegExp(this.options.quote,"g"),this.options.escapedQuote)).match(new RegExp(this.options.delimiter,"g"))&&(t=""+this.options.quote+t+this.options.quote),t+="\t"),t}},{key:"processData",value:function(t){var e=this;return Kt(t.map(function(t){return e.processRow(t)}).filter(function(t){return t}),this.options.eol)}},{key:"parse",value:function(t,e){var n=t.reduce(function(t,e){return o()(e).forEach(function(e){t[e]||(t[e]=!0)}),t},{});this.options.fields=o()(n),this.options.fields=this.preprocessFileds(this.options.fields),e&&(this.options.fields=function(t,e,n,a){return n=n||function(t,e){return e.indexOf(t)},a=a||function(t){return t.label},t.sort(function(t,r){var i=n(a(t),e),o=n(a(r),e);return i<0||o<0?0:i>o?1:-1})}(this.options.fields,e));var a=this.options.header?this.getHeader():"",r=this.processData(t);return a+(a&&r?this.options.eol:"")+r||"no data"}}]),t}(),ee=function(){function t(){Gt()(this,t),this.zip=new Xt.a,this.folds=new xt.a}return Vt()(t,[{key:"addFileInZip",value:function(t,e,n,a){(a&&this.folds.get(a)||this.zip).file(t,e,n)}},{key:"addBolb",value:function(t,e,n){this.addFileInZip(t,e,{blob:!0},n)}},{key:"addFile",value:function(t,e,n){this.addFileInZip(t,e,{},n)}},{key:"addImage",value:function(t,e,n){this.addFileInZip(t,e,{base64:!0},n)}},{key:"createFold",value:function(t,e){var n=(e&&this.folds.get(e)||this.zip).folder(t);this.folds.set(t,n)}},{key:"addCSV",value:function(t,e,n){var a=new ae(t);this.addFile(t,a.parseData(e),n)}},{key:"addPng",value:function(t,e,n){this.addImage(t,e,n)}},{key:"save",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"blob";return this.zip.generateAsync({type:e}).then(function(e){Object(Zt.saveAs)(e,t)})}}]),t}(),ne=function(){function t(e){Gt()(this,t),this.name=e,this.type="application/octet-stream;charset=utf-8",this.extension=this.getExtension(e)}return Vt()(t,[{key:"getExtension",value:function(t){var e=t.lastIndexOf(".");return e>>>=0,t.slice(e)}},{key:"input",value:function(t){this.data=t}},{key:"parseData",value:function(t){return t}},{key:"getBlob",value:function(){return new Blob([this.parseData(this.data)],this.type)}},{key:"download",value:function(){Object(Zt.saveAs)(this.getBlob(),this.name)}}]),t}(),ae=function(t){function e(t){Gt()(this,e);var n=zt()(this,(e.__proto__||Bt()(e)).call(this,t));return n.type="text/csv;charset=utf-8",n}return $t()(e,t),Vt()(e,[{key:"parseData",value:function(t){return(new te).parse(t)}}]),e}(ne),re=function(){function t(e,n,a){Gt()(this,t),this.file=new te,this.name=e,this.toBom=a,this.str="",this.into=n}return Vt()(t,[{key:"add",value:function(t,e){var n=this.file.processValue(t),a=this.file.options.eol,r=this.file.parse(Array.isArray(e)?e:e.data?e.data:[],e.header||null),i=(this.toBom?"\ufeff":"")+this.str+n+a+r+a+a;this.str=i}},{key:"getData",value:function(){return{name:this.name,data:this.str,into:this.into}}}]),t}();!function(t){function e(t){Gt()(this,e);var n=zt()(this,(e.__proto__||Bt()(e)).call(this,t));return n.type="image/png;charset=utf-8",n}$t()(e,t)}(ne);var ie=function(){var t=At()(bt.a.mark(function t(e,n,a){var r,i,s,l,c,p,h,f;return bt.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:for(oe||(oe=new ee),r=new xt.a,i=function t(e,n){var i=se(n)?n.toString():"";if("object"===(void 0===e?"undefined":u()(e))){var s=o()(e),l=s.find(function(t){return e[t]&&se(e[t].title)&&s.length>1});for(var c in se(l)&&se(e.title)&&oe.createFold(e.title.toString(),n),e)if("object"===u()(e[c])&&e[c]&&!e[c].data)t(e[c],e.title);else if(c.match(".png")&&e[c])oe.addPng((se(e.title)?e.title.toString().replace("|","_")+"_":"")+c,e[c].split(",")[1],i||"");else if(c.match(".csv")&&e[c]){var p=c+(n?"_"+n:""),h=r.get(p)||new re(c,i||"",!0);h.add(se(e.title)?e.title.toString().replace("|","_"):"",a?a(e[c]):e[c]),r.set(p,h)}else if(Array.isArray(e[c])&&e[c].length>0){var f=!0,m=!1,v=void 0;try{for(var g,b=d()(e[y]);!(f=(g=b.next()).done);f=!0){var y=g.value;t(y,e.title)}}catch(t){m=!0,v=t}finally{try{!f&&b.return&&b.return()}finally{if(m)throw v}}}}},s=!0,l=!1,c=void 0,t.prev=6,p=d()(e);!(s=(h=p.next()).done);s=!0)f=h.value,i(f),r.forEach(function(t,e){var n=t.getData();oe.addFile(n.name,n.data,n.into)}),r=new xt.a;t.next=14;break;case 10:t.prev=10,t.t0=t.catch(6),l=!0,c=t.t0;case 14:t.prev=14,t.prev=15,!s&&p.return&&p.return();case 17:if(t.prev=17,!l){t.next=20;break}throw c;case 20:return t.finish(17);case 21:return t.finish(14);case 22:return t.prev=22,t.next=25,oe.save(n);case 25:oe=null,t.next=31;break;case 28:t.prev=28,t.t1=t.catch(22),console.log(t.t1);case 31:return t.abrupt("return",!0);case 32:case"end":return t.stop()}},t,this,[[6,10,14,22],[15,,17,21],[22,28]])}));return function(e,n,a){return t.apply(this,arguments)}}(),oe=null;function se(t){return""!==t&&null!==t&&void 0!==t&&!_t()(t)}function le(t){return function(e){return null==e||""===e?function(){return!0}:((e.indexOf(",")>-1||e.indexOf("~")>-1)&&(e=ce(e)),"string"==typeof e&&(e=+e),t.bind(null,e))}}var ce=function(t){return t.split(",").map(function(t){return t.indexOf("~")>0?t.split("~").map(function(t){return+t}):+t})},ue={greater:le(function(t,e){return e>t}),less:le(function(t,e){return e=t}),lessOrEqual:le(function(t,e){return e<=t}),notEqual:le(function(t,e){return e!==t}),in:le(function(t,e){for(var n=0;n=e)return!0}else if(a===e)return!0}return!1}),notIn:function(t){return ue.in(t)}};var pe={iv:function(t,e,n){var a=!0;for(var r in t)r.toLowerCase().match("iv")&&!r.toLowerCase().match("_disable")&&(a=e(parseFloat(t[r])));return a},anonym_index:function(t,e,n){return e(t._anony_index)}},de={components:{Heading:St,TableForm:Tt,Logic:Dt,Files:Pt},props:{tableData:{type:Array,default:function(){return[]}},downloadList:{type:Array,default:function(){return[]}},useLogic:{type:[Boolean,Object],default:!1}},data:function(){return{visible:!1,loading:!1,variableNames:[],logics:[],logicErrorMsg:"",filesErrorMsg:""}},computed:{disabledDownload:function(){return!(!this.logicErrorMsg&&!this.filesErrorMsg)}},watch:{useLogic:{handler:function(t){if(!t)return[];var e=[];for(var n in this.useLogic)if(this.useLogic.hasOwnProperty(n)){var a=this.useLogic[n];a&&e.push({label:n,checked:!1,operator:"greater",condition:"",variableType:a.variableType})}this.logics=e},immediate:!0},tableData:{handler:function(t){this.variableNames=t.map(function(t){return{origin:t.variable,modified:""}})},immediate:!0},logics:{handler:function(){this.logicErrorMsg=""},deep:!0,immediate:!0}},methods:{onLogicError:function(t){t?this.logicErrorMsg=t:this.$emit("filterLogic",this.filterLogics())},logicError:function(t){this.logicErrorMsg=t?"":"no variable matches logic"},handleFilesSelect:function(){this.downloadList.some(function(t){return t.checked})?this.filesErrorMsg="":this.filesErrorMsg="* at least one option selected"},filterLogics:function(){return this.logics.filter(function(t){return t.checked&&""!==t.condition}).map(function(t){return function(t,e){return function(n){return pe[t.label](n,ue[t.operator](t.condition),e)}}(t,function(e){return e[t.label]})})},filterTabelByLogic:function(t){var e,n=Object(g.a)(t),a=Array.isArray(n.data)?n.data:[n.data],r=this.filterLogics();return a.forEach(function(t,e){t.index=e}),e=r.reduce(function(t,e){return t.filter(function(t){return e(t)})},a),n.data=e,n},show:function(){var t=this;this.visible=!0,this.logicErrorMsg="",this.$nextTick(function(){t.handleFilesSelect()})},handleDownload:function(){var t=this,e=this.variableNames,n=this.downloadList;this.loading=!0;var a={},r=[];n.forEach(function(t,e){t.checked&&r.push(t.filename)});var i=[],o=!0,s=!1,l=void 0;try{for(var c,u=d()(e);!(o=(c=u.next()).done);o=!0){var p=c.value;p.modified&&i.push(p)}}catch(t){s=!0,l=t}finally{try{!o&&u.return&&u.return()}finally{if(s)throw l}}a.imply=i,a.compare=this.filterLogics(),a.needExport=r,console.log(this),this.$nextTick(function(){setTimeout(function(){t.$emit("download",a)},200)})},downloadFiles:function(t,e){var n=this,a=this.getImplying();a&&t.push(a),ie(t,e,"").then(function(t){n.loaded()})},loaded:function(){this.loading=!1},getImplying:function(){if(this.$refs.tableImplying)return this.$refs.tableImplying.tableDownload()}}},he=(n("MG1N"),Object(N.a)(de,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"dialog",attrs:{visible:t.visible,"append-to-body":"",title:"Report Download Setting"},on:{"update:visible":function(e){t.visible=e}}},[n("div",{staticClass:"wrap"},[n("heading",{attrs:{title:"Modify the variable names as needed:",tip:"(The changes will only be applied to the downloaded files)"}}),t._v(" "),n("table-form",{ref:"tableImplying",attrs:{data:t.variableNames},on:{"update:data":function(e){t.variableNames=e}}}),t._v(" "),n("div",{staticClass:"divider"}),t._v(" "),t.useLogic?[n("heading",{attrs:{title:"Add logic for variable:",tip:"(files will contain variables that match the logic only)"}},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.logicErrorMsg,expression:"logicErrorMsg"}],staticClass:"error",attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.logicErrorMsg))])]),t._v(" "),t._l(t.logics,function(e){return n("logic",t._b({key:e.label,on:{error:t.onLogicError}},"logic",e,!1,!0))}),t._v(" "),n("div",{staticClass:"divider"})]:t._e(),t._v(" "),n("heading",{attrs:{title:"Select the files you want to download:"}},[n("span",{directives:[{name:"show",rawName:"v-show",value:t.filesErrorMsg,expression:"filesErrorMsg"}],staticClass:"error",attrs:{slot:"append"},slot:"append"},[t._v(t._s(t.filesErrorMsg))])]),t._v(" "),n("files",{attrs:{files:t.downloadList},on:{change:t.handleFilesSelect}})],2),t._v(" "),n("div",{staticStyle:{"text-align":"center"},attrs:{slot:"footer"},slot:"footer"},[n("el-button",{staticClass:"button",attrs:{disabled:t.disabledDownload,type:"primary"},on:{click:t.handleDownload}},[t._v("Download")]),t._v(" "),n("el-button",{staticClass:"button",on:{click:function(e){t.visible=!1}}},[t._v("Cancel")])],1)])},[],!1,null,"3bbf5dd1",null));he.options.__file="index.vue";var fe=he.exports,me=n("sxGJ"),ve=n.n(me),ge={props:{code:{type:String,default:""}},data:function(){return{visible:!1,isCopied:!1,copyFailed:!1,inited:!1,codeContent:""}},computed:{btnText:function(){return this.copyFailed?"copy faild":this.isCopied?"Copied!":"Copy"}},watch:{code:{handler:function(t){this.codeContent=t},immediate:!0}},methods:{initClipboard:function(){var t=this,e=new ve.a(this.$refs.btn);e.on("success",function(){t.isCopied=!0,t.copyFailed=!1,clearTimeout(t.timer),t.timer=setTimeout(function(){t.isCopied=!1},3e3)}),e.on("error",function(){t.copyFailed=!0}),this.$once("hook:beforeDestory",function(){e.destory()})},onClick:function(t){this.isCopied&&t.stopImmediatePropagation()},onOpen:function(){var t=this;this.inited||(this.$nextTick(function(){t.initClipboard()}),this.inited=!0)},show:function(t){this.codeContent=t,this.visible=!0},hide:function(){this.visible=!1}}},be=(n("jecE"),Object(N.a)(ge,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dialog",{staticClass:"dialog",attrs:{visible:t.visible,"append-to-body":"",title:"Data Download"},on:{"update:visible":function(e){t.visible=e},open:t.onOpen}},[n("div",{staticClass:"wrap"},[n("div",{staticClass:"header"},[n("div",[t._v("Use the script below to download data")]),t._v(" "),n("div",{ref:"btn",staticClass:"copy",attrs:{"data-clipboard-text":t.codeContent},on:{click:t.onClick}},[t._v(t._s(t.btnText))])]),t._v(" "),n("div",{staticClass:"content"},[n("div",{staticClass:"code"},[t._v(t._s(t.codeContent))])])])])},[],!1,null,"27385d1e",null));be.options.__file="index.vue";var ye=be.exports,xe=n("ZU66"),we={name:"JobDetails",components:{IconHoverAndActive:y.default,Dag:I.a,BreadcrumbExt:_.a,OutputDialog:mt,OverflowTooltip:vt.a,DownloadReport:fe,DownloadData:ye,Confirm:xe.a,Notes:function(){return n.e("chunk-0de5").then(n.bind(null,"0VJA"))}},data:function(){return{jobId:this.$route.query.job_id,role:this.$route.query.role,partyId:this.$route.query.party_id,jobFrom:this.$route.query.from,summaryLoading:!0,msgLoading:!1,paramList:[],roleList:[],jobInfo:{},componentName:"",lastStatus:"",logLoading:!1,dagInstance:null,graphOptions:x,treeOptions:w.a,doubleBarOptions:A.a,outputGraphOptions:x,paraLoading:!1,DAGData:null,outputVisible:!1,modelOutputType:"",outputTitle:"",currentTab:"model",logWebsocket:null,timer:null,modelOutputShowing:!0,dataOutputShow:!0,noteHint:!1,notePopover:!1,defaultPropsForTree:{label:"label",children:"children"},treeUnfoldAll:!1,treeRefresh:!0,foldButtonForNote:!0,foldPForNote:"notes-content-p",parameterCount:0,scrollTopPos:0,refreshCheck:!1,scrollHoldChange:!1,breads:[],popover:[],downloadList:[],useLogic:!1,variableMap:[]}},computed:v()({},Object(j.c)(["modelNameMap","metricTypeMap","icons","evaluationInstances"]),Object(j.c)("job",{oldJobId:"jobId"}),Object(j.d)("job",["job"]),{otherRoleList:function(){for(var t=JSON.parse(f()(this.roleList)),e=0;e0&&e;var a=[];this.$refs.outputDialog.getVariableMap().forEach(function(t){a.push({variable:t})}),this.variableMap=a,this.$refs.downloadReport.show()}},transformDownloadList:function(t){return t.map(function(t){var e=t.name,n=t.type;return{filename:e+"."+n,name:e,type:n,checked:!0}})},handleBeforeDownload:function(t){var e=this;this.$nextTick(function(){e.$refs.outputDialog.allSteps(t)})},handleDownloadData:function(){var t=this;Object(b.c)({job_id:this.jobId,role:this.role,party_id:this.partyId,component_name:this.componentName}).then(function(e){t.$refs.downloadData&&t.$refs.downloadData.show(e.data)})},jobRetry:function(t){var e,n=this,a=["The job will continue from where it "+this.jobInfo.status,"it may take few seconds to update job status."];(e=this.$refs.confirm).confirm.apply(e,a).then(function(){n.restartJobWebsocket(t)})},downloadFile:function(t){this.$refs.downloadReport.downloadFiles(t,this.jobId+"_"+this.componentName)},downloadJobConfig:function(t){"arbiter"===this.role.toLowerCase()&&"runtime"===t||Object(b.e)({jobId:this.jobId,role:this.role,partyId:this.partyId,type:t})}})},Ae=(n("Bw9L"),Object(N.a)(we,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container details-container bg-dark",on:{click:function(e){t.notePopover=!1}}},[n("breadcrumb-ext",{attrs:{breads:t.breads}}),t._v(" "),n("div",{staticClass:"flex flex-row space-between app-content"},[n("section",{staticClass:"section-wrapper prop-section"},[n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.summaryLoading,expression:"summaryLoading"}],staticClass:"section-view job-summary section-summary"},[n("h3",{staticClass:"section-title"},[t._v("Job Summary")]),t._v(" "),n("ul",{staticClass:"summary-items"},[n("li",[n("div",{staticClass:"prop"},[t._v("job ID:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobId))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("status:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.status))])]),t._v(" "),n("li",{staticStyle:{position:"relative"}},[n("div",{staticClass:"prop"},[t._v("notes:")]),t._v(" "),n("notes",{ref:"notes",attrs:{"job-info":t.jobInfo}})],1),t._v(" "),t._m(0),t._v(" "),n("li",{staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v("role:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.role))])]),t._v(" "),n("li",{staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v("party_ID:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.partyId))])]),t._v(" "),n("li",{staticClass:"inline-row",staticStyle:{"margin-bottom":"0px"}},[n("div",{staticClass:"prop inline-prop"},[t._v("dataset:")]),t._v(" "),n("div",{staticClass:"flex flex-col flex-start prop-content prop-dataset"},[t._l(t.showingRoleList,function(e,a){return n("overflow-tooltip",{key:a,attrs:{content:e,placement:"right"}},[n("p",{staticClass:"prop-dataset-item"},[t._v(t._s(e))])])}),t._v(" "),t.thisRoleList.length>3?n("el-popover",{attrs:{placement:"right-start",title:"",width:"250",trigger:"click"}},[n("div",{staticClass:"flex flex-col flex-start"},t._l(t.thisRoleList,function(e,a){return n("span",{key:a,staticStyle:{"margin-bottom":"6px"}},[t._v(t._s(e))])})),t._v(" "),n("p",{staticClass:"text-primary tip",staticStyle:{"margin-bottom":"12px"},attrs:{slot:"reference"},slot:"reference"},[t._v("more")])]):t._e()],2)]),t._v(" "),t._l(t.otherRoleList,function(e,a){return n("li",{key:a,staticClass:"inline-row"},[n("div",{staticClass:"prop inline-prop"},[t._v(t._s(e.role.toLowerCase()+":"))]),t._v(" "),n("div",{staticClass:"flex flex-center prop-content"},[n("p",{staticClass:"value"},[t._v(t._s(e.datasetList.length))]),t._v(" "),n("el-popover",{attrs:{placement:"right-start",title:"",width:"250",trigger:"click"}},[n("div",[n("el-row",[n("el-col",{attrs:{span:8}},[n("p",{staticStyle:{"margin-bottom":"8px","font-weight":"bold",color:"#7f7d8e",height:"18px","line-height":"18px"}},[t._v("party_ID")])]),t._v(" "),n("el-col",{attrs:{span:12,offset:4}},[n("p",{staticStyle:{"margin-bottom":"8px","font-weight":"bold",color:"#7f7d8e",height:"18px","line-height":"18px"}},[t._v("Dataset")])])],1),t._v(" "),t._l(e.datasetList,function(e,a){return n("el-row",{key:a},[n("el-col",{attrs:{span:8}},[n("p",[t._v(" "+t._s(e.name)+" ")])]),t._v(" "),n("el-col",{attrs:{span:12,offset:4}},[n("div",{staticClass:"flex flex-col"},t._l(t.checkDataSetForOther(e.dataset),function(e,a){return n("p",{key:a},[t._v("\n "+t._s(e)+"\n ")])}))])],1)})],2),t._v(" "),n("p",{staticClass:"text-primary tip",attrs:{slot:"reference"},slot:"reference"},[t._v("view")])])],1)])}),t._v(" "),n("li",{staticClass:"inline-row download-link",on:{click:function(e){t.downloadJobConfig("dsl")}}},[t._v("\n Job DSL \n "),n("i",{staticClass:"el-icon-download"})]),t._v(" "),n("li",{staticClass:"inline-row download-link",class:{"disable-color":"arbiter"===t.role.toLowerCase()},on:{click:function(e){t.downloadJobConfig("runtime")}}},[t._v("\n Runtime config \n "),n("i",{staticClass:"el-icon-download"})]),t._v(" "),t._m(1),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("submission time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.submmissionTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("start time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.startTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("end time:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.endTime))])]),t._v(" "),n("li",[n("div",{staticClass:"prop"},[t._v("duration:")]),t._v(" "),n("p",{staticClass:"prop-content"},[t._v(t._s(t.jobInfo.duration))])])],2),t._v(" "),n("button",{staticClass:"dashboard-btn",on:{click:t.toDashboard}},[t._v("dashboard")])])]),t._v(" "),n("section",{staticClass:"section-wrapper echart-section"},[n("div",{staticClass:"output-wrapper flex flex-col"},[n("h3",{staticClass:"section-title"},[t._v("Outputs From Job")]),t._v(" "),n("div",{staticClass:"flex flex-row output-content"},[n("div",{staticClass:"dag-wrapper overflow-auto"},[t._m(2),t._v(" "),t.DAGData?n("div",{staticClass:"echart-wrapper"},[n("dag",{ref:"dagForJobFlow",attrs:{"dag-info":t.DAGData},on:{choose:t.getDagInstance,retry:t.jobRetry}})],1):t._e()]),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.paraLoading,expression:"paraLoading"}],staticClass:"para-wrapper flex flex-col space-between"},[n("div",{staticClass:"flex flex-col flex-start para-warpper-content",staticStyle:{width:"100%"}},[n("h4",{staticClass:"para-title"},[t._v("Parameter("+t._s(t.parameterCount)+")")]),t._v(" "),n("div",{directives:[{name:"loading",rawName:"v-loading",value:t.msgLoading,expression:"msgLoading"}],staticClass:"msg bg-dark",staticStyle:{display:"flex"}},[t.treeRefresh?n("el-tree",{ref:"foldParameterTree",staticClass:"bg-dark",attrs:{data:t.paramList,"empty-text":"","default-expand-all":t.treeUnfoldAll,props:t.defaultPropsForTree}}):t._e(),t._v(" "),t.paramList&&t.paramList.length>0?n("div",{staticClass:"unfold-tree",on:{click:function(e){return e.stopPropagation(),t.unfoldAll(e)}}},[t._v(t._s(t.treeUnfoldAll?"fold all":"unfold all"))]):t._e()],1)]),t._v(" "),n("el-button",{staticStyle:{height:"32px","line-height":"0","font-size":"14px","border-radius":"2px",width:"100%"},attrs:{disabled:!t.componentName,type:"primary",round:""},on:{click:t.visualization}},[t._v("\n view the outputs\n ")])],1)])])])]),t._v(" "),n("output-dialog",{ref:"outputDialog",attrs:{title:t.outputTitle,visible:t.outputVisible,"model-type":t.modelOutputType,"component-name":t.componentName,"job-id":t.jobId,role:t.role,"party-id":t.partyId,status:t.jobInfo.status},on:{closeDialog:t.closeDialog,download:t.handleDownloadDialog,filterLogic:t.handleFilterLogic,cReporter:t.downloadFile,dReporter:t.downloadFile}}),t._v(" "),n("download-report",{ref:"downloadReport",attrs:{"download-list":t.downloadList,"use-logic":t.useLogic,"table-data":t.variableMap},on:{download:t.handleBeforeDownload,filterLogic:t.handleFilterLogic}}),t._v(" "),n("download-data",{ref:"downloadData"}),t._v(" "),n("canvas",{directives:[{name:"show",rawName:"v-show",value:!1,expression:"false"}],staticStyle:{width:"1px",height:"1px"},attrs:{id:"historyForDetail",width:"1",height:"1"}}),t._v(" "),n("confirm",{ref:"confirm",staticClass:"confirm-dialog"})],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("hr",{staticClass:"hr-style"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("li",[e("hr",{staticClass:"hr-style"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"flex flex-row flex-center justift-center"},[e("h4",{staticClass:"output-title"},[this._v("Main Graph")]),this._v(" "),e("p",{staticClass:"output-desc"},[this._v("Click component to view details")])])}],!1,null,null,null));Ae.options.__file="index.vue";e.default=Ae.exports},nwjN:function(t,e,n){var a={"./_binaryEvaluation.js":"eIvB","./_evaluation.js":"HoRF","./_multiEvaluation.js":"Ix4U","./accuracyEvaluation.js":"TD7w","./clusteringEvaluationSummary.js":"l2+S","./confusionMat.js":"6vOt","./contingencyMatrix.js":"MTjI","./curves.js":"BCMh","./dataInfo.js":"RAVm","./dataSplit.js":"rS0t","./dbi.js":"rPJb","./distanceMeasure.js":"X6wx","./evaluationSummary.js":"sYD+","./gainEvaluation.js":"0gb5","./ksEvaluation.js":"1YGu","./liftEvaluation.js":"NJeE","./loss.js":"sD/X","./others.js":"lSAi","./ovr.js":"0wwb","./ovrEvaluation.js":"gPpF","./performanceSum.js":"OwHS","./precisionMultiEvaluation.js":"wLBe","./psi.js":"F5Pm","./recallMultiEvaluation.js":"hnh8","./rocEvaluation.js":"1sAi","./sampleTable.js":"xik3","./sampleText.js":"0sA9","./sampleWeight.js":"UJde","./sbtFeatureTransformer.js":"8NUx","./stepwise.js":"lE/D","./warmStart.js":"Gvav"};function r(t){var e=i(t);return n(e)}function i(t){var e=a[t];if(!(e+1)){var n=new Error("Cannot find module '"+t+"'");throw n.code="MODULE_NOT_FOUND",n}return e}r.keys=function(){return Object.keys(a)},r.resolve=i,t.exports=r,r.id="nwjN"},orkn:function(t,e,n){"use strict";var a=n("bF4i");n.n(a).a},"p/T2":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".report-nav[data-v-74334c8e] {\n display: inline;\n line-height: 26px;\n padding-left: 14px;\n background-color: #fff;\n}\n.report-nav span[data-v-74334c8e] {\n width: 80px;\n font-size: 12px;\n font-weight: bold;\n color: #4159d1;\n text-align: center;\n display: inline-block;\n}\n.report-nav .nav-item-wrap[data-v-74334c8e] {\n background-color: #ebedf0;\n width: auto;\n margin-right: 24px;\n padding-left: 20px;\n padding-right: 12px;\n}\n.report-nav .nav-item-wrap .title[data-v-74334c8e] {\n color: #6a6c75;\n font-weight: bold;\n min-width: 25px;\n}\n.report-nav .nav-item-wrap .nav-item[data-v-74334c8e] {\n position: relative;\n cursor: pointer;\n}\n.report-nav .nav-item-wrap .nav-item[data-v-74334c8e]:hover::after {\n content: ' ';\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n width: 80%;\n margin: auto;\n height: 1px;\n background-color: #6d71d8;\n}\n.operation-btnicon[data-v-74334c8e] {\n display: inline-block;\n vertical-align: middle;\n width: 18px;\n height: 18px;\n line-height: 1;\n}\n.disable-div[data-v-74334c8e] {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n}\n.disable-color[data-v-74334c8e] {\n position: relative;\n color: #c6c8cc !important;\n cursor: auto;\n}\n",""])},qVEv:function(t,e,n){var a=n("0snz");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("7870dd77",a,!0,{})},rPJb:function(t,e,n){"use strict";n.r(e);var a=n("7Qib"),r=n("HoRF");e.default=function(t){return Object(r.default)("DBI",{yAxis:{name:"DBI"},xAxis:{minInterval:1}},void 0,function(){return function(t){var e="",n=t[0].axisValue;return e+="iteration: "+n+"
",t.forEach(function(n,r){var i=n.data[1];e+="DBI"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},rS0t:function(t,e,n){"use strict";n.r(e);var a=n("OjIB");e.default=function(t,e){var n=e.model_type.toLowerCase().indexOf("homo")<0,r=t.data_split.meta,i=r.data_split_count_info,o=r.data_split_label_info,s=r.data_split_ratio_info,l=r.stratified,c=[],u={_total:!0},p=function(t,e,n){return t&&(e&&"guest"===n||!e)?[{type:"index",label:"index"},Object(a.createHeader)("layer"),Object(a.createHeader)("original count","original"),Object(a.createHeader)("train count","train"),Object(a.createHeader)("validate count","validate"),Object(a.createHeader)("test count","test")]:[{type:"index",label:"index"},Object(a.createHeader)("dataset"),Object(a.createHeader)("count"),Object(a.createHeader)("ratio")]}(l,n,e.role);if(l&&(n&&"guest"===e.role||!n))if(o.continuous_label)for(var d=function(t){var e=o.split_points[t],n="",a={};n=0===t?"(-∞,"+e+"]":t===o.split_points.length?"("+o.split_points[t-1]+",+∞)":"("+o.split_points[t-1]+","+e+"]",p.forEach(function(e){"index"!==e.type&&("layer"===e.prop?(a[e.prop]=n,0===t&&(u[e.prop]="Total")):(a[e.prop]=o[e.prop][t],0===t&&("original"!==e.prop?u[e.prop]=i[e.prop]+"("+(100*s[e.prop]).toFixed(4)+"%)":u[e.prop]=i[e.prop])))}),c.push(a)},h=0;h",t.forEach(function(n,r){var i=n.data[1];e+="loss"+(t.length>1?"("+n.seriesName+")":"")+": "+Object(a.b)(i)+"
"}),e}})(t.data)}},"sYD+":function(t,e,n){"use strict";n.r(e);var a=n("P2sY"),r=n.n(a),i=n("sk9p"),o=n.n(i),s=n("7Qib"),l=n("QdnX");e.default=function(t,e,n){var a=[Object(l.createHeader)("metric_name",""),Object(l.createHeader)("metric_namespace","dataset",{sortable:!n})],i=Object(l.flattenToTable)(t,function(t,e,i,c,u){0===u&&Object(l.each)(t.data,function(t){var e=o()(t,1)[0];a.push(Object(l.createHeader)(e,e,{sortable:!n}))});var p={metric_name:e.replace(i.metric_namespace+"_",""),metric_namespace:c};return r()(p,Object(s.d)(t.data))}),c={type:"form",props:{form:[{type:"title",props:{title:n?"Evaluation Scores":"Performance Scores"}}]}};Object(l.sortByName)(i,"metric_name");var u=[c,{type:"table",props:{header:a,data:i,pageSize:20,zeroFormat:"0",export:n?"evaluation_scores":"performance_scores"}}];return e&&(a.push(Object(l.createHeader)("precision","precision"),Object(l.createHeader)("recall","recall")),c.props.form.splice(1,1,{type:"f-range",props:{label:"Quantile",max:1,min:0,step:.05,value:.5,tip:"Update Precision and Recall under the new quantile condition"}}),Object(l.each)(i,function(t){var n=e[t.metric_namespace]&&e[t.metric_namespace][t.metric_name+"_quantile_pr"];if(n&&n.meta){var a=n.meta;r()(t,{thresholds:a.thresholds,precision:a.p_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]}),recall:a.r_scores.map(function(t,e){return[.05*e,o()(t,2)[1]]})})}})),u}},saIk:function(t,e,n){"use strict";n.r(e),n.d(e,"MODEL_TYPES",function(){return a}),n.d(e,"METRIC_TYPES",function(){return r});var a={HomoLR:"HomoLR",HeteroLR:"HeteroLR",HeteroLinR:"HeteroLinR",LocalBaseline:"LocalBaseline",DataIO:"DataIO",Evaluation:"Evaluation",HeteroSecureBoost:"HeteroSecureBoost",HeteroFeatureBinning:"HeteroFeatureBinning",HeteroFeatureSelection:"HeteroFeatureSelection",FeatureScale:"FeatureScale",FederatedSample:"FederatedSample",OneHotEncoder:"OneHotEncoder",HeteroPoisson:"HeteroPoisson",HomoNN:"HomoNN",HeteroNN:"HeteroNN",HeteroPearson:"HeteroPearson",HomoSecureboost:"HomoSecureboost",HeteroFM:"HeteroFM",HomoFM:"HomoFM",HeteroMF:"HeteroMF",HeteroSVD:"HeteroSVD",HeteroSVDPP:"HeteroSVDPP",HeteroGMF:"HeteroGMF",SBTFeatureTransformer:"SBTFeatureTransformer"},r={DATAIO_TABLE:"DATAIO_TABLE",SCALE:"SCALE",LOSS:"LOSS",DATAIO_TEXT:"DATAIO_TEXT",SAMPLE_TEXT:"SAMPLE_TEXT",SAMPLE_TABLE:"SAMPLE_TABLE",INTERSECTION:"INTERSECTION",KS_EVALUATION:"KS_EVALUATION",ROC_EVALUATION:"ROC_EVALUATION",LIFT_EVALUATION:"LIFT_EVALUATION",GAIN_EVALUATION:"GAIN_EVALUATION",ACCURACY_EVALUATION:"ACCURACY_EVALUATION",RECALL_BINARY_EVALUATION:"RECALL_BINARY_EVALUATION",PRECISION_BINARY_EVALUATION:"PRECISION_BINARY_EVALUATION",RECALL_MULTI_EVALUATION:"RECALL_MULTI_EVALUATION",PRECISION_MULTI_EVALUATION:"PRECISION_MULTI_EVALUATION",EVALUATION_SUMMARY:"EVALUATION_SUMMARY",UNION:"UNION",UPLOAD:"UPLOAD",DOWNLOAD:"DOWNLOAD",RSA:"RSA",STEPWISE:"STEPWISE",F1_SCORE:"F1_SCORE",CONFUSION_MAT:"CONFUSION_MAT",QUANTILE_PR:"QUANTILE_PR",PSI:"PSI",CLUSTERING_EVALUATION_SUMMARY:"CLUSTERING_EVALUATION_SUMMARY",DISTANCE_MEASURE:"DISTANCE_MEASURE",DBI:"DBI",CONTINGENCY_MATRIX:"CONTINGENCY_MATRIX",SAMPLE_WEIGHT:"SAMPLE_WEIGHT",PERFORMANCE_SUM:"PERFORMANCE_SUM",SBT_FEATURE_TRANSFORMER:"SBT_FEATURE_TRANSFORMER",OVR:"ovr"}},sqJL:function(t,e,n){"use strict";function a(){return{backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n")}),e}},series:{type:"tree",data:[],left:"2%",right:"2%",top:"7%",bottom:"7%",symbol:"rect",symbolSize:[110,70],layout:"orthogonal",orient:"vertical",lineStyle:{color:"#e8e8ef",width:2},itemStyle:{normal:{color:"transparent",borderColor:"transparent"}},expandAndCollapse:!1,label:{position:"inside",backgroundColor:"rgb(73,78,206)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,align:"center",fontSize:12,borderWidth:1,padding:[3,1],width:105,height:60,lineHeight:16,rich:{}},leaves:{label:{position:"inside",backgroundColor:"rgb(146,149,226)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,fontSize:12,align:"center",borderWidth:1,width:105,height:60,lineHeight:16,rich:{}}},animationDurationUpdate:750}}}n.d(e,"b",function(){return a});var r={backgroundColor:"#ffffff",tooltip:{trigger:"item",triggerOn:"mousemove",formatter:function(t){var e="";return t.data.name.split("\n").forEach(function(t,n,a){e+=t,n")}),e}},series:{type:"tree",data:[],left:"2%",right:"2%",top:"7%",bottom:"7%",symbol:"rect",symbolSize:[110,70],layout:"orthogonal",orient:"vertical",lineStyle:{color:"#e8e8ef",width:2},itemStyle:{normal:{color:"transparent",borderColor:"transparent"}},expandAndCollapse:!1,label:{position:"inside",backgroundColor:"rgb(73,78,206)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,align:"center",fontSize:12,borderWidth:1,padding:[3,1],width:105,height:60,lineHeight:16,rich:{}},leaves:{label:{position:"inside",backgroundColor:"rgb(146,149,226)",color:"#fff",distance:0,rotate:0,verticalAlign:"middle",borderRadius:5,fontSize:12,align:"center",borderWidth:1,width:105,height:60,lineHeight:16,rich:{}}},animationDurationUpdate:750}};e.a=r},tPEI:function(t,e,n){"use strict";n.r(e);var a=n("sk9p"),r=n.n(a),i=n("7Qib"),o=n("saIk");e.default=function(t,e,n,a,s,l,c){if(0===t.length)return[];for(var u={},p=0;p2&&void 0!==arguments[2]?arguments[2]:0;c++;var p=0,d=function(t){var o=t.isLeaf,s=t.id;v=a[t.fid],g=m(t);var c=t.sitename.split(":"),u=r()(c,2);b=u[0],y=u[1];var p="ID: "+s+"\n";return b!==e||y!==n||o||f?f&&!o&&v&&(p+=v+" <= "+g,-1===t.missingDir&&(p+="\nis a missing value"),p+="\n"):(p+=v+" <= "+g,1!==l[s]&&(p+="\nor missing"),p+="\n"),(o&&"guest"===e||o&&f)&&(p+="weight: "+Object(i.b)(t.weight)+"\n"),f||(p+=(b&&b.toUpperCase())+": "+y),{treeid:s,name:p,children:[]}}(s);o.push(d);var x=u[s.leftNodeid],w=u[s.rightNodeid];return x&&(p+=t(d.children,x,c)),w&&(p+=t(d.children,w,c)),x||w?x&&w||(p+=170):p=170,c>h&&(h=c),p}(x,t[0]);return{data:x,size:t.length,maxDepth:h,treeWidth:w}}},tlOW:function(t,e,n){var a=n("5OK2");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("6d07675c",a,!0,{})},uNnm:function(t,e,n){"use strict";n.r(e),n.d(e,"explainCurves",function(){return m});var a=n("m1cH"),r=n.n(a),i=n("FyfS"),o=n.n(i),s=n("ODRq"),l={$curves:["roc","ks","lift","gain",["precision","recall"],"accuracy"],$loss:["loss"],$stepwise:["stepwise"],$dbi:["dbi"],$iter:["init_iter"]},c=new(n.n(s).a);function u(t){return{roc:"ROC",ks:"K-S",lift:"Lift",gain:"Gain",precision_recall:"Precision Recall","precision recall":"Precision Recall",accuracy:"Accuracy"}[t.toLowerCase()]||t}function p(t,e){var n=["train","val","predict"];return t.sort(function(t,a){var r=d(e?e(t):t,n),i=d(e?e(a):a,n);return r>=0&&i>=0?r>i?1:-1:0})}function d(t,e){for(var n=0,a=e.length;n1&&void 0!==arguments[1]?arguments[1]:"|";if(!Array.isArray(t))return t;var n="";return t.forEach(function(t){n+=(n?e:"")+(Array.isArray(t)?h(t,e):t)}),n}function f(t,e,n,a){var i=c.get(t)||{tabs:[],property:{},group:[]},s=l["$"+t][a];Array.isArray(s)&&(s=h(s,"_"));var u=function(t,e,n){var a=l["$"+t][n],r="";if(Array.isArray(a)){var i=!0,s=!1,c=void 0;try{for(var u,p=o()(a);!(i=(u=p.next()).done);i=!0){var d=u.value;if((r=e.split("_"+d)).length>=2)break}}catch(t){s=!0,c=t}finally{try{!i&&p.return&&p.return()}finally{if(s)throw c}}}else r=e.split("_"+a);return r[0]}(t,e,a);!function t(){for(var e=arguments.length,n=Array(e>1?e-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:[];var o=n.length;if(0===n.length)throw TypeError("There has necessary param do not get");var s=i.find(function(t){return t.label===n[0]});s||(s={label:n[0]},i.push(s));o-1<=0?s.value=n[0]:o-1==1?s.value=n[1]:(s.children=s.children||[],t.apply(void 0,[s.children].concat(r()(n.slice(1)))));return s}(i.tabs,s.replace("_"," ").toUpperCase(),n,s+"_"+n),i.property[s+"_"+n]=b(i.property[s+"_"+n],n,e),i.group.indexOf(u)<0&&i.group.push(u),c.set(t,i)}var m=function(t){var e=t.split("_");return{nameSpace:e.splice(e.length-1),name:h(e,"_")}};function v(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"others",a="others"!==n?function t(e,n){var a=e.match(new RegExp("("+h(n)+")","g"));if(a)for(var r=0;r=0||a[0]===i)return r}return-1}(t.toString().toLowerCase(),l["$"+n]):0,r=["curves","loss","dbi"].indexOf(n)>=0?"curves":"others";return a>=0&&("others"===r?function(t,e,n){var a=c.get(t)||{property:{}};b(a.property,n,e),c.set(t,a)}(n,t,e):f(n,t,e,a),!0)}function g(t,e){var n=!0,a=!1,r=void 0;try{for(var i,s=o()(t);!(n=(i=s.next()).done);n=!0){var l=i.value;v(l,e,"curves")||v(l,e,"loss")||v(l,e,"stepwise")||v(l,e,"dbi")||v(l,e,"iter")||v(l,e)}}catch(t){a=!0,r=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw r}}}function b(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1],n=arguments[2];return t[e]=t[e]||[],t[e].push(n),t}e.default=function(t){for(var e in c.clear(),t)g(t[e],e);var n=[];c.forEach(function(t,e){var a={name:e,options:t.property};t.tabs&&(a.tabs="curves"===e?function(t){var e=function(t,e){for(var n=0;n=e(n.label,l.$curves)?1:-1}),t}(t.tabs):t.tabs),t.group&&(a.group=t.group),n.push(a)});var a=n.find(function(t){return"curves"===t.name});if(a){var r=function(t){var e=["roc","ks","lift","gain","precision_recall","precision recall","accuracy"];return t.sort(function(t,n){var a=e.indexOf(t.label.toLowerCase()),r=e.indexOf(n.label.toLowerCase());return a<0||r<0?0:a>r?1:-1})}(a.tabs),i=!0,s=!1,d=void 0;try{for(var f,m=o()(r);!(i=(f=m.next()).done);i=!0){var v=f.value;v.label=u(v.label),v.children&&(v.children=p(v.children,function(t){return t.label}))}}catch(t){s=!0,d=t}finally{try{!i&&m.return&&m.return()}finally{if(s)throw d}}}return n.sort(function(t,e){return"loss"===t.name?-1:"loss"===e.name?1:"others"===t.name?-1:"others"===e.name?1:"curves"===t.name?1:"curves"===e.name?-1:"stepwise"===t.name?1:"stepwise"===e.name?-1:0}),n}},"uy/s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".container[data-v-2d801b92] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.buttonList[data-v-2d801b92] {\n position: absolute;\n bottom: 10px;\n left: 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.buttonList .opera_btn[data-v-2d801b92] {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #f8f8fa;\n margin-bottom: 12px;\n color: #bbbbc8;\n}\n.buttonList .opera_btn[data-v-2d801b92]:hover {\n background-color: #494ece;\n color: #fff;\n}\n.buttonList .opera_btn[data-v-2d801b92]:last-child {\n margin-bottom: 0px;\n}\n",""])},v8Hw:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("D3Ub"),l=n.n(s),c=n("QdnX"),u=n("uNnm"),p=n("evsm"),d=function(){var t=l()(r.a.mark(function t(e,n,a,i,s,l){var d,h,f,m;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(d={party_id:a,role:i,component_name:s,job_id:l},h=[],f=void 0,n&&!n.msg.match("no data")&&(n=Object(u.default)(n.data),Object(c.each)(n,function(t){"others"===t.name&&(f=(f=Object(p.b)(t.name)).bind(null,t,d))})),!f){t.next=9;break}return t.next=7,f();case 7:m=t.sent,h.push.apply(h,o()(m));case 9:return t.abrupt("return",h);case 10:case"end":return t.stop()}},t,void 0)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();e.default=d},w5Yh:function(t,e,n){"use strict";n.r(e);var a=n("14Xm"),r=n.n(a),i=n("m1cH"),o=n.n(i),s=n("QbLZ"),l=n.n(s),c=n("D3Ub"),u=n.n(c),p=n("xjht"),d=n("QdnX"),h=n("evsm"),f=n("saIk"),m=n("OjIB"),v=n("uNnm"),g=function(){var t=u()(r.a.mark(function t(e,n,a,i,s,c){var u,g,x,w,A,I,_,O,C,S,E,j,T,N,k,L,D,R,F,P,M,B,U;return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(u=e.data.data,g=[],x=void 0,w={party_id:a,role:i,component_name:s,job_id:c},A=void 0,I=void 0,_=[],O=void 0,C=void 0,S=void 0,E=[],j=void 0,T=void 0,N=void 0,k=[],L=!1,n&&!n.msg.match("no data")&&(n=Object(v.default)(n.data),Object(d.each)(n,function(t){if("others"===t.name)A=p.d.bind(null,l()({metrics:t.options},w));else if("stepwise"===t.name)L=!0,O=p.d.bind(null,l()({metrics:t.options},w)),S=Object(h.b)(t.name);else if("iter"===t.name)j=p.d.bind(null,l()({metrics:t.options},w)),N=Object(h.b)("warmStart");else if("curves"===t.name||"loss"===t.name){var e={type:"form",props:{form:[{type:"f-tabs",props:{tabs:t.tabs}}]}},n=[];Object(d.each)(t.options,function(e,a){n.push(y(a,l()({metrics:e},w),p.d,Object(h.b)(t.name),Object(v.explainCurves)(a).name,!0))}),_.push([e,Object(m.createAsyncComponent)(n)])}})),u&&(D=u.weight,R=u.oneVsRestResult,b(x=R?Object(m.oneVsRestResultHandler)(u,i,L):Object(d.isEmpty)(D)?[]:Object(m.weightHandler)(u),u.bestIteration),x.length&&g.push(Object(m.wrapGroupComponent)(x))),_.length&&Object(d.each)(_,function(t){g.push(Object(m.wrapGroupComponent)(t))}),!A){t.next=23;break}return t.next=22,A();case 22:I=t.sent;case 23:if(I&&(F=Object(h.b)(f.METRIC_TYPES.EVALUATION_SUMMARY),P=F(I.data)||[],(M=(M=[].concat(o()(P))).length>0?Object(m.wrapGroupComponent)(M):null)&&(g.length>1?g.splice(1,0,M):g.push(M))),!O){t.next=28;break}return t.next=27,O();case 27:C=t.sent;case 28:if(S&&(E=S(C,i),g.push.apply(g,o()(E))),!j){t.next=33;break}return t.next=32,j();case 32:T=t.sent;case 33:return N&&(k=N(T),0===g.length?g.push(Object(m.wrapGroupComponent)(k)):g[0].options&&Array.isArray(g[0].options)?(B=g[0].options).unshift.apply(B,o()(k)):Array.isArray(g[0])&&(U=g[0]).unshift.apply(U,o()(k))),t.abrupt("return",g);case 35:case"end":return t.stop()}},t,this)}));return function(e,n,a,r,i,o){return t.apply(this,arguments)}}();function b(t,e){e>-1&&t.length&&t.unshift({type:"form",props:{form:[{type:"text",props:{content:"The Final Model: iter "+e}}]}})}var y=function(t,e,n,a,r,i){return{name:t,props:e,method:n,transform:a,export:r,detail:i}};e.default=g},wLBe:function(t,e,n){"use strict";n.r(e);var a=n("Ix4U");n.d(e,"default",function(){return a.default})},woSR:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA9UlEQVQ4jdWUsWoCQRRFjymthLQWsdnWwBTD2ESwFq20zSfkE/yEfIJtrBTrsLFxmGJA260sbAWrtBsePFMoaxZRMAOPHWbf3HfPXdhKnudcYz1cRaWMkA/xVeqvvkI0H2IbeAeaerQG3pw1X6Uc+RCffIhjIAX2QENL9qm8k56zjnyII5mql2T69GhIX13W5OmsGRU6unSdZKS2ZWoPWACHoAX3BZip281Nwj7OqAt0gG9g4qxZHT69s0ZCfgYGQBX4dNbMCx35EB+BoTrJFAlFTNTZh7NmVxYtUcG6Hm1VILsUraVoy3+MViD4i3au787+R8APTlyX/6EcnzQAAAAASUVORK5CYII="},xRkb:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsSAAALEgHS3X78AAAA7UlEQVQ4jdWUMWsCMRiGHx07Ca4OnRyjs0slnYtOLWTRn3A/wZ/gTziXgE6Wzg12cdaMN3XoKji5ngS+cxByPeQGDYTAl/B875NAGnmeU8do1kKpAtLGT8P871xUTRs/BOZAT0p7IHFWbSqBtPHPwAyYAD9AkSYFXoBF2HdW/UZB2vgASICjdF9fNRlLylZYnVWzYq+2y46pha6jiNqnpI2rXQFvv2xt/BvwCpyAlbNqVzy9syrVxveBd+AJ+HZWfZWptYEPSZKJEqLYlWRLZ9WhqlpXgB0p/Qkgu1VtIGrbB1aLAC9qZefu7D8Czj0dkom7hMLUAAAAAElFTkSuQmCC"},xik3:function(t,e,n){"use strict";n.r(e);var a=n("GQeE"),r=n.n(a),i=n("QdnX"),o=n("OjIB");e.default=function(t){var e=[],n={},a=[],s=[];return Object(i.each)(t,function(t,n){e.push(t.stratified.meta.name),0===a.length?a=t.stratified.data:function(t,e){Object(i.each)(t,function(t,n){t.push(e[n][1])})}(a,t.stratified.data)}),Object(i.each)(a,function(t,a){var r={};r.label=a,Object(i.each)(e,function(e,n){r[e]=t[n+1]}),n[a]=r,s=s.concat(r)}),n.all=s,[{type:"form",props:{form:function(t){var e=[];return e.push(Object(o.createFormComponent)("f-select","f-selection",{options:r()(t).map(function(t){return Object(o.createOption)(t)}).reverse(),multiple:!1})),e}(n)}},{type:"table",props:{header:[{prop:"label",label:"label",sortable:!0},{prop:"original_count",label:"original_count",sortable:!0},{prop:"sample_count",label:"sample_count",sortable:!0}],data:n,zeroFormat:"0",export:"sample_detail"}}]}},xjht:function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return i}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return s}),n.d(e,"e",function(){return l});var a=n("t3Un");function r(t){return Object(a.a)({url:"/v1/tracking/component/metrics",method:"post",data:t})}function i(t){return Object(a.a)({url:"/v1/tracking/component/metric_data",method:"post",data:t})}function o(t){return Object(a.a)({url:"/v1/tracking/component/metric_data/batch",method:"post",data:t})}function s(t){return Object(a.a)({url:"/v1/tracking/component/output/data",method:"post",data:t})}function l(t){return Object(a.a)({url:"/v1/tracking/component/output/model",method:"post",data:t})}},zISJ:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".refresh-container[data-v-40f3edcb] {\n margin-right: 24px;\n}\n",""])},"zTp/":function(t,e,n){"use strict";n.r(e);var a=n("UCI/");e.default=a.default}}]); \ No newline at end of file diff --git a/src/main/resources/static/static/js/chunk-2933.100f2ca9.js b/src/main/resources/static/static/js/chunk-2933.fa1918b6.js similarity index 75% rename from src/main/resources/static/static/js/chunk-2933.100f2ca9.js rename to src/main/resources/static/static/js/chunk-2933.fa1918b6.js index cb65ceed..12e5a80d 100644 --- a/src/main/resources/static/static/js/chunk-2933.100f2ca9.js +++ b/src/main/resources/static/static/js/chunk-2933.fa1918b6.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2933"],{"+998":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyODI1IDQ4OTApIj4NCiAgICA8ZyBpZD0i57uEXzE4MjYiIGRhdGEtbmFtZT0i57uEIDE4MjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQzMjcgLTYzOCkiPg0KICAgICAgPGcgaWQ9IuakreWchl82MyIgZGF0YS1uYW1lPSLmpK3lnIYgNjMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE3MTUyIC00MjUyKSI+DQogICAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgICAgPC9nPg0KICAgICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzE0NiAtNDI0NikiLz4NCiAgICAgIDxsaW5lIGlkPSLnm7Tnur9fMTE3IiBkYXRhLW5hbWU9IuebtOe6vyAxMTciIGNsYXNzPSJjbHMtMSIgeDE9IjYiIHkyPSI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcxNDYgLTQyNDYpIi8+DQogICAgPC9nPg0KICA8L2c+DQo8L3N2Zz4NCg=="},"0snz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".scroller[data-v-2dab1a8e] {\n position: relative;\n overflow-y: auto;\n}\n.wrap[data-v-2dab1a8e] {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.item-view[data-v-2dab1a8e] {\n width: 100%;\n}\n.scroller.ready .item-view[data-v-2dab1a8e] {\n position: absolute;\n top: 0;\n left: 0;\n will-change: transform;\n}\n",""])},"3zkT":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-expanded[data-v-3e3666f0] {\n height: calc(100% - 28px) !important;\n}\n.log-section[data-v-3e3666f0] {\n width: calc(100% - 48px);\n height: calc(100% - 93px);\n position: absolute;\n background: #fff;\n}\n.log-section .tip-choose[data-v-3e3666f0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-weight: 500;\n margin-right: 24px;\n padding: 0 5px 0 0;\n line-height: 26px;\n border-radius: 26px;\n cursor: pointer;\n}\n.log-section .tip-choose .tip-content[data-v-3e3666f0] {\n padding: 0 8px 0 0;\n font-size: 14px;\n color: #6a6c75;\n}\n.log-section .tip-choose .tip-count[data-v-3e3666f0] {\n min-width: 16px;\n height: 16px;\n padding: 0 5px;\n border-radius: 2px;\n line-height: 16px;\n text-align: center;\n color: #fff;\n}\n.log-section .tip-choose .error[data-v-3e3666f0] {\n background: #ff4f38;\n}\n.log-section .tip-choose .warning[data-v-3e3666f0] {\n background: #fccf19;\n}\n.log-section .tip-choose .info[data-v-3e3666f0] {\n background: #0ec7a5;\n}\n.log-section .tip-choose .debug[data-v-3e3666f0] {\n background: #4159d1;\n}\n.log-section .tip-choose:hover .tip-content[data-v-3e3666f0] {\n color: #4159d1;\n text-decoration: underline;\n}\n.log-section .tip-choose-active .tip-content[data-v-3e3666f0] {\n color: #4159d1;\n}\n.log-section .log-containers[data-v-3e3666f0] {\n height: 100%;\n padding: 0px 12px 0px 0px;\n margin-top: 15px;\n overflow: auto;\n width: 100%;\n position: relative;\n}\n",""])},"6Ix9":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU0MCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU0MCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDE3OC43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},"9g82":function(t,e,n){"use strict";n.r(e);var i=n("QbLZ"),o=n.n(i),a=n("L2JU"),r=n("Ntdr"),s=n("GQeE"),l=n.n(s),c={name:"DatasetInfo",components:{OverflowTooltip:n("dyDN").a},props:{list:{type:Array,default:function(){return[]}}},methods:{selectChange:function(t,e){t.roleValue=e,this.$forceUpdate()}}},h=(n("a6ns"),n("KHd+")),u=Object(h.a)(c,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex flex-col col dataset-info"},[n("h3",{staticClass:"list-title"},[t._v("Dataset info")]),t._v(" "),t._l(t.list,function(e,i){return n("el-row",{key:i,staticClass:"dataset-row",attrs:{gutter:24}},[n("el-col",{attrs:{span:6}},[n("div",{staticClass:"dataset-item"},[n("p",{staticClass:"name dataset-title"},[t._v(t._s(e.role))]),t._v(" "),1===e.options.length?n("p",{staticClass:"value"},[t._v(t._s(e.roleValue))]):n("el-select",{attrs:{value:e.roleValue},on:{change:function(n){t.selectChange(e,n)}}},t._l(e.options,function(t,e){return n("el-option",{key:e,attrs:{value:t.value,label:t.label}})}))],1)]),t._v(" "),n("el-col",{attrs:{span:14}},[n("div",{staticClass:"dataset-item"},[n("p",{staticClass:"name"},[t._v("dataset")]),t._v(" "),n("p",{staticClass:"value"},[n("overflow-tooltip",{attrs:{"tooltip-options":{popperClass:"tooltip-content"},placement:"top"}},[n("template",{slot:"content"},t._l(e.datasetData[e.roleValue]||[],function(e,i){return n("p",{key:i},[t._v(t._s(e))])})),t._v(" "),n("span",{staticClass:"toolContent",attrs:{slot:"default"},slot:"default"},[t._v(t._s(e.datasetData?Object.values(e.datasetData[e.roleValue]).join(", "):""))])],2)],1)])])],1)})],2)},[],!1,null,null,null);u.options.__file="DatasetInfo.vue";var d=u.exports,p=n("m1cH"),f=n.n(p),g=n("P2sY"),v=n.n(g),m=n("7Qib"),y=n("FyfS"),b=n.n(y),x=n("mWkO"),I=10,w=5,C=10,T="#e8e8ef",S="Arial",A={drawPanel:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=k,e?(n||(n=x.a.getUUID("trangle")),e.drawLayer(n,t),n):new x.a(t)},events:{progress:function(t){var e=this;e.registerChainTranslate("progress",!1,e.settingNum(e.progress,t,function(t){e.progress=t},200))},setTime:function(t){var e=this;e.setCus("setTime",function(){e.time=N(t)})}}};function N(t){if(t.toString().match(":"))return t;if(!t)return"00:00:00";var e=Math.round(t/1e3),n=e%60,i=(e-n)/60,o=i%60,a=(i-o)/60;return n<10&&(n="0"+n),o<10&&(o="0"+o),a<10&&(a="0"+a),a+":"+o+":"+n}function _(t,e,n,i){!(arguments.length>4&&void 0!==arguments[4])||arguments[4]?(t.strokeStyle=function(t,e,n,i){var o=t.createLinearGradient(e.x,e.y,n.x,n.y),a=!0,r=!1,s=void 0;try{for(var l,c=b()(i);!(a=(l=c.next()).done);a=!0){var h=l.value;o.addColorStop(h.pos,h.color)}}catch(t){r=!0,s=t}finally{try{!a&&c.return&&c.return()}finally{if(r)throw s}}return o}(t,{x:e.x,y:e.y},{x:e.x+i,y:e.y},[{pos:0,color:"rgba(73, 78, 206, 0.6)"},{pos:1,color:"#24b68b"}]),t.lineWidth=10,t.lineCap="butt"):(t.lineWidth=2,t.lineCap="butt",t.strokeStyle=T);var o=Math.sin(Math.PI/4),a=Math.cos(Math.PI/4),r=e.x+o*n,s=e.y+a*n;return t.beginPath(),t.moveTo(e.x,e.y),t.arc(r,s,n,1.25*Math.PI,1.75*Math.PI),t.stroke(),n}function D(t,e,n,i){return{x:t+i*Math.sin(2*Math.PI*n/360),y:e+i*Math.cos(2*Math.PI*n/360)}}var k=function(){var t=this,e=t.$ctx;t.width=t.width,t.progress=t.progress||0,t.content=t.content||"elapsad",t.time=N(t.time)||"00:00:00",t.x=t.x||0,t.r=(t.width-2*t.x)/2/Math.sin(Math.PI/4),t.y=t.y||t.r-(t.width-2*t.x)/2+6,_(e,{x:t.x,y:t.y},t.r,t.width),function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C,o=arguments[4],a=arguments[5],r=arguments[6],s=Math.sin(90*Math.PI/360)*o,l=Math.cos(90*Math.PI/360)*o,c=a.x,h=a.y,u=function(a){!function(){var u=a;if(0!==u){var d=Math.sin(2*(45-9*u)*Math.PI/360)*o,p=Math.cos(2*(45-9*u)*Math.PI/360)*o;c+=s-d,h+=l-p,s=d,l=p}var f=D(c,h,45-9*u,e),g=D(f.x,f.y,45-9*u,n),v=D(g.x,g.y,45-9*u,i);t.beginPath(),t.moveTo(f.x,f.y),t.lineTo(g.x,g.y),t.strokeStyle=T,t.lineWidth=1,t.stroke(),t.beginPath(),t.textAlign="center",t.textBaseLine="middle",t.fillStyle="#494ece",t.font=r+"px "+S,t.fillText(10*u,v.x,v.y)}()},d=0;d<11;d++)u(d)}(e,I,w,C,t.r,{x:t.x,y:t.y},10);var n=I+w+C+25;_(e,{x:t.x+Math.sin(Math.PI/4)*n,y:t.y+Math.cos(Math.PI/4)*n},t.r-n,t.width-Math.sin(Math.PI/4)*n*2,!1);var i=90*t.progress/100,o=Math.sin(90*Math.PI/360)*t.r,a=Math.cos(90*Math.PI/360)*t.r,r=t.x,s=t.y,l=D(r+=o-Math.sin(2*(45-i)*Math.PI/360)*t.r,s+=a-Math.cos(2*(45-i)*Math.PI/360)*t.r,45-i,n-10),c=D(l.x,l.y,45-i,30);e.beginPath(),e.moveTo(l.x,l.y),e.lineTo(c.x,c.y),e.strokeStyle="#494ece",e.lineWidth=1,e.stroke();var h=t.x+Math.sin(Math.PI/4)*t.r,u=t.y+Math.cos(Math.PI/4)*n-14;e.fillStyle="#bbbbc8",e.font="13px "+S,e.textAlign="center",e.textBaseLine="middle",e.fillText(t.content,h,u);var d=h,p=u+14+4;e.fillStyle="#494ece",e.font="16px "+S,e.fillText(t.time,d,p);var f=h,g=p+16+16+18,v=Math.round(t.progress)+"%";e.fillStyle="#494ece",e.font="bold 36px "+S,e.fillText(v,f,g)},E={name:"Panel",props:{progress:{type:Number,default:0},time:{type:Number|String,default:"00:00:00"}},data:function(){return{component:null,canvas:null}},watch:{progress:function(t,e){this.changeStatus(t)},time:function(t,e){this.setTime(t)}},mounted:function(){this.initing()},methods:{initing:function(){var t=this,e=document.getElementById("canvas");this.canvas=new x.a.CanvasUtil(e,{click:!1,mousemove:!1,mousedown:!1,mouseup:!1},function(){return t.getInstance(e),t.component.drawing(),t.component})},getInstance:function(t){this.component=A.drawPanel({canvas:document.getElementById("canvas"),props:{width:t.width,progress:this.progress,time:this.time,content:"elapsed",x:.3*t.width/2},clear:A.clear,events:A.events})},changeStatus:function(t){t>this.component.progress&&this.component.emit("progress",t)},setTime:function(t){this.component.emit("setTime",t)}}},$=(n("rVsi"),Object(h.a)(E,function(){var t=this.$createElement;return(this._self._c||t)("canvas",{attrs:{id:"canvas"}})},[],!1,null,"5e75adbf",null));$.options.__file="index.vue";var z=$.exports,P=n("ZU66"),M=n("dv4G"),L={filters:{formatSeconds:m.c},components:{Panel:z,Confirm:P.a},props:{data:{type:Object,default:function(){return{}}}},data:function(){return{jobId:this.$route.query.job_id}},computed:o()({},Object(a.c)(["icons"]),{jobStatus:function(){return this.data.status||""},isDone:function(){return["success","complete","failed","canceled"].includes(this.jobStatus)},isDoing:function(){return["waiting","running"].includes(this.jobStatus)},confirmText:function(){return this.isDone?["The job will continue from where it "+this.jobStatus,""]:this.isDoing?["Are you sure you want to "+(this.jobStatus,"cancel")+" this job?","You can't undo this action,it may take few seconds to update job status."]:["",""]},query:function(){return{job_id:this.$route.query.job_id,component_name:"pipeline"}}}),methods:{toDetails:function(){var t=o()({},this.query,{role:this.$route.query.role,party_id:this.$route.query.party_id,from:"Dashboard"});delete t.component_name,this.$router.push({path:"/details",query:t})},killJob:function(){var t=this;if(this.isDoing){var e,n=v()({},this.query);delete n.component_name,(e=this.$refs.confirm).confirm.apply(e,f()(this.confirmText)).then(function(){Object(M.f)(n).then(function(){t.$emit("stop",t.jobStatus?"cancel":"kill")})})}},retryJob:function(){var t,e=this;(t=this.$refs.confirm).confirm.apply(t,f()(this.confirmText)).then(function(){Object(M.i)(e.query).then(function(){e.$emit("retry")})})}}},R=(n("SwPG"),Object(h.a)(L,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col job flex-center justify-center pos-r"},[n("h3",{staticClass:"list-title"},[t._v("Job: "+t._s(t.jobId))]),t._v(" "),t.isDone?n("div",{staticClass:"job-end-container flex flex-col flex-center"},[n("img",{key:t.jobStatus,staticClass:"job-icon",attrs:{src:"success"===t.jobStatus||"complete"===t.jobStatus?t.icons.normal.success:t.icons.normal.failed,alt:""}}),t._v(" "),n("ul",{staticClass:"job-info flex space-around flex-wrap w-100"},[n("li",[n("p",{staticClass:"name"},[t._v("status")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.jobStatus))])]),t._v(" "),t.data.elapsed?n("li",[n("p",{staticClass:"name"},[t._v("duration")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t._f("formatSeconds")(t.data.elapsed)))])]):t._e(),t._v(" "),t.data.auc?n("li",[n("p",{staticClass:"name overflow-ellipsis"},[t._v("best score(AUC)")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.auc))])]):t._e(),t._v(" "),t.data.ratio?n("li",[n("p",{staticClass:"name"},[t._v("ratio")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.ratio))])]):t._e(),t._v(" "),t.data.count?n("li",[n("p",{staticClass:"name"},[t._v("count")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.count))])]):t._e()])]):t.isDoing?n("div",{staticClass:"echarts-container"},[n("panel",{staticClass:"echarts",attrs:{progress:t.data.progress,time:t.data.time}})],1):t._e(),t._v(" "),n("div",{staticClass:"btn-wrapper flex flex-col flex-center pos-a"},[n("el-button",{ref:"jobDetails",staticClass:"detail-entry-button",attrs:{type:"primary",round:""},on:{click:t.toDetails}},[n("span",[t._v("view this job")]),t._v(" "),n("i",{staticClass:"arrow"})]),t._v(" "),t.isDone&&"success"!==t.jobStatus&&"complete"!==t.jobStatus?n("p",{staticClass:"kill text-primary pointer",staticStyle:{"margin-top":"10px"},on:{click:t.retryJob}},[t._v("retry")]):t._e(),t._v(" "),t.isDoing?n("p",{staticClass:"kill text-primary pointer",on:{click:t.killJob}},[t._v("cancel")]):t._e()],1),t._v(" "),n("confirm",{ref:"confirm"})],1)},[],!1,null,"3a11e76d",null));R.options.__file="Job.vue";var j=R.exports,U=n("lBxe"),O=n("tH+O"),B={components:{IconHoverAndActive:O.default,Dag:U.a},props:{dagData:{type:Object,default:null}},data:function(){return{showGraph:!1}},computed:o()({},Object(a.c)(["icons"])),methods:{zoomOut:function(){this.showGraph=!0}}},F=Object(h.a)(B,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col graph flex-center justify-center"},[n("div",{staticClass:"flex flex-row space-between"},[n("h3",{staticClass:"list-title"},[t._v("Graph")]),t._v(" "),n("icon-hover-and-active",{attrs:{"class-name":"img-wrapper","default-url":t.icons.normal.fullscreen,"hover-url":t.icons.hover.fullscreen,"active-url":t.icons.active.fullscreen},on:{clickFn:t.zoomOut}})],1),t._v(" "),t.dagData?n("div",{staticClass:"wrapper w-100 pointer"},[n("dag",{attrs:{id:"graphCanvas","dag-info":t.dagData,thumbnail:!0,"pure-pic":!0,"operation-list":!1}})],1):t._e(),t._v(" "),n("el-dialog",{attrs:{visible:t.showGraph,"close-on-click-modal":!1,width:"50%",top:"10vh"},on:{"update:visible":function(e){t.showGraph=e}}},[n("h3",{staticClass:"list-title t-a-c",staticStyle:{"font-size":"14px",color:"#3E4052"},attrs:{slot:"title"},slot:"title"},[t._v("GRAPH")]),t._v(" "),t.dagData?n("div",{staticClass:"wrapper w-100",staticStyle:{width:"100%",height:"70vh",position:"relative"}},[n("dag",{ref:"purePicBigerDag",attrs:{id:"dialogCanvas","dag-info":t.dagData,"pure-pic":!0}})],1):t._e()])],1)},[],!1,null,null,null);F.options.__file="Graph.vue";var G=F.exports,W={props:{jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""}}},H=n("V/pm"),Z=n("DzJC"),Y=n.n(Z),J={GUEST:1,HOST:2,ARBITER:3},K={components:{DatasetInfo:d,Job:j,Graph:G},mixins:[W],data:function(){return{loading:!1}},computed:o()({},Object(a.c)("job",{oldJobId:"jobId"}),Object(a.d)("job",["job"]),{datasetInfo:function(){var t=this.job&&this.job.summary_date&&this.job.summary_date.dataset;return t?function(t){var e=t.roles,n=t.dataset,i=l()(e).map(function(t){var i=e[t].map(function(t){return{value:t,label:t}});return{role:t.toUpperCase(),options:i,roleValue:i[0].label,datasetData:n[t]||""}});return i.sort(function(t,e){return function(t,e){return te?1:t>=e?0:NaN}(J[t.role],J[e.role])}),i}(t):[]},jobDetail:function(){var t=this.job&&this.job.summary_date&&this.job.summary_date.job;return t?{status:t.fStatus||this.job.status,elapsed:t.fElapsed,progress:t.fProgress||this.job.progress||0,time:this.job.duration}:{}},DAGData:function(){return this.job&&this.job.dependency_data}}),watch:{$route:{handler:function(){this.$route.query.job_id!==this.oldJobId&&this.cleanJob(),this.job&&this.isDone(this.job.status)||this.initJobSocket()},immediate:!0}},created:function(){this.handleMessage=Y()(this.handleMessage,900,{leading:!0})},beforeDestroy:function(){this.ws&&this.ws.close()},methods:o()({},Object(a.b)("job",["updateJob","cleanJob"]),{initJobSocket:function(){var t=this;if(!this.ws){var e=this.jobId,n=this.role,i=this.partyId;e&&n&&i||console.warn("Missing required parameters"),this.ws=new H.a("/websocket/progress/"+e+"/"+n+"/"+i),this.loading=!0,this.ws.addEventListener("message",function(e){t.loading=!1;var n=void 0;try{n=JSON.parse(e.data)}catch(e){return n=null,void t.ws.close()}t.handleMessage(n)})}return this.ws},isDone:function(t){return["success","complete","failed","canceled"].includes(t)},handleMessage:function(t){this.isDone(t.status)&&this.ws&&this.ws.close(),this.updateJob(t)},onStop:function(t){this.ws.close(),this.ws=null,this.initJobSocket()},onRetry:function(){this.ws&&(this.ws.close(),this.ws=null),this.initJobSocket()}})},Q=(n("cDij"),Object(h.a)(K,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-row",{staticClass:"dash-board-list",attrs:{gutter:24}},[n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("dataset-info",{attrs:{list:t.datasetInfo}})],1),t._v(" "),n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("job",{attrs:{data:t.jobDetail},on:{stop:t.onStop,retry:t.onRetry}})],1),t._v(" "),n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("graph",{attrs:{"dag-data":t.DAGData}})],1)],1)},[],!1,null,null,null));Q.options.__file="Board.vue";var X,V=Q.exports,q=n("Dbz9"),tt=n.n(q),et=n("gDS+"),nt=n.n(et),it=n("YEIV"),ot=n.n(it),at=n("cU3k"),rt=["partyError","partyWarning","partyInfo","partyDebug","jobSchedule","jobError"],st=rt[0],lt=rt[1],ct=rt[2],ht=rt[3],ut=rt[4],dt=rt[5],pt=(X={logSize:"logSize",log:"log"},ot()(X,st,"log"),ot()(X,lt,"log"),ot()(X,ct,"log"),ot()(X,ht,"log"),ot()(X,ut,"log"),ot()(X,dt,"log"),X);function ft(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a1&&void 0!==arguments[1])||arguments[1],n=this.counts[t],i=this.logs[t]||[],o=void 0,a=void 0;if(i.length?e?(a=i[0].lineNum-1,o=Math.max(1,a-50)):(o=i[i.length-1].lineNum+1,a=n):(a=n,o=Math.max(a-50,1)),n>0){if(as[1])a=a.concat(i,n);else if(r[1]0?n("span",{staticClass:"tip-count",class:e},[t._v(t._s(t.counts[i]))]):t._e()])})),t._v(" "),n("div",{staticClass:"log-containers"},t._l(t.LOG_TYPES,function(e){return n("log",{directives:[{name:"show",rawName:"v-show",value:t.currentLogType===e,expression:"currentLogType === type"}],key:e,attrs:{logs:t.logs[e]},on:{"scroll-top":function(n){t.handleScrollTop(e)}}})}))]),t._v(" "),n("div",{ref:"checklog",staticClass:"log-extend flex flex-center justify-center"},[n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:t.expandAll,expression:"expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardFold,"hover-url":t.icons.hover.dashBoardFold,"active-url":t.icons.active.dashBoardFold},on:{clickFn:t.toggle}}),t._v(" "),n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:!t.expandAll,expression:"!expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardUnfold,"hover-url":t.icons.hover.dashBoardUnfold,"active-url":t.icons.active.dashBoardUnfold},on:{clickFn:t.toggle}})],1)])},[],!1,null,"3e3666f0",null));vt.options.__file="Logs.vue";var mt=vt.exports,yt={components:{BreadcrumbExt:r.a,Board:V,Logs:mt},computed:o()({},Object(a.c)(["icons"]),{jobId:function(){return this.$route.query.job_id},role:function(){return this.$route.query.role},partyId:function(){return this.$route.query.party_id},ids:function(){return{jobId:this.jobId,role:this.role,partyId:this.partyId}}})},bt=(n("lJfc"),Object(h.a)(yt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-container bg-dark app-container"},[e("breadcrumb-ext",{attrs:{breads:[{type:"content",val:"Dashboard"}]}}),this._v(" "),e("board",this._b({},"board",this.ids,!1)),this._v(" "),e("logs",{attrs:{ids:this.ids}})],1)},[],!1,null,null,null));bt.options.__file="index.vue";e.default=bt.exports},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},Do9X:function(t,e,n){var i=n("N97a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("5b0c9170",i,!0,{})},DzJC:function(t,e,n){var i=n("sEfC"),o=n("GoyQ"),a="Expected a function";t.exports=function(t,e,n){var r=!0,s=!0;if("function"!=typeof t)throw new TypeError(a);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),i(t,e,{leading:r,maxWait:e,trailing:s})}},EYjE:function(t,e,n){var i=n("C98N");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("96000c26",i,!0,{})},N97a:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},NdWW:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICMyNGI2OGI7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTUiIGRhdGEtbmFtZT0i57uEIDE5MTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU5OCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU5OCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDIzNi43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},PbIf:function(t,e,n){"use strict";var i=n("EYjE");n.n(i).a},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("eOYL"),o={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=a,e?(n||(n=i.a.getUUID("line")),e.drawLayer(n,t),n):new i.a(t)}};function a(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;i.a.stroke(e,t.style,function(e){for(var n=0;nu?u+.4*f:u-.4*f},v={x:d,y:p>u?p-.4*f:p+.4*f};if(r.push(g),n&&h===d){"left"===n?n=-s:"right"===n&&(n=s);var m={x:h+n,y:p>u?u+.4*f*2:u-.4*f*2};r.push(m);var y={x:h+n,y:p>u?p-.4*f*2:p+.4*f*2};r.push(y)}r.push(v)}return r.push(e),r}e.b=o},QIyF:function(t,e,n){var i=n("Kz5y");t.exports=function(){return i.Date.now()}},QzUs:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".toolContent {\n display: inline-block;\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4159d1;\n}\n",""])},SwPG:function(t,e,n){"use strict";var i=n("nXki");n.n(i).a},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var i=n("uy/s");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("ff63f00e",i,!0,{})},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return h});var i=n("gDS+"),o=n.n(i),a=n("UVkp"),r=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=r.a.getUUID("text")),e.drawLayer(n,t),n):new r.a(t)},LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,CENTER:a.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,i=e.$meta.get("$translate")||{x:0,y:0},o=e.point.x||e.point[0]||0,a=e.point.y||e.point[1]||0,r=(t.x||t[0]||0)-i.x,l=(t.y||t[1]||0)-i.y,c=parseInt(e.style.font),h=!1;return e.position===s.RIGHT?r>=o-n&&r<=o&&l>=a-c/2&&l<=a+c/2&&(h=!0):e.position===s.CENTER?r>=o-n/2&&r<=o+n/2&&l>=a-c/2&&l<=a+c/2&&(h=!0):r>=o&&r<=o+n&&l>=a-c/2&&l<=a+c/2&&(h=!0),h}function c(){var t=JSON.parse(o()(this.style));t.textBaseline=a.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=h(e,t.text,t.style),i=t.width||Math.ceil(n.width),o=parseInt(t.style.font),a=t.breakLine?t.height?Math.floor(t.height/(o+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(o+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)i;)g--;d.push(t.text.substr(p,g)),p+=g}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var m in e.save(),t.style)e[m]=t.style[m];t.angle&&r.a.rotate(e,t.point,t.angle);for(var y=0;y1?t.betweenEachLine:0));e.restore()}.call(this)}function h(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o={};for(var a in t.save(),n)t[a]=n[a];var r=t.measureText(e);return o.width=r.width,o.ylength=0!==Math.cos(i)?o.width*Math.cos(i):0,o.xlength=0!==Math.sin(i)?o.width*Math.cos(i):o.width,t.restore(),o}e.a=s},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},"V/pm":function(t,e,n){"use strict";var i=n("P2sY"),o=n.n(i),a=n("iCc5"),r=n.n(a),s=n("V7oC"),l=n.n(s),c=n("gDS+"),h=n.n(c),u={autoOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e3,timeoutInterval:2e3,maxReconnectAttempts:5,reconnectDecay:1.5,heartCheck:!0};function d(t,e,n){var i=new CustomEvent(t,{detail:n});return i.originEvent=e,i}var p=function(){function t(e,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r()(this,t),this.url=e,this.protocols=n,this.options=o()({},u,a),this.ws=null,this.timeouted=!1,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.forcedClose=!1;var s=document.createElement("div");this.eventTarget=s,this.addEventListener=s.addEventListener.bind(s),this.removeEventListener=s.removeEventListener.bind(s),this.dispatchEvent=s.dispatchEvent.bind(s),this.options.autoOpen&&setTimeout(function(){i.open(!1)})}return l()(t,[{key:"open",value:function(e){var n=this,i=this.dispatchEvent,o=this.options,a=o.reconnectInterval,r=o.timeoutInterval,s=o.reconnectDecay,l=o.maxReconnectAttempts,c=o.maxReconnectInterval,u=o.heartCheck;if(console.log(this.reconnectAttempts),this.reconnectAttempts){if(l&&this.reconnectAttempts>l)return}else i(d("connecting")),this.reconnectAttempts=0;this.ws||(this.ws=new WebSocket(t.baseUrl+this.url,this.protocols));var p=this.ws,f=null;u&&(f=function(t){return{timeout:6e4,timer:null,reset:function(){clearTimeout(this.timer),this.start()},start:function(){this.timer=setTimeout(function(){t.send(h()(""))},this.timeout)},stop:function(){clearTimeout(this.timer)}}}(p));var g=setTimeout(function(){n.timeouted=!0,n.ws.close(),n.timeouted=!1},r);p.onopen=function(t){clearTimeout(g),n.protocols=p.protocols,n.readyState=WebSocket.OPEN,d("open",t).isReconnect=e,e=!1,i(d("open",t)),f&&f.start()},p.onclose=function(t){if(clearTimeout(g),f&&f.stop(),n.ws=null,n.forcedClose)n.readyState=WebSocket.CLOSED,i(d("close",t));else{n.readyState=WebSocket.CONNECTING;var o=d("connecting");o.code=t.code,o.reason=t.reason,o.wasClean=t.wasClean,i(o),e||n.timeouted||i(d("close",t));var r=a*Math.pow(s,n.reconnectAttempts);setTimeout(function(){n.reconnectAttempts++,n.open(!0)},Math.min(r,c))}},p.onmessage=function(t){var e=d("message",t);e.data=t.data,i(e),f&&f.reset()},p.onerror=function(t){i(d("error",t))}}},{key:"send",value:function(t){if(this.ws)return this.ws.send(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments[1];this.forcedClose=!0,this.ws&&this.ws.close(t,e)}}]),t}();p.CONNECTING=WebSocket.CONNECTING,p.OPEN=WebSocket.OPEN,p.CLOSING=WebSocket.CLOSING,p.CLOSE=WebSocket.CLOSE,p.PROTOCOL="https:"===window.location.protocol?"wss://":"ws://",p.baseUrl=""+p.PROTOCOL+location.host,e.a=p},WOIZ:function(t,e){},a6ns:function(t,e,n){"use strict";var i=n("y+41");n.n(i).a},aWcS:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},arco:function(t,e,n){"use strict";var i=n("Do9X");n.n(i).a},bw2v:function(t,e,n){"use strict";var i=n("U9kv");n.n(i).a},cDij:function(t,e,n){"use strict";var i=n("gIJO");n.n(i).a},cU3k:function(t,e,n){"use strict";var i=n("QbLZ"),o=n.n(i),a=n("ODRq"),r=n.n(a),s=n("FyfS"),l=n.n(s),c=n("bdgK"),h={name:"VirtualScrollItem",inject:["scrollData","scrollParent","scrollResizeObserver"],props:{item:{type:Object,required:!0},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},tag:{type:String,default:"div"}},computed:{id:function(){return this.item[this.scrollData.keyField]},size:function(){return this.scrollData.validSizes[this.id]&&this.scrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.scrollData.active}},watch:{id:function(){this.size||this.onDataUpdate()},finalActive:function(t){this.size||(t?this.scrollParent.$_undefinedMap[this.id]||(this.scrollParent.$_undefinedSizes++,this.scrollParent.$_undefinedMap[this.id]=!0):this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=!1)),this.scrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingScrollUpdate===this.id&&this.updateSize()}},created:function(){this.$_forceNextScrollUpdate=null,this.scrollResizeObserver||this.vscrollParent.$on("vscroll:update",this.onScrollUpdate)},mounted:function(){this.scrollData.active&&(this.updateSize(),this.observeSize())},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextScrollUpdate=null,this.$_pendingScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextScrollUpdate=this.id},computeSize:function(t){var e=this;this.$nextTick(function(){if(e.id===t){var n=e.$el.offsetWidth,i=e.$el.offsetHeight;e.applySize(n,i)}e.$_pendingSizeUpdate=null})},applySize:function(t,e){var n=Math.round(e);n&&this.size!==n&&(this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.scrollData.sizes,this.id,n),this.$set(this.scrollData.validSizes,this.id,!0))},observeSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.observe(this.$el),this.$el.addEventListener("resize",this.onResize))},unobserveSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.unobserve(this.$el),this.$el.removeEventListener("resize",this.onResize))},onResize:function(t){var e=t.detail.contentRect,n=e.width,i=e.height;this.applySize(n,i)},onScrollUpdate:function(t){var e=t.force;!this.finalActive&&e&&(this.$_pendingScrollUpdate=this.id),this.$_forceNextScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()}},render:function(t){return t(this.tag,this.$slots.default)}},u=n("KHd+"),d=Object(u.a)(h,void 0,void 0,!1,null,null,null);d.options.__file="VirtualScrollItem.vue";var p=d.exports,f=0,g={name:"VirtualScroll",directives:{ObserveVisibility:n("hf7O").a},components:{VirtualScrollItem:p},provide:function(){return this.$_resizeObserver=new c.default(function(t){var e=!0,n=!1,i=void 0;try{for(var o,a=l()(t);!(e=(o=a.next()).done);e=!0){var r=o.value;if(r.target){var s=new CustomEvent("resize",{detail:{contentRect:r.contentRect}});r.target.dispatchEvent(s)}}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}),{scrollData:this.scrollData,scrollParent:this,scrollResizeObserver:this.$_resizeObserver}},props:{items:{type:Array,required:!0},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},minItemSize:{type:Number,required:!0},buffer:{type:Number,default:200},keyField:{type:String,default:"lineNum"},emitScroll:{type:Boolean,default:!1}},data:function(){return{pool:[],ready:!1,totalSize:0,scrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField}}},computed:{itemsWithSize:function(){for(var t=[],e=this.items,n=this.keyField,i=this.scrollData.sizes,o=0;o1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,i=t.info.type,o=n.get(i);o||(o=[],n.set(i,o)),o.push(t),e||(t.info.used=!1,t.position=-9999,this.$_views.delete(t.info.key))},handleScroll:function(){var t=this;this.checkPosition(),this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(function(){t.$_scrollDirty=!1,t.updateItems(!1,!0).continuous||(clearTimeout(t.$_refreshTimout),t.$_refreshTimout=setTimeout(t.handleScroll,100))}))},getRange:function(t){var e,n=0,i=this.items.length,o=i-1,a=this.sizes,r=this.buffer;t.start-=r,t.end+=r;var s=0,l=o,c=~~(i/2),h=void 0;do{h=c,a[c].accumulatort.start&&(l=c),c=~~((s+l)/2)}while(c!==h);for(c<0&&(c=0),e=c,n=c;ni&&(n=i),{startIndex:e,endIndex:n}},updateItems:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.items,i=this.sizes,o=this.pool,a=this.keyField,s=this.$_computedMinItemSize,l=this.$_views,c=this.$_unusedViews,h=n.length,u=this.getScroll();if(e){var d=u.start-this.$_lastStartPosition;if(d<0&&(d=-d),d=this.$_startIndex;if(this.$_continuous!==y){if(y){l.clear(),c.clear();for(var b=0,x=o.length;b=g)&&this.unuseView(m));for(var C=y?null:new r.a,T=void 0,S=void 0,A=void 0,N=void 0,_=f;_=A.length)&&(m=this.addView(o,_,T,D),this.unuseView(m,!0),A=c.get(S)),(m=A[N]).item=T,m.info.used=!0,m.info.index=_,m.info.key=D,C.set(S,N+1),N++),l.set(D,m)),m.position=i[_-1].accumulator):m&&this.unuseView(m)}return this.$_startIndex=f,this.$_endIndex=g,clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:y}},getScroll:function(){var t=this.$el;return{start:t.scrollTop,end:t.scrollTop+t.clientHeight}},sortViews:function(){this.pool.sort(function(t,e){return t.info.index-e.info.index})},checkPosition:function(){var t=this.getScroll();this.ready&&0===t.start&&this.$emit("scroll-top"),this.ready&&this.$el.scrollHeight-t.end==0&&this.$emit("scroll-bottom"),this.ready&&this.emitScroll&&this.$emit("scroll",o()({},t,{top:t.start,bottom:this.$el.scrollHeight-t.end}))},handleVisibilityChange:function(t,e){var n=this;this.ready&&(t||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height)&&(this.$emit("vscroll:update",{force:!1}),requestAnimationFrame(function(){n.updateItems(!1)}))},addResizeObserver:function(){var t=new c.default(this.handleResize);t.observe(this.$el),this.$once("hook:beforeDestory",function(){t.disconnect()})},handleResize:function(){this.ready&&(this.updateItems(!1),this.forceUpdate())},scrollToItem:function(t){var e=t>0?this.sizes[t-1].accumulator:0;this.scrollToPosition(e)},scrollToPosition:function(t){this.$el.scrollTop=t},scrollToBottom:function(){var t=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var e=this.$el;this.$nextTick(function(){e.scrollTop=e.scrollHeight+5e3;requestAnimationFrame(function n(){e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(function(){e.scrollTop=e.scrollHeight+5e3,0===t.$_undefinedSizes?t.$_scrollingToBottom=!1:requestAnimationFrame(n)})})})}},forceUpdate:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.scrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})}}},v=(n("dmqG"),Object(u.a)(g,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"scroller",class:{ready:t.ready},on:{"&scroll":function(e){return t.handleScroll(e)}}},[n("div",{ref:"wrapper",staticClass:"wrap",style:{minHeight:t.totalSize+"px"}},t._l(t.pool,function(e){return n("virtual-scroll-item",{key:e.info.id,staticClass:"item-view",style:t.ready?{transform:"translateY("+e.position+"px)"}:null,attrs:{item:e.item,index:e.info.index,active:e.info.used}},[t._t("default",null,{item:e.item,index:e.info.index,active:e.info.used})],2)}))])},[],!1,null,"2dab1a8e",null));v.options.__file="index.vue";var m={components:{Scroll:v.exports},props:{logs:{type:Array,default:null}},data:function(){return{bottom:0}},watch:{logs:function(t,e){if(t)if(e){if(e.lengtha&&n===i){if(this.bottom>0)return;this.afterScrollMount()}}}else this.afterScrollMount()}},methods:{afterScrollMount:function(){this.$refs.scroller&&this.$refs.scroller.scrollToBottom()},scrollTo:function(t){this.$refs.scroller&&this.$refs.scroller.scrollToItem(t)},onScroll:function(t){this.bottom=t.bottom},setSpace:function(t){return t}}},y=(n("PbIf"),Object(u.a)(m,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"log-content"},[t.logs?t.logs.length?n("scroll",{ref:"scroller",staticClass:"log-contents",attrs:{items:t.logs,"min-item-size":20,"emit-scroll":""},on:{"scroll-top":function(e){t.$emit("scroll-top")},scroll:t.onScroll,"hook:mounted":t.afterScrollMount},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.item;return n("div",{staticClass:"flex flex-row",attrs:{id:i.lineNum}},[n("span",{staticClass:"log-lineNum"},[t._v(t._s(i.lineNum))]),t._v(" "),n("span",{staticClass:"log-content"},[t._v(t._s(i.content))])])}}])}):n("div",{staticClass:"log-tip"},[n("span",[t._v("no data")])]):n("div",{staticClass:"log-tip"},[n("span",[t._v("loading...")])])],1)},[],!1,null,"4d72c288",null));y.options.__file="index.vue";e.a=y.exports},dmqG:function(t,e,n){"use strict";var i=n("qVEv");n.n(i).a},dyDN:function(t,e,n){"use strict";n("EJiy");var i=Number(document.documentMode),o=/([\:\-\_]+(.))/g,a=/^moz([A-Z])/,r=function(t){return t.replace(o,function(t,e,n,i){return i?n.toUpperCase():n}).replace(a,"Moz$1")},s=i<9?function(t,e){if(!t||!e)return null;"float"===(e=r(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}:function(t,e){if(!t||!e)return null;"float"===(e=r(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}};var l=n("DhVD"),c=n.n(l),h={name:"OverflowTooltip",props:{tag:{type:String,default:"div"},effect:{type:String,default:"dark"},placement:{type:String,default:"top"},tooltipOptions:{type:Object,default:function(){return{}}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=c()(50,function(t){return t.handleShowPopper()})},methods:{onMouseEnter:function(){for(var t=this.$slots.default[0].elm;t&&1!==t.nodeType;)t=t.nextSibling;var e=document.createRange();if(e.setStart(t,0),e.setEnd(t,t.childNodes.length),Math.floor(e.getBoundingClientRect().width)+((+s(t,"paddingLeft")||0)+(+s(t,"paddingRight")||0))>t.offsetWidth||t.scrollWidth3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var o=this,a=this.canvasDom.width-2*n,r=this.canvasDom.height-2*n,s=t.call(this.lay),l=r/s.height,c=a/s.width,h=l1&&(h=1/this.scaleTime,this.scaleTime=1):this.scaleTime*=h,!0===o.interactive.mousewheel?this.lay.emit("scale",h,s.point,function(){e&&e(),o.lay.$ctx.translate(-o.translateX,-o.translateY),o.translateX=0,o.translateY=0,o.lay.emit("$translate",o.translateX,o.translateY)}):o.interactive.mousewheel&&o.interactive.mousewheel.operation(this.lay,h,s.point),!0}},{key:"scaleBigger",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime+.1)/this.scaleTime;this.scaleTime+=.1,this.lay.emit("scale",n,{x:t,y:e})}},{key:"scaleSmaller",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime-.1)/this.scaleTime;this.scaleTime-=.1,this.lay.emit("scale",n,{x:t,y:e})}}]),t}();function m(){for(var t={},e=arguments.length,n=Array(e),i=0;i1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:7,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,i=(new Date).getTime().toString().substr(-e),o=Math.ceil(Math.random()*Math.pow(10,n)).toString();return t+"_"+i+"_"+(o=(n>o.length?new Array(n-o.length).fill(0).join(""):"")+o)}function x(t,e){var n=t.toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var i="#",o=1;o<4;o+=1)i+=n.slice(o,o+1).concat(n.slice(o,o+1));n=i}for(var a=[],r=1;r<7;r+=2)a.push(parseInt("0x"+n.slice(r,r+2)));return"rgba("+a.join(",")+","+(void 0!==e?e:1)+")"}return n}function I(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!i&&t.beginPath(),n(t),!i){for(var o in t.save(),e)t[o]=e[o];t.stroke(),t.restore(),t.closePath()}}function w(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!i&&t.beginPath(),n(t),!i){for(var o in t.save(),e)t[o]=e[o];t.fill(),t.restore(),t.closePath()}}function C(t,e){var n=t.$ctx;t.stroke&&I(n,t.style,e),t.fill&&w(n,t.style,e),t.justPath&&e(n)}function T(t,e,n){var i=e.x||e[0],o=e.y||e[1];t.translate(i,o),t.rotate(n),t.translate(-i,-o)}function S(t,e,n){var i=t.x||t[0]||0,o=t.y||t[1]||0,a=e.x||e[0]||0,r=e.y||e[1]||0;return{x:a+A((i-a)*n),y:r+A((o-r)*n)}}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return parseFloat(parseFloat(t).toFixed(e))}function N(t){if(!t)return"00:00:00";if(t.toString().match(":"))return t;t=(new Date).getTime()-t;var e=Math.round(t/1e3),n=e%60,i=(e-n)/60,o=i%60,a=(i-o)/60;return n=n<10?"0"+n:n,o=o<10?"0"+o:o,(a=a<10?"0"+a:a)+":"+o+":"+n}var _=n("EJiy"),D=n.n(_);var k=new r.a,E=null,$=10;function z(){var t=[],e=!0,n=!1,i=void 0;try{for(var a,r=o()(k);!(e=(a=r.next()).done);e=!0){var s=a.value,l=s[1].getOnce();if(null===l)k.delete(s[0]);else if(l){P(s[1].lay);var c=s[1].lay.getTopNode(),h=0,u=!0,d=!1,p=void 0;try{for(var f,g=o()(t);!(u=(f=g.next()).done);u=!0){var v=f.value;if(c.$uuid===v.$uuid)break;h++}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}h>=t.length&&t.push(c),s[1].chainFinish&&k.delete(s[0])}}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}var m=!0,y=!1,b=void 0;try{for(var x,I=o()(t);!(m=(x=I.next()).done);m=!0){x.value.drawing()}}catch(t){y=!0,b=t}finally{try{!m&&I.return&&I.return()}finally{if(y)throw b}}k.size>0?E=setTimeout(z,$):(clearTimeout(E),E=null)}function P(t){t.$struct&&t.$struct()}var M=function(){function t(e,n,i,a){d()(this,t),this.name=e,this.repeat=n,this.chainList=[],this.chainFinish=!1,this.lay=i,this.hasCalledOnce=!1;var r=!0,s=!1,l=void 0;try{for(var c,h=o()(a);!(r=(c=h.next()).done);r=!0){var u=c.value;u.lay=i,this.chainList.push(new L(u))}}catch(t){s=!0,l=t}finally{try{!r&&h.return&&h.return()}finally{if(s)throw l}}}return f()(t,[{key:"getOnce",value:function(){var t=null,e=!0,n=!1,i=void 0;try{for(var a,r=o()(this.chainList);!(e=(a=r.next()).done);e=!0){var s=a.value;if(!s.finish){t=s.getOnce();break}}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}return this.complete()&&(this.repeat?this.restart():this.chainFinish=!0),this.hasCalledOnce=!0,t}},{key:"complete",value:function(){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.chainList);!(t=(i=a.next()).done);t=!0){if(!i.value.finish)return!1}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}return!0}},{key:"restart",value:function(){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.chainList);!(t=(i=a.next()).done);t=!0){i.value.restart()}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}}]),t}(),L=function(){function t(e){var n=e.target,i=e.process,o=e.interval,a=e.origin,r=e.lay,s=e.compare;d()(this,t),this.target=n,this.process=i,this.interval=o,this.origin=a,this.lay=r,this.finish=!1,this.current=this.origin,this.round=0,this.compare=s}return f()(t,[{key:"getOnce",value:function(){this.round++;var t=!1;return this.round*$>=this.interval&&(this.current=this.process(),this.complete(),this.round=0,t=!0),t}},{key:"getCurrent",value:function(t){for(var e=Math.floor(t/this.interval),n=this.origin,i=0;i2?n-2:0),o=2;o0&&null===E&&(E=setTimeout(z,$))},t.prototype.deleteChainTranslate=function(t){k.delete(t+"_"+this.$uuid)},t.prototype.deleteAllAboutChain=function(){if(k.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(k);!(t=(i=a.next()).done);t=!0){var r=i.value;r[0].match(this.$uuid)&&k.delete(r[0])}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}if(this.$children.size>0){var s=!0,l=!1,c=void 0;try{for(var h,u=o()(this.$children);!(s=(h=u.next()).done);s=!0)h.value[1].deleteAllAboutChain()}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}}},t.prototype.settingRGBA=function(t,e,n,i,o){return{interval:o||$,lay:this,target:e,origin:t,process:function(){for(var t=x(this.origin).replace("rgba(","").replace(")$","").split(","),e=x(this.target).replace("rgba(","").replace(")$","").split(","),a=x(this.current).replace("rgba(","").replace(")$","").split(","),r=0;r0&&a[r]>parseFloat(e[r]))&&(a[r]=parseFloat(e[r]))}return n.call(this.lay,"rgba("+a.join(",")+")"),"rgba("+a.join(",")+")"=="rgba("+e.join(",")||"rgba("+a.join(",")+")"}}},t.prototype.settingNum=function(t,e,n,i,o){return{interval:o||$,lay:this,target:e,origin:t,process:function(){var t=(this.target-this.origin)/Math.floor((i||$)/(o||$)),e=this.current+t;return(t<0&&e0&&e>this.target)&&(e=this.target),this.current=e,n.call(this.lay,e),e===this.target||e}}},t.prototype.setting=function(t,e,n){return{interval:n||$,lay:this,target:t,origin:null,process:function(){return e.call(this.lay,t),L.FINISH}}},t.prototype.settingCus=function(t,e){return{interval:e||$,lay:this,target:null,origin:null,process:function(){return t.call(this),!0}}},t.prototype.setCus=function(e,n,i){var o=e||t.getUUID("trasnlate");return this.registerChainTranslate(o,!1,this.settingCus(n,i)),o},t.prototype.set=function(e,n,i,o){var a=e||t.getUUID("trasnlate"),r={interval:o||$,lay:this,target:n,origin:null,process:function(){return i.call(this.lay,n),L.FINISH}};return this.registerChainTranslate(a,!1,r),a}}(R),function(t){t.prototype.drawing=function(){(function(){var t=[];(function(){if(!this.$parent)if(this.$clear)this.$clear();else{var t=this.$canvas.width,e=this.$canvas.height;this.$ctx.clearRect(-10*t,-10*e,20*t,20*e)}}).call(this);var e=this.getTopNode();!function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.$children.size>0?n.$children.forEach(function(n,o){if(n.$children.size>0&&n.$visiable)e(n,i+(n.$zindex||0));else{var a=i+(n.$zindex||0);t[a]||(t[a]=[]),t[a].push(n)}}):(t[0]||(t[0]=[]),t[0].push(n))}(e,0);var n=!0,i=!1,a=void 0;try{for(var r,s=o()(t);!(n=(r=s.next()).done);n=!0){var l=r.value;if(l){var c=!0,h=!1,u=void 0;try{for(var d,p=o()(l);!(c=(d=p.next()).done);c=!0){var f=d.value;f.$visiable&&(f.$inCanvas&&!f.$inCanvas()||f.$path())}}catch(t){h=!0,u=t}finally{try{!c&&p.return&&p.return()}finally{if(h)throw u}}}}}catch(t){i=!0,a=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}}).call(this)},t.prototype.drawLayer=function(e,n,i){var o=this.$children.get(e),a=!0;if(o){if(a=!1,!i&&n.props)for(var r in n.props)o[r]=n.props[r];n.canvas&&o.$canvas!==n.canvas&&(o.$canvas=n.canvas,o.$ctx=o.$canvas.getContext("2d")),o.$struct&&o.$struct()}else n.__parent__=this,void 0===n.visiable&&(n.visiable=this.$visiable),o=new t(n),this.$children.set(e,o);return this.$childrenName.push(e),{node:o,old:!a}},t.prototype.drawLayers=function(t){for(var e in t)this.drawLayer(e,t[e])}}(R),function(t){t.prototype._InitEvents=function(t){var e=t.events;this.$events=e||{},this.$events.$showing=function(){if(this.$visiable=!0,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.$children);!(t=(i=a.next()).done);t=!0)i.value[1].emit("$showing")}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}},this.$events.$hide=function(){if(this.$visiable=!1,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.$children);!(t=(i=a.next()).done);t=!0)i.value[1].emit("$hide")}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}},this.$events.$translate=function(t,e){this.$meta||(this.$meta=new r.a),this.$meta.set("$translate",{x:t||0,y:e||0})}},t.prototype.$showing=function(){this.emit("$showing")},t.prototype.$hide=function(){this.emit("$hide")},t.prototype.emit=function(t){for(var e=this,n="",i=arguments.length,a=Array(i>1?i-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=b.a.toFixed(e.contentFontSize*t),e.iconPadding=b.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=b.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=b.a.toFixed(e.lineWidth*t),e.portWidth=b.a.toFixed(e.portWidth*t),e.portHeight=b.a.toFixed(e.portHeight*t),e.portRadius=b.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=b.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=b.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var i=e.$children.get(n);i&&(i.$here(t)?i.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&i.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var i=!0,o=!1,a=void 0;try{for(var r,s=h()(e.input);!(i=(r=s.next()).done);i=!0){n(r.value.name)}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}}if(e.output.length>0){var l=!0,c=!1,u=void 0;try{for(var d,p=h()(e.output);!(l=(d=p.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,u=t}finally{try{!l&&p.return&&p.return()}finally{if(c)throw u}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=b.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),i=parseInt(e[1]),o=parseInt(e[2]);o+1>=60?(o=0,i+1>=60?(i=0,n+=1):i+=1):o+=1,n=(n.toString().length<2?"0":"")+n,i=(i.toString().length<2?"0":"")+i,o=(o.toString().length<2?"0":"")+o,t.time=n+":"+i+":"+o},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=rt(t.type||at.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var i={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==at.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),i.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var o=rt(t,!!n.choose,n.disable,"content");i.toNewTypeContent.push(n.settingRGBA(n.contentStyle,o,function(t){n.contentStyle=t},200)),i.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===at.type.RUNNING?(n.progress=0,n.time=b.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),at.animations.tictok.call(n),at.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===at.type.SUCCESS||t===at.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==at.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var a=rt(t,!!n.choose,n.disable);i.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,a,function(t){n.containerStyle=t},200));var r=st(t,!!n.choose,n.disable);for(var s in i.toNewTypeText.push(n.settingRGBA(n.fontStyle,r,function(t){n.fontStyle=t},200)),i)n.registerChainTranslate.apply(n,[s,!1].concat(I()(i[s])))}}}};function rt(t,e,n,i){return e?"content"===i&&t===at.type.RUNNING?n?D:_:A:n&&t!==at.type.UNRUN?E:n&&t===at.type.UNRUN?$:t===at.type.SUCCESS?N:t===at.type.RUNNING?"content"===i?n?D:_:N:t===at.type.FAIL?k:t===at.type.UNRUN?E:void 0}function st(t,e,n){return n&&t!==at.type.UNRUN?e?M:P:n&&t===at.type.UNRUN?e?M:L:t===at.type.SUCCESS?M:t===at.type.RUNNING?P:t===at.type.FAIL?M:t===at.type.UNRUN?P:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||R,t.padding=t.padding||T,t.tooltipRadius=t.tooltipRadius||X,t.iconPadding=t.iconPadding||F,t.betweenIconWithContent=t.betweenIconWithContent||B,t.lineWidth=t.lineWidth||C,t.portWidth=t.portWidth||(t.specialDataInput?W:G),t.portHeight=t.portHeight||H,t.portRadius=t.portRadius||Z,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||Y,t.tooltipFont=t.tooltipFont||J,t.tipTrangleSize=t.tipTrangleSize||K,t.radius=t.radius||z,t.tooltipPadding=t.tooltipPadding||Q,t.type===at.type.RUNNING&&(t.time=b.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,i=t.point.x||t.point[0]||0,o=t.point.y||t.point[1]||0,a=function(t,e,n,i){i&&(i.containerStyle=i.containerStyle||rt(t||at.type.UNRUN,!!e,n),i.contentStyle=i.contentStyle||rt(t||at.type.UNRUN,!!e,n,"content"),i.fontStyle=i.fontStyle||st(t||at.type.UNRUN,!!e,n));var o={container:{fillStyle:i?i.containerStyle:rt(t||at.type.UNRUN,!!e,n)},content:{fillStyle:i?i.contentStyle:rt(t||at.type.UNRUN,!!e,n,"content")},text:{font:i.contentFontSize+"px "+j,fillStyle:i.fontStyle},time:{font:.8*i.contentFontSize+"px "+j,fillStyle:U},link:{font:.8*i.contentFontSize+"px "+j,fillStyle:O,cursor:"pointer",underline:!0}};return i.style=o,i.style}(t.type,t.choose,t.disable,t),r=Object(w.b)(t.$ctx,t.text,a.text);a.container.fillStyle=t.containerLightUp||a.container.fillStyle;var s=t.width||Math.ceil(r.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,h=new d.a,u=l-t.iconPadding,p=t.betweenIconWithContent;if(b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s,height:l,radius:t.radius,style:a.container,fill:!0}},t,"container"),b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:S},fill:!0}},t,"containerInner"),b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:a.content,fill:!0}},t,"content"),b.a.component.text.drawText({props:{point:{x:i,y:o},text:t.text,style:a.text,position:b.a.component.text.CENTER}},t,"text"),b.a.component.icon.drawIcon({props:{point:{x:i+s/2+p+u/2,y:o},width:u,img:t.img},visiable:!!t.img},t,"icon"),b.a.component.text.drawText({props:{point:{x:i+s/2+p,y:o},text:t.time,style:a.time},visiable:c===at.type.RUNNING},t,"time"),b.a.component.text.drawText({props:{point:{x:i+s/2+2*p+u,y:o},text:"retry",style:a.link},visiable:c===at.type.FAIL,events:{choose:at.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,g=o-l/2,v=0;v0)for(var x=n.length,I=o+l/2,A=0;A1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=arguments[2],i=this,o=i.$meta.get("$translate")||{x:0,y:0};e={x:e.x-o.x,y:e.y-o.y},i.setCus("scale",function(){i.toppest=b.a.scaleDistanceForPoint(i.toppest,e,t),i.padding=b.a.toFixed(i.padding*t),i.paddingHeight=b.a.toFixed(i.paddingHeight*t),i.fontSizeForContent=b.a.toFixed(i.fontSizeForContent*t),i.lineWidthForLinking=b.a.toFixed(i.lineWidthForLinking*t),i.componentBetween=b.a.toFixed(i.componentBetween*t),i.innerBetween=b.a.toFixed(i.innerBetween*t),i.levelBetween=b.a.toFixed(i.levelBetween*t),n&&n.call(i)})},toSuccess:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toComplete:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toFail:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toFailed:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCanceled:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCancel:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toError:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toRunning:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.RUNNING,e)},toWaiting:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toUnrun:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toType:function(t){for(var e in t)ct.animations.toNewType.call(this.$children.get(e),t[e].type,t[e].props)},lineBright:function(t){var e=this;this._lineBright=t;var n=[];this.$children.forEach(function(i,o){if(t&&o===t)i.$zindex=2;else if(t&&o.match(t)&&!o.match("_"+t)&&!o.match(t+"_")){var a=o.split("|");a.splice(a.indexOf(t),1),i.$zindex=1,i.style.strokeStyle="#578FFF",i.style.lineWidth*=1.5,e.$children.get(a[0]).containerLightUp="#578FFF",e.$children.get(a[0]).$struct(),n.push(a[0])}else o.match("line")?(i.$zindex=0,i.style.strokeStyle="#BBBBC8",i.style.lineWidth=e.lineWidthForLinking):n.indexOf(o)<0&&(i.$zindex=1,i.containerLightUp="")})}}},It=function(){function t(e,n){v()(this,t),this.level=[],this.root=[],this.linking={},this.components=new d.a,this.size=0,this.lay=e,this.checkNewPort(n.dependencies),this.componentInfo(n.component_list),this.componentDisable(n.component_need_run),this.componentBelone(n.component_module,n.dependencies),this.componentLink(n.dependencies)}return y()(t,[{key:"checkNewPort",value:function(t){ut=!(f()(t).length>0)||!!t[f()(t)[0]][0].up_output_info}},{key:"componentInfo",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(t);!(e=(o=a.next()).done);e=!0){var r=o.value;this.components.set(r.component_name,new wt(r))}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}},{key:"componentDisable",value:function(t){for(var e in t)this.components.get(e).setDisable(!t[e]),this.components.get(e).setImage(this.lay.images)}},{key:"componentBelone",value:function(t,e){for(var n in t)this.components.get(n).setBelone(t[n],this.lay.images,e)}},{key:"componentLink",value:function(t){var e=this,n=function t(n){for(var i in e.linking){var o=!0,a=!1,r=void 0;try{for(var s,l=h()(e.linking[i]);!(o=(s=l.next()).done);o=!0){var c=s.value;if(c.components[0]===n){var u=e.components.get(c.components[0]),d=e.components.get(c.components[1]);d.level<=u.level&&(d.level=u.level+1,t(c.components[1]))}}}catch(t){a=!0,r=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw r}}}};for(var i in t){var o=!0,a=!1,r=void 0;try{for(var s,l=h()(t[i]);!(o=(s=l.next()).done);o=!0){var c=s.value;this.linking[c.type]=this.linking[c.type]||[],this.linking[c.type].push({components:[c.component_name,i],outputType:c.up_output_info?c.up_output_info.join(""):c.type+"0"}),n(c.component_name)}}catch(t){a=!0,r=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw r}}}var u=!0,d=!1,p=void 0;try{for(var f,g=h()(this.components);!(u=(f=g.next()).done);u=!0){var v=f.value;this.level[v[1].level]=this.level[v[1].level]||[],this.level[v[1].level].push(v[1]),0===v[1].level&&this.root.push(v[1])}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}}},{key:"componentCheckWidthAndHeight",value:function(){var t="",e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.components);!(e=(o=a.next()).done);e=!0){var r=o.value;r[0].length>t.length&&(t=r[0])}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}var s=Object(w.b)(this.lay.$ctx,t,{font:this.lay.fontSizeForContent+"px "+j}),l=Math.ceil(s.width)+2*this.lay.padding,c=this.lay.fontSizeForContent+2*this.lay.paddingHeight;this.compWidth=l,this.compHeight=c;var u=!0,d=!1,p=void 0;try{for(var f,g=h()(this.components);!(u=(f=g.next()).done);u=!0){var v=f.value;v[1].width=l,v[1].height=c}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}}},{key:"checkPos",value:function(){var t=this.lay;if(!t._inited){var e=this.getStyleOfDag();e.height=2,this.linkPos[t].push(s)}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}}},{key:"getLinkInstance",value:function(){for(var t in this.linkPos){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.linkPos[t]);!(e=(o=a.next()).done);e=!0){var r=o.value,s=this.lay.levelBetween,l=!!r.corssLevel&&(t.match("data")?-this.compWidth/3:this.compWidth/3),c=Object(ht.a)(r.line[0],r.line[1],l,s);b.a.component.line.drawLine({props:{point:c,curve:!0,stroke:!0,style:{lineWidth:this.lay.lineWidthForLinking*(this.lay._lineBright&&r.name.match(this.lay._lineBright)?1.5:1),strokeStyle:this.lay._lineBright&&r.name.match(this.lay._lineBright)?"#578FFF":"#BBBBC8"}}},this.lay,r.name)}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}}},{key:"getStyleOfDag",value:function(){var t=0,e=0,n=!0,i=!1,o=void 0;try{for(var a,r=h()(this.level);!(n=(a=r.next()).done);n=!0){var s=a.value;s.length>t&&(t=s.length),e+=s.length*this.compHeight+(s.length-1)*this.lay.innerBetween+this.lay.levelBetween}}catch(t){i=!0,o=t}finally{try{!n&&r.return&&r.return()}finally{if(i)throw o}}return e-=this.lay.levelBetween,{width:t*this.compWidth+(t-1)*this.lay.componentBetween,height:e}}},{key:"resetting",value:function(){this.componentCheckWidthAndHeight(),this.checkPos(),this.componentGetInstance(),this.getLinking(),this.getLinkInstance()}}]),t}(),wt=function(){function t(e){v()(this,t),this.name=e.component_name,this.time=e.time,this.images=null,this.type=this.getStatus(e.status||"unrun"),this.level=0,this.width=0,this.height=0}return y()(t,[{key:"getStatus",value:function(t){var e=t.toUpperCase();return ct.type.SUCCESS.indexOf(e)>=0?ct.type.SUCCESS:ct.type.FAIL.indexOf(e)>=0?ct.type.FAIL:ct.type.RUNNING.indexOf(e)>=0?ct.type.RUNNING:ct.type.UNRUN}},{key:"setDisable",value:function(t){this.disable=t}},{key:"setImage",value:function(t){this.img=t.get((this.disable?"DISABLE_":"")+this.type.split("|")[0])}},{key:"setBelone",value:function(t,e,n){this.belone=t,this.setPort(e,n)}},{key:"setPos",value:function(t){this.point=t}},{key:"checkSetPort",value:function(t,e,n){var i=ut?["secureboost","linr","lr","poisson","heteronn","homonn","localbaseline","fm","mf","svd","scdpp","gmf","ftl","psi","kmeans"]:["none"],o=n[t];if(n[t]&&n[t].length>0){var a=!0,r=!1,s=void 0;try{for(var l,c=h()(o);!(a=(l=c.next()).done);a=!0){var u=l.value;if(["model","data","cache"].indexOf(u.type)<0)return!0}}catch(t){r=!0,s=t}finally{try{!a&&c.return&&c.return()}finally{if(r)throw s}}return!1}return e.toLowerCase().match(new RegExp("("+i.join("|")+")","i"))}},{key:"setPort",value:function(t,e){this.input=this.input||[],this.output=this.output||[];var n,i,o;this.checkSetPort(this.name,this.belone,e)?(n=this.input).push.apply(n,[{name:"train_datainput",tooltip:"Train Data Input",type:"data"},{name:"validate_datainput",tooltip:"Validation Data Input",type:"data"}]):this.belone.toLowerCase().match(/(reader|modelloader|cacheloader)/)||this.input.push({name:"datainput",tooltip:"Data Input",type:"data"});(this.belone.toLowerCase().match(/evaluation|union/i)&&(this.input[0].mult=t.get("MULT_DATA_PORT")),this.belone.toLowerCase().match(/(evaluation|upload|download|pearson|datasplit|statistics|psi|kmeans|modelloader|cacheloader)/i)||this.output.push({name:"data0output",tooltip:"Data Output",type:"data"}),this.belone.toLowerCase().match(/(kmeans)/i))&&(i=this.output).push.apply(i,[{name:"data0output",tooltip:"Data Output_0",type:"data"},{name:"data1output",tooltip:"Data Output_1",type:"data"}]);this.belone.toLowerCase().match(/(datasplit)/i)&&(o=this.output).push.apply(o,[{name:"data0output",tooltip:"Train Data Output",type:"data"},{name:"data1output",tooltip:"Validation Data Output",type:"data"},{name:"data2output",tooltip:"Test Data Output",type:"data"}]);this.belone.toLowerCase().match(/(intersection|cacheloader)/)&&(this.belone.toLowerCase().match(/(intersection)/)&&this.input.push({name:"cacheinput",tooltip:"Cache Input",type:"cache"}),this.output.push({name:"cache0output",tooltip:"Cache Output",type:"cache"})),this.belone.toLowerCase().match(/(intersection|evaluation|upload|download|rsa|datasplit|reader|union|scorecard|cacheloader)/i)||(this.belone.toLowerCase().match(/(statistics|pearson|psi|modelloader)/i)||this.input.push({name:"modelinput",tooltip:"Model Input",type:"model"}),this.output.push({name:"model0output",tooltip:"Model Output",type:"model"}),this.belone.toLowerCase().match(/(selection)/i)&&(this.input[1].mult=t.get("MULT_MODEL_PORT")))}},{key:"getComponentInstance",value:function(t){ct.drawProgress({props:{point:this.point,text:this.name,width:this.width,height:this.height,type:t.$children.get(this.name)?t.$children.get(this.name).type:this.type,disable:this.disable,input:this.input,output:this.output,specialDataInput:this.specialDataInput,contentFontSize:t.fontSizeForContent,time:t.$children.get(this.name)?t.$children.get(this.name).time:this.time,img:this.img},zindex:1,events:ct.events},t,this.name)}}]),t}(),Ct={name:"FlowDiagram",props:{dagInfo:{type:Object,default:function(){}},purePic:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},operationList:{type:Boolean,default:!0}},data:function(){return{dagCheck:null,flowData:null,images:new d.a,thumb:.6,canvasId:"flowDiagramCanvas",canvas:null,choosed:null,needToSet:[],originalSetting:null,imageSetting:[{name:"COMPLETE",url:n("NdWW")},{name:"DISABLE_COMPLETE",url:n("6Ix9")},{name:"SUCCESS",url:n("NdWW")},{name:"DISABLE_SUCCESS",url:n("6Ix9")},{name:"FAIL",url:n("U8kZ")},{name:"DISABLE_FAIL",url:n("+998")},{name:"CANCEL",url:n("U8kZ")},{name:"DISABLE_CANCEL",url:n("+998")},{name:"CANCELED",url:n("U8kZ")},{name:"DISABLE_CANCELED",url:n("+998")},{name:"ERROR",url:n("U8kZ")},{name:"DISABLE_ERROR",url:n("+998")},{name:"FAILED",url:n("U8kZ")},{name:"DISABLE_FAILED",url:n("+998")},{name:"MULT_DATA_PORT",url:n("l489")},{name:"MULT_MODEL_PORT",url:n("iA7x")}]}},watch:{dagInfo:{handler:function(){this.checkInfo(),this.checkFlowData(),this.canvas&&this.canvas.inited||this.initing(),this.toSetting(),this.checkChoosed()},deep:!0}},created:function(){this.canvasId=b.a.getUUID("flowDiagramCanvas"),this.checkInfo(),this.checkFlowData()},mounted:function(){var t=this;this.addedImages(this.imageSetting).then(function(){t.initing()})},methods:{initing:function(){if(!this.dagInfo)throw new TypeError("Daginfo param need to be an Object");var t=document.getElementById(this.canvasId);if(!t)throw new Error("Can not found canvas-element");this.originalSetting=this.dagInfo,this.drawComp(t,this.images)},drawComp:function(t,e){var n=this,i=this,o=this.purePic?{click:!1}:{click:{beforeClick:function(){xt.events.lineBright.call(i.component)},props:[function(t,e,o){if(o)n.$emit("retry",t);else{e&&xt.events.lineBright.call(i.component,t);var a=0,r="";i.dagInfo.component_list.map(function(e,n){e.component_name===t&&(a=n,r=e.status)});var s={name:t,dataIndex:a,model:i.dagInfo.component_module[t],disable:!i.dagInfo.component_need_run[t],status:r};e&&(i.choosed=s,i.$emit("choose",s))}}]}};i.canvas=new b.a.CanvasUtil(t,o,function(t){return i.getInstance(t,e),i.component.drawing(),i.thumbnail&&i.checkThumbnail(),i.component})},getInstance:function(t,e){if(!t)return null;this.component=xt.drawDiagram({canvas:t,props:{dagInfo:this.flowData,thumbnail:this.thumbnail?this.thumb:1,images:e},clear:xt.clear,events:xt.events})},checkInfo:function(){var t=this.dagCheck||{};if(this.dagInfo){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.dagInfo.component_list);!(e=(o=a.next()).done);e=!0){var r=o.value,s=r.status||"unrun";t[r.component_name]?s!==t[r.component_name].status&&(this.needToSet.push(r.component_name),t[r.component_name].status=s,t[r.component_name].time=r.time):t[r.component_name]={status:s.charAt(0).toUpperCase()+s.slice(1),time:r.time}}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}if(this.dagInfo.component_need_run)for(var l in this.dagInfo.component_need_run)t[l].disable=this.dagInfo.component_need_run[l]}this.dagCheck=t},checkFlowData:function(){if(this.dagInfo){var t=JSON.parse(l()(this.dagInfo)),e=!0,n=!1,i=void 0;try{for(var o,a=h()(t.component_list);!(e=(o=a.next()).done);e=!0){var s=o.value;s.status=(s.status||"unrun").toUpperCase()}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}this.flowData?this.flowData=r()(this.flowData,t):this.flowData=t}},toSetting:function(){if(this.component){var t=!0,e=!1,n=void 0;try{for(var i,o=h()(this.needToSet);!(t=(i=o.next()).done);t=!0){var a=i.value,r=xt.RUNNING.match(this.dagCheck[a].status.toUpperCase())?this.dagCheck[a].time:this.images.get((this.dagCheck[a].disable?"":"DISABLE_")+this.dagCheck[a].status.toUpperCase());this.component.emit("to"+(this.dagCheck[a].status.charAt(0).toUpperCase()+this.dagCheck[a].status.slice(1)),a,r)}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}this.needToSet=[]}},checkChoosed:function(){if(this.choosed){var t=this.dagInfo.component_list[this.choosed.dataIndex];t.component_name===this.choosed.name&&t.status!==this.choosed.status&&(this.choosed.status=t.status,this.$emit("choose",this.choosed))}},checkThumbnail:function(){this.component.emit("scale",this.thumb,this.component.toppest),this.component._inited=!1},initImage:function(t,e){var n=this;return new o.a(function(i,o){var a=new Image;a.onload=function(){n.images.set(t,a),i()},a.src=e})},addedImages:function(t){var e=[],n=!0,i=!1,a=void 0;try{for(var r,s=h()(t);!(n=(r=s.next()).done);n=!0){var l=r.value;e.push(this.initImage(l.name,l.url))}}catch(t){i=!0,a=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return o.a.all(e)},suitableWhole:function(){var t=this;this.canvas.suitableForWhole(function(){var e=t.component.$meta.get("clear"),n=t.component.toppest;return{width:e.width,height:e.height,point:n}},function(){t.component.toppest={x:t.canvas.canvasDom.width/2,y:20},t.component._inited=!1})},bigger:function(){this.canvas.scaleBigger()},small:function(){this.canvas.scaleSmaller()}}},Tt=(n("bw2v"),n("KHd+")),St=Object(Tt.a)(Ct,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("canvas",{attrs:{id:t.canvasId}}),t._v(" "),t.operationList?n("div",{staticClass:"buttonList"},[n("div",{staticClass:"opera_btn",on:{click:t.suitableWhole}},[n("i",{staticClass:"el-icon-full-screen"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.bigger}},[n("i",{staticClass:"el-icon-plus"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.small}},[n("i",{staticClass:"el-icon-minus"})])]):t._e()])},[],!1,null,"2d801b92",null);St.options.__file="index.vue";e.a=St.exports},lJfc:function(t,e,n){"use strict";var i=n("p9cb");n.n(i).a},m1cH:function(t,e,n){"use strict";e.__esModule=!0;var i=function(t){return t&&t.__esModule?t:{default:t}}(n("rfXi"));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=r.x-o/2&&l<=r.x+o/2&&h>=r.y-a/2&&h<=r.y+a/2}function u(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,o=t.width,a=t.height;t.position===c.LEFT_UP?t.point={x:e+o/2,y:n+a/2}:t.position===c.RIGHT_UP?t.point={x:e-o/2,y:n+a/2}:t.position===c.LEFT_DOWN?t.point={x:e+o/2,y:n-a/2}:t.position===c.RIGHT_DOWN&&(t.point={x:e-o/2,y:n-a/2}),function(){var t=this;i.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0,o=t.radius,a=t.width,r=t.height,s=0===t.progress?0:t.progress?t.progress:1;if(s<=0)return;var l=n-a/2,c=i-r/2+o;e.moveTo(l,c);var h=l+o,u=c,d=1*Math.PI,p=a*so?(l=a*s>a-o?l+a-2*o:l+a*s,c-=o,e.lineTo(l,c),a*s>a-o?(h=l,u=c+o,d=1.5*Math.PI,p=s<1?d+Math.acos((o-(a-a*s))/o):0,e.arc(h,u,o,d,p,!1),l+=o-(a-a*s),c=c+r-o-Math.cos(.5*Math.PI-Math.acos((o-(a-a*s))/o))*o,e.lineTo(l,c),u=u+r-2*o,d=0,p=s<1?d+Math.acos((o-(a-a*s))/o):.5*Math.PI,e.arc(h,u,o,d,p,!1),l=h-a+3*o,c=u+o,e.lineTo(l,c)):(c+=r,e.lineTo(l,c),l=l-a*s+o,e.lineTo(l,c)),h=l,u=c-o,e.arc(h,u,o,.5*Math.PI,1*Math.PI,!1)):(l+=a*s,c=c+r-2*o+Math.sin(.5*Math.PI-Math.acos((o-a*s)/o))*o,e.lineTo(l,c),u=u+r-2*o,d=1*Math.PI-Math.acos((o-a*s)/o),p=1*Math.PI,e.arc(h,u,o,d,p,!1));l=n-a/2,c=i-r/2+o,e.lineTo(l,c)})}.call(t)}var d=c,p=n("UMXJ"),f=n("FyfS"),g=n.n(f),v={drawTrangle:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=m,e?(n||(n=i.a.getUUID("trangle")),e.drawLayer(n,t),n):new i.a(t)},LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,UP:a.a.CENTER,BOTTOM:a.a.BOTTOM};function m(){this.height?function(){var t=this;i.a.commonDrawing(t,function(e){var n=Math.tan(30*Math.PI/180)*t.height,i=[],o=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0;i.push(t.point),t.position===v.LEFT?i.push.apply(i,[{x:o+t.height,y:a-n},{x:o+t.height,y:a+n}]):t.position===v.RIGHT?i.push.apply(i,[{x:o-t.height,y:a-n},{x:o-t.height,y:a+n}]):t.position===v.BOTTOM?i.push.apply(i,[{x:o-n,y:a-t.height},{x:o+n,y:a-t.height}]):i.push.apply(i,[{x:o-n,y:a+t.height},{x:o+n,y:a+t.height}]);var r=0,s=!0,l=!1,c=void 0;try{for(var h,u=g()(i);!(s=(h=u.next()).done);s=!0){var d=h.value,p=d.x||d[0]||0,f=d.y||d[1]||0;0===r?e.moveTo(p,f):e.lineTo(p,f),r++}}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}var m=t.point.x||t.point[0]||0,y=t.point.y||t.point[1]||0;e.lineTo(m,y)})}.call(this):function(){var t=this;i.a.commonDrawing(t,function(e){var n=0,i=!0,o=!1,a=void 0;try{for(var r,s=g()(t.point);!(i=(r=s.next()).done);i=!0){var l=r.value,c=l.x||l[0]||0,h=l.y||l[1]||0;0===n?e.moveTo(c,h):e.lineTo(c,h),n++}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}var u=t.point[0].x||t.point[0][0]||0,d=t.point[0].y||t.point[0][1]||0;e.lineTo(u,d)})}.call(this)}var y=v,b=5,x={drawTooltip:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.struct=w,t.here=I,e?(n||(n=i.a.getUUID("tooltip")),e.drawLayer(n,t),n):new i.a(t)},here:I,LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,UP:a.a.CENTER,BOTTOM:a.a.BOTTOM,TEXT:{LEFT:p.a.LEFT,RIGHT:p.a.RIGHT,CENTER:p.a.CENTER},events:{scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=this;n.setCus("scale",function(){if(n.point=i.a.scaleDistanceForPoint(n.point,e,t),n.width&&(n.width=i.a.toFixed(n.width*t)),n.height&&(n.height=i.a.toFixed(n.height*t)),n.padding&&(n.padding=i.a.toFixed(n.padding*t)),n.trangleSize&&(n.trangleSize=i.a.toFixed(n.trangleSize*t)),n.textStyle.font){var o=parseFloat(n.textStyle.font);n.textStyle.font=n.textStyle.font.replace(o,i.a.toFixed(o*t))}n.linebetween=i.a.toFixed(n.linebetween*t),n.radius=i.a.toFixed((n.radius||4)*t)})}}};function I(t){return!1}function w(){var t=this;t.linebetween=t.linebetween||b;var e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,i={x:e,y:n},o={},r=0;t.text=Array.isArray(t.text)?t.text:[t.text];var s=!0,l=!1,c=void 0;try{for(var h,u=g()(t.text);!(s=(h=u.next()).done);s=!0){var f=h.value,v=Object(p.b)(t.$ctx,f,t.textStyle);Math.ceil(v.width)>r&&(r=Math.ceil(v.width))}}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}var m=parseInt(t.textStyle.font)*t.text.length+t.linebetween*(t.text.length-1)+1.5*t.padding,I=r+2*t.padding;t.position===x.RIGHT?(o.x=e-t.trangleSize-I/2,o.y=n):t.position===x.UP?(o.x=e,o.y=n+t.trangleSize+m/2):t.position===x.BOTTOM?(o.x=e,o.y=n-t.trangleSize-m/2):(o.x=e+t.trangleSize+I/2,o.y=n),y.drawTrangle({props:{point:i,height:t.trangleSize,style:t.containerStyle,position:t.position||a.a.LEFT,fill:!0}},this,"trangle"),d.drawRect({props:{point:o,radius:t.radius||4,width:I,height:m,position:d.CENTER,style:t.containerStyle,fill:!0}},this,"rect");for(var w=0;we-i/2&&sn-o/2}function S(){!function(t){var e=t.$ctx;e.beginPath();var n=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0,o=t.width,a=t.height||o;e.drawImage(t.img,n-o/2,i-a/2,o,a),e.closePath()}(this)}var A={drawIcon:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=S,t.here=T,e?(n||(n=i.a.getUUID("icon")),e.drawLayer(n,t),n):new i.a(t)}},N={line:o.b,circle:l,rect:d,text:p.a,trangle:y,tooltip:C,icon:A};i.a.component=N;e.a=i.a},mZuz:function(t,e,n){var i=n("sEG9");(t.exports=n("I1BE")(!1)).push([t.i,".detail-entry-button[data-v-3a11e76d] {\n position: relative;\n}\n.detail-entry-button[data-v-3a11e76d]:hover {\n background-color: #494ece !important;\n color: #fff !important;\n}\n.detail-entry-button[data-v-3a11e76d]:active {\n background-color: #3135a6 !important;\n color: #fff !important;\n}\n.detail-entry-button .arrow[data-v-3a11e76d] {\n display: inline-block;\n width: 12px;\n height: 12px;\n vertical-align: bottom;\n background-image: url("+i(n("ujiL"))+");\n background-size: 100% auto;\n}\n.detail-entry-button:hover .arrow[data-v-3a11e76d] {\n background-image: url("+i(n("p4fm"))+");\n}\n",""])},mrrA:function(t,e,n){var i=n("3zkT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("348bdf84",i,!0,{})},nXki:function(t,e,n){var i=n("mZuz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("55181bb5",i,!0,{})},p4fm:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAAN5JREFUOE+t1OFRwkAQhuH3q0BKsITYAenADjQdQAXYAXRArEStAOzAEqCCj1nnwjAh5k7C/r3cM7t7uxF3CuUc28/Ap6TD2LejkO03YJWgegr0COyBB6CV1PyFlZRWRUYJW0raDGFZKC7ZfgW2CWgktX2sCErYAlgD0fRaUpR8jmIoYZHJS8KeJP100hmy7dwo9M4jo8jsdyymQN/A/AoqycZ2V9oRqAZLy0G2u2YHEpn8v9l3eX7bMZAfwAy4bSBtx4rsEvIuKQZzMEqX9kvS/OalTUM4/TeSe8nL8xMNbVYTNUdb2gAAAABJRU5ErkJggg=="},p9cb:function(t,e,n){var i=n("xWUn");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("12416102",i,!0,{})},qVEv:function(t,e,n){var i=n("0snz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("7870dd77",i,!0,{})},rVsi:function(t,e,n){"use strict";var i=n("WOIZ");n.n(i).a},rs0g:function(t,e,n){"use strict";var i=n("mrrA");n.n(i).a},sEfC:function(t,e,n){var i=n("GoyQ"),o=n("QIyF"),a=n("tLB3"),r="Expected a function",s=Math.max,l=Math.min;t.exports=function(t,e,n){var c,h,u,d,p,f,g=0,v=!1,m=!1,y=!0;if("function"!=typeof t)throw new TypeError(r);function b(e){var n=c,i=h;return c=h=void 0,g=e,d=t.apply(i,n)}function x(t){var n=t-f;return void 0===f||n>=e||n<0||m&&t-g>=u}function I(){var t=o();if(x(t))return w(t);p=setTimeout(I,function(t){var n=e-(t-f);return m?l(n,u-(t-g)):n}(t))}function w(t){return p=void 0,y&&c?b(t):(c=h=void 0,d)}function C(){var t=o(),n=x(t);if(c=arguments,h=this,f=t,n){if(void 0===p)return function(t){return g=t,p=setTimeout(I,e),v?b(t):d}(f);if(m)return clearTimeout(p),p=setTimeout(I,e),b(f)}return void 0===p&&(p=setTimeout(I,e)),d}return e=a(e)||0,i(n)&&(v=!!n.leading,u=(m="maxWait"in n)?s(a(n.maxWait)||0,e):u,y="trailing"in n?!!n.trailing:y),C.cancel=function(){void 0!==p&&clearTimeout(p),g=0,c=f=h=p=void 0},C.flush=function(){return void 0===p?d:w(o())},C}},ujiL:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAARlJREFUOI29lM9NhEAYxd834eCREixhRxtgDyaDyRA6WErADuxg7cC1giWaIAkHtQB2KGFLgJMX4PPA+h9hgsZ3nTe/fO97kwH+S742oRcad8onxg5VUFyCeHvU8vZXIAixYXBNBE/p4no2KEvkvm2E18Mo8nURz5sIQJ7KEix6ANFaaRMN+WgK9CpfFzGI1gCqpqFlnspyFggAVLDbELACULEgmSVy/w3kBzu2ovHbrfJZ0PIxkRVgsaMfefw5zaxoDK4hxOJjNMcWcqh+xeC6bYSXp+8QwDKa0iY6NAawiL82BlhEOzs3C8fhBwAumC/u706vhnyjIBWaY+rYAHAZuMluTwYfIzAVreuifhI8jUGsZPuN/JleAIACacrBlaPxAAAAAElFTkSuQmCC"},"uy/s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".container[data-v-2d801b92] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.buttonList[data-v-2d801b92] {\n position: absolute;\n bottom: 10px;\n left: 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.buttonList .opera_btn[data-v-2d801b92] {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #f8f8fa;\n margin-bottom: 12px;\n color: #bbbbc8;\n}\n.buttonList .opera_btn[data-v-2d801b92]:hover {\n background-color: #494ece;\n color: #fff;\n}\n.buttonList .opera_btn[data-v-2d801b92]:last-child {\n margin-bottom: 0px;\n}\n",""])},xWUn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".dashboard-container {\n height: 100%;\n}\n.dashboard-container .dash-board-list .col {\n height: 346px;\n background: #fff;\n}\n.dashboard-container .dash-board-list .col .list-title {\n font-family: 'roboto_bold';\n padding-top: 12px;\n font-size: 16px;\n color: #3e4052;\n text-indent: 24px;\n}\n.dashboard-container .dash-board-list .col .echarts-container {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.dashboard-container .dash-board-list .dataset-info {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n font-family: 'roboto_medium';\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row {\n margin-top: 30px;\n margin-left: 48px !important;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row:first-of-type {\n margin-top: 32px;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item {\n margin-bottom: 30px;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .name {\n font-size: 14px;\n margin-bottom: 6px;\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .dataset-title {\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .value {\n font-size: 14px;\n color: #3E4052;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.dashboard-container .dash-board-list .job .echarts {\n width: 100%;\n height: 306px;\n /*top: 5%;*/\n}\n.dashboard-container .dash-board-list .job .elapsed {\n position: absolute;\n top: 0;\n right: 16px;\n}\n.dashboard-container .dash-board-list .job .elapsed .elapsed-title {\n margin-right: 14px;\n margin-bottom: 6px;\n color: #bbbbc8;\n text-align: right;\n}\n.dashboard-container .dash-board-list .job .elapsed .elapsed-time {\n height: 28px;\n width: 88px;\n background: #f8f8fa;\n text-align: center;\n line-height: 28px;\n border-radius: 28px;\n font-size: 16px;\n}\n.dashboard-container .dash-board-list .job .job-end-container {\n height: 306px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-icon {\n margin-top: 35px;\n margin-bottom: 36px;\n font-size: 50px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info {\n padding: 0 10px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li {\n width: 28%;\n margin-bottom: 20px;\n text-align: center;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li .name {\n color: #bbbbc8;\n margin-bottom: 6px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li .value {\n font-size: 14px;\n font-weight: bold;\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper {\n position: absolute;\n left: 0;\n bottom: 20px;\n width: 100%;\n height: 80px;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .kill {\n padding-top: 5px;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .kill:hover {\n text-decoration: underline;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .el-button {\n padding: 7px 24px 6px;\n margin-top: 6px;\n background-color: #DEECFC;\n color: #4159D1;\n font-size: 14px;\n font-weight: bold;\n border: 0px;\n}\n.dashboard-container .graph {\n overflow: hidden;\n}\n.dashboard-container .graph .img-wrapper {\n width: 32px;\n height: 32px;\n margin-left: 10px;\n cursor: pointer;\n margin-top: 8px;\n margin-right: 20px;\n}\n.dashboard-container .graph .wrapper {\n height: 306px;\n}\n.dashboard-container .graph .wrapper .echarts {\n width: 100%;\n height: 100%;\n}\n.dashboard-container .log-wrapper {\n margin: 12px 0 16px;\n padding: 0 24px 8px;\n background: #fff;\n border-radius: 4px;\n min-height: 400px;\n height: calc(100% - 410px);\n width: 100%;\n position: relative;\n}\n.dashboard-container .log-wrapper .log-type {\n padding-top: 16px;\n margin-bottom: 24px;\n}\n.dashboard-container .log-wrapper .log-type .type-name {\n font-size: 16px;\n margin-right: 20px;\n color: #999BA3;\n font-weight: bold;\n cursor: pointer;\n}\n.dashboard-container .log-wrapper .log-type .type-name-active {\n color: #4159D1;\n}\n.dashboard-container .log-wrapper .title {\n padding-top: 12px;\n margin-bottom: 15px;\n font-size: 15px;\n color: #3E4052;\n font-family: 'roboto_bold';\n}\n.dashboard-container .log-wrapper .tab-bar {\n margin-left: 43px;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n font-family: 'roboto_medium';\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin-right: 24px;\n padding: 0 5px;\n line-height: 26px;\n border-radius: 26px;\n cursor: pointer;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .text {\n padding: 0 10px;\n font-size: 14px;\n color: #6A6C75;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .count {\n min-width: 16px;\n height: 16px;\n padding: 0 5px;\n border-radius: 2px;\n line-height: 16px;\n text-align: center;\n color: #fff;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .error {\n background: #ff6464;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .warning {\n background: #ff5d93;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .info {\n background: #ffd70d;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .debug {\n background: #24b68b;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn:hover .text {\n color: #4159D1;\n text-decoration: underline;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn-active .text {\n color: #4159D1;\n}\n.dashboard-container .log-wrapper .log-container {\n height: calc(100% - 97px);\n padding: 0px 12px 0px 0px;\n margin-top: 15px;\n overflow: auto;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li {\n /*height: 25px;*/\n line-height: 20px;\n text-indent: 10px;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li .line-num {\n color: #C6C8CC;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li .content {\n color: #999BA3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n}\n.dashboard-container .log-wrapper .log-extend {\n height: 30px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 4px 24px;\n margin-top: 8px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n.dashboard-container .suitable-button {\n position: absolute;\n bottom: 32px;\n left: 32px;\n}\n.dashboard-container .suitable-button .sutiable-button-item {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #F8F8FA;\n margin-bottom: 12px;\n color: #BBBBC8;\n}\n.dashboard-container .suitable-button .sutiable-button-item:hover {\n background-color: #494ece;\n color: #fff;\n}\n.dashboard-container .dialog-main-content {\n font-family: 'Lato';\n font-size: 18px;\n color: #534c77;\n text-align: center;\n font-weight: bold;\n margin-bottom: 25px;\n}\n.dashboard-container .dialog-sub-content {\n font-family: 'Lato';\n font-size: 12px;\n color: #bbbbc8;\n text-align: center;\n}\n.dashboard-container .dialog-button {\n width: 135px;\n height: 32px;\n border-radius: 2px;\n border: 0px;\n font-family: 'Lato';\n font-weight: bold;\n font-size: 12px;\n text-align: center;\n cursor: pointer;\n outline: none;\n}\n.dashboard-container .dialog-check-button {\n color: #ffffff;\n background-color: #494ece;\n}\n.dashboard-container .dialog-click-button {\n color: #ffffff;\n background-color: #3135a6;\n}\n.dashboard-container .dialog-uncheck-button {\n color: #7f7d8e;\n background-color: #e8e8ef;\n}\n.toolContent {\n display: inline-block;\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4159d1;\n}\n",""])},"y+41":function(t,e,n){var i=n("QzUs");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("2f5ea226",i,!0,{})}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-2933"],{"+998":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEyODI1IDQ4OTApIj4NCiAgICA8ZyBpZD0i57uEXzE4MjYiIGRhdGEtbmFtZT0i57uEIDE4MjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQzMjcgLTYzOCkiPg0KICAgICAgPGcgaWQ9IuakreWchl82MyIgZGF0YS1uYW1lPSLmpK3lnIYgNjMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE3MTUyIC00MjUyKSI+DQogICAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgICAgPC9nPg0KICAgICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzE0NiAtNDI0NikiLz4NCiAgICAgIDxsaW5lIGlkPSLnm7Tnur9fMTE3IiBkYXRhLW5hbWU9IuebtOe6vyAxMTciIGNsYXNzPSJjbHMtMSIgeDE9IjYiIHkyPSI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTcxNDYgLTQyNDYpIi8+DQogICAgPC9nPg0KICA8L2c+DQo8L3N2Zz4NCg=="},"0snz":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".scroller[data-v-2dab1a8e] {\n position: relative;\n overflow-y: auto;\n}\n.wrap[data-v-2dab1a8e] {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n overflow: hidden;\n position: relative;\n width: 100%;\n}\n.item-view[data-v-2dab1a8e] {\n width: 100%;\n}\n.scroller.ready .item-view[data-v-2dab1a8e] {\n position: absolute;\n top: 0;\n left: 0;\n will-change: transform;\n}\n",""])},"3zkT":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-expanded[data-v-3e3666f0] {\n height: calc(100% - 28px) !important;\n}\n.log-section[data-v-3e3666f0] {\n width: calc(100% - 48px);\n height: calc(100% - 93px);\n position: absolute;\n background: #fff;\n}\n.log-section .tip-choose[data-v-3e3666f0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n font-weight: 500;\n margin-right: 24px;\n padding: 0 5px 0 0;\n line-height: 26px;\n border-radius: 26px;\n cursor: pointer;\n}\n.log-section .tip-choose .tip-content[data-v-3e3666f0] {\n padding: 0 8px 0 0;\n font-size: 14px;\n color: #6a6c75;\n}\n.log-section .tip-choose .tip-count[data-v-3e3666f0] {\n min-width: 16px;\n height: 16px;\n padding: 0 5px;\n border-radius: 2px;\n line-height: 16px;\n text-align: center;\n color: #fff;\n}\n.log-section .tip-choose .error[data-v-3e3666f0] {\n background: #ff4f38;\n}\n.log-section .tip-choose .warning[data-v-3e3666f0] {\n background: #fccf19;\n}\n.log-section .tip-choose .info[data-v-3e3666f0] {\n background: #0ec7a5;\n}\n.log-section .tip-choose .debug[data-v-3e3666f0] {\n background: #4159d1;\n}\n.log-section .tip-choose:hover .tip-content[data-v-3e3666f0] {\n color: #4159d1;\n text-decoration: underline;\n}\n.log-section .tip-choose-active .tip-content[data-v-3e3666f0] {\n color: #4159d1;\n}\n.log-section .log-containers[data-v-3e3666f0] {\n height: 100%;\n padding: 0px 12px 0px 0px;\n margin-top: 15px;\n overflow: auto;\n width: 100%;\n position: relative;\n}\n",""])},"6Ix9":function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNlOGU4ZWY7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTQiIGRhdGEtbmFtZT0i57uEIDE5MTQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU0MCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU0MCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDE3OC43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},"9g82":function(t,e,n){"use strict";n.r(e);var i=n("QbLZ"),o=n.n(i),a=n("L2JU"),r=n("Ntdr"),s=n("GQeE"),l=n.n(s),c={name:"DatasetInfo",components:{OverflowTooltip:n("dyDN").a},props:{list:{type:Array,default:function(){return[]}}},methods:{selectChange:function(t,e){t.roleValue=e,this.$forceUpdate()}}},h=(n("a6ns"),n("KHd+")),u=Object(h.a)(c,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"flex flex-col col dataset-info"},[n("h3",{staticClass:"list-title"},[t._v("Dataset info")]),t._v(" "),t._l(t.list,function(e,i){return n("el-row",{key:i,staticClass:"dataset-row",attrs:{gutter:24}},[n("el-col",{attrs:{span:6}},[n("div",{staticClass:"dataset-item"},[n("p",{staticClass:"name dataset-title"},[t._v(t._s(e.role))]),t._v(" "),1===e.options.length?n("p",{staticClass:"value"},[t._v(t._s(e.roleValue))]):n("el-select",{attrs:{value:e.roleValue},on:{change:function(n){t.selectChange(e,n)}}},t._l(e.options,function(t,e){return n("el-option",{key:e,attrs:{value:t.value,label:t.label}})}))],1)]),t._v(" "),n("el-col",{attrs:{span:14}},[n("div",{staticClass:"dataset-item"},[n("p",{staticClass:"name"},[t._v("dataset")]),t._v(" "),n("p",{staticClass:"value"},[n("overflow-tooltip",{attrs:{"tooltip-options":{popperClass:"tooltip-content"},placement:"top"}},[n("template",{slot:"content"},t._l(e.datasetData[e.roleValue]||[],function(e,i){return n("p",{key:i},[t._v(t._s(e))])})),t._v(" "),n("span",{staticClass:"toolContent",attrs:{slot:"default"},slot:"default"},[t._v(t._s(e.datasetData?Object.values(e.datasetData[e.roleValue]).join(", "):""))])],2)],1)])])],1)})],2)},[],!1,null,null,null);u.options.__file="DatasetInfo.vue";var d=u.exports,p=n("m1cH"),f=n.n(p),g=n("P2sY"),v=n.n(g),m=n("7Qib"),y=n("FyfS"),b=n.n(y),x=n("mWkO"),I=10,w=5,C=10,T="#e8e8ef",S="Arial",A={drawPanel:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=k,e?(n||(n=x.a.getUUID("trangle")),e.drawLayer(n,t),n):new x.a(t)},events:{progress:function(t){var e=this;e.registerChainTranslate("progress",!1,e.settingNum(e.progress,t,function(t){e.progress=t},200))},setTime:function(t){var e=this;e.setCus("setTime",function(){e.time=N(t)})}}};function N(t){if(t.toString().match(":"))return t;if(!t)return"00:00:00";var e=Math.round(t/1e3),n=e%60,i=(e-n)/60,o=i%60,a=(i-o)/60;return n<10&&(n="0"+n),o<10&&(o="0"+o),a<10&&(a="0"+a),a+":"+o+":"+n}function _(t,e,n,i){!(arguments.length>4&&void 0!==arguments[4])||arguments[4]?(t.strokeStyle=function(t,e,n,i){var o=t.createLinearGradient(e.x,e.y,n.x,n.y),a=!0,r=!1,s=void 0;try{for(var l,c=b()(i);!(a=(l=c.next()).done);a=!0){var h=l.value;o.addColorStop(h.pos,h.color)}}catch(t){r=!0,s=t}finally{try{!a&&c.return&&c.return()}finally{if(r)throw s}}return o}(t,{x:e.x,y:e.y},{x:e.x+i,y:e.y},[{pos:0,color:"rgba(73, 78, 206, 0.6)"},{pos:1,color:"#24b68b"}]),t.lineWidth=10,t.lineCap="butt"):(t.lineWidth=2,t.lineCap="butt",t.strokeStyle=T);var o=Math.sin(Math.PI/4),a=Math.cos(Math.PI/4),r=e.x+o*n,s=e.y+a*n;return t.beginPath(),t.moveTo(e.x,e.y),t.arc(r,s,n,1.25*Math.PI,1.75*Math.PI),t.stroke(),n}function D(t,e,n,i){return{x:t+i*Math.sin(2*Math.PI*n/360),y:e+i*Math.cos(2*Math.PI*n/360)}}var k=function(){var t=this,e=t.$ctx;t.width=t.width,t.progress=t.progress||0,t.content=t.content||"elapsad",t.time=N(t.time)||"00:00:00",t.x=t.x||0,t.r=(t.width-2*t.x)/2/Math.sin(Math.PI/4),t.y=t.y||t.r-(t.width-2*t.x)/2+6,_(e,{x:t.x,y:t.y},t.r,t.width),function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:C,o=arguments[4],a=arguments[5],r=arguments[6],s=Math.sin(90*Math.PI/360)*o,l=Math.cos(90*Math.PI/360)*o,c=a.x,h=a.y,u=function(a){!function(){var u=a;if(0!==u){var d=Math.sin(2*(45-9*u)*Math.PI/360)*o,p=Math.cos(2*(45-9*u)*Math.PI/360)*o;c+=s-d,h+=l-p,s=d,l=p}var f=D(c,h,45-9*u,e),g=D(f.x,f.y,45-9*u,n),v=D(g.x,g.y,45-9*u,i);t.beginPath(),t.moveTo(f.x,f.y),t.lineTo(g.x,g.y),t.strokeStyle=T,t.lineWidth=1,t.stroke(),t.beginPath(),t.textAlign="center",t.textBaseLine="middle",t.fillStyle="#494ece",t.font=r+"px "+S,t.fillText(10*u,v.x,v.y)}()},d=0;d<11;d++)u(d)}(e,I,w,C,t.r,{x:t.x,y:t.y},10);var n=I+w+C+25;_(e,{x:t.x+Math.sin(Math.PI/4)*n,y:t.y+Math.cos(Math.PI/4)*n},t.r-n,t.width-Math.sin(Math.PI/4)*n*2,!1);var i=90*t.progress/100,o=Math.sin(90*Math.PI/360)*t.r,a=Math.cos(90*Math.PI/360)*t.r,r=t.x,s=t.y,l=D(r+=o-Math.sin(2*(45-i)*Math.PI/360)*t.r,s+=a-Math.cos(2*(45-i)*Math.PI/360)*t.r,45-i,n-10),c=D(l.x,l.y,45-i,30);e.beginPath(),e.moveTo(l.x,l.y),e.lineTo(c.x,c.y),e.strokeStyle="#494ece",e.lineWidth=1,e.stroke();var h=t.x+Math.sin(Math.PI/4)*t.r,u=t.y+Math.cos(Math.PI/4)*n-14;e.fillStyle="#bbbbc8",e.font="13px "+S,e.textAlign="center",e.textBaseLine="middle",e.fillText(t.content,h,u);var d=h,p=u+14+4;e.fillStyle="#494ece",e.font="16px "+S,e.fillText(t.time,d,p);var f=h,g=p+16+16+18,v=Math.round(t.progress)+"%";e.fillStyle="#494ece",e.font="bold 36px "+S,e.fillText(v,f,g)},E={name:"Panel",props:{progress:{type:Number,default:0},time:{type:Number|String,default:"00:00:00"}},data:function(){return{component:null,canvas:null}},watch:{progress:function(t,e){this.changeStatus(t)},time:function(t,e){this.setTime(t)}},mounted:function(){this.initing()},methods:{initing:function(){var t=this,e=document.getElementById("canvas");this.canvas=new x.a.CanvasUtil(e,{click:!1,mousemove:!1,mousedown:!1,mouseup:!1},function(){return t.getInstance(e),t.component.drawing(),t.component})},getInstance:function(t){this.component=A.drawPanel({canvas:document.getElementById("canvas"),props:{width:t.width,progress:this.progress,time:this.time,content:"elapsed",x:.3*t.width/2},clear:A.clear,events:A.events})},changeStatus:function(t){t>this.component.progress&&this.component.emit("progress",t)},setTime:function(t){this.component.emit("setTime",t)}}},$=(n("rVsi"),Object(h.a)(E,function(){var t=this.$createElement;return(this._self._c||t)("canvas",{attrs:{id:"canvas"}})},[],!1,null,"5e75adbf",null));$.options.__file="index.vue";var z=$.exports,P=n("ZU66"),M=n("dv4G"),L={filters:{formatSeconds:m.c},components:{Panel:z,Confirm:P.a},props:{data:{type:Object,default:function(){return{}}}},data:function(){return{jobId:this.$route.query.job_id}},computed:o()({},Object(a.c)(["icons"]),{jobStatus:function(){return this.data.status||""},isDone:function(){return["success","complete","failed","canceled"].includes(this.jobStatus)},isDoing:function(){return["waiting","running"].includes(this.jobStatus)},confirmText:function(){return this.isDone?["The job will continue from where it "+this.jobStatus,""]:this.isDoing?["Are you sure you want to "+(this.jobStatus,"cancel")+" this job?","You can't undo this action,it may take few seconds to update job status."]:["",""]},query:function(){return{job_id:this.$route.query.job_id,component_name:"pipeline"}}}),methods:{toDetails:function(){var t=o()({},this.query,{role:this.$route.query.role,party_id:this.$route.query.party_id,from:"Dashboard"});delete t.component_name,this.$router.push({path:"/details",query:t})},killJob:function(){var t=this;if(this.isDoing){var e,n=v()({},this.query);delete n.component_name,(e=this.$refs.confirm).confirm.apply(e,f()(this.confirmText)).then(function(){Object(M.f)(n).then(function(){t.$emit("stop",t.jobStatus?"cancel":"kill")})})}},retryJob:function(){var t,e=this;(t=this.$refs.confirm).confirm.apply(t,f()(this.confirmText)).then(function(){Object(M.i)(e.query).then(function(){e.$emit("retry")})})}}},R=(n("SwPG"),Object(h.a)(L,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col job flex-center justify-center pos-r"},[n("h3",{staticClass:"list-title"},[t._v("Job: "+t._s(t.jobId))]),t._v(" "),t.isDone?n("div",{staticClass:"job-end-container flex flex-col flex-center"},[n("img",{key:t.jobStatus,staticClass:"job-icon",attrs:{src:"success"===t.jobStatus||"complete"===t.jobStatus?t.icons.normal.success:t.icons.normal.failed,alt:""}}),t._v(" "),n("ul",{staticClass:"job-info flex space-around flex-wrap w-100"},[n("li",[n("p",{staticClass:"name"},[t._v("status")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.jobStatus))])]),t._v(" "),t.data.elapsed?n("li",[n("p",{staticClass:"name"},[t._v("duration")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t._f("formatSeconds")(t.data.elapsed)))])]):t._e(),t._v(" "),t.data.auc?n("li",[n("p",{staticClass:"name overflow-ellipsis"},[t._v("best score(AUC)")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.auc))])]):t._e(),t._v(" "),t.data.ratio?n("li",[n("p",{staticClass:"name"},[t._v("ratio")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.ratio))])]):t._e(),t._v(" "),t.data.count?n("li",[n("p",{staticClass:"name"},[t._v("count")]),t._v(" "),n("p",{staticClass:"value"},[t._v(t._s(t.data.count))])]):t._e()])]):t.isDoing?n("div",{staticClass:"echarts-container"},[n("panel",{staticClass:"echarts",attrs:{progress:t.data.progress,time:t.data.time}})],1):t._e(),t._v(" "),n("div",{staticClass:"btn-wrapper flex flex-col flex-center pos-a"},[n("el-button",{ref:"jobDetails",staticClass:"detail-entry-button",attrs:{type:"primary",round:""},on:{click:t.toDetails}},[n("span",[t._v("view this job")]),t._v(" "),n("i",{staticClass:"arrow"})]),t._v(" "),t.isDone&&"success"!==t.jobStatus&&"complete"!==t.jobStatus?n("p",{staticClass:"kill text-primary pointer",staticStyle:{"margin-top":"10px"},on:{click:t.retryJob}},[t._v("retry")]):t._e(),t._v(" "),t.isDoing?n("p",{staticClass:"kill text-primary pointer",on:{click:t.killJob}},[t._v("cancel")]):t._e()],1),t._v(" "),n("confirm",{ref:"confirm"})],1)},[],!1,null,"3a11e76d",null));R.options.__file="Job.vue";var j=R.exports,U=n("lBxe"),O=n("tH+O"),B={components:{IconHoverAndActive:O.default,Dag:U.a},props:{dagData:{type:Object,default:null}},data:function(){return{showGraph:!1}},computed:o()({},Object(a.c)(["icons"])),methods:{zoomOut:function(){this.showGraph=!0}}},F=Object(h.a)(B,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col graph flex-center justify-center"},[n("div",{staticClass:"flex flex-row space-between"},[n("h3",{staticClass:"list-title"},[t._v("Graph")]),t._v(" "),n("icon-hover-and-active",{attrs:{"class-name":"img-wrapper","default-url":t.icons.normal.fullscreen,"hover-url":t.icons.hover.fullscreen,"active-url":t.icons.active.fullscreen},on:{clickFn:t.zoomOut}})],1),t._v(" "),t.dagData?n("div",{staticClass:"wrapper w-100 pointer"},[n("dag",{attrs:{id:"graphCanvas","dag-info":t.dagData,thumbnail:!0,"pure-pic":!0,"operation-list":!1}})],1):t._e(),t._v(" "),n("el-dialog",{attrs:{visible:t.showGraph,"close-on-click-modal":!1,width:"50%",top:"10vh"},on:{"update:visible":function(e){t.showGraph=e}}},[n("h3",{staticClass:"list-title t-a-c",staticStyle:{"font-size":"14px",color:"#3E4052"},attrs:{slot:"title"},slot:"title"},[t._v("GRAPH")]),t._v(" "),t.dagData?n("div",{staticClass:"wrapper w-100",staticStyle:{width:"100%",height:"70vh",position:"relative"}},[n("dag",{ref:"purePicBigerDag",attrs:{id:"dialogCanvas","dag-info":t.dagData,"pure-pic":!0}})],1):t._e()])],1)},[],!1,null,null,null);F.options.__file="Graph.vue";var G=F.exports,W={props:{jobId:{type:String,default:""},role:{type:String,default:""},partyId:{type:String,default:""}}},H=n("V/pm"),Z=n("DzJC"),Y=n.n(Z),J={GUEST:1,HOST:2,ARBITER:3},K={components:{DatasetInfo:d,Job:j,Graph:G},mixins:[W],data:function(){return{loading:!1}},computed:o()({},Object(a.c)("job",{oldJobId:"jobId"}),Object(a.d)("job",["job"]),{datasetInfo:function(){var t=this.job&&this.job.summary_date&&this.job.summary_date.dataset;return t?function(t){var e=t.roles,n=t.dataset,i=l()(e).map(function(t){var i=e[t].map(function(t){return{value:t,label:t}});return{role:t.toUpperCase(),options:i,roleValue:i[0].label,datasetData:n[t]||""}});return i.sort(function(t,e){return function(t,e){return te?1:t>=e?0:NaN}(J[t.role],J[e.role])}),i}(t):[]},jobDetail:function(){var t=this.job&&this.job.summary_date&&this.job.summary_date.job;return t?{status:t.fStatus||this.job.status,elapsed:t.fElapsed,progress:t.fProgress||this.job.progress||0,time:this.job.duration}:{}},DAGData:function(){return this.job&&this.job.dependency_data}}),watch:{$route:{handler:function(){this.$route.query.job_id!==this.oldJobId&&this.cleanJob(),this.job&&this.isDone(this.job.status)||this.initJobSocket()},immediate:!0}},created:function(){this.handleMessage=Y()(this.handleMessage,900,{leading:!0})},beforeDestroy:function(){this.ws&&this.ws.close()},methods:o()({},Object(a.b)("job",["updateJob","cleanJob"]),{initJobSocket:function(){var t=this;if(!this.ws){var e=this.jobId,n=this.role,i=this.partyId;e&&n&&i||console.warn("Missing required parameters"),this.ws=new H.a("/websocket/progress/"+e+"/"+n+"/"+i),this.loading=!0,this.ws.addEventListener("message",function(e){t.loading=!1;var n=void 0;try{n=JSON.parse(e.data)}catch(e){return n=null,void t.ws.close()}t.handleMessage(n)})}return this.ws},isDone:function(t){return["success","complete","failed","canceled"].includes(t)},handleMessage:function(t){this.isDone(t.status)&&this.ws&&this.ws.close(),this.updateJob(t)},onStop:function(t){this.ws.close(),this.ws=null,this.initJobSocket()},onRetry:function(){this.ws&&(this.ws.close(),this.ws=null),this.initJobSocket()}})},Q=(n("cDij"),Object(h.a)(K,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-row",{staticClass:"dash-board-list",attrs:{gutter:24}},[n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("dataset-info",{attrs:{list:t.datasetInfo}})],1),t._v(" "),n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("job",{attrs:{data:t.jobDetail},on:{stop:t.onStop,retry:t.onRetry}})],1),t._v(" "),n("el-col",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],attrs:{span:8}},[n("graph",{attrs:{"dag-data":t.DAGData}})],1)],1)},[],!1,null,null,null));Q.options.__file="Board.vue";var X,V=Q.exports,q=n("Dbz9"),tt=n.n(q),et=n("gDS+"),nt=n.n(et),it=n("YEIV"),ot=n.n(it),at=n("cU3k"),rt=["partyError","partyWarning","partyInfo","partyDebug","jobSchedule","jobError"],st=rt[0],lt=rt[1],ct=rt[2],ht=rt[3],ut=rt[4],dt=rt[5],pt=(X={logSize:"logSize",log:"log"},ot()(X,st,"log"),ot()(X,lt,"log"),ot()(X,ct,"log"),ot()(X,ht,"log"),ot()(X,ut,"log"),ot()(X,dt,"log"),X);function ft(t,e){for(var n=arguments.length,i=Array(n>2?n-2:0),a=2;a1&&void 0!==arguments[1])||arguments[1],n=this.counts[t],i=this.logs[t]||[],o=void 0,a=void 0;if(i.length?e?(a=i[0].lineNum-1,o=Math.max(1,a-50)):(o=i[i.length-1].lineNum+1,a=n):(a=n,o=Math.max(a-50,1)),n>0){if(as[1])a=a.concat(i,n);else if(r[1]0?n("span",{staticClass:"tip-count",class:e},[t._v(t._s(t.counts[i]))]):t._e()])})),t._v(" "),n("div",{staticClass:"log-containers"},t._l(t.LOG_TYPES,function(e){return n("log",{directives:[{name:"show",rawName:"v-show",value:t.currentLogType===e,expression:"currentLogType === type"}],key:e,attrs:{logs:t.logs[e]},on:{"scroll-top":function(n){t.handleScrollTop(e)}}})}))]),t._v(" "),n("div",{ref:"checklog",staticClass:"log-extend flex flex-center justify-center"},[n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:t.expandAll,expression:"expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardFold,"hover-url":t.icons.hover.dashBoardFold,"active-url":t.icons.active.dashBoardFold},on:{clickFn:t.toggle}}),t._v(" "),n("icon-hover-and-active",{directives:[{name:"show",rawName:"v-show",value:!t.expandAll,expression:"!expandAll"}],attrs:{"default-url":t.icons.normal.dashBoardUnfold,"hover-url":t.icons.hover.dashBoardUnfold,"active-url":t.icons.active.dashBoardUnfold},on:{clickFn:t.toggle}})],1)])},[],!1,null,"3e3666f0",null));vt.options.__file="Logs.vue";var mt=vt.exports,yt={components:{BreadcrumbExt:r.a,Board:V,Logs:mt},computed:o()({},Object(a.c)(["icons"]),{jobId:function(){return this.$route.query.job_id},role:function(){return this.$route.query.role},partyId:function(){return this.$route.query.party_id},ids:function(){return{jobId:this.jobId,role:this.role,partyId:this.partyId}}})},bt=(n("lJfc"),Object(h.a)(yt,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"dashboard-container bg-dark app-container"},[e("breadcrumb-ext",{attrs:{breads:[{type:"content",val:"Dashboard"}]}}),this._v(" "),e("board",this._b({},"board",this.ids,!1)),this._v(" "),e("logs",{attrs:{ids:this.ids}})],1)},[],!1,null,null,null));bt.options.__file="index.vue";e.default=bt.exports},C98N:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".log-content[data-v-4d72c288] {\n height: 100%;\n white-space: pre-wrap;\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n}\n.log-contents[data-v-4d72c288] {\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n position: absolute;\n width: 100%;\n background: #fff;\n}\n.log-contents .log-lineNum[data-v-4d72c288] {\n font-family: 'lucon', 'Lucida Console', Monaco, monospace, 'Arial';\n color: #c6c8cc;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n line-height: 20px;\n}\n.log-contents .log-content[data-v-4d72c288] {\n color: #999ba3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n line-height: 20px;\n}\n.log-tip[data-v-4d72c288] {\n width: 100%;\n text-align: center;\n color: #999ba3;\n}\n",""])},Do9X:function(t,e,n){var i=n("N97a");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("5b0c9170",i,!0,{})},DzJC:function(t,e,n){var i=n("sEfC"),o=n("GoyQ"),a="Expected a function";t.exports=function(t,e,n){var r=!0,s=!0;if("function"!=typeof t)throw new TypeError(a);return o(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),i(t,e,{leading:r,maxWait:e,trailing:s})}},EYjE:function(t,e,n){var i=n("C98N");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("96000c26",i,!0,{})},N97a:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},NdWW:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICMyNGI2OGI7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTUiIGRhdGEtbmFtZT0i57uEIDE5MTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTU5OCkiPg0KICAgIDxnIGlkPSLmpK3lnIZfMjczIiBkYXRhLW5hbWU9IuakreWchiAyNzMiIGNsYXNzPSJjbHMtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTY2IDU5OCkiPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTIiIGN4PSI5IiBjeT0iOSIgcj0iOSIvPg0KICAgICAgPGNpcmNsZSBjbGFzcz0iY2xzLTMiIGN4PSI5IiBjeT0iOSIgcj0iOCIvPg0KICAgIDwvZz4NCiAgICA8cGF0aCBpZD0i6Lev5b6EXzUxIiBkYXRhLW5hbWU9Iui3r+W+hCA1MSIgY2xhc3M9ImNscy0xIiBkPSJNMTEzMC4yLDM2OS41MThsMy44NzIsMy43MzEsNS45NDYtNS43MjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTkuOTg2IDIzNi43MykiLz4NCiAgPC9nPg0KPC9zdmc+DQo="},PbIf:function(t,e,n){"use strict";var i=n("EYjE");n.n(i).a},PpD2:function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n("eOYL"),o={drawLine:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=a,e?(n||(n=i.a.getUUID("line")),e.drawLayer(n,t),n):new i.a(t)}};function a(){!this.curve||this.point.length<=2?function(){var t=this,e=t.$ctx;i.a.stroke(e,t.style,function(e){for(var n=0;nu?u+.4*f:u-.4*f},v={x:d,y:p>u?p-.4*f:p+.4*f};if(r.push(g),n&&h===d){"left"===n?n=-s:"right"===n&&(n=s);var m={x:h+n,y:p>u?u+.4*f*2:u-.4*f*2};r.push(m);var y={x:h+n,y:p>u?p-.4*f*2:p+.4*f*2};r.push(y)}r.push(v)}return r.push(e),r}e.b=o},QIyF:function(t,e,n){var i=n("Kz5y");t.exports=function(){return i.Date.now()}},QzUs:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".toolContent {\n display: inline-block;\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4159d1;\n}\n",""])},SwPG:function(t,e,n){"use strict";var i=n("nXki");n.n(i).a},U8kZ:function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdmlld0JveD0iMCAwIDE4IDE4Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPg0KICAgICAgLmNscy0xLCAuY2xzLTMgew0KICAgICAgICBmaWxsOiBub25lOw0KICAgICAgfQ0KDQogICAgICAuY2xzLTEgew0KICAgICAgICBzdHJva2U6ICNmZjY0NjQ7DQogICAgICAgIHN0cm9rZS13aWR0aDogMnB4Ow0KICAgICAgfQ0KDQogICAgICAuY2xzLTIgew0KICAgICAgICBzdHJva2U6IG5vbmU7DQogICAgICB9DQogICAgPC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyBpZD0i57uEXzE5MTYiIGRhdGEtbmFtZT0i57uEIDE5MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05NjYgLTYzNikiPg0KICAgIDxnIGlkPSLmpK3lnIZfNjMiIGRhdGEtbmFtZT0i5qSt5ZyGIDYzIiBjbGFzcz0iY2xzLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk2NiA2MzYpIj4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0yIiBjeD0iOSIgY3k9IjkiIHI9IjkiLz4NCiAgICAgIDxjaXJjbGUgY2xhc3M9ImNscy0zIiBjeD0iOSIgY3k9IjkiIHI9IjgiLz4NCiAgICA8L2c+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTYiIGRhdGEtbmFtZT0i55u057q/IDExNiIgY2xhc3M9ImNscy0xIiB4Mj0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogICAgPGxpbmUgaWQ9IuebtOe6v18xMTciIGRhdGEtbmFtZT0i55u057q/IDExNyIgY2xhc3M9ImNscy0xIiB4MT0iNiIgeTI9IjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDk3MiA2NDIpIi8+DQogIDwvZz4NCjwvc3ZnPg0K"},U9kv:function(t,e,n){var i=n("uy/s");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("ff63f00e",i,!0,{})},UMXJ:function(t,e,n){"use strict";n.d(e,"b",function(){return h});var i=n("gDS+"),o=n.n(i),a=n("UVkp"),r=n("eOYL"),s={drawText:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=c,t.here=l,e?(n||(n=r.a.getUUID("text")),e.drawLayer(n,t),n):new r.a(t)},LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,CENTER:a.a.CENTER};function l(t){var e=this,n=e.$ctx.measureText(e.text).width,i=e.$meta.get("$translate")||{x:0,y:0},o=e.point.x||e.point[0]||0,a=e.point.y||e.point[1]||0,r=(t.x||t[0]||0)-i.x,l=(t.y||t[1]||0)-i.y,c=parseInt(e.style.font),h=!1;return e.position===s.RIGHT?r>=o-n&&r<=o&&l>=a-c/2&&l<=a+c/2&&(h=!0):e.position===s.CENTER?r>=o-n/2&&r<=o+n/2&&l>=a-c/2&&l<=a+c/2&&(h=!0):r>=o&&r<=o+n&&l>=a-c/2&&l<=a+c/2&&(h=!0),h}function c(){var t=JSON.parse(o()(this.style));t.textBaseline=a.a.TEXTBASELINE,t.textAlign="left",this.position===s.RIGHT?t.textAlign="right":this.position===s.CENTER&&(t.textAlign="center"),this.style=t,function(){var t=this;t.text=t.text.toString();for(var e=t.$ctx,n=h(e,t.text,t.style),i=t.width||Math.ceil(n.width),o=parseInt(t.style.font),a=t.breakLine?t.height?Math.floor(t.height/(o+t.betweenEachLine))>t.breakLine?t.breakLine:Math.floor(t.height/(o+t.betweenEachLine)):t.breakLine:1,s=t.width&&Math.ceil(parseInt(n.width)/t.width)i;)g--;d.push(t.text.substr(p,g)),p+=g}if(l){var v=d[d.length-1].split("");v.splice(-3,3,"..."),d[d.length-1]=v.join("")}for(var m in e.save(),t.style)e[m]=t.style[m];t.angle&&r.a.rotate(e,t.point,t.angle);for(var y=0;y1?t.betweenEachLine:0));e.restore()}.call(this)}function h(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o={};for(var a in t.save(),n)t[a]=n[a];var r=t.measureText(e);return o.width=r.width,o.ylength=0!==Math.cos(i)?o.width*Math.cos(i):0,o.xlength=0!==Math.sin(i)?o.width*Math.cos(i):o.width,t.restore(),o}e.a=s},UVkp:function(t,e,n){"use strict";e.a={_RADIUS:4,_SANGLE:0,_EANGLE:2*Math.PI,LEFT_UP:"LEFT UP",RIGHT_UP:"RIGHT UP",LEFT_DOWN:"LEFT DOWN",RIGHT_DOWN:"RIGHT DOWN",CENTER:"CENTER",UP:"UP",BOTTOM:"BOTTOM",LEFT:"LEFT",RIGHT:"RIGHT",TEXTBASELINE:"middle",TEXTFAMILY:"Lato",TOLLTIP_TANGLE_SIZE:5,TOLLTIP_BETWEEN:5,TOLLTIP_PADDING:12}},"V/pm":function(t,e,n){"use strict";var i=n("P2sY"),o=n.n(i),a=n("iCc5"),r=n.n(a),s=n("V7oC"),l=n.n(s),c=n("gDS+"),h=n.n(c),u={autoOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e3,timeoutInterval:2e3,maxReconnectAttempts:5,reconnectDecay:1.5,heartCheck:!0};function d(t,e,n){var i=new CustomEvent(t,{detail:n});return i.originEvent=e,i}var p=function(){function t(e,n){var i=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r()(this,t),this.url=e,this.protocols=n,this.options=o()({},u,a),this.ws=null,this.timeouted=!1,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.forcedClose=!1;var s=document.createElement("div");this.eventTarget=s,this.addEventListener=s.addEventListener.bind(s),this.removeEventListener=s.removeEventListener.bind(s),this.dispatchEvent=s.dispatchEvent.bind(s),this.options.autoOpen&&setTimeout(function(){i.open(!1)})}return l()(t,[{key:"open",value:function(e){var n=this,i=this.dispatchEvent,o=this.options,a=o.reconnectInterval,r=o.timeoutInterval,s=o.reconnectDecay,l=o.maxReconnectAttempts,c=o.maxReconnectInterval,u=o.heartCheck;if(console.log(this.reconnectAttempts),this.reconnectAttempts){if(l&&this.reconnectAttempts>l)return}else i(d("connecting")),this.reconnectAttempts=0;this.ws||(this.ws=new WebSocket(t.baseUrl+this.url,this.protocols));var p=this.ws,f=null;u&&(f=function(t){return{timeout:6e4,timer:null,reset:function(){clearTimeout(this.timer),this.start()},start:function(){this.timer=setTimeout(function(){t.send(h()(""))},this.timeout)},stop:function(){clearTimeout(this.timer)}}}(p));var g=setTimeout(function(){n.timeouted=!0,n.ws.close(),n.timeouted=!1},r);p.onopen=function(t){clearTimeout(g),n.protocols=p.protocols,n.readyState=WebSocket.OPEN,d("open",t).isReconnect=e,e=!1,i(d("open",t)),f&&f.start()},p.onclose=function(t){if(clearTimeout(g),f&&f.stop(),n.ws=null,n.forcedClose)n.readyState=WebSocket.CLOSED,i(d("close",t));else{n.readyState=WebSocket.CONNECTING;var o=d("connecting");o.code=t.code,o.reason=t.reason,o.wasClean=t.wasClean,i(o),e||n.timeouted||i(d("close",t));var r=a*Math.pow(s,n.reconnectAttempts);setTimeout(function(){n.reconnectAttempts++,n.open(!0)},Math.min(r,c))}},p.onmessage=function(t){var e=d("message",t);e.data=t.data,i(e),f&&f.reset()},p.onerror=function(t){i(d("error",t))}}},{key:"send",value:function(t){if(this.ws)return this.ws.send(t)}},{key:"close",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3,e=arguments[1];this.forcedClose=!0,this.ws&&this.ws.close(t,e)}}]),t}();p.CONNECTING=WebSocket.CONNECTING,p.OPEN=WebSocket.OPEN,p.CLOSING=WebSocket.CLOSING,p.CLOSE=WebSocket.CLOSE,p.PROTOCOL="https:"===window.location.protocol?"wss://":"ws://",p.baseUrl=""+p.PROTOCOL+location.host,e.a=p},WOIZ:function(t,e){},a6ns:function(t,e,n){"use strict";var i=n("y+41");n.n(i).a},aWcS:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",""])},arco:function(t,e,n){"use strict";var i=n("Do9X");n.n(i).a},bw2v:function(t,e,n){"use strict";var i=n("U9kv");n.n(i).a},cDij:function(t,e,n){"use strict";var i=n("gIJO");n.n(i).a},cU3k:function(t,e,n){"use strict";var i=n("QbLZ"),o=n.n(i),a=n("ODRq"),r=n.n(a),s=n("FyfS"),l=n.n(s),c=n("bdgK"),h={name:"VirtualScrollItem",inject:["scrollData","scrollParent","scrollResizeObserver"],props:{item:{type:Object,required:!0},active:{type:Boolean,required:!0},index:{type:Number,default:void 0},tag:{type:String,default:"div"}},computed:{id:function(){return this.item[this.scrollData.keyField]},size:function(){return this.scrollData.validSizes[this.id]&&this.scrollData.sizes[this.id]||0},finalActive:function(){return this.active&&this.scrollData.active}},watch:{id:function(){this.size||this.onDataUpdate()},finalActive:function(t){this.size||(t?this.scrollParent.$_undefinedMap[this.id]||(this.scrollParent.$_undefinedSizes++,this.scrollParent.$_undefinedMap[this.id]=!0):this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=!1)),this.scrollResizeObserver?t?this.observeSize():this.unobserveSize():t&&this.$_pendingScrollUpdate===this.id&&this.updateSize()}},created:function(){this.$_forceNextScrollUpdate=null,this.scrollResizeObserver||this.vscrollParent.$on("vscroll:update",this.onScrollUpdate)},mounted:function(){this.scrollData.active&&(this.updateSize(),this.observeSize())},methods:{updateSize:function(){this.finalActive?this.$_pendingSizeUpdate!==this.id&&(this.$_pendingSizeUpdate=this.id,this.$_forceNextScrollUpdate=null,this.$_pendingScrollUpdate=null,this.computeSize(this.id)):this.$_forceNextScrollUpdate=this.id},computeSize:function(t){var e=this;this.$nextTick(function(){if(e.id===t){var n=e.$el.offsetWidth,i=e.$el.offsetHeight;e.applySize(n,i)}e.$_pendingSizeUpdate=null})},applySize:function(t,e){var n=Math.round(e);n&&this.size!==n&&(this.scrollParent.$_undefinedMap[this.id]&&(this.scrollParent.$_undefinedSizes--,this.scrollParent.$_undefinedMap[this.id]=void 0),this.$set(this.scrollData.sizes,this.id,n),this.$set(this.scrollData.validSizes,this.id,!0))},observeSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.observe(this.$el),this.$el.addEventListener("resize",this.onResize))},unobserveSize:function(){this.scrollResizeObserver&&(this.scrollResizeObserver.unobserve(this.$el),this.$el.removeEventListener("resize",this.onResize))},onResize:function(t){var e=t.detail.contentRect,n=e.width,i=e.height;this.applySize(n,i)},onScrollUpdate:function(t){var e=t.force;!this.finalActive&&e&&(this.$_pendingScrollUpdate=this.id),this.$_forceNextScrollUpdate!==this.id&&!e&&this.size||this.updateSize()},onDataUpdate:function(){this.updateSize()}},render:function(t){return t(this.tag,this.$slots.default)}},u=n("KHd+"),d=Object(u.a)(h,void 0,void 0,!1,null,null,null);d.options.__file="VirtualScrollItem.vue";var p=d.exports,f=0,g={name:"VirtualScroll",directives:{ObserveVisibility:n("hf7O").a},components:{VirtualScrollItem:p},provide:function(){return this.$_resizeObserver=new c.default(function(t){var e=!0,n=!1,i=void 0;try{for(var o,a=l()(t);!(e=(o=a.next()).done);e=!0){var r=o.value;if(r.target){var s=new CustomEvent("resize",{detail:{contentRect:r.contentRect}});r.target.dispatchEvent(s)}}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}),{scrollData:this.scrollData,scrollParent:this,scrollResizeObserver:this.$_resizeObserver}},props:{items:{type:Array,required:!0},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},minItemSize:{type:Number,required:!0},buffer:{type:Number,default:200},keyField:{type:String,default:"lineNum"},emitScroll:{type:Boolean,default:!1}},data:function(){return{pool:[],ready:!1,totalSize:0,scrollData:{active:!0,sizes:{},validSizes:{},keyField:this.keyField}}},computed:{itemsWithSize:function(){for(var t=[],e=this.items,n=this.keyField,i=this.scrollData.sizes,o=0;o1&&void 0!==arguments[1]&&arguments[1],n=this.$_unusedViews,i=t.info.type,o=n.get(i);o||(o=[],n.set(i,o)),o.push(t),e||(t.info.used=!1,t.position=-9999,this.$_views.delete(t.info.key))},handleScroll:function(){var t=this;this.checkPosition(),this.$_scrollDirty||(this.$_scrollDirty=!0,requestAnimationFrame(function(){t.$_scrollDirty=!1,t.updateItems(!1,!0).continuous||(clearTimeout(t.$_refreshTimout),t.$_refreshTimout=setTimeout(t.handleScroll,100))}))},getRange:function(t){var e,n=0,i=this.items.length,o=i-1,a=this.sizes,r=this.buffer;t.start-=r,t.end+=r;var s=0,l=o,c=~~(i/2),h=void 0;do{h=c,a[c].accumulatort.start&&(l=c),c=~~((s+l)/2)}while(c!==h);for(c<0&&(c=0),e=c,n=c;ni&&(n=i),{startIndex:e,endIndex:n}},updateItems:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.items,i=this.sizes,o=this.pool,a=this.keyField,s=this.$_computedMinItemSize,l=this.$_views,c=this.$_unusedViews,h=n.length,u=this.getScroll();if(e){var d=u.start-this.$_lastStartPosition;if(d<0&&(d=-d),d=this.$_startIndex;if(this.$_continuous!==y){if(y){l.clear(),c.clear();for(var b=0,x=o.length;b=g)&&this.unuseView(m));for(var C=y?null:new r.a,T=void 0,S=void 0,A=void 0,N=void 0,_=f;_=A.length)&&(m=this.addView(o,_,T,D),this.unuseView(m,!0),A=c.get(S)),(m=A[N]).item=T,m.info.used=!0,m.info.index=_,m.info.key=D,C.set(S,N+1),N++),l.set(D,m)),m.position=i[_-1].accumulator):m&&this.unuseView(m)}return this.$_startIndex=f,this.$_endIndex=g,clearTimeout(this.$_sortTimer),this.$_sortTimer=setTimeout(this.sortViews,300),{continuous:y}},getScroll:function(){var t=this.$el;return{start:t.scrollTop,end:t.scrollTop+t.clientHeight}},sortViews:function(){this.pool.sort(function(t,e){return t.info.index-e.info.index})},checkPosition:function(){var t=this.getScroll();this.ready&&0===t.start&&this.$emit("scroll-top"),this.ready&&this.$el.scrollHeight-t.end==0&&this.$emit("scroll-bottom"),this.ready&&this.emitScroll&&this.$emit("scroll",o()({},t,{top:t.start,bottom:this.$el.scrollHeight-t.end}))},handleVisibilityChange:function(t,e){var n=this;this.ready&&(t||0!==e.boundingClientRect.width||0!==e.boundingClientRect.height)&&(this.$emit("vscroll:update",{force:!1}),requestAnimationFrame(function(){n.updateItems(!1)}))},addResizeObserver:function(){var t=new c.default(this.handleResize);t.observe(this.$el),this.$once("hook:beforeDestory",function(){t.disconnect()})},handleResize:function(){this.ready&&(this.updateItems(!1),this.forceUpdate())},scrollToItem:function(t){var e=t>0?this.sizes[t-1].accumulator:0;this.scrollToPosition(e)},scrollToPosition:function(t){this.$el.scrollTop=t},scrollToBottom:function(){var t=this;if(!this.$_scrollingToBottom){this.$_scrollingToBottom=!0;var e=this.$el;this.$nextTick(function(){e.scrollTop=e.scrollHeight+5e3;requestAnimationFrame(function n(){e.scrollTop=e.scrollHeight+5e3,requestAnimationFrame(function(){e.scrollTop=e.scrollHeight+5e3,0===t.$_undefinedSizes?t.$_scrollingToBottom=!1:requestAnimationFrame(n)})})})}},forceUpdate:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.scrollData.validSizes={}),this.$emit("vscroll:update",{force:!0})}}},v=(n("dmqG"),Object(u.a)(g,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.handleVisibilityChange,expression:"handleVisibilityChange"}],staticClass:"scroller",class:{ready:t.ready},on:{"&scroll":function(e){return t.handleScroll(e)}}},[n("div",{ref:"wrapper",staticClass:"wrap",style:{minHeight:t.totalSize+"px"}},t._l(t.pool,function(e){return n("virtual-scroll-item",{key:e.info.id,staticClass:"item-view",style:t.ready?{transform:"translateY("+e.position+"px)"}:null,attrs:{item:e.item,index:e.info.index,active:e.info.used}},[t._t("default",null,{item:e.item,index:e.info.index,active:e.info.used})],2)}))])},[],!1,null,"2dab1a8e",null));v.options.__file="index.vue";var m={components:{Scroll:v.exports},props:{logs:{type:Array,default:null}},data:function(){return{bottom:0}},watch:{logs:function(t,e){if(t)if(e){if(e.lengtha&&n===i){if(this.bottom>0)return;this.afterScrollMount()}}}else this.afterScrollMount()}},methods:{afterScrollMount:function(){this.$refs.scroller&&this.$refs.scroller.scrollToBottom()},scrollTo:function(t){this.$refs.scroller&&this.$refs.scroller.scrollToItem(t)},onScroll:function(t){this.bottom=t.bottom},setSpace:function(t){return t}}},y=(n("PbIf"),Object(u.a)(m,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"log-content"},[t.logs?t.logs.length?n("scroll",{ref:"scroller",staticClass:"log-contents",attrs:{items:t.logs,"min-item-size":20,"emit-scroll":""},on:{"scroll-top":function(e){t.$emit("scroll-top")},scroll:t.onScroll,"hook:mounted":t.afterScrollMount},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.item;return n("div",{staticClass:"flex flex-row",attrs:{id:i.lineNum}},[n("span",{staticClass:"log-lineNum"},[t._v(t._s(i.lineNum))]),t._v(" "),n("span",{staticClass:"log-content"},[t._v(t._s(i.content))])])}}])}):n("div",{staticClass:"log-tip"},[n("span",[t._v("no data")])]):n("div",{staticClass:"log-tip"},[n("span",[t._v("loading...")])])],1)},[],!1,null,"4d72c288",null));y.options.__file="index.vue";e.a=y.exports},dmqG:function(t,e,n){"use strict";var i=n("qVEv");n.n(i).a},dyDN:function(t,e,n){"use strict";n("EJiy");var i=Number(document.documentMode),o=/([\:\-\_]+(.))/g,a=/^moz([A-Z])/,r=function(t){return t.replace(o,function(t,e,n,i){return i?n.toUpperCase():n}).replace(a,"Moz$1")},s=i<9?function(t,e){if(!t||!e)return null;"float"===(e=r(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(n){return t.style[e]}}:function(t,e){if(!t||!e)return null;"float"===(e=r(e))&&(e="cssFloat");try{var n=document.defaultView.getComputedStyle(t,"");return t.style[e]||n?n[e]:null}catch(n){return t.style[e]}};var l=n("DhVD"),c=n.n(l),h={name:"OverflowTooltip",props:{tag:{type:String,default:"div"},effect:{type:String,default:"dark"},placement:{type:String,default:"top"},tooltipOptions:{type:Object,default:function(){return{}}}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=c()(50,function(t){return t.handleShowPopper()})},methods:{onMouseEnter:function(){for(var t=this.$slots.default[0].elm;t&&1!==t.nodeType;)t=t.nextSibling;var e=document.createRange();if(e.setStart(t,0),e.setEnd(t,t.childNodes.length),Math.floor(e.getBoundingClientRect().width)+((+s(t,"paddingLeft")||0)+(+s(t,"paddingRight")||0))>t.offsetWidth||t.scrollWidth3&&void 0!==arguments[3])||arguments[3];if(!this.inited)return!1;n=n||20;var o=this,a=this.canvasDom.width-2*n,r=this.canvasDom.height-2*n,s=t.call(this.lay),l=r/s.height,c=a/s.width,h=l1&&(h=1/this.scaleTime,this.scaleTime=1):this.scaleTime*=h,!0===o.interactive.mousewheel?this.lay.emit("scale",h,s.point,function(){e&&e(),o.lay.$ctx.translate(-o.translateX,-o.translateY),o.translateX=0,o.translateY=0,o.lay.emit("$translate",o.translateX,o.translateY)}):o.interactive.mousewheel&&o.interactive.mousewheel.operation(this.lay,h,s.point),!0}},{key:"scaleBigger",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime+.1)/this.scaleTime;this.scaleTime+=.1,this.lay.emit("scale",n,{x:t,y:e})}},{key:"scaleSmaller",value:function(){var t=this.canvasDom.width/2-this.translateX,e=this.canvasDom.height/2-this.translateY,n=(this.scaleTime-.1)/this.scaleTime;this.scaleTime-=.1,this.lay.emit("scale",n,{x:t,y:e})}}]),t}();function m(){for(var t={},e=arguments.length,n=Array(e),i=0;i1?n-1:0),a=1;a1&&void 0!==arguments[1]?arguments[1]:7,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,i=(new Date).getTime().toString().substr(-e),o=Math.ceil(Math.random()*Math.pow(10,n)).toString();return t+"_"+i+"_"+(o=(n>o.length?new Array(n-o.length).fill(0).join(""):"")+o)}function x(t,e){var n=t.toLowerCase();if(n&&/^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/.test(n)){if(4===n.length){for(var i="#",o=1;o<4;o+=1)i+=n.slice(o,o+1).concat(n.slice(o,o+1));n=i}for(var a=[],r=1;r<7;r+=2)a.push(parseInt("0x"+n.slice(r,r+2)));return"rgba("+a.join(",")+","+(void 0!==e?e:1)+")"}return n}function I(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!i&&t.beginPath(),n(t),!i){for(var o in t.save(),e)t[o]=e[o];t.stroke(),t.restore(),t.closePath()}}function w(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!i&&t.beginPath(),n(t),!i){for(var o in t.save(),e)t[o]=e[o];t.fill(),t.restore(),t.closePath()}}function C(t,e){var n=t.$ctx;t.stroke&&I(n,t.style,e),t.fill&&w(n,t.style,e),t.justPath&&e(n)}function T(t,e,n){var i=e.x||e[0],o=e.y||e[1];t.translate(i,o),t.rotate(n),t.translate(-i,-o)}function S(t,e,n){var i=t.x||t[0]||0,o=t.y||t[1]||0,a=e.x||e[0]||0,r=e.y||e[1]||0;return{x:a+A((i-a)*n),y:r+A((o-r)*n)}}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6;return parseFloat(parseFloat(t).toFixed(e))}function N(t){if(!t)return"00:00:00";if(t.toString().match(":"))return t;t=(new Date).getTime()-t;var e=Math.round(t/1e3),n=e%60,i=(e-n)/60,o=i%60,a=(i-o)/60;return n=n<10?"0"+n:n,o=o<10?"0"+o:o,(a=a<10?"0"+a:a)+":"+o+":"+n}var _=n("EJiy"),D=n.n(_);var k=new r.a,E=null,$=10;function z(){var t=[],e=!0,n=!1,i=void 0;try{for(var a,r=o()(k);!(e=(a=r.next()).done);e=!0){var s=a.value,l=s[1].getOnce();if(null===l)k.delete(s[0]);else if(l){P(s[1].lay);var c=s[1].lay.getTopNode(),h=0,u=!0,d=!1,p=void 0;try{for(var f,g=o()(t);!(u=(f=g.next()).done);u=!0){var v=f.value;if(c.$uuid===v.$uuid)break;h++}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}h>=t.length&&t.push(c),s[1].chainFinish&&k.delete(s[0])}}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}var m=!0,y=!1,b=void 0;try{for(var x,I=o()(t);!(m=(x=I.next()).done);m=!0){x.value.drawing()}}catch(t){y=!0,b=t}finally{try{!m&&I.return&&I.return()}finally{if(y)throw b}}k.size>0?E=setTimeout(z,$):(clearTimeout(E),E=null)}function P(t){t.$struct&&t.$struct()}var M=function(){function t(e,n,i,a){d()(this,t),this.name=e,this.repeat=n,this.chainList=[],this.chainFinish=!1,this.lay=i,this.hasCalledOnce=!1;var r=!0,s=!1,l=void 0;try{for(var c,h=o()(a);!(r=(c=h.next()).done);r=!0){var u=c.value;u.lay=i,this.chainList.push(new L(u))}}catch(t){s=!0,l=t}finally{try{!r&&h.return&&h.return()}finally{if(s)throw l}}}return f()(t,[{key:"getOnce",value:function(){var t=null,e=!0,n=!1,i=void 0;try{for(var a,r=o()(this.chainList);!(e=(a=r.next()).done);e=!0){var s=a.value;if(!s.finish){t=s.getOnce();break}}}catch(t){n=!0,i=t}finally{try{!e&&r.return&&r.return()}finally{if(n)throw i}}return this.complete()&&(this.repeat?this.restart():this.chainFinish=!0),this.hasCalledOnce=!0,t}},{key:"complete",value:function(){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.chainList);!(t=(i=a.next()).done);t=!0){if(!i.value.finish)return!1}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}return!0}},{key:"restart",value:function(){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.chainList);!(t=(i=a.next()).done);t=!0){i.value.restart()}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}}]),t}(),L=function(){function t(e){var n=e.target,i=e.process,o=e.interval,a=e.origin,r=e.lay,s=e.compare;d()(this,t),this.target=n,this.process=i,this.interval=o,this.origin=a,this.lay=r,this.finish=!1,this.current=this.origin,this.round=0,this.compare=s}return f()(t,[{key:"getOnce",value:function(){this.round++;var t=!1;return this.round*$>=this.interval&&(this.current=this.process(),this.complete(),this.round=0,t=!0),t}},{key:"getCurrent",value:function(t){for(var e=Math.floor(t/this.interval),n=this.origin,i=0;i2?n-2:0),o=2;o0&&null===E&&(E=setTimeout(z,$))},t.prototype.deleteChainTranslate=function(t){k.delete(t+"_"+this.$uuid)},t.prototype.deleteAllAboutChain=function(){if(k.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(k);!(t=(i=a.next()).done);t=!0){var r=i.value;r[0].match(this.$uuid)&&k.delete(r[0])}}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}if(this.$children.size>0){var s=!0,l=!1,c=void 0;try{for(var h,u=o()(this.$children);!(s=(h=u.next()).done);s=!0)h.value[1].deleteAllAboutChain()}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}}},t.prototype.settingRGBA=function(t,e,n,i,o){return{interval:o||$,lay:this,target:e,origin:t,process:function(){for(var t=x(this.origin).replace("rgba(","").replace(")$","").split(","),e=x(this.target).replace("rgba(","").replace(")$","").split(","),a=x(this.current).replace("rgba(","").replace(")$","").split(","),r=0;r0&&a[r]>parseFloat(e[r]))&&(a[r]=parseFloat(e[r]))}return n.call(this.lay,"rgba("+a.join(",")+")"),"rgba("+a.join(",")+")"=="rgba("+e.join(",")||"rgba("+a.join(",")+")"}}},t.prototype.settingNum=function(t,e,n,i,o){return{interval:o||$,lay:this,target:e,origin:t,process:function(){var t=(this.target-this.origin)/Math.floor((i||$)/(o||$)),e=this.current+t;return(t<0&&e0&&e>this.target)&&(e=this.target),this.current=e,n.call(this.lay,e),e===this.target||e}}},t.prototype.setting=function(t,e,n){return{interval:n||$,lay:this,target:t,origin:null,process:function(){return e.call(this.lay,t),L.FINISH}}},t.prototype.settingCus=function(t,e){return{interval:e||$,lay:this,target:null,origin:null,process:function(){return t.call(this),!0}}},t.prototype.setCus=function(e,n,i){var o=e||t.getUUID("trasnlate");return this.registerChainTranslate(o,!1,this.settingCus(n,i)),o},t.prototype.set=function(e,n,i,o){var a=e||t.getUUID("trasnlate"),r={interval:o||$,lay:this,target:n,origin:null,process:function(){return i.call(this.lay,n),L.FINISH}};return this.registerChainTranslate(a,!1,r),a}}(R),function(t){t.prototype.drawing=function(){(function(){var t=[];(function(){if(!this.$parent)if(this.$clear)this.$clear();else{var t=this.$canvas.width,e=this.$canvas.height;this.$ctx.clearRect(-10*t,-10*e,20*t,20*e)}}).call(this);var e=this.getTopNode();!function e(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;n.$children.size>0?n.$children.forEach(function(n,o){if(n.$children.size>0&&n.$visiable)e(n,i+(n.$zindex||0));else{var a=i+(n.$zindex||0);t[a]||(t[a]=[]),t[a].push(n)}}):(t[0]||(t[0]=[]),t[0].push(n))}(e,0);var n=!0,i=!1,a=void 0;try{for(var r,s=o()(t);!(n=(r=s.next()).done);n=!0){var l=r.value;if(l){var c=!0,h=!1,u=void 0;try{for(var d,p=o()(l);!(c=(d=p.next()).done);c=!0){var f=d.value;f.$visiable&&(f.$inCanvas&&!f.$inCanvas()||f.$path())}}catch(t){h=!0,u=t}finally{try{!c&&p.return&&p.return()}finally{if(h)throw u}}}}}catch(t){i=!0,a=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}}).call(this)},t.prototype.drawLayer=function(e,n,i){var o=this.$children.get(e),a=!0;if(o){if(a=!1,!i&&n.props)for(var r in n.props)o[r]=n.props[r];n.canvas&&o.$canvas!==n.canvas&&(o.$canvas=n.canvas,o.$ctx=o.$canvas.getContext("2d")),o.$struct&&o.$struct()}else n.__parent__=this,void 0===n.visiable&&(n.visiable=this.$visiable),o=new t(n),this.$children.set(e,o);return this.$childrenName.push(e),{node:o,old:!a}},t.prototype.drawLayers=function(t){for(var e in t)this.drawLayer(e,t[e])}}(R),function(t){t.prototype._InitEvents=function(t){var e=t.events;this.$events=e||{},this.$events.$showing=function(){if(this.$visiable=!0,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.$children);!(t=(i=a.next()).done);t=!0)i.value[1].emit("$showing")}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}},this.$events.$hide=function(){if(this.$visiable=!1,this.$children.size>0){var t=!0,e=!1,n=void 0;try{for(var i,a=o()(this.$children);!(t=(i=a.next()).done);t=!0)i.value[1].emit("$hide")}catch(t){e=!0,n=t}finally{try{!t&&a.return&&a.return()}finally{if(e)throw n}}}},this.$events.$translate=function(t,e){this.$meta||(this.$meta=new r.a),this.$meta.set("$translate",{x:t||0,y:e||0})}},t.prototype.$showing=function(){this.emit("$showing")},t.prototype.$hide=function(){this.emit("$hide")},t.prototype.emit=function(t){for(var e=this,n="",i=arguments.length,a=Array(i>1?i-1:0),r=1;r1&&void 0!==arguments[1]&&arguments[1];var e=this;e._scale=(e._scale?e._scale:1)*t,e.setCus("scale",function(){e.contentFontSize=b.a.toFixed(e.contentFontSize*t),e.iconPadding=b.a.toFixed(e.iconPadding*t),e.betweenIconWithContent=b.a.toFixed(e.betweenIconWithContent*t),e.lineWidth=b.a.toFixed(e.lineWidth*t),e.portWidth=b.a.toFixed(e.portWidth*t),e.portHeight=b.a.toFixed(e.portHeight*t),e.portRadius=b.a.toFixed(e.portRadius*t),e.betweenPortWidthTooltip=b.a.toFixed(e.betweenPortWidthTooltip*t),e.radius=b.a.toFixed(e.radius*t)})},showTips:function(t){var e=this,n=function(n){var i=e.$children.get(n);i&&(i.$here(t)?i.setCus("showToolTip",function(){e.$children.get(n+"Tooltip").emit("$showing")}):e.$children.get(n+"Tooltip").$visiable&&i.setCus("hideTooltip",function(){e.$children.get(n+"Tooltip").emit("$hide")}))};if(e.input.length>0){var i=!0,o=!1,a=void 0;try{for(var r,s=h()(e.input);!(i=(r=s.next()).done);i=!0){n(r.value.name)}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}}if(e.output.length>0){var l=!0,c=!1,u=void 0;try{for(var d,p=h()(e.output);!(l=(d=p.next()).done);l=!0){n(d.value.name)}}catch(t){c=!0,u=t}finally{try{!l&&p.return&&p.return()}finally{if(c)throw u}}}}},animations:{tictok:function(){var t=this;t.registerChainTranslate("tictok",!0,t.settingCus(function(){t.time.match(":")||(t.time=b.a.exchangeTime(t.time));var e=t.time.split(":"),n=parseInt(e[0]),i=parseInt(e[1]),o=parseInt(e[2]);o+1>=60?(o=0,i+1>=60?(i=0,n+=1):i+=1):o+=1,n=(n.toString().length<2?"0":"")+n,i=(i.toString().length<2?"0":"")+i,o=(o.toString().length<2?"0":"")+o,t.time=n+":"+i+":"+o},900))},loading:function(){var t=this,e=[];e.push(t.settingRGBA(t.contentStyle,"rgba(36,182,139,0)",function(e){t.contentStyle=e},500)),e.push(t.settingCus(function(){t.progress=0,t.contentStyle=rt(t.type||at.type.UNRUN,!!t.choose,t.disable,"content")})),e.push(t.settingNum(0,1,function(e){t.progress=e},3e3,20)),t.registerChainTranslate.apply(t,["loading",!0].concat(e))},toNewType:function(t,e){var n=this;if(t!==n.type){var i={toNewTypeContent:[],toNewTypeContainer:[],toNewTypeText:[]};t!==at.type.RUNNING&&(n.deleteChainTranslate("loading"),n.deleteChainTranslate("tictok"),i.toNewTypeContent.push(n.settingNum(n.progress||1,1,function(t){n.progress=t},200)));var o=rt(t,!!n.choose,n.disable,"content");i.toNewTypeContent.push(n.settingRGBA(n.contentStyle,o,function(t){n.contentStyle=t},200)),i.toNewTypeContent.push(n.settingCus(function(){n.type=t,t===at.type.RUNNING?(n.progress=0,n.time=b.a.exchangeTime(e)||n.time||"00:00:00",n.$children.get("time").$visiable||n.$children.get("time").emit("$showing"),at.animations.tictok.call(n),at.animations.loading.call(n)):n.$children.get("time").$visiable&&n.$children.get("time").emit("$hide"),t===at.type.SUCCESS||t===at.type.FAIL?(n.img=e,n.$children.get("icon").$visiable||n.$children.get("icon").emit("$showing")):n.$children.get("icon").$visiable&&n.$children.get("icon").emit("$hide"),t!==at.type.FAIL||n.$children.get("retryBtn").$visiable?n.$children.get("retryBtn").$visiable&&n.$children.get("retryBtn").emit("$hide"):n.$children.get("retryBtn").emit("$showing")}));var a=rt(t,!!n.choose,n.disable);i.toNewTypeContainer.push(n.settingRGBA(n.containerStyle,a,function(t){n.containerStyle=t},200));var r=st(t,!!n.choose,n.disable);for(var s in i.toNewTypeText.push(n.settingRGBA(n.fontStyle,r,function(t){n.fontStyle=t},200)),i)n.registerChainTranslate.apply(n,[s,!1].concat(I()(i[s])))}}}};function rt(t,e,n,i){return e?"content"===i&&t===at.type.RUNNING?n?D:_:A:n&&t!==at.type.UNRUN?E:n&&t===at.type.UNRUN?$:t===at.type.SUCCESS?N:t===at.type.RUNNING?"content"===i?n?D:_:N:t===at.type.FAIL?k:t===at.type.UNRUN?E:void 0}function st(t,e,n){return n&&t!==at.type.UNRUN?e?M:P:n&&t===at.type.UNRUN?e?M:L:t===at.type.SUCCESS?M:t===at.type.RUNNING?P:t===at.type.FAIL?M:t===at.type.UNRUN?P:void 0}function lt(){var t=this;t.choose=!!t.choose,t.contentFontSize=t.contentFontSize||R,t.padding=t.padding||T,t.tooltipRadius=t.tooltipRadius||X,t.iconPadding=t.iconPadding||F,t.betweenIconWithContent=t.betweenIconWithContent||B,t.lineWidth=t.lineWidth||C,t.portWidth=t.portWidth||(t.specialDataInput?W:G),t.portHeight=t.portHeight||H,t.portRadius=t.portRadius||Z,t.betweenPortWidthTooltip=t.betweenPortWidthTooltip||Y,t.tooltipFont=t.tooltipFont||J,t.tipTrangleSize=t.tipTrangleSize||K,t.radius=t.radius||z,t.tooltipPadding=t.tooltipPadding||Q,t.type===at.type.RUNNING&&(t.time=b.a.exchangeTime(t.time)||"00:00:00");var e=t.input,n=t.output,i=t.point.x||t.point[0]||0,o=t.point.y||t.point[1]||0,a=function(t,e,n,i){i&&(i.containerStyle=i.containerStyle||rt(t||at.type.UNRUN,!!e,n),i.contentStyle=i.contentStyle||rt(t||at.type.UNRUN,!!e,n,"content"),i.fontStyle=i.fontStyle||st(t||at.type.UNRUN,!!e,n));var o={container:{fillStyle:i?i.containerStyle:rt(t||at.type.UNRUN,!!e,n)},content:{fillStyle:i?i.contentStyle:rt(t||at.type.UNRUN,!!e,n,"content")},text:{font:i.contentFontSize+"px "+j,fillStyle:i.fontStyle},time:{font:.8*i.contentFontSize+"px "+j,fillStyle:U},link:{font:.8*i.contentFontSize+"px "+j,fillStyle:O,cursor:"pointer",underline:!0}};return i.style=o,i.style}(t.type,t.choose,t.disable,t),r=Object(w.b)(t.$ctx,t.text,a.text);a.container.fillStyle=t.containerLightUp||a.container.fillStyle;var s=t.width||Math.ceil(r.width)+2*t.padding+2*t.lineWidth,l=t.height||t.contentFontSize+t.padding,c=t.type,h=new d.a,u=l-t.iconPadding,p=t.betweenIconWithContent;if(b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s,height:l,radius:t.radius,style:a.container,fill:!0}},t,"container"),b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s-.6*t.lineWidth,height:l-.6*t.lineWidth,radius:t.radius,style:{fillStyle:S},fill:!0}},t,"containerInner"),b.a.component.rect.drawRect({props:{point:{x:i,y:o},width:s-.5*t.lineWidth,height:l-.5*t.lineWidth,progress:void 0!==t.progress?t.progress:1,radius:t.radius,style:a.content,fill:!0}},t,"content"),b.a.component.text.drawText({props:{point:{x:i,y:o},text:t.text,style:a.text,position:b.a.component.text.CENTER}},t,"text"),b.a.component.icon.drawIcon({props:{point:{x:i+s/2+p+u/2,y:o},width:u,img:t.img},visiable:!!t.img},t,"icon"),b.a.component.text.drawText({props:{point:{x:i+s/2+p,y:o},text:t.time,style:a.time},visiable:c===at.type.RUNNING},t,"time"),b.a.component.text.drawText({props:{point:{x:i+s/2+2*p+u,y:o},text:"retry",style:a.link},visiable:c===at.type.FAIL,events:{choose:at.events.linkChoose}},t,"retryBtn"),e.length>0)for(var f=e.length,g=o-l/2,v=0;v0)for(var x=n.length,I=o+l/2,A=0;A1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=arguments[2],i=this,o=i.$meta.get("$translate")||{x:0,y:0};e={x:e.x-o.x,y:e.y-o.y},i.setCus("scale",function(){i.toppest=b.a.scaleDistanceForPoint(i.toppest,e,t),i.padding=b.a.toFixed(i.padding*t),i.paddingHeight=b.a.toFixed(i.paddingHeight*t),i.fontSizeForContent=b.a.toFixed(i.fontSizeForContent*t),i.lineWidthForLinking=b.a.toFixed(i.lineWidthForLinking*t),i.componentBetween=b.a.toFixed(i.componentBetween*t),i.innerBetween=b.a.toFixed(i.innerBetween*t),i.levelBetween=b.a.toFixed(i.levelBetween*t),n&&n.call(i)})},toSuccess:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toComplete:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.SUCCESS,e)},toFail:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toFailed:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCanceled:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toCancel:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toError:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.FAIL,e)},toRunning:function(t,e){ct.animations.toNewType.call(this.$children.get(t),ct.type.RUNNING,e)},toWaiting:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toUnrun:function(t){ct.animations.toNewType.call(this.$children.get(t),ct.type.UNRUN)},toType:function(t){for(var e in t)ct.animations.toNewType.call(this.$children.get(e),t[e].type,t[e].props)},lineBright:function(t){var e=this;this._lineBright=t;var n=[];this.$children.forEach(function(i,o){if(t&&o===t)i.$zindex=2;else if(t&&o.match(t)&&!o.match("_"+t)&&!o.match(t+"_")){var a=o.split("|");a.splice(a.indexOf(t),1),i.$zindex=1,i.style.strokeStyle="#578FFF",i.style.lineWidth*=1.5,e.$children.get(a[0]).containerLightUp="#578FFF",e.$children.get(a[0]).$struct(),n.push(a[0])}else o.match("line")?(i.$zindex=0,i.style.strokeStyle="#BBBBC8",i.style.lineWidth=e.lineWidthForLinking):n.indexOf(o)<0&&(i.$zindex=1,i.containerLightUp="")})}}},It=function(){function t(e,n){v()(this,t),this.level=[],this.root=[],this.linking={},this.components=new d.a,this.size=0,this.lay=e,this.checkNewPort(n.dependencies),this.componentInfo(n.component_list),this.componentDisable(n.component_need_run),this.componentBelone(n.component_module,n.dependencies),this.componentLink(n.dependencies)}return y()(t,[{key:"checkNewPort",value:function(t){ut=!(f()(t).length>0)||!!t[f()(t)[0]][0].up_output_info}},{key:"componentInfo",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(t);!(e=(o=a.next()).done);e=!0){var r=o.value;this.components.set(r.component_name,new wt(r))}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}},{key:"componentDisable",value:function(t){for(var e in t)this.components.get(e).setDisable(!t[e]),this.components.get(e).setImage(this.lay.images)}},{key:"componentBelone",value:function(t,e){for(var n in t)this.components.get(n).setBelone(t[n],this.lay.images,e)}},{key:"componentLink",value:function(t){var e=this,n=function t(n){for(var i in e.linking){var o=!0,a=!1,r=void 0;try{for(var s,l=h()(e.linking[i]);!(o=(s=l.next()).done);o=!0){var c=s.value;if(c.components[0]===n){var u=e.components.get(c.components[0]),d=e.components.get(c.components[1]);d.level<=u.level&&(d.level=u.level+1,t(c.components[1]))}}}catch(t){a=!0,r=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw r}}}};for(var i in t){var o=!0,a=!1,r=void 0;try{for(var s,l=h()(t[i]);!(o=(s=l.next()).done);o=!0){var c=s.value;this.linking[c.type]=this.linking[c.type]||[],this.linking[c.type].push({components:[c.component_name,i],outputType:c.up_output_info?c.up_output_info.join(""):c.type+"0"}),n(c.component_name)}}catch(t){a=!0,r=t}finally{try{!o&&l.return&&l.return()}finally{if(a)throw r}}}var u=!0,d=!1,p=void 0;try{for(var f,g=h()(this.components);!(u=(f=g.next()).done);u=!0){var v=f.value;this.level[v[1].level]=this.level[v[1].level]||[],this.level[v[1].level].push(v[1]),0===v[1].level&&this.root.push(v[1])}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}}},{key:"componentCheckWidthAndHeight",value:function(){var t="",e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.components);!(e=(o=a.next()).done);e=!0){var r=o.value;r[0].length>t.length&&(t=r[0])}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}var s=Object(w.b)(this.lay.$ctx,t,{font:this.lay.fontSizeForContent+"px "+j}),l=Math.ceil(s.width)+2*this.lay.padding,c=this.lay.fontSizeForContent+2*this.lay.paddingHeight;this.compWidth=l,this.compHeight=c;var u=!0,d=!1,p=void 0;try{for(var f,g=h()(this.components);!(u=(f=g.next()).done);u=!0){var v=f.value;v[1].width=l,v[1].height=c}}catch(t){d=!0,p=t}finally{try{!u&&g.return&&g.return()}finally{if(d)throw p}}}},{key:"checkPos",value:function(){var t=this.lay;if(!t._inited){var e=this.getStyleOfDag();e.height=2,this.linkPos[t].push(s)}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}}},{key:"getLinkInstance",value:function(){for(var t in this.linkPos){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.linkPos[t]);!(e=(o=a.next()).done);e=!0){var r=o.value,s=this.lay.levelBetween,l=!!r.corssLevel&&(t.match("data")?-this.compWidth/3:this.compWidth/3),c=Object(ht.a)(r.line[0],r.line[1],l,s);b.a.component.line.drawLine({props:{point:c,curve:!0,stroke:!0,style:{lineWidth:this.lay.lineWidthForLinking*(this.lay._lineBright&&r.name.match(this.lay._lineBright)?1.5:1),strokeStyle:this.lay._lineBright&&r.name.match(this.lay._lineBright)?"#578FFF":"#BBBBC8"}}},this.lay,r.name)}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}}}},{key:"getStyleOfDag",value:function(){var t=0,e=0,n=!0,i=!1,o=void 0;try{for(var a,r=h()(this.level);!(n=(a=r.next()).done);n=!0){var s=a.value;s.length>t&&(t=s.length),e+=s.length*this.compHeight+(s.length-1)*this.lay.innerBetween+this.lay.levelBetween}}catch(t){i=!0,o=t}finally{try{!n&&r.return&&r.return()}finally{if(i)throw o}}return e-=this.lay.levelBetween,{width:t*this.compWidth+(t-1)*this.lay.componentBetween,height:e}}},{key:"resetting",value:function(){this.componentCheckWidthAndHeight(),this.checkPos(),this.componentGetInstance(),this.getLinking(),this.getLinkInstance()}}]),t}(),wt=function(){function t(e){v()(this,t),this.name=e.component_name,this.time=e.time,this.images=null,this.type=this.getStatus(e.status||"unrun"),this.level=0,this.width=0,this.height=0}return y()(t,[{key:"getStatus",value:function(t){var e=t.toUpperCase();return ct.type.SUCCESS.indexOf(e)>=0?ct.type.SUCCESS:ct.type.FAIL.indexOf(e)>=0?ct.type.FAIL:ct.type.RUNNING.indexOf(e)>=0?ct.type.RUNNING:ct.type.UNRUN}},{key:"setDisable",value:function(t){this.disable=t}},{key:"setImage",value:function(t){this.img=t.get((this.disable?"DISABLE_":"")+this.type.split("|")[0])}},{key:"setBelone",value:function(t,e,n){this.belone=t,this.setPort(e,n)}},{key:"setPos",value:function(t){this.point=t}},{key:"checkSetPort",value:function(t,e,n){var i=ut?["secureboost","linr","lr","poisson","heteronn","homonn","localbaseline","fm","mf","svd","scdpp","gmf","ftl","psi","kmeans"]:["none"],o=n[t];if(n[t]&&n[t].length>0){var a=!0,r=!1,s=void 0;try{for(var l,c=h()(o);!(a=(l=c.next()).done);a=!0){var u=l.value;if(["model","data","cache"].indexOf(u.type)<0)return!0}}catch(t){r=!0,s=t}finally{try{!a&&c.return&&c.return()}finally{if(r)throw s}}return!1}return e.toLowerCase().match(new RegExp("("+i.join("|")+")","i"))}},{key:"setPort",value:function(t,e){this.input=this.input||[],this.output=this.output||[];var n,i,o;this.checkSetPort(this.name,this.belone,e)?(n=this.input).push.apply(n,[{name:"train_datainput",tooltip:"Train Data Input",type:"data"},{name:"validate_datainput",tooltip:"Validation Data Input",type:"data"}]):this.belone.toLowerCase().match(/(reader|modelloader|cacheloader)/)||this.input.push({name:"datainput",tooltip:"Data Input",type:"data"});(this.belone.toLowerCase().match(/evaluation|union/i)&&(this.input[0].mult=t.get("MULT_DATA_PORT")),this.belone.toLowerCase().match(/(evaluation|upload|download|pearson|datasplit|psi|kmeans|modelloader|cacheloader)/i)||this.output.push({name:"data0output",tooltip:"Data Output",type:"data"}),this.belone.toLowerCase().match(/(kmeans)/i))&&(i=this.output).push.apply(i,[{name:"data0output",tooltip:"Data Output_0",type:"data"},{name:"data1output",tooltip:"Data Output_1",type:"data"}]);this.belone.toLowerCase().match(/(datasplit)/i)&&(o=this.output).push.apply(o,[{name:"data0output",tooltip:"Train Data Output",type:"data"},{name:"data1output",tooltip:"Validation Data Output",type:"data"},{name:"data2output",tooltip:"Test Data Output",type:"data"}]);this.belone.toLowerCase().match(/(intersection|cacheloader)/)&&(this.belone.toLowerCase().match(/(intersection)/)&&this.input.push({name:"cacheinput",tooltip:"Cache Input",type:"cache"}),this.output.push({name:"cache0output",tooltip:"Cache Output",type:"cache"})),this.belone.toLowerCase().match(/(intersection|evaluation|upload|download|rsa|datasplit|reader|union|scorecard|cacheloader)/i)||(this.belone.toLowerCase().match(/(statistics|pearson|psi|modelloader)/i)||this.input.push({name:"modelinput",tooltip:"Model Input",type:"model"}),this.output.push({name:"model0output",tooltip:"Model Output",type:"model"}),this.belone.toLowerCase().match(/(selection)/i)&&(this.input[1].mult=t.get("MULT_MODEL_PORT")))}},{key:"getComponentInstance",value:function(t){ct.drawProgress({props:{point:this.point,text:this.name,width:this.width,height:this.height,type:t.$children.get(this.name)?t.$children.get(this.name).type:this.type,disable:this.disable,input:this.input,output:this.output,specialDataInput:this.specialDataInput,contentFontSize:t.fontSizeForContent,time:t.$children.get(this.name)?t.$children.get(this.name).time:this.time,img:this.img},zindex:1,events:ct.events},t,this.name)}}]),t}(),Ct={name:"FlowDiagram",props:{dagInfo:{type:Object,default:function(){}},purePic:{type:Boolean,default:!1},thumbnail:{type:Boolean,default:!1},operationList:{type:Boolean,default:!0}},data:function(){return{dagCheck:null,flowData:null,images:new d.a,thumb:.6,canvasId:"flowDiagramCanvas",canvas:null,choosed:null,needToSet:[],originalSetting:null,imageSetting:[{name:"COMPLETE",url:n("NdWW")},{name:"DISABLE_COMPLETE",url:n("6Ix9")},{name:"SUCCESS",url:n("NdWW")},{name:"DISABLE_SUCCESS",url:n("6Ix9")},{name:"FAIL",url:n("U8kZ")},{name:"DISABLE_FAIL",url:n("+998")},{name:"CANCEL",url:n("U8kZ")},{name:"DISABLE_CANCEL",url:n("+998")},{name:"CANCELED",url:n("U8kZ")},{name:"DISABLE_CANCELED",url:n("+998")},{name:"ERROR",url:n("U8kZ")},{name:"DISABLE_ERROR",url:n("+998")},{name:"FAILED",url:n("U8kZ")},{name:"DISABLE_FAILED",url:n("+998")},{name:"MULT_DATA_PORT",url:n("l489")},{name:"MULT_MODEL_PORT",url:n("iA7x")}]}},watch:{dagInfo:{handler:function(){this.checkInfo(),this.checkFlowData(),this.canvas&&this.canvas.inited||this.initing(),this.toSetting(),this.checkChoosed()},deep:!0}},created:function(){this.canvasId=b.a.getUUID("flowDiagramCanvas"),this.checkInfo(),this.checkFlowData()},mounted:function(){var t=this;this.addedImages(this.imageSetting).then(function(){t.initing()})},methods:{initing:function(){if(!this.dagInfo)throw new TypeError("Daginfo param need to be an Object");var t=document.getElementById(this.canvasId);if(!t)throw new Error("Can not found canvas-element");this.originalSetting=this.dagInfo,this.drawComp(t,this.images)},drawComp:function(t,e){var n=this,i=this,o=this.purePic?{click:!1}:{click:{beforeClick:function(){xt.events.lineBright.call(i.component)},props:[function(t,e,o){if(o)n.$emit("retry",t);else{e&&xt.events.lineBright.call(i.component,t);var a=0,r="";i.dagInfo.component_list.map(function(e,n){e.component_name===t&&(a=n,r=e.status)});var s={name:t,dataIndex:a,model:i.dagInfo.component_module[t],disable:!i.dagInfo.component_need_run[t],status:r};e&&(i.choosed=s,i.$emit("choose",s))}}]}};i.canvas=new b.a.CanvasUtil(t,o,function(t){return i.getInstance(t,e),i.component.drawing(),i.thumbnail&&i.checkThumbnail(),i.component})},getInstance:function(t,e){if(!t)return null;this.component=xt.drawDiagram({canvas:t,props:{dagInfo:this.flowData,thumbnail:this.thumbnail?this.thumb:1,images:e},clear:xt.clear,events:xt.events})},checkInfo:function(){var t=this.dagCheck||{};if(this.dagInfo){var e=!0,n=!1,i=void 0;try{for(var o,a=h()(this.dagInfo.component_list);!(e=(o=a.next()).done);e=!0){var r=o.value,s=r.status||"unrun";t[r.component_name]?s!==t[r.component_name].status&&(this.needToSet.push(r.component_name),t[r.component_name].status=s,t[r.component_name].time=r.time):t[r.component_name]={status:s.charAt(0).toUpperCase()+s.slice(1),time:r.time}}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}if(this.dagInfo.component_need_run)for(var l in this.dagInfo.component_need_run)t[l].disable=this.dagInfo.component_need_run[l]}this.dagCheck=t},checkFlowData:function(){if(this.dagInfo){var t=JSON.parse(l()(this.dagInfo)),e=!0,n=!1,i=void 0;try{for(var o,a=h()(t.component_list);!(e=(o=a.next()).done);e=!0){var s=o.value;s.status=(s.status||"unrun").toUpperCase()}}catch(t){n=!0,i=t}finally{try{!e&&a.return&&a.return()}finally{if(n)throw i}}this.flowData?this.flowData=r()(this.flowData,t):this.flowData=t}},toSetting:function(){if(this.component){var t=!0,e=!1,n=void 0;try{for(var i,o=h()(this.needToSet);!(t=(i=o.next()).done);t=!0){var a=i.value,r=xt.RUNNING.match(this.dagCheck[a].status.toUpperCase())?this.dagCheck[a].time:this.images.get((this.dagCheck[a].disable?"":"DISABLE_")+this.dagCheck[a].status.toUpperCase());this.component.emit("to"+(this.dagCheck[a].status.charAt(0).toUpperCase()+this.dagCheck[a].status.slice(1)),a,r)}}catch(t){e=!0,n=t}finally{try{!t&&o.return&&o.return()}finally{if(e)throw n}}this.needToSet=[]}},checkChoosed:function(){if(this.choosed){var t=this.dagInfo.component_list[this.choosed.dataIndex];t.component_name===this.choosed.name&&t.status!==this.choosed.status&&(this.choosed.status=t.status,this.$emit("choose",this.choosed))}},checkThumbnail:function(){this.component.emit("scale",this.thumb,this.component.toppest),this.component._inited=!1},initImage:function(t,e){var n=this;return new o.a(function(i,o){var a=new Image;a.onload=function(){n.images.set(t,a),i()},a.src=e})},addedImages:function(t){var e=[],n=!0,i=!1,a=void 0;try{for(var r,s=h()(t);!(n=(r=s.next()).done);n=!0){var l=r.value;e.push(this.initImage(l.name,l.url))}}catch(t){i=!0,a=t}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return o.a.all(e)},suitableWhole:function(){var t=this;this.canvas.suitableForWhole(function(){var e=t.component.$meta.get("clear"),n=t.component.toppest;return{width:e.width,height:e.height,point:n}},function(){t.component.toppest={x:t.canvas.canvasDom.width/2,y:20},t.component._inited=!1})},bigger:function(){this.canvas.scaleBigger()},small:function(){this.canvas.scaleSmaller()}}},Tt=(n("bw2v"),n("KHd+")),St=Object(Tt.a)(Ct,function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("canvas",{attrs:{id:t.canvasId}}),t._v(" "),t.operationList?n("div",{staticClass:"buttonList"},[n("div",{staticClass:"opera_btn",on:{click:t.suitableWhole}},[n("i",{staticClass:"el-icon-full-screen"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.bigger}},[n("i",{staticClass:"el-icon-plus"})]),t._v(" "),n("div",{staticClass:"opera_btn",on:{click:t.small}},[n("i",{staticClass:"el-icon-minus"})])]):t._e()])},[],!1,null,"2d801b92",null);St.options.__file="index.vue";e.a=St.exports},lJfc:function(t,e,n){"use strict";var i=n("p9cb");n.n(i).a},m1cH:function(t,e,n){"use strict";e.__esModule=!0;var i=function(t){return t&&t.__esModule?t:{default:t}}(n("rfXi"));e.default=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e=r.x-o/2&&l<=r.x+o/2&&h>=r.y-a/2&&h<=r.y+a/2}function u(){var t=this,e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,o=t.width,a=t.height;t.position===c.LEFT_UP?t.point={x:e+o/2,y:n+a/2}:t.position===c.RIGHT_UP?t.point={x:e-o/2,y:n+a/2}:t.position===c.LEFT_DOWN?t.point={x:e+o/2,y:n-a/2}:t.position===c.RIGHT_DOWN&&(t.point={x:e-o/2,y:n-a/2}),function(){var t=this;i.a.commonDrawing(t,function(e){var n=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0,o=t.radius,a=t.width,r=t.height,s=0===t.progress?0:t.progress?t.progress:1;if(s<=0)return;var l=n-a/2,c=i-r/2+o;e.moveTo(l,c);var h=l+o,u=c,d=1*Math.PI,p=a*so?(l=a*s>a-o?l+a-2*o:l+a*s,c-=o,e.lineTo(l,c),a*s>a-o?(h=l,u=c+o,d=1.5*Math.PI,p=s<1?d+Math.acos((o-(a-a*s))/o):0,e.arc(h,u,o,d,p,!1),l+=o-(a-a*s),c=c+r-o-Math.cos(.5*Math.PI-Math.acos((o-(a-a*s))/o))*o,e.lineTo(l,c),u=u+r-2*o,d=0,p=s<1?d+Math.acos((o-(a-a*s))/o):.5*Math.PI,e.arc(h,u,o,d,p,!1),l=h-a+3*o,c=u+o,e.lineTo(l,c)):(c+=r,e.lineTo(l,c),l=l-a*s+o,e.lineTo(l,c)),h=l,u=c-o,e.arc(h,u,o,.5*Math.PI,1*Math.PI,!1)):(l+=a*s,c=c+r-2*o+Math.sin(.5*Math.PI-Math.acos((o-a*s)/o))*o,e.lineTo(l,c),u=u+r-2*o,d=1*Math.PI-Math.acos((o-a*s)/o),p=1*Math.PI,e.arc(h,u,o,d,p,!1));l=n-a/2,c=i-r/2+o,e.lineTo(l,c)})}.call(t)}var d=c,p=n("UMXJ"),f=n("FyfS"),g=n.n(f),v={drawTrangle:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=m,e?(n||(n=i.a.getUUID("trangle")),e.drawLayer(n,t),n):new i.a(t)},LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,UP:a.a.CENTER,BOTTOM:a.a.BOTTOM};function m(){this.height?function(){var t=this;i.a.commonDrawing(t,function(e){var n=Math.tan(30*Math.PI/180)*t.height,i=[],o=t.point.x||t.point[0]||0,a=t.point.y||t.point[1]||0;i.push(t.point),t.position===v.LEFT?i.push.apply(i,[{x:o+t.height,y:a-n},{x:o+t.height,y:a+n}]):t.position===v.RIGHT?i.push.apply(i,[{x:o-t.height,y:a-n},{x:o-t.height,y:a+n}]):t.position===v.BOTTOM?i.push.apply(i,[{x:o-n,y:a-t.height},{x:o+n,y:a-t.height}]):i.push.apply(i,[{x:o-n,y:a+t.height},{x:o+n,y:a+t.height}]);var r=0,s=!0,l=!1,c=void 0;try{for(var h,u=g()(i);!(s=(h=u.next()).done);s=!0){var d=h.value,p=d.x||d[0]||0,f=d.y||d[1]||0;0===r?e.moveTo(p,f):e.lineTo(p,f),r++}}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}var m=t.point.x||t.point[0]||0,y=t.point.y||t.point[1]||0;e.lineTo(m,y)})}.call(this):function(){var t=this;i.a.commonDrawing(t,function(e){var n=0,i=!0,o=!1,a=void 0;try{for(var r,s=g()(t.point);!(i=(r=s.next()).done);i=!0){var l=r.value,c=l.x||l[0]||0,h=l.y||l[1]||0;0===n?e.moveTo(c,h):e.lineTo(c,h),n++}}catch(t){o=!0,a=t}finally{try{!i&&s.return&&s.return()}finally{if(o)throw a}}var u=t.point[0].x||t.point[0][0]||0,d=t.point[0].y||t.point[0][1]||0;e.lineTo(u,d)})}.call(this)}var y=v,b=5,x={drawTooltip:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.struct=w,t.here=I,e?(n||(n=i.a.getUUID("tooltip")),e.drawLayer(n,t),n):new i.a(t)},here:I,LEFT:a.a.LEFT,RIGHT:a.a.RIGHT,UP:a.a.CENTER,BOTTOM:a.a.BOTTOM,TEXT:{LEFT:p.a.LEFT,RIGHT:p.a.RIGHT,CENTER:p.a.CENTER},events:{scale:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},n=this;n.setCus("scale",function(){if(n.point=i.a.scaleDistanceForPoint(n.point,e,t),n.width&&(n.width=i.a.toFixed(n.width*t)),n.height&&(n.height=i.a.toFixed(n.height*t)),n.padding&&(n.padding=i.a.toFixed(n.padding*t)),n.trangleSize&&(n.trangleSize=i.a.toFixed(n.trangleSize*t)),n.textStyle.font){var o=parseFloat(n.textStyle.font);n.textStyle.font=n.textStyle.font.replace(o,i.a.toFixed(o*t))}n.linebetween=i.a.toFixed(n.linebetween*t),n.radius=i.a.toFixed((n.radius||4)*t)})}}};function I(t){return!1}function w(){var t=this;t.linebetween=t.linebetween||b;var e=t.point.x||t.point[0]||0,n=t.point.y||t.point[1]||0,i={x:e,y:n},o={},r=0;t.text=Array.isArray(t.text)?t.text:[t.text];var s=!0,l=!1,c=void 0;try{for(var h,u=g()(t.text);!(s=(h=u.next()).done);s=!0){var f=h.value,v=Object(p.b)(t.$ctx,f,t.textStyle);Math.ceil(v.width)>r&&(r=Math.ceil(v.width))}}catch(t){l=!0,c=t}finally{try{!s&&u.return&&u.return()}finally{if(l)throw c}}var m=parseInt(t.textStyle.font)*t.text.length+t.linebetween*(t.text.length-1)+1.5*t.padding,I=r+2*t.padding;t.position===x.RIGHT?(o.x=e-t.trangleSize-I/2,o.y=n):t.position===x.UP?(o.x=e,o.y=n+t.trangleSize+m/2):t.position===x.BOTTOM?(o.x=e,o.y=n-t.trangleSize-m/2):(o.x=e+t.trangleSize+I/2,o.y=n),y.drawTrangle({props:{point:i,height:t.trangleSize,style:t.containerStyle,position:t.position||a.a.LEFT,fill:!0}},this,"trangle"),d.drawRect({props:{point:o,radius:t.radius||4,width:I,height:m,position:d.CENTER,style:t.containerStyle,fill:!0}},this,"rect");for(var w=0;we-i/2&&sn-o/2}function S(){!function(t){var e=t.$ctx;e.beginPath();var n=t.point.x||t.point[0]||0,i=t.point.y||t.point[1]||0,o=t.width,a=t.height||o;e.drawImage(t.img,n-o/2,i-a/2,o,a),e.closePath()}(this)}var A={drawIcon:function(t,e,n){return t.canvas=e?e.$canvas:t.canvas,t.path=S,t.here=T,e?(n||(n=i.a.getUUID("icon")),e.drawLayer(n,t),n):new i.a(t)}},N={line:o.b,circle:l,rect:d,text:p.a,trangle:y,tooltip:C,icon:A};i.a.component=N;e.a=i.a},mZuz:function(t,e,n){var i=n("sEG9");(t.exports=n("I1BE")(!1)).push([t.i,".detail-entry-button[data-v-3a11e76d] {\n position: relative;\n}\n.detail-entry-button[data-v-3a11e76d]:hover {\n background-color: #494ece !important;\n color: #fff !important;\n}\n.detail-entry-button[data-v-3a11e76d]:active {\n background-color: #3135a6 !important;\n color: #fff !important;\n}\n.detail-entry-button .arrow[data-v-3a11e76d] {\n display: inline-block;\n width: 12px;\n height: 12px;\n vertical-align: bottom;\n background-image: url("+i(n("ujiL"))+");\n background-size: 100% auto;\n}\n.detail-entry-button:hover .arrow[data-v-3a11e76d] {\n background-image: url("+i(n("p4fm"))+");\n}\n",""])},mrrA:function(t,e,n){var i=n("3zkT");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("348bdf84",i,!0,{})},nXki:function(t,e,n){var i=n("mZuz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("55181bb5",i,!0,{})},p4fm:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAAN5JREFUOE+t1OFRwkAQhuH3q0BKsITYAenADjQdQAXYAXRArEStAOzAEqCCj1nnwjAh5k7C/r3cM7t7uxF3CuUc28/Ap6TD2LejkO03YJWgegr0COyBB6CV1PyFlZRWRUYJW0raDGFZKC7ZfgW2CWgktX2sCErYAlgD0fRaUpR8jmIoYZHJS8KeJP100hmy7dwo9M4jo8jsdyymQN/A/AoqycZ2V9oRqAZLy0G2u2YHEpn8v9l3eX7bMZAfwAy4bSBtx4rsEvIuKQZzMEqX9kvS/OalTUM4/TeSe8nL8xMNbVYTNUdb2gAAAABJRU5ErkJggg=="},p9cb:function(t,e,n){var i=n("xWUn");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("12416102",i,!0,{})},qVEv:function(t,e,n){var i=n("0snz");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("7870dd77",i,!0,{})},rVsi:function(t,e,n){"use strict";var i=n("WOIZ");n.n(i).a},rs0g:function(t,e,n){"use strict";var i=n("mrrA");n.n(i).a},sEfC:function(t,e,n){var i=n("GoyQ"),o=n("QIyF"),a=n("tLB3"),r="Expected a function",s=Math.max,l=Math.min;t.exports=function(t,e,n){var c,h,u,d,p,f,g=0,v=!1,m=!1,y=!0;if("function"!=typeof t)throw new TypeError(r);function b(e){var n=c,i=h;return c=h=void 0,g=e,d=t.apply(i,n)}function x(t){var n=t-f;return void 0===f||n>=e||n<0||m&&t-g>=u}function I(){var t=o();if(x(t))return w(t);p=setTimeout(I,function(t){var n=e-(t-f);return m?l(n,u-(t-g)):n}(t))}function w(t){return p=void 0,y&&c?b(t):(c=h=void 0,d)}function C(){var t=o(),n=x(t);if(c=arguments,h=this,f=t,n){if(void 0===p)return function(t){return g=t,p=setTimeout(I,e),v?b(t):d}(f);if(m)return clearTimeout(p),p=setTimeout(I,e),b(f)}return void 0===p&&(p=setTimeout(I,e)),d}return e=a(e)||0,i(n)&&(v=!!n.leading,u=(m="maxWait"in n)?s(a(n.maxWait)||0,e):u,y="trailing"in n?!!n.trailing:y),C.cancel=function(){void 0!==p&&clearTimeout(p),g=0,c=f=h=p=void 0},C.flush=function(){return void 0===p?d:w(o())},C}},ujiL:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAABHNCSVQICAgIfAhkiAAAARlJREFUOI29lM9NhEAYxd834eCREixhRxtgDyaDyRA6WErADuxg7cC1giWaIAkHtQB2KGFLgJMX4PPA+h9hgsZ3nTe/fO97kwH+S742oRcad8onxg5VUFyCeHvU8vZXIAixYXBNBE/p4no2KEvkvm2E18Mo8nURz5sIQJ7KEix6ANFaaRMN+WgK9CpfFzGI1gCqpqFlnspyFggAVLDbELACULEgmSVy/w3kBzu2ovHbrfJZ0PIxkRVgsaMfefw5zaxoDK4hxOJjNMcWcqh+xeC6bYSXp+8QwDKa0iY6NAawiL82BlhEOzs3C8fhBwAumC/u706vhnyjIBWaY+rYAHAZuMluTwYfIzAVreuifhI8jUGsZPuN/JleAIACacrBlaPxAAAAAElFTkSuQmCC"},"uy/s":function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".container[data-v-2d801b92] {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.buttonList[data-v-2d801b92] {\n position: absolute;\n bottom: 10px;\n left: 10px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.buttonList .opera_btn[data-v-2d801b92] {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #f8f8fa;\n margin-bottom: 12px;\n color: #bbbbc8;\n}\n.buttonList .opera_btn[data-v-2d801b92]:hover {\n background-color: #494ece;\n color: #fff;\n}\n.buttonList .opera_btn[data-v-2d801b92]:last-child {\n margin-bottom: 0px;\n}\n",""])},xWUn:function(t,e,n){(t.exports=n("I1BE")(!1)).push([t.i,".dashboard-container {\n height: 100%;\n}\n.dashboard-container .dash-board-list .col {\n height: 346px;\n background: #fff;\n}\n.dashboard-container .dash-board-list .col .list-title {\n font-family: 'roboto_bold';\n padding-top: 12px;\n font-size: 16px;\n color: #3e4052;\n text-indent: 24px;\n}\n.dashboard-container .dash-board-list .col .echarts-container {\n width: 100%;\n height: 100%;\n position: relative;\n}\n.dashboard-container .dash-board-list .dataset-info {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n font-family: 'roboto_medium';\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row {\n margin-top: 30px;\n margin-left: 48px !important;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row:first-of-type {\n margin-top: 32px;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item {\n margin-bottom: 30px;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .name {\n font-size: 14px;\n margin-bottom: 6px;\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .dataset-title {\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .dataset-info .dataset-row .dataset-item .value {\n font-size: 14px;\n color: #3E4052;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.dashboard-container .dash-board-list .job .echarts {\n width: 100%;\n height: 306px;\n /*top: 5%;*/\n}\n.dashboard-container .dash-board-list .job .elapsed {\n position: absolute;\n top: 0;\n right: 16px;\n}\n.dashboard-container .dash-board-list .job .elapsed .elapsed-title {\n margin-right: 14px;\n margin-bottom: 6px;\n color: #bbbbc8;\n text-align: right;\n}\n.dashboard-container .dash-board-list .job .elapsed .elapsed-time {\n height: 28px;\n width: 88px;\n background: #f8f8fa;\n text-align: center;\n line-height: 28px;\n border-radius: 28px;\n font-size: 16px;\n}\n.dashboard-container .dash-board-list .job .job-end-container {\n height: 306px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-icon {\n margin-top: 35px;\n margin-bottom: 36px;\n font-size: 50px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info {\n padding: 0 10px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li {\n width: 28%;\n margin-bottom: 20px;\n text-align: center;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li .name {\n color: #bbbbc8;\n margin-bottom: 6px;\n}\n.dashboard-container .dash-board-list .job .job-end-container .job-info > li .value {\n font-size: 14px;\n font-weight: bold;\n color: #999BA3;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper {\n position: absolute;\n left: 0;\n bottom: 20px;\n width: 100%;\n height: 80px;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .kill {\n padding-top: 5px;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .kill:hover {\n text-decoration: underline;\n}\n.dashboard-container .dash-board-list .job .btn-wrapper .el-button {\n padding: 7px 24px 6px;\n margin-top: 6px;\n background-color: #DEECFC;\n color: #4159D1;\n font-size: 14px;\n font-weight: bold;\n border: 0px;\n}\n.dashboard-container .graph {\n overflow: hidden;\n}\n.dashboard-container .graph .img-wrapper {\n width: 32px;\n height: 32px;\n margin-left: 10px;\n cursor: pointer;\n margin-top: 8px;\n margin-right: 20px;\n}\n.dashboard-container .graph .wrapper {\n height: 306px;\n}\n.dashboard-container .graph .wrapper .echarts {\n width: 100%;\n height: 100%;\n}\n.dashboard-container .log-wrapper {\n margin: 12px 0 16px;\n padding: 0 24px 8px;\n background: #fff;\n border-radius: 4px;\n min-height: 400px;\n height: calc(100% - 410px);\n width: 100%;\n position: relative;\n}\n.dashboard-container .log-wrapper .log-type {\n padding-top: 16px;\n margin-bottom: 24px;\n}\n.dashboard-container .log-wrapper .log-type .type-name {\n font-size: 16px;\n margin-right: 20px;\n color: #999BA3;\n font-weight: bold;\n cursor: pointer;\n}\n.dashboard-container .log-wrapper .log-type .type-name-active {\n color: #4159D1;\n}\n.dashboard-container .log-wrapper .title {\n padding-top: 12px;\n margin-bottom: 15px;\n font-size: 15px;\n color: #3E4052;\n font-family: 'roboto_bold';\n}\n.dashboard-container .log-wrapper .tab-bar {\n margin-left: 43px;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n font-family: 'roboto_medium';\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin-right: 24px;\n padding: 0 5px;\n line-height: 26px;\n border-radius: 26px;\n cursor: pointer;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .text {\n padding: 0 10px;\n font-size: 14px;\n color: #6A6C75;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .count {\n min-width: 16px;\n height: 16px;\n padding: 0 5px;\n border-radius: 2px;\n line-height: 16px;\n text-align: center;\n color: #fff;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .error {\n background: #ff6464;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .warning {\n background: #ff5d93;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .info {\n background: #ffd70d;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn .debug {\n background: #24b68b;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn:hover .text {\n color: #4159D1;\n text-decoration: underline;\n}\n.dashboard-container .log-wrapper .tab-bar .tab-btn-active .text {\n color: #4159D1;\n}\n.dashboard-container .log-wrapper .log-container {\n height: calc(100% - 97px);\n padding: 0px 12px 0px 0px;\n margin-top: 15px;\n overflow: auto;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li {\n /*height: 25px;*/\n line-height: 20px;\n text-indent: 10px;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li .line-num {\n color: #C6C8CC;\n min-width: 50px;\n margin-right: 20px;\n font-size: 12px;\n text-align: left;\n}\n.dashboard-container .log-wrapper .log-container .log-list > li .content {\n color: #999BA3;\n font-size: 12px;\n text-align: left;\n text-indent: initial;\n}\n.dashboard-container .log-wrapper .log-extend {\n height: 30px;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n padding: 4px 24px;\n margin-top: 8px;\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n.dashboard-container .suitable-button {\n position: absolute;\n bottom: 32px;\n left: 32px;\n}\n.dashboard-container .suitable-button .sutiable-button-item {\n width: 32px;\n height: 32px;\n border-radius: 4px;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n background-color: #F8F8FA;\n margin-bottom: 12px;\n color: #BBBBC8;\n}\n.dashboard-container .suitable-button .sutiable-button-item:hover {\n background-color: #494ece;\n color: #fff;\n}\n.dashboard-container .dialog-main-content {\n font-family: 'Lato';\n font-size: 18px;\n color: #534c77;\n text-align: center;\n font-weight: bold;\n margin-bottom: 25px;\n}\n.dashboard-container .dialog-sub-content {\n font-family: 'Lato';\n font-size: 12px;\n color: #bbbbc8;\n text-align: center;\n}\n.dashboard-container .dialog-button {\n width: 135px;\n height: 32px;\n border-radius: 2px;\n border: 0px;\n font-family: 'Lato';\n font-weight: bold;\n font-size: 12px;\n text-align: center;\n cursor: pointer;\n outline: none;\n}\n.dashboard-container .dialog-check-button {\n color: #ffffff;\n background-color: #494ece;\n}\n.dashboard-container .dialog-click-button {\n color: #ffffff;\n background-color: #3135a6;\n}\n.dashboard-container .dialog-uncheck-button {\n color: #7f7d8e;\n background-color: #e8e8ef;\n}\n.toolContent {\n display: inline-block;\n width: 100%;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n color: #4159d1;\n}\n",""])},"y+41":function(t,e,n){var i=n("QzUs");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);(0,n("SZ7m").default)("2f5ea226",i,!0,{})}}]); \ No newline at end of file