var portalId = 'ddbcc-popup-container';
var getPortalRoot = function () { return document.querySelector("#" + portalId); };
var createPortalRoot = function () {
    var portalRoot = document.createElement('div');
    portalRoot.id = portalId;
    document.body.appendChild(portalRoot);
    return portalRoot;
};
export default (function () {
    return getPortalRoot() ||
        createPortalRoot();
});
//# sourceMappingURL=getPopupPortalRoot.js.map