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/636.95c8ae357b1ed820.js

1 line
592 KiB
JavaScript

"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[636],{1636:(wg,ke,f)=>{f.r(ke),f.d(ke,{LNDModule:()=>Zg});var p=f(9808),b=f(1402),at=f(8878),e=f(5e3),d=f(7093),J=f(5899);function it(n,i){1&n&&e._UZ(0,"mat-progress-bar",3)}let Fe=(()=>{class n{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(a=>{switch(!0){case a instanceof b.OD:this.loading=!0;break;case a instanceof b.m2:case a instanceof b.gk:case a instanceof b.Q3:this.loading=!1}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(b.F0))},n.\u0275cmp=e.Xpm({type:n,selectors:[["rtl-lnd-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&&(e.TgZ(0,"div",0),e.YNc(1,it,1,0,"mat-progress-bar",1),e._UZ(2,"router-outlet",null,2),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngIf",a.loading))},directives:[d.xw,d.yH,d.Wh,p.O5,J.pW,b.lC],styles:[""],data:{animation:[at.g]}}),n})();var m=f(7579),h=f(2722),Y=f(9300),Ne=f(534),v=f(801),l=f(7731),y=f(6529),U=f(5043),L=f(5620),W=f(6642),O=f(62),D=f(9444),ue=f(3954),Z=f(9224),N=f(7423),ge=f(2181),te=f(5245),k=f(3322);const qe=function(n){return{backgroundColor:n}};function ot(n,i){if(1&n&&e._UZ(0,"span",6),2&n){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,qe,null==t.information?null:t.information.color))}}function st(n,i){if(1&n&&(e.TgZ(0,"div")(1,"h4",1),e._uU(2,"Color"),e.qZA(),e.TgZ(3,"div",2),e._UZ(4,"span",7),e._uU(5),e.ALo(6,"uppercase"),e.qZA()()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngStyle",e.VKq(4,qe,null==t.information?null:t.information.color)),e.xp6(1),e.hij(" ",e.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function lt(n,i){if(1&n&&(e.TgZ(0,"span",2),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.xp6(1),e.Oqu(t)}}let Ue=(()=>{class n{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 n.\u0275fac=function(t){return new(t||n)(e.Y36(O.v))},n.\u0275cmp=e.Xpm({type:n,selectors:[["rtl-node-info"]],inputs:{information:"information",showColorFieldSeparately:"showColorFieldSeparately"},features:[e.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&&(e.TgZ(0,"div",0)(1,"div")(2,"h4",1),e._uU(3,"Alias"),e.qZA(),e.TgZ(4,"div",2),e._uU(5),e.YNc(6,ot,1,3,"span",3),e.qZA()(),e.YNc(7,st,7,6,"div",4),e.TgZ(8,"div")(9,"h4",1),e._uU(10,"Implementation"),e.qZA(),e.TgZ(11,"div",2),e._uU(12),e.qZA()(),e.TgZ(13,"div")(14,"h4",1),e._uU(15,"Chain"),e.qZA(),e.YNc(16,lt,2,1,"span",5),e.qZA()()),2&t&&(e.xp6(5),e.hij(" ",null==a.information?null:a.information.alias," "),e.xp6(1),e.Q6J("ngIf",!a.showColorFieldSeparately),e.xp6(1),e.Q6J("ngIf",a.showColorFieldSeparately),e.xp6(5),e.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):""),e.xp6(4),e.Q6J("ngForOf",a.chains))},directives:[d.xw,d.yH,d.Wh,p.O5,p.PC,k.Zl,p.sg],pipes:[p.gd],styles:[""]}),n})();function rt(n,i){if(1&n&&(e.TgZ(0,"div",2)(1,"div")(2,"h4",3),e._uU(3,"Lightning"),e.qZA(),e.TgZ(4,"div",4),e._uU(5),e.ALo(6,"number"),e.qZA(),e._UZ(7,"mat-progress-bar",5),e.qZA(),e.TgZ(8,"div")(9,"h4",3),e._uU(10,"On-chain"),e.qZA(),e.TgZ(11,"div",4),e._uU(12),e.ALo(13,"number"),e.qZA(),e._UZ(14,"mat-progress-bar",5),e.qZA(),e.TgZ(15,"div")(16,"h4",3),e._uU(17,"Tota