"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInitialRefElement = void 0;
var getInitialRefElement = function () {
    if (typeof document === 'undefined') {
        // this is executed in SSR
        // document is not defined
        return null;
    }
    return document.body;
};
exports.getInitialRefElement = getInitialRefElement;
