| 
														
															@@ -31,6 +31,7 @@ const CLASS_NAME_SIDEBAR_FOCUSED = 'sidebar-focused' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const CLASS_NAME_LAYOUT_FIXED = 'layout-fixed' 
														 | 
														
														 | 
														
															 const CLASS_NAME_LAYOUT_FIXED = 'layout-fixed' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN = 'control-sidebar-slide-open' 
														 | 
														
														 | 
														
															 const CLASS_NAME_CONTROL_SIDEBAR_SLIDE_OPEN = 'control-sidebar-slide-open' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open' 
														 | 
														
														 | 
														
															 const CLASS_NAME_CONTROL_SIDEBAR_OPEN = 'control-sidebar-open' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+const CLASS_NAME_LAYOUT_TOP_NAV = 'layout-top-nav' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 const Default = { 
														 | 
														
														 | 
														
															 const Default = { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   scrollbarTheme: 'os-theme-light', 
														 | 
														
														 | 
														
															   scrollbarTheme: 'os-theme-light', 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -82,7 +83,11 @@ class Layout { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (offset !== false) { 
														 | 
														
														 | 
														
															     if (offset !== false) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (max === heights.controlSidebar) { 
														 | 
														
														 | 
														
															       if (max === heights.controlSidebar) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        $contentSelector.css(this._config.panelAutoHeightMode, (max + offset)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if ($body.hasClass(CLASS_NAME_LAYOUT_TOP_NAV)) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) + heights.header + heights.footer) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          $contentSelector.css(this._config.panelAutoHeightMode, (max + offset)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } else if (max === heights.window) { 
														 | 
														
														 | 
														
															       } else if (max === heights.window) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header - heights.footer) 
														 | 
														
														 | 
														
															         $contentSelector.css(this._config.panelAutoHeightMode, (max + offset) - heights.header - heights.footer) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } else { 
														 | 
														
														 | 
														
															       } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -164,6 +169,10 @@ class Layout { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.fixLayoutHeight() 
														 | 
														
														 | 
														
															       this.fixLayoutHeight() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }) 
														 | 
														
														 | 
														
															     }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    $(document).ready(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.fixLayoutHeight() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     setTimeout(() => { 
														 | 
														
														 | 
														
															     setTimeout(() => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       $('body.hold-transition').removeClass('hold-transition') 
														 | 
														
														 | 
														
															       $('body.hold-transition').removeClass('hold-transition') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 50) 
														 | 
														
														 | 
														
															     }, 50) 
														 |