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/564.283bbf915d77d48a.js

1 line
2.8 MiB
JavaScript

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[564],{9564:(Er,Ni,Ut)=>{"use strict";Ut.r(Ni),Ut.d(Ni,{CLNModule:()=>xE});var Bt=Ut(9808),_t=Ut(1402),Rn=Ut(8878),A=Ut(5e3),Ct=Ut(7093),S=Ut(5899);function I(i,d){1&i&&A._UZ(0,"mat-progress-bar",3)}let n=(()=>{class i{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(a=>{switch(!0){case a instanceof _t.OD:this.loading=!0;break;case a instanceof _t.m2:case a instanceof _t.gk:case a instanceof _t.Q3:this.loading=!1}})}}return i.\u0275fac=function(t){return new(t||i)(A.Y36(_t.F0))},i.\u0275cmp=A.Xpm({type:i,selectors:[["rtl-cln-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(t,a){1&t&&(A.TgZ(0,"div",0),A.YNc(1,I,1,0,"mat-progress-bar",1),A._UZ(2,"router-outlet",null,2),A.qZA()),2&t&&(A.xp6(1),A.Q6J("ngIf",a.loading))},directives:[Ct.xw,Ct.yH,Ct.Wh,Bt.O5,S.pW,_t.lC],styles:[""],data:{animation:[Rn.g]}}),i})();var c=Ut(7579),r=Ut(2722),s=Ut(1365),l=Ut(3396),h=Ut(2687),o=Ut(7731),B=Ut(9828),E=Ut(5043),u=Ut(5620),C=Ut(62),e=Ut(9546),f=Ut(3954),g=Ut(9224),w=Ut(7423),Q=Ut(2181),m=Ut(5245),T=Ut(3322);const x=function(i){return{backgroundColor:i}};function p(i,d){if(1&i&&A._UZ(0,"span",6),2&i){const t=A.oxw();A.Q6J("ngStyle",A.VKq(1,x,"#"+(null==t.information?null:t.information.color)))}}function v(i,d){if(1&i&&(A.TgZ(0,"div")(1,"h4",1),A._uU(2,"Color"),A.qZA(),A.TgZ(3,"div",2),A._UZ(4,"span",7),A._uU(5),A.ALo(6,"uppercase"),A.qZA()()),2&i){const t=A.oxw();A.xp6(4),A.Q6J("ngStyle",A.VKq(4,x,"#"+(null==t.information?null:t.information.color))),A.xp6(1),A.hij(" ",A.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function D(i,d){if(1&i&&(A.TgZ(0,"span",2),A._uU(1),A.qZA()),2&i){const t=d.$implicit;A.xp6(1),A.Oqu(t)}}let b=(()=>{class i{constructor(t){this.commonService=t,this.chains=[""]}ngOnChanges(){this.information&&this.information.chains&&this.information.chains.length>0&&(this.chains=[""],this.information.chains.forEach(t=>{this.chains.push(this.commonService.titleCase(t.chain||"")+" "+this.commonService.titleCase(t.network||""))}))}}return i.\u0275fac=function(t){return new(t||i)(A.Y36(C.v))},i.\u0275cmp=A.Xpm({type:i,selectors:[["rtl-cln-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[A.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(t,a){1&t&&(A.TgZ(0,"div",0)(1,"div")(2,"h4",1),A._uU(3,"Alias"),A.qZA(),A.TgZ(4,"div",2),A._uU(5),A.YNc(6,p,1,3,"span",3),A.qZA()(),A.YNc(7,v,7,6,"div",4),A.TgZ(8,"div")(9,"h4",1),A._uU(10,"Implementation"),A.qZA(),A.TgZ(11,"div",2),A._uU(12),A.qZA()(),A.TgZ(13,"div")(14,"h4",1),A._uU(15,"Chain"),A.qZA(),A.YNc(16,D,2,1,"span",5),A.qZA()()),2&t&&(A.xp6(5),A.hij(" ",null==a.information?null:a.information.alias," "),A.xp6(1),A.Q6J("ngIf",!a.showColorFieldSeparately),A.xp6(1),A.Q6J("ngIf",a.showColorFieldSeparately),A.xp6(5),A.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):""),A.xp6(4),A.Q6J("ngForOf",a.chains))},directives:[Ct.xw,Ct.yH,Ct.Wh,Bt.O5,Bt.PC,T.Zl,Bt.sg],pipes:[Bt.gd],styles:[""]}),i})();function N(i,d){if(1&i&&(A.TgZ(0,"div",2)(1,"div")(2,"h4",3),A._uU(3,"Lightning"),A.qZA(),A.TgZ(4,"div",4),A._uU(5),A.ALo(6,"number"),A.qZA(),A._UZ(7,"mat-progress-bar",5),A.qZA(),A.TgZ(8,"div")(9,"h4",3),A._uU(10,"On-chain"),A.qZA(),A.TgZ(11,"div",4),A._uU(12),A.ALo(13,"number"),A.qZA(),A._UZ(14,"mat-progress-bar",5),A.qZA