"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zSpaceIsSupportedAdapter = void 0;
const ZSpaceIsSupportedPM_1 = require("../PM/ZSpaceIsSupportedPM");
exports.zSpaceIsSupportedAdapter = {
    defaultVM: false,
    subscribe: (appObjects, setVM) => {
        const pm = ZSpaceIsSupportedPM_1.ZSpaceIsSupportedPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("zSpaceIsSupportedAdapter", "Unable to find ZSpaceIsSupportedPM");
            return;
        }
        pm.addView(setVM);
    },
    unsubscribe: (appObjects, setVM) => {
        const pm = ZSpaceIsSupportedPM_1.ZSpaceIsSupportedPM.get(appObjects);
        if (!pm) {
            appObjects.submitError("zSpaceIsSupportedAdapter", "Unable to find ZSpaceIsSupportedPM");
            return;
        }
        pm.removeView(setVM);
    },
};
//# sourceMappingURL=zSpaceIsSupportedAdapter.js.map