code: def __init__(self) -> None:
      def get_formatted_text() -> StyleAndTextTuples:
          arg = get_app().key_processor.arg or ""
          if arg == "-":
              arg = "-1"
  
          return [
              ("class:arg-toolbar", "Repeat: "),
              ("class:arg-toolbar.text", arg),
          ]
  
      self.window = Window(
          FormattedTextControl(get_formatted_text), height=1
      )
  
      self.container = ConditionalContainer(
          content=self.window, filter=has_arg
      )
  
imports: from __future__ import annotations
  from typing import Any
  from prompt_toolkit.application.current import get_app
  from prompt_toolkit.buffer import Buffer
  from prompt_toolkit.enums import SYSTEM_BUFFER
  from prompt_toolkit.filters import Condition, FilterOrBool, emacs_mode, has_arg, has_completions, has_focus, has_validation_error, to_filter, vi_mode, vi_navigation_mode
  from prompt_toolkit.formatted_text import AnyFormattedText, StyleAndTextTuples, fragment_list_len, to_formatted_text
  from prompt_toolkit.key_binding.key_bindings import ConditionalKeyBindings, KeyBindings, KeyBindingsBase, merge_key_bindings
  from prompt_toolkit.key_binding.key_processor import KeyPressEvent
  from prompt_toolkit.key_binding.vi_state import InputMode
  from prompt_toolkit.keys import Keys
  from prompt_toolkit.layout.containers import ConditionalContainer, Container, Window
  from prompt_toolkit.layout.controls import BufferControl, FormattedTextControl, SearchBufferControl, UIContent, UIControl
  from prompt_toolkit.layout.dimension import Dimension
  from prompt_toolkit.layout.processors import BeforeInput
  from prompt_toolkit.lexers import SimpleLexer
  from prompt_toolkit.search import SearchDirection
label_desc: Use image node_id 1 to create a new ArgToolbar object  with example: obj = ArgToolbar()