import{m as w}from"./chunk-N4F42HDL.js";import{b as S}from"./chunk-675OFXLW.js";import{Bb as d,Cc as m,Dc as p,Lb as _,Mb as b,Qb as y,Rb as r,Wb as o,Xb as a,Yb as u,ac as B,db as k,dc as x,eb as g,ec as s,ib as i,na as L,oc as c,pc as M,qc as C,ub as T,xa as v,ya as I}from"./chunk-CKNHTRCL.js";function E(t,f){if(t&1&&u(0,"i",15),t&2){let e=s();y("fas fa-fw ",e.faIconClass," mb-3")}}function h(t,f){if(t&1&&u(0,"h6",7),t&2){let e=s();b("innerHTML",e.subtitle,k)}}function D(t,f){if(t&1){let e=B();o(0,"button",16),m(1,"translate"),x("click",function(){v(e);let n=s();return I(n.$activeModal.dismiss("Dismiss"))}),c(2),m(3,"translate"),a()}t&2&&(_("aria-label",p(1,2,"form.button_close")),i(2),C(" ",p(3,4,"form.button_close")," "))}function H(t,f){if(t&1){let e=B();o(0,"button",16),m(1,"translate"),x("click",function(){v(e);let n=s();return I(n.$activeModal.dismiss("Dismiss"))}),c(2),m(3,"translate"),a()}t&2&&(_("aria-label",p(1,2,"form.button_close")),i(2),C(" ",p(3,4,"form.button_close")," "))}function V(t,f){if(t&1&&(o(0,"a",14),c(1),u(2,"i",17),a()),t&2){let e=s();b("href",e.ctaButtonLink,g),i(),C(" ",e.ctaButtonLabel," ")}}var U=(()=>{class t{$activeModal=L(w);title;subtitle;message;ctaButtonLabel;ctaButtonLink;faIconClass;constructor(){}static \u0275fac=function(l){return new(l||t)};static \u0275cmp=T({type:t,selectors:[["ng-component"]],inputs:{title:"title",subtitle:"subtitle",message:"message",ctaButtonLabel:"ctaButtonLabel",ctaButtonLink:"ctaButtonLink",faIconClass:"faIconClass"},decls:19,vars:10,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-dismiss","modal",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body","text-center"],[2,"font-size","75px",3,"class"],[1,"mb-3",3,"innerHTML"],[1,"mb-0",3,"innerHTML"],[1,"modal-footer","justify-content-between"],[1,"text-left"],["type","button","data-dismiss","modal",1,"btn","btn-elegant"],[1,"text-center"],[1,"text-right"],["target","_blank","rel","noopener noreferrer",1,"btn","btn-primary","text-decoration-none",3,"href"],[2,"font-size","75px"],["type","button","data-dismiss","modal",1,"btn","btn-elegant",3,"click"],[1,"fas","fa-fw","fa-external-link-alt"]],template:function(l,n){l&1&&(o(0,"div",0)(1,"div",1)(2,"h5",2),c(3),a(),o(4,"button",3),m(5,"translate"),x("click",function(){return n.$activeModal.dismiss("Dismiss")}),o(6,"span",4),c(7,"\xD7"),a()()(),o(8,"div",5),d(9,E,1,3,"i",6)(10,h,1,1,"h6",7),u(11,"p",8),a(),o(12,"div",9)(13,"div",10),d(14,D,4,6,"button",11),a(),o(15,"div",12),d(16,H,4,6,"button",11),a(),o(17,"div",13),d(18,V,3,2,"a",14),a()()()),l&2&&(i(3),M(n.title),i(),_("aria-label",p(5,8,"form.button_close")),i(5),r(n.faIconClass?9:-1),i(),r(n.subtitle?10:-1),i(),b("innerHTML",n.message,k),i(3),r(n.ctaButtonLink?14:-1),i(2),r(n.ctaButtonLink?-1:16),i(2),r(n.ctaButtonLink?18:-1))},dependencies:[S],encapsulation:2})}return t})();export{U as a};
