parseInt(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,N=0;N2&&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,N,T,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),N=j(I.data)||[],(T=(T=[].concat(o()(N))).length>0?Object(m.wrapGroupComponent)(T):null)&&(g.length>1?g.splice(1,0,T):g.push(T))),!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},"W+nQ":function(t,e,n){var a=n("XENq");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,n("SZ7m").default)("3b882863",a,!0,{})},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 N=new o.a,T=null,k=10;function L(){var t=[],e=!0,n=!1,a=void 0;try{for(var i,o=r()(N);!(e=(i=o.next()).done);e=!0){var s=i.value,l=s[1].getOnce();if(null===l)N.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&&N.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}}N.size>0?T=setTimeout(L,k):(clearTimeout(T),T=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===T&&(T=setTimeout(L,k))},t.prototype.deleteChainTranslate=function(t){N.delete(t+"_"+this.$uuid)},t.prototype.deleteAllAboutChain=function(){if(N.size>0){var t=!0,e=!1,n=void 0;try{for(var a,i=r()(N);!(t=(a=i.next()).done);t=!0){var o=a.value;o[0].match(this.$uuid)&&N.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,{})},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,N,T,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,N=void 0,T=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)),T=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:N=t.sent;case 32:return T&&(k=T(N),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)",N="#FF4F38",T="#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,Q=12,Z=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?T: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?N:t===it.type.UNRUN?T: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||Q,t.tipTrangleSize=t.tipTrangleSize||Z,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,Nt=!1,Tt=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){Nt=!0,Tt=t}finally{try{!jt&&Lt.return&&Lt.return()}finally{if(Nt)throw Tt}}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 N={guest:g.options};Object(u.each)(h,function(t,e){var n=v[e];A[t]=n.sourceData,N[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 T="";T=h.length>0?[m("guest",N.guest),m("host",h.map(function(t){return{label:t,value:N[t]}}))]:N.guest,O=[d("f-select","f-select",{options:T,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,N,T,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,N=void 0,t.prev=19,T=o()(p);!(E=(k=T.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,N=t.t0;case 27:t.prev=27,t.prev=28,!E&&T.return&&T.return();case 30:if(t.prev=30,!j){t.next=33;break}throw N;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},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,Q=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.length&&o.length>0&&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("rdP/"),Object(T.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,"478ffaa0",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(T.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(T.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(T.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(T.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 Nt=jt.exports,Tt={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 Tt[t]}},condition:{type:String,default:""}},data:function(){return{error:void 0}},computed:{operators:function(){return l()(Tt).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(T.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(T.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),Qt=n("Iab2"),Zt=n("xOOu"),Xt=n.n(Zt),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(Qt.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(Qt.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:Nt,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(T.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(T.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(T.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,N,T,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,N=void 0,T=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)),T=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:N=t.sent;case 33:return T&&(k=T(N),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-75cf.276139f3.js b/src/main/resources/static/static/js/chunk-75cf.276139f3.js
deleted file mode 100644
index cd09240a..00000000
--- a/src/main/resources/static/static/js/chunk-75cf.276139f3.js
+++ /dev/null
@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-75cf"],{"+OLn":function(e,t,n){(e.exports=n("I1BE")(!1)).push([e.i,".cus-slider__container[data-v-57c23e32] {\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-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.cus-slider__container .cus-slider__slider[data-v-57c23e32] {\n min-width: 350px;\n margin: 0 25px;\n}\n",""])},"6MwY":function(e,t,n){"use strict";var i=n("CP7E");n.n(i).a},CP7E:function(e,t,n){var i=n("+OLn");"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);(0,n("SZ7m").default)("c6900e3e",i,!0,{})},ZYuy:function(e,t,n){"use strict";n.r(t);var i={name:"CusSlider",mixins:[{methods:{_length:function(e){if("number"!=typeof e)throw new TypeError("Needed A Number");var t=e.toString().split(".");return t.length>1?t[1].length:0},_pow:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;return Math.pow(t,e)},_nearby:function(e,t){var n=this._length(t),i=this._length(e),s=this._pow(n>i?n:i),a=e*s%(t*s),r=e*s-a;return a>t*s/2&&(r+=t*s),r/s}}}],props:{label:{type:String,default:""},value:{type:Number,default:0},max:{type:Number,default:1},min:{type:Number,default:0},step:{type:Number,default:.01},marks:{type:Object,default:function(){}},tip:{type:String,default:""},range:{type:Boolean,default:!1},styles:{type:String,default:""}},data:function(){return{sliderValue:this.value}},watch:{min:function(){this.sliderCheck()},max:function(){this.sliderCheck()}},created:function(){this.sliderCheck()},methods:{formatSlider:function(e){Array.isArray(e)||(this.sliderValue=this._nearby(e,this.step)),this.change()},change:function(){this.$emit("range",this.sliderValue)},setDefault:function(){return this.change(),!0},sliderCheck:function(){this.sliderValue=this.range?[this.min,this.max]:this.value}}},s=(n("6MwY"),n("KHd+")),a=Object(s.a)(i,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"cus-slider__container"},[e.label?n("span",{staticClass:"cus-slider__title"},[e._v(e._s(e.label)+":")]):e._e(),e._v(" "),n("el-slider",e._b({staticClass:"cus-slider__slider",style:e.styles,attrs:{"show-input":!e.range,"input-size":"mini","show-tooltip":!0,max:e.max,min:e.min,step:e.step,range:e.range,marks:e.marks},on:{change:e.formatSlider},model:{value:e.sliderValue,callback:function(t){e.sliderValue=t},expression:"sliderValue"}},"el-slider",e.$attrs,!1)),e._v(" "),e.tip?n("el-tooltip",{staticClass:"item",attrs:{content:e.tip,effect:"dark",placement:"right"}},[n("i",{staticClass:"el-icon-question"})]):e._e()],1)},[],!1,null,"57c23e32",null);a.options.__file="index.vue";t.default=a.exports}}]);
\ No newline at end of file
diff --git a/src/main/resources/static/static/js/chunk-7e1c.c02069f1.js b/src/main/resources/static/static/js/chunk-7e1c.c02069f1.js
deleted file mode 100644
index 61452826..00000000
--- a/src/main/resources/static/static/js/chunk-7e1c.c02069f1.js
+++ /dev/null
@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-7e1c"],{Syvd:function(e,n,t){(e.exports=t("I1BE")(!1)).push([e.i,".legend__container[data-v-7d963096] {\n position: relative;\n margin-bottom: 5px;\n}\n.legend__display[data-v-7d963096] {\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-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n position: absolute;\n right: 12px;\n top: -35px;\n z-index: 2001;\n}\n.legend__display .legend__cp[data-v-7d963096] {\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: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin-right: 12px;\n cursor: pointer;\n}\n.legend__display .legend__cp[data-v-7d963096]:last-child {\n margin-right: 0px;\n}\n.legend__display .legend__cp .legend__label[data-v-7d963096] {\n padding: 2px 4px;\n border-radius: 2px;\n color: #fff;\n margin-bottom: 2px;\n width: 100%;\n text-align: center;\n max-width: 150px;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n.legend__display .legend__cp .legend__label[data-v-7d963096]:last-child {\n margin-bottom: 0px;\n}\n.legend__dialog[data-v-7d963096] {\n position: absolute;\n top: -47px;\n right: 0px;\n padding: 12px;\n border-radius: 4px;\n -webkit-box-shadow: 1px 1px 5px #aaa;\n box-shadow: 1px 1px 5px #aaa;\n background-color: #fff;\n z-index: 2005;\n min-width: 400px;\n max-width: 45%;\n}\n.legend__dialog .legend__d-header[data-v-7d963096] {\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-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n margin-bottom: 10px;\n}\n.legend__dialog .legend__d-header .legend__d-operation[data-v-7d963096] {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.legend__dialog .legend__d-header .legend__d-text[data-v-7d963096] {\n font-size: 110%;\n font-weight: 700;\n margin: 0px 15px 0px 5px;\n}\n.legend__dialog .legend__d-header .legend__d-clear[data-v-7d963096] {\n color: #494ece;\n cursor: pointer;\n}\n.legend__dialog .legend__d-main[data-v-7d963096] {\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-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n max-height: 500px;\n overflow: auto;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.legend__dialog .legend__d-main .legend__cp[data-v-7d963096] {\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: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n margin: 0px 2px;\n margin-bottom: 12px;\n cursor: pointer;\n min-width: 23%;\n}\n.legend__dialog .legend__d-main .legend__cp[data-v-7d963096]:last-child {\n margin-right: 0px;\n}\n.legend__dialog .legend__d-main .legend__cp .legend__label[data-v-7d963096] {\n width: 100%;\n padding: 2px 4px;\n border-radius: 2px;\n color: #fff;\n margin-bottom: 2px;\n text-align: center;\n}\n.legend__dialog .legend__d-main .legend__cp .legend__label[data-v-7d963096]:last-child {\n margin-bottom: 0px;\n}\n",""])},UEBQ:function(e,n,t){"use strict";t.r(n);var o=t("m1cH"),i=t.n(o),l=t("FyfS"),r=t.n(l),a=t("QbLZ"),s=t.n(a),c=t("tH+O"),d=t("L2JU"),f={name:"CustomeLegend",components:{IconHoverAndActive:c.default},props:{choose:{type:Array,default:function(){return[]}},filter:{type:Boolean|Number,default:12}},data:function(){return{filters:this.filter,currentList:[],defColor:[["#494ece","#00d269","#ff8103","#00dfcf","#f23ba9","#0080ff","#c13ce1","#ffcd03","#7c56ff","#a7cf02","#00d3ff","#ff1414"],["#6e78fc","#66e4a5","#ffb36f","#6df1e7","#e576c2","#66b3ff","#dd83f2","#ffea84","#b692f6","#e1f397","#77e3ff","#ff5a5a"]],unchooseColor:["#bbbbc8","#E6E6E6"],chooseColor:[],selectedColor:0,withOutDialog:5,dialogShowing:!1,currentChoosed:[]}},computed:s()({},Object(d.c)(["icons"]),{filterLimit:function(){var e=this,n=0,t=!0,o=!1,i=void 0;try{for(var l,a=r()(this.currentList);!(t=(l=a.next()).done);t=!0){var s=l.value;s.length>n&&(n=s.length)}}catch(e){o=!0,i=e}finally{try{!t&&a.return&&a.return()}finally{if(o)throw i}}var c=function(t){return e.currentList.length*n>=t?t:e.currentList.length*n},d="number"==typeof this.filters?c(this.filters):c(12);return Math.floor(d/n)}}),watch:{choose:{handler:function(){this.toDisplay(),this.colorInit(),this.currentChoosed=[]}}},beforeMount:function(){this.toDisplay(),this.colorInit()},mounted:function(){var e=this;this.$nextTick(function(){document.addEventListener("click",e.hideDialog)})},beforeDestroy:function(){document.removeEventListener("click",this.hideDialog)},methods:{toDisplay:function(){var e=[],n=[].concat(i()(this.choose)),t=!0,o=!1,l=void 0;try{for(var a,s=r()(n);!(t=(a=s.next()).done);t=!0){for(var c=a.value,d=[],f=Array.isArray(c)?c:[c],h=0;h=0&&this.currentChoosed.splice(t,1),this.currentList[e].forEach(function(e,t){0===t&&n.filters&&n.selectedColor.push(n.chooseColor[0].indexOf(e.color)),e.color=n.unchooseColor[n.colorSelect(n.unchooseColor.length,t)]})},chooseItem:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this.currentChoosed.indexOf(e)>=0)this.clearItem(e);else{if(this.filters){var t=this.filterLimit;this.currentChoosed.length>=t&&this.clearItem(this.currentChoosed[0])}this.currentChoosed.push(e);for(var o=this.currentList[e],i=0;ithis.defColor[0].length?this.defColor[0].length:this.filterLimit,n=[],t=!0,o=!1,i=void 0;try{for(var l,a=r()(this.defColor);!(t=(l=a.next()).done);t=!0){var s=l.value;if(this.filters){for(var c=[],d=0;d0&&void 0!==arguments[0]&&arguments[0],n=[],t=!0,o=!1,i=void 0;try{for(var l,a=r()(this.currentList);!(t=(l=a.next()).done);t=!0){var s=l.value,c=[];if(this.unchooseColor.indexOf(s[0].color)<0){var d=!0,f=!1,h=void 0;try{for(var u,g=r()(s);!(d=(u=g.next()).done);d=!0){var p=u.value;e?c.indexOf(p.color)<0&&c.push(p.color):n.push(p.value)}}catch(e){f=!0,h=e}finally{try{!d&&g.return&&g.return()}finally{if(f)throw h}}e&&n.push({group:{name:s[0].group,color:c},items:s})}}}catch(e){o=!0,i=e}finally{try{!t&&a.return&&a.return()}finally{if(o)throw i}}return n},setProperty:function(e){this.clearAll(!0);var n=!0,t=!1,o=void 0;try{for(var i,l=r()(e);!(n=(i=l.next()).done);n=!0)for(var a=i.value,s=0;s0&&(n+="
"),n+=s.label}}catch(e){o=!0,i=e}finally{try{!t&&a.return&&a.return()}finally{if(o)throw i}}return n}}},h=(t("oWU4"),t("KHd+")),u=Object(h.a)(f,function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("section",{staticClass:"legend__container"},[t("div",{staticClass:"legend__display"},[e._l(e.currentList.slice(0,e.withOutDialog),function(n,o){return t("div",{key:o,staticClass:"legend__cp",on:{click:function(n){n.stopPropagation(),e.chooseItem(o)}}},e._l(n,function(n,o){return t("span",{key:o,staticClass:"legend__label",style:e.labelDisplay(n.color),attrs:{title:n.label}},[e._v(e._s(n.label))])}))}),e._v(" "),e.currentList.length>e.withOutDialog?t("div",{staticClass:"legend__cp",on:{click:e.showDialog}},e._l(e.currentList[0],function(n,o){return t("span",{key:o,staticClass:"legend__lable",style:e.labelDisplay(e.unchooseColor[o])},[e._v("...")])})):e._e(),e._v(" "),t("div",{staticClass:"legend__cp"},[t("icon-hover-and-active",{attrs:{"class-name":"page-arrow","default-url":e.icons.normal.unfold,"hover-url":e.icons.hover.unfold,"active-url":e.icons.active.unfold},on:{clickFn:e.showDialog}})],1)],2),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:e.dialogShowing,expression:"dialogShowing"}],staticClass:"legend__dialog",on:{click:function(e){e.stopPropagation()}}},[t("header",{staticClass:"legend__d-header"},[t("div",{staticClass:"legend__d-operation"},[t("span",{staticClass:"legend__d-text"},[e._v("Total: "+e._s(e.currentList.length))]),e._v(" "),t("span",{staticClass:"legend__d-text"},[e._v("Selected: "+e._s(e.currentChoosed.length))]),e._v(" "),t("span",{staticClass:"legend__d-text legend__d-clear",on:{click:function(n){n.stopPropagation(),e.clearAll(!1)}}},[e._v("Clear")])]),e._v(" "),t("span",{staticClass:"legend__d-hide"},[t("icon-hover-and-active",{attrs:{"class-name":"page-arrow","default-url":e.icons.normal.fold,"hover-url":e.icons.hover.fold,"active-url":e.icons.active.fold},on:{clickFn:e.hideDialog}})],1)]),e._v(" "),t("main",{staticClass:"legend__d-main"},e._l(e.currentList,function(n,o){return t("div",{key:o,staticClass:"legend__cp",on:{click:function(n){n.stopPropagation(),e.chooseItem(o)}}},e._l(n,function(n,o){return t("span",{key:o,staticClass:"legend__label showAll",style:e.labelDisplay(n.color)},[e._v(e._s(n.label))])}))}))])])},[],!1,null,"7d963096",null);u.options.__file="index.vue";n.default=u.exports},nmRn:function(e,n,t){var o=t("Syvd");"string"==typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);(0,t("SZ7m").default)("503a19eb",o,!0,{})},oWU4:function(e,n,t){"use strict";var o=t("nmRn");t.n(o).a}}]);
\ No newline at end of file
diff --git a/src/main/resources/static/static/js/chunk-8a60.802997cd.js b/src/main/resources/static/static/js/chunk-8a60.802997cd.js
deleted file mode 100644
index c8ec7db2..00000000
--- a/src/main/resources/static/static/js/chunk-8a60.802997cd.js
+++ /dev/null
@@ -1 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8a60"],{dg0h:function(t,i){},lfs7:function(t,i,e){"use strict";var s=e("dg0h");e.n(s).a},pqJc:function(t,i,e){"use strict";e.r(i);var s={name:"",components:{cinput:function(){return e.e("chunk-7222").then(e.bind(null,"zsTo"))}},props:{value:{type:String,default:""},editorFirst:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},className:{type:String,default:""}},data:function(){return{editorContent:"",displayContent:"",showEditor:!1,disabledSet:!1}},watch:{value:{handler:function(){this.displayContent=this.value,this.editorContent=this.value},deep:!0},disabled:function(){this.disabledSet=this.disabled}},created:function(){this.init()},methods:{init:function(){this.disabledSet=this.disabled,this.displayContent=this.value,this.editorFirst&&this.toEditor()},toEditor:function(){this.disabledSet||(this.editorContent=this.displayContent,this.showEditor=!0)},toDisplay:function(t){t&&this.displayContent!==this.editorContent&&(this.displayContent=this.editorContent,this.updated()),this.showEditor=!1},updated:function(){this.$listeners.input&&this.$emit("input",this.displayContent),this.$emit("change",this.displayContent)},disable:function(){this.disabledSet=!1},able:function(){this.disabledSet=!0}}},n=(e("lfs7"),e("KHd+")),o=Object(n.a)(s,function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("section",{staticClass:"editor__container",class:t.className},[e("div",{staticClass:"editor_edit"},[t._t("prepend",null,{operation:{toDisplay:t.toDisplay,disabled:t.disabledSet}}),t._v(" "),e("cinput",{attrs:{disabled:t.disabledSet},model:{value:t.editorContent,callback:function(i){t.editorContent=i},expression:"editorContent"}}),t._v(" "),t._t("append",[e("i",{staticClass:"el-icon-success editor__btn",on:{click:function(i){t.toDisplay(!0)}}}),t._v(" "),e("i",{staticClass:"el-icon-failed editor__btn",on:{click:function(i){t.toDisplay(!1)}}})],{operation:{toDisplay:t.toDisplay,disabled:t.disabledSet}})],2),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.showEditor,expression:"!showEditor"}],staticClass:"editor__display"},[t._t("content",[e("span",{staticClass:"editor__display-text"},[t._v(t._s(t.displayContent))]),t._v(" "),e("i",{staticClass:"el-icon-editor editor__btn",on:{click:t.toEditor}})],{content:{content:t.displayContent,toEditor:t.toEditor,disabled:t.disabledSet}})],2)])},[],!1,null,"2a2b1c66",null);o.options.__file="index.vue";i.default=o.exports}}]);
\ No newline at end of file
diff --git a/src/main/resources/static/static/js/chunk-8e04.2f036bf9.js b/src/main/resources/static/static/js/chunk-8e04.2f036bf9.js
deleted file mode 100644
index e351f7ce..00000000
--- a/src/main/resources/static/static/js/chunk-8e04.2f036bf9.js
+++ /dev/null
@@ -1,16 +0,0 @@
-(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-8e04"],{"+Ej1":function(t,e,r){t.exports={default:r("TclB"),__esModule:!0}},"+plK":function(t,e,r){r("ApPD"),t.exports=r("WEpk").Object.getPrototypeOf},"/lCS":function(t,e,r){var n=r("gFfm"),i=r("jbM+"),o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return n(o,function(r){var n="_."+r[0];e&r[1]&&!i(t,n)&&t.push(n)}),t.sort()}},"0ADi":function(t,e,r){var n=r("heNW"),i=r("EldB"),o=r("Kz5y"),a=1;t.exports=function(t,e,r,u){var s=e&a,f=i(t);return function e(){for(var i=-1,a=arguments.length,c=-1,l=u.length,h=Array(l+a),d=this&&this!==o&&this instanceof e?f:t;++c1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(r,"{\n/* [wrapped with "+e+"] */\n")}},"3EZw":function(t,e,r){var n=r("6T1N"),i=8;function o(t,e,r){var a=n(t,i,void 0,void 0,void 0,void 0,void 0,e=r?void 0:e);return a.placeholder=o.placeholder,a}o.placeholder={},t.exports=o},"3Fdi":function(t,e){var r=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"3GJH":function(t,e,r){r("lCc8");var n=r("WEpk").Object;t.exports=function(t,e){return n.create(t,e)}},"3cYt":function(t,e){t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},"5sOR":function(t,e,r){var n=r("N4mw"),i=r("99Ms"),o=r("T8tx"),a=1,u=2,s=4,f=8,c=32,l=64;t.exports=function(t,e,r,h,d,p,_,v,g,m){var y=e&f;e|=y?c:l,(e&=~(y?l:c))&s||(e&=~(a|u));var b=[t,e,d,y?p:void 0,y?_:void 0,y?void 0:p,y?void 0:_,v,g,m],w=r.apply(void 0,b);return n(t)&&i(w,b),w.placeholder=h,o(w,t,e)}},"6KkN":function(t,e){var r="__lodash_placeholder__";t.exports=function(t,e){for(var n=-1,i=t.length,o=0,a=[];++n0){if(++e>=r)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"99Ms":function(t,e,r){var n=r("s0N+"),i=r("88Gu")(n);t.exports=i},"9NmV":function(t,e){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",i="\\d+",o="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",u="[^\\ud800-\\udfff"+r+i+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:"+a+"|"+u+")",h="(?:"+c+"|"+u+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",s,f].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),_="(?:"+[o,s,f].join("|")+")"+p,v=RegExp([c+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,c,"$"].join("|")+")",h+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,c+l,"$"].join("|")+")",c+"?"+l+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",i,_].join("|"),"g");t.exports=function(t){return t.match(v)||[]}},ApPD:function(t,e,r){var n=r("JB68"),i=r("U+KD");r("zn7N")("getPrototypeOf",function(){return function(t){return i(n(t))}})},AyUB:function(t,e,r){t.exports={default:r("3GJH"),__esModule:!0}},CZoQ:function(t,e){t.exports=function(t,e,r){for(var n=r-1,i=t.length;++ni?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++n
- * Copyright OpenJS Foundation and other contributors
- * Released under MIT license
- * Based on Underscore.js 1.8.3
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var o,a=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",f="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",l=500,h="__lodash_placeholder__",d=1,p=2,_=4,v=1,g=2,m=1,y=2,b=4,w=8,x=16,k=32,E=64,S=128,A=256,z=512,C=30,O="...",I=800,R=16,T=1,j=2,B=1/0,L=9007199254740991,F=1.7976931348623157e308,D=NaN,N=4294967295,U=N-1,P=N>>>1,W=[["ary",S],["bind",m],["bindKey",y],["curry",w],["curryRight",x],["flip",z],["partial",k],["partialRight",E],["rearg",A]],Z="[object Arguments]",M="[object Array]",H="[object AsyncFunction]",G="[object Boolean]",K="[object Date]",Y="[object DOMException]",q="[object Error]",$="[object Function]",V="[object GeneratorFunction]",J="[object Map]",X="[object Number]",Q="[object Null]",tt="[object Object]",et="[object Proxy]",rt="[object RegExp]",nt="[object Set]",it="[object String]",ot="[object Symbol]",at="[object Undefined]",ut="[object WeakMap]",st="[object WeakSet]",ft="[object ArrayBuffer]",ct="[object DataView]",lt="[object Float32Array]",ht="[object Float64Array]",dt="[object Int8Array]",pt="[object Int16Array]",_t="[object Int32Array]",vt="[object Uint8Array]",gt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",bt=/\b__p \+= '';/g,wt=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,kt=/&(?:amp|lt|gt|quot|#39);/g,Et=/[&<>"']/g,St=RegExp(kt.source),At=RegExp(Et.source),zt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,It=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Rt=/^\w*$/,Tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Bt=RegExp(jt.source),Lt=/^\s+/,Ft=/\s/,Dt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ut=/,? & /,Pt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Wt=/[()=,{}\[\]\/\s]/,Zt=/\\(\\)?/g,Mt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ht=/\w*$/,Gt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,Yt=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,$t=/^(?:0|[1-9]\d*)$/,Vt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jt=/($^)/,Xt=/['\n\r\u2028\u2029\\]/g,Qt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ee="[\\ud800-\\udfff]",re="["+te+"]",ne="["+Qt+"]",ie="\\d+",oe="[\\u2700-\\u27bf]",ae="[a-z\\xdf-\\xf6\\xf8-\\xff]",ue="[^\\ud800-\\udfff"+te+ie+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",se="\\ud83c[\\udffb-\\udfff]",fe="[^\\ud800-\\udfff]",ce="(?:\\ud83c[\\udde6-\\uddff]){2}",le="[\\ud800-\\udbff][\\udc00-\\udfff]",he="[A-Z\\xc0-\\xd6\\xd8-\\xde]",de="(?:"+ae+"|"+ue+")",pe="(?:"+he+"|"+ue+")",_e="(?:"+ne+"|"+se+")"+"?",ve="[\\ufe0e\\ufe0f]?"+_e+("(?:\\u200d(?:"+[fe,ce,le].join("|")+")[\\ufe0e\\ufe0f]?"+_e+")*"),ge="(?:"+[oe,ce,le].join("|")+")"+ve,me="(?:"+[fe+ne+"?",ne,ce,le,ee].join("|")+")",ye=RegExp("['’]","g"),be=RegExp(ne,"g"),we=RegExp(se+"(?="+se+")|"+me+ve,"g"),xe=RegExp([he+"?"+ae+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[re,he,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[re,he+de,"$"].join("|")+")",he+"?"+de+"+(?:['’](?:d|ll|m|re|s|t|ve))?",he+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ie,ge].join("|"),"g"),ke=RegExp("[\\u200d\\ud800-\\udfff"+Qt+"\\ufe0e\\ufe0f]"),Ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ae=-1,ze={};ze[lt]=ze[ht]=ze[dt]=ze[pt]=ze[_t]=ze[vt]=ze[gt]=ze[mt]=ze[yt]=!0,ze[Z]=ze[M]=ze[ft]=ze[G]=ze[ct]=ze[K]=ze[q]=ze[$]=ze[J]=ze[X]=ze[tt]=ze[rt]=ze[nt]=ze[it]=ze[ut]=!1;var Ce={};Ce[Z]=Ce[M]=Ce[ft]=Ce[ct]=Ce[G]=Ce[K]=Ce[lt]=Ce[ht]=Ce[dt]=Ce[pt]=Ce[_t]=Ce[J]=Ce[X]=Ce[tt]=Ce[rt]=Ce[nt]=Ce[it]=Ce[ot]=Ce[vt]=Ce[gt]=Ce[mt]=Ce[yt]=!0,Ce[q]=Ce[$]=Ce[ut]=!1;var Oe={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ie=parseFloat,Re=parseInt,Te="object"==typeof t&&t&&t.Object===Object&&t,je="object"==typeof self&&self&&self.Object===Object&&self,Be=Te||je||Function("return this")(),Le="object"==typeof e&&e&&!e.nodeType&&e,Fe=Le&&"object"==typeof n&&n&&!n.nodeType&&n,De=Fe&&Fe.exports===Le,Ne=De&&Te.process,Ue=function(){try{var t=Fe&&Fe.require&&Fe.require("util").types;return t||Ne&&Ne.binding&&Ne.binding("util")}catch(t){}}(),Pe=Ue&&Ue.isArrayBuffer,We=Ue&&Ue.isDate,Ze=Ue&&Ue.isMap,Me=Ue&&Ue.isRegExp,He=Ue&&Ue.isSet,Ge=Ue&&Ue.isTypedArray;function Ke(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function Ye(t,e,r,n){for(var i=-1,o=null==t?0:t.length;++i-1}function Qe(t,e,r){for(var n=-1,i=null==t?0:t.length;++n-1;);return r}function xr(t,e){for(var r=t.length;r--&&sr(e,t[r],0)>-1;);return r}var kr=dr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Er=dr({"&":"&","<":"<",">":">",'"':""","'":"'"});function Sr(t){return"\\"+Oe[t]}function Ar(t){return ke.test(t)}function zr(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}function Cr(t,e){return function(r){return t(e(r))}}function Or(t,e){for(var r=-1,n=t.length,i=0,o=[];++r",""":'"',"'":"'"});var Fr=function t(e){var r=(e=null==e?Be:Fr.defaults(Be.Object(),e,Fr.pick(Be,Se))).Array,n=e.Date,i=e.Error,Ft=e.Function,Qt=e.Math,te=e.Object,ee=e.RegExp,re=e.String,ne=e.TypeError,ie=r.prototype,oe=Ft.prototype,ae=te.prototype,ue=e["__core-js_shared__"],se=oe.toString,fe=ae.hasOwnProperty,ce=0,le=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),he=ae.toString,de=se.call(te),pe=Be._,_e=ee("^"+se.call(fe).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ve=De?e.Buffer:o,ge=e.Symbol,me=e.Uint8Array,we=ve?ve.allocUnsafe:o,ke=Cr(te.getPrototypeOf,te),Oe=te.create,Te=ae.propertyIsEnumerable,je=ie.splice,Le=ge?ge.isConcatSpreadable:o,Fe=ge?ge.iterator:o,Ne=ge?ge.toStringTag:o,Ue=function(){try{var t=Po(te,"defineProperty");return t({},"",{}),t}catch(t){}}(),or=e.clearTimeout!==Be.clearTimeout&&e.clearTimeout,dr=n&&n.now!==Be.Date.now&&n.now,Dr=e.setTimeout!==Be.setTimeout&&e.setTimeout,Nr=Qt.ceil,Ur=Qt.floor,Pr=te.getOwnPropertySymbols,Wr=ve?ve.isBuffer:o,Zr=e.isFinite,Mr=ie.join,Hr=Cr(te.keys,te),Gr=Qt.max,Kr=Qt.min,Yr=n.now,qr=e.parseInt,$r=Qt.random,Vr=ie.reverse,Jr=Po(e,"DataView"),Xr=Po(e,"Map"),Qr=Po(e,"Promise"),tn=Po(e,"Set"),en=Po(e,"WeakMap"),rn=Po(te,"create"),nn=en&&new en,on={},an=ha(Jr),un=ha(Xr),sn=ha(Qr),fn=ha(tn),cn=ha(en),ln=ge?ge.prototype:o,hn=ln?ln.valueOf:o,dn=ln?ln.toString:o;function pn(t){if(Ou(t)&&!mu(t)&&!(t instanceof mn)){if(t instanceof gn)return t;if(fe.call(t,"__wrapped__"))return da(t)}return new gn(t)}var _n=function(){function t(){}return function(e){if(!Cu(e))return{};if(Oe)return Oe(e);t.prototype=e;var r=new t;return t.prototype=o,r}}();function vn(){}function gn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function mn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=N,this.__views__=[]}function yn(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Fn(t,e,r,n,i,a){var u,s=e&d,f=e&p,c=e&_;if(r&&(u=i?r(t,n,i,a):r(t)),u!==o)return u;if(!Cu(t))return t;var l=mu(t);if(l){if(u=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&fe.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(t),!s)return no(t,u)}else{var h=Mo(t),v=h==$||h==V;if(xu(t))return Ji(t,s);if(h==tt||h==Z||v&&!i){if(u=f||v?{}:Go(t),!s)return f?function(t,e){return io(t,Zo(t),e)}(t,function(t,e){return t&&io(e,as(e),t)}(u,t)):function(t,e){return io(t,Wo(t),e)}(t,Tn(u,t))}else{if(!Ce[h])return i?t:{};u=function(t,e,r){var n=t.constructor;switch(e){case ft:return Xi(t);case G:case K:return new n(+t);case ct:return function(t,e){var r=e?Xi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case lt:case ht:case dt:case pt:case _t:case vt:case gt:case mt:case yt:return Qi(t,r);case J:return new n;case X:case it:return new n(t);case rt:return function(t){var e=new t.constructor(t.source,Ht.exec(t));return e.lastIndex=t.lastIndex,e}(t);case nt:return new n;case ot:return function(t){return hn?te(hn.call(t)):{}}(t)}}(t,h,s)}}a||(a=new kn);var g=a.get(t);if(g)return g;a.set(t,u),Bu(t)?t.forEach(function(n){u.add(Fn(n,e,r,n,t,a))}):Iu(t)&&t.forEach(function(n,i){u.set(i,Fn(n,e,r,i,t,a))});var m=l?o:(c?f?jo:To:f?as:os)(t);return qe(m||t,function(n,i){m&&(n=t[i=n]),On(u,i,Fn(n,e,r,i,t,a))}),u}function Dn(t,e,r){var n=r.length;if(null==t)return!n;for(t=te(t);n--;){var i=r[n],a=e[i],u=t[i];if(u===o&&!(i in t)||!a(u))return!1}return!0}function Nn(t,e,r){if("function"!=typeof t)throw new ne(s);return oa(function(){t.apply(o,r)},e)}function Un(t,e,r,n){var i=-1,o=Xe,u=!0,s=t.length,f=[],c=e.length;if(!s)return f;r&&(e=tr(e,mr(r))),n?(o=Qe,u=!1):e.length>=a&&(o=br,u=!1,e=new xn(e));t:for(;++i-1},bn.prototype.set=function(t,e){var r=this.__data__,n=In(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this},wn.prototype.clear=function(){this.size=0,this.__data__={hash:new yn,map:new(Xr||bn),string:new yn}},wn.prototype.delete=function(t){var e=No(this,t).delete(t);return this.size-=e?1:0,e},wn.prototype.get=function(t){return No(this,t).get(t)},wn.prototype.has=function(t){return No(this,t).has(t)},wn.prototype.set=function(t,e){var r=No(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this},xn.prototype.add=xn.prototype.push=function(t){return this.__data__.set(t,c),this},xn.prototype.has=function(t){return this.__data__.has(t)},kn.prototype.clear=function(){this.__data__=new bn,this.size=0},kn.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},kn.prototype.get=function(t){return this.__data__.get(t)},kn.prototype.has=function(t){return this.__data__.has(t)},kn.prototype.set=function(t,e){var r=this.__data__;if(r instanceof bn){var n=r.__data__;if(!Xr||n.length0&&r(u)?e>1?Gn(u,e-1,r,n,i):er(i,u):n||(i[i.length]=u)}return i}var Kn=so(),Yn=so(!0);function qn(t,e){return t&&Kn(t,e,os)}function $n(t,e){return t&&Yn(t,e,os)}function Vn(t,e){return Je(e,function(e){return Su(t[e])})}function Jn(t,e){for(var r=0,n=(e=Yi(e,t)).length;null!=t&&re}function ei(t,e){return null!=t&&fe.call(t,e)}function ri(t,e){return null!=t&&e in te(t)}function ni(t,e,n){for(var i=n?Qe:Xe,a=t[0].length,u=t.length,s=u,f=r(u),c=1/0,l=[];s--;){var h=t[s];s&&e&&(h=tr(h,mr(e))),c=Kr(h.length,c),f[s]=!n&&(e||a>=120&&h.length>=120)?new xn(s&&h):o}h=t[0];var d=-1,p=f[0];t:for(;++d=u)return s;var f=r[n];return s*("desc"==f?-1:1)}}return t.index-e.index}(t,e,r)})}function yi(t,e,r){for(var n=-1,i=e.length,o={};++n-1;)u!==t&&je.call(u,s,1),je.call(t,s,1);return t}function wi(t,e){for(var r=t?e.length:0,n=r-1;r--;){var i=e[r];if(r==n||i!==o){var o=i;Yo(i)?je.call(t,i,1):Ui(t,i)}}return t}function xi(t,e){return t+Ur($r()*(e-t+1))}function ki(t,e){var r="";if(!t||e<1||e>L)return r;do{e%2&&(r+=t),(e=Ur(e/2))&&(t+=t)}while(e);return r}function Ei(t,e){return aa(ea(t,e,Rs),t+"")}function Si(t){return Sn(ps(t))}function Ai(t,e){var r=ps(t);return fa(r,Ln(e,0,r.length))}function zi(t,e,r,n){if(!Cu(t))return t;for(var i=-1,a=(e=Yi(e,t)).length,u=a-1,s=t;null!=s&&++io?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i>>1,a=t[o];null!==a&&!Fu(a)&&(r?a<=e:a=a){var c=e?null:Eo(t);if(c)return Ir(c);u=!1,i=br,f=new xn}else f=e?[]:s;t:for(;++n=n?t:Ri(t,e,r)}var Vi=or||function(t){return Be.clearTimeout(t)};function Ji(t,e){if(e)return t.slice();var r=t.length,n=we?we(r):new t.constructor(r);return t.copy(n),n}function Xi(t){var e=new t.constructor(t.byteLength);return new me(e).set(new me(t)),e}function Qi(t,e){var r=e?Xi(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function to(t,e){if(t!==e){var r=t!==o,n=null===t,i=t==t,a=Fu(t),u=e!==o,s=null===e,f=e==e,c=Fu(e);if(!s&&!c&&!a&&t>e||a&&u&&f&&!s&&!c||n&&u&&f||!r&&f||!i)return 1;if(!n&&!a&&!c&&t1?r[i-1]:o,u=i>2?r[2]:o;for(a=t.length>3&&"function"==typeof a?(i--,a):o,u&&qo(r[0],r[1],u)&&(a=i<3?o:a,i=1),e=te(e);++n-1?i[a?e[u]:u]:o}}function po(t){return Ro(function(e){var r=e.length,n=r,i=gn.prototype.thru;for(t&&e.reverse();n--;){var a=e[n];if("function"!=typeof a)throw new ne(s);if(i&&!u&&"wrapper"==Lo(a))var u=new gn([],!0)}for(n=u?n:r;++n1&&b.reverse(),h&&cs))return!1;var c=a.get(t),l=a.get(e);if(c&&l)return c==e&&l==t;var h=-1,d=!0,p=r&g?new xn:o;for(a.set(t,e),a.set(e,t);++h-1&&t%1==0&&t1?"& ":"")+e[n],e=e.join(r>2?", ":" "),t.replace(Dt,"{\n/* [wrapped with "+e+"] */\n")}(n,function(t,e){return qe(W,function(r){var n="_."+r[0];e&r[1]&&!Xe(t,n)&&t.push(n)}),t.sort()}(function(t){var e=t.match(Nt);return e?e[1].split(Ut):[]}(n),r)))}function sa(t){var e=0,r=0;return function(){var n=Yr(),i=R-(n-r);if(r=n,i>0){if(++e>=I)return arguments[0]}else e=0;return t.apply(o,arguments)}}function fa(t,e){var r=-1,n=t.length,i=n-1;for(e=e===o?n:e;++r1?t[e-1]:o;return ja(t,r="function"==typeof r?(t.pop(),r):o)});function Pa(t){var e=pn(t);return e.__chain__=!0,e}function Wa(t,e){return e(t)}var Za=Ro(function(t){var e=t.length,r=e?t[0]:0,n=this.__wrapped__,i=function(e){return Bn(e,t)};return!(e>1||this.__actions__.length)&&n instanceof mn&&Yo(r)?((n=n.slice(r,+r+(e?1:0))).__actions__.push({func:Wa,args:[i],thisArg:o}),new gn(n,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Ma=oo(function(t,e,r){fe.call(t,r)?++t[r]:jn(t,r,1)});var Ha=ho(ga),Ga=ho(ma);function Ka(t,e){return(mu(t)?qe:Pn)(t,Do(e,3))}function Ya(t,e){return(mu(t)?$e:Wn)(t,Do(e,3))}var qa=oo(function(t,e,r){fe.call(t,r)?t[r].push(e):jn(t,r,[e])});var $a=Ei(function(t,e,n){var i=-1,o="function"==typeof e,a=bu(t)?r(t.length):[];return Pn(t,function(t){a[++i]=o?Ke(e,t,n):ii(t,e,n)}),a}),Va=oo(function(t,e,r){jn(t,r,e)});function Ja(t,e){return(mu(t)?tr:di)(t,Do(e,3))}var Xa=oo(function(t,e,r){t[r?0:1].push(e)},function(){return[[],[]]});var Qa=Ei(function(t,e){if(null==t)return[];var r=e.length;return r>1&&qo(t,e[0],e[1])?e=[]:r>2&&qo(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Gn(e,1),[])}),tu=dr||function(){return Be.Date.now()};function eu(t,e,r){return e=r?o:e,e=t&&null==e?t.length:e,Ao(t,S,o,o,o,o,e)}function ru(t,e){var r;if("function"!=typeof e)throw new ne(s);return t=Zu(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=o),r}}var nu=Ei(function(t,e,r){var n=m;if(r.length){var i=Or(r,Fo(nu));n|=k}return Ao(t,n,e,r,i)}),iu=Ei(function(t,e,r){var n=m|y;if(r.length){var i=Or(r,Fo(iu));n|=k}return Ao(e,n,t,r,i)});function ou(t,e,r){var n,i,a,u,f,c,l=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new ne(s);function _(e){var r=n,a=i;return n=i=o,l=e,u=t.apply(a,r)}function v(t){var r=t-c;return c===o||r>=e||r<0||d&&t-l>=a}function g(){var t=tu();if(v(t))return m(t);f=oa(g,function(t){var r=e-(t-c);return d?Kr(r,a-(t-l)):r}(t))}function m(t){return f=o,p&&n?_(t):(n=i=o,u)}function y(){var t=tu(),r=v(t);if(n=arguments,i=this,c=t,r){if(f===o)return function(t){return l=t,f=oa(g,e),h?_(t):u}(c);if(d)return Vi(f),f=oa(g,e),_(c)}return f===o&&(f=oa(g,e)),u}return e=Hu(e)||0,Cu(r)&&(h=!!r.leading,a=(d="maxWait"in r)?Gr(Hu(r.maxWait)||0,e):a,p="trailing"in r?!!r.trailing:p),y.cancel=function(){f!==o&&Vi(f),l=0,n=c=i=f=o},y.flush=function(){return f===o?u:m(tu())},y}var au=Ei(function(t,e){return Nn(t,1,e)}),uu=Ei(function(t,e,r){return Nn(t,Hu(e)||0,r)});function su(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ne(s);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(su.Cache||wn),r}function fu(t){if("function"!=typeof t)throw new ne(s);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}su.Cache=wn;var cu=qi(function(t,e){var r=(e=1==e.length&&mu(e[0])?tr(e[0],mr(Do())):tr(Gn(e,1),mr(Do()))).length;return Ei(function(n){for(var i=-1,o=Kr(n.length,r);++i=e}),gu=oi(function(){return arguments}())?oi:function(t){return Ou(t)&&fe.call(t,"callee")&&!Te.call(t,"callee")},mu=r.isArray,yu=Pe?mr(Pe):function(t){return Ou(t)&&Qn(t)==ft};function bu(t){return null!=t&&zu(t.length)&&!Su(t)}function wu(t){return Ou(t)&&bu(t)}var xu=Wr||Hs,ku=We?mr(We):function(t){return Ou(t)&&Qn(t)==K};function Eu(t){if(!Ou(t))return!1;var e=Qn(t);return e==q||e==Y||"string"==typeof t.message&&"string"==typeof t.name&&!Tu(t)}function Su(t){if(!Cu(t))return!1;var e=Qn(t);return e==$||e==V||e==H||e==et}function Au(t){return"number"==typeof t&&t==Zu(t)}function zu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=L}function Cu(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ou(t){return null!=t&&"object"==typeof t}var Iu=Ze?mr(Ze):function(t){return Ou(t)&&Mo(t)==J};function Ru(t){return"number"==typeof t||Ou(t)&&Qn(t)==X}function Tu(t){if(!Ou(t)||Qn(t)!=tt)return!1;var e=ke(t);if(null===e)return!0;var r=fe.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&se.call(r)==de}var ju=Me?mr(Me):function(t){return Ou(t)&&Qn(t)==rt};var Bu=He?mr(He):function(t){return Ou(t)&&Mo(t)==nt};function Lu(t){return"string"==typeof t||!mu(t)&&Ou(t)&&Qn(t)==it}function Fu(t){return"symbol"==typeof t||Ou(t)&&Qn(t)==ot}var Du=Ge?mr(Ge):function(t){return Ou(t)&&zu(t.length)&&!!ze[Qn(t)]};var Nu=wo(hi),Uu=wo(function(t,e){return t<=e});function Pu(t){if(!t)return[];if(bu(t))return Lu(t)?jr(t):no(t);if(Fe&&t[Fe])return function(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}(t[Fe]());var e=Mo(t);return(e==J?zr:e==nt?Ir:ps)(t)}function Wu(t){return t?(t=Hu(t))===B||t===-B?(t<0?-1:1)*F:t==t?t:0:0===t?t:0}function Zu(t){var e=Wu(t),r=e%1;return e==e?r?e-r:e:0}function Mu(t){return t?Ln(Zu(t),0,N):0}function Hu(t){if("number"==typeof t)return t;if(Fu(t))return D;if(Cu(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Cu(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=gr(t);var r=Kt.test(t);return r||qt.test(t)?Re(t.slice(2),r?2:8):Gt.test(t)?D:+t}function Gu(t){return io(t,as(t))}function Ku(t){return null==t?"":Di(t)}var Yu=ao(function(t,e){if(Xo(e)||bu(e))io(e,os(e),t);else for(var r in e)fe.call(e,r)&&On(t,r,e[r])}),qu=ao(function(t,e){io(e,as(e),t)}),$u=ao(function(t,e,r,n){io(e,as(e),t,n)}),Vu=ao(function(t,e,r,n){io(e,os(e),t,n)}),Ju=Ro(Bn);var Xu=Ei(function(t,e){t=te(t);var r=-1,n=e.length,i=n>2?e[2]:o;for(i&&qo(e[0],e[1],i)&&(n=1);++r1),e}),io(t,jo(t),r),n&&(r=Fn(r,d|p|_,Oo));for(var i=e.length;i--;)Ui(r,e[i]);return r});var cs=Ro(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,r){return es(t,r)})}(t,e)});function ls(t,e){if(null==t)return{};var r=tr(jo(t),function(t){return[t]});return e=Do(e),yi(t,r,function(t,r){return e(t,r[0])})}var hs=So(os),ds=So(as);function ps(t){return null==t?[]:yr(t,os(t))}var _s=co(function(t,e,r){return e=e.toLowerCase(),t+(r?vs(e):e)});function vs(t){return Es(Ku(t).toLowerCase())}function gs(t){return(t=Ku(t))&&t.replace(Vt,kr).replace(be,"")}var ms=co(function(t,e,r){return t+(r?"-":"")+e.toLowerCase()}),ys=co(function(t,e,r){return t+(r?" ":"")+e.toLowerCase()}),bs=fo("toLowerCase");var ws=co(function(t,e,r){return t+(r?"_":"")+e.toLowerCase()});var xs=co(function(t,e,r){return t+(r?" ":"")+Es(e)});var ks=co(function(t,e,r){return t+(r?" ":"")+e.toUpperCase()}),Es=fo("toUpperCase");function Ss(t,e,r){return t=Ku(t),(e=r?o:e)===o?function(t){return Ee.test(t)}(t)?function(t){return t.match(xe)||[]}(t):function(t){return t.match(Pt)||[]}(t):t.match(e)||[]}var As=Ei(function(t,e){try{return Ke(t,o,e)}catch(t){return Eu(t)?t:new i(t)}}),zs=Ro(function(t,e){return qe(e,function(e){e=la(e),jn(t,e,nu(t[e],t))}),t});function Cs(t){return function(){return t}}var Os=po(),Is=po(!0);function Rs(t){return t}function Ts(t){return fi("function"==typeof t?t:Fn(t,d))}var js=Ei(function(t,e){return function(r){return ii(r,t,e)}}),Bs=Ei(function(t,e){return function(r){return ii(t,r,e)}});function Ls(t,e,r){var n=os(e),i=Vn(e,n);null!=r||Cu(e)&&(i.length||!n.length)||(r=e,e=t,t=this,i=Vn(e,os(e)));var o=!(Cu(r)&&"chain"in r&&!r.chain),a=Su(t);return qe(i,function(r){var n=e[r];t[r]=n,a&&(t.prototype[r]=function(){var e=this.__chain__;if(o||e){var r=t(this.__wrapped__);return(r.__actions__=no(this.__actions__)).push({func:n,args:arguments,thisArg:t}),r.__chain__=e,r}return n.apply(t,er([this.value()],arguments))})}),t}function Fs(){}var Ds=mo(tr),Ns=mo(Ve),Us=mo(ir);function Ps(t){return $o(t)?hr(la(t)):function(t){return function(e){return Jn(e,t)}}(t)}var Ws=bo(),Zs=bo(!0);function Ms(){return[]}function Hs(){return!1}var Gs=go(function(t,e){return t+e},0),Ks=ko("ceil"),Ys=go(function(t,e){return t/e},1),qs=ko("floor");var $s=go(function(t,e){return t*e},1),Vs=ko("round"),Js=go(function(t,e){return t-e},0);return pn.after=function(t,e){if("function"!=typeof e)throw new ne(s);return t=Zu(t),function(){if(--t<1)return e.apply(this,arguments)}},pn.ary=eu,pn.assign=Yu,pn.assignIn=qu,pn.assignInWith=$u,pn.assignWith=Vu,pn.at=Ju,pn.before=ru,pn.bind=nu,pn.bindAll=zs,pn.bindKey=iu,pn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return mu(t)?t:[t]},pn.chain=Pa,pn.chunk=function(t,e,n){e=(n?qo(t,e,n):e===o)?1:Gr(Zu(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,u=0,s=r(Nr(i/e));ai?0:i+r),(n=n===o||n>i?i:Zu(n))<0&&(n+=i),n=r>n?0:Mu(n);r>>0)?(t=Ku(t))&&("string"==typeof e||null!=e&&!ju(e))&&!(e=Di(e))&&Ar(t)?$i(jr(t),0,r):t.split(e,r):[]},pn.spread=function(t,e){if("function"!=typeof t)throw new ne(s);return e=null==e?0:Gr(Zu(e),0),Ei(function(r){var n=r[e],i=$i(r,0,e);return n&&er(i,n),Ke(t,this,i)})},pn.tail=function(t){var e=null==t?0:t.length;return e?Ri(t,1,e):[]},pn.take=function(t,e,r){return t&&t.length?Ri(t,0,(e=r||e===o?1:Zu(e))<0?0:e):[]},pn.takeRight=function(t,e,r){var n=null==t?0:t.length;return n?Ri(t,(e=n-(e=r||e===o?1:Zu(e)))<0?0:e,n):[]},pn.takeRightWhile=function(t,e){return t&&t.length?Wi(t,Do(e,3),!1,!0):[]},pn.takeWhile=function(t,e){return t&&t.length?Wi(t,Do(e,3)):[]},pn.tap=function(t,e){return e(t),t},pn.throttle=function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new ne(s);return Cu(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),ou(t,e,{leading:n,maxWait:e,trailing:i})},pn.thru=Wa,pn.toArray=Pu,pn.toPairs=hs,pn.toPairsIn=ds,pn.toPath=function(t){return mu(t)?tr(t,la):Fu(t)?[t]:no(ca(Ku(t)))},pn.toPlainObject=Gu,pn.transform=function(t,e,r){var n=mu(t),i=n||xu(t)||Du(t);if(e=Do(e,4),null==r){var o=t&&t.constructor;r=i?n?new o:[]:Cu(t)&&Su(o)?_n(ke(t)):{}}return(i?qe:qn)(t,function(t,n,i){return e(r,t,n,i)}),r},pn.unary=function(t){return eu(t,1)},pn.union=Oa,pn.unionBy=Ia,pn.unionWith=Ra,pn.uniq=function(t){return t&&t.length?Ni(t):[]},pn.uniqBy=function(t,e){return t&&t.length?Ni(t,Do(e,2)):[]},pn.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Ni(t,o,e):[]},pn.unset=function(t,e){return null==t||Ui(t,e)},pn.unzip=Ta,pn.unzipWith=ja,pn.update=function(t,e,r){return null==t?t:Pi(t,e,Ki(r))},pn.updateWith=function(t,e,r,n){return n="function"==typeof n?n:o,null==t?t:Pi(t,e,Ki(r),n)},pn.values=ps,pn.valuesIn=function(t){return null==t?[]:yr(t,as(t))},pn.without=Ba,pn.words=Ss,pn.wrap=function(t,e){return lu(Ki(e),t)},pn.xor=La,pn.xorBy=Fa,pn.xorWith=Da,pn.zip=Na,pn.zipObject=function(t,e){return Hi(t||[],e||[],On)},pn.zipObjectDeep=function(t,e){return Hi(t||[],e||[],zi)},pn.zipWith=Ua,pn.entries=hs,pn.entriesIn=ds,pn.extend=qu,pn.extendWith=$u,Ls(pn,pn),pn.add=Gs,pn.attempt=As,pn.camelCase=_s,pn.capitalize=vs,pn.ceil=Ks,pn.clamp=function(t,e,r){return r===o&&(r=e,e=o),r!==o&&(r=(r=Hu(r))==r?r:0),e!==o&&(e=(e=Hu(e))==e?e:0),Ln(Hu(t),e,r)},pn.clone=function(t){return Fn(t,_)},pn.cloneDeep=function(t){return Fn(t,d|_)},pn.cloneDeepWith=function(t,e){return Fn(t,d|_,e="function"==typeof e?e:o)},pn.cloneWith=function(t,e){return Fn(t,_,e="function"==typeof e?e:o)},pn.conformsTo=function(t,e){return null==e||Dn(t,e,os(e))},pn.deburr=gs,pn.defaultTo=function(t,e){return null==t||t!=t?e:t},pn.divide=Ys,pn.endsWith=function(t,e,r){t=Ku(t),e=Di(e);var n=t.length,i=r=r===o?n:Ln(Zu(r),0,n);return(r-=e.length)>=0&&t.slice(r,i)==e},pn.eq=pu,pn.escape=function(t){return(t=Ku(t))&&At.test(t)?t.replace(Et,Er):t},pn.escapeRegExp=function(t){return(t=Ku(t))&&Bt.test(t)?t.replace(jt,"\\$&"):t},pn.every=function(t,e,r){var n=mu(t)?Ve:Zn;return r&&qo(t,e,r)&&(e=o),n(t,Do(e,3))},pn.find=Ha,pn.findIndex=ga,pn.findKey=function(t,e){return ar(t,Do(e,3),qn)},pn.findLast=Ga,pn.findLastIndex=ma,pn.findLastKey=function(t,e){return ar(t,Do(e,3),$n)},pn.floor=qs,pn.forEach=Ka,pn.forEachRight=Ya,pn.forIn=function(t,e){return null==t?t:Kn(t,Do(e,3),as)},pn.forInRight=function(t,e){return null==t?t:Yn(t,Do(e,3),as)},pn.forOwn=function(t,e){return t&&qn(t,Do(e,3))},pn.forOwnRight=function(t,e){return t&&$n(t,Do(e,3))},pn.get=ts,pn.gt=_u,pn.gte=vu,pn.has=function(t,e){return null!=t&&Ho(t,e,ei)},pn.hasIn=es,pn.head=ba,pn.identity=Rs,pn.includes=function(t,e,r,n){t=bu(t)?t:ps(t),r=r&&!n?Zu(r):0;var i=t.length;return r<0&&(r=Gr(i+r,0)),Lu(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&sr(t,e,r)>-1},pn.indexOf=function(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=null==r?0:Zu(r);return i<0&&(i=Gr(n+i,0)),sr(t,e,i)},pn.inRange=function(t,e,r){return e=Wu(e),r===o?(r=e,e=0):r=Wu(r),function(t,e,r){return t>=Kr(e,r)&&t=-L&&t<=L},pn.isSet=Bu,pn.isString=Lu,pn.isSymbol=Fu,pn.isTypedArray=Du,pn.isUndefined=function(t){return t===o},pn.isWeakMap=function(t){return Ou(t)&&Mo(t)==ut},pn.isWeakSet=function(t){return Ou(t)&&Qn(t)==st},pn.join=function(t,e){return null==t?"":Mr.call(t,e)},pn.kebabCase=ms,pn.last=Ea,pn.lastIndexOf=function(t,e,r){var n=null==t?0:t.length;if(!n)return-1;var i=n;return r!==o&&(i=(i=Zu(r))<0?Gr(n+i,0):Kr(i,n-1)),e==e?function(t,e,r){for(var n=r+1;n--;)if(t[n]===e)return n;return n}(t,e,i):ur(t,cr,i,!0)},pn.lowerCase=ys,pn.lowerFirst=bs,pn.lt=Nu,pn.lte=Uu,pn.max=function(t){return t&&t.length?Mn(t,Rs,ti):o},pn.maxBy=function(t,e){return t&&t.length?Mn(t,Do(e,2),ti):o},pn.mean=function(t){return lr(t,Rs)},pn.meanBy=function(t,e){return lr(t,Do(e,2))},pn.min=function(t){return t&&t.length?Mn(t,Rs,hi):o},pn.minBy=function(t,e){return t&&t.length?Mn(t,Do(e,2),hi):o},pn.stubArray=Ms,pn.stubFalse=Hs,pn.stubObject=function(){return{}},pn.stubString=function(){return""},pn.stubTrue=function(){return!0},pn.multiply=$s,pn.nth=function(t,e){return t&&t.length?gi(t,Zu(e)):o},pn.noConflict=function(){return Be._===this&&(Be._=pe),this},pn.noop=Fs,pn.now=tu,pn.pad=function(t,e,r){t=Ku(t);var n=(e=Zu(e))?Tr(t):0;if(!e||n>=e)return t;var i=(e-n)/2;return yo(Ur(i),r)+t+yo(Nr(i),r)},pn.padEnd=function(t,e,r){t=Ku(t);var n=(e=Zu(e))?Tr(t):0;return e&&ne){var n=t;t=e,e=n}if(r||t%1||e%1){var i=$r();return Kr(t+i*(e-t+Ie("1e-"+((i+"").length-1))),e)}return xi(t,e)},pn.reduce=function(t,e,r){var n=mu(t)?rr:pr,i=arguments.length<3;return n(t,Do(e,4),r,i,Pn)},pn.reduceRight=function(t,e,r){var n=mu(t)?nr:pr,i=arguments.length<3;return n(t,Do(e,4),r,i,Wn)},pn.repeat=function(t,e,r){return e=(r?qo(t,e,r):e===o)?1:Zu(e),ki(Ku(t),e)},pn.replace=function(){var t=arguments,e=Ku(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pn.result=function(t,e,r){var n=-1,i=(e=Yi(e,t)).length;for(i||(i=1,t=o);++nL)return[];var r=N,n=Kr(t,N);e=Do(e),t-=N;for(var i=vr(n,e);++r=a)return t;var s=r-Tr(n);if(s<1)return n;var f=u?$i(u,0,s).join(""):t.slice(0,s);if(i===o)return f+n;if(u&&(s+=f.length-s),ju(i)){if(t.slice(s).search(i)){var c,l=f;for(i.global||(i=ee(i.source,Ku(Ht.exec(i))+"g")),i.lastIndex=0;c=i.exec(l);)var h=c.index;f=f.slice(0,h===o?s:h)}}else if(t.indexOf(Di(i),s)!=s){var d=f.lastIndexOf(i);d>-1&&(f=f.slice(0,d))}return f+n},pn.unescape=function(t){return(t=Ku(t))&&St.test(t)?t.replace(kt,Lr):t},pn.uniqueId=function(t){var e=++ce;return Ku(t)+e},pn.upperCase=ks,pn.upperFirst=Es,pn.each=Ka,pn.eachRight=Ya,pn.first=ba,Ls(pn,function(){var t={};return qn(pn,function(e,r){fe.call(pn.prototype,r)||(t[r]=e)}),t}(),{chain:!1}),pn.VERSION="4.17.21",qe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pn[t].placeholder=pn}),qe(["drop","take"],function(t,e){mn.prototype[t]=function(r){r=r===o?1:Gr(Zu(r),0);var n=this.__filtered__&&!e?new mn(this):this.clone();return n.__filtered__?n.__takeCount__=Kr(r,n.__takeCount__):n.__views__.push({size:Kr(r,N),type:t+(n.__dir__<0?"Right":"")}),n},mn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),qe(["filter","map","takeWhile"],function(t,e){var r=e+1,n=r==T||3==r;mn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Do(t,3),type:r}),e.__filtered__=e.__filtered__||n,e}}),qe(["head","last"],function(t,e){var r="take"+(e?"Right":"");mn.prototype[t]=function(){return this[r](1).value()[0]}}),qe(["initial","tail"],function(t,e){var r="drop"+(e?"":"Right");mn.prototype[t]=function(){return this.__filtered__?new mn(this):this[r](1)}}),mn.prototype.compact=function(){return this.filter(Rs)},mn.prototype.find=function(t){return this.filter(t).head()},mn.prototype.findLast=function(t){return this.reverse().find(t)},mn.prototype.invokeMap=Ei(function(t,e){return"function"==typeof t?new mn(this):this.map(function(r){return ii(r,t,e)})}),mn.prototype.reject=function(t){return this.filter(fu(Do(t)))},mn.prototype.slice=function(t,e){t=Zu(t);var r=this;return r.__filtered__&&(t>0||e<0)?new mn(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),e!==o&&(r=(e=Zu(e))<0?r.dropRight(-e):r.take(e-t)),r)},mn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mn.prototype.toArray=function(){return this.take(N)},qn(mn.prototype,function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),n=/^(?:head|last)$/.test(e),i=pn[n?"take"+("last"==e?"Right":""):e],a=n||/^find/.test(e);i&&(pn.prototype[e]=function(){var e=this.__wrapped__,u=n?[1]:arguments,s=e instanceof mn,f=u[0],c=s||mu(e),l=function(t){var e=i.apply(pn,er([t],u));return n&&h?e[0]:e};c&&r&&"function"==typeof f&&1!=f.length&&(s=c=!1);var h=this.__chain__,d=!!this.__actions__.length,p=a&&!h,_=s&&!d;if(!a&&c){e=_?e:new mn(this);var v=t.apply(e,u);return v.__actions__.push({func:Wa,args:[l],thisArg:o}),new gn(v,h)}return p&&_?t.apply(this,u):(v=this.thru(l),p?n?v.value()[0]:v.value():v)})}),qe(["pop","push","shift","sort","splice","unshift"],function(t){var e=ie[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",n=/^(?:pop|shift)$/.test(t);pn.prototype[t]=function(){var t=arguments;if(n&&!this.__chain__){var i=this.value();return e.apply(mu(i)?i:[],t)}return this[r](function(r){return e.apply(mu(r)?r:[],t)})}}),qn(mn.prototype,function(t,e){var r=pn[e];if(r){var n=r.name+"";fe.call(on,n)||(on[n]=[]),on[n].push({name:e,func:r})}}),on[_o(o,y).name]=[{name:"wrapper",func:o}],mn.prototype.clone=function(){var t=new mn(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},mn.prototype.reverse=function(){if(this.__filtered__){var t=new mn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,r=mu(t),n=e<0,i=r?t.length:0,o=function(t,e,r){for(var n=-1,i=r.length;++n=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},pn.prototype.plant=function(t){for(var e,r=this;r instanceof vn;){var n=da(r);n.__index__=0,n.__values__=o,e?i.__wrapped__=n:e=n;var i=n;r=r.__wrapped__}return i.__wrapped__=t,e},pn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mn){var e=t;return this.__actions__.length&&(e=new mn(this)),(e=e.reverse()).__actions__.push({func:Wa,args:[Ca],thisArg:o}),new gn(e,this.__chain__)}return this.thru(Ca)},pn.prototype.toJSON=pn.prototype.valueOf=pn.prototype.value=function(){return Zi(this.__wrapped__,this.__actions__)},pn.prototype.first=pn.prototype.head,Fe&&(pn.prototype[Fe]=function(){return this}),pn}();Be._=Fr,(i=function(){return Fr}.call(e,r,e,n))===o||(n.exports=i)}).call(this)}).call(this,r("yLpj"),r("YuTi")(t))},MMiu:function(t,e){var r=Math.max;t.exports=function(t,e,n,i){for(var o=-1,a=t.length,u=-1,s=n.length,f=-1,c=e.length,l=r(a-s,0),h=Array(l+c),d=!i;++o1&&p.reverse(),A&&E=0,o=i&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=r("u4eC"),i)n.regeneratorRuntime=o;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},dTAl:function(t,e,r){var n=r("GoyQ"),i=Object.create,o=function(){function t(){}return function(e){if(!n(e))return{};if(i)return i(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();t.exports=o},dVn5:function(t,e){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(r)||[]}},dt0z:function(t,e,r){var n=r("zoYe");t.exports=function(t){return null==t?"":n(t)}},eUgh:function(t,e){t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r-1}},lCc8:function(t,e,r){var n=r("Y7ZC");n(n.S,"Object",{create:r("oVml")})},lSCD:function(t,e,r){var n=r("NykK"),i=r("GoyQ"),o="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";t.exports=function(t){if(!i(t))return!1;var e=n(t);return e==a||e==u||e==o||e==s}},mRg0:function(t,e,r){"use strict";e.__esModule=!0;var n=a(r("s3Ml")),i=a(r("AyUB")),o=a(r("EJiy"));function a(t){return t&&t.__esModule?t:{default:t}}e.default=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":(0,o.default)(e)));t.prototype=(0,i.default)(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(n.default?(0,n.default)(t,e):t.__proto__=e)}},nGDx:function(t,e,r){var n=r("Y7ZC"),i=r("E8gZ")(!0);n(n.S,"Object",{entries:function(t){return i(t)}})},oF3Q:function(t,e,r){t.exports={default:r("tgZa"),__esModule:!0}},pFRH:function(t,e,r){var n=r("cvCv"),i=r("O0oS"),o=r("zZ0H"),a=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=a},pzgU:function(t,e,r){var n=r("Q1l4"),i=r("wJg7"),o=Math.min;t.exports=function(t,e){for(var r=t.length,a=o(e.length,r),u=n(t);a--;){var s=e[a];t[a]=i(s,r)?u[s]:void 0}return t}},q3TU:function(t,e,r){var n=r("y4QH"),i=r("MMiu"),o=r("6KkN"),a="__lodash_placeholder__",u=1,s=2,f=4,c=8,l=128,h=256,d=Math.min;t.exports=function(t,e){var r=t[1],p=e[1],_=r|p,v=_<(u|s|l),g=p==l&&r==c||p==l&&r==h&&t[7].length<=e[8]||p==(l|h)&&e[7].length<=e[8]&&r==c;if(!v&&!g)return t;p&u&&(t[2]=e[2],_|=r&u?0:f);var m=e[3];if(m){var y=t[3];t[3]=y?n(y,m,e[4]):m,t[4]=y?o(t[3],a):e[4]}return(m=e[5])&&(y=t[5],t[5]=y?i(y,m,e[6]):m,t[6]=y?o(t[5],a):e[6]),(m=e[7])&&(t[7]=m),p&l&&(t[8]=null==t[8]?e[8]:d(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=_,t}},qRkn:function(t,e,r){var n=r("3cYt")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});t.exports=n},quyA:function(t,e){var r=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return r.test(t)}},rj6w:function(t,e,r){var n=r("fxGX"),i=r("zoYe");t.exports=function(t,e){return function(r,o){var a;if(void 0===r&&void 0===o)return e;if(void 0!==r&&(a=r),void 0!==o){if(void 0===a)return o;"string"==typeof r||"string"==typeof o?(r=i(r),o=i(o)):(r=n(r),o=n(o)),a=t(r,o)}return a}}},"s0N+":function(t,e,r){var n=r("zZ0H"),i=r("a5q3"),o=i?function(t,e){return i.set(t,e),t}:n;t.exports=o},s3Ml:function(t,e,r){t.exports={default:r("JbBM"),__esModule:!0}},sgoq:function(t,e,r){var n=r("asDA"),i=r("TKrE"),o=r("6nK8"),a=RegExp("['’]","g");t.exports=function(t){return function(e){return n(o(i(e).replace(a,"")),t,"")}}},sxGJ:function(t,e,r){
-/*!
- * clipboard.js v2.0.8
- * https://clipboardjs.com/
- *
- * Licensed MIT © Zeno Rocha
- */
-!function(e,r){t.exports=r()}(0,function(){return function(){var t={134:function(t,e,r){"use strict";r.d(e,{default:function(){return m}});var n=r(279),i=r.n(n),o=r(370),a=r.n(o),u=r(817),s=r.n(u);function f(t){"@babel/helpers - typeof";return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var e=window.pageYOffset||document.documentElement.scrollTop;return this.fakeElem.style.top="".concat(e,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,e=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(e),this.selectedText=s()(e),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=s()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==f(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();function h(t){"@babel/helpers - typeof";return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=a()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return g("action",t)}},{key:"defaultTarget",value:function(t){var e=g("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return g("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,r=!!document.queryCommandSupported;return e.forEach(function(t){r=r&&!!document.queryCommandSupported(t)}),r}}]),r}()},828:function(t){var e=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(t,r){for(;t&&t.nodeType!==e;){if("function"==typeof t.matches&&t.matches(r))return t;t=t.parentNode}}},438:function(t,e,r){var n=r(828);function i(t,e,r,i,o){var a=function(t,e,r,i){return function(r){r.delegateTarget=n(r.target,e),r.delegateTarget&&i.call(t,r)}}.apply(this,arguments);return t.addEventListener(r,a,o),{destroy:function(){t.removeEventListener(r,a,o)}}}t.exports=function(t,e,r,n,o){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof r?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,r,n,o)}))}},879:function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var r=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},370:function(t,e,r){var n=r(879),i=r(438);t.exports=function(t,e,r){if(!t&&!e&&!r)throw new Error("Missing required arguments");if(!n.string(e))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(t))return function(t,e,r){return t.addEventListener(e,r),{destroy:function(){t.removeEventListener(e,r)}}}(t,e,r);if(n.nodeList(t))return function(t,e,r){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,r)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,r)})}}}(t,e,r);if(n.string(t))return function(t,e,r){return i(document.body,t,e,r)}(t,e,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(t){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var r=t.hasAttribute("readonly");r||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),r||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),i=document.createRange();i.selectNodeContents(t),n.removeAllRanges(),n.addRange(i),e=n.toString()}return e}},279:function(t){function e(){}e.prototype={on:function(t,e,r){var n=this.e||(this.e={});return(n[t]||(n[t]=[])).push({fn:e,ctx:r}),this},once:function(t,e,r){var n=this;function i(){n.off(t,i),e.apply(r,arguments)}return i._=e,this.on(t,i,r)},emit:function(t){for(var e=[].slice.call(arguments,1),r=((this.e||(this.e={}))[t]||[]).slice(),n=0,i=r.length;n=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=i.call(a,"catchLoc"),f=i.call(a,"finallyLoc");if(s&&f){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),O(r),_}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;O(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:R(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),_}}}function b(t,e,r,n){var i=e&&e.prototype instanceof x?e:x,o=Object.create(i.prototype),a=new I(n||[]);return o._invoke=function(t,e,r){var n=l;return function(i,o){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===i)throw o;return T()}for(r.method=i,r.arg=o;;){var a=r.delegate;if(a){var u=z(a,r);if(u){if(u===_)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=p,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var s=w(t,e,r);if("normal"===s.type){if(n=r.done?p:h,s.arg===_)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=p,r.method="throw",r.arg=s.arg)}}}(t,r,a),o}function w(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}function x(){}function k(){}function E(){}function S(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function A(t){var e;this._invoke=function(r,n){function o(){return new Promise(function(e,o){!function e(r,n,o,a){var u=w(t[r],t,n);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&i.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(f).then(function(t){s.value=t,o(s)},a)}a(u.arg)}(r,n,e,o)})}return e=e?e.then(o,o):o()}}function z(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,z(t,e),"throw"===e.method))return _;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var i=w(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,_;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,_):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,_)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function R(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n-1&&t%1==0&&t=i?t:n(t,e,r)}},xFI3:function(t,e,r){var n=r("Yoag"),i=r("6ae/"),o=r("Q1l4");t.exports=function(t){if(t instanceof n)return t.clone();var e=new i(t.__wrapped__,t.__chain__);return e.__actions__=o(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}},xOOu:function(t,e,r){(function(e,r){var n;t.exports=function t(e,r,i){function o(u,s){if(!r[u]){if(!e[u]){var f="function"==typeof n&&n;if(!s&&f)return n(u,!0);if(a)return a(u,!0);var c=new Error("Cannot find module '"+u+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[u]={exports:{}};e[u][0].call(l.exports,function(t){var r=e[u][1][t];return o(r||t)},l,l.exports,t,e,r,i)}return r[u].exports}for(var a="function"==typeof n&&n,u=0;u>2,u=(3&e)<<4|r>>4,s=1>6:64,f=2>4,r=(15&a)<<4|(u=o.indexOf(t.charAt(f++)))>>2,n=(3&u)<<6|(s=o.indexOf(t.charAt(f++))),h[c++]=e,64!==u&&(h[c++]=r),64!==s&&(h[c++]=n);return h}},{"./support":30,"./utils":32}],2:[function(t,e,r){"use strict";var n=t("./external"),i=t("./stream/DataWorker"),o=t("./stream/Crc32Probe"),a=t("./stream/DataLengthProbe");function u(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}u.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),e=this;return t.on("end",function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},u.createWorkerFrom=function(t,e,r){return t.pipe(new o).pipe(new a("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",e)},e.exports=u},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){"use strict";var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(t){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){"use strict";var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var u=0;u>>8^o[255&(t^e[u])];return-1^t}(0|e,t,t.length):function(t,e,r,n){var o=i,a=0+r;t^=-1;for(var u=0;u>>8^o[255&(t^e.charCodeAt(u))];return-1^t}(0|e,t,t.length):0}},{"./utils":32}],5:[function(t,e,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),o=t("./utils"),a=t("./stream/GenericWorker"),u=n?"uint8array":"array";function s(t,e){a.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",o.inherits(s,a),s.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(u,t.data),!1)},s.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},s.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},s.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new s("Deflate",t)},r.uncompressWorker=function(){return new s("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){"use strict";function n(t,e){var r,n="";for(r=0;r>>=8;return n}function i(t,e,r,i,a,c){var l,h,d=t.file,p=t.compression,_=c!==u.utf8encode,v=o.transformTo("string",c(d.name)),g=o.transformTo("string",u.utf8encode(d.name)),m=d.comment,y=o.transformTo("string",c(m)),b=o.transformTo("string",u.utf8encode(m)),w=g.length!==d.name.length,x=b.length!==m.length,k="",E="",S="",A=d.dir,z=d.date,C={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(C.crc32=t.crc32,C.compressedSize=t.compressedSize,C.uncompressedSize=t.uncompressedSize);var O=0;e&&(O|=8),_||!w&&!x||(O|=2048);var I=0,R=0;A&&(I|=16),"UNIX"===a?(R=798,I|=function(t,e){var r=t;return t||(r=33204),(65535&r)<<16}(d.unixPermissions)):(R=20,I|=(d.dosPermissions,0)),l=z.getUTCHours(),l<<=6,l|=z.getUTCMinutes(),l<<=5,l|=z.getUTCSeconds()/2,h=z.getUTCFullYear()-1980,h<<=4,h|=z.getUTCMonth()+1,h<<=5,h|=z.getUTCDate(),w&&(E=n(1,1)+n(s(v),4)+g,k+="up"+n(E.length,2)+E),x&&(S=n(1,1)+n(s(y),4)+b,k+="uc"+n(S.length,2)+S);var T="";return T+="\n\0",T+=n(O,2),T+=p.magic,T+=n(l,2),T+=n(h,2),T+=n(C.crc32,4),T+=n(C.compressedSize,4),T+=n(C.uncompressedSize,4),T+=n(v.length,2),T+=n(k.length,2),{fileRecord:f.LOCAL_FILE_HEADER+T+v+k,dirRecord:f.CENTRAL_FILE_HEADER+n(R,2)+T+n(y.length,2)+"\0\0\0\0"+n(I,4)+n(i,4)+v+k+y}}var o=t("../utils"),a=t("../stream/GenericWorker"),u=t("../utf8"),s=t("../crc32"),f=t("../signature");function c(t,e,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,a),c.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,a.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=i(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:function(t){return f.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,r){"use strict";var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){"use strict";var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){"use strict";var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){"use strict";var n=t("../utils"),i=t("../support"),o=t("./ArrayReader"),a=t("./StringReader"),u=t("./NodeBufferReader"),s=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new u(t):i.uint8array?new s(n.transformTo("uint8array",t)):new o(n.transformTo("array",t)):new a(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../utils");function o(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(o,n),o.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){"use strict";var n=t("./GenericWorker"),i=t("../crc32");function o(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(o,n),o.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(o,i),o.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){"use strict";var n=t("../utils"),i=t("./GenericWorker");function o(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then(function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()},function(t){e.error(t)})}n.inherits(o,i),o.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r