module.exports=[37546,a=>{"use strict";var b=a.i(839769);function c(a,d={}){let{successDuration:e=1500}=d,[f,g]=(0,b.useState)({status:"idle",data:null,error:null}),h=(0,b.useRef)(null);(0,b.useEffect)(()=>()=>{h.current&&clearTimeout(h.current)},[]);let i=(0,b.useCallback)(async(...b)=>{h.current&&clearTimeout(h.current),g({status:"loading",data:null,error:null});try{let c=await a(...b);return g({status:"success",data:c,error:null}),e>0&&(h.current=setTimeout(()=>{g(a=>({...a,status:"idle"}))},e)),c}catch(b){let a=b instanceof Error?b:Error("Request failed");throw g({status:"error",data:null,error:a}),a}},[a,e]);return{...f,isLoading:"loading"===f.status,run:i,reset:()=>g({status:"idle",data:null,error:null})}}a.s(["useRequest",()=>c])},550093,a=>{"use strict";var b=a.i(254157);function c({icon:a,title:c,description:d,action:e,children:f}){return(0,b.jsxs)("section",{className:"space-y-4",children:[(0,b.jsxs)("div",{className:"flex items-start justify-between",children:[(0,b.jsxs)("div",{children:[(0,b.jsxs)("h3",{className:"text-lg font-semibold flex items-center gap-2",children:[a,c]}),d&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:d})]}),e&&(0,b.jsx)("div",{children:e})]}),f]})}a.s(["SettingsSection",()=>c])},576651,a=>{"use strict";let b=(0,a.i(143).default)("outline","command","Command",[["path",{d:"M7 9a2 2 0 1 1 2 -2v10a2 2 0 1 1 -2 -2h10a2 2 0 1 1 -2 2v-10a2 2 0 1 1 2 2h-10",key:"svg-0"}]]);a.s(["IconCommand",()=>b],576651)},836818,a=>{"use strict";let b=(0,a.i(143).default)("outline","palette","Palette",[["path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25",key:"svg-0"}],["path",{d:"M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M11.5 7.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}],["path",{d:"M15.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-3"}]]);a.s(["IconPalette",()=>b],836818)}];

//# sourceMappingURL=_59dd3bec._.js.map