import { s as state } from './store-be7d1de5.js';

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

export { isInternalTeam as i };

//# sourceMappingURL=isInternalTeam-e844e115.js.map