"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.dematerialize = void 0;
const Notification_js_1 = require("../Notification.js");
const Observable_js_1 = require("../Observable.js");
function dematerialize() {
    return (source) => new Observable_js_1.Observable((destination) => {
        source.subscribe((0, Observable_js_1.operate)({ destination, next: (notification) => (0, Notification_js_1.observeNotification)(notification, destination) }));
    });
}
exports.dematerialize = dematerialize;//# sourceMappingURL=http://go/sourcemap/sourcemaps/63a2996a10d9e476b6c28e951dd7691d9c0cf480/node_modules/rxjs/dist/cjs/internal/operators/dematerialize.js.map