import { defineComponent, inject, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
import { carouselInjectKey } from "./provide.mjs";
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "OCarouselItem",
  setup(__props) {
    const injection = inject(carouselInjectKey);
    return (_ctx, _cache) => {
      return openBlock(), createElementBlock(
        "div",
        {
          class: normalizeClass([unref(injection) ? `o-carousel-item-${unref(injection).effect}` : "o-carousel-item"])
        },
        [
          renderSlot(_ctx.$slots, "default")
        ],
        2
        /* CLASS */
      );
    };
  }
});
export {
  _sfc_main as default
};
