"use strict";(self.webpackChunkkns_reports=self.webpackChunkkns_reports||[]).push([[37377],{37377:(e,n,r)=>{r.r(n),r.d(n,{default:()=>w});var t=r(65043),o=r(96446),i=r(30279),s=r(17392),a=r(71806),l=r(73460),c=r(10039),d=r(79650),h=r(84882),A=r(28076),x=r(85865),u=r(63336),j=r(54536),m=r(65037),p=r(68903),g=r(70579);function b(e,n,r,t,o,i){return{name:e,calories:n,fat:r,carbs:t,protein:o,price:i,history:[{date:"2020-01-05",customerId:"11091700",amount:3},{date:"2020-01-02",customerId:"Anonymous",amount:1}]}}function f(e){const{row:n}=e,[r,a]=t.useState(!1);return(0,g.jsxs)(t.Fragment,{children:[(0,g.jsxs)(A.A,{sx:{"& > *":{borderBottom:"unset"}},children:[(0,g.jsx)(c.A,{children:(0,g.jsx)(s.A,{"aria-label":"expand row",size:"small",onClick:()=>a(!r),children:r?(0,g.jsx)(m.A,{}):(0,g.jsx)(j.A,{})})}),(0,g.jsx)(c.A,{component:"th",scope:"row",children:n.name}),(0,g.jsx)(c.A,{align:"right",children:n.calories}),(0,g.jsx)(c.A,{align:"right",children:n.fat}),(0,g.jsx)(c.A,{align:"right",children:n.carbs}),(0,g.jsx)(c.A,{align:"right",children:n.protein})]}),(0,g.jsx)(A.A,{children:(0,g.jsx)(c.A,{style:{paddingBottom:0,paddingTop:0},colSpan:6,children:(0,g.jsx)(i.A,{in:r,timeout:"auto",unmountOnExit:!0,children:(0,g.jsx)(o.A,{sx:{margin:1},children:(0,g.jsx)(x.A,{variant:"h6",gutterBottom:!0,component:"div",children:"Details"})})})})})]})}const v=[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 w(){return(0,g.jsx)(p.Ay,{children:(0,g.jsx)(p.Ay,{container:!0,m:2,sx:{width:"inherit"},children:(0,g.jsx)(d.A,{component:u.A,className:"component-list",children:(0,g.jsxs)(a.A,{"aria-label":"collapsible table",children:[(0,g.jsx)(h.A,{children:(0,g.jsxs)(A.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)(l.A,{children:v.map((e=>(0,g.jsx)(f,{row:e},e.name)))})]})})})})}},54536:(e,n,r)=>{var t=r(24994);n.A=void 0;var o=t(r(40039)),i=r(70579);n.A=(0,o.default)((0,i.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},65037:(e,n,r)=>{var t=r(24994);n.A=void 0;var o=t(r(40039)),i=r(70579);n.A=(0,o.default)((0,i.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},79650:(e,n,r)=>{r.d(n,{A:()=>m});var t=r(58168),o=r(98587),i=r(65043),s=r(58387),a=r(98610),l=r(6431),c=r(34535),d=r(92532),h=r(72372);function A(e){return(0,h.Ay)("MuiTableContainer",e)}(0,d.A)("MuiTableContainer",["root"]);var x=r(70579);const u=["className","component"],j=(0,c.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,n)=>n.root})({width:"100%",overflowX:"auto"}),m=i.forwardRef((function(e,n){const r=(0,l.b)({props:e,name:"MuiTableContainer"}),{className:i,component:c="div"}=r,d=(0,o.A)(r,u),h=(0,t.A)({},r,{component:c}),m=(e=>{const{classes:n}=e;return(0,a.A)({root:["root"]},A,n)})(h);return(0,x.jsx)(j,(0,t.A)({ref:n,as:c,className:(0,s.A)(m.root,i),ownerState:h},d))}))}}]);
//# sourceMappingURL=37377.a9bb1861.chunk.js.map