[
  {
    "id": "zenfs_mana_bar_14",
    "type": "widget",
    "style": "layout",
    "arrange": "minimum_columns",
    "widgets": [ "zenfs_mana_label_5", "zenfs_mana_bar_14_no_label" ],
    "width": 20
  },
  {
    "id": "zenfs_mana_bar_15",
    "type": "widget",
    "style": "layout",
    "arrange": "minimum_columns",
    "widgets": [ "zenfs_mana_label_4", "zenfs_mana_bar_15_no_label" ],
    "width": 21
  },
  {
    "id": "zenfs_mana_num_with_max",
    "type": "widget",
    "style": "layout",
    "arrange": "minimum_columns",
    "width": 15,
    "widgets": [ "zenfs_mana_num_label", "zenfs_max_mana_num" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_num_with_max_alt",
    "type": "widget",
    "style": "layout",
    "arrange": "minimum_columns",
    "width": 12,
    "widgets": [ "zenfs_mana_num_label_M", "zenfs_max_mana_num" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_bar_14_no_label",
    "type": "widget",
    "style": "graph",
    "var": "mana",
    "width": 14,
    "symbols": "·−=≡≣",
    "fill": "bucket",
    "colors": [ "c_black", "c_red", "c_magenta", "c_blue" ],
    "breaks": [ 1, 25, 50 ],
    "flags": [ "W_DISABLED_WHEN_EMPTY" ]
  },
  {
    "id": "zenfs_mana_bar_15_no_label",
    "type": "widget",
    "copy-from": "zenfs_mana_bar_14_no_label",
    "width": 15
  },
  {
    "id": "zenfs_mana_num_label",
    "type": "widget",
    "style": "number",
    "var": "mana",
    "label": "Mana",
    "width": 9,
    "text_align": "right",
    "colors": [ "c_blue" ],
    "flags": [ "W_DISABLED_WHEN_EMPTY" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_num_label_M",
    "type": "widget",
    "copy-from": "zenfs_mana_num_label",
    "label": "M",
    "width": 6,
    "flags": [ "W_DISABLED_WHEN_EMPTY" ],
    "padding": 0
  },
  {
    "id": "zenfs_max_mana_num",
    "type": "widget",
    "style": "number",
    "var": "max_mana",
    "label": { "str": "/", "//~": "NO_I18N" },
    "width": 5,
    "text_align": "right",
    "colors": [ "c_blue" ],
    "flags": [ "W_DISABLED_WHEN_EMPTY" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_label_M",
    "type": "widget",
    "style": "text",
    "width": 1,
    "clauses": [
      {
        "id": "label_invisible",
        "text": { "str": " ", "//~": "NO_I18N" },
        "color": "c_black",
        "condition": { "math": [ "u_val('mana_max') <= 0" ] }
      },
      {
        "id": "label_visible",
        "text": "M",
        "color": "c_light_gray",
        "condition": { "math": [ "u_val('mana_max') > 0" ] }
      }
    ],
    "flags": [ "W_LABEL_NONE" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_label_4",
    "type": "widget",
    "style": "text",
    "width": 4,
    "clauses": [
      {
        "id": "label_invisible",
        "text": { "str": "    ", "//~": "NO_I18N" },
        "color": "c_black",
        "condition": { "math": [ "u_val('mana_max') <= 0" ] }
      },
      {
        "id": "label_visible",
        "text": "Mana",
        "color": "c_light_gray",
        "condition": { "math": [ "u_val('mana_max') > 0" ] }
      }
    ],
    "flags": [ "W_LABEL_NONE" ],
    "padding": 0
  },
  {
    "id": "zenfs_mana_label_5",
    "type": "widget",
    "copy-from": "zenfs_mana_label_4",
    "width": 5
  }
]
