"use strict";(self.webpackChunkkns_reports=self.webpackChunkkns_reports||[]).push([[37377],{37377:(e,r,n)=>{n.r(r),n.d(r,{default:()=>v});var i=n(65043),s=n(96446),t=n(30279),a=n(17392),l=n(71806),o=n(73460),c=n(10039),d=n(79650),h=n(84882),x=n(28076),A=n(85865),j=n(63336),u=n(54536),p=n(65037),m=n(68903),g=n(70579);function b(e,r,n,i,s,t){return{name:e,calories:r,fat:n,carbs:i,protein:s,price:t,history:[{date:"2020-01-05",customerId:"11091700",amount:3},{date:"2020-01-02",customerId:"Anonymous",amount:1}]}}function f(e){const{row:r}=e,[n,l]=i.useState(!1);return(0,g.jsxs)(i.Fragment,{children:[(0,g.jsxs)(x.A,{sx:{"& > *":{borderBottom:"unset"}},children:[(0,g.jsx)(c.A,{children:(0,g.jsx)(a.A,{"aria-label":"expand row",size:"small",onClick:()=>l(!n),children:n?(0,g.jsx)(p.A,{}):(0,g.jsx)(u.A,{})})}),(0,g.jsx)(c.A,{component:"th",scope:"row",children:r.name}),(0,g.jsx)(c.A,{align:"right",children:r.calories}),(0,g.jsx)(c.A,{align:"right",children:r.fat}),(0,g.jsx)(c.A,{align:"right",children:r.carbs}),(0,g.jsx)(c.A,{align:"right",children:r.protein})]}),(0,g.jsx)(x.A,{children:(0,g.jsx)(c.A,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:(0,g.jsx)(t.A,{in:n,timeout:"auto",unmountOnExit:!0,children:(0,g.jsx)(s.A,{sx:{margin:1},children:(0,g.jsx)(A.A,{variant:"h6",gutterBottom:!0,component:"div",children:"Details"})})})})})]})}const w=[b("Frozen yoghurt",159,6,24),b("Ice cream sandwich",237,9,37),b("Eclair",262,16,24),b("Cupcake",305,3.7,67),b("Gingerbread",356,16,49)];function v(){return(0,g.jsx)(m.Ay,{children:(0,g.jsx)(m.Ay,{container:!0,m:2,sx:{width:"inherit"},children:(0,g.jsx)(d.A,{component:j.A,className:"component-list",children:(0,g.jsxs)(l.A,{"aria-label":"collapsible table",children:[(0,g.jsx)(h.A,{children:(0,g.jsxs)(x.A,{children:[(0,g.jsx)(c.A,{}),(0,g.jsx)(c.A,{children:"Cost Center"}),(0,g.jsx)(c.A,{align:"right",children:"Received "}),(0,g.jsx)(c.A,{align:"right",children:"Expense"}),(0,g.jsx)(c.A,{align:"right",children:"Profit"})]})}),(0,g.jsx)(o.A,{children:w.map((e=>(0,g.jsx)(f,{row:e},e.name)))})]})})})})}},54536:(e,r,n)=>{var i=n(24994);r.A=void 0;var s=i(n(40039)),t=n(70579);r.A=(0,s.default)((0,t.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},65037:(e,r,n)=>{var i=n(24994);r.A=void 0;var s=i(n(40039)),t=n(70579);r.A=(0,s.default)((0,t.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")}}]);
//# sourceMappingURL=37377.02b41543.chunk.js.map