// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.23/esri/copyright.txt for details.
//>>built
define("esri/dijit/geoenrichment/ReportPlayer/playerSupports/_HeaderArrangeSupport","dojo/_base/declare dojo/when dojo/dom-geometry dojo/dom-style esri/dijit/geoenrichment/utils/DomUtil esri/dijit/geoenrichment/utils/TooltipUtil".split(" "),function(h,k,b,c,e,g){return h(null,{_getTitleLeftPadding:function(){return 50},_arrangeHeaderControls:function(){e.show(this.playerHeader);e.hide(this.infographicsSelectDiv);e[this.showAreaTitle?"show":"hide"](this.areaTitleInnerDiv);var a=b.position(this.commandButtonsContainer);
c.set(this.zoomPageBlockDiv,"right",(a.w?document.body.clientWidth-a.x+50:10)+"px");if(this.showAreaTitle){c.set(this.areasSelectDiv,"left",b.position(this.zoomPageBlockDiv).x-b.position(this.areasSelectDiv).w-50+"px");c.set(this.areaTitleInnerDiv,{position:"",right:"",width:""});var a=e.isHidden(this.areasSelectDiv)?this.zoomPageBlockDiv:this.areasSelectDiv,a=b.position(a),a=this.isSlidesView?1E6:a.x-50,d=a-this._getTitleLeftPadding(),f=b.position(this.areaTitleInnerDiv);f.w>d?(c.set(this.areaTitleInnerDiv,
"width",d+"px"),f=b.position(this.areaTitleInnerDiv),g.setTooltipToNode(this.areaTitleInnerDiv,this.areaTitleInnerDiv.innerHTML)):g.setTooltipToNode(this.areaTitleInnerDiv,null);d=f.x+f.w;d>a&&c.set(this.areaTitleInnerDiv,{position:"relative",right:d-a+"px"})}else c.set(this.areasSelectDiv,"left","20px")},resize:function(){return k(this.inherited(arguments),function(){this._arrangeHeaderControls()}.bind(this))}})});