import { defineComponent as o, createBlock as t, openBlock as a, unref as r, normalizeClass as s } from "vue";
import n from "../HttpMethod/HttpMethod.vue.js";
const c = /* @__PURE__ */ o({
  __name: "SidebarHttpBadge",
  props: {
    method: {},
    active: { type: Boolean }
  },
  setup(p) {
    return (e, d) => (a(), t(r(n), {
      class: s([
        "sidebar-heading-type",
        `sidebar-heading-type--${e.method.toLowerCase()}`,
        { "sidebar-heading-type-active": e.active }
      ]),
      method: e.method,
      property: "--method-color",
      short: ""
    }, null, 8, ["class", "method"]));
  }
});
export {
  c as default
};
