function d9g(a){this.a=a}
function E8g(a,b){this.a=a;this.b=b}
function K8g(a,b){this.a=a;this.b=b}
function M8g(a,b){this.a=a;this.b=b}
function O8g(a,b){this.a=a;this.b=b}
function G8g(a,b,d){this.a=a;this.b=b;this.c=d}
function I8g(a,b,d){this.a=a;this.b=b;this.c=d}
function Usk(a){Z8g((this.a.A,this.b),false)}
function Y8g(a){z8g(a.c,P5j);z8g(a.c,R5j);z8g(a.c,T5j)}
function Hfh(a){var b;if(!a.d){b=new b9g;a.d=b}return a.d}
function B8g(a,b,d,e){GFd.call(this,a,b,d);this.b=e;this.a=new g0i(B2b)}
function W8g(a,b){UOd(b,P5j)&&A8g(a.c,b);UOd(b,R5j)&&A8g(a.c,b);UOd(b,T5j)&&A8g(a.c,b)}
function V8g(a,b){UOd(b,P5j)&&y8g(a.c,b,Q5j,true);UOd(b,R5j)&&y8g(a.c,b,S5j,true);UOd(b,T5j)&&w8g(a.c,b,Mzj,null)}
function _8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Removal of Logger '+a+U5j,(Xde(),Vde))))}
function $8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition of Logger '+a+U5j,(Xde(),Vde))))}
function Z8g(a,b){b||(PXd(),dee(Vee($be(NXd.a)),new Hde('Addition Logging handler '+a+U5j,(Xde(),Vde))))}
function b9g(){this.a=new hjd('Enable Audit Logging');this.b=new hjd('Enable Command Logging');this.d=new hjd('Enable Trace Logging')}
function z8g(a,b){var d,e;d=Idf();B7i(f7i(d),vHj,OEj);B7i(f7i(d),vTj,b);e=new P7i;A7i(r7i(e,eGj),$$j);F7i(r7i(e,gGj),d);mnj(new Fmj(e),new E8g(a,b))}
function A8g(a,b){var d,e;d=Idf();B7i(f7i(d),vHj,OEj);B7i(f7i(d),vTj,b);e=new P7i;A7i(r7i(e,eGj),b0j);F7i(r7i(e,gGj),d);mnj(new Fmj(e),new O8g(a,b))}
function x8g(a,b,d){var e,g;e=Idf();B7i(f7i(e),vHj,OEj);B7i(f7i(e),vTj,b);g=new P7i;A7i(r7i(g,eGj),$$j);F7i(r7i(g,gGj),e);mnj(new Fmj(g),new I8g(a,d,b))}
function y8g(a,b,d,e){var g,i;g=Idf();B7i(f7i(g),vHj,OEj);e?(B7i(f7i(g),THj,d),g):(B7i(f7i(g),sUj,d),g);i=new P7i;A7i(r7i(i,eGj),$$j);F7i(r7i(i,gGj),g);mnj(new Fmj(i),new G8g(a,b,e))}
function w8g(a,b,d,e){var g,i;g=Idf();B7i(f7i(g),vHj,OEj);B7i(f7i(g),vTj,b);i=new P7i;A7i(r7i(i,eGj),__j);F7i(r7i(i,gGj),g);F7i(r7i(i,MHj),A7i(new P7i,d));e!=null&&m7i(r7i(i,JHj),A7i(new P7i,e));mnj(new Fmj(i),new M8g(a,b))}
function Gfh(a){var b;if(!a.c){b=new B8g(QEd(Nbe(a.a)),Hfh(a),Ffh(a),(Qnj(sde(a.a)),U0i(qde(a.a)),lLg(Gce(a.a))));aFd((Obe(a.a),b),ZFd(Obe(a.a)));a.c=b}return a.c}
function D8g(a,b){var d,e;e=gnj(b);if(e.b.gN(BGj)&&r7i(e,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(e,BGj).b.Ze(),CGj)){if(r7i(e,nGj).b.b!=(Jlj(),Ilj)){d=Y_i(a.a.a,r7i(e,nGj));a9g(a.a.A,a.b,d)}}else{a9g(a.a.A,a.b,null)}}
function a9g(a,b,d){UOd(P5j,b)&&(!!d&&UOd(d.LA(),Nzj)?ejd(a.a,(QMd(),PMd)):ejd(a.a,(QMd(),OMd)));UOd(R5j,b)&&(!!d&&UOd(d.LA(),Nzj)?ejd(a.b,(QMd(),PMd)):ejd(a.b,(QMd(),OMd)));UOd(T5j,b)&&(!!d&&UOd(d.LA(),Mzj)?ejd(a.d,(QMd(),PMd)):ejd(a.d,(QMd(),OMd)))}
function X8g(a,b,d,e){if(e){UOd(b,P5j)&&w8g(a.c,b,Nzj,Q5j);UOd(b,R5j)&&w8g(a.c,b,Nzj,S5j)}else{if(d){UOd(b,P5j)&&y8g(a.c,b,Q5j,false);UOd(b,R5j)&&y8g(a.c,b,S5j,false)}else{if(UOd(b,P5j)){v8g(a.c,Q5j,'teiid-audit.log');w8g(a.c,b,Nzj,Q5j)}if(UOd(b,R5j)){v8g(a.c,S5j,'teiid-command.log');w8g(a.c,b,Nzj,S5j)}}}}
function v8g(a,b,d){var e,g,i;e=Idf();B7i(f7i(e),vHj,OEj);B7i(f7i(e),sUj,b);i=new P7i;A7i(r7i(i,eGj),__j);F7i(r7i(i,gGj),e);F7i(r7i(i,YQj),A7i(new P7i,CAj));F7i(r7i(i,eKj),A7i(new P7i,CAj));F7i(r7i(i,MHj),A7i(new P7i,Nzj));F7i(r7i(i,qUj),A7i(new P7i,'.yyyy-MM-dd'));F7i(r7i(i,XJj),A7i(new P7i,'%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n'));g=new P7i;F7i(r7i(g,XDj),A7i(new P7i,d));F7i(r7i(g,sMj),A7i(new P7i,WQj));F7i(r7i(i,V$j),g);mnj(new Fmj(i),new K8g(a,b))}
var U5j=' failed',Q5j='TEIID_AUDIT_LOG',S5j='TEIID_COMMAND_LOG',T5j='org.teiid',P5j='org.teiid.AUDIT_LOG',R5j='org.teiid.COMMAND_LOG';f3c(4489,1007,gyj,B8g);_.Qi=function(){this.A.c=this};_.Vi=function(){Y8g(this.A)};_.Zi=function(){ruf(this.b,this)};f3c(4490,1294,{},E8g);_.od=function(a){a9g(this.a.A,this.b,null)};_.dh=function(a){D8g(this,a)};f3c(4491,1294,{},G8g);_.od=function(a){X8g(this.a.A,this.b,this.c,false)};_.dh=function(a){var b;b=gnj(a);b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(b,BGj).b.Ze(),CGj)&&X8g(this.a.A,this.b,this.c,true)};_.c=false;f3c(4492,1294,{},I8g);_.od=function(a){this.b&&V8g(this.a.A,this.c)};_.dh=function(a){var b;b=gnj(a);b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(b,BGj).b.Ze(),CGj)?r7i(b,nGj).b.b!=(Jlj(),Ilj)&&(this.b||W8g(this.a.A,this.c)):this.b&&V8g(this.a.A,this.c)};_.b=false;f3c(4493,1294,{},K8g);_.od=Usk;_.dh=function(a){var b;b=gnj(a);Z8g((this.a.A,this.b),b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(b,BGj).b.Ze(),CGj))};f3c(4494,1294,{},M8g);_.od=Usk;_.dh=function(a){var b;b=gnj(a);$8g((this.a.A,this.b),b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(b,BGj).b.Ze(),CGj))};f3c(4495,1294,{},O8g);_.od=function(a){VXd('Failed to remove logger '+this.b,a.$b())};_.dh=function(a){var b;b=gnj(a);_8g((this.a.A,this.b),b.b.gN(BGj)&&r7i(b,BGj).b.b!=(Jlj(),Ilj)&&UOd(r7i(b,BGj).b.Ze(),CGj))};f3c(4498,1411,fyj,b9g);_.Ah=function(){var a,b,d,e;a=oBe(rBe(sBe(vBe(new xBe,'Audit Logging'),'Audit/Command Logging'),'Turn On/Off Audit/Command Logging. By default file handler(s) will be added. Alternatively, add TEIID_COMMAND_LOG/TEIID_AUDIT_LOG handlers to override the default handlers'),'Audit/Command Logging for Teiid Subsystem',(b=new Pid('Select Logging Type'),d=new Guh(V5j,new d9g(this)),e=new rwd,owd(e,this.a),owd(e,this.b),owd(e,this.d),owd(e,d),Vid(e,this.a,(Fnd(),Cnd)),Vid(e,this.b,Cnd),Vid(e,this.d,Cnd),Ur(b.ab,e),(Mfd(),b.gb).style[hCj]=W5j,qz(b.gb,F_j,X5j),b));return pBe(a)};f3c(4499,1,uxj,d9g);_.he=function(a){x8g(this.a.c,P5j,ajd(this.a.a).a);x8g(this.a.c,R5j,ajd(this.a.b).a);x8g(this.a.c,T5j,ajd(this.a.d).a)};f3c(4571,1,Oyj);_.pd=function(){yGd(this.b,Gfh(this.a.a))};var m1b=wNd(4489),e1b=wNd(4490),f1b=wNd(4491),g1b=wNd(4492),h1b=wNd(4493),i1b=wNd(4494),j1b=wNd(4495),o1b=wNd(4498),n1b=wNd(4499);Czj(_o)(16);