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/angular/main.fb298156caeda6c0e64a.js

1 line
1.7 MiB
JavaScript

(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"+tJ4":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return function(e){for(var n=0,r=t.length;n<r&&!e.closed;n++)e.next(t[n]);e.complete()}}},"+zbs":function(t,e,n){"use strict";n.d(e,"a",(function(){return A}));var r=n("4lrr"),i=n("wHSu"),o=n("cpEJ"),a=n("7o2P"),s=n("7nzP"),c=n("CcnG"),u=n("KELG"),l=n("21Lb"),p=n("Ip0R"),h=n("hUWP"),d=n("yN8u"),f=n("qLAh"),m=n("Hf/j"),b=n("M4kG"),g=n("FZ+F"),y=n("O4ig"),v=n("dEYt");function _(t,e){1&t&&(c.Ub(0),c.Hc(1," (zero amount) "),c.Tb())}function w(t,e){if(1&t&&(c.Wb(0,"div"),c.Rb(1,"mat-divider",17),c.Wb(2,"div",12),c.Wb(3,"div",18),c.Wb(4,"h4",14),c.Hc(5,"R Hash"),c.Vb(),c.Wb(6,"span",19),c.Hc(7),c.Vb(),c.Vb(),c.Vb(),c.Rb(8,"mat-divider",17),c.Wb(9,"div",12),c.Wb(10,"div",18),c.Wb(11,"h4",14),c.Hc(12,"R Preimage"),c.Vb(),c.Wb(13,"span",19),c.Hc(14),c.Vb(),c.Vb(),c.Vb(),c.Rb(15,"mat-divider",17),c.Wb(16,"div",12),c.Wb(17,"div",25),c.Wb(18,"h4",14),c.Hc(19,"State"),c.Vb(),c.Wb(20,"span",19),c.Hc(21),c.Vb(),c.Vb(),c.Wb(22,"div",26),c.Wb(23,"h4",14),c.Hc(24,"Expiry"),c.Vb(),c.Wb(25,"span",19),c.Hc(26),c.Vb(),c.Vb(),c.Wb(27,"div",26),c.Wb(28,"h4",14),c.Hc(29,"Private Routing Hints"),c.Vb(),c.Wb(30,"span",19),c.Hc(31),c.Vb(),c.Vb(),c.Vb(),c.Rb(32,"mat-divider",17),c.Vb()),2&t){var n=c.ic();c.Db(7),c.Ic(n.invoice.r_hash),c.Db(7),c.Ic(n.invoice.r_preimage||"-"),c.Db(7),c.Ic(n.invoice.state),c.Db(5),c.Ic(n.invoice.expiry),c.Db(5),c.Ic(n.invoice.private?"Yes":"No")}}function O(t,e){1&t&&(c.Wb(0,"p"),c.Hc(1,"Show Advanced"),c.Vb())}function C(t,e){1&t&&(c.Wb(0,"p"),c.Hc(1,"Hide Advanced"),c.Vb())}var x=function(t){return{"display-none":t}},E=function(t){return{"xs-scroll-y":t}},S=function(t,e){return{"mt-2":t,"mt-1":e}},A=function(){function t(t,e,n,r,o){this.dialogRef=t,this.data=e,this.logger=n,this.commonService=r,this.snackBar=o,this.faReceipt=i.A,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.o}return t.prototype.ngOnInit=function(){this.invoice=this.data.invoice,this.newlyAdded=this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===s.o.XS&&(this.qrWidth=220)},t.prototype.onClose=function(){this.dialogRef.close(!1)},t.prototype.onShowAdvanced=function(){this.showAdvanced=!this.showAdvanced},t.prototype.onCopyPayment=function(t){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+t)},t.\u0275fac=function(e){return new(e||t)(c.Qb(r.f),c.Qb(r.a),c.Qb(o.b),c.Qb(a.a),c.Qb(u.b))},t.\u0275cmp=c.Kb({type:t,selectors:[["rtl-invoice-information"]],decls:55,vars:39,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","35","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large",3,"ngClass"],[3,"qrdata","margin","width","errorCorrectionLevel","allowEmptyString"],["fxFlex","65",1,"padding-gap-large"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header","mb-2"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center","mat-button","",1,"btn-close-x","p-0",3,"click"],[3,"ngClass"],["fxLayout","column"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap",3,"ngClass"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"foreground-secondary-text"],[4,"ngIf"],[1,"w-100","my-1"],["fxFlex","100"],[1,"overflow-wrap","foreground-secondary-text"],["fxLayout","row","fxLayoutAlign","end center","fxFlex","100",3,"ngClass"],["mat-stroked-button","","color","primary","type","reset","tabindex","1",1,"mr-1",3,"click"],[4,"ngIf","ngIfElse"],["hideAdvancedText",""],["autoFocus","","mat-flat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxFlex","34"],["fxFlex","33"]],template:function(t,e){if(1&t&&(c.Wb(0,"div",0),c.Wb(1,"div",1),c.Rb(2,"qrcode",2),c.Vb(),c.Wb(3,"div",3),c.Wb(4,"mat-card-header",4),c.Wb