var hZc=" failed",iZc="TEIID_AUDIT_LOG",jZc="TEIID_COMMAND_LOG",kZc="org.teiid",I7="org.teiid.AUDIT_LOG",J7="org.teiid.COMMAND_LOG";
function lZc(a,b,d){var e,h;e=v1();wI(vI(e),Ar,dl);wI(vI(e),vha,b);h=new H;I(J(h,kn),DM);BI(J(h,n),e);BI(J(h,Ed),I(new H,ps));BI(J(h,Yd),I(new H,ps));BI(J(h,Gk),I(new H,gb));BI(J(h,Cr),I(new H,".yyyy-MM-dd"));BI(J(h,fi),I(new H,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new H;BI(J(e,Bn),I(new H,d));BI(J(e,So),I(new H,tga));BI(J(h,Pfa),e);EE(new FE(h),new mZc(a,b))}
function nZc(a,b,d,e){var h,l;h=v1();wI(vI(h),Ar,dl);wI(vI(h),cl,b);l=new H;I(J(l,kn),DM);BI(J(l,n),h);BI(J(l,Gk),I(new H,d));null!=e&&(d=J(l,si),e=I(new H,e),BI(vI(d),e));EE(new FE(l),new oZc(a,b))}function pZc(a,b,d){var e,h;e=v1();wI(vI(e),Ar,dl);wI(vI(e),cl,b);h=new H;I(J(h,kn),AO);BI(J(h,n),e);EE(new FE(h),new qZc(a,d,b))}function rZc(a,b,d,e){var h;h=v1();wI(vI(h),Ar,dl);e?wI(vI(h),Hea,d):wI(vI(h),vha,d);d=new H;I(J(d,kn),AO);BI(J(d,n),h);EE(new FE(d),new sZc(a,b,e))}
function tZc(a,b){var d,e;d=v1();wI(vI(d),Ar,dl);wI(vI(d),cl,b);e=new H;I(J(e,kn),AO);BI(J(e,n),d);EE(new FE(e),new uZc(a,b))}function vZc(a,b){var d,e;d=v1();wI(vI(d),Ar,dl);wI(vI(d),cl,b);e=new H;I(J(e,kn),BO);BI(J(e,n),d);EE(new FE(e),new wZc(a,b))}function xZc(a,b,d,e){PW.call(this,a,b,d,null);this.b=e;this.a=new jE(pF)}x(4488,1006,lu,xZc);_.Ri=function(){this.A.c=this};_.Wi=function(){var a=this.A;tZc(a.c,I7);tZc(a.c,J7);tZc(a.c,kZc)};_.$i=function(){K1(this.b,this)};
function uZc(a,b){this.a=a;this.b=b}x(4489,1293,{},uZc);_.sd=function(){yZc(this.a.A,this.b,null)};_.eh=function(a){a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)?J(a,mp).b.b!=(L(),M)&&(a=$Y(this.a.a,J(a,mp)),yZc(this.a.A,this.b,a)):yZc(this.a.A,this.b,null)};function sZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4490,1293,{},sZc);_.sd=function(){zZc(this.a.A,this.b,this.c,!1)};_.eh=function(a){a=IE(a);a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)&&zZc(this.a.A,this.b,this.c,!0)};
_.c=!1;function qZc(a,b,d){this.a=a;this.b=b;this.c=d}x(4491,1293,{},qZc);_.sd=function(){this.b&&AZc(this.a.A,this.c)};_.eh=function(a){a=IE(a);if(a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)){if(J(a,mp).b.b!=(L(),M)&&!this.b){a=this.a.A;var b=this.c;y(b,I7)&&vZc(a.c,b);y(b,J7)&&vZc(a.c,b);y(b,kZc)&&vZc(a.c,b)}}else this.b&&AZc(this.a.A,this.c)};_.b=!1;function mZc(a,b){this.a=a;this.b=b}x(4492,1293,{},mZc);_.sd=BZc;
_.eh=function(a){a=IE(a);CZc(this.b,a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br))};function oZc(a,b){this.a=a;this.b=b}x(4493,1293,{},oZc);_.sd=BZc;_.eh=function(a){a=IE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)||(G(),zD(AD(BD(xD.a)),new pX("Addition of Logger "+b+hZc,(DD(),eE))))};function wZc(a,b){this.a=a;this.b=b}x(4494,1293,{},wZc);_.sd=function(a){yD("Failed to remove logger "+this.b,a.$b())};
_.eh=function(a){a=IE(a);var b=this.b;a.b.gN(t)&&J(a,t).b.b!=(L(),M)&&y(J(a,t).b.bf(),Br)||(G(),zD(AD(BD(xD.a)),new pX("Removal of Logger "+b+hZc,(DD(),eE))))};function AZc(a,b){y(b,I7)&&rZc(a.c,b,iZc,!0);y(b,J7)&&rZc(a.c,b,jZc,!0);y(b,kZc)&&nZc(a.c,b,$da,null)}
function zZc(a,b,d,e){e?(y(b,I7)&&nZc(a.c,b,gb,iZc),y(b,J7)&&nZc(a.c,b,gb,jZc)):d?(y(b,I7)&&rZc(a.c,b,iZc,!1),y(b,J7)&&rZc(a.c,b,jZc,!1)):(y(b,I7)&&(lZc(a.c,iZc,"teiid-audit.log"),nZc(a.c,b,gb,iZc)),y(b,J7)&&(lZc(a.c,jZc,"teiid-command.log"),nZc(a.c,b,gb,jZc)))}function CZc(a,b){b||(G(),zD(AD(BD(xD.a)),new pX("Addition Logging handler "+a+hZc,(DD(),eE))))}
function yZc(a,b,d){y(I7,b)&&(d&&y(d.LA(),gb)?lT(a.a,(D(),E)):lT(a.a,(D(),TB)));y(J7,b)&&(d&&y(d.LA(),gb)?lT(a.b,(D(),E)):lT(a.b,(D(),TB)));y(kZc,b)&&(d&&y(d.LA(),$da)?lT(a.d,(D(),E)):lT(a.d,(D(),TB)))}function DZc(){this.a=new mT("Enable Audit Logging");this.b=new mT("Enable Command Logging");this.d=new mT("Enable Trace Logging")}x(4497,1410,Iu,DZc);
_.Bh=function(){var a,b,d,e=PZ(QZ(TZ(new UZ,"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 iT("Select Logging Type");b=new T4("Apply",new EZc(this));d=new GT;V(d,this.a);V(d,this.b);V(d,this.d);V(d,b);jT(d,this.a,(eU(),fU));jT(d,this.b,fU);jT(d,this.d,fU);tQ(a.ab,d);(B(),a.gb).style[ot]=DK;a.gb.setAttribute(yr,"font-weight:bold;");
a=NZ(e,"Audit/Command Logging for Teiid Subsystem",a);return OZ(a)};function EZc(a){this.a=a}x(4498,1,v,EZc);_.le=function(){pZc(this.a.c,I7,kT(this.a.a).a);pZc(this.a.c,J7,kT(this.a.b).a);pZc(this.a.c,kZc,kT(this.a.d).a)};x(4570,1,ku);_.td=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=FA(EB(b.a));var e;b.d||(e=new DZc,b.d=e);d=new xZc(d,b.d,nxa(b),(oE(cE(b.a)),qE(aE(b.a)),J4(fY(b.a))));MA((WD(b.a),d),jB(WD(b.a)));b.c=d}qB(a,b.c)};F(4488);F(4489);F(4490);F(4491);F(4492);F(4493);F(4494);F(4497);
F(4498);Bw(PJ)(16);function BZc(){CZc(this.b,!1)};