import{n as e}from"./rolldown-runtime-BG2f4sTM.js";import{Dvt as t,H1 as n,Mvt as r,Rft as i,V1 as a,Vft as o,nZ as s,tZ as c}from"./app-initial-BHB6SClA.js";import{n as l,t as u}from"./access-splash-Bm3vFTCF.js";function d(e){let t=(0,f.c)(8),{modeToggle:n}=e,r;t[0]===n?r=t[1]:(r=(0,p.jsx)(a,{browser:!0,electron:!0,children:(0,p.jsx)(c.HeaderAction,{actionId:`home-composer-mode-toggle`,align:`center`,children:n})}),t[0]=n,t[1]=r);let i,s,l;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,p.jsx)(o,{id:`composer.home.workModeAccessSplash.accessMessage`,defaultMessage:`You don’t have access to Work yet. Contact your admin to request access.`,description:`Status shown above the Work access splash when the user's workspace has not enabled Work, directing them to contact their admin`}),s=(0,p.jsx)(o,{id:`composer.home.workModeAccessSplash.description`,defaultMessage:`Research across your tools, create documents and presentations, and take action with ChatGPT`,description:`Description shown when a user selects Work mode but their workspace has not enabled Work`}),l=(0,p.jsx)(o,{id:`composer.home.workModeAccessSplash.learnMore`,defaultMessage:`Learn more about Work`,description:`Link below the Work access splash that opens an overview of Work`}),t[2]=i,t[3]=s,t[4]=l):(i=t[2],s=t[3],l=t[4]);let d;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,p.jsx)(u,{accessMessage:i,description:s,learnMoreLabel:l,learnMoreUrl:`https://openai.com/chatgpt-work/`,title:(0,p.jsx)(o,{id:`composer.home.workModeAccessSplash.title`,defaultMessage:`Turn complex tasks into finished work`,description:`Title shown when a user selects Work mode but their workspace has not enabled Work`})}),t[5]=d):d=t[5];let m;return t[6]===r?m=t[7]:(m=(0,p.jsxs)(p.Fragment,{children:[r,d]}),t[6]=r,t[7]=m),m}var f,p;e((()=>{f=r(),i(),s(),n(),l(),p=t()}))();export{d as WorkModeAccessSplash};
//# sourceMappingURL=work-mode-access-splash-ChYHOSgW.js.map