"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function createPopupWindow(pageURL, pageTitle, popupWidth = 420, popupHeight = 600) {
    const left = screen.width / 2 - popupWidth / 2;
    const top = screen.height / 2 - popupHeight / 2;
    const features = `resizable=false, width=${popupWidth}, height=${popupHeight}, top=${top}, left=${left}`;
    return window.open(pageURL, pageTitle, features);
}
exports.default = createPopupWindow;
//# sourceMappingURL=createPopupWindow.js.map