import{b as t,j as l}from"./vendor-react-wBh_31cN.js";import{X as o,G as f}from"./index-dNe6i2rS.js";import{bj as g}from"./vendor-icons-BUUmD6ht.js";const n=t.forwardRef(({loading:e,children:r,className:a,disabled:s,...i},m)=>{const{data:d}=o("platformIntelligenceEnabled");return d?l.jsxs(f,{ref:m,className:a,tabIndex:-1,disabled:s,...i,children:[r,l.jsx(g,{className:e?"animate-pulse":void 0})]}):null});n.displayName="PlatformIntelligenceToggler";const c=t.forwardRef((e,r)=>{const{data:a}=o("brewer_enabled");return a?l.jsx(n,{ref:r,...e}):null});c.displayName="BotToggler";export{c as B,n as P};
