function M(a,b){this.Init(a,b)}m("AdfDhtmlPage",M);m("AdfDhtmlPage",M);r.v(M,A);M.E0="screenReader";M.axa="default";M.PWa="inaccessible";M.ZWa="attachment";M.pfa=ad.sm("onload total","startup");M.pfa.setDescription("Total time spent in onLoad");M.Sda=ad.sm("onload callback","startup");M.Sda.setDescription("Time spent in onload callback plus post-callback layout");M.c2=ad.sm("postaback total","postback");M.c2.setDescription("Total time spent in postback");M.Nda=ad.sm("browser resize","resize");M.Nda.setDescription("Time spent in resize notify during browser resize");
M.t1="_adfCustomPPRUrlExpando";M.gWa="activeDomElement";M.M1="_afrImageNotLoadedInTime";M.y1="_afrECID";M.s4a="p_AFPrintable";M.t4a="_new";M.sK="isSynchronized";M.S0="callback";M.sza="context";M.tza="state";M.nda="timerId";M.rK="domTimerId";M.z0="oracle.adf.view.rich.TOKENIZED_QUERY";M.Tya="protectionKey";M.eCa=["keydown","keyup","compositionend"];M.Pea="afr::msgFor";
M.ga=function(){for(var a={},b=[w.Yg(w.GQ,w.pi),w.Yg(w.qwa,w.pi),w.Yg(w.Eza,w.pi),w.Yg(w.Gza,w.pi),w.Yg(w.$I,0)],d=b.length-1;0<=d;d--)a[b[d].Qs()]=!0;this.s1a=a;this.z1="p_AFInlineEditable";this.m2="p_AFInlineSelectable";this.Qw="javax.faces.ViewState";this.Ht="Adf-Page-Id";this.d6a="oracle.adf.view.rich.STREAM";this.I4a="oracle.adf.view.rich.NOSTREAM";this.REa=0;this.e6a=1;this.QEa=2;this.C1a="oracle.adf.view.rich.LAZY_FETCH";this.$Da="oracle.adf.view.faces.RICH_UPDATE";this.Afa="afr::DocWrapper";
this.m3a="_afrNavViewRoot";this.l3a="_afrNavParams";this.z_a=150;this.tXa=w.Yg(w.bza,w.Bo|w.pi);this.S_a="_afrStyleHolder";this.Rya=1;m("AdfDhtmlPage.PPR_NAVIGATION_ON",M.Rya);this.Qya=2;m("AdfDhtmlPage.PPR_NAVIGATION_FORCE_PPR",M.Qya);this.YCa=0;this.YBa="AUTO";this.Rfa="_afrParserDiv";this.Uza=0;this.n4a="::postscript";this.xFa="ppr";this.M7a="scriptLoading"};
M.prototype.Init=function(a,b){u.s(a,Da);M.h.Init.call(this,a);this.pOa=!1;this.wf=b;this.Hc=b.document;this.jma=this.T5=null;this.ur={};this.GL={};var d=v.l.ek();Jc.prototype.isPrototypeOf(d)&&d.$ua(M.reb(this.Hc));M.Nya="oracle.adf.view.rich.RENDER";this.Wja=[];this.Tx=new Er;this.L3={};this.KT=M.axa;this.eOa=!1;this.kPa="";this.CIa=this.D3=!1;this.VT=!0;this.gY=this.Lla=!1;this.Yia=M.YBa;this.YN=[];this.wd=null;b.onunload=this.D(this.gJ);b.onresize=this.D(this.Fn);d=this.R();d.ywb=q.Td;d.onselectstart=
this.D(this.vkb);this.C4=this.B4=this.Ija=this.Hja=0;var d=this.D(this.ucb),e=this.D(this.vcb),f=this.D(this.tcb);this.SU={mousemove:d,mouseup:e,keydown:f,touchmove:d,touchend:e,touchcancel:f};this.FB={};this.yN={};this.FU=[];this.oB={};this.qma={};this.una={};M.SB={};M.Wjb=1;this.XU=this.WU=this.vx=this.Oja=this.ZL=this.Ioa=null;this.C3={};this.w7={};this.NX=0;this.loa=!1;this.RX=[];this.Xt=1;this.Xt--;this.TL="____GLOBAL_MESSAGES";this.$h={};this.$h.D8=[];this.UA={};this.bLa=M.YCa;this.XW={};this.gj=
null;Fr(this);this.fPa=this.j7=null;this.tGa=!1;this.Tj=b.r3?!0:!1;this.YW=b.s3?!0:!1;this.gOa=this.D(this.fOa);if(this.Tj||this.YW)d=new v("profiler",q.b.x8()),d.getLevel()>v.INFO&&d.Rua(v.INFO),v.Zc=v.PROFILER_LOGGER=d,v.Zc.register();this.l5=!1;this.xG=!0;this.b6=[];this.ge=new Gr(this);this.pPa=this.oF=null;this.hY="aggressive";this.nN={};this.Xla=!1;this.f4=null};M.prototype.LTa=function(){return this.MC()};m("AdfDhtmlPage.prototype.isPageFullyLoaded",M.prototype.LTa);M.prototype.Pqb=function(){return this.Jla};
m("AdfDhtmlPage.prototype.isPageOnloadCalled",M.prototype.Pqb);M.prototype.Tpb=function(){return this.ge};m("AdfDhtmlPage.prototype.getDirtyStateService",M.prototype.Tpb);M.prototype.MC=function(){if(this.PG&&0<this.PG.length){for(var a="Javascript error(s): ",b=0;b<this.PG.length;b++)0<b&&(a+=";"),a+=Qe.Oqa(this.PG[b]);this.PG=[];throw a;}return null==this.cD()};m("AdfDhtmlPage.prototype.isSynchronizedWithServer",M.prototype.MC);
M.prototype.cD=function(a){var b=this.cv();if(b&&a&&(a=Re.dWa(a))&&Qe.Z0.NO_SUCH_DIALOG_ERROR.reason!==a.reason)return a;a={};var d=Qe.tba;a[d.AUTOMATION_ENABLED]=b;a[d.DTS]=this.Yf();a[d.PHASE]=this.iP();a[d.EVENT_QUEUE_LENGTH]=this.Wja.length;a[d.IS_ATTACHMENT_MODE]=this.Zg();a[d.INITIALIZATION_COMPLETE]=this.Jla;a[d.PARTIAL_TARGETS]=this.VW;a[d.START_ADS_CLIENT_ID_COUNT]=this.NX;a[d.WINDOW_EVENT_HEADER_MAP]=this.eH;a[d.IN_HANDLE_RICH_RESPONSE]=this.wla;a[d.PARTIAL_REQUEST_REDIRECT]=this.Hx;a[d.IN_DELIVER_QUEUED_SERVER_EVENTS]=
this.aG;a[d.IN_DELIVER_QUEUED_EVENTS]=this.s5;a[d.WAITING_FOR_DOCUMENT_UNLOAD]=this.YQa;var b=d.ARE_COMPONENTS_LOADED,e;a:{e=this.b6;for(var f=e.length,g=0;g<f;g++)if(this.m(e[g]).oo()!=G.tt){e=!1;break a}e=!0}a[b]=e;a[d.WAITING_FOR_DESCENDANT_RESIZE]=this.vla;a[d.WAITING_FOR_INCOMPLETE_IMAGES]=null!=this.t5&&0<this.t5;a[d.HAS_EVENTS_TO_DELIVER]=this.Tx.oZ();a[d.WAITING_FOR_ANIMATION]=null!=this.bG&&0<this.bG;var h;a:{b=M.SB;for(h in b)if(e=b[h],null!=e&&e[M.sK]){h=!1;break a}h=!0}a[d.ARE_SYNCHRONOUS_TIMERS_CLEARED]=
h;a[d.IN_GET_REQUEST_NAVIGATION]=this.JM;a[d.REST_DATA_SERVICE]=this.nP();a[d.TIMERS]=M.SB;return Qe.$().cD(a)};m("AdfDhtmlPage.prototype.whyIsNotSynchronizedWithServer",M.prototype.cD);M.prototype.getFailedConnectionText=function(){var a=M.h.getFailedConnectionText.call(this);null==a&&(a=this.H().Z("af_document.MSG_FAILED_CONNECTION"));return a};m("AdfDhtmlPage.prototype.getFailedConnectionText",M.prototype.getFailedConnectionText);
M.prototype.lv=function(a){a=a.g();u.assert(-1==E.indexOf(this.b6,a),"Component already registered");this.b6.push(a)};m("AdfDhtmlPage.prototype.registerLoadingComponent",M.prototype.lv);M.prototype.uq=function(a){E.Ig(this.b6,a.g())};m("AdfDhtmlPage.prototype.unregisterLoadingComponent",M.prototype.uq);M.prototype.Qqb=function(){return this.tx};m("AdfDhtmlPage.prototype.isPerformingFullSubmit",M.prototype.Qqb);M.prototype.Klb=function(){this.tx=!1};M.prototype.Gpb=function(){return this.KT};
m("AdfDhtmlPage.prototype.getAccessibilityMode",M.prototype.Gpb);M.prototype.Mrb=function(a){u.assert(a==M.E0||a==M.axa||a==M.PWa,"invalid accessibility mode: ",a);this.KT=a};m("AdfDhtmlPage.prototype.setAccessibilityMode",M.prototype.Mrb);M.prototype.RP=function(){return this.KT==M.E0};m("AdfDhtmlPage.prototype.isScreenReaderMode",M.prototype.RP);M.prototype.Gm=function(){if(void 0===this.Qpa){this.Qpa=!0;var a=this.Y(),b=q.b.tl(),a=null!=a.AdfUserActivityInfo;b&&a||(this.Qpa=!1,v.l.fine("User Activity Monitoring has been disabled either because the feature is disabled or it's enabled but its resources are missing. Please check your app configuration."))}return this.Qpa};
m("AdfDhtmlPage.prototype.isUserActivityMonitoringOn",M.prototype.Gm);M.prototype.Zg=function(){return this.sna===M.ZWa};m("AdfDhtmlPage.prototype.isAttachmentMode",M.prototype.Zg);M.prototype.Wrb=function(a,b){this.eOa=a;this.kPa=b};m("AdfDhtmlPage.prototype.setPortlet",M.prototype.Wrb);M.prototype.Oy=function(){return this.eOa};m("AdfDhtmlPage.prototype.isPortlet",M.prototype.Oy);M.prototype.dZ=function(){return this.kPa};m("AdfDhtmlPage.prototype.getRootClientId",M.prototype.dZ);
M.prototype.yZ=function(){return 0!=(this.z9()&M.Rya)};m("AdfDhtmlPage.prototype.isPPRNavigationEnabled",M.prototype.yZ);M.prototype.laa=function(a){C.yPa(a)};m("AdfDhtmlPage.prototype.setHelpWindowName",M.prototype.laa);M.prototype.cI=function(a){C.cI(a)};m("AdfDhtmlPage.prototype.launchHelpWindow",M.prototype.cI);
M.prototype.BZ=function(a){this.JM=!0;this.ta(this,this.DQa,null,500);if(this.nO())if(this.yZ()){Hr(this,!0);var b={};this.Gm()&&(Jf.$(Jf.Oo).rv((new Date).getTime().toString()),b["oracle.adf.view.rich.monitoring.UserActivityInfo"]=Jf.s9());var b=Ir(this,null,b,null),d=null,e=/_afrPage=[^&^#]*&*/,f=e.exec(a);null!=f&&(f=f[0].split(/[=&]/g),1<f.length&&(d=f[1]),a=a.replace(e,""),a=a.replace(/[\?&]+$|[\?&]+(?=#)/,""));e=null;null!=d&&(e={},e[M.Ht]=d);this.Yf().Hs(null,a,e,b,[this]);delete this.JM}else this.Y().location.href=
a;else delete this.JM};m("AdfDhtmlPage.prototype.localNavigate",M.prototype.BZ);M.prototype.nO=function(a){var b=!0,d=this.W7&&(this.JIa||this.ge.DT()),e=null,f=!1;d||(e=Jr(this),f=null!=e&&0<e.length);var g=null;f&&null!=a&&(g=a(e));if(d||f)b=Kr(this,g);return b};m("AdfDhtmlPage.prototype.checkUncommittedData",M.prototype.nO);
M.prototype.qY=function(a,b){u.Mb(a);for(var d=Lr(this),e=!1,f=0;f<a.length&&!e;f++){var g=a[f],e=null!=this.wr&&this.wr[g];!e&&d&&(e=this.ge.n$(g))}e?(d=b,null==d&&(d=this.H().Z("af_region.MSG_CONFIRM_CLOSE")),d=confirm(d)):d=!0;return d};m("AdfDhtmlPage.prototype.checkRegionUncommittedData",M.prototype.qY);M.prototype.L9=function(){return Jr(this)||[]};m("AdfDhtmlPage.prototype.getUncommittedRegionIds",M.prototype.L9);M.prototype.M8a=function(a){u.dc(a);this.D3=a};
m("AdfDhtmlPage.prototype.__setAutomationEnabled",M.prototype.M8a);M.prototype.cv=function(){return this.D3};m("AdfDhtmlPage.prototype.isAutomationEnabled",M.prototype.cv);M.prototype.L8a=function(a){u.J(a);this.t$a=a};m("AdfDhtmlPage.prototype.__setAsynchronousUpdatesState",M.prototype.L8a);M.prototype.FY=function(){return this.t$a};m("AdfDhtmlPage.prototype.getAsynchronousUpdatesState",M.prototype.FY);M.prototype.O8a=function(a){u.dc(a);this.CIa=a};
m("AdfDhtmlPage.prototype.__setCssSelectorsUncompressed",M.prototype.O8a);M.prototype.h8=function(){return this.CIa};m("AdfDhtmlPage.prototype.areCssSelectorsUncompressed",M.prototype.h8);M.prototype.Eua=function(a){u.dc(a);this.VT=a};m("AdfDhtmlPage.prototype.setAnimationEnabled",M.prototype.Eua);M.prototype.Oc=function(){return this.VT};m("AdfDhtmlPage.prototype.isAnimationEnabled",M.prototype.Oc);M.prototype.Ay=function(){return this.j7};m("AdfDhtmlPage.prototype.getSessionIdentifier",M.prototype.Ay);
M.prototype.W8a=function(a){this.j7=a;return this};m("AdfDhtmlPage.prototype.__setSessionIdentifier",M.prototype.W8a);M.prototype.F8a=function(){Mr(this);"aggressive"!=this.hY&&(this.Plb=!0)};m("AdfDhtmlPage.prototype.__notifyReturnFromDialog",M.prototype.F8a);M.prototype.fsb=function(){return this.Lla};m("AdfDhtmlPage.prototype.shouldInterpretEmptyStringSubmittedValuesAsNull",M.prototype.fsb);M.prototype.X8a=function(a){this.Lla=a};
m("AdfDhtmlPage.prototype.__setShouldInterpretEmptyStringSubmittedValuesAsNull",M.prototype.X8a);M.prototype.gsb=function(){return this.gY};m("AdfDhtmlPage.prototype.shouldValidateEmptyFields",M.prototype.gsb);M.prototype.Z8a=function(a){this.gY=a};m("AdfDhtmlPage.prototype.__setShouldValidateEmptyFields",M.prototype.Z8a);M.prototype.e_=function(){return null==this.Yia||this.Yia==M.YBa};m("AdfDhtmlPage.prototype.shouldShowHintInNoteTip",M.prototype.e_);M.prototype.R8a=function(a){this.Yia=a};
m("AdfDhtmlPage.prototype.__setHintPresentationMode",M.prototype.R8a);M.prototype.xC=function(){return this.fPa};m("AdfDhtmlPage.prototype.getResponseIdentifier",M.prototype.xC);M.prototype.sGa=function(a){this.fPa=a;return this};m("AdfDhtmlPage.prototype.__setResponseIdentifier",M.prototype.sGa);M.prototype.V8a=function(a){this.sna=a;return this};m("AdfDhtmlPage.prototype.__setOutputMode",M.prototype.V8a);M.prototype.hqb=function(){return this.sna};m("AdfDhtmlPage.prototype.getOutputMode",M.prototype.hqb);
M.prototype.f_=function(){return this.tGa};m("AdfDhtmlPage.prototype.shouldTracePPRRequestId",M.prototype.f_);M.prototype.Y8a=function(a){this.tGa=a};m("AdfDhtmlPage.prototype.__setShouldTracePPRRequestId",M.prototype.Y8a);M.prototype.Df=function(a,b){u.J(a);this.una[a]=b};m("AdfDhtmlPage.prototype.setPageProperty",M.prototype.Df);M.prototype.Qe=function(a){u.J(a);return this.una[a]};m("AdfDhtmlPage.prototype.getPageProperty",M.prototype.Qe);
M.prototype.Y8=function(a){u.Ya(a);var b=[],d;for(d in this.ur){var e=this.ur[d];e&&e.getComponentType()==a&&b.push(e)}return b};m("AdfDhtmlPage.prototype.getComponentsByType",M.prototype.Y8);M.prototype.EZ=function(a,b){u.Ja(a);void 0===b&&(b=this);var d=[],e;for(e in this.ur){var f=this.ur[e],g=a.call(b,f);g&1&&d.push(f);if(g&2)break}return d};m("AdfDhtmlPage.prototype.matchComponents",M.prototype.EZ);M.prototype.N9=function(){return void 0!=this.UQa?this.UQa:""};
m("AdfDhtmlPage.prototype.getViewId",M.prototype.N9);M.prototype.a9a=function(a){this.UQa=a};m("AdfDhtmlPage.prototype.__setViewId",M.prototype.a9a);M.prototype.m=function(a){return this.ur[a]};m("AdfDhtmlPage.prototype.findComponent",M.prototype.m);M.prototype.Npb=function(){return this.ur};m("AdfDhtmlPage.prototype.getClientIdToComponentMap",M.prototype.Npb);
M.prototype.wh=function(a){if(window.B_)return Nr.wh(this,a);throw Error("Automation must be enabled to call findComponentByAbsoluteLocator()");};m("AdfDhtmlPage.prototype.findComponentByAbsoluteLocator",M.prototype.wh);M.prototype.iC=function(a){if(window.B_)return Nr.iC(this,a);throw Error("Automation must be enabled to call findComponentOrAncestorByAbsoluteLocator()");};m("AdfDhtmlPage.prototype.findComponentOrAncestorByAbsoluteLocator",M.prototype.iC);
M.prototype.AY=function(a,b){if(window.B_)return Nr.AY(this,a,b);throw Error("Automation must be enabled to call findComponentWithBackup()");};m("AdfDhtmlPage.prototype.findComponentWithBackup",M.prototype.AY);M.prototype.hC=function(a,b){if(window.B_)return Nr.hC(this,a,b);throw Error("Automation must be enabled to call findComponentByComplexLocator()");};m("AdfDhtmlPage.prototype.findComponentByComplexLocator",M.prototype.hC);
M.prototype.zH=function(a,b){if(window.B_)return Nr.zH(this,a,b);throw Error("Automation must be enabled to call findComponentsByComplexLocator()");};m("AdfDhtmlPage.prototype.findComponentsByComplexLocator",M.prototype.zH);M.prototype.Kd=function(a){var b=a.g(),d=this.GL[b];if(null==d){var e=a.o(),d=e.Kd(a,b);e.BP()&&(this.GL[b]=d)}return d};m("AdfDhtmlPage.prototype.getAbsoluteLocator",M.prototype.Kd);
M.prototype.nz=function(a){this.xj()&&this.Ud().nz(a);a in this.C3&&(u.J(a),delete this.C3[a],v.l.fine("Stop autoPPR active data on ",a),this.Pva(a));var b=this.HL;null!=b&&(b=b[Fb.ua],null!=b&&Ma.uO(b,new Fb(this,a)));delete this.ur[a];delete this.GL[a]};m("AdfDhtmlPage.prototype.unmapComponent",M.prototype.nz);M.prototype.CZ=function(a,b){this.ur[a]=b};m("AdfDhtmlPage.prototype.mapComponent",M.prototype.CZ);
M.prototype.UVa=function(a){a=a.Kd();for(currClientId in this.GL)this.GL[currClientId].substr(0,a.length)===a&&delete this.GL[currClientId]};m("AdfDhtmlPage.prototype.unmapDescendantComponentAbsoluteLocators",M.prototype.UVa);
M.prototype.Oob=function(a,b){var d;switch(a){case "javascript":Or(this).ey(b,Pr.UJ);break;case "css":a:{var e=this.Cx;u.assert(null!=e,"Unexpected loadedCss ",e);d=Qr(this);if(e[b])for(var e=d?Rr(d.getElementsByTagName("LINK")):[],f=e.length-1;0<=f;--f){var g=e[f];if(g.getAttribute("href")==b){d=g;break a}}else e[b]=!0;e=Sr(this,b);d.appendChild(e);d=e}d.setAttribute("afrres","true");break;case "style":d=q.b.rO(b),d.setAttribute("afrres","true")}};m("AdfDhtmlPage.prototype.addResource",M.prototype.Oob);
M.prototype.l8a=function(a){var b=Tr(this),d=b.reduce(M.knb,{}),e=a.reduce(M.wob,{}),f;for(f in d)f in e&&(delete e[f],delete d[f]);var g=b.filter(function(a){return a.getAttribute("href")in this},d);a=a.filter(function(a){return a in this},e);if(a.length||g.length)b=Qr(this),a.reduce(M.Lhb,{page:this,head:b,insertBefore:null,$qb:{"data-afr-stylesheet":"1"}}),window.setTimeout(function(){g.every(function(a){a.parentNode&&a.parentNode.removeChild(a)})},1E3)};
m("AdfDhtmlPage.prototype.__applyNewPageStyleSheets",M.prototype.l8a);M.Lhb=function(a,b){var d=Sr(a.page,b,a.$qb);a.head.insertBefore(d,a.insertBefore);a.insertBefore=d.nextSibling;return a};M.wob=function(a,b){a[b]=b;return a};M.knb=function(a,b){var d=b.getAttribute("href");d&&(a[d]=b);return a};function Tr(a){a=Qr(a);return(a?Rr(a.getElementsByTagName("LINK")):[]).filter(function(a){return a.hasAttribute("data-afr-stylesheet")})}
M.prototype.gJ=function(){this.Yf().iv();null!=v.Zc&&v.Zc.ek().close();this.tHa&&(this.CQa=!0,this.xj()&&this.Ud().C$());Re.$().mO();var a=this.via;a&&(a.ac(),this.via=null);if(a=this.Rub)a.ac(),this.jNa=null;if(a=this.Kna)a.ac(),this.Kna=null;if(a=this.Upa)a.ac(),this.Upa=null;(a=zd.$())&&a.ac();this.XZ(null);var b=q.b,a=this.R(),d=this.Y(),e=this.spa;e&&e.ac();e=M.SB;M.SB=null;var f=this.Y(),g;for(g in e){var h=e[g];if(null!=h)try{f.clearTimeout(h[M.rK])}catch(l){}}if(g=this.DOa)b.nq(a,g),this.DOa=
null;this.v6&&(b.xa(d,"beforeunload",this.v6),this.v6=null);if(g=this.tla){e=M.eCa;for(f=0;f<e.length;f++)a.removeEventListener(e[f],g,!0);this.tla=null}if(g=this.oma)b.oq(a,g),this.oma=null;d.onload=null;d.onunload=null;d.onresize=null;if(b=this.nja)b.ac(),this.nja=null;delete this.IMa;this.spa=this.SU=this.vja=this.Hc=this.T5=this.wf=this.QM=this.R7=this.Fka=this.Q7=this.kN=null;M.jcb(a);M.h.gJ.call(this);this.RP()&&this.oz(M.tXa)};
M.tla=function(a){var b=A.c,d=q.b;a instanceof CompositionEvent?("compositionend"==a.type&&(b.f4=a.target),d.Ea(a)):b.f4&&a instanceof KeyboardEvent&&("keyup"==a.type&&a.keyCode==w.jb&&a.target==b.f4&&d.Ea(a),b.f4=null)};M.prototype.Kc=function(a){var b=arguments.length;if(0<b){var d=this.VW;null==d&&(this.VW=d=[]);for(var e=0;e<b;e++){var f=arguments[e];u.s(f,G);f=f.g();f in d||(d[f]=!0,d.push(f))}this.FT()}};m("AdfDhtmlPage.prototype.addPartialTargets",M.prototype.Kc);
M.prototype.gH=function(a){var b=this.Y();this.Tj&&(b.K9a=(new Date).getTime());for(var d=arguments.length,e=0;e<d;e++)u.s(arguments[e],G),arguments[e].HQ();this.Tj&&(b.J9a=(new Date).getTime())};m("AdfDhtmlPage.prototype.addComponents",M.prototype.gH);M.prototype.kY=function(a,b){u.Ja(b);u.ji(a);this.eU=Ma.addListener(this.eU,a,b)};m("AdfDhtmlPage.prototype.addBusyStateListener",M.prototype.kY);M.prototype.eQ=function(a,b){u.Ja(b);u.ji(a);this.eU=Ma.removeListener(this.eU,b,a)};
m("AdfDhtmlPage.prototype.removeBusyStateListener",M.prototype.eQ);function Ur(a,b){a.oab==b?v.l.finest("busy state event broadcast called without a change in state"):(a.oab=b,a.eU&&Ma.uO(a.eU,new yb(a,b)))}
M.prototype.qr=function(a){for(var b=this.FU,d=b.length,e=a.g(),f=v.l,g=f.ee(v.WARNING),h=0;h<d;h++){var l=b[h].dl;if(l==a)return;if(l.g()==e){g&&(b=this.R(),g=d="unknown",l=l.o(),a=a.o(),l&&(l=l.i())&&(d=null!=C.X8(b,l)),a&&(a=a.i())&&(g=null!=C.X8(b,a)),f.warning("__registerDescendantResizeNotifyComponent: Another (different) component instance with this same clientId is already in the descendant resize notify list: "+e+" (existingConnected\x3d"+d+", newConnected\x3d"+g+")"));return}}e={dl:a,depth:C.rSa(I.Fb(a))};
b.push(e);1<b.length&&(this.TIa=!0);this.FU=b};m("AdfDhtmlPage.prototype.__registerDescendantResizeNotifyComponent",M.prototype.qr);M.prototype.cp=function(a){for(var b=this.FU,d=b.length,e=0;e<d;e++)if(b[e].dl==a){b.splice(e,1);break}};m("AdfDhtmlPage.prototype.__unregisterDescendantResizeNotifyComponent",M.prototype.cp);M.prototype.EA=function(a){var b=this.wF;a=a.g();if(null==b)b=this.wF=[];else if(-1!=E.indexOf(b,a))return;b.push(a)};
m("AdfDhtmlPage.prototype.__queueDescendantResizeNotifySource",M.prototype.EA);
M.prototype.zA=function(){if(this.wF&&!this.vla){this.vla=!0;try{for(;0<this.wF.length;){var a=this.wF.splice(0,this.wF.length),b=a.length,d=this.FU,e=d.length;this.TIa&&(1<d.length&&d.sort(M.fcb),this.TIa=!1);for(var f=v.l,g=f.ee(v.WARNING),h=0;h<e;h++){var l=d[h].dl;if(g){var n=l.g(),t=!1,y;for(y in this.yN)y==n&&(t=!0);if(!t){f.warning("__doDescendantResizeNotify: A component instance is registered with the descendant resize notify list but not with the regular resize notify list but must be: "+y);
break}}for(t=0;t<b;t++){var z=this.m(a[t]);if(z&&(z==l||z.Dm(l))){this.Xg(l);break}}}}}finally{delete this.vla,delete this.wF}}};m("AdfDhtmlPage.prototype.__doDescendantResizeNotify",M.prototype.zA);M.fcb=function(a,b){var d=a.depth,e=b.depth;return d>e?-1:d<e?1:0};
M.prototype.NZ=function(a){var b={dl:a},d=a.g(),e=this.yN;e[d]=b;var f;a=I.Fb(a);u.u(a);if(a){for(a=a.parentNode;a&&(1!=a.nodeType||!(f=e[a.id]));)a=a.parentNode;null==f&&(f=this.FB);null==f.children&&(f.children=[]);f.children.push(b);b.parent=f}};m("AdfDhtmlPage.prototype.registerResizeNotifyComponent",M.prototype.NZ);
M.prototype.q_=function(a){var b=a.g(),d=this.yN;if(a=d[b])if(delete d[b],(b=a.parent)&&E.Ig(b.children,a),delete a.parent,b=a.children)u.assert(0==b.length,"Unexpected number of children: "+b.length),delete a.children};m("AdfDhtmlPage.prototype.unregisterResizeNotifyComponent",M.prototype.q_);M.prototype.Xg=function(a){if(null==a)a=this.FB;else{var b=a.g();a=this.yN[b];u.assert(null!=a,"No resizeNotifyNode in map for:"+b)}M.bu(a,!0)};m("AdfDhtmlPage.prototype.doResizeNotify",M.prototype.Xg);
M.prototype.jo=function(a,b){var d=this.yN,e=d[a.id];if(e)M.bu(e,b);else{for(var f=a.parentNode;f&&!(e=d[f.id]);)f=f.parentNode;d=!1;f=Vr(this,!1);e||(f&&(e=this.Gg())&&(d=e.sH(a)),e=this.FB);Wr(this,a,e,d);f&&(e=this.Bm(),d&&e&&e.qua(a))}};m("AdfDhtmlPage.prototype.doResizeNotifyDom",M.prototype.jo);function Wr(a,b,d,e){var f=q.b,g=d.children;if(g){d=d.dl?I.Fb(d.dl):null;for(var h=g.length,l=0;l<h;l++){var n=g[l],t=n.dl.g();(t=f.getElementById(t))&&(M.Thb(b,t,d)?M.bu(n,!1):e&&Wr(a,b,n,!0))}}}
M.Thb=function(a,b,d){u.Hb(b);u.Hb(a);u.mqa(d);for(b=b.parentNode;b;){if(b==a)return!0;if(b==d)break;if(V.NTa(b))break;b=b.parentNode}return!1};M.prototype.e8=function(a,b){u.Ja(b);this.BB=Ma.addListener(this.BB,a,b)};m("AdfDhtmlPage.prototype.addPropertyChangeListener",M.prototype.e8);M.prototype.O$=function(a,b){u.Ja(b);this.BB=Ma.removeListener(this.BB,b,a)};m("AdfDhtmlPage.prototype.removePropertyChangeListener",M.prototype.O$);
M.prototype.UFa=function(a,b){var d=a.g(),e=b.popupId,f=this.nN[d];f||(this.nN[d]=f={});f[e]=b;if(e=this.TO())d=q.b,e=d.getElementById(e.g()),(d=d.getElementById(b.anchorId))&&V.Nb(e,d)&&(b.madeEditable=!0,d=b.contentDom,Xr(this,d,this.WU,this.XU),q.b.nj(d,M.y5),C.w(d,"p_AFActiveInlineEditableContainer"),q.b.fe(d,100))};m("AdfDhtmlPage.prototype.__addPopupInfo",M.prototype.UFa);
M.prototype.pGa=function(a,b){var d=a.g(),e=this.nN,f=e[d],g=f[b];g.madeEditable&&(g=g.contentDom)&&(q.b.mv(g,M.y5),C.O(g,"p_AFActiveInlineEditableContainer"));delete f[b];E.zc(f)&&delete e[d]};m("AdfDhtmlPage.prototype.__removePopupInfo",M.prototype.pGa);M.prototype.fZ=function(){var a=this.Ioa,b=null;if(a)for(var b=[],d=a.length,e=0;e<d;e++){var f=this.m(a[e]);f&&b.push(f)}return b};m("AdfDhtmlPage.prototype.getSelectedEditingComponents",M.prototype.fZ);
M.prototype.c_=function(a){u.og(a);for(var b=Yr(this,this.ZL,!1),d=[],e=0;e<b.length;e++){var f=Zr(b[e],a);if(f)for(var g=f.length,h=0;h<g;h++)d.push(f[h])}$r(this,d)};m("AdfDhtmlPage.prototype.setSelectedEditingComponents",M.prototype.c_);M.prototype.TO=function(){var a=this.ZL;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getEditableSubtree",M.prototype.TO);
M.prototype.iaa=function(a,b){u.kH(a);this.WU=a;this.XU=b;var d=this.ZL;if(null!=d)for(var d=Yr(this,d,!0),e=0;e<d.length;e++){var f=d[e];as(this,f);Xr(this,f,a,b)}};m("AdfDhtmlPage.prototype.setEditableSubtreeFilter",M.prototype.iaa);function Yr(a,b,d){var e=[],f=q.b;if(b=f.getElementById(b)){e.push(b);a=a.nN;for(var g in a){var h=a[g],l;for(l in h){var n=h[l],t=f.getElementById(n.anchorId);t&&V.Nb(b,t)&&e.push(d?t:n.contentDom)}}}return e}
function as(a,b){u.u(b);var d=b.id;d&&a.m(d)&&(C.O(b,M.m2),C.O(b,M.z1));for(d=b.firstChild;d;)1==d.nodeType&&as(a,d),d=d.nextSibling}function bs(a,b,d){return a.RZ(G.U0)?nc.wxa:b?b.call(d,a):nc.Jba}function cs(a,b,d,e){if(e=bs(a,d,e))d=M.m2,e==nc.Jba&&(e=a.o().jd(a,null))&&e.Zta(a)&&(d=M.z1),C.w(b,d)}function ds(a){a=a.nodeValue;return"compS|"==a.substring(0,6)?a.substr(6):null}function Ec(a,b){var d=ds(b);return d?a.m(d):null}
function Xr(a,b,d,e){u.u(b);var f=b.id;f&&(f=a.m(f))&&cs(f,b,d,e);for(b=b.firstChild;b;){f=b.nodeType;if(1==f){var g=a,h=b,f=d,l=e;if("NOSCRIPT"===h.tagName){for(g=h.nextSibling;g&&1!=g.nodeType;)g=g.nextSibling;g&&cs(component,g,f,l)}else Xr(g,h,f,l)}else if(8==f&&(h=b,f=d,l=e,g=Ec(a,h))){for(h=h.nextSibling;h&&1!=h.nodeType;)h=h.nextSibling;h&&cs(g,h,f,l)}b=b.nextSibling}}
M.prototype.XZ=function(a){u.$j(a,G);var b=this.ZL,d=a?a.g():null;if(d!=b){var e,f=Yr(this,b,!0),g=f.length;if(g)for(e=f[0],b=0;b<g;b++){var h=f[b];q.b.mv(h,M.y5);C.O(h,"p_AFActiveInlineEditableContainer");as(this,h)}this.ZL=d;var d=Yr(this,d,!0),f=d.length,l;if(f)for(l=this.Ioa,u.$j(a,G),u.og(l),l=null==a?null:Zr(a.o().Rp(),l),b=0;b<f;b++)if(g=d[b])Xr(this,g,this.WU,this.XU),q.b.nj(g,M.y5),C.w(g,"p_AFActiveInlineEditableContainer");$r(this,l);Ma.BO(this.BB,this,A.gxa,e,a)}};
m("AdfDhtmlPage.prototype.setEditableSubtree",M.prototype.XZ);M.prototype.yh=function(){var a=this.Oja;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getEditedComponent",M.prototype.yh);
M.prototype.uv=function(a,b){u.$j(a,G);var d;if(null!=a){d=a.g();var e=I.xm(a);C.sa(e,M.z1)||(d=null,C.sa(e,M.m2)||(a=null))}else d=null;e=null;null!=d&&(e=a.o().jd(a,b),null==e&&(a=d=null));var f;if(this.Oja!=d){f=this.yh();var g=this.vx;null!=g&&g.Ps();this.Oja=d;this.vx=e}else f=a;a&&this.c_([a]);f!=a&&(null!=e&&e.xI(a,b),Ma.BO(this.BB,this,A.hxa,f,a))};m("AdfDhtmlPage.prototype.setEditedComponent",M.prototype.uv);
M.prototype.Yf=function(a,b,d){var e;e=b?this.F9a:d?this.qob:this.nja;if(null==e){if(a)return null;if(this.Zg())e=new Ff(f);else{var f=this.Y();e=new Mf(f)}b?this.F9a=e:d?this.qob=e:this.nja=e;e.Xr(this.Hcb,this)}return e};m("AdfDhtmlPage.prototype.getDataTransferService",M.prototype.Yf);M.prototype.nP=function(){!this.gPa&&window.Nsb&&(this.gPa=new $a);return this.gPa};m("AdfDhtmlPage.prototype.getRestDataService",M.prototype.nP);
M.prototype.el=function(){this.kL();var a=this.via;null==a&&(this.via=a=new Ni);return a};m("AdfDhtmlPage.prototype.getAutoDismissalManager",M.prototype.el);M.prototype.Am=function(){this.kL();var a=this.jNa;null==a&&(this.jNa=a=new cj);return a};m("AdfDhtmlPage.prototype.getModalityManager",M.prototype.Am);M.prototype.Bm=function(){this.kL();var a=this.Kna;null==a&&(this.Kna=a=new gj);return a};m("AdfDhtmlPage.prototype.getPositionManager",M.prototype.Bm);
M.prototype.Gg=function(){this.kL();var a=this.Upa;null==a&&(this.Upa=a=new ej);return a};m("AdfDhtmlPage.prototype.getZOrderManager",M.prototype.Gg);M.prototype.ta=function(a,b,d,e,f){u.Ja(b);u.Da(e);var g=M.SB,h=M.Wjb++,l={};l[M.sza]=a;l[M.tza]=d;l[M.S0]=b;l[M.nda]=h;f&&f[M.sK]&&("true"===f[M.sK]||!0===f[M.sK])&&(l[M.sK]=!0);g[h]=l;l[M.rK]=this.Y().setTimeout(function(){return M.N2(h)},e);return h};m("AdfDhtmlPage.prototype.scheduleTimer",M.prototype.ta);
M.prototype.Ds=function(a,b){u.Xf(a);u.Da(b);a=a.valueOf();var d=M.SB[a];null!=d?(window.clearTimeout(d[M.rK]),d[M.rK]=this.Y().setTimeout(function(){return M.N2(a)},b)):v.l.warning("Attempt to reschedule unknown timerId:",a)};m("AdfDhtmlPage.prototype.rescheduleTimer",M.prototype.Ds);M.prototype.ic=function(a){u.Xf(a);a=a.valueOf();var b=M.SB,d=b[a];null!=d?(this.Y().clearTimeout(d[M.rK]),delete b[a]):v.l.warning("Attempt to cancel unknown timerId:",a)};m("AdfDhtmlPage.prototype.cancelTimer",M.prototype.ic);
M.N2=function(a){u.Da(a);var b=M.SB;if(null!=b){var d=b[a];if(null!=d){var e;try{e=d[M.S0].call(d[M.sza],d[M.tza])}catch(f){v.l.Ge(f," when calling timer callback")}u.co(e);void 0==e||0>e?delete b[a]:d[M.rK]=A.c.Y().setTimeout(function(){return M.N2(a)},e)}}};m("AdfDhtmlPage.__callTimerCallback",M.N2);
function es(a,b){var d=a.Qba();if(null==d)return null;var e=Array(50),f=!1,g=xa.lwa,h=xa.ixa,l=xa.kza,n=xa.kwa,t;for(t in d){var y=d[t];if(!y.o()){var z=y.g();(z=a.m(z))&&(y=z)}var z=!1,B=y.Jc(),F;for(F in B){z?e.push(g):(f?e.push(g):(e.push(l),f=!0),e.push(y.g()),e.push("\x3d{"),z=!0);var K=B[F];F.lastIndexOf(G.Iea);null!=K&&(K=K instanceof Date?q.b.toISOString(K):K.toString().replace(/\{/g,"%7B").replace(/\}/g,"%7D").replace(/\,/g,"%2C").replace(/\=/g,"%3D"));e.push(F);e.push(h);e.push(K)}z&&e.push(n)}f&&
e.push(n);b&&a.yba();return e.join("")}M.prototype.ml=function(a){return"//"==a.substring(0,2)?a.substring(1):"/"==a.charAt(0)?this.yia+a:a};m("AdfDhtmlPage.prototype.getResourceURL",M.prototype.ml);M.prototype.xUa=function(a){var b=this.yia,d=a.indexOf(b);return 0<=d?a.substr(d+b.length):"/"==a.charAt(0)?"/"+a:a};m("AdfDhtmlPage.prototype.removeResourceURL",M.prototype.xUa);M.jcb=function(a){a=a.getElementsByTagName("iframe");for(var b=a.length-1;0<=b;b--){var d=a[b];d.parentNode.removeChild(d)}};
M.Hub=function(a){for(var b=Array(a),d=0;d<a;d++){for(var e=Array(1E4),f=0;1E4>f;f++)e[f]=f;b[d]=e}};k=M.prototype;k.vkb=function(){if(this.rl())return!1;var a=this.Dg();return!(a&&a.rl())};k.Fn=function(){if(q.b.S()==q.ia){if(!this.aPa){this.aPa=!0;var a=setTimeout;this.vja||(this.vja=this.D(this.$bb));a(this.vja,M.z_a)}}else this.w6()};k.$bb=function(){this.aPa=!1;this.w6()};k.w6=function(){if(this.iP()!=A.uba){fs(this,!1);var a=M.Nda.start();M.bu(this.FB,!1);M.Nda.stop(a)}};
k.Md=function(a,b,d,e,f){var g=q.b;a=g.Xb(a);this.Hja=a.x;this.Ija=a.y;this.B4=this.Hja;this.C4=this.Ija;this.$ma=b;this.nJa=d;this.vL=e;(this.scb=f)?this.iva(this.SU,"auto"):(b=this.SU,g.yI(b),this.QM=g.wI(b,this.Hc.documentElement))};m("AdfDhtmlPage.prototype.startDrag",M.prototype.Md);M.prototype.ucb=function(a){var b=this.$ma,d=q.b.Xb(a);b&&b(a,d.x-this.B4,d.y-this.C4);this.B4=d.x;this.C4=d.y};
M.prototype.vcb=function(a){var b=this.nJa,d=q.b.Xb(a);this.Naa();b&&b(a,d.x-this.Hja,d.y-this.Ija);this.B4=d.x;this.C4=d.y};M.prototype.tcb=function(a){if(a.keyCode==w.Ih){var b=this.vL;if(b)return this.Naa(),b(),q.b.Ea(a),!1}};M.prototype.Naa=function(){if(this.scb)this.U9(this.SU);else{var a=q.b,b=this.SU;a.BI(b);var d=a.S()==q.ia?this.QM:null;delete this.QM;a.yH(b,this.Hc.documentElement,d)}this.vL=this.nJa=this.$ma=null};m("AdfDhtmlPage.prototype.stopDrag",M.prototype.Naa);
M.prototype.rl=function(){return this.$ma?!0:!1};m("AdfDhtmlPage.prototype.isDragging",M.prototype.rl);M.prototype.eVa=function(a){this.pkb=a};m("AdfDhtmlPage.prototype.setOnLoadCallback",M.prototype.eVa);M.prototype.urb=function(){this.pOa=!0};m("AdfDhtmlPage.prototype.preloadImages",M.prototype.urb);M.prototype.om=function(){return this.Yha};m("AdfDhtmlPage.prototype.getActiveComponentId",M.prototype.om);M.prototype.kqb=function(){return this.rOa};
m("AdfDhtmlPage.prototype.getPreviouslyActiveComponentId",M.prototype.kqb);function Va(a,b){var d=null!=b?q.b.getElementById(b):null;a.GT(d,b)}M.prototype.Hpb=function(){return this.wd};m("AdfDhtmlPage.prototype.getActiveDomElement",M.prototype.Hpb);M.prototype.fs=function(){var a=this.Yha;return null!=a?this.m(a):null};m("AdfDhtmlPage.prototype.getActiveComponent",M.prototype.fs);
M.prototype.GT=function(a,b){u.mqa(a);u.ae(b);void 0===a&&(a=null);var d=this.fs(),e=this.wd;if(q.b.S()==q.ia&&e&&a&&"BODY"==a.tagName&&this.Gg().sH(e))return J.CO(e,1),!1;this.rOa=this.Yha;this.wd=a;this.Yha=b;Ma.BO(this.BB,this,M.gWa,e,a);Ma.BO(this.BB,this,A.Yva,d,this.fs());return!0};m("AdfDhtmlPage.prototype.__setActiveDomNodeInfo",M.prototype.GT);
M.prototype.Hg=function(a){if(a){u.s(a,Qa);var b=a.getType();if(1==this.Hx&&ph.JR!=b)v.l.info("Redirect in progress... refusing to queue event : ",a);else{lc.Bt!=b&&vh.fda!=b||this.ge.vha(a);1==a.aa()&&(void 0!==this.l5&&1==this.l5?this.Cc(!1,!1,!0,"user click event : ",a):this.Cc(!0,!0,!0,"user click event: ",a));M.YCa===this.bLa&&a.Vd()&&(v.l.fine("Page level messages cleared by the following event: ",a),b=gs(this,null,!1),A.c.Oe(b));if(a.Kb()){v.l.fine("Client validation triggered by the following event: ",
a);var d=a.getSource(),b=a.pb();var e=d.g9(a),f=!0;if(null!=e){for(var g=d.g(),h=g.lastIndexOf(":"),d=[];0<h;)g=g.substring(0,h),h=this.m(g),null!=h&&h instanceof AdfRichSubform&&d.push(g),h=g.lastIndexOf(":");for(g=0;g<e.length;g++){var l=e[g],n=Array(l);if(l)for(n=l.Cd(n),l=0;n&&l<n.length;l++){var t=n[l];if(null!=t&&t instanceof AdfUIEditableValue&&(!b||t.getImmediate())){for(var y=t.g(),h=y.lastIndexOf(":"),z=null;0<h;){y=y.substring(0,h);h=this.m(y);if(null!=h&&h instanceof AdfRichSubform){z=
y;break}h=y.lastIndexOf(":")}h=!0;if(null!=z)if(y=d.length,0<y)for(subformIdIndex=0;subformIdIndex<y&&z!=d[subformIdIndex];subformIdIndex++)subformIdIndex==y-1&&(h=!1);else 0==this.m(z).getDefault()&&(h=!1);h&&(1==t.getValid()?t.getRequired()&&(z=I.Fb(t),C.Iy(z)&&(t.Xi(),0==t.getValid()&&(f=!1))):(z=I.Fb(t),C.Iy(z)&&(z=t.g(),this.qs(z)?f=!1:(t.Xi(),t.getValid()||(this.qs(z)?f=!1:v.l.severe("AdfDhtmlPage._processValidators: Ignoring that the component with the id '"+z+"' is invalid because there are no messages to show the user."))))))}}}}if(!f){a.cancel();
this.sq();v.l.info("Client validation failed. The following event that triggered the validation was not queued as a result: ",a);return}}this.Wja.push(a);this.iP()!=A.P_&&this.FT()}}};m("AdfDhtmlPage.prototype.queueEvent",M.prototype.Hg);M.prototype.FT=function(a){hs(this,a)};m("AdfDhtmlPage.prototype.__queueEventTimerIfNeeded",M.prototype.FT);
M.prototype.Bs=function(a){u.assert(!this.aG);if(a)if(u.s(a,Qa),1==this.Hx&&ph.JR!=a.getType())v.l.info("Redirect in progress... refusing to queue event : ",a);else{if(a.PP()&&0==a.fk()){var b=a.getSource(),d=b.g(),e=this.L3,f=e[d];f||(f=0,b.o()&&b.o().WC(b,!0));e[d]=f+1}this.Tx.push(a);this.iP()!=A.P_&&this.FT()}};m("AdfDhtmlPage.prototype.queueEventToServer",M.prototype.Bs);M.T8a=function(a){a.era();a.A$()};m("AdfDhtmlPage.__setNonHtmlResponse",M.T8a);M.U8a=function(a){a.Xc(!0);a.A$()};
m("AdfDhtmlPage.__setNonHtmlResponsePartialSubmit",M.U8a);M.K8a=function(a,b){A.c.ta(A.c,M.dmb,{km:a,focus:b},100)};m("AdfDhtmlPage.__scrollComponentIntoView",M.K8a);M.dmb=function(a){A.c.m(a.km).scrollIntoView(a.focus)};M.Bnb=function(){var a=A.c;a.bM=void 0;a.H4=void 0;if(a.wla||a.s5||a.aG)hs(a);else{is(a);var b=a.Tx.lZ();0<=b&&hs(a,b)}};
function hs(a,b){if(void 0===b||50>b)b=50;var d=!1,e=(new Date).getTime()+b;void 0!==a.bM&&(u.assert(void 0!==a.H4),a.H4>e?a.ic(a.bM):d=!0);d||(a.H4=e,d={},15E3>=b&&(d={isSynchronized:"true"}),a.bM=a.ta(a,M.Bnb,null,b,d))}function is(a){if(!a.s5){var b=a.Wja;try{a.s5=!0;do{var d=b.shift();if(!d)break;d instanceof D||v.l.fine("Broadcasting:",d);d.getSource().ki(d)}while(1)}finally{a.s5=!1}}a.Yf().vm()==Te.an&&js(a)}
function js(a,b,d){if(!a.Zg()&&!a.Hx&&!a.tx&&1!=a.aG){a.aG=!0;var e=a.xj()?E.zc(a.Ud().FO()):!0,f,g=a.VW,h=null;if(g){h=[];f=g.length;for(var l=0;l<f;l++){var n=g[l];a.m(n)&&h.push(n)}h.length||(h=null)}f=h;var t=0<a.NX&&0<a.Xt,y=!e&&a.loa&&0<a.Xt,z=a.RX,B=t||y||0<z.length,n=null!=a.eH;a.Tx.Xi();var F=a.Tx.oZ(),K=null!=f||B||n,e=!1;if(F||K||b){b={};var P={},g=!0,Q=null,da=M.nka,ba=0!=(a.z9()&M.Qya),h=!1;if(a.Gm())var ta=Jf.$(Jf.Oo);null!=f&&(l=f.join(","),b[M.Nya]=l,a.Gm()&&ta.paa(l),Q=da(a.m(f[0])),
a.VW=null);var Ha=es(a,F||null!=b[M.Nya]);if(Ha)b["oracle.adf.view.rich.DELTAS"]=Ha;else if(!F&&!K){a.aG=!1;return}f=!1;var l={},Eb=a.Tx.cva(K,Ha),Ha=K=null,fb=Eb.length;if(1==fb){var Ya=Eb[0];Ya.PP()?Ya.i$()&&(Ha=Ya):K=Ha=Ya}for(var Ya=[],Lb=[],Kc=!1,fb=fb-1;0<=fb;fb--){var hc=Eb[fb],Rc=hc.getType();l[Rc]=Rc;var Ad=hc.getSource(),Qc=Ad.g();e||(e=hc.OP());var oc=da(Ad);null==Q&&(Q=oc);if(Q==oc){if(Qc){Qc in P||Ya.push(Qc);var oc=hc.kP(),Yb=P[Qc];if(!Yb)Yb=[],P[Qc]=Yb;else if(Yb[Rc])continue;Yb[Rc]=
!0;var ye=hc._adfServerParams;ye&&(b=E.Rb(ye,b));Yb.unshift(oc);a.Gm()&&!Kc&&ta.kaa(hc.getType(),Qc,Ad.getComponentType(),Ad.De())}else v.l.severe("Can not post events for ",component," because it has no clientId");oc=hc.$H()&&!hc.k$();f=f||hc.sca();!ba||oc||Rc!=ab.ed||hc.k$()||(h=oc=!0);g&=oc}else v.l.severe("Only submits to a single form are currently supported");if(hc=Ad.g9(hc)){if(null!==Lb){Rc=!1;for(index=0;index<hc.length;index++)Ad=hc[index].g(),Rc=Rc||Qc==Ad,Lb.push(Ad);Rc||Lb.push(Qc)}}else Lb=
null;a.Gm()&&!Kc&&(ta.rv((new Date).getTime().toString()),Jf.dz(Jf.Oo),b["oracle.adf.view.rich.monitoring.UserActivityInfo"]=Jf.s9(),Kc=!0)}0<Ya.length&&(b.event=Ya.join(","));for(var Gd in P)b["event."+Gd]=ks(P[Gd]);ta=null;if(B){ta={};if(t||y){Gd=y?a.Ud().FO():a.w7;a.w7={};a.NX=0;a.loa=!1;t=[];y=[];for(currClientId in Gd)null==Q&&(Q=da(a.m(currClientId))),a.Ud().Uta(t,y,currClientId);b["oracle.adf.view.rich.START_ACTIVE_DATA"]=t.join(",");b["oracle.adf.view.rich.START_ACTIVE_DATA_EVENT_IDS"]=y.join(",")}0<
z.length&&(a.RX=[],b["oracle.adf.view.rich.STOP_ACTIVE_DATA"]=z.join(","),F||a.Cc(!1,!1,!0,"user click event: ","oracle.adf.view.rich.STOP_ACTIVE_DATA"))}if(null==Q){a:{Q=a.R().forms;Gd=Q.length;for(z=0;z<Gd;z++)if(F=Q[z],(da=F.id)&&a.m(da)){Q=F;break a}Q=null}if(!Q){a.aG=!1;return}}u.assert(Q,"No form found;  cannot postback");n&&(ta||(ta={}),ta=E.Rb(ta,a.eH),delete a.eH,Q&&"true"==ta["Adf-Window-Opened"]&&(Q.action=a.Y().location.href));C.ZH(Q)&&(n=Q.action,Gd=a.pf(),z=a.Gr,n=Mf.jL(n,Gd),Q.action=
Mf.iha(n,z),d&&Q.setAttribute("enctype","application/x-www-form-urlencoded"));ta=ls(a,ta);a.Oy()&&C.l9(Q)&&(g=!1);d=null;null!=K?d=K.getSource().g():g&&Lb&&Lb.length&&(d=Lb.join(","));null!=d&&(b["oracle.adf.view.rich.PROCESS"]=d);g&&h&&(b["oracle.adf.view.rich.PPR_FORCED"]="true");d={};d.x4=Ha;d.Olb=e;d.Sab=l;d.C8a=a.VX?!0:!1;delete a.VX;null!=K?(f=!1,d.Yjb=!0):a.Tx.oZ()&&(f=!0);g?(ms(a,Q,b,ta,f,d,Ya),a.Cc(!1,!1,!0,"deliver PPR request. Event: ",b.event),a.l5=!0):(a.Cc(!1,!1,!0,"deliver full postback request. Event: ",
b.event),a.xj()&&null!=a.ph&&(b["Adf-Ads-Page-Id"]=a.ph),ns(a,Q,b,f,null==K))}a.aG=!1}}function ls(a,b){b||(b={});null!=a.ph&&(b["Adf-Ads-Page-Id"]=a.ph);return b}M.K2=function(a,b){b&&(a._adfServerParams=b)};m("AdfDhtmlPage.__addServerParamsToEvent",M.K2);M.prototype.v8a=function(){return this.T5};m("AdfDhtmlPage.prototype.__getLastDomEvent",M.prototype.v8a);
M.prototype.BRa=function(a){var b=a.getSource(),d=b.g(),e={event:d};e["event."+d]=ks(Array(a.kP()));(a=es(this,!1))&&(e["oracle.adf.view.rich.DELTAS"]=a);b=M.nka(b);a=b.hasAttribute("target")?b.getAttribute("target"):"";b.setAttribute("target",M.t4a);var f,g;if(d=C.ZH(b))g=this.pf(),f=b.getAttribute("action"),b.setAttribute("action",Mf.jL(f,g)),g=b.getAttribute("enctype"),b.setAttribute("enctype","application/x-www-form-urlencoded");ns(this,b,e,!1,!1);b.setAttribute("target",a);d&&(b.setAttribute("action",
f),b.setAttribute("enctype",g))};m("AdfDhtmlPage.prototype.deliverEventToNewWindow",M.prototype.BRa);function ks(a){var b=q.b,d=b.Hu(),e=d.createElement("TEMP");b.S()==q.ia?d.documentElement=e:d.appendChild(e);a=1<a.length?a:a[0];e=gb.getDefault().Ry(e,a,null);return b.Uu(e)}
M.prototype.Si=function(a){var b,d;try{if(1==a.nodeType&&a.id==M.Afa)for(d in this.rY(),this.ur)b=this.ur[d],null!=b&&b.Uz();else{var e=[];os(this,a,0,e,!1);for(var f=e.length-1;0<=f;f--){var g=e[f];if(null!=g){var h=g.length;for(a=0;a<h;a++)d=g[a],b=this.m(d),null!=b&&b.Uz()}}}}catch(l){v.l.fv(l,"remove components in subtree")}};m("AdfDhtmlPage.prototype.removeComponentsInSubtree",M.prototype.Si);
function ps(a){var b=A.c,d=M.lRa,e=[];os(b,a,0,e,!1);for(a=e.length-1;0<=a;a--){var f=e[a];if(null!=f)for(var g=f.length,h=0;h<g;h++){var l=b.m(f[h]);null!=l&&d(l,void 0)}}}M.lRa=function(a){var b=a.o();b&&b.ak(a,!0)};m("AdfDhtmlPage.cancelAllPopupsCallback",M.lRa);function qs(a,b,d,e,f){if(b&&a.m(b)){var g=a.nN[b];if(g)for(var h in g)for(var l=g[h].jpb.firstChild;l;)os(a,l,d+1,e,f),l=l.nextSibling;a=e[d];null==a?(a=Array(b),e[d]=a):a.push(b)}}
function os(a,b,d,e,f){u.Hb(b);var g=b.nodeType;if(8==g)(b=ds(b))&&qs(a,b,d,e,f);else if(1==g&&(!f||C.kb(b))){g=b.firstChild;if(null!=g){var h=d+1;do{switch(g.nodeType){case 1:case 8:os(a,g,h,e,f)}g=g.nextSibling}while(null!=g)}qs(a,b.id,d,e,f)}}M.prototype.m8a=function(){var a=this.R().getElementById(M.$Da);return a&&"dirty"==a.value?(this.Y().location.reload(!0),!0):!1};m("AdfDhtmlPage.prototype.__checkRichResponseDirty",M.prototype.m8a);
M.MOa=function(){var a=document.getElementById("adfFrameBustStyle");a&&a.parentNode.removeChild(a)};M.kgb=function(a){if("_adfShowBody"===a.data){a=a.origin;for(var b=A.c,d=b.Y9a,e=d.length,f=0;f<e;f++)if(d[f].test(a)){M.MOa();M.bu(b.FB);break}}};M.prototype.$8a=function(a){if(self==top)M.MOa();else if(a){window.addEventListener("message",M.kgb);for(var b=a.length,d=[],e=0;e<b;e++)d[e]=new RegExp(a[e],"i");this.Y9a=d}};m("AdfDhtmlPage.prototype.__setUpFrameBusting",M.prototype.$8a);
M.prototype.G8a=function(){var a=this.Y(),b=q.b;try{this.Tj&&(a.L9a=(new Date).getTime());for(var d=M.pfa.start(),e=this.R(),f=M.eCa,g=0;g<f.length;g++)e.addEventListener(f[g],M.tla,!0);var h=this.D(this.COa);b.hi(e,h);this.DOa=h;this.spa=b.pO();b.Gp(e,M.oma);this.v6=this.D(this.Jfb);b.ba(a,"beforeunload",this.v6);this.Tj&&(a.N9a=(new Date).getTime());M.bu(this.FB);this.Tj&&(a.M9a=(new Date).getTime());for(var a={},l=document.getElementsByTagName("link"),e=0,n=l.length;e<n;++e){var t=l[e].getAttribute("href");
t&&(a[t]=!0)}this.Cx=a;if(this.pOa)for(var y=document.getElementsByTagName("IMG"),l=0;l<y.length;l++)(new Image(1,1)).src=y[l].getAttribute("src");Fr(this);var z=this.pkb;if(z){var B=M.Sda.start();z();M.Sda.stop(B)}}finally{if(b=b.getElementById("afr::Splash"))b.style.display="none";this.$R(A.Y0)}this.Jla=!0;this.x7();this.tx=!1;M.pfa.stop(d);rs(this);this.Hx=!1;zd.$().Maa(this);if(this.Tj){var F=this.Y(),b=F.r3,d=(new Date).getTime(),y=F.Ntb-F.Otb,z=F.Jtb-F.Ktb,K=F.Ytb,B=F.Xtb-K,l=F.kub-F.lub,n=
F.Ltb-F.Mtb,t=F.eub-F.fub,a=F.cub-F.dub,e=F.gub-F.hub,P=F.mub,f=P-F.nub,Q=F.Qtb,g=F.Ptb-Q,h=F.iub-F.jub,da=F.J9a-F.K9a,ba=F.Ttb-F.Utb,ta=F.Ztb-F.$tb,Ha=F.Vtb,Eb=Ha-F.Wtb,fb=F.aub-F.bub,Ya=F.Rtb-F.Stb-da,K=K-P,Q=Q-Ha,Ha=F.L9a-b,F=F.M9a-F.N9a;v.Zc.info("initial page load started;",b);v.Zc.info("CSS skin load time;;",l);v.Zc.info("JS Trinidad library load time;;",n);v.Zc.info("JS profiler library load time;;",t);v.Zc.info("JS bootstrap library partition load time;;",z);v.Zc.info("JS prelude script time;;",
a);v.Zc.info("JS profiler script load time;;",e);v.Zc.info("JS core library partition load time;;",y);v.Zc.info("JS translations library load time;;",f);v.Zc.info("HTML layout time;;",K);v.Zc.info("JS library partitions load time;;",B);v.Zc.info("JS load script time;;",ta);v.Zc.info("JS load extended scripts;;",Eb);v.Zc.info("onload handler time;;",Q);v.Zc.info("JS elements added time;;",g);v.Zc.info("JS render skin properties time;;",h);v.Zc.info("JS create components time;;",Ya);v.Zc.info("JS add components time;;",
da);v.Zc.info("JS execute extended scripts time;;",ba);v.Zc.info("JS execute ppr init script time;;",fb);v.Zc.info("pre-load total time;;",Ha);v.Zc.info("resize time;;",F);v.Zc.info("initial page load done;",d,";",d-b);b=(new Date).getTime();this.rG=b-d;this.xG=!1}else this.YW&&(F=this.Y(),b=F.s3,d=(new Date).getTime(),v.Zc.info("initial page load started;",b),v.Zc.info("initial page load done;",d,";",d-b),b=(new Date).getTime(),this.rG=b-d,this.xG=!1);d=this.R();b=d.createElement("div");b.setAttribute("id",
"hiContrastTestEl");d.body.appendChild(b);y=window.getComputedStyle(b);z=y.backgroundImage;B=!1;(B=y.borderTopColor==y.borderRightColor||null!=z&&("none"==z||"url (invalid-url:)"==z))&&this.ta(this,this.Oua,!0,100);d.body.removeChild(b);v.l.ek().flush()};m("AdfDhtmlPage.prototype.__onLoad",M.prototype.G8a);M.prototype.Wpb=function(){return this.cV};m("AdfDhtmlPage.prototype.getFacesPath",M.prototype.Wpb);M.prototype.YZ=function(a){this.cV=a;zd.$().YZ(a)};m("AdfDhtmlPage.prototype.setFacesPath",M.prototype.YZ);
M.prototype.YTa=function(a,b,d,e){a=this.cV+a;null!=b&&(a+=b);b=null;null!=e&&(b={},b[M.Ht]=e);Hr(this,!0);this.Yf().Hs({Yib:d},a,b,"_",[this])};m("AdfDhtmlPage.prototype.loadView",M.prototype.YTa);
M.prototype.Cc=function(a,b,d,e){u.dc(a);u.dc(a,b);u.dc(d);if(this.Tj||d&&this.YW){for(var f=this.Y(),g=this.Tj?f.r3:f.s3,h=4;h<arguments.length;h++)e+=arguments[h];h=(new Date).getTime();void 0===this.rG&&(this.rG=0);var l=h-this.rG;if(a){var n=v.Zc.ek(),t=Lc.prototype.isPrototypeOf(n);t&&b?(n.Lp(),l=(new Date).getTime(),this.rG=0,v.Zc.info(e,";",l),this.xG=!1):t&&!b&&(this.xG?v.Zc.info(e,";",l):v.Zc.info(e,";",l,";",l-g),n.Lp(),this.xG=!0,this.rG+=(new Date).getTime()-h);this.Tj?f.r3=l:f.s3=l}else this.xG?
(v.Zc.info(e,";",l),this.Tj?f.r3=l:f.s3=l):v.Zc.info(e,";",l,";",l-g),this.xG=!1}};m("AdfDhtmlPage.prototype.__perfTimings",M.prototype.Cc);M.prototype.Oua=function(a){var b=this.R();this.Xla=a;1==a?C.w(b.body,"p_AFHighContrast"):C.O(b.body,"p_AFHighContrast")};m("AdfDhtmlPage.prototype.setHighContrast",M.prototype.Oua);M.prototype.Nqb=function(){return this.Xla};m("AdfDhtmlPage.prototype.isHighContrast",M.prototype.Nqb);M.nka=function(a){u.s(a,G);return a.o()?(a=I.py(a))?C.lf(a):null:null};
function ss(a,b,d){u.J(d);var e=q.b.lf(b,d);e||(e=a.R().createElement("input"),e.type="hidden",e.name=d,b.appendChild(e));return e}M.Yub=function(a){u.assert(a,"Invalid form;  cannot remove elements");if(a=a.elements)for(var b=null,d=a.length-1;0<=d;d--)(b=a.item(0))&&b.parentNode.removeChild(b)};function ts(a){for(;null!=a;)if(a.RZ(G.U0))a=a.getParent();else return a}
M.prototype.COa=function(a){var b=this.Dg();if(!b||!b.rl()){var d=q.b;d.S()==q.Yc&&a&&"keypress"==a.type&&27==a.keyCode&&a.preventDefault();this.$R(A.P_);try{a||(a=this.Y().event);var e=this.Pt();e&&e.Kha(a);var f=this.Ux;f&&f.Fha(a);this.T5=a;var g=d.ca(a);if(null!=g&&null!=g.nodeType){var h=this.fs(),l=I.Cf(g),n=a.type,t=d.DZ(n);if("click"==n){e=g;for(delete this.MW;null!=e&&"A"!=e.nodeName;)e=e.parentNode;if(null!=e){var y=e.href;if(null!=y){var z=e.getAttribute("href");z&&0==z.indexOf("#")||(this.MW=
y)}}}else if("focus"==t){if(this.I3&&(this.ic(this.I3),this.I3=null),!this.GT(g,l?l.g():null)){d.Ea(a);return}}else"blur"==t&&(this.I3=this.ta(this,this.lmb,{activeElement:document.activeElement},1,{isSynchronized:!0}));if(null!=l){var B=l.o();if(B){if(t==ha.Pc||t==ha.Nd){if(B.jq()){var F=ts(l);if(F){var K=I.xm(F);K&&(t==ha.Pc?C.w(K,I.Lba):C.O(K,I.Lba))}}}else if("mouseover"==n||"mouseout"==n)if(!d.xv()||d.Dd()&&"Windows"!=q.Ch())v.l.info("The skinning's hover-target pseudo class is not supported on this configuration.");
else if(F=ts(l)){F.o().bind(F);var P=I.xm(F),Q=this.Zha;if("mouseover"==n)P&&P!=Q&&(Q&&(delete this.Zha,C.O(Q,I.IJ)),this.Zha=P,C.w(P,I.IJ));else if("mouseout"==n&&Q){var n=!0,da=d.qy(a);if(da&&null!=da.nodeType)if(Q==da)n=!1;else{var ba=I.Cf(da);if(ba=ts(ba)){var ta=ba.o();ta.bind(ba);ta.i()==Q&&(n=!1)}}else n=!1;n&&(C.O(Q,I.IJ),delete this.Zha)}}Gc(B,l,a);var Ha=B.w8(l,a,h);if(Ha){u.assert(Ha.getSource()===l,"event generation can't change event source");switch(Ha.getType()){case ha.Pc:v.l.fine("Focus: ",
l);delete this.Y6;this.GT(g,l.g());us(this,Ha);break;case ha.Nd:us(this,Ha)}b&&D.prototype.isPrototypeOf(Ha)&&b.sha(Ha);l.Hg(Ha);var Eb=this.spa.Iu(Ha);Eb&&l.Hg(Eb);is(this);var fb=this.Tx.lZ();0<=fb?hs(this,fb):void 0!==this.bM&&(this.ic(this.bM),this.H4=this.bM=void 0)}this.wF&&this.Yf().vm()==Te.an&&this.zA()}else v.l.severe("Peer null during event redistribution for component id: "+l.g())}}}finally{this.$R(A.Y0),v.l.ek().flush()}}};
function us(a,b){var d=a.HL;if(null!=d){var e=b.getType(),d=d[e];null!=d&&Ma.uO(d,b)}}M.prototype.lmb=function(a){this.I3=null;a=a.activeElement;var b=null;a==document.activeElement?(q.b.dP(a)&&(b=I.Cf(a)),a=b?b.g():null,this.om()!=a&&Va(this,a)):v.l.fine("activeElement not equal document.activeElement in AdfDhtmlPage.prototype._setActiveTimeout")};
M.prototype.xRa=function(a,b,d){u.u(a);u.Da(b);u.J(d);var e=a.ownerDocument,f=e.createElement("DIV"),g=f.style;g.zIndex=b;g.position="absolute";g.visibility="hidden";b=e.createElement("SPAN");b.style.display="block";b.className=d;f.appendChild(b);a.appendChild(f);return f};m("AdfDhtmlPage.prototype.createFloatingDiv",M.prototype.xRa);M.prototype.uVa=function(a,b){vs(a);a.firstChild.appendChild(b);a.style.visibility="visible"};m("AdfDhtmlPage.prototype.showFloatingDiv",M.prototype.uVa);
M.prototype.sTa=function(a){u.u(a);var b=a.style;b.visibility="hidden";b.top="-100px";b.left="-100px";vs(a)};m("AdfDhtmlPage.prototype.hideFloatingDiv",M.prototype.sTa);function vs(a){u.u(a);a=a.firstChild;for(var b=a.firstChild,d;b;)d=b.nextSibling,a.removeChild(b),b=d}M.prototype.SC=function(a){this.Gg().SC(a)};m("AdfDhtmlPage.prototype.prepareMaskingFrame",M.prototype.SC);M.prototype.vH=function(a){var b=this.Gg().vH(a);this.y$(a,b);return b};m("AdfDhtmlPage.prototype.createMaskingFrame",M.prototype.vH);
M.prototype.y$=function(a,b){var d=b.style,e=q.b.jc(a);d.top=e.y+"px";d.left=e.x+"px";d.width=a.offsetWidth+"px";d.height=a.offsetHeight+"px";d.visibility="visible"};m("AdfDhtmlPage.prototype.moveMaskingFrame",M.prototype.y$);M.prototype.UC=function(a){this.Gg().UC(a)};m("AdfDhtmlPage.prototype.removeMaskingFrame",M.prototype.UC);M.prototype.Upb=function(){return this.Hc};m("AdfDhtmlPage.prototype.getDocument",M.prototype.Upb);M.prototype.R=function(){return this.Hc};
m("AdfDhtmlPage.prototype.getDomDocument",M.prototype.R);M.prototype.Y=function(){return this.wf};m("AdfDhtmlPage.prototype.getDomWindow",M.prototype.Y);M.prototype.iva=function(a,b){v.l.finest("Show glasspane");u.assert(a);u.J(b);var d=this.pC();fs(this,!0);d.style.visibility="visible";var e=q.b;e.yI(a);e.setCursor(d,e.getCursor(b));d=e.S()==q.ia?this.Hc.documentElement:d;this.QM=e.wI(a,d)};m("AdfDhtmlPage.prototype.showGlassPane",M.prototype.iva);
M.prototype.U9=function(a){u.assert(a);v.l.finest("Hide glasspane");var b=q.b,d=this.pC();b.setCursor(d,"auto");b.BI(a);var e=b.S()==q.ia?this.Hc.documentElement:d;b.yH(a,e,this.QM);this.QM=null;a=d.style;a.cursor="auto";a.visibility="hidden";a.height="1px";a.width="1px";b.AH(this.R())};m("AdfDhtmlPage.prototype.hideGlassPane",M.prototype.U9);M.prototype.Dg=function(){var a=this.YIa;void 0===a&&(this.YIa=a=this.Y().AdfDhtmlDnDContext?new oo:null);return a};
m("AdfDhtmlPage.prototype.getDnDContext",M.prototype.Dg);M.prototype.YFa=function(){delete this.YIa};m("AdfDhtmlPage.prototype.__clearDnDContext",M.prototype.YFa);M.prototype.pC=function(){var a=this.Fka;a||(this.Fka=a=this.hja(this.R()));return a};m("AdfDhtmlPage.prototype.getGlassPane",M.prototype.pC);
M.prototype.hja=function(a){var b=a.createElement("div");b.className="AFBlockingGlassPane";var d=b.style;d.position="absolute";d.left="0px";d.top="0px";ej&&(d.zIndex=ej.csa()+1);d.visibility="hidden";d.tabIndex=-1;d=q.b;d.S()==q.Kca&&(b.onmousedown=function(){return!1});d.be(b);a.body.appendChild(b);d.fe(b,0);return b};
function fs(a,b){var d=a.Fka;if(d&&(d=d.style,b||"visible"==d.visibility)){var e=a.R().body,f=Math.max(e.offsetWidth,e.scrollWidth);d.height=Math.max(e.offsetHeight,e.scrollHeight)+"px";d.width=f+"px"}}M.prototype.fOa=function(a){this.R();var b=this.pC(),d=q.b;if(b){var e=b.style;if(a||"visible"==e.visibility){var f=d.Y();a=d.vo(f);d=d.pl(f);e.height=a+"px";e.width=d+"px";(e=this.R7)&&this.y$(b,e)}}};
function Hr(a,b,d){d||(d=M.xFa);var e=q.b,f=a.R();if(b){if(0==a.YN.length){var g=q.b,h=g.S()==q.ia,l=a.pC();l.onkeydown=q.Td;l.onkeyup=q.Td;l.onkeypress=q.Td;l.onmousedown=q.Td;l.onmouseup=q.Td;l.onmouseover=q.Td;l.onmouseout=q.Td;l.onclick=q.Td;g.vO(l,!0);var n=a.R7=a.vH(l);C.w(n,"AFBlockingMaskingFrame");var t=n.document;null!=t&&g.vO(t,!0);h?J.va(l):g.e$(f,!0);if(h=a.wd)a.BGa=h.id;h=g.Y();g.ba(h,"resize",a.gOa);g.fe(l,M.Uza);g.fe(n,M.Uza);g=l.style;a.fOa(!0);g.visibility="visible";e.hz(f,b);Ur(a,
!0)}a.YN.push(d)}else d=E.lastIndexOf(a.YN,d),u.assert(-1<d),a.YN.splice(d,1),0==a.YN.length&&(e.hz(f,b),Ur(a,!1),b=q.b,b.S(),b.vO(f,!1),e=a.R7,delete a.R7,d=e.document,null!=d&&b.vO(d,!1),C.O(e,"AFBlockingMaskingFrame"),a.UC(e),e=a.pC(),e.onkeydown=null,e.onkeyup=null,e.onkeypress=null,d=e.style,d.cursor="auto",d.visibility="hidden",d.height="0px",d.width="0px",g=a.BGa,delete a.BGa,g&&((d=a.R().activeElement)||(d=a.wd),((g=b.R().getElementById(g))&&e==d||g&&!d)&&J.va(g)),(b.S()!=q.ia||b.S()==q.ia&&
10<b.Ib())&&b.e$(f,!1),f=b.Y(),b.xa(f,"resize",a.gOa))}M.prototype.Eaa=function(a){null==this.kN&&(this.kN=ws.$());this.kN.display(a,this.R());a?(q.b.fe(this.Q7,50),this.Q7.style.backgroundColor=this.kN.xia):(q.b.fe(this.Q7,0),this.Q7.style.backgroundColor="")};m("AdfDhtmlPage.prototype.showPageProcessingIndicator",M.prototype.Eaa);M.prototype.Rqb=function(){return null!=this.kN&&this.kN.XL};m("AdfDhtmlPage.prototype.isProcessingIndicatorDisplayed",M.prototype.Rqb);
M.prototype.pq=function(a){if(a.se()==Cf.Po){var b=a.getContext();if(b){var d=b.jRa,e=this.L3,f;for(f in d){var g=e[f]-d[f];u.assert(0<=g);0==g?(delete e[f],(g=this.m(f))&&g.o().WC(g,!1)):e[f]=g}}d=a.ms();xs(this,"complete",{context:b,event:a});if(200==d){var h;a.getResponseHeader&&(h=a.getResponseHeader("Adf-Window-Id"));h&&(A.c.Y().name=h);a.LC()?(this.Cc(!1,!1,!0,"PPR response from server received"),d=a.qo(),d=ys(this,d,b),this.qX?xs(this,"error",{context:b,event:a}):xs(this,"success",{context:b,
event:a}),d&&b&&b.Yjb&&(this.Hx=!1),h&&!d&&A.c.x7(),this.Gm()&&!d&&(prevActInfo=Jf.$(Jf.$m),prevActInfo.fz((new Date).getTime().toString()),Jf.dz(Jf.$m),Jf.Xy(Jf.Oo)),a=null,b&&(a=b.XFa),a&&M.c2.stop(a),this.Cc(!1,!1,!0,"PPR response processing done"),this.l5=!1,b=M.xFa,a=this.YN,(b?-1<E.indexOf(a,b):0<a.length)&&Hr(this,!1)):zs(this,a.po(),b,a)}else zs(this,null,b,a)}};m("AdfDhtmlPage.prototype.requestStatusChanged",M.prototype.pq);
M.oma=function(a){var b=A.c,d=q.b,e=d.na(a),f=a.shiftKey*w.Bk|a.ctrlKey*w.pi|a.altKey*w.Bo;a.metaKey&&(f|=w.Oq);var e=w.Yg(e,f),g=e.Qs(),f=b.oB[g];if(null!=f){var h=g in M.s1a;if(h){var l=d.ca(a),n=d.Na(l).toLowerCase();"textarea"!=n&&("input"==n?(h=l.type.toLowerCase(),h="text"==h||"password"==h):h=!1)}if(!h){g=b.qma[g];if(f.dUa){var h=f.kO,l=f.l8,f=null,n=!1,t=0;for(clientId in h)t++;if(1<t){var y=b.R(),z=y.activeElement;z||(z=b.wd);z||(v.l.finest("No known activeElement available for _handleKey."),
z=y.documentElement);y=Number.POSITIVE_INFINITY;for(clientId in h){var B=b.m(clientId);if(B)if(B=I.Fb(B))if(B=C.y9(B,z),0==B){n=!0;f=h[clientId];g=l[clientId];break}else B<y&&(y=B,n=!0,f=h[clientId],g=l[clientId]);else v.l.warning("Unable to locate domElement for clientId \x3d "+clientId+" in _handleKey.");else v.l.warning("Unable to locate component for clientId \x3d "+clientId+" in _handleKey.")}n||v.l.warning("Unable to locate a match for clientId \x3d "+clientId+" in _handleKey.")}if(!n&&1==t)for(clientId in h)f=
h[clientId],g=l[clientId]}!1!==f.call(g,e)&&d.Ea(a)}}};
M.prototype.TC=function(a,b,d){u.s(a,w);u.Ja(b);var e=null;d&&d.km&&(e=d.km);var f=a.Qs();if(f in this.oB){var g=!0;e&&(f=this.oB[f],f.dUa&&(g=!1,f.kO[e]=b,f.l8[e]=d,v.l.finest("RP.registerKSAdditional, keystroke:callback:clientId ",a," : ",b," : ",e)));g&&v.l.warning("Conflicting shortcut mapping: The keystroke ",a," has already been registered on the RichPage.")}else e?(g={dUa:!0,kO:{},l8:{}},g.kO[e]=b,g.l8[e]=d,v.l.finest("RP.registerKS, keystroke:callback:clientId ",a," : ",b," : ",e),this.oB[f]=
g):(v.l.finest("RP.registerKS, keystroke:callback ",a," : ",b),this.oB[f]=b,this.qma[f]=d)};m("AdfDhtmlPage.prototype.registerKeyStroke",M.prototype.TC);M.prototype.oz=function(a,b){u.s(a,w);var d=a.Qs();if(b){var e=this.oB[d];e.kO&&1>=e.kO.length?delete this.oB[d]:(delete e.kO[b],delete e.l8[b])}else delete this.oB[d],delete this.qma[d]};m("AdfDhtmlPage.prototype.unregisterKeyStroke",M.prototype.oz);M.prototype.qrb=function(){this.zNa=!0};m("AdfDhtmlPage.prototype.pageIdNotSavedWithURI",M.prototype.qrb);
M.prototype.Vrb=function(a){for(var b=this.R(),d=b.forms.length,e=0;e<d;e++){var f=b.forms[e];u.u(f);if(As(f)){var g=f.elements[M.Ht],h=null==a?"":a;h!=(null==g?"":g.value)&&(null==g&&(g=b.createElement("input"),g.id=g.name=M.Ht,g.type="hidden",g.autocomplete="off",f.appendChild(g)),g.value=h)}}this.Gr=a;this.Oy()||this.zNa||this.jOa||zd.$().Ns(a)};m("AdfDhtmlPage.prototype.setPageStateId",M.prototype.Vrb);M.prototype.jqb=function(){return this.Gr};m("AdfDhtmlPage.prototype.getPageStateId",M.prototype.jqb);
function ns(a,b,d,e,f){(a.YQa=f)||(d["oracle.adf.view.rich.RESPONSE_EXPECTED"]="no");var g=a.m6;g&&(d["oracle.adf.view.rich.NEW_SESSION_URL"]=g);a.ge.cF();b.target&&0!=b.target.length&&"_self"!=b.target||(a.tx=!0,e&&Hr(a,!0),f?Mr(a):a.ta(a,a.Klb,null,3E3));e={};a.c4(e,b);E.Rb(e,d);for(var h in e)f=e[h],ss(a,b,h).value=f;q.b.Zr(b);try{b.submit()}catch(l){null!=C.l9(b)&&db.g8(),v.l.rg(l,"doFullPostback form.submit()")}b.action=b.action;for(h in d)d=ss(a,b,h),u.u(d),d.parentNode.removeChild(d)}
function ms(a,b,d,e,f,g,h){u.u(b,"FORM");u.Uc(d);xs(a,"begin",{context:g});f&&Hr(a,!0);f=M.c2.start();var l=E.Rb({},a.L3);g||(g={});g.Frb=!0;g.jRa=l;g.XFa=f;g.GUa=d;g.QRa=b.id;f=a.Yf();var l=null,n=b;C.ZH(b)&&(l=C.l9(b))&&(n=l);var t={};a.c4(t,null!=l?l:b);E.Rb(t,d);d=Bs(a,n);null!=l?f.Gs(g,d,e,l,t,[a],null):(h=Ir(a,b,t,h),q.b.Zr(b),f.Hs(g,d,e,h,[a]))}
function Es(a){var b=a.R(),d=null,e=b.forms[0];e&&(d=Bs(a,e));d&&-1==d.indexOf("j_security_check")||(d=b.location.href,a=d.indexOf("#"),0<a&&(d=d.substring(0,a)));return d}function Bs(a,b){var d=q.b.getAttribute(b,M.t1),d=null!=d?d:b.action;d&&""!=d||(d=a.R(),d=d[M.t1]?d[M.t1]:d.location.href);if(!a.Oy()&&a.f_()){var e=d,f=a.xC();null!=f&&(e+=0>d.indexOf("?")?"?":"\x26",e+=M.y1,e=e+"\x3d"+encodeURIComponent(f));d=e}return d}
function Ir(a,b,d,e){u.Bu(b,"FORM");u.ji(d);var f={};u.og(e);var g=[];if(null!=e)for(var h=0;h<e.length;h++){var l=e[h],n=g,t=a.m(l);t instanceof AdfUIEditableValue&&n.push(t);n=Fs(l);n!=l&&(l=g,n=a.m(n),n instanceof AdfUIEditableValue&&l.push(n))}if(null!=b&&(b=b.elements))for(e=0;e<b.length;e++){n=b[e];if(l=(h=n.name)&&!n.disabled)var l=a,t=n,y=g,z=Gs(t),l=l.VIa?null==z||null!=z.K("_afrFullPost")||!(z instanceof AdfUIEditableValue)||!z.h$()||!z.getValid()||l.ge.IC(z)||l.ge.zha(l,z,t)||-1<E.indexOf(y,
z):!(Hs(t)&&!M.Ikb(z));if(l){l=Gs(n);if(n.options)for(f[n.name]=[],t=0;t<n.options.length;t++)y=n.options[t],y.selected&&(z=y.attributes.value,f[h].push(null!=z&&null!=z.value?z.value:y.text));else y=n.value,Hs(n)&&(u.assert(!0),y=""),n=h,t=f[h],null==t||""==t&&null!=y?t=y:null!=y&&""!=y&&(z=null,E.isArray(t)?z=t:(z=[],z.push(t)),z.push(y),t=z),f[n]=t;!a.w4&&null!=l&&(n=l.o())&&(n.bind(l),n.maa&&(t=f[h],E.isArray(f[h])&&(t=l.getSubmittedValue()),n.maa(l,t)))}}E.Rb(f,d);a="";for(var B in f)if(d=f[B],
E.isArray(d))for(g=0;g<d.length;g++)a=M.w3(a,B,d[g]);else void 0!=d&&(a=M.w3(a,B,d));return a}M.prototype.c4=function(a,b){var d={};if(null!=b){var e=b.elements;if(e)for(var f=0;f<e.length;f++){var g=e[f],h=g.getAttribute(M.Tya);h&&(d[g.name]=h)}}E.zc(d)||(a["oracle.adf.view.rich.TOKENIZED"]=JSON.stringify(d))};function Is(a,b){var d=a.R().getElementById(M.$Da);d&&(d.value=b?"dirty":"")}M.prototype.vTa=function(){null==this.bG&&(this.bG=0);++this.bG};
m("AdfDhtmlPage.prototype.incrementPendingAnimation",M.prototype.vTa);M.prototype.C8=function(){null==this.bG?u.assert(!1,"Unable to decrement the pending animation count when it was never incremented in the first place"):(--this.bG,u.assert(0<=this.bG,"More pending animation decrements than increments"))};m("AdfDhtmlPage.prototype.decrementPendingAnimation",M.prototype.C8);
M.prototype.qOa=function(){for(var a=this.Hc.getElementsByTagName("img"),b=a.length,d=0,e=0;e<b;e++){var f=a[e];if(f&&!f.complete){var g=q.b.getComputedStyle(f),h=g.width,g=g.height;if("0px"==h||"auto"==h||"0px"==g||"auto"==g)v.l.finer("An incompletly-loaded image was detected with src \x3d ",f.src,f),d++,C.w(f,M.M1)}v.l.getLevel()==v.FINEST&&null!=f&&v.l.finest("Image load details:",f,f.getAttribute("src"),", w\x3d",f.width,", h\x3d",f.height,", sW\x3d",f.style.width,", sH\x3d",f.style.height,", cmpW\x3d",
h,", cmpH\x3d",g,f.complete?", COMPLETE":", INCOMPLETE",", className\x3d",f.className)}0<d&&(v.l.fine("Number of incomplete images: ",d),null!=this.u5&&this.ic(this.u5),this.xla=1,this.u5=this.ta(this,this.pHa,null,500));this.t5=d};
M.prototype.pHa=function(){this.u5=null;var a=[],b=this.Hc;if(q.b.S()!=q.ia&&b.getElementsByClassName)a=E.ho(b.getElementsByClassName(M.M1));else for(var b=b.getElementsByTagName("img"),d=b.length,e=0;e<d;e++){var f=b[e];C.sa(f,M.M1)&&a.push(f)}for(d=b=0;d<a.length;d++)if((e=a[d])&&e.complete){C.O(e,M.M1);f=I.Cf(e);if(null!=f){this.EA(f);var g=f.o();g&&g.bd&&g.bd(f)}v.l.finer("A previously incompletly-loaded image is now complete with src \x3d ",e.src,", nearestClientComponent \x3d ",f,", imgElement \x3d ",
e)}else b++;v.l.fine("Number of remaining incomplete images (at attempt #",this.xla,"): ",b);0<b&&10>this.xla?(this.xla++,this.u5=this.ta(this,this.pHa,null,500),this.t5=b):(0<b&&v.l.fine("Gave up trying to wait for images to load."),this.zA(),this.t5=0)};
function ys(a,b,d){a.wla=!0;try{var e=b.documentElement;u.assert("partial-response"==q.b.Na(e));var f=C.pa(e);u.assert(null!=f&&1==f.nodeType);var g=Js(a,f,!1,!1,d);a.XW={};if(g){var h=q.b,l=C.ib(b.documentElement,"changes");if(null!=l){var n=C.ib(l,"extension");if(null!=n&&"adf-redirect-ext"==n.getAttribute("id")){var t=n.childNodes;for(b=0;b<t.length;b++){var y=t[b],z=h.Na(y);if("contextId"==z){if(a.Gm()){var B=h.mc(y);B&&(Jf.$(Jf.$m).TZ(B),Jf.T$())}}else if("redirectCookie"==z){var F=h.mc(y);if(F){var K=
new Date;K.setTime(K.getTime()+3E4);var F=F.replace(/\$exp\$/g,K.toUTCString()),P=F.split("$$");for(c=0;c<P.length;c++)a.R().cookie=P[c]}}}}}}else if(a.zA(),a.cra(),d&&d.Olb){var Q=a.H().Z("AFResponseCompleteStatus");a.Zj(Q)}}finally{a.wla=!1}return g}M.prototype.ama=function(a){a=this.m(a);return null!=a&&a instanceof AdfUIEditableValue&&a.getImmediate()};
function Ks(a,b,d,e,f){var g=q.b,h;for(h in e){var l=g.getElementById(h),n=A.c.m(h);if(!l||!n||ma.lm(e[h],n.getSubmittedValue()))delete e[h];else if(!ma.lm(f[h],n.getSubmittedValue())&&(!d||a.ama(h)))if(b)for(var n=b.length,t=0;t<n;t++){var y=b[t];if(""!=y){a:{var z=y,y=l,B=!1,F=a.nN[z];if(F){var K=void 0;for(K in F)if(B=V.Nb(F[K].jpb,y)){y=!0;break a}}else B=q.b.getElementById(z),B=C.Nb(B,y);B||0!=y.id.indexOf(z)||(F=A.c,z=F.m(z),y=F.m(y.id),z&&y&&(B=y.Dm(z)));y=B}y&&delete e[h]}}else delete e[h]}}
function Js(a,b,d,e,f){var g,h,l=C.ib(b,"extension");if(l&&"adf-processed-roots-ext"===l.getAttribute("id")){h={nUa:null,AUa:null,Zsa:!1};if(void 0===l.hasAttribute||l.hasAttribute&&l.hasAttribute("processed")){var n=l.getAttribute("processed");n&&(h.nUa=n.split(" "))}if(void 0===l.hasAttribute||l.hasAttribute&&l.hasAttribute("resetRoot")){var t=l.getAttribute("resetRoot");t&&(h.AUa=t)}var y=l.getAttribute("immediateOnly");h.Zsa="true"===y}g=h;a.wQa=!0;var z=a.qX=!1;try{var B;a.RP()&&a.xj()&&(B={},
E.Rb(B,a.Ud().FO()));var F=q.b,K=F.Na(b);if("changes"==K){var P=null,Q=[],da=[],ba=a.wd,ta=[];if(null!=ba)for(var Ha=ba;Ha;){var Eb=Ha.id;Eb&&(ta[Eb]=ta.push(Ha)-1);Ha=Ha.parentNode}var fb=b.childNodes,Ya=fb.length,Lb,Kc;null!=f&&(Kc=f.Sab);Kc&&Kc[Vb.Rca]&&(a.oF=[]);for(var hc={},Rc={},Ad={},Qc={},oc=0;oc<Ya;oc++){var Yb=fb[oc],ye=F.Na(Yb);if("update"==ye){var Gd;var Bc=a,je=Yb,Ud=Q,gf=da,hd=d,Le=ta,hf=e,wg=hc,zh=Ad,mj=Qc,Nh=Rc;if(je.getAttribute("id")==M.Qw){var ki=je,pf=Bc.R(),sg=q.b,Sf=pf.forms.length;
u.assert(0<Sf);for(var sc=0;sc<Sf;sc++){var Cd=pf.forms[sc];u.u(Cd);if(1==Sf||As(Cd)){var Yd=sg.mc(ki),Dd=Cd.elements[M.Qw];if(Dd)Dd.value=Yd;else{var hg=pf.createElement("span");hg.innerHTML="\x3cinput type\x3d'hidden' name\x3d'"+M.Qw+"' value\x3d'"+Yd+"' /\x3e";Cd.appendChild(hg)}}}Gd=null}else{var Rd,gk=Bc,yi=hd,li=je.childNodes,Gg=void 0,Vi=li.length;u.assert(1<=Vi,"invalid fragment child count");if(1<Vi){for(var Kj=Array(Vi),mc=0;mc<Vi;mc++){var mi=li[mc];u.assert(4==mi.nodeType,"invalid fragment content");
u.assert(mi.data||mc==Vi-1,"null fragment content");Kj.push(mi.data)}Gg=Kj.join("")}else mi=li[0],u.assert(4==mi.nodeType,"invalid fragment content"),u.assert(mi.data,"null fragment content"),Gg=mi.data;yi&&(Gg=Gg.replace(/__AFR_XML_ELEM/g,"xml"));var Gg="\x3cdiv\x3e"+Gg+"\x3c/div\x3e",Lj=gk.R(),Ie=null,tg=q.b,Ie=tg.getElementById(M.Rfa);Ie||(Ie=Lj.createElement("div"),Ie.style.display="none",Ie.id=M.Rfa,Lj.body.appendChild(Ie),tg.Ia(Ie));tg.S()==q.ia?(Ie.innerHTML="\x3cdiv\x3eie\x3c/div\x3e"+Gg,
Ie.removeChild(Ie.firstChild)):Ie.innerHTML=Gg;var Gk=Ie.firstChild;Ie.removeChild(Gk);Rd=M.oKa(Gk);if(null==Rd)v.l.warning('Unable to locate content in partial page response fragment.  If you are adding a partial target programmatically, try setting clientComponent\x3d"true" on the partial target component.'),Gd=null;else{var zi={restoreFocusIndex:null,pprNavParams:null,pendingEditableSubtree:null},ig=Rd.getAttribute("id");u.assert(null!=ig,"null id in response fragment");null!=Bc.oF&&Bc.oF.push(ig);
var sh=q.b,th=sh.getElementById(ig);if(null==th)v.l.severe("unable to locate target node: "+ig);else{if("true"==Rd.getAttribute(M.S_a)){var we=Bc.R().body,al=Rd.getAttribute("theme");we.setAttribute("theme",al?al:"");Rd.removeAttribute("theme");var nj=Rd.className;nj!=we.className&&(we.className=nj?nj:"",Bc.Oua(Bc.Xla));Rd.className="";var Hg=Rd.style.cssText;we.style.cssText=Hg?Hg:"";Rd.style.cssText=""}var Ig,Jg=null,Kg=Bc.R().forms[0].action,jg=Kg.indexOf("?");0<=jg&&(Jg=Kg.substring(jg));Ig=Jg;
var oe=Le[ig],Me=I.Cf(th.parentNode),zf=Me?Me.o():null,Hk=Rd.id==M.Afa;if(Hk){var wd=Bc;Re.$().mO();wd.una={};Is(wd,!1);wd.yN={};wd.FB={};wd.FU=[];wd.Tx=new Er;wd.VW=null;wd.C3={};wd.xj()&&(wd.Xt=1,wd.Ud().reset());wd.wr=null;wd.wu=null;wd.ge.cF()}for(var bl=wg,Ql=zh,ah=mj,hk=Bc.ge.Era(th),Mj=hk.length,Oh=0;Oh<Mj;Oh++){var Af=hk[Oh],Nj=bl,cl=Ql,bh=ah;if(Af instanceof AdfUIEditableValue){var ni=Af.g(),ch=Af.getSubmittedValue();if(null!=ch){Nj[ni]=ch;var pj=Af.o();pj.bind(Af);if(pj&&pj.uy){var Rl=pj.uy(Af);
cl[ni]=Rl}if(A.c.fs()==Af){var ik;b:{var Ph=O.da(Af,null),Je={};try{if("textarea"==Ph.tagName.toLowerCase()||"input"==Ph.tagName.toLowerCase()&&"text"==Ph.type.toLowerCase())Je.Awb=Ph.selectionStart?Ph.selectionStart:0,Je.Wta=Ph.selectionEnd?Ph.selectionEnd:0;else{ik=null;break b}}catch(CD){}ik=Je}bh[ni]=ik}}}}var Sl=th,Do=Nh,jk=Bc.m(Sl.id);if(jk&&"oracle.adf.RichTable"==jk.getComponentType()){var Tl=jk.K("scrollLeft"),Ul=jk.K("scrollTop"),Vl=jk.K("currentlySelectedHeaderId"),Wi={};Wi.scrollLeft=
Tl;Wi.scrollTop=Ul;Wi.selectedHeader=Vl;Do[Sl.id]=Wi}null!=zf?(zf.oua(Me,Rd,th),gf.push(Me.g())):Bc.Jha(Rd,th);null==oe||Hk||(zi.restoreFocusIndex=oe);var dl=null;Me?(dl=zf.Gqa(Me,Rd),Bc.EA(Me)):dl=Rd;dl&&Ud.push(dl);if(Hk){var Wl=sh.getAttribute(Rd,M.m3a),Eo=sh.getAttribute(Rd,M.l3a);zi.pprNavParams={viewId:Wl,queryParams:null!=Eo?Eo:Ig}}else hf||Is(Bc,!0);var Fo=Bc.ZL;if(Fo)for(var el=Yr(Bc,Fo,!0),Oj=0;Oj<el.length;Oj++)if(V.Nb(el[Oj],Rd)){zi.pendingEditableSubtree=Rd;break}}Gd=zi}}if(null!=Gd){var Xi=
F.Y().Zi&&F instanceof Ge&&F.Ni()!=q.yl;null==Gd.restoreFocusIndex||Xi||(a.Y6=Gd.restoreFocusIndex);null!=Gd.pprNavParams&&(P=Gd.pprNavParams,a.jOa=!0);Gd.pendingEditableSubtree&&(Lb||(Lb=[]),Lb.push(Gd.pendingEditableSubtree))}}else if("eval"==ye){var Go=a,kk=Yb,Ho=kk.getAttribute("src");if(Ho){var vr=Ho;Or(Go).ey(vr,Pr.UJ)}else{var $m=q.b.mc(kk);$m&&Or(Go).aqa($m)}}else if("extension"==ye&&"adf-script-library"==Yb.getAttribute("id")){var Io=a,wr="true"===Yb.getAttribute("background"),Xl=q.b.mc(Yb);
if(wr){var an=Xl;Or(Io).ey(an,Pr.ZD)}else{var SC=Xl;Or(Io).ey(SC,Pr.UJ)}}}if(g){var mp=g.nUa,np=g.AUa;a.w4||(np&&Ks(a,[np],!1,hc,Ad),mp&&!E.zc(hc)&&Ks(a,mp,g.Zsa,hc,Ad));if(np){var TC=[np];a.qX||a.ge.P2(TC,!1)}var UC=mp?mp:[];a.qX||a.ge.P2(UC,!0===g.Zsa)}var VC=P,WC=Lb,XC=B,tj={};tj.resizeDomNodes=Q;tj.domReplacedIds=da;tj.pprNavParams=VC;tj.reqContext=f;tj.savedFocusPath=ta;tj.pendingEditableSubtrees=WC;tj.oldActiveComponents=XC;tj.replacedDirtyValues=hc;tj.selectionRanges=Qc;tj.replacedTableState=
Rc;Or(a).Z7(a,a.Rlb,tj)}else if("redirect"==K){var Cs=b.getAttribute("url");u.assert(Cs,"Could not get redirect URL");z=!0;Mr(a);a.Cc(!0,!0,!0,"redirect to ",Cs);var YC=a.m(a.gj);a.Hx=!0;(new ph(YC,Cs,f?f._noNavigation:!1)).F(!1)}else if("error"==K){a.qX=!0;for(var vn=null,Ds=0;Ds<b.childNodes.length;Ds++){var gy=b.childNodes[Ds];if("error-message"==F.Na(gy)){vn=F.mc(gy);break}}if(null==vn||0==vn.length)vn="Unknown error during PPR";alert(vn);"true"==b.getAttribute("redirect")&&(Mr(a),document.location.href=
Es(a))}else if("noop"!=K)if("retry"==K){var hy=f.QRa,op;hy&&(op=Agent.b.getElementById(hy));op||(op=a.R().forms[0]);ns(a,op,f.GUa,!1,!0)}else u.assert(!1,"invalid root node in rich response")}finally{a.wQa=!1}return z}M.prototype.Vpb=function(){return this.gj};m("AdfDhtmlPage.prototype.getDocumentClientId",M.prototype.Vpb);
M.prototype.Rlb=function(a){var b=a.resizeDomNodes,d=a.domReplacedIds,e=a.pprNavParams,f=a.reqContext,g=a.savedFocusPath,h=a.pendingEditableSubtrees,l=a.replacedDirtyValues,n=a.selectionRanges;a=a.replacedTableState;if(!this.w4){for(var t in l){var y=this.m(t);if(y){this.Oe(y.g());var z=l[t],B=y.o();if(B instanceof O)try{O.H8a(y,B,z)}catch(Q){v.l.fine("component does not support SetDisplayValue")}}}for(var F in a)(l=this.m(F))&&"oracle.adf.RichTable"==l.getComponentType()&&(t=a[F],l.setProperty("scrollLeft",
t.scrollLeft,!0,G.ud),l.setProperty("scrollTop",t.scrollTop,!0,G.ud))}for(var K in a)(l=this.m(K))&&"oracle.adf.RichTable"==l.getComponentType()&&(F=q.b.getElementById(a[K].selectedHeader),(l=l.o())&&F&&Ls(l,F));K=q.b;K.S()==q.ia&&8>=Math.floor(K.Ib())?this.ta(this,this.qOa,null,10):this.qOa();0<b.length&&(this.bu(b),(b=this.NHa)?this.Ds(b,500):this.NHa=this.ta(this,this.Kab,null,500));0<d.length&&(b=(b=this.HL)?b[Kb.ua]:null,null!=b&&Ma.uO(b,new Kb(this,d)));if(null!=e){this.jOa=!1;if(d=zd.$())d.aaa(e.viewId,
e.queryParams,f?f.Yib:null),this.zNa||d.Ns(this.Gr);rs(this)}if(void 0!=this.Y6){e=this.Y6;u.Mb(g);u.co(e);f=g.length;e>=f&&(e=f-1);f=q.b;d={};for(b=0;b<=e;b++)if(K=f.getElementById(g[b].id),null!=K&&(a=C.VO(K,!1,J.iY,d),a||(a=C.isa(K,K.parentNode,!0,J.iY,d))||(a=C.tsa(K,K.parentNode,J.iY,d)),a)){J.va(a);break}delete this.Y6}if(!this.w4)for(var P in n)if(e=this.m(P))g=n[P],e=O.da(e,null),g&&0!=g.Wta&&e.setSelectionRange&&e.setSelectionRange(g.Wta,g.Wta);if(h)for(;0<h.length;){Xr(this,h[0],this.WU,
this.XU);break}Fr(this)};M.prototype.addEventListener=function(a,b,d){this.HL=Ma.addEventListener(this.HL,a,b,d)};m("AdfDhtmlPage.prototype.addEventListener",M.prototype.addEventListener);M.prototype.removeEventListener=function(a,b,d){this.HL=Ma.removeEventListener(this.HL,a,b,d)};m("AdfDhtmlPage.prototype.removeEventListener",M.prototype.removeEventListener);M.prototype.TUa=function(a){this.gj=a};m("AdfDhtmlPage.prototype.setDocumentClientId",M.prototype.TUa);
M.prototype.FRa=function(a,b){v.l.info("Redirecting to : ",a);var d=this.Y();if(void 0!=d.Pob)d.Pob(a);else{var d=d.location,e=d.href,f=null,g=e.indexOf("#");0<=g&&(f=e.substring(g),e=e.substring(0,g));var h=a,l=null,g=h.indexOf("#");0<=g&&(l=h.substring(g),h=h.substring(0,g));h==e&&null!=l?(f!=l&&(b?d.replace(l):d.href=l),d.reload(!0)):b?d.replace(a):d.href=a}};m("AdfDhtmlPage.prototype.doRedirect",M.prototype.FRa);
M.prototype.lsb=function(){this.XW={};this.Yf().Ty();if(this.Gm()){var a=(new Date).getTime().toString();Jf.$(Jf.$m).fz(a);Jf.dz(Jf.$m);Jf.$(Jf.Vz).fz(a);Jf.Xy(Jf.Oo);Jf.Xy(Jf.Vz)}var a=this.UA,b=!1,d;for(d in a)if(null!=this.m(d)){for(var e=a[d],f=e.length,g=0;g<f;g++){var h=e[g],b=h.pop(),h=h.pop();this.bo(d,h,b);b=!0}null!=this.UA[d]&&delete this.UA[d]}b&&this.sq();this.C7==M.REa?zs(this,null,null,null):this.C7==M.QEa?this.ta(this,this.x7,null,500):(d=this.H(),alert(d.Z("af_document.UNKNOWN_STREAMING_ERROR")))};
m("AdfDhtmlPage.prototype.streamingResponseComplete",M.prototype.lsb);M.prototype.nsb=function(){this.Cc(!1,!1,!0,"streaming response processing done");this.C7=M.QEa;this.Gm()&&Jf.Xua(Jf.Vz)};m("AdfDhtmlPage.prototype.streamingResponseWritten",M.prototype.nsb);M.prototype.msb=function(){if(this.Tj||this.YW)v.Zc.info("streaming request sent;",this.Y().O9a),this.Cc(!1,!1,!0,"streaming response received. The ECID is: ",M.y1);this.C7=M.e6a};m("AdfDhtmlPage.prototype.streamingResponseStarted",M.prototype.msb);
M.prototype.xqb=function(a,b,d){this.Tj&&this.Cc(!1,!1,!1,"streaming response segment received");a=a.getElementById(b);u.assert(a);Js(this,a.firstChild,d,!0,null);this.Tj&&this.Cc(!1,!1,!1,"streaming response segment processed")};m("AdfDhtmlPage.prototype.handleStreamingResponse",M.prototype.xqb);
M.prototype.Csb=function(a,b){var d=a.getElementById(b);u.assert(d);d=d.getElementsByTagName("input")[0];u.assert(d);var e=this.R().forms[0];u.u(e);e=e.elements[M.Qw];u.u(e);e.parentNode.innerHTML="\x3cinput type\x3d'hidden' name\x3d'"+M.Qw+"' value\x3d'"+d.getAttribute("value")+"' /\x3e"};m("AdfDhtmlPage.prototype.updateStreamingViewState",M.prototype.Csb);M.prototype.hGa=function(){this.Hx=!0;var a=Es(this);this.Y().location.replace(a)};m("AdfDhtmlPage.prototype.__handleReload",M.prototype.hGa);
M.prototype.c9a=function(a){try{var b=this.Y();if(b===parent&&!b.name){var d=sessionStorage.getItem("Adf-Window-Id");d===a&&(b.name=d)}}catch(e){}return a!=this.Y().name?(this.hGa(),!1):!0};m("AdfDhtmlPage.prototype.__validateWindowId",M.prototype.c9a);M.prototype.z8a=function(a,b){if(a){var d=this.R();d.forms[0].action=a;var e=d.getElementById(M.z0);e&&d.forms[0].removeChild(e)}b&&q.b.setAttribute(d.forms[0],M.t1,b)};m("AdfDhtmlPage.prototype.__handleRichResponseAction",M.prototype.z8a);
M.prototype.E8a=function(a){var b=arguments.length;if(0<b){Or(this);for(var d=0;d<b;++d){var e=arguments[d];Or(this).ey(e,Pr.ZD)}}};m("AdfDhtmlPage.prototype.__loadJavaScriptInBackground",M.prototype.E8a);function rs(a){a.Gm()&&(a=null,(a=Jf.$(Jf.$m))&&null!=a.LO()&&(Jf.R$(),a.fz((new Date).getTime().toString())))}
M.prototype.Jha=function(a,b){var d=q.b,e=null,f=null;null!=b.id&&(e=A.c.m(b.id),null!=e&&(f=e.o()));var g,h=null;null!=f&&(h=f.d9(e,b));null==h&&(h=[b]);g=h;h=g.length;e=null==f?[a]:f.d9(e,a);for(f=0;f<h;f++)this.Si(g[f]);(h=b.id==M.Afa)||d.yc(b);f=b.parentNode;if(1<g.length){g=g.slice(1,g.length);for(var l=q.b,n=0,t=g.length;n<t;n++){var y=g[n];h||1!=y.nodeType||l.yc(y);f.removeChild(y)}}g=b.nextSibling;f.replaceChild(a,b);l=1;for(n=e.length;l<n;l++)null!=g?f.insertBefore(e[l],g):f.appendChild(e[l]);
h&&d.fy();d.S()==q.ia&&(d=d.getElementById(M.Rfa),d.appendChild(b),d.innerHTML="",b.id="none",b.style.display="none");d=q.b;h=0;for(f=e.length;h<f;h++)g=e[h],1==g.nodeType&&d.Ia(g)};m("AdfDhtmlPage.prototype.__replaceDomElement",M.prototype.Jha);M.oKa=function(a){a=a.childNodes;for(var b=a.length,d=0;d<b;d++){var e=a[d];if(1==e.nodeType)return e.id?e:M.oKa(e)}return null};M.prototype.asb=function(a){this.pPa=a};m("AdfDhtmlPage.prototype.setScriptLoadingPolicy",M.prototype.asb);
function Or(a){var b=a.$lb;if(null==b){var b=a.Y(),d=a.R(),b=new Pr(b,d,a.pPa),d=a.D(a.amb);b.bqa(d);a.$lb=b}return b}M.prototype.amb=function(a){var b=M.M7a,d=this.Yf();a==Pr.bda?(d.lz(),Hr(this,!0,b)):(Hr(this,!1,b),d.cz())};function Rr(a){if(a){for(var b=a.length,d=Array(b),e=0;e<b;e++)d[e]=a[e];return d}return nodelist}function Qr(a){return C.ib(a.Hc.documentElement,"HEAD")}
function Sr(a,b,d){a=a.Hc.createElement("link");a.setAttribute("type","text/css");a.setAttribute("rel","stylesheet");a.setAttribute("href",b);if(d)for(var e in d)a.setAttribute(e,d[e]);return a}M.prototype.bu=function(a){for(var b=0;b<a.length;b++)this.jo(a[b],!0)};M.prototype.b9a=function(a){this.hY=a};m("AdfDhtmlPage.prototype.__setWindowDetectionStrategy",M.prototype.b9a);
M.prototype.hUa=function(){var a=this.hY;if("none"!==a){var b=this.Y().name,d;(d=!b||this.tx||this.Hx)||(d=this.R().body,d=C.sa(d,M.s4a));if(!(d||this.Plb||this.Zg()))if(-1!=navigator.userAgent.indexOf("Chrome")&&73<=q.b.Ib()?this.VX=!1:this.VX="aggressive"==a,es(this,!1))a=this.eH,a||(a=this.eH={}),a["Adf-Window-Unloaded"]="with-property-delta",a["Adf-Window-Id"]=b,this.MW&&(a["Adf-Window-Url"]=this.MW),js(this,!0,!0);else{a=M.w3("","Adf-Window-Id",b);null!=this.Gr&&""!==this.Gr&&(a=M.w3(a,M.Ht,
this.Gr));d=Es(this);var e=new If;e.tI(this.VX);delete this.VX;e.setRequestHeader("Content-Type","application/x-www-form-urlencoded");e.setRequestHeader("Adf-Window-Unloaded",!0);e.setRequestHeader("Adf-Window-Id",b);this.MW&&e.setRequestHeader("Adf-Window-Url",this.MW);e.send(d,a);e.Kp();delete e}}};m("AdfDhtmlPage.prototype.notifyWindowUnloaded",M.prototype.hUa);
M.prototype.mGa=function(a){if("none"!==this.hY){var b=this.eH;b||(b=this.eH={});b["Adf-Window-Closed"]="joined";b["Adf-Window-Id"]=this.pf();b["Adf-Dialog-Return-Id"]=b["Adf-Dialog-Return-Id"]?b["Adf-Dialog-Return-Id"]+(","+a):a}};m("AdfDhtmlPage.prototype.__notifyWindowClose",M.prototype.mGa);
M.prototype.Cha=function(a,b){if(0==this.tx){var d=this.hY;if("none"!==d){var e=new If;e.tI("aggressive"==d);a?(e.setRequestHeader("Adf-Window-Closed","discrete"),e.setRequestHeader("Adf-Window-Id",this.pf()),e.setRequestHeader("Adf-Dialog-Return-Id",b)):(e.setRequestHeader("Adf-Window-Unregistered","true"),e.setRequestHeader("Adf-Window-Unregistered-Id",this.pf()),e.setRequestHeader("Adf-Page-Unregistered-Id",this.ph));null!=this.Gr&&""!==this.Gr&&e.setRequestHeader(M.Ht,this.Gr);d=Es(this);e.send(d,
"windowClosed")}}};m("AdfDhtmlPage.prototype.__notifyWindowCloseImmediately",M.prototype.Cha);M.prototype.kL=function(){Vr(this,!0)};m("AdfDhtmlPage.prototype.__ensureCoreBackgroundLoaded",M.prototype.kL);M.prototype.mta=function(){return null!=this.Y().AdfDhtmlPopupWindow};m("AdfDhtmlPage.prototype.isCoreBackgroundScriptLoaded",M.prototype.mta);function Vr(a,b){var d=a.mta();if(b&&!d){var e=a.ubb;u.assert(null!=e,"Unxexpected null coreBackgroundURI");Or(a).ey(e,Pr.tw)}return d}
M.prototype.D8a=function(a){this.ubb=a;Or(this).ey(a,Pr.ZD)};m("AdfDhtmlPage.prototype.__loadCoreBackgroundScript",M.prototype.D8a);M.bu=function(a,b,d){if(a){var e=a.dl;if(e){var f=I.Fb(e),g=f.clientWidth,f=f.clientHeight,h=a.clientWidth,l=a.clientHeight;if(0==g||0==f||g==h&&f==l&&!b){if(a.clientWidth=g,a.clientHeight=f,!d)return}else a.clientWidth=g,a.clientHeight=f,e.Re(h,l,g,f)}if(a=a.children)for(b=a.length,e=0;e<b;e++)M.bu(a[e],!1,d)}};
M.prototype.Kab=function(){this.NHa=null;this.Cc(!1,!0,!1,"_checkResizeNotifyCallback","(start)");M.bu(this.FB,!1,!0);this.Cc(!1,!1,!1,"_checkResizeNotifyCallback","(end)")};M.w3=function(a,b,d){0<a.length&&(a+="\x26");return a+b+"\x3d"+encodeURIComponent(d).replace(/\'/g,"%27").replace(/%20/g,"+")};
function $r(a,b){u.og(b);var d=a.fZ();if(b!=d){var e;if(null!=d){var f=d.length;for(e=0;e<f;e++)C.O(I.xm(d[e]),"p_AFInlineSelected")}var f=b?b.length:0,g;if(f)for(g=[],e=0;e<f;e++)g.push(b[e].g());else g=null;a.Ioa=g;if(f)for(e=0;e<f;e++)C.w(I.xm(b[e]),"p_AFInlineSelected");(e=a.yh())&&-1==E.indexOf(b,e)&&a.uv(null);Ma.BO(a.BB,a,A.fza,d,b)}}
function Zr(a,b){if(null==a)return null;u.Hb(a);u.og(b);var d=null!=b?b.length:0;if(0==d)return null;for(var e=[],f=0;f<d;f++){var g=b[f],h=g.o();h.bind(g);h=h.Rp();V.Nb(a,h)&&e.push(g)}e.length==d&&(e=b);return e}function Ms(a,b,d){if(a=a.m(b))a=I.xm(a),C.O(a,d)}
M.y5=function(a){a:{var b=A.c,d=q.b,e=a.type,f=!0,g="mousemove"===e;if(g||"mouseover"==e||"mousedown"==e||"mouseout"==e){if(g||"mousedown"==e)if(f=!d.ts(a),!f)break a;if(!g){for(var g=d.ca(a),g=I.Cf(g),h=b.TO(),l;null!=g;){var n=l=I.xm(g);if(C.sa(n,M.z1)||C.sa(n,M.m2))break;else g=g!=h?g.getParent():null}if(g&&("mouseover"==e||"mouseout"==e))(h=d.S()==q.ia,n=A.c.Ka().La(),h&&n)?v.l.info("Due to a bug in IE, skinning's hover-target pseudo class not supported on IE in right to left mode."):(h=I.IJ,
"mouseover"==e)?(e=b.nla,g=g.g(),e!==g&&(e&&Ms(b,e,h),b.nla=g,C.w(l,h))):"mouseout"==e&&(e=b.nla)&&(Ms(b,e,h),b.nla=null);else if(g&&"mousedown"==e){e=b.WU;h=b.XU;if(!bs(g,e,h))for(l=l.previousSibling,g=null;l;){n=l.nodeType;if(8==n){if((n=Ec(b,l))&&bs(n,e,h)){g=n;break}}else if(1==n)break;l=l.previousSibling}g&&b.uv(g,a)}}}b=b.vx;null!=b&&b.handleEvent(a);f?d.Ea(a):d.stopPropagation(a)}};M.prototype.UZ=function(a,b){null!=a&&(this.TL=a);this.yjb=b};
m("AdfDhtmlPage.prototype.setDefaultMessageHandlerComponentId",M.prototype.UZ);M.prototype.wm=function(){return this.TL};m("AdfDhtmlPage.prototype.getDefaultMessageHandlerComponentId",M.prototype.wm);M.prototype.rC=function(){return this.yjb};m("AdfDhtmlPage.prototype.getMessageHandlerSlaveComponentId",M.prototype.rC);
M.prototype.bo=function(a,b,d){var e=gs(this,a,!1);if(null==this.m(e)){for(var f in this.XW)if(0==e.indexOf(f)){a=b;b=this.UA[e];b||(b=[],this.UA[e]=b);f=[];f.push(a);f.push(d);b.push(f);v.l.info("A message for client id '"+e+"' is being added as delayed messages");return}u.xc&&u.assert(!1,"A message for client id '"+e+"' is being added. No client component with that id can be found. ")}e=gs(this,a,!0);f=this.$h[e];f||(f=[],f.i_=[],f.ys=0,f.s8=e,f.title=d,this.$h[e]=f);d=Ba.kZ(b);this.wQa&&d>=Ba.hg&&
(this.qX=!0);f.i_[d]||(f.i_[d]=[]);f.push(b);f.i_[d].push(b);d>f.ys&&(f.ys=d);b=this.rC();b=this.m(null!=b?b:this.wm());b=b.getGlobalOnly?b.getGlobalOnly():!1;f=this.tM;if(!f||d>f)if(null==d)delete this.tM;else if(f=gs(this,null,!1),(a=null==a||a==f)||!a&&!b)this.tM=d;Ns(this,e)};m("AdfDhtmlPage.prototype.addMessage",M.prototype.bo);M.prototype.sq=function(a){a=gs(this,a,!0);var b=this.pm()[a];a=this.m(a);if(null!=a){var d=a.o();d.bind(a);null!=b?d.OC(a,b.ys,b):d.OC(a)}};
m("AdfDhtmlPage.prototype.showMessages",M.prototype.sq);M.prototype.Up=function(a){a=gs(this,a,!0);return this.$h[a]};m("AdfDhtmlPage.prototype.getMessages",M.prototype.Up);
M.prototype.pm=function(){var a=this.$h,b=this.wm(),d={};for(messageId in a){var e=this.m(messageId);if(null==e)v.l.info("AdfDhtmlPage.getAllMessages: ignoring messages for non-existing component: ",e);else if(b==messageId)d[messageId]=a[messageId];else{var f=I.Fb(e);C.Iy(f)?d[messageId]=a[messageId]:v.l.info("AdfDhtmlPage.getAllMessages: ignoring messages for hidden component: ",e)}}return d};m("AdfDhtmlPage.prototype.getAllMessages",M.prototype.pm);
M.prototype.Nu=function(a){var b=[],d=this.$h,e=this.TL,f;null!=a&&(f=Os(a));for(var g in d)f||g!=e?(d=this.m(g),null!=d&&(d=I.Fb(d),C.Iy(d)&&(null==f||a==g||C.Nc(f,d))&&b.push(g))):b.push(null);return b};m("AdfDhtmlPage.prototype.getClientIdsWithMessages",M.prototype.Nu);M.prototype.Q8a=function(a){this.bLa=a};m("AdfDhtmlPage.prototype.__setGlobalMessagesResetStrategy",M.prototype.Q8a);
M.prototype.Oe=function(a){a=gs(this,a,!1);null!=this.$h[a]&&(delete this.$h[a],delete this.tM,Ns(this,a));null!=this.UA[a]&&delete this.UA[a]};m("AdfDhtmlPage.prototype.clearMessages",M.prototype.Oe);M.prototype.rY=function(){var a=[],b;for(b in this.$h)a.push(b);this.$h={};this.$h={D8:[]};delete this.tM;for(var d in a)Ns(this,a[d]);this.UA={}};m("AdfDhtmlPage.prototype.clearAllMessages",M.prototype.rY);M.prototype.qs=function(a){return null!=this.Up(a)};m("AdfDhtmlPage.prototype.hasMessages",M.prototype.qs);
function Os(a){var b=A.c.m(a);return b&&b instanceof AdfRichPopup?xc.lC(b):q.b.getElementById(a)}M.prototype.pRa=function(a){var b=this.Nu();if(b){var d=q.b,e=Os(a);if(e)for(var f=0;f<b.length;f++){var g=b[f];if(null!=g){var h=d.getElementById(g);h&&a!=g&&!C.Nc(e,h)||this.Oe(g)}}}};m("AdfDhtmlPage.prototype.clearSubtreeMessages",M.prototype.pRa);function gs(a,b,d){return d?null!=b&&(a.m(b)instanceof AdfUIEditableValue||null!=q.b.getElementById(M.Pea+b))?b:a.TL:null==b?a.wm():b}
function Ps(a){var b=a.tM;if(!b){var d=a.wm(),e=a.rC(),d=a.m(null!=e?e:d),d=d.getGlobalOnly?d.getGlobalOnly():!1,e=gs(a,null,!1),f;for(f in a.$h)if(!d||f==e){var g=a.$h[f];null!=g&&(null==b||g.ys>b)&&(b=g.ys)}null!=b&&(a.tM=b)}return b}
function Ns(a,b){var d=a.$h[b];if(b!=a.TL){if(null!=q.b.getElementById(M.Pea+b)){null!=d&&(d.overridden=!0);var e=a.$h.D8;0>e.indexOf(b)&&e.push(b);a.fNa||(a.fNa=a.ta(a,a.Mdb,null,200,{isSynchronized:!0}))}e=a.m(b);if(null!=e){var f=e.o();f.bind(e);null!=d?f.Sy(e,d.ys,d):f.Sy(e);f=!e.xH();for(e=e.getParent();e&&f;)(f=e.o())&&f.Eqa(e),f=!e.xH(),e=e.getParent()}}e=a.m(a.TL);null!=e&&(peer=e.o(),peer.bind(e),peer.Sy(e,Ps(a),d))}
M.prototype.Mdb=function(){for(var a=this.$h.D8,b=a&&a.length||0,d=0;d<b;d++){var e=a[d],f=this.$h&&this.$h[e]||null;if(e=q.b.getElementById(M.Pea+e))null==f?C.jI(e):(C.jI(e),L.lqa(e,f))}this.$h.D8=[];delete this.fNa};M.prototype.Ud=function(){null==this.iia&&(this.iia=new Vf);return this.iia};m("AdfDhtmlPage.prototype.getActiveDataSupport",M.prototype.Ud);M.prototype.xj=function(){return null==this.iia?!1:!0};m("AdfDhtmlPage.prototype.isActiveDataSupported",M.prototype.xj);
M.prototype.aWa=function(a,b){var d=this.w7,e=this.RX,f=e.hasOwnProperty(b);f&&(delete e[b],E.Ig(e,b));if(a||!f)d[b]=!0,this.NX++,v.l.fine("Request start of active data on ",b," startRefCount:",this.Xt),0<this.Xt&&hs(this)};m("AdfDhtmlPage.prototype.updateStartActiveDataStateChange",M.prototype.aWa);M.prototype.qGa=function(){this.loa=!0;0<this.Xt&&hs(this)};m("AdfDhtmlPage.prototype.__restartAllADSComponents",M.prototype.qGa);
M.prototype.Pva=function(a){var b=this.w7;a in b?(delete b[a],this.NX--):(b=this.RX,a in b||(v.l.fine("Queue ADS stop on clientID:",a),b[a]=!0,b.push(a),hs(this)))};m("AdfDhtmlPage.prototype.updateStopActiveDataStateChange",M.prototype.Pva);M.prototype.x7=function(){this.Xt++;1==this.Xt&&this.xj()&&(this.Ud().Z9(),hs(this))};M.prototype.ksb=function(){};m("AdfDhtmlPage.prototype.stopActiveData",M.prototype.ksb);M.prototype.jsb=function(){};m("AdfDhtmlPage.prototype.startActiveData",M.prototype.jsb);
M.Dj={Gv:0,CONNECTING:1,Fba:2,C0:3};M.prototype.pf=function(){if(null==this.Tpa)try{this.Tpa=this.Y().name}catch(a){v.l.rg(a,"Could not get the window Id.")}return this.Tpa};m("AdfDhtmlPage.prototype.getWindowId",M.prototype.pf);M.prototype.xaa=function(a){this.Tpa=a};m("AdfDhtmlPage.prototype.setWindowId",M.prototype.xaa);M.prototype.iqb=function(){return this.ph};m("AdfDhtmlPage.prototype.getPageId",M.prototype.iqb);M.prototype.Ns=function(a){this.ph=a};m("AdfDhtmlPage.prototype.setPageId",M.prototype.Ns);
M.prototype.ysb=function(a,b){this.Ns(a);for(var d=this.C3,e=arguments.length,f=this.RX,g=1;g<e;g++){var h=arguments[g];u.J(h);h in f&&(delete f[h],E.Ig(f,h));d[h]=!0}};m("AdfDhtmlPage.prototype.updateAutoPPRComponents",M.prototype.ysb);
M.prototype.Jfb=function(a){v.l.ek().flush();if(!this.tx||this.YQa){var b=!1,d=void 0,e=this.m(this.gj);e&&(d=new Ua(e),e.ki(d),d=d.P9(),void 0!==d&&(b=!0));var e=Re.oTa(),f=null!=this.wr?!0:Lr(this);if(!b&&(this.W7||f||this.ge.L2()||e)){if(!this.ge.DT()&&void 0!=this.Y().AdfDhtmlInputBasePeer){var f=null,g=this.fs();g&&(f=g.o());f&&f instanceof bf&&f.d3(g)}g=!1;f=this.W7&&(this.JIa||this.ge.DT())||this.ge.L2();f||(g=Jr(this),g=null!=g&&0<g.length);if(f||g||e)b=!0,d=this.H().Z(e?"af_document.MSG_DEPENDENT_DIALOGS":
"af_document.MSG_UNCOMMITTED_DATA"),a.returnValue=d}this.tHa=!1;if(b){this.tHa=!0;if(this.xj()){var h=this;window.setTimeout(function(){window.setTimeout(function(){h.Ud().O2()},1E3)},1)}return a.returnValue=d}this.CQa=!0;this.hUa();this.xj()&&this.Ud().C$();this.Gm()&&this.Hx&&Jf.T$()}};M.prototype.bsb=function(a){this.B7=a};m("AdfDhtmlPage.prototype.setStreamingDisabled",M.prototype.bsb);M.prototype.Tqb=function(){return this.B7};m("AdfDhtmlPage.prototype.isStreamingDisabled",M.prototype.Tqb);
M.prototype.Is=function(a,b){var d=this.R().forms[0];u.assert(d,"No form found;  cannot stream data. Make sure that data components are placed within a form");for(var e=Bs(this,d),f={},g="",h=[],l=[],n=0;n<b.length;n++){var t=b[n],y=this.R().getElementById(t);C.Iy(y)?(this.XW[t]=!0,h.push(t)):l.push(t)}0<h.length&&(g=h.join(","));f[M.d6a]=g;0<l.length&&(f[M.I4a]=l.join(","));null!=a&&(f[M.Ht]=a);M.SGa(d,f);this.C7=M.REa;this.Xt--;this.Gm()&&(Jf.$(Jf.Vz).rv((new Date).getTime().toString()),Jf.dz(Jf.Vz));
this.Yf().Is(e,f);if(this.Tj||this.YW)this.Y().O9a=(new Date).getTime()};m("AdfDhtmlPage.prototype.sendStreamingRequest",M.prototype.Is);M.SGa=function(a,b){var d=M.Qw,e=a.elements[d];u.assert(e,"No view state token for postback");b[d]=e.value};M.r9a=function(a,b){var d=M.Ht,e=a.elements[d];null!=e&&""!==e.value&&(b[d]=e.value)};
M.prototype.p9=function(a){u.J(a);var b=this.R().forms[0];u.assert(b,"No form found;  cannot perform lazy fetch");var d=b.action,d=-1==d.indexOf("?")?d+"?unique\x3d":d+"\x26unique\x3d",d=d+(new Date).getTime(),e=M.Qw,d=d+("\x26"+e+"\x3d"),e=b[e];u.assert(e,"No view state token for lazy fetch");d+=e.value;e=M.Ht;b=b.elements[e];null!=b&&""!==b.value&&(d+="\x26"+e+"\x3d"+b.value);d+="\x26"+M.C1a+"\x3d"+a;return d=Mf.jL(d,this.pf())};m("AdfDhtmlPage.prototype.getLazyFetchURI",M.prototype.p9);
M.prototype.STa=function(a){return this.XW[a]};m("AdfDhtmlPage.prototype.isStreamingRequestPending",M.prototype.STa);M.reb=function(a){if(0<a.cookie.length){var b=a.cookie.indexOf("JSESSIONID\x3d");if(-1!=b){var d=a.cookie.indexOf(";",b);-1==d&&(d=a.cookie.length);return a.cookie.substring(b+10+1,d)}}return null};M.avb=function(a,b,d,e,f){u.Xf(e);var g="";e&&(g=new Date,g.setTime(g.getTime()+e),g="expires\x3d"+g.toGMTString()+";");a.cookie=b+"\x3d"+d+";"+g+(f?"path\x3d"+f+";":"path\x3d/;")};
M.Dub=function(a,b){this.Gwb(a,b,"",-99999)};M.prototype.Hcb=function(){var a=this.Yf().vm()!=Te.an;this.vPa!=a&&(this.vPa=a,q.b.hz(this.R(),a),Ur(this,a));a||js(this)};M.prototype.Srb=function(a){this.IMa=a};m("AdfDhtmlPage.prototype.setLastFocusedElement",M.prototype.Srb);M.prototype.aqb=function(){return this.IMa};m("AdfDhtmlPage.prototype.getLastFocusedElement",M.prototype.aqb);M.prototype.Urb=function(a){this.iOa=a};m("AdfDhtmlPage.prototype.setPPRNavigationOptions",M.prototype.Urb);
M.prototype.z9=function(){return void 0!=this.iOa?this.iOa:0};m("AdfDhtmlPage.prototype.getPPRNavigationOptions",M.prototype.z9);M.prototype.cra=function(){var a=q.b.getElementById("afr::ATFlush");a&&(a.value="1"==a.value?"0":"1")};m("AdfDhtmlPage.prototype.flushToAssistiveTechnology",M.prototype.cra);M.prototype.Zj=function(a,b){var d=q.b.getElementById("afr::ATStatus");!d||b&&a==this.Pib||(this.Pib=d.innerHTML=a,(d=this.YHa)?this.Ds(d,2E3):this.YHa=this.ta(this,this.Rab,null,2E3))};
m("AdfDhtmlPage.prototype.announceToAssistiveTechnology",M.prototype.Zj);M.prototype.Rab=function(){var a=q.b.getElementById("afr::ATStatus");a&&(a.innerHTML="",this.cra());this.YHa=null};M.prototype.RUa=function(a){this.JIa=a};m("AdfDhtmlPage.prototype.setDataDirty",M.prototype.RUa);M.prototype.uUa=function(a,b){this.ge.Gha(a,b)};m("AdfDhtmlPage.prototype.registerDirtyDataComponent",M.prototype.uUa);
M.prototype.hpb=function(a,b){var d=Kr(this,null),e={};e["oracle.adfinternal.view.faces.rich.navigationToken"]=a;e["oracle.adfinternal.view.faces.rich.confirmNavigation"]=d;d={_noNavigation:!b};u.assert(e,"Attempting to send null payload");var f=this.R().forms[0];u.assert(f,"No form found;  cannot postback");var g=ls(this,null);M.SGa(f,e);M.r9a(f,e);ms(this,f,e,g,!1,d,null)};m("AdfDhtmlPage.prototype.confirmNavigation",M.prototype.hpb);
M.NOa=function(a,b){for(var d=b.getElementsByTagName(a),e=d.length-1;0<=e;--e){var f=d[e];f.hasAttribute("afrres")&&b.removeChild(f)}};M.prototype.Arb=function(){var a=Qr(this);M.NOa("LINK",a);M.NOa("STYLE",a)};m("AdfDhtmlPage.prototype.removePageResources",M.prototype.Arb);
function zs(a,b,d,e){if(b){var f=M.ddb(b);if(f&&f.documentElement&&f.documentElement.firstChild){var g=q.b.Na(f.documentElement.firstChild);if("error"==g){ys(a,f,null);d&&xs(a,"error",{context:d,responseCode:e.ms(),responseText:b,responseXML:f});return}if("redirect"==g){ys(a,f,null);return}}}else d&&xs(a,"error",{context:d,event:e});u.xc?v.l.severe("Unexpected non-rich response"):v.l.warning("Unexpected non-rich response");a.CQa||a.Y().location.reload(!0)}
M.ddb=function(a){var b=a.length;if(1>=b||"\x3e"!=a.charAt(b-1))return null;var d=null;19<b&&"\x3c/partial-response"==a.substr(b-18-1,18)&&(b=a.lastIndexOf("\x3c?xml"),0<=b&&(d=q.b.$P(a.substring(b))));return d};M.prototype.iGa=function(a){this.W7=a;this.ge.cF()};m("AdfDhtmlPage.prototype.__initUncommittedDataWarningForDocument",M.prototype.iGa);M.prototype.r8a=function(){this.VIa=!0;this.ge.cF()};m("AdfDhtmlPage.prototype.__enableDirtyPostbackPayloads",M.prototype.r8a);M.prototype.B8a=function(){return this.VIa};
m("AdfDhtmlPage.prototype.__isDirtyPostbackPayloadsEnabled",M.prototype.B8a);M.prototype.o8a=function(){this.w4=!0};m("AdfDhtmlPage.prototype.__disableDirtyDataRetainPPR",M.prototype.o8a);function Gs(a){var b=I.Cf(a);if(!b)return null;var d=b.g();return d==Fs(a.name)||d==Fs(a.id)?b:null}function Fs(a){var b=null==a?-1:a.lastIndexOf("::");return-1<b?a.substr(0,b):a}M.Ikb=function(a){if(!a)return!1;var b=a.o();return b.q$&&b.q$(a)};
function Hs(a){return("checkbox"==a.type||"radio"==a.type)&&!a.checked}function Mr(a){a.W7=!1;a.wu=null;a.wr=null}function Lr(a){return null==a.wu?!1:!E.zc(a.wu)}function Jr(a){var b=null;if(null!=a.wr){var b=[],d;for(d in a.wr)b.push(d)}if(Lr(a))for(var e in a.wu)null!=a.wr&&a.wr[e]||!a.ge.n$(e)||(null==b&&(b=[]),b.push(e));return b}M.prototype.CT=function(a,b,d){var e=this.xj()?E.zc(this.Ud().FO()):!0,f=this.Pt();e||f&&f.RH()?(this.Ux||(this.Ux=new Qs),this.Ux.CT(a,b,d)):this.Ux&&this.Ux.iL()};
m("AdfDhtmlPage.prototype.__initializeSessionTimeoutTimer",M.prototype.CT);M.prototype.x8a=function(){return this.Ux};m("AdfDhtmlPage.prototype.__getSessionTimeoutHelper",M.prototype.x8a);M.prototype.A8a=function(a){var b=this.Pt();b&&b.dta(a)};m("AdfDhtmlPage.prototype.__initUserInactivityTimeout",M.prototype.A8a);M.prototype.Pt=function(){var a=this.sob;if(!a){var b=this.Y().AdfUserInactivityTimeoutHelper;b&&(this.sob=a=new b)}return a};
m("AdfDhtmlPage.prototype.__getUserInactivityTimeoutHelper",M.prototype.Pt);M.prototype.Rpb=function(){return this.oF};m("AdfDhtmlPage.prototype.getComponentIdsUpdatedByPollEvent",M.prototype.Rpb);
M.prototype.$E=function(a,b){u.Ya(a);this.JM=!0;this.ta(this,this.DQa,null,500);var d=this.Y(),e=M.nfb(b,d),f=this.yZ(),g=!1;if(f&&"_blank"!=b)if(g=this.cV,0<a.indexOf("org.apache.myfaces.trinidad.agent.email\x3dtrue"))g=!1;else if(-1!=a.indexOf(":"))var h=q.b.fP(),g=0==a.indexOf(h+g)?!0:!1;else g="/"==a.charAt(0)?0==a.indexOf(g)?!0:!1:!0;f&&g&&e&&e.Se&&e.Se.c?e.Se.c.BZ(a):e==self?e.location.href=a:((d=d.open(a,b))&&d.focus(),delete this.JM)};m("AdfDhtmlPage.prototype.__handleNavigation",M.prototype.$E);
M.nfb=function(a,b){return a&&"null"!=a&&"_self"!=a?"_blank"==a?null:"_top"==a?top:"_parent"==a?parent:b.frames[a]:self};
function xs(a,b,d){if(!0===a.jma&&null!=d.context&&null!=d.context.x4&&d.context.x4 instanceof ih){var e=d.context.x4.Gx["error"==b?"onerror":"onevent"],f={type:"event",status:b,source:d.context.x4.Xmb};if("begin"!=b&&(d.event?(f.DUa=d.event.ms(),f.responseXML=d.event.qo(),f.responseText=d.event.po()):(f.DUa=d.DUa,f.responseXML=d.responseXML,f.responseText=d.responseText),"error"==b)){f.description=null;f.ypb=null;f.xpb=null;d=a.H();if(null==f.responseXML||null==f.responseXML.documentElement)f.description=
d.Z("AFPprEmptyResponse");else{var g=f.responseXML.getElementsByTagName("parsererror");f.description=0<g.length?q.b.mc(g[0]):d.Z("AFPprUnknownError")}f.responseXML&&f.responseXML.documentElement&&"partial-response"==f.responseXML.documentElement.tagName&&f.responseXML.documentElement.firstChild&&"error"==f.responseXML.documentElement.firstChild.tagName&&(d=f.responseXML.documentElement.firstChild,f.ypb=d.firstChild.firstChild.nodeValue,f.xpb=d.firstChild.nextSibling.firstChild.nodeValue)}a=a.kma["error"==
b?"error":"event"];b=0;for(d=a.length;b<d;++b){g=a[b];try{g(f)}catch(h){v.l.severe("AJAX listener threw exception:",h)}}if(e)try{e(f)}catch(h){v.l.severe("AJAX listener threw exception:",h)}}}M.prototype.Fib=function(a,b,d){ih.F(a,b,d)};M.prototype.Eib=function(a){this.kma.event.push(a)};M.prototype.Dib=function(a){this.kma.error.push(a)};
function Fr(a){if(!a.jma&&"undefined"!=typeof a.wf.Uqb&&"undefined"!=typeof a.wf.Uqb.Qob){var b=jsf.Qob;b.Wub=b.request;b.Vub=b.Nob;b.Uub=b.Mob;a.kma={event:[],error:[]};b.request=a.D(a.Fib);b.Nob=a.D(a.Eib);b.Mob=a.D(a.Dib);a.jma=!0}}M.prototype.ZFa=function(a,b,d,e,f){u.J(a);u.J(b);u.Ja(d,"confirm callback");e&&u.Da(e,"confirm timeout");var g=this.m(this.gj),h=g.o();h.bind(g);return h.c3(f,a,b,d,e)};m("AdfDhtmlPage.prototype.__confirm",M.prototype.ZFa);
M.prototype.VFa=function(a,b,d){u.J(a);u.J(b);u.Ja(d,"alert callback");var e=this.m(this.gj),f=e.o();f.bind(e);return f.c3(!0,a,b,d)};m("AdfDhtmlPage.prototype.__alert",M.prototype.VFa);function As(a){a=a.id;return null!=a?null!=q.b.getElementById(a+M.n4a):!1}function Kr(a,b){null==b&&(b=a.H().Z("af_document.MSG_CONFIRM_NAVIGATION"));return confirm(b)}M.prototype.ZTa=function(a){void 0!=window.onerror&&this.rha(a.message,a.fileName,a.lineNumber)};m("AdfDhtmlPage.prototype.logAsGlobalError",M.prototype.ZTa);
M.prototype.rha=function(a,b,d){this.PG||(this.PG=[]);var e=!1;"setting a property that has only a getter"==a&&""==b&&0==d&&(e=!0);q.b.S()==q.Yc&&void 0!=a&&(""==b&&0==d&&a.match(/Permission denied for </)&&a.match(/> to call method Location.toString on </)?e=!0:""!=b&&a.match(/Permission denied to get property Location.toString/)&&(e=!0));if(e)return!1;this.PG.push({msg:a,url:b,line:d});return!1};M.prototype.__handleGlobalError=M.prototype.rha;m("AdfDhtmlPage.prototype.__handleGlobalError",M.prototype.rha);
M.prototype.P8a=function(){this.wr=null;0<arguments.length&&(this.wr={});for(var a=0;a<arguments.length;a++)this.wr[arguments[a]]=!0};m("AdfDhtmlPage.prototype.__setDirtyRegions",M.prototype.P8a);M.prototype.oGa=function(a){null==this.wu&&(this.wu={});this.wu[a]=!0};m("AdfDhtmlPage.prototype.__registerRegionClientUncommittedDataTracking",M.prototype.oGa);M.prototype.vGa=function(a){null!=this.wu&&null!=this.wu[a]&&delete this.wu[a]};
m("AdfDhtmlPage.prototype.__unregisterRegionClientUncommittedDataTracking",M.prototype.vGa);M.prototype.DQa=function(){delete this.JM};M.prototype.tq=function(a,b){var d=a,e,f=a.indexOf("#");-1<f&&(d=a.substring(0,f),e=a.substring(f+1));v.l.fine("SimulateMouse, locator: "+a+", compLocator: "+d+", subId: "+e);(d=this.wh(d))?d.tq(e,b):v.l.warning("During simulateMouse, unable to find a component for the provided locator: "+a)};m("AdfDhtmlPage.prototype.simulateMouse",M.prototype.tq);
M.prototype.jz=function(a,b){var d=q.b;null==b&&(b={});null==b.type&&(b.type="click");null==b.$ob&&(b.$ob=!0);null==b.cancelable&&(b.cancelable=!0);null==b.view&&(b.view=window);null==b.detail&&(b.detail=1);null==b.screenX&&(b.screenX=0);null==b.screenY&&(b.screenY=0);null==b.clientX&&(b.clientX=d.Wc(a)+(0<a.offsetWidth?a.offsetWidth/2:0));null==b.clientY&&(b.clientY=d.Ld(a)+(0<a.offsetHeight?a.offsetHeight/2:0));null==b.ctrlKey&&(b.ctrlKey=!1);null==b.altKey&&(b.altKey=!1);null==b.shiftKey&&(b.shiftKey=
!1);null==b.metaKey&&(b.metaKey=!1);null==b.button&&(b.button=0);null==b.relatedTarget&&(b.relatedTarget=null);v.l.fine("simulateDomMouse, domElement id: "+a.id+", type: "+b.type);ya.sSa().jz(a,b)};m("AdfDhtmlPage.prototype.simulateDomMouse",M.prototype.jz);