(()=>{var e={};e.id=240,e.ids=[240],e.modules={2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},7790:e=>{"use strict";e.exports=require("assert")},4770:e=>{"use strict";e.exports=require("crypto")},7702:e=>{"use strict";e.exports=require("events")},2048:e=>{"use strict";e.exports=require("fs")},2615:e=>{"use strict";e.exports=require("http")},2694:e=>{"use strict";e.exports=require("http2")},5240:e=>{"use strict";e.exports=require("https")},9801:e=>{"use strict";e.exports=require("os")},5315:e=>{"use strict";e.exports=require("path")},6162:e=>{"use strict";e.exports=require("stream")},4175:e=>{"use strict";e.exports=require("tty")},7360:e=>{"use strict";e.exports=require("url")},1764:e=>{"use strict";e.exports=require("util")},1568:e=>{"use strict";e.exports=require("zlib")},1984:(e,r,s)=>{"use strict";s.r(r),s.d(r,{GlobalError:()=>n.a,__next_app__:()=>c,originalPathname:()=>d,pages:()=>p,routeModule:()=>x,tree:()=>l}),s(2252),s(6482),s(5866);var t=s(3191),i=s(8716),a=s(7922),n=s.n(a),u=s(5231),o={};for(let e in u)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(o[e]=()=>u[e]);s.d(r,o);let l=["",{children:["users",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(s.bind(s,2252)),"C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\users\\page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(s.bind(s,6482)),"C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(s.t.bind(s,5866,23)),"next/dist/client/components/not-found-error"]}],p=["C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\users\\page.tsx"],d="/users/page",c={require:s,loadChunk:()=>Promise.resolve()},x=new t.AppPageRouteModule({definition:{kind:i.x.APP_PAGE,page:"/users/page",pathname:"/users",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},6389:(e,r,s)=>{Promise.resolve().then(s.bind(s,9660))},9660:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>o});var t=s(326),i=s(7577);s(4515);var a=s(7464),n=s(8937),u=s(5047);function o(){let e=(0,u.useRouter)(),[r,s]=(0,i.useState)([]),[o,l]=(0,i.useState)([]),[p,d]=(0,i.useState)(!0),[c,x]=(0,i.useState)(!0);return(0,t.jsxs)("div",{children:[t.jsx("p",{className:"text-2xl font-semibold mb-4",children:"User"}),(0,t.jsxs)(a.mQ,{defaultValue:"tab1",children:[(0,t.jsxs)(a.dr,{className:"grid w-full grid-cols-2",variant:"solid",children:[t.jsx(a.SP,{value:"tab1",children:"Buyer"}),t.jsx(a.SP,{value:"tab2",children:"Merchant"})]}),(0,t.jsxs)("div",{className:"mt-4",children:[t.jsx(a.nU,{value:"tab1",children:t.jsx("div",{className:"space-y-2",children:p?Array.from({length:5}).map((e,r)=>t.jsx(n.F,{isLoading:!0,name:"",image:""},r)):r.map(r=>t.jsx("div",{children:t.jsx(n.F,{name:r.name||r.email,image:"images/user_default.png",onClick:()=>{e.push(`/users/buyer/detail/${r.id}`)}})},r.id))})}),t.jsx(a.nU,{value:"tab2",children:t.jsx("div",{className:"space-y-2",children:c?Array.from({length:5}).map((e,r)=>t.jsx(n.F,{isLoading:!0,name:"",image:""},r)):o.map(r=>t.jsx("div",{children:t.jsx(n.F,{name:r.name||r.email,image:r.picture||"images/user_default.png",onClick:()=>{e.push(`/users/seller/detail/${r.id}`)}})},r.id))})})]})]})]})}},2252:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>t});let t=(0,s(8570).createProxy)(String.raw`C:\Users\lenov\OneDrive\Desktop\Semester 6\TA\BANG ALI\Fleura-Control\app\users\page.tsx#default`)}};var r=require("../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[847,32,306,834,63],()=>s(1984));module.exports=t})();