var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); var __aspxRPHeaderTextContainerIDSuffix = "_RPHT"; var __aspxRPContentElementIDSuffix = "_RPC"; var __aspxRPGroupBoxCaptionIDSuffix = "_GBC"; var ASPxClientRoundPanel = _aspxCreateClass(ASPxClientPanel, { constructor: function(name) { this.constructor.prototype.constructor.call(this, name); this.headerTextContainer = null; this.headerTextEmpty = false; this.contentElement = null; this.isGroupBox = false; }, GetContentElement: function() { if (this.contentElement == null) this.contentElement = this.GetChild(__aspxRPContentElementIDSuffix); return this.contentElement; }, GetGroupBoxCaptionElement: function() { if (this.groupBoxCaptionElement == null) this.groupBoxCaptionElement = this.GetChild(__aspxRPGroupBoxCaptionIDSuffix); return this.groupBoxCaptionElement; }, GetHeaderTextContainer: function() { if (this.headerTextContainer == null) this.headerTextContainer = document.getElementById(this.name + __aspxRPHeaderTextContainerIDSuffix); return this.headerTextContainer; }, GetHeaderText: function() { return !this.headerTextEmpty ? this.GetHeaderTextInternal() : ""; }, SetHeaderText: function(text) { var textContainer = this.GetHeaderTextContainer(); if (_aspxIsExistsElement(textContainer)) { if (!text || _aspxTrim(text) == "") { this.headerTextEmpty = true; textContainer.innerHTML = " "; } else { this.headerTextEmpty = false; textContainer.innerHTML = text; } } }, GetHeaderTextInternal: function() { var textContainer = this.GetHeaderTextContainer(); return _aspxIsExistsElement(textContainer) ? textContainer.innerHTML : null; }, GetContentHtml: function(){ var contentElement = this.GetContentElement(); if (_aspxIsExistsElement(contentElement)) { if (this.isGroupBox) var caption = this.RemoveGroupBoxCaptionElement(); var contentHTML = contentElement.innerHTML; if (this.isGroupBox) this.RestoreGroupBoxCaptionElement(caption); return contentHTML; } return null; }, SetContentHtml: function(html){ var contentElement = this.GetContentElement(); if (_aspxIsExistsElement(contentElement)) { if (this.isGroupBox) var caption = this.RemoveGroupBoxCaptionElement(); _aspxSetInnerHtml(contentElement, html); if (this.isGroupBox) this.RestoreGroupBoxCaptionElement(caption); } }, RemoveGroupBoxCaptionElement: function() { var captionElement = this.GetGroupBoxCaptionElement(); return captionElement ? captionElement.parentNode.removeChild(captionElement) : null; }, RestoreGroupBoxCaptionElement: function(captionElement) { var contentElement = this.GetContentElement(); if (contentElement) { if (contentElement.hasChildNodes()) contentElement.insertBefore(captionElement, contentElement.firstChild); else contentElement.appendChild(captionElement); } } }); ASPxClientRoundPanel.Cast = ASPxClientControl.Cast; } /* playback timings (ms): RedisCDXSource: 4.509 load_resource: 151.165 exclusion.robots.policy: 0.206 captures_list: 95.21 CDXLines.iter: 19.868 (3) LoadShardBlock: 66.116 (3) PetaboxLoader3.datanode: 149.346 (4) PetaboxLoader3.resolve: 55.381 exclusion.robots: 0.221 esindex: 0.017 */