You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/frontend/258.63273054b4d0580d.js

1 line
330 KiB
JavaScript

"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[258],{7258:(Op,$t,_)=>{_.r($t),_.d($t,{ECLModule:()=>Jt});var c=_(6895),C=_(9116),Ce=_(8878),t=_(4650),p=_(1576),R=_(3162);function xe(i,n){1&i&&t._UZ(0,"mat-progress-bar",3)}class j{constructor(n){this.router=n,this.loading=!1,this.router.events.subscribe(e=>{switch(!0){case e instanceof C.OD:this.loading=!0;break;case e instanceof C.m2:case e instanceof C.gk:case e instanceof C.Q3:this.loading=!1}})}static#t=this.\u0275fac=function(e){return new(e||j)(t.Y36(C.F0))};static#e=this.\u0275cmp=t.Xpm({type:j,selectors:[["rtl-ecl-root"]],decls:4,vars:1,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["color","primary","mode","indeterminate",4,"ngIf"],["outlet","outlet"],["color","primary","mode","indeterminate"]],template:function(e,a){1&e&&(t.TgZ(0,"div",0),t.YNc(1,xe,1,0,"mat-progress-bar",1),t._UZ(2,"router-outlet",null,2),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",a.loading))},dependencies:[c.O5,p.xw,p.Wh,p.yH,R.pW,C.lC],data:{animation:[Ce.g]}})}var u=_(7579),h=_(2722),Mt=_(1365),Xt=_(3396),T=_(2687),s=_(7731),g=_(2501),q=_(5043),A=_(9653),N=_(62),F=_(2216),L=_(5829),E=_(4859),b=_(3546),jt=_(782),te=_(7392),Qt=_(8255),P=_(3848);const ee=function(i){return{backgroundColor:i}};function ye(i,n){if(1&i&&t._UZ(0,"span",6),2&i){const e=t.oxw();t.Q6J("ngStyle",t.VKq(1,ee,null==e.information?null:e.information.color))}}function Te(i,n){if(1&i&&(t.TgZ(0,"div")(1,"h4",1),t._uU(2,"Color"),t.qZA(),t.TgZ(3,"div",2),t._UZ(4,"span",7),t._uU(5),t.ALo(6,"uppercase"),t.qZA()()),2&i){const e=t.oxw();t.xp6(4),t.Q6J("ngStyle",t.VKq(4,ee,null==e.information?null:e.information.color)),t.xp6(1),t.hij(" ",t.lcZ(6,2,null==e.information?null:e.information.color)," ")}}function be(i,n){if(1&i&&(t.TgZ(0,"span",2),t._uU(1),t.qZA()),2&i){const e=n.$implicit;t.xp6(1),t.Oqu(e)}}class st{constructor(n){this.commonService=n,this.chains=[""]}ngOnChanges(){this.chains=[],this.chains.push("Bitcoin "+(this.information.network?this.commonService.titleCase(this.information.network):"Testnet"))}static#t=this.\u0275fac=function(e){return new(e||st)(t.Y36(N.v))};static#e=this.\u0275cmp=t.Xpm({type:st,selectors:[["rtl-ecl-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[t.TTD],decls:17,vars:5,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch"],[1,"dashboard-info-title"],[1,"overflow-wrap","dashboard-info-value"],["class","dashboard-node-dot dot",3,"ngStyle",4,"ngIf"],[4,"ngIf"],["class","overflow-wrap dashboard-info-value",4,"ngFor","ngForOf"],[1,"dashboard-node-dot","dot",3,"ngStyle"],[1,"dashboard-node-square",3,"ngStyle"]],template:function(e,a){1&e&&(t.TgZ(0,"div",0)(1,"div")(2,"h4",1),t._uU(3,"Alias"),t.qZA(),t.TgZ(4,"div",2),t._uU(5),t.YNc(6,ye,1,3,"span",3),t.qZA()(),t.YNc(7,Te,7,6,"div",4),t.TgZ(8,"div")(9,"h4",1),t._uU(10,"Implementation"),t.qZA(),t.TgZ(11,"div",2),t._uU(12),t.qZA()(),t.TgZ(13,"div")(14,"h4",1),t._uU(15,"Chain"),t.qZA(),t.YNc(16,be,2,1,"span",5),t.qZA()()),2&e&&(t.xp6(5),t.hij(" ",null==a.information?null:a.information.alias," "),t.xp6(1),t.Q6J("ngIf",!a.showColorFieldSeparately),t.xp6(1),t.Q6J("ngIf",a.showColorFieldSeparately),t.xp6(5),t.Oqu(null!=a.information&&a.information.lnImplementation||null!=a.information&&a.information.version?(null==a.information?null:a.information.lnImplementation)+" "+(null==a.information?null:a.information.version):""),t.xp6(4),t.Q6J("ngForOf",a.chains))},dependencies:[c.sg,c.O5,c.PC,p.xw,p.Wh,p.yH,L.Zl,c.gd]})}function ve(i,n){if(1&i&&(t.TgZ(0,"div",2)(1,"div")(2,"h4",3),t._uU(3,"Lightning"),t.qZA(),t.TgZ(4,"div",4),t._uU(5),t.ALo(6,"number"),t.qZA(),t._UZ(7,"mat-progress-bar",5),t.qZA(),t.TgZ(8,"div")(9,"h4",3),t._uU(10,"On-chain"),t.qZA(),t.TgZ(11,"div",4),t._uU(12),t.ALo(13,"number"),t.qZA(),t._UZ(14,"mat-progress-bar",5),t.qZA(),t.TgZ(15,"div")(16,"h4",3),t._uU(17,"Total"),t.qZA(),t.TgZ(18,"div",4),t._uU(19),t.ALo(20,"number"),t.qZA()()()),2&i){const e=t.oxw();t.xp6(5),t.hij("",t.lcZ(6,5,e