{"size": 724, "ext": "js", "max_stars_repo_path": "views/bootstrap5.js", "max_stars_repo_name": "marcodpt/spa", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "views/bootstrap5.js", "max_issues_repo_name": "marcodpt/spa", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "views/bootstrap5.js", "max_forks_repo_name": "marcodpt/spa", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.5641025641, "max_line_length": 52, "alphanum_fraction": 0.4267955801}
export default (h, text) => ({
  bg,
  striped,
  animated,
  width,
  label
}) => width == null ?
  h('div', {
    class: 'text-center mt-5 pt-5'
  }, [
    h('div', {
      class: 'spinner-border',
      role: 'status',
      style: {
        width: '5rem',
        height: '5rem'
      }
    })
  ]) : 
  h('div', {
    class: 'container text-center mt-5 pt-5'
  }, [
    h('div', {
      class: 'progress'
    }, [
      h('div', {
        class: [
          'progress-bar',
          striped ? 'progress-bar-striped' : null,
          animated ? 'progress-bar-animated' : null,
          bg ? 'bg-'+bg : null
        ],
        style: {
          width: width
        }
      }, label ? text(label) : null)
    ])
  ])
