(()=>{var e={};e.id=286,e.ids=[286],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")},9606:(e,r,t)=>{"use strict";t.r(r),t.d(r,{GlobalError:()=>o.a,__next_app__:()=>c,originalPathname:()=>d,pages:()=>p,routeModule:()=>x,tree:()=>l}),t(3110),t(6482),t(5866);var s=t(3191),i=t(8716),a=t(7922),o=t.n(a),n=t(5231),u={};for(let e in n)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>n[e]);t.d(r,u);let l=["",{children:["products",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(t.bind(t,3110)),"C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\products\\page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(t.bind(t,6482)),"C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\layout.tsx"],"not-found":[()=>Promise.resolve().then(t.t.bind(t,5866,23)),"next/dist/client/components/not-found-error"]}],p=["C:\\Users\\lenov\\OneDrive\\Desktop\\Semester 6\\TA\\BANG ALI\\Fleura-Control\\app\\products\\page.tsx"],d="/products/page",c={require:t,loadChunk:()=>Promise.resolve()},x=new s.AppPageRouteModule({definition:{kind:i.x.APP_PAGE,page:"/products/page",pathname:"/products",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},6290:(e,r,t)=>{Promise.resolve().then(t.bind(t,9892))},9892:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>u});var s=t(326),i=t(7577);t(4515);var a=t(7464),o=t(8937),n=t(5047);function u(){let e=(0,n.useRouter)(),[r,t]=(0,i.useState)([]),[u,l]=(0,i.useState)([]),[p,d]=(0,i.useState)(!0),[c,x]=(0,i.useState)(!0);return(0,s.jsxs)("div",{children:[s.jsx("p",{className:"text-2xl font-semibold mb-4",children:"Product"}),(0,s.jsxs)(a.mQ,{defaultValue:"tab1",children:[(0,s.jsxs)(a.dr,{className:"grid w-full grid-cols-2",variant:"solid",children:[s.jsx(a.SP,{value:"tab1",children:"Review Product"}),s.jsx(a.SP,{value:"tab2",children:"Accepted Product"})]}),(0,s.jsxs)("div",{className:"mt-4",children:[s.jsx(a.nU,{value:"tab1",children:s.jsx("div",{className:"space-y-2",children:p?Array.from({length:5}).map((e,r)=>s.jsx(o.F,{isLoading:!0,name:"",image:""},r)):r.map(r=>s.jsx("div",{children:s.jsx(o.F,{name:r.name,image:r.picture?.[0]?.path||"images/product_default.png",onClick:()=>{e.push(`/products/detail/${r.id}`)}})},r.id))})}),s.jsx(a.nU,{value:"tab2",children:s.jsx("div",{className:"space-y-2",children:c?Array.from({length:5}).map((e,r)=>s.jsx(o.F,{isLoading:!0,name:"",image:""},r)):u.map(r=>s.jsx("div",{children:s.jsx(o.F,{name:r.name,image:r.picture?.[0]?.path||"images/product_default.png",onClick:()=>{e.push(`/products/detail/${r.id}`)}})},r.id))})})]})]})]})}},3110:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});let s=(0,t(8570).createProxy)(String.raw`C:\Users\lenov\OneDrive\Desktop\Semester 6\TA\BANG ALI\Fleura-Control\app\products\page.tsx#default`)}};var r=require("../../webpack-runtime.js");r.C(e);var t=e=>r(r.s=e),s=r.X(0,[847,32,306,834,63],()=>t(9606));module.exports=s})();