class_docstr: Block with metadata, execution stats, config and issues
class_docstr_tok: ["Block","with","metadata",",","execution","stats",",","config","and","issues"]
code: def layout(self) -> Component:
      stats = PopoverButton(
          StatsTable(
              self.df_exec, "Execution statistics", classes="small"
          ),
          "bi bi-stopwatch",
          "exec",
          div_class="float-right px-1",
      )
      config = PopoverButton(
          html.Div(
              [
                  html.H4("Configuration details"),
                  dbc.Tabs(
                      [
                          dbc.Tab(
                              html.Textarea(
                                  self.config_dict,
                                  className="ta-config border p-1 small",
                              ),
                              label="Dict",
                          ),
                          dbc.Tab(
                              html.Textarea(
                                  self.config_yaml,
                                  className="ta-config border p-1 small",
                              ),
                              label="YAML",
                          ),
                      ]
                  ),
              ]
          ),
          "bi bi-gear-wide-connected",
          "config",
          div_class="float-right px-1",
      )
      bar = [config, stats]
  
      if not self.issues.empty:
          issues = PopoverButton(
              SimpleTable(
                  self.issues,
                  "Issues",
                  classes="small",
                  show_index=False,
              ),
              "bi bi-exclamation-circle",
              "issues",
              div_class="float-right px-1",
          )
          bar.insert(0, issues)
      if not self.meta_frame.empty or not self.meta_series.empty:
          meta = PopoverButton(
              dbc.Row(
                  [
                      dbc.Col(
                          StatsTable(
                              self.meta_frame,
                              "Frame details",
                              classes="small",
                          ),
                          width=7,
                      ),
                      dbc.Col(
                          StatsTable(
                              self.meta_series,
                              "Time Series",
                              classes="small",
                          ),
                          width=5,
                      ),
                  ],
                  style={"width": "600px"},
              ),
              "bi bi-card-heading",
              "meta",
              div_class="float-right px-1",
          )
          bar.append(meta)
      return html.Div(bar)
  
imports: from typing import List, Tuple, Callable, Any
  from pprint import pformat
  import pandas
  import yaml
  from jinja2.filters import do_filesizeformat
  import tslumen
  from tslumen.jinja_utils import format_date_freq
  from tslumen.plot import interactive
  from tslumen.plot.interactive.base import go
  from tslumen.report.dashboard._dash import dbc, html, Component, StatsTable, Plot, PopoverButton, SimpleTable
  from tslumen.report.dashboard.base import DashSection, DashBlock
label_desc: Use image node_id 2 for calling the BlockStatus obj's underlying member method code with example usage: obj.layout() and returns: html