'use strict';

const store = require('./store-d6f21087.js');

function isInternalTeam() {
  var _a, _b;
  const internalTeam = [
    "tech",
    "marketing",
    "franchisee",
    "operations",
    "vision",
    "success",
    "mitigation",
    "finance",
    "design",
  ];
  return ((store.state === null || store.state === void 0 ? void 0 : store.state.session) &&
    (((_a = store.state === null || store.state === void 0 ? void 0 : store.state.claims) === null || _a === void 0 ? void 0 : _a.admin) || internalTeam.includes((_b = store.state === null || store.state === void 0 ? void 0 : store.state.claims) === null || _b === void 0 ? void 0 : _b.role)));
}

exports.isInternalTeam = isInternalTeam;

//# sourceMappingURL=isInternalTeam-73bae27a.js.map