var GVc=" failed",e9="TEIID_AUDIT_LOG",f9="TEIID_COMMAND_LOG",g9="org.teiid",h9="org.teiid.AUDIT_LOG",i9="org.teiid.COMMAND_LOG";
function HVc(a,b,d){var e,h;e=s1();xI(wI(e),wr,Ik);xI(wI(e),hia,b);h=new G;H(I(h,q),gM);ZH(I(h,l),e);ZH(I(h,Bd),H(new G,us));ZH(I(h,Td),H(new G,us));ZH(I(h,lk),H(new G,hb));ZH(I(h,yr),H(new G,".yyyy-MM-dd"));ZH(I(h,Rh),H(new G,"%d{HH:mm:ss,SSS} %-5p [%c] (%t) %X{teiid-session} %s%E%n"));e=new G;ZH(I(e,Cn),H(new G,d));ZH(I(e,Ro),H(new G,gha));ZH(I(h,lrb),e);K(new LE(h),new IVc(a,b))}
function j9(a,b,d,e){var h,j;h=s1();xI(wI(h),wr,Ik);xI(wI(h),Hk,b);j=new G;H(I(j,q),gM);ZH(I(j,l),h);ZH(I(j,lk),H(new G,d));null!=e&&(d=I(j,ci),e=H(new G,e),ZH(wI(d),e));K(new LE(j),new JVc(a,b))}function KVc(a,b,d){var e,h;e=s1();xI(wI(e),wr,Ik);xI(wI(e),Hk,b);h=new G;H(I(h,q),mN);ZH(I(h,l),e);K(new LE(h),new LVc(a,d,b))}function MVc(a,b,d,e){var h;h=s1();xI(wI(h),wr,Ik);e?xI(wI(h),Iea,d):xI(wI(h),hia,d);d=new G;H(I(d,q),mN);ZH(I(d,l),h);K(new LE(d),new NVc(a,b,e))}
function OVc(a,b){var d,e;d=s1();xI(wI(d),wr,Ik);xI(wI(d),Hk,b);e=new G;H(I(e,q),mN);ZH(I(e,l),d);K(new LE(e),new PVc(a,b))}function QVc(a,b){var d,e;d=s1();xI(wI(d),wr,Ik);xI(wI(d),Hk,b);e=new G;H(I(e,q),nN);ZH(I(e,l),d);K(new LE(e),new RVc(a,b))}function SVc(a,b,d,e){VV.call(this,a,b,d,null);this.b=e;this.a=new qE(zF)}v(4192,926,Gu,SVc);_.hi=function(){this.y.c=this};_.mi=function(){var a=this.y;OVc(a.c,h9);OVc(a.c,i9);OVc(a.c,g9)};_.qi=function(){O1(this.b,this)};_.a=null;_.b=null;
function PVc(a,b){this.a=a;this.b=b}v(4193,1209,{},PVc);_.lc=function(){TVc(this.a.y,this.b,null)};_.pg=function(a){a=OE(a);if(a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr)){if(I(a,op).b.b!=(L(),M))a=aY(this.a.a,I(a,op)),TVc(this.a.y,this.b,a)}else TVc(this.a.y,this.b,null)};_.a=null;_.b=null;function NVc(a,b,d){this.a=a;this.b=b;this.c=d}v(4194,1209,{},NVc);_.lc=function(){UVc(this.a.y,this.b,this.c,!1)};
_.pg=function(a){a=OE(a);a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr)&&UVc(this.a.y,this.b,this.c,!0)};_.a=null;_.b=null;_.c=!1;function LVc(a,b,d){this.a=a;this.b=b;this.c=d}v(4195,1209,{},LVc);_.lc=function(){this.b&&VVc(this.a.y,this.c)};_.pg=function(a){a=OE(a);if(a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr)){if(I(a,op).b.b!=(L(),M)&&!this.b){var a=this.a.y,b=this.c;w(b,h9)&&QVc(a.c,b);w(b,i9)&&QVc(a.c,b);w(b,g9)&&QVc(a.c,b)}}else this.b&&VVc(this.a.y,this.c)};_.a=null;_.b=!1;
_.c=null;function IVc(a,b){this.a=a;this.b=b}v(4196,1209,{},IVc);_.lc=Dw;_.pg=function(a){a=OE(a);WVc(this.b,a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr))};_.a=null;_.b=null;function JVc(a,b){this.a=a;this.b=b}v(4197,1209,{},JVc);_.lc=Dw;_.pg=function(a){var a=OE(a),b=this.b;a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr)||(F(),rD(sD(tD(pD.a)),new wW("Addition of Logger "+b+GVc,(vD(),lE))))};_.a=null;_.b=null;function RVc(a,b){this.a=a;this.b=b}v(4198,1209,{},RVc);_.lc=function(){};
_.pg=function(a){var a=OE(a),b=this.b;a.b.uL(r)&&I(a,r).b.b!=(L(),M)&&w(I(a,r).b.pe(),xr)||(F(),rD(sD(tD(pD.a)),new wW("Removal of Logger "+b+GVc,(vD(),lE))))};_.a=null;_.b=null;function VVc(a,b){w(b,h9)&&MVc(a.c,b,e9,!0);w(b,i9)&&MVc(a.c,b,f9,!0);w(b,g9)&&j9(a.c,b,$da,null)}
function UVc(a,b,d,e){e?(w(b,h9)&&j9(a.c,b,hb,e9),w(b,i9)&&j9(a.c,b,hb,f9)):d?(w(b,h9)&&MVc(a.c,b,e9,!1),w(b,i9)&&MVc(a.c,b,f9,!1)):(w(b,h9)&&(HVc(a.c,e9,"teiid-audit.log"),j9(a.c,b,hb,e9)),w(b,i9)&&(HVc(a.c,f9,"teiid-command.log"),j9(a.c,b,hb,f9)))}function WVc(a,b){b||(F(),rD(sD(tD(pD.a)),new wW("Addition Logging handler "+a+GVc,(vD(),lE))))}
function TVc(a,b,d){w(h9,b)&&(d&&w(d.Oy(),hb)?LR(a.a,(B(),C)):LR(a.a,(B(),D)));w(i9,b)&&(d&&w(d.Oy(),hb)?LR(a.b,(B(),C)):LR(a.b,(B(),D)));w(g9,b)&&(d&&w(d.Oy(),$da)?LR(a.d,(B(),C)):LR(a.d,(B(),D)))}function XVc(){this.a=new MR("Enable Audit Logging");this.b=new MR("Enable Command Logging");this.d=new MR("Enable Trace Logging")}v(4201,1323,Hu,XVc);
_.Ti=function(){var a,b,d,e;a=TY(VY(WY(YY(new $Y,"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 IR("Select Logging Type"),d=new c5("Apply",new YVc(this)),e=new hS,V(e,this.a),V(e,this.b),V(e,this.d),V(e,d),JR(e,this.a,(zS(),AS)),JR(e,this.b,AS),JR(e,this.d,AS),OO(b.Z,e),b.db.style[At]=
QJ,b.db.setAttribute(ur,"font-weight:bold;"),b));return UY(a)};_.c=null;function YVc(a){this.a=a}v(4202,1,u,YVc);_.zd=function(){KVc(this.a.c,h9,KR(this.a.a).a);KVc(this.a.c,i9,KR(this.a.b).a);KVc(this.a.c,g9,KR(this.a.d).a)};_.a=null;v(4274,1,nu);_.mc=function(){var a=this.b,b=this.a.a,d;if(!b.c){d=rA(sB(b.a));var e;b.d||(e=new XVc,b.d=e);d=new SVc(d,b.d,Dva(b),(vE(kE(b.a)),xE(jE(b.a)),R4(jX(b.a))));uA((eE(b.a),d),GA(eE(b.a)));b.c=d}NA(a,b.c)};E(4192);E(4193);E(4194);E(4195);E(4196);E(4197);E(4198);
E(4201);E(4202);pw(eJ)(17);function Dw(){WVc(this.b,!1)};