function pd(){this.Init()}m("AdfEdgeEditingAgent",pd);r.v(pd,kd);pd.prototype.hl=function(a){u.u(a,"IFRAME");return this.Mc(a).body};r.a("AdfEdgeEditingAgent.prototype.getFocusBlurElement",{hl:pd.prototype.hl});pd.prototype.je=function(a){return(a=this.$l(a))&&0<a.rangeCount?a.getRangeAt(0):null};r.a("AdfEdgeEditingAgent.prototype.getSelectionRange",{je:pd.prototype.je});pd.prototype.setSelectionRange=function(a,b){var d=this.$l(a);d.removeAllRanges();d.addRange(b)};
r.a("AdfEdgeEditingAgent.prototype.setSelectionRange",{setSelectionRange:pd.prototype.setSelectionRange});pd.prototype.il=function(a,b){var d=this.Mc(a).body;if(!b){var e=d.childNodes;if(e&&1==e.length&&(e=e[0],"P"==e.nodeName&&""==e.innerText))return""}return d.innerHTML};r.a("AdfEdgeEditingAgent.prototype.getInlineFrameContent",{il:pd.prototype.il});pd.prototype.$l=function(a){u.u(a,"IFRAME");return this.Mc(a).defaultView.getSelection()};pd.prototype.nl=function(a){return a.toString()};
r.a("AdfEdgeEditingAgent.prototype.getSelectionRangeString",{nl:pd.prototype.nl});pd.prototype.ql=function(a,b){b.shiftKey?J.ni(a):J.ce(a,null,!0)};r.a("AdfEdgeEditingAgent.prototype.handleTab",{ql:pd.prototype.ql});pd.prototype.Ey=function(){return!1};r.a("AdfEdgeEditingAgent.prototype.isDesignModeReloadingFrame",{Ey:pd.prototype.Ey});pd.prototype.Ms=function(a){u.u(a,"IFRAME");return this.Mc(a).body.contentEditable=!0};r.a("AdfEdgeEditingAgent.prototype.setInlineFrameContentEditable",{Ms:pd.prototype.Ms});
pd.prototype.Pi=function(a){return"true"==this.Mc(a).body.contentEditable};r.a("AdfEdgeEditingAgent.prototype.isDesignMode",{Pi:pd.prototype.Pi});pd.prototype.xh=function(){return"\x3cP\x3e\x3c/P\x3e"};r.a("AdfEdgeEditingAgent.prototype.getDefaultContent",{xh:pd.prototype.xh});pd.prototype.Wm=function(a,b){var d=b.ownerDocument.body.createTextRange();d.moveToElementText(b);return d.inRange(a)};r.a("AdfEdgeEditingAgent.prototype.IsNodeWrappingRange",{Wm:pd.prototype.Wm});
pd.prototype.queryCommandValue=function(a,b){if(this.Pi(a))return pd.h.queryCommandValue.call(this,a,b)};r.a("AdfEdgeEditingAgent.prototype.queryCommandValue",{queryCommandValue:pd.prototype.queryCommandValue});pd.prototype.queryCommandState=function(a,b){if(this.Pi(a))return""==this.Mc(a).getSelection()?this.queryCommandValue(a,b):pd.h.queryCommandState.call(this,a,b)};r.a("AdfEdgeEditingAgent.prototype.queryCommandState",{queryCommandState:pd.prototype.queryCommandState});
pd.prototype.ul=function(a,b){return this.Pi(a)?pd.h.ul.call(this,a,b):!1};r.a("AdfEdgeEditingAgent.prototype.queryCommandIndeterminate",{ul:pd.prototype.ul});