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/859.88e2ffd83f4b1f85.js

1 line
495 KiB
JavaScript

"use strict";(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[859],{1859:(Gh,Te,h)=>{h.r(Te),h.d(Te,{LNDModule:()=>Bh});var m=h(9808),Z=h(9291),Ve=h(8878),e=h(5e3),d=h(7093),J=h(5899);function We(n,i){1&n&&e._UZ(0,"mat-progress-bar",3)}let ye=(()=>{class n{constructor(t){this.router=t,this.loading=!1,this.router.events.subscribe(a=>{switch(!0){case a instanceof Z.OD:this.loading=!0;break;case a instanceof Z.m2:case a instanceof Z.gk:case a instanceof Z.Q3:this.loading=!1}})}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Z.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,We,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,m.O5,Z.lC,J.pW],styles:[""],data:{animation:[Ve.g]}}),n})();var p=h(7579),_=h(2722),E=h(9300),Ze=h(534),x=h(801),l=h(7731),C=h(6529),F=h(5043),w=h(5620),z=h(6642),M=h(62),R=h(9444),se=h(3954),b=h(9224),me=h(2181),L=h(3322),q=h(7423),j=h(5245);const be=function(n){return{backgroundColor:n}};function Xe(n,i){if(1&n&&e._UZ(0,"span",6),2&n){const t=e.oxw();e.Q6J("ngStyle",e.VKq(1,be,null==t.information?null:t.information.color))}}function $e(n,i){if(1&n&&(e.TgZ(0,"div"),e.TgZ(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(),e.qZA()),2&n){const t=e.oxw();e.xp6(4),e.Q6J("ngStyle",e.VKq(4,be,null==t.information?null:t.information.color)),e.xp6(1),e.hij(" ",e.lcZ(6,2,null==t.information?null:t.information.color)," ")}}function je(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 Ae=(()=>{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(M.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),e.TgZ(1,"div"),e.TgZ(2,"h4",1),e._uU(3,"Alias"),e.qZA(),e.TgZ(4,"div",2),e._uU(5),e.YNc(6,Xe,1,3,"span",3),e.qZA(),e.qZA(),e.YNc(7,$e,7,6,"div",4),e.TgZ(8,"div"),e.TgZ(9,"h4",1),e._uU(10,"Implementation"),e.qZA(),e.TgZ(11,"div",2),e._uU(12),e.qZA(),e.qZA(),e.TgZ(13,"div"),e.TgZ(14,"h4",1),e._uU(15,"Chain"),e.qZA(),e.YNc(16,je,2,1,"span",5),e.qZA(),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,m.O5,m.sg,m.PC,L.Zl],pipes:[m.gd],styles:[""]}),n})();function Ke(n,i){if(1&n&&(e.TgZ(0,"div",2),e.TgZ(1,"div"),e.TgZ(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"),e.TgZ(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,