1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4181],{56084:function(e,n,s){"use strict";s.r(n),s.d(n,{default:function(){return g}});var o=s(67294),r=s(73606),l=s(11163),i=s(87494),a=s(41664),t=s.n(a),c=s(53904),d=s(67814),m=s(59417),u=s(85893);function g(){var e=(0,l.useRouter)(),n=(0,r.aF)(),s=(n.user,n.isLoading),a=(0,i.C$)();o.useEffect(function(){var n;null!=a&&null!==(n=a.selected_organisation)&&void 0!==n&&n.is_reseller||e.push("/")},[a,e]);var g=[{name:"Organisation Management",description:"Manage organisations linked to this reseller",comingSoon:!1,link:"/reseller-tools/organisation-management",icon:m.P88},{name:"Payments Management",description:"Manage payments to child organisations",comingSoon:!1,link:"/reseller-tools/payments-management",icon:m.Ozh}];return s?null:(0,u.jsxs)("div",{className:"h-full flex flex-col p-6",children:[(0,u.jsxs)("div",{className:"w-full mb-6",children:[(0,u.jsx)("h4",{className:"text-2xl font-bold text-[#E3E3E3]",children:"Reseller Tools"}),(0,u.jsx)("p",{className:"text-gray-400 mt-2",children:"Select a tool to manage your reseller operations"})]}),(0,u.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:g.map(function(e,n){return(0,u.jsx)(c.w,{className:"bg-[#1E1E1E] border border-gray-700 hover:border-gray-500 hover:bg-[#2A2A2A] transition-all cursor-pointer",children:(0,u.jsx)(t(),{href:e.comingSoon?"#":e.link,className:"block no-underline hover:no-underline",children:(0,u.jsxs)("div",{className:"p-4 cursor-pointer",children:[(0,u.jsxs)("div",{className:"flex items-center mb-3",children:[(0,u.jsx)(d.G,{icon:e.icon,className:"text-[#E3E3E3] text-xl mr-3"}),(0,u.jsx)("h5",{className:"text-lg font-semibold text-[#E3E3E3] m-0",children:e.name})]}),(0,u.jsx)("p",{className:"text-gray-400 text-sm",children:e.description}),e.comingSoon&&(0,u.jsx)("span",{className:"inline-block mt-3 px-2 py-1 bg-gray-800 text-gray-400 text-xs rounded",children:"Coming Soon"})]})})},n)})})]})}},97481:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reseller-tools",function(){return s(56084)}])}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=97481)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.