function nd(){this.Init()}m("AdfEdgeEditingAgent",nd);r.v(nd,gd);nd.prototype.hl=function(a){u.u(a,"IFRAME");return this.Mc(a).body};r.a("AdfEdgeEditingAgent.prototype.getFocusBlurElement",{hl:nd.prototype.hl});nd.prototype.je=function(a){return(a=this.$l(a))&&0<a.rangeCount?a.getRangeAt(0):null};r.a("AdfEdgeEditingAgent.prototype.getSelectionRange",{je:nd.prototype.je});nd.prototype.setSelectionRange=function(a,b){var d=this.$l(a);d.removeAllRanges();d.addRange(b)};
r.a("AdfEdgeEditingAgent.prototype.setSelectionRange",{setSelectionRange:nd.prototype.setSelectionRange});nd.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:nd.prototype.il});nd.prototype.$l=function(a){u.u(a,"IFRAME");return this.Mc(a).defaultView.getSelection()};nd.prototype.nl=function(a){return a.toString()};
r.a("AdfEdgeEditingAgent.prototype.getSelectionRangeString",{nl:nd.prototype.nl});nd.prototype.ql=function(a,b){b.shiftKey?J.ni(a):J.be(a,null,!0)};r.a("AdfEdgeEditingAgent.prototype.handleTab",{ql:nd.prototype.ql});nd.prototype.Ey=function(){return!1};r.a("AdfEdgeEditingAgent.prototype.isDesignModeReloadingFrame",{Ey:nd.prototype.Ey});nd.prototype.Ls=function(a){u.u(a,"IFRAME");return this.Mc(a).body.contentEditable=!0};r.a("AdfEdgeEditingAgent.prototype.setInlineFrameContentEditable",{Ls:nd.prototype.Ls});
nd.prototype.Oi=function(a){return"true"==this.Mc(a).body.contentEditable};r.a("AdfEdgeEditingAgent.prototype.isDesignMode",{Oi:nd.prototype.Oi});nd.prototype.wh=function(){return"\x3cP\x3e\x3c/P\x3e"};r.a("AdfEdgeEditingAgent.prototype.getDefaultContent",{wh:nd.prototype.wh});nd.prototype.Wm=function(a,b){var d=b.ownerDocument.body.createTextRange();d.moveToElementText(b);return d.inRange(a)};r.a("AdfEdgeEditingAgent.prototype.IsNodeWrappingRange",{Wm:nd.prototype.Wm});
nd.prototype.queryCommandValue=function(a,b){if(this.Oi(a))return nd.h.queryCommandValue.call(this,a,b)};r.a("AdfEdgeEditingAgent.prototype.queryCommandValue",{queryCommandValue:nd.prototype.queryCommandValue});nd.prototype.queryCommandState=function(a,b){if(this.Oi(a))return""==this.Mc(a).getSelection()?this.queryCommandValue(a,b):nd.h.queryCommandState.call(this,a,b)};r.a("AdfEdgeEditingAgent.prototype.queryCommandState",{queryCommandState:nd.prototype.queryCommandState});
nd.prototype.ul=function(a,b){return this.Oi(a)?nd.h.ul.call(this,a,b):!1};r.a("AdfEdgeEditingAgent.prototype.queryCommandIndeterminate",{ul:nd.prototype.ul});