1import{a as k,c as V,g as j}from"./chunk-S4EB32VB.js";import{a as G}from"./chunk-JJLISQ5C.js";import{a as B}from"./chunk-QU2UYAX3.js";import{M as h,N as L,Q as R}from"./chunk-IGMJC6Q6.js";import{$d as S,Ba as D,Mb as c,Mc as p,Oc as d,Tb as m,Tc as s,Uc as u,Vc as f,Wc as C,Za as l,_a as r,_d as H,a as x,ba as y,bd as _,cc as v,dc as a,de as I,jc as A,jd as g,kd as o,oc as T,pc as w,sb as O,ud as E}from"./chunk-QXAPDLYY.js";function F(t,M){if(t&1&&C(0,"div",4),t&2){let e=o(2);s("innerHTML",e.component.readMore,c)}}function N(t,M){if(t&1){let e=_();u(0,"py-modal",2),g("dismiss",function(){l(e);let i=o();return r(i.close())}),C(1,"div",3),p(2,F,1,1,"div",4),f()}if(t&2){let e=o(),n=E(2);s("actions",n)("showCancelButton",!1)("blockDismissCoreAction",!0)("title",e.component.name)("dismissable",e.dismissable)("scrollable",!0)("centered",!0),m(),s("innerHTML",e.component.content,c),m(),d(e.component.readMore?2:-1)}}function P(t,M){if(t&1){let e=_();u(0,"py-action-button",5),H(1,"cxTranslate"),g("activate",function(){l(e);let i=o();return r(i.close())}),f()}if(t&2){let e=o();s("buttonClass","btn btn-primary")("type","button")("buttonLabel",S(1,3,e.forceConsent?"common.confirm_action":"common.close_action"))}}var b=(()=>{class t extends V{constructor(e,n,i){super(n,e,i),this.launchDialogService=e,this.el=n,this.renderer=i,this.forceConsent=!1,this.dismissed=!1,this.subscriptions=new x,this.handlerForDismissOnClickOutside=this.dismissable?this.close:void 0}ngOnInit(){this.subscriptions.add(this.launchDialogService.data$.pipe(y(1),D(e=>(this.closeHandler=e.closeHandler,e.forceConsent!==void 0&&(this.forceConsent=e.forceConsent),this.dismissable=!this.forceConsent,e.component$))).subscribe(e=>{this.component=e}))}close(){this.dismissed||(this.dismissed=!0,this.launchDialogService.closeDialog(j.LEGAL_CLOSED),this.closeHandler&&(this.dismissOnClickOutsideHandlerArgs=this.component?.data,this.closeHandler(this.component?.data)))}ngOnDestroy(){this.subscriptions.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(a(R),a(O),a(v))}}static{this.\u0275cmp=A({type:t,selectors:[["py-legal-modal"]],standalone:!1,features:[T],decls:3,vars:1,consts:[["templateActions",""],[3,"actions","showCancelButton","blockDismissCoreAction","title","dismissable","scrollable","centered"],[3,"dismiss","actions","showCancelButton","blockDismissCoreAction","title","dismissable","scrollable","centered"],[1,"legal-component-content",3,"innerHTML"],[3,"innerHTML"],[3,"activate","buttonClass","type","buttonLabel"]],template:function(n,i){n&1&&(p(0,N,3,9,"py-modal",1),w(1,P,2,5,"ng-template",null,0,I)),n&2&&d(i.component?0:-1)},dependencies:[G,k,B],styles:[`.legal-component-content[_ngcontent-%COMP%]:not(:empty){margin-bottom:1.5rem} 2 3 4 5 6 7 8 9 10/*# sourceMappingURL=legal-modal.component-ONE6ZJAS.css.map */`]})}}return t})();var ee={launch:{[L.LEGAL]:{inlineRoot:!0,component:b,dialogType:h.DIALOG}}},te={launch:{[L.LEGAL_DISMISSABLE_ON_LOGOUT]:{inlineRoot:!0,component:b,dialogType:h.DIALOG,dialogOptions:{autoDismissOnRouteChange:!1,autoDismissOnLogout:!0}}}};export{ee as a,te as b}; 11//# sourceMappingURL=chunk-KQ6GRQPT.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.