import{o as s}from"./rolldown-runtime-iuO8RvI4.js";import{Mi as e,ki as l}from"./vendor-frame-CwiylG4Y.js";import{Xl as a}from"./shared-1-3-6x7RKF.js";import{bt as i,ir as r}from"./shared-7-VxUxSmVa.js";var o=s(e()),n=l(),m=(0,o.memo)(({enabled:s,onDismiss:e})=>{const l=(0,o.useRef)(!1),{dismiss:m}=a(),d=(0,o.useCallback)(()=>{m("claude_code_install_nudge"),e()},[m,e]),u=i(s);return s&&u?(0,n.jsx)(r,{trigger:"code_block",onDismiss:d,hasTrackedDisplayRef:l,fallback:null}):null}),d=(0,o.memo)(({enabled:s,onDismiss:e})=>{const l=(0,o.useRef)(!1),{dismiss:m}=a(),d=(0,o.useCallback)(()=>{m("claude_code_install_nudge"),e()},[m,e]),u=i(s);return s&&u?(0,n.jsx)(r,{trigger:"file_upload",onDismiss:d,hasTrackedDisplayRef:l,fallback:null}):null});export{d as ClaudeCodeFileUploadChatBanner,m as ClaudeCodeInstallChatBanner};