import{r as o,j as e}from"./vendor-react-AXa6hZO5.js";import{M as r}from"./vendor-intl-BdADXLLt.js";import{j as s,G as t}from"./index-D35RxkWr.js";import"./vendor-infra-DayZK7Ds.js";import"./vendor-zod-1gcJXWab.js";import"./c6eedc03a-C8LSdtro.js";import"./vendor-lodash-D-zrMTUO.js";import"./vendor-zustand-CcZsBpBq.js";import"./vendor-icons-DsiQAprm.js";import"./vendor-motion-DGh7M6mr.js";import"./vendor-radix-jAWPQP1f.js";import"./vendor-router-B4CxQ1po.js";import"./vendor-query-B8PP3rYl.js";import"./vendor-growthbook-XJcBFzji.js";import"./c365fd3fe-Dmpsm876.js";import"./c70a3d12b-BI7Bbafv.js";import"./vendor-luxon-Y8l99kBI.js";import"./tree-sitter-BFuuT2ac.js";const n=o.memo(({onDismiss:n,onAction:i})=>{const{data:d}=s(),m=o.useCallback(()=>{i()},[i]),a=d?.filter(o=>"join_org"===o.request_type).length??0;return 0===a?null:e.jsx(t,{message:e.jsx(r,{defaultMessage:"{count, plural, one {# person} other {# people}} requested to join your team",id:"LgUo5X28bJ",values:{count:a}}),button:{children:e.jsx(r,{defaultMessage:"Review requests",id:"L7Vyuuco4h"}),href:"/settings/members",onLinkClick:m},onDismiss:n})});n.displayName="PendingRequestsBanner";export{n as PendingRequestsBanner};
