import { K as rOnLoad } from './index-BD2o1F4P.js';

class BalFloatingUiInternal {
    constructor() {
        this.load = async () => {
            return new Promise((resolve, reject) => {
                if (this.lib) {
                    return resolve(this.lib);
                }
                else {
                    rOnLoad(async () => {
                        import(/* @vite-ignore */ './floating-ui.dom-DKxvaA1I.js')
                            .then(module => {
                            this.lib = module;
                            resolve(this.lib);
                        })
                            .catch(reject);
                    });
                }
            });
        };
    }
}
const balFloatingUi = new BalFloatingUiInternal();

export { balFloatingUi as b };
