"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class ClassToId extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['class'],
            o: ['id'],
        }, {}, system, _ids_1.ID_CLASS_TO_ID);
    }
    f({ class: Class }, done) {
        const { __bundle } = Class;
        const { id } = __bundle.unit;
        done({ id });
    }
}
exports.default = ClassToId;
//# sourceMappingURL=index.js.map