"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get Notification () {
        return Notification;
    },
    get NotificationNewHope () {
        return NotificationNewHope;
    },
    get NotificationsProvider () {
        return NotificationsProvider;
    }
});
const _react = /*#__PURE__*/ _interop_require_default(require("react"));
const _emotion = require("@salutejs/plasma-new-hope/emotion");
const _Notificationconfig = require("./Notification.config");
function _interop_require_default(obj) {
    return obj && obj.__esModule ? obj : {
        default: obj
    };
}
const mergedConfig = (0, _emotion.mergeConfig)(_emotion.notificationConfig, _Notificationconfig.config);
const NotificationNewHope = (0, _emotion.component)(mergedConfig);
const Notification = NotificationNewHope;
const NotificationsProvider = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED })=>{
    return /*#__PURE__*/ _react.default.createElement(_emotion.NotificationsProvider, {
        config: mergedConfig,
        frame: frame,
        placement: placement,
        UNSAFE_SSR_ENABLED: UNSAFE_SSR_ENABLED
    }, children);
};
