Ride-The-Lightning-RTL/angular/main.6ae72405689159511d30.js

1 line
2.6 MiB
JavaScript
Raw Normal View History

2019-02-21 19:32:54 -05:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+1uz":function(e,t,n){"use strict";function i(e,t,n,i,r,l){var o=l[0],a=l[1],u=l[2],s=l[3],c="";return c="M"+[e+r,t],c+="h"+((n=0===(n=Math.floor(n))?1:n)-2*r),c+=a?"a"+[r,r]+" 0 0 1 "+[r,r]:"h"+r+"v"+r,c+="v"+((i=0===(i=Math.floor(i))?1:i)-2*r),c+=s?"a"+[r,r]+" 0 0 1 "+[-r,r]:"v"+r+"h"+-r,c+="h"+(2*r-n),c+=u?"a"+[r,r]+" 0 0 1 "+[-r,-r]:"h"+-r+"v"+-r,c+="v"+(2*r-i),(c+=o?"a"+[r,r]+" 0 0 1 "+[r,-r]:"v"+-r+"h"+r)+"z"}n.d(t,"a",function(){return i})},"+Za2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("CcnG");var i=n("DtyJ"),r=n("ahDk"),l=(n("yGQT"),n("f7VI")),o=(n("cpEJ"),n("QvMG"),n("iVvL"));t.ChannelPendingComponent=function(){function e(e,t,n){this.logger=e,this.store=t,this.rtlEffects=n,this.selectedFilter=0,this.information={},this.pendingChannels={},this.displayedClosingColumns=["closing_txid","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.pendingClosingChannelsLength=0,this.displayedForceClosingColumns=["closing_txid","limbo_balance","maturity_height","blocks_til_maturity","recovered_balance","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.pendingForceClosingChannelsLength=0,this.displayedOpenColumns=["commit_weight","confirmation_height","fee_per_kw","commit_fee","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.pendingOpenChannelsLength=0,this.displayedWaitClosingColumns=["limbo_balance","channel_point","remote_balance","local_balance","remote_node_pub","capacity"],this.pendingWaitClosingChannelsLength=0,this.flgLoading=[!0],this.unsub=[new i.Subject,new i.Subject]}return e.prototype.ngOnInit=function(){var e=this;this.store.select("rtlRoot").pipe(r.takeUntil(this.unsub[0])).subscribe(function(t){t.effectErrors.forEach(function(t){"FetchChannels/pending"===t.action&&(e.flgLoading[0]="error")}),e.settings=t.settings,e.information=t.information,e.pendingChannels=t.pendingChannels,void 0!==e.pendingChannels.total_limbo_balance&&(e.flgLoading[1]=!1,void 0!==e.pendingChannels.pending_closing_channels&&e.loadClosingChannelsTable(e.pendingChannels.pending_closing_channels),void 0!==e.pendingChannels.pending_force_closing_channels&&e.loadForceClosingChannelsTable(e.pendingChannels.pending_force_closing_channels),void 0!==e.pendingChannels.pending_open_channels&&e.loadOpenChannelsTable(e.pendingChannels.pending_open_channels),void 0!==e.pendingChannels.waiting_close_channels&&e.loadWaitClosingChannelsTable(e.pendingChannels.waiting_close_channels)),"error"!==e.flgLoading[0]&&(e.flgLoading[0]=void 0===e.information.identity_pubkey),e.logger.info(t)})},e.prototype.onOpenClick=function(e,t){var n=this.pendingOpenChannels.data.filter(function(t){return t.channel.channel_point===e.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["commit_weight","confirmation_height","fee_per_kw","commit_fee"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),l={};Object.assign(l,i,r),this.store.dispatch(new o.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(l)}}))},e.prototype.onForceClosingClick=function(e,t){var n=this.pendingForceClosingChannels.data.filter(function(t){return t.channel.channel_point===e.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["closing_txid","limbo_balance","maturity_height","blocks_til_maturity","recovered_balance"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),l={};Object.assign(l,i,r),this.store.dispatch(new o.OpenAlert({width:"75%",data:{type:"INFO",message:JSON.stringify(l)}}))},e.prototype.onClosingClick=function(e,t){var n=this.pendingClosingChannels.data.filter(function(t){return t.channel.channel_point===e.channel.channel_point})[0],i=JSON.parse(JSON.stringify(n,["closing_txid"],2)),r=JSON.parse(JSON.stringify(n.channel,["channel_point","remote_balance","local_balance","remote_node_pub","capacity"],2)),l={};Object.assign(l,i,