var rZc=" failed",sZc="TEIID_AUDIT_LOG",tZc="TEIID_COMMAND_LOG",uZc="org.teiid",L7="org.teiid.AUDIT_LOG",M7="org.teiid.COMMAND_LOG";
function vZc(a,b,d){var e,h;e=w1();yI(xI(e),Jr,el);yI(xI(e),uha,b);h=new I;K(L(h,vn),EM);DI(L(h,n),e);DI(L(h,Hd),K(new I,Cs));DI(L(h,$d),K(new I,Cs));DI(L(h,Jk),K(new I,ib));DI(L(h,Lr),K(new I,".yyyy-MM-dd"));DI(L(h,gi),K(new I,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new I;DI(L(e,Mn),K(new I,d));DI(L(e,bp),K(new I,qga));DI(L(h,cvb),e);IE(new JE(h),new wZc(a,b))}
function xZc(a,b,d,e){var h,l;h=w1();yI(xI(h),Jr,el);yI(xI(h),dl,b);l=new I;K(L(l,vn),EM);DI(L(l,n),h);DI(L(l,Jk),K(new I,d));null!=e&&(d=L(l,ti),e=K(new I,e),DI(xI(d),e));IE(new JE(l),new yZc(a,b))}function zZc(a,b,d){var e,h;e=w1();yI(xI(e),Jr,el);yI(xI(e),dl,b);h=new I;K(L(h,vn),xO);DI(L(h,n),e);IE(new JE(h),new AZc(a,d,b))}function BZc(a,b,d,e){var h;h=w1();yI(xI(h),Jr,el);e?yI(xI(h),Fea,d):yI(xI(h),uha,d);d=new I;K(L(d,vn),xO);DI(L(d,n),h);IE(new JE(d),new CZc(a,b,e))}
function DZc(a,b){var d,e;d=w1();yI(xI(d),Jr,el);yI(xI(d),dl,b);e=new I;K(L(e,vn),xO);DI(L(e,n),d);IE(new JE(e),new EZc(a,b))}function FZc(a,b){var d,e;d=w1();yI(xI(d),Jr,el);yI(xI(d),dl,b);e=new I;K(L(e,vn),yO);DI(L(e,n),d);IE(new JE(e),new GZc(a,b))}function HZc(a,b,d,e){NW.call(this,a,b,d,null);this.b=e;this.a=new nE(xF)}w(4498,1009,qu,HZc);_.Ti=function(){this.A.c=this};_.Yi=function(){var a=this.A;DZc(a.c,L7);DZc(a.c,M7);DZc(a.c,uZc)};_.aj=function(){J1(this.b,this)};
function EZc(a,b){this.a=a;this.b=b}w(4499,1294,{},EZc);_.td=function(){IZc(this.a.A,this.b,null)};_.fh=function(a){a=ME(a);a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr)?L(a,wp).b.b!=(M(),N)&&(a=YY(this.a.a,L(a,wp)),IZc(this.a.A,this.b,a)):IZc(this.a.A,this.b,null)};function CZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4500,1294,{},CZc);_.td=function(){JZc(this.a.A,this.b,this.c,!1)};_.fh=function(a){a=ME(a);a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr)&&JZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function AZc(a,b,d){this.a=a;this.b=b;this.c=d}w(4501,1294,{},AZc);_.td=function(){this.b&&KZc(this.a.A,this.c)};_.fh=function(a){a=ME(a);if(a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr)){if(L(a,wp).b.b!=(M(),N)&&!this.b){a=this.a.A;var b=this.c;y(b,L7)&&FZc(a.c,b);y(b,M7)&&FZc(a.c,b);y(b,uZc)&&FZc(a.c,b)}}else this.b&&KZc(this.a.A,this.c)};_.b=!1;function wZc(a,b){this.a=a;this.b=b}w(4502,1294,{},wZc);_.td=LZc;
_.fh=function(a){a=ME(a);MZc(this.b,a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr))};function yZc(a,b){this.a=a;this.b=b}w(4503,1294,{},yZc);_.td=LZc;_.fh=function(a){a=ME(a);var b=this.b;a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr)||(H(),CD(DD(ED(AD.a)),new oX("Addition of Logger "+b+rZc,(GD(),iE))))};function GZc(a,b){this.a=a;this.b=b}w(4504,1294,{},GZc);_.td=function(a){BD("Failed to remove logger "+this.b,a._b())};
_.fh=function(a){a=ME(a);var b=this.b;a.b.kN(t)&&L(a,t).b.b!=(M(),N)&&y(L(a,t).b.cf(),Kr)||(H(),CD(DD(ED(AD.a)),new oX("Removal of Logger "+b+rZc,(GD(),iE))))};function KZc(a,b){y(b,L7)&&BZc(a.c,b,sZc,!0);y(b,M7)&&BZc(a.c,b,tZc,!0);y(b,uZc)&&xZc(a.c,b,Xda,null)}
function JZc(a,b,d,e){e?(y(b,L7)&&xZc(a.c,b,ib,sZc),y(b,M7)&&xZc(a.c,b,ib,tZc)):d?(y(b,L7)&&BZc(a.c,b,sZc,!1),y(b,M7)&&BZc(a.c,b,tZc,!1)):(y(b,L7)&&(vZc(a.c,sZc,"teiid-audit.log"),xZc(a.c,b,ib,sZc)),y(b,M7)&&(vZc(a.c,tZc,"teiid-command.log"),xZc(a.c,b,ib,tZc)))}function MZc(a,b){b||(H(),CD(DD(ED(AD.a)),new oX("Addition Logging handler "+a+rZc,(GD(),iE))))}
function IZc(a,b,d){y(L7,b)&&(d&&y(d.MA(),ib)?oT(a.a,(C(),E)):oT(a.a,(C(),F)));y(M7,b)&&(d&&y(d.MA(),ib)?oT(a.b,(C(),E)):oT(a.b,(C(),F)));y(uZc,b)&&(d&&y(d.MA(),Xda)?oT(a.d,(C(),E)):oT(a.d,(C(),F)))}function NZc(){this.a=new pT("Enable Audit Logging");this.b=new pT("Enable Command Logging");this.d=new pT("Enable Trace Logging")}w(4507,1411,Pu,NZc);
_.Dh=function(){var a,b,d,e=NZ(OZ(RZ(new SZ,"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");a=new lT("Select Logging Type");b=new Z4("Apply",new OZc(this));d=new JT;W(d,this.a);W(d,this.b);W(d,this.d);W(d,b);mT(d,this.a,(cU(),dU));mT(d,this.b,dU);mT(d,this.d,dU);rQ(a.ab,d);(A(),a.gb).style[xt]=DK;a.gb.setAttribute(Hr,"font-weight:bold;");
a=LZ(e,"Audit/Command Logging for Teiid Subsystem",a);return MZ(a)};function OZc(a){this.a=a}w(4508,1,v,OZc);_.me=function(){zZc(this.a.c,L7,nT(this.a.a).a);zZc(this.a.c,M7,nT(this.a.b).a);zZc(this.a.c,uZc,nT(this.a.d).a)};w(4580,1,pu);_.ud=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=ZA(IB(b.a));var e;b.d||(e=new NZc,b.d=e);d=new HZc(d,b.d,lxa(b),(sE(gE(b.a)),uE(eE(b.a)),O4(dY(b.a))));cB(($D(b.a),d),nB($D(b.a)));b.c=d}uB(a,b.c)};G(4498);G(4499);G(4500);G(4501);G(4502);G(4503);G(4504);G(4507);
G(4508);Mw(PJ)(16);function LZc(){MZc(this.b,!1)};