function BD(){}m("AdfLoopbackUtils",BD);m("AdfLoopbackUtils",BD);BD.JGa=function(a,b){var d=new Date;d.setTime(d.getTime()+3E4);document.cookie=a+"\x3d"+(null!=b?b:"")+("; expires\x3d"+d.toUTCString())+"; path\x3d/"};BD.Ci=function(a,b,d,e,f){try{f?BD.JGa(d,e):null!=e&&""!==e&&(a=null==a||""===a?"?":a+"\x26",a=a+b+"\x3d"+e)}catch(g){}return a};BD.t9a=function(a,b){BD.Phb[a]||(BD.tOa.push(a),BD.uOa.push(b))};BD.Flb=function(a,b,d,e){BD.t9a(b,e)};BD.xIa=function(){return navigator&&navigator.cookieEnabled};
BD.M4=function(a,b,d){var e=0;if(b<=e)return e;for(var f=Math.ceil((b+e)/2);;){if(e==f||b==f)return e;window.matchMedia("( min-"+a+": "+f+d+")").matches?e=f:b=f;f=Math.ceil((b+e)/2)}};BD.qfb=function(){var a="none";navigator.Lta&&(a=1<navigator.Lta?"multiple":"single");return a};
BD.n9a=function(a,b,d,e){var f="16";try{f=window.getComputedStyle(document.createElement("div")).fontSize||window.getComputedStyle(document.documentElement).fontSize,f=f.substring(0,f.indexOf("px"))}catch(g){fontsize="16"}return a=BD.Ci(a,b,d,f,e)};BD.p9a=function(a,b,d,e){var f="screen print handheld aural braille embossed tv projection tty".split(" "),g="all";try{for(var h=0;h<f.length;h++)if(window.matchMedia(f[h]).matches){g=f[h];break}}catch(l){g="all"}return a=BD.Ci(a,b,d,g,e)};
BD.o9a=function(a,b,d,e,f,g,h,l,n,t,y,z,B,F,K,P,Q,da,ba,ta,Ha,Eb,fb,Ya,Lb,Kc,hc,Rc){a=BD.n9a(a,d,P,b);a=BD.p9a(a,e,Q,b);a=BD.Ci(a,f,da,window.innerWidth,b);a=BD.Ci(a,g,ba,window.innerHeight,b);a=BD.Ci(a,h,ta,screen.width,b);a=BD.Ci(a,l,Ha,screen.height,b);d=BD.M4("color",50,"");a=BD.Ci(a,n,Eb,d,b);n=BD.M4("color-index",50,"");a=BD.Ci(a,t,fb,n,b);t=BD.M4("monochrome",20,"");a=BD.Ci(a,y,Ya,t,b);y=BD.M4("resolution",1E3,"dpi");a=BD.Ci(a,z,Lb,y,b);z=window.matchMedia("(grid)").matches;a=BD.Ci(a,B,Kc,
z?1:0,b);B=window.matchMedia("(scan: progressive)").matches;a=BD.Ci(a,F,hc,B?1:0,b);F=window.matchMedia("(orientation: portrait)").matches?1:0;return a=BD.Ci(a,K,Rc,F,b)};
BD.HUa=function(a,b,d,e,f,g,h,l,n,t,y,z,B,F,K,P,Q,da,ba,ta,Ha,Eb,fb,Ya,Lb,Kc,hc,Rc,Ad,Qc,oc,Yb,ye,Gd,Bc,je,Ud,gf,hd,Le,hf,wg,zh,mj,Nh,ki,pf){BD.tOa=[];BD.uOa=[];BD.Phb=da;var sg=""===h?null:h,Sf=null,sc=null,Cd=null,Yd=document.location.href,Dd=Yd.indexOf("#");h=0<Dd?Yd.substring(Dd+1):null;da=Yd=0<Dd?Yd.substring(0,Dd):Yd;y=y?BD.xIa():y;var hg=null;try{hg=window.history.state}catch(gk){}null==sg&&null!=hg&&(sg=hg[g]);0<Dd&&(0==h.indexOf(t)?(Q=decodeURIComponent(h.substring(t.length)).split("@"),
Dd=Q.length,1<=Dd&&null==sg&&(sg=Q[0]),2<=Dd&&(Sf=Q[1]),3<=Dd&&(sc=Q[2]),4<=Dd&&(Cd=Q[3])):(Cd=decodeURIComponent(h),Q&&(0<=Cd.indexOf("/")||0<=Cd.indexOf("@"))&&(Cd=Cd.split("@"),Q=Cd.length,1<=Q&&(Sf=Cd[0]),2<=Q&&(sc=Cd[1]),Cd=null)));Q=Yd.indexOf("?");0<Q&&(sc=sc||Sf&&0<Sf.length?sc:Yd.substring(Q),Yd=Yd.substring(0,Q));if(null!=sc&&0<sc.length&&(sc.replace(/([^?=&]+)(=([^&]*))?/g,BD.Flb),sc=null,Q=BD.tOa,Dd=BD.uOa,0<Q.length))for(sc="",hg=0;hg<Q.length;hg++)var Rd=Dd[hg],sc=sc+(0==hg?"?":"\x26")+
Q[hg]+"\x3d"+(null==Rd?"":Rd);Q=0;sc&&0<=sc.indexOf("_rtrnId")&&(Q=1,y=!1,Dd=window.parent?window.parent.name:null,/^ADFDialog\d+['$']/.test(Dd)&&(window.name=Dd.split("$")[1]));Dd=Yd.indexOf(";");0<Dd&&(Yd=Yd.substring(0,Dd));n||BD.xIa()?(Sf&&0<Sf.length&&(Yd=Yd.substring(0,Yd.length-a)+Sf),sc=BD.Ci(sc,b,z,d,y),y&&BD.JGa(P,""),a=window.name,/^[\w|:]+$/.test(a)||(a=null),1==Q||a||(Q=2),sc=BD.Ci(sc,e,B,Q,y),a||(a=l,window.name=a),BD.Zlb(f),sc=BD.Ci(sc,f,F,a,y),n&&(0==n.indexOf(";")?Yd+=n:0==n.indexOf("?")&&
(sc=null==sc||0==sc.length?"?":sc+"\x26",sc+=n.substr(1))),sc=BD.Ci(sc,g,K,sg,y),sc=BD.o9a(sc,y,ta,Ha,Eb,fb,Ya,Lb,Kc,hc,Rc,Ad,Qc,oc,Yb,Gd,Bc,je,Ud,gf,hd,Le,hf,wg,zh,mj,Nh,ki),""!=ye&&(sc=BD.Ci(sc,ye,pf,BD.qfb(),y)),e=Yd+(null==sc?"":sc),f=null!=Cd&&0<Cd.length?encodeURIComponent(Cd):null,g=window.location,l=!1,null!=window.console&&null!=window.console.Epb&&(l=parseFloat(window.console.Epb),l=!isNaN(l)&&1.9>l),e!=da||null==f&&!l?g.replace(null==f?e:e+"#"+f):(h!=f&&g.replace(null==f?"#"+t:"#"+f),g.reload(!0))):
window.location.replace(Yd.substring(0,Yd.length-a)+ba)};BD.runLoopback=BD.HUa;m("AdfLoopbackUtils.runLoopback",BD.HUa);
BD.IUa=function(a,b){var d=b,e=new Date;e.setTime(e.getTime()+3E4);d=d.replace(/\$exp\$/g,e.toUTCString());d=d.split("$$");for(i=0;i<d.length;i++)document.cookie=d[i];var d=document.location,e=d.href,f=null,g=e.indexOf("#");0<=g&&(e=e.substring(0,g),f=e.substring(g));var h=a,l=null,g=h.indexOf("#");0<=g&&(h=h.substring(0,g),l=h.substring(g));h==e&&null!=l?(f!=l&&d.replace(l),d.reload(!0)):d.replace(a)};BD.runRedirect=BD.IUa;m("AdfLoopbackUtils.runRedirect",BD.IUa);
BD.Zlb=function(a){if(window===parent)try{var b=window.name;b&&0<b.length&&sessionStorage.setItem(a,b)}catch(d){}};BD.Uob=function(a){if(a){var b=document.body;b.style.cssText=b.style.cssText+";"+a}};m("AdfLoopbackUtils.appendBodyStyle",BD.Uob);