"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[345],{69807:(P,u,r)=>{r.r(u),r.d(u,{default:()=>d});var a=r(48322),o=r(34500),_=r(87977),E=r(52546),c=r(43266),i=r(89442);const d=({banners:s,griTheme:n})=>{const t=(0,c.d4)(E.DT.selectors.selectRouteEntryContentTypeId),D=(0,i.A)(),O=e=>n==="Green/Blue"?e%2===0?"green":"darkBlue":n==="Stone/Blue"?e%2===0?"stone":"darkBlue":n==="Blue/Orchil"?e%2===0?"darkBlue":"orchil":n==="Global"?e%2===0?"darkBlue":"lightBlue":n==="Discovery"?["darkBlue","orchil","stone","bluePrimary"][e%4]:t==="gridFocusPage"?e%2===0?"darkBlue":"lightBlue":t==="researchAndEnterpriseHome"||t==="globalMissionOverview"?e%2===0?"darkBlue":"bluePrimary":D?"darkBlueWithGreenAccent":"darkBlue";return s?a.createElement(B,null,s.map((e,l)=>{const f=l%2===0?"right":"left";return a.createElement(_.A,{key:l,cardTheme:O(l),layout:f,bannerGrid:!0,padding:t==="globalResearchInstituteOverview"||t.includes("shapingFutures")?"slim":"default",margin:t==="contentPage"?"negative":"default",...e})})):null},B=o.default.div` display: flex; flex-direction: column; height: 100%; `}}]);