"use strict";(self.webpackChunkbackend_ai_webui_react=self.webpackChunkbackend_ai_webui_react||[]).push([[992],{3992:(e,n,r)=>{r.r(n),r.d(n,{default:()=>b});var o=r(44453),s=r(29871),a=r(92647),c=r(50840),t=r(41856),l=r(24128),i=r(99641),u=r(54981),h=r(60269),d=r(77678),f=r(23446);const v=(0,u.eU)(!1),b=e=>{let{onChange:n,afterClose:r,...u}=e;const[b,x]=(0,o.q)("use_2409_session_launcher"),{token:A}=c.A.useToken(),{t:L}=(0,d.Bd)(),[p,w]=(0,h.fp)(v);return p||(0,f.jsx)(t.A,{message:(0,f.jsxs)(s.A,{gap:"md",children:[(0,f.jsx)(l.A.Text,{children:L("session.launcher.NeoSwitchDescription",{launcher:L(b?"session.launcher.PreviousLauncher":"session.launcher.NeoLauncher")})}),(0,f.jsx)(i.A,{options:[{label:(0,f.jsx)(l.A.Text,{style:{color:b?A.colorPrimary:void 0},children:L("session.launcher.PreviousLauncher")}),value:"current"},{label:(0,f.jsx)(l.A.Text,{style:{color:b?void 0:A.colorPrimary},children:L("session.launcher.NeoLauncher")}),value:"neo",icon:(0,f.jsx)(a.A,{twoToneColor:A.colorWarning})}],value:b?"current":"neo",onChange:e=>{x("current"===e),n&&n(e)}})]}),type:"info",showIcon:!0,closable:!0,afterClose:()=>{w(!0)},...u})}},92647:(e,n,r)=>{r.d(n,{A:()=>l});var o=r(58168),s=r(76998);const a={icon:function(e,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M695.4 164.1H470.8L281.2 491.5h157.4l-60.3 241 319.8-305.1h-211z",fill:n}},{tag:"path",attrs:{d:"M848.1 359.3H627.8L825.9 109c4.1-5.3.4-13-6.3-13H436.1c-2.8 0-5.5 1.5-6.9 4L170.1 547.5c-3.1 5.3.7 12 6.9 12h174.4L262 917.1c-1.9 7.8 7.5 13.3 13.3 7.7L853.6 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.3 732.5l60.3-241H281.2l189.6-327.4h224.6L487.1 427.4h211L378.3 732.5z",fill:e}}]}},name:"thunderbolt",theme:"twotone"};var c=r(76228),t=function(e,n){return s.createElement(c.A,(0,o.A)({},e,{ref:n,icon:a}))};const l=s.forwardRef(t)}}]);
//# sourceMappingURL=992.1d0abe4e.chunk.js.map