import { r as registerInstance, h } from './index-BNpVu1WU.js';

const spinnerCss = () => `.loader.sc-ai12z-spinner{border:16px solid #f3f3f3;border-radius:75%;border-top:16px solid #3498db;width:120px;height:120px;animation:spin 2s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`;

const Spinner = class {
    constructor(hostRef) {
        registerInstance(this, hostRef);
        this.class = "w-6 h-6";
    }
    render() {
        return h("div", { key: '336ebb258bf48412e379323d58232a67461385fa', class: "loader " + this.class });
    }
};
Spinner.style = spinnerCss();

export { Spinner as ai12z_spinner };
