"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Semifunctional_1 = require("../../../../../Class/Semifunctional");
const _ids_1 = require("../../../../_ids");
class PostMessage extends Semifunctional_1.Semifunctional {
    constructor(system) {
        super({
            fi: ['window', 'target', 'data'],
            fo: [],
            i: [],
            o: [],
        }, {
            output: {
                window: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_OPEN);
    }
    f({ window, target, data }, done) {
        const { api: { window: { open }, }, } = this.__system;
        done({});
    }
}
exports.default = PostMessage;
//# sourceMappingURL=index.js.map