'use strict';

var index = require('./index-CJK1u2Q5.js');

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

exports.balFloatingUi = balFloatingUi;
