code: def action_checklist_report_extractor(impact_report, component_metadata):
      
      context = {}
      extra_args = component_metadata.extra_args
  
      components_list = resolve_from_dictionary(
          extra_args, 'components_list')
  
      context['brand_logo'] = resource_url(
          resources_path('img', 'logos', 'inasafe-logo-white.png'))
      for key, component in list(components_list.items()):
          context[key] = jinja2_output_as_string(
              impact_report, component['key'])
  
      context['inasafe_resources_base_dir'] = resources_path()
  
      return context
docs: Extracting action checklist of the impact layer to its own report.
  
      :param impact_report: the impact report that acts as a proxy to fetch
          all the data that extractor needed
      :type impact_report: safe.report.impact_report.ImpactReport
  
      :param component_metadata: the component metadata. Used to obtain
          information about the component we want to render
      :type component_metadata: safe.report.report_metadata.
          ReportComponentsMetadata
  
      :return: context for rendering phase
      :rtype: dict
  
      .. versionadded:: 4.1