import{a as _,b as R,f as E}from"./chunk-Z7UKHMWL.js";import{a as S,b as B,c as k}from"./chunk-J75YHVMQ.js";import{G as I,J as V}from"./chunk-4EQLHXW7.js";import{a as U,b as q}from"./chunk-PM3MTE6X.js";import{S as T,T as Q}from"./chunk-Z5RJRCWC.js";import{Cd as D,Gd as z,Hb as d,Ja as s,Ka as p,Nc as b,Ob as u,Oc as C,Ya as c,ec as r,md as n,nd as l,qc as h,rc as g,sc as v,vb as m,wc as y,ya as o,zb as f,zc as w}from"./chunk-JSJB5BKT.js";import{e as M}from"./chunk-SZAW6ZBW.js";var O,X,P=M(()=>{z();Q();E();k();q();V();z();k();O=["footer"],X=(()=>{class t{constructor(){this.ref=o(R,{optional:!0}),this.config=o(_,{optional:!0}),this.footerInstance=d.required("footer"),this.sanitizer=o(T),this.rawUrl=c(this.config?.data?.rawUrl||""),this.iframeUrl=D(()=>this.rawUrl()?this.sanitizer.bypassSecurityTrustResourceUrl(this.rawUrl()):"")}static{this.DefaultConfig={appendTo:"body",modal:!0,width:"65vw",contentStyle:{height:"70vh",padding:"0px",overflow:"hidden"},resizable:!0,maximizable:!0,closeOnEscape:!0,minimizeIcon:"di dvl-icon-minimize",maximizeIcon:"di dvl-icon-expand"}}ngOnDestroy(){this.ref?.close()}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=u({type:t,selectors:[["dvl-privileged-session-monitoring-list"]],viewQuery:function(e,i){e&1&&b(i.footerInstance,O,5),e&2&&C()},decls:6,vars:7,consts:[["footer",""],[2,"width","100%","height","100%","border","none",3,"src"],[1,"p-dialog-footer"],["pButton","","type","button","showDelay","500","tooltipPosition","bottom",1,"button-cancel-footer",3,"click","label","pTooltip"]],template:function(e,i){if(e&1){let x=y();v(0,"iframe",1),h(1,"div",2,0)(3,"button",3),n(4,"translate"),n(5,"translate"),w("click",function(){return s(x),p(i.ref==null?null:i.ref.close())}),g()()}e&2&&(r("src",i.iframeUrl(),m),f(3),r("label",l(4,3,"lblClose"))("pTooltip",l(5,5,"lblClose")))},dependencies:[B,S,U,I],encapsulation:2})}}return t})()});export{X as a,P as b};
