import{r as o,j as e}from"./vendor-react-Dp9pL_Wn.js";import{M as r}from"./vendor-intl-D2wGIp4M.js";import{d as s,e as t}from"./c6eedc03a-CsEFTfjy.js";import{G as n}from"./index-CBEPphRm.js";import"./vendor-base-5_f7mmWg.js";import"./vendor-ant-cds-bBedrtIN.js";import"./vendor-base-ui-DNypCIlh.js";import"./vendor-radix-Ch96tRrt.js";import"./vendor-virtual-DRz8lJfQ.js";import"./vendor-zod-0xcuG3aM.js";import"./vendor-zustand-BeF8W8xk.js";import"./vendor-icons-CokWnmlw.js";import"./vendor-lodash-BvMLws5K.js";import"./vendor-router-qG5OCEmI.js";import"./vendor-query-BwvgHhJ1.js";import"./vendor-zod-v3-CZy0YPWu.js";import"./vendor-motion-EDlUw66k.js";import"./vendor-luxon-CZxT8ieM.js";import"./vendor-growthbook-C66YtMMX.js";import"./vendor-infra-DayZK7Ds.js";import"./caf7c7e06-DJYXCm3T.js";import"./c5669b8e4-DFSq88jr.js";import"./c5f4e1303-CiyIFgnl.js";import"./cbaad2c48-DaP34LG2.js";const i=o.memo(({onDismiss:i,onAction:m})=>{const{data:d}=s(),a=t(),j=o.useCallback(()=>{m()},[m]),p=d?.filter(o=>"join_org"===o.request_type).length??0;return 0===p||a?null:e.jsx(n,{message:e.jsx(r,{defaultMessage:"{count, plural, one {# person} other {# people}} requested to join your team",id:"LgUo5X28bJ",values:{count:p}}),button:{children:e.jsx(r,{defaultMessage:"Review requests",id:"L7Vyuuco4h"}),href:"/admin-settings/members",onLinkClick:j},onDismiss:i})});i.displayName="PendingRequestsBanner";export{i as PendingRequestsBanner};
