"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PHXFuncGetActionPermissionV3 = void 0;
const tslib_1 = require("tslib");
const getCookieSession_1 = tslib_1.__importDefault(require("./getCookieSession"));
const PHXFuncGetActionPermissionV3 = (keyAction) => {
    const session = (0, getCookieSession_1.default)();
    const actionPermission = session === null || session === void 0 ? void 0 : session.action_permission;
    if (!actionPermission) {
        return null;
    }
    return actionPermission[keyAction];
};
exports.PHXFuncGetActionPermissionV3 = PHXFuncGetActionPermissionV3;
//# sourceMappingURL=getActionPermission.js.map