var U=M.U(Hm,"AdfDhtmlEditableValuePeer");v("AdfDhtmlEditableValuePeer",U);
U.m=function(){this.Fm="content";this.qna="__afrEditableValueContentId";this.L6="_afNoteWindowPopup";this.IKa="_afrInstructionsText";this.z6a="_afrHelpIcon";this.n6="_adfInitialized";this.AMa="AFNoteWindowSeparator";this.xMa="AFNoteWindowHintText";this.yMa="AFNoteWindowInstructions";this.BMa="AFNoteWindowShortDesc";this.wMa="AFNoteWindowFooter";this.zMa=340;this.gM="_afOV";this.o6="data-afr-init-value";this.Poa="data-afr-last-submitted-value";M.hb(this,"showRequired");M.$b(this,AdfUIValue.VALUE);
M.ha(this,I.tc,I.jb,I.qd)};v("AdfDhtmlEditableValuePeer.InitSubclass",U.m);U.prototype.q=function(a,b){U.f.q.call(this,a,b);this.pP(F.c)&&Im(this,a,b,U.o6,p)};z.a("AdfDhtmlEditableValuePeer.prototype.InitDomElement",{q:U.prototype.q});U.prototype.m_=function(a){Hf.v(a)};z.a("AdfDhtmlEditableValuePeer.prototype.autoSubmit",{m_:U.prototype.m_});U.prototype.E_=function(a){(a=U.W(a))&&("INPUT"==a.tagName&&"text"==a.getAttribute("type"))&&a.setAttribute("AUTOCOMPLETE","off")};
z.a("AdfDhtmlEditableValuePeer.prototype.disableBrowserAutoComplete",{E_:U.prototype.E_});U.prototype.Za=function(a,b){U.f.Za.call(this,a,b);this.P3(a,b)||(this.Oc(a,b),w.b.Gg(b,U.n6,"init"))};z.a("AdfDhtmlEditableValuePeer.prototype.BindToComponent",{Za:U.prototype.Za});U.prototype.P3=function(a,b){return!w.b.Vh(b,U.n6)?p:l};z.a("AdfDhtmlEditableValuePeer.prototype.IsInitialized",{P3:U.prototype.P3});U.prototype.Yb=function(a,b){dg.v(a,b);F.c.ff(a.e());a.Ei(b)};
z.a("AdfDhtmlEditableValuePeer.prototype.Validate",{Yb:U.prototype.Yb});U.prototype.L1=function(a,b){var d=M.Ib(a);w.b.Gg(d,U.Poa,b)};z.a("AdfDhtmlEditableValuePeer.prototype.setLastSubmittedValue",{L1:U.prototype.L1});U.prototype.LC=function(a){a=M.Ib(a);return w.b.Vh(a,U.Poa)};z.a("AdfDhtmlEditableValuePeer.prototype.getLastSubmittedValue",{LC:U.prototype.LC});
U.prototype.oE=function(a){if(a.pJ){var b=a.pJ();if(b!=n){var d=[];a=a.getConverter();for(var e=0;e<b.length;e++){var f=b[e];if(f.zn&&(f=f.zn(a)))for(var g=0;g<f.length;g++)d.push(f[g])}0==d.length&&(d=n);return d}}return n};z.a("AdfDhtmlEditableValuePeer.prototype.GetValidatorHints",{oE:U.prototype.oE});U.eE=function(a,b){B.assert(a!=n);b||(b=M.Ib(a));B.assert(b!=n);var d=w.b.Vh(b,U.qna);if(d==n){d=M.g(a.e(),U.Fm);d=w.b.getElementById(d);if(!d||d.id==n)d=b;d=d.id;B.assert(d!=n);w.b.Gg(b,U.qna,d)}return d};
v("AdfDhtmlEditableValuePeer.GetContentNodeId",U.eE);U.SFa=function(a,b){D.i.warning("Deprecated usage of AdfDhtmlEditableValuePeer.GetContentNode");return U.W(a,b)};v("AdfDhtmlEditableValuePeer.GetContentNode",U.SFa);U.W=function(a,b){B.assert(a!=n);var d=U.eE(a,b);return d&&(d=w.b.getElementById(d))?d:b};v("AdfDhtmlEditableValuePeer.getContentNode",U.W);U.GQa=function(a,b,d){var e=b.Yb;if(e){var f=U.W(a,n);b.bind(a);b.xa(a,f,d);e.call(b,a)}else a.xa(d),a.Ei()};
U.prototype.Yz=function(a){var b=F.c;if(!this.tm()){var d=this.d(),e=d.e();this.xY&&this.xY!=e&&Jm(this);a=H.sb(U.W(d),a.Q());this.BB==n&&this.mH==n&&a?(this.xY=e,this.mH=b.oa(this,this.tP,d.e(),500)):this.mH!=n&&(this.BB==n&&!a)&&Jm(this)}};z.a("AdfDhtmlEditableValuePeer.prototype.ShowNoteWindowMouseOver",{Yz:U.prototype.Yz});U.prototype.C=ca();z.a("AdfDhtmlEditableValuePeer.prototype.HandleComponentClick",{C:U.prototype.C});
U.prototype.Ha=function(a){var b=a.dd(),d=this.d(),e;if(!(e=b==Ta.ue)){if(b=b==Ta.BUBBLING_PHASE){for(a=a.getSource();a&&a.YR(J.MT);)a=a.getParent();b=d==a}e=b}e&&(a=F.c,this.wY&&this.wY!=d.e()&&(Jm(this),Km(this)),this.tm()?this.Fq():this.BB==n&&(Jm(this),this.wY=d.e(),this.BB=a.oa(this,this.TZa,d.e(),400)))};z.a("AdfDhtmlEditableValuePeer.prototype.HandleComponentFocus",{Ha:U.prototype.Ha});U.prototype.Oja=function(a){if(a.p0){var b=a.p0();a=a.nga();return!b?a!=n:!a?l:b.e()!=a.e()}};
z.a("AdfDhtmlEditableValuePeer.prototype.ComponentChanged",{Oja:U.prototype.Oja});U.prototype.Ad=t(p);z.a("AdfDhtmlEditableValuePeer.prototype.VetoShowNoteWindow",{Ad:U.prototype.Ad});U.prototype.pa=ca();z.a("AdfDhtmlEditableValuePeer.prototype.HandleComponentKeyUp",{pa:U.prototype.pa});
U.prototype.Fq=function(a,b){Jm(this);Km(this);a||(a=this.d());if(this.tm(a))b||F.c.Kk().Mea(a,{autodismiss:"autodismissMenu"});else if(!a.getDisabled()&&!a.getReadOnly()&&!this.Ad(a)){var d=M.Ib(a);if(d){var e=w.b,f=a.e(),g=F.c.w(),h=[],m=n,q=n;this.zm(a,d)==l&&(m=this.gR(a),q=this.oE(a));var s=P.Uga(f);if(s){var y=P.RBa(f);h.push(y)}if(m!=n||q!=n){y=g.createElement("div");H.n(y,U.xMa);m!=n&&y.appendChild(Oe.sI(m));if(q!=n)for(m=0;m<q.length;m++)y.appendChild(Oe.sI(q[m]));h.push(y)}m=d.getAttribute(U.IKa);
m!=n&&(d=g.createElement("div"),H.n(d,U.yMa),d.appendChild(Oe.sI(m)),h.push(d));m=a.getShortDesc();m!=n&&0<xa.trim(m).length&&(d=g.createElement("div"),H.n(d,U.BMa),e.yb(d,m),h.push(d));if(s&&(s=P.SBa(f)))m=g.createElement("div"),H.n(m,U.wMa),d=h.pop(),m.appendChild(d),m.appendChild(s),h.push(m);if(!ya.Bc(h)){s={type:"noteWindow"};s[AdfRichPopup.fd]=this.C3();var A,d=this.pd(a);d!=n&&(e=e.getComputedStyle(d),"none"!=e.display&&"hidden"!=e.visibility&&(A=d.id,A!=n&&(s[AdfRichPopup.pf]=A)));if(A==n||
""==A)d=M.Ib(a),A=d.id,A==n||""==A?D.i.warning("No popup alignment node ID could be found for the component with client ID \x3d ",f):s[AdfRichPopup.pf]=A;var C;if(ya.isArray(h)){C=g.createElement("div");for(m=0;m<h.length;m++)0<m&&(A=g.createElement("hr"),H.n(A,U.AMa),C.appendChild(A)),"string"==typeof h[m]?C.appendChild(Oe.sI(h[m])):(B.p(h[m]),C.appendChild(h[m]))}else"string"==typeof h&&(C=Oe.sI(h));h=F.c.u();g=g.createElement("div");H.n(g,"p_AFHiddenAccessible");w.b.yb(g,h.V("AFTooltipEndText"));
C.appendChild(g);s[AdfRichPopup.Cf]=f;s.focus=p;s.autodismiss=b?"autodismissMouseOut":"autodismissMenu";b&&(s.autodismissMouseOut=d.id);s.maxWidth=U.zMa;this.fe(a,C,s,U.L6)}}}};z.a("AdfDhtmlEditableValuePeer.prototype.ShowNoteWindow",{Fq:U.prototype.Fq});U.prototype.sm=function(a,b){a||(a=this.d());b||(Jm(this),Km(this));this.ob(a,U.L6)};z.a("AdfDhtmlEditableValuePeer.prototype.HideNoteWindow",{sm:U.prototype.sm});U.prototype.tm=function(a){a||(a=this.d());return this.Qa(a,U.L6)?l:p};
z.a("AdfDhtmlEditableValuePeer.prototype.IsNoteWindowVisible",{tm:U.prototype.tm});U.prototype.C3=function(){return AdfRichPopup.BS};z.a("AdfDhtmlEditableValuePeer.prototype.GetNoteWindowAlignmentHint",{C3:U.prototype.C3});U.prototype.pd=function(a,b){return U.W(a,b)};z.a("AdfDhtmlEditableValuePeer.prototype.GetNoteWindowAlignmentNode",{pd:U.prototype.pd});U.prototype.sz=function(a,b){return a.getValid()==l?U.f.sz.call(this,a,b):n};z.a("AdfDhtmlEditableValuePeer.prototype.GetComponentValue",{sz:U.prototype.sz});
U.prototype.kka=function(a,b,d){d==n&&(d=this.xz());this.xa(a,b,d)};z.a("AdfDhtmlEditableValuePeer.prototype.ComponentSubmittedValueChanged",{kka:U.prototype.kka});U.prototype.hk=function(a,b){var d=n,e=a.getParent();e&&"oracle.adf.RichPanelLabelAndMessage"==e.getComponentType()&&(d=e.k(),d.bind(e),e=a.getId()+"::"+U.Fm,d=H.nh(d.h(),"for",e,"LABEL"));d==n&&(e=b.getElementsByTagName("LABEL"),d=e.length?e[0]:n);return d!=n?w.b.Mb(d):n};z.a("AdfDhtmlEditableValuePeer.prototype.GetComponentLabel",{hk:U.prototype.hk});
U.u7a=function(a,b,d,e){return e!=n&&(b=H.Ua(b,"LABEL"))?H.zy(a,b,d):p};U.prototype.Fi=function(a,b,d){return d?this.cb(a,b):this.dE(a,b)};z.a("AdfDhtmlEditableValuePeer.prototype.GetDisplayValue",{Fi:U.prototype.Fi});U.prototype.dE=function(a,b){return this.uo(a)?this.cb(a,b):n};z.a("AdfDhtmlEditableValuePeer.prototype.GetComponentSubmittedValue",{dE:U.prototype.dE});U.prototype.uo=function(a){return!(a.getDisabled&&a.getDisabled()||a.getReadOnly&&a.getReadOnly())};
z.a("AdfDhtmlEditableValuePeer.prototype.WasSubmitted",{uo:U.prototype.uo});U.prototype.cb=function(){B.$()};z.a("AdfDhtmlEditableValuePeer.prototype.GetSubmittedValue",{cb:U.prototype.cb});U.prototype.Ah=function(a,b){U.f.Ah.call(this,a,b);var d=F.c,e=this.d();e&&d.oa(this,this.mRa,e.e(),300)};z.a("AdfDhtmlEditableValuePeer.prototype.MessageNotify",{Ah:U.prototype.Ah});U.prototype.el=function(a,b){U.f.el.call(this,a,b);this.d().focus()};z.a("AdfDhtmlEditableValuePeer.prototype.MessageShow",{el:U.prototype.el});
U.prototype.zm=t(p);z.a("AdfDhtmlEditableValuePeer.prototype.ShouldShowHint",{zm:U.prototype.zm});U.prototype.pg=function(){var a=this.h(),b=this.d(),a=this.pd(b,a),a=O.Re(a);a!=n&&O.ra(a)};z.a("AdfDhtmlEditableValuePeer.prototype.Focus",{pg:U.prototype.pg});U.prototype.Oc=function(a,b){var d=this.sz(a,b);a.Yga(AdfUIValue.VALUE,d)};z.a("AdfDhtmlEditableValuePeer.prototype.LazyInitialize",{Oc:U.prototype.Oc});U.prototype.E4=function(a,b){Im(this,a,b,U.gM,l)};
z.a("AdfDhtmlEditableValuePeer.prototype.StashOldValue",{E4:U.prototype.E4});function Im(a,b,d,e,f){if(!b.getReadOnly()){var g=U.W(b,d);a=a.cb(b,d);(!f||g.getAttribute(e)==n)&&g.setAttribute(e,""+a)}}U.prototype.OT=function(a,b){var d=U.W(a,b),e=d.getAttribute(U.gM);e!=n&&(d.removeAttribute(U.gM),d=this.cb(a,b),d!=e&&this.Yb(a,d))};z.a("AdfDhtmlEditableValuePeer.prototype.ValidateIfStashedOldValue",{OT:U.prototype.OT});
U.prototype.Ema=function(a,b){var d=U.W(a,b),e=d.getAttribute(U.gM);if(e!=n){var f=this.cb(a,b);f!=e&&(d.setAttribute(U.gM,""+f),this.Yb(a,f))}};z.a("AdfDhtmlEditableValuePeer.prototype.ValidateAndStashNewValue",{Ema:U.prototype.Ema});U.prototype.Li=function(a){var b=a.L(),d=a.ia();if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey)switch(d){case E.Kb:case E.Lb:case E.Ya:case E.Ja:b=a.Q(),d=U.W(this.d()),b==d&&a.dc()}};z.a("AdfDhtmlEditableValuePeer.prototype.StopArrowKeyBubbling",{Li:U.prototype.Li});
function Jm(a){a.mH&&(F.c.ac(a.mH),delete a.mH);delete a.xY}function Km(a){a.BB&&(F.c.ac(a.BB),delete a.BB);delete a.wY}u=U.prototype;u.tP=function(a){Km(this);delete this.mH;delete this.xY;if(a=F.c.j(a))this.bind(a),this.tm(a)||this.Fq(a,l)};u.TZa=function(a){Jm(this);delete this.BB;delete this.wY;var b=F.c;if(a==b.Wr()){if(a=b.j(a))this.bind(a),this.RP!=n?delete this.RP:this.tm(a)||this.Fq(a,p)}else this.RP!=n&&delete this.RP};
u.mRa=function(a){var b=F.c,d=F.c.j(a);d&&(this.bind(d),this.tm()&&this.sm(d,l),a==b.Wr()&&this.Fq())};u.pP=function(a){return a.is()&&a.PW&&this.no()};u.no=t(p);z.a("AdfDhtmlEditableValuePeer.prototype.NeedsSpuriousDirtyValueTracking",{no:U.prototype.no});U.prototype.CV=function(a){if(this.no()){var b=M.Ib(a),d;d=U.o6;d=U.W(a,b).getAttribute(d);a=""+this.cb(a,b);return d!=n&&d!=a}return p};z.a("AdfDhtmlEditableValuePeer.prototype.__isSpuriousDirtyValue",{CV:U.prototype.CV});
U.prototype.DV=function(a){if(this.no()){var b=M.Ib(a);Im(this,a,b,U.o6,p)}};z.a("AdfDhtmlEditableValuePeer.prototype.__resetSpuriousDirtyValue",{DV:U.prototype.DV});