             
             switch anchor {
             case .top:
-                NSLayoutConstraint(item: self, attribute: .top, relatedBy: .equal, toItem: view, attribute: .top, multiplier: 1.0, constant: 0).isActive = true
+                NSLayoutConstraint(item: self,
+                                   attribute: .top,
+                                   relatedBy: .equal,
+                                   toItem: view,
+                                   attribute: .top,
+                                   multiplier: 1.0,
+                                   constant: 0)
+                    .isActive = true
             case .bottom:
-                NSLayoutConstraint(item: self, attribute: .bottom, relatedBy: .equal, toItem: view, attribute: .bottom, multiplier: 1.0, constant: 0).isActive = true
+                NSLayoutConstraint(item: self,
+                                   attribute: .bottom,
+                                   relatedBy: .equal,
+                                   toItem: view,
+                                   attribute: .bottom,
+                                   multiplier: 1.0,
+                                   constant: 0)
+                    .isActive = true
             }
             
             // left anchor
-            NSLayoutConstraint(item: self, attribute: .left, relatedBy: .equal, toItem: view, attribute: .left, multiplier: 1.0, constant: 0).isActive = true
+            NSLayoutConstraint(item: self,
+                               attribute: .left,
+                               relatedBy: .equal,
+                               toItem: view,
+                               attribute: .left,
+                               multiplier: 1.0,
+                               constant: 0)
+                .isActive = true
             // right anchor
-            NSLayoutConstraint(item: self, attribute: .right, relatedBy: .equal, toItem: view, attribute: .right, multiplier: 1.0, constant: 0).isActive = true
+            NSLayoutConstraint(item: self,
+                               attribute: .right,
+                               relatedBy: .equal,
+                               toItem: view,
+                               attribute: .right,
+                               multiplier: 1.0,
+                               constant: 0)
+                .isActive = true
         }
     }
 }

            UIView.animate(withDuration: 0.25) {
                self.view.layoutIfNeeded()
            }
        }
    }
}

        }
    }()
    
    private let consoleFrameHeight: CGFloat = 120
    private let expandedHeight: CGFloat = 140
    
