import{o}from"./rolldown-runtime-iuO8RvI4.js";import{Mi as r,ki as s}from"./vendor-frame-CwiylG4Y.js";import{Xo as e}from"./shared-4-6CEyRAHb.js";import{Gt as t}from"./shared-10-DEXHYEQf.js";var i=o(r()),m=s(),a=(0,i.memo)(({enabled:o,onDismiss:r,onAction:s})=>{const{isDriveAuthenticated:a}=e({});return(0,i.useEffect)(()=>{o&&a&&s()},[o,a,s]),o?(0,m.jsx)(t,{}):null});export{a as ConnectGDriveChatBanner};