code: def visit_html(visitor, node):
      if node["include_bjs_header"]:
          # we only want to inject the CODEPEN_INIT on one bokehjs-content block per page
          resources = get_sphinx_resources(include_bokehjs_api=True)
          visitor.body.append(
              BJS_CODEPEN_INIT.render(
                  css_files=resources.css_files,
                  js_files=resources.js_files,
              )
          )
  
      visitor.body.append(
          BJS_PROLOGUE.render(id=node["target_id"], title=node["title"])
      )
  
imports: from __future__ import annotations
  import logging
  from os.path import basename, join
  from docutils import nodes
  from docutils.parsers.rst.directives import unchanged
  from sphinx.directives.code import CodeBlock, container_wrapper, dedent_lines
  from sphinx.errors import SphinxError
  from sphinx.locale import __
  from sphinx.util import logging, parselinenos
  from sphinx.util.nodes import set_source_info
  from .None import PARALLEL_SAFE
  from .templates import BJS_CODEPEN_INIT, BJS_EPILOGUE, BJS_HTML, BJS_PROLOGUE
  from .util import get_sphinx_resources
label_desc: Use image node_id 1 for calling the bokehjs_content obj's underlying member method code with example usage: obj.visit_html(visitor, node) without return types