import{j as u,aO as cu,aP as iu,aQ as du,aR as Cu,aS as xu,aT as hu,T as r,ak as f,B as q,p as pu,I as R,b as H,a9 as J,am as d,bl as Au,bm as X,aL as ju,aM as Fu,aN as gu,ar as Z}from"./mui-vendor-CkIVaoQP.js";import{G as s,S as i,jK as uu,kV as V,kW as O,j as yu,L as $,h as K,A as nu,g0 as ru,N as I,O as fu,a9 as b,Q as k,_ as Eu,kX as eu,W as L,X as Su,jI as bu,jJ as Du,p as Tu,k as vu,kY as Mu,kZ as mu}from"./index-Cr86_nOs.js";import{N as Y}from"./NavLink-D2GD_ItM.js";import{L as W}from"./LinkItem-Tk56BMy7.js";import{a as Lu,V as tu}from"./index.esm-CjWvmHks.js";import{f as lu,r as c,u as ku}from"./react-vendor-CmFgShSM.js";import{d as wu}from"./Settings-BSDlStEO.js";import{d as su}from"./Plagiarism-DvlRWu4f.js";import{a as Nu,u as P,f as z}from"./redux-vendor-B7uoacJt.js";import{d as Ru}from"./Edit-DVocKJob.js";import{V as _u}from"./SlaughterEnterNoneReciept-B8jnZdSU.js";import{A as Hu}from"./index-D5z1lNNf.js";import{R as au}from"./ResponsiveTable-Dua7tTwQ.js";import{B as Iu}from"./BackButton-7Uc4b2uz.js";import{S as _}from"./SimpleTable-CWlU9uE0.js";import{T as Bu}from"./Timer-L-herMry.js";import{g as U,S as Yu}from"./getRemainedSeconds-WYA7CRML.js";import{A as Wu}from"./AdvancedTable-BvRVoK6m.js";import{S as Uu}from"./SlaghterEnterBarInfo-DlErwQNG.js";import"./iconBase-BEJYyZsk.js";import"./VetFarmEditTrafficCode-CXY2XIF1.js";import"./Tune-m0V6JHJm.js";import"./ReceiptLong-BVtoE34Z.js";import"./index.esm-Bu7XMDZU.js";import"./ShowImage-Dm1ejH7Y.js";import"./Download-Br3kJHkt.js";import"./Close-C8iZ2Qr6.js";import"./FilterAlt-RwhTl5ac.js";import"./styled-components.browser.esm-gS9mh05b.js";import"./index-IuzvFnSU.js";import"./Search-DLgMQCPC.js";import"./Delete-CTUmuli-.js";import"./toBase64-CmPKyXM7.js";import"./PublishedWithChanges-wX45M9wC.js";import"./SlaughterManageBars-BqrvmwBk.js";import"./resizeImage-Csf2MO3w.js";import"./AddCircleOutline-CCVNHzAe.js";import"./isValidIndexWeight-C_ik-uYa.js";import"./getDocumentStates-7WbPY93R.js";import"./NumberFormatCustom-DwWPj40N.js";import"./FileUploader-DEybWf7_.js";import"./CloudUpload-BcmFdmGM.js";import"./CheckCircle-Df2bFsbw.js";const qu=()=>{const{pathname:l}=lu();return u.jsx(s,{container:!0,gap:i.SMALL,p:i.SMALL,direction:{xs:"column",md:"row"},justifyContent:"center",style:{placeContent:"baseline"},children:u.jsx(s,{container:!0,direction:"column",style:{width:"100%"},children:u.jsxs(s,{container:!0,gap:i.SMALL,justifyContent:"center",children:[u.jsx(Y,{to:uu,active:l===uu?"true":null,children:u.jsx(W,{icon:u.jsx(Lu,{size:30,color:"#244CCC"}),title:"بارهای خارج استان",description:"درخواست های در انتظار عملیات وارد کردن اطلاعات بارهای دریافتی"})}),u.jsx(Y,{to:V,active:l===V?"true":null,children:u.jsx(W,{icon:u.jsx(tu,{size:30,color:"#244CCC"}),title:"بارهای جدید"})}),u.jsx(Y,{to:O,active:l===O?"true":null,children:u.jsx(W,{icon:u.jsx(tu,{size:30,color:"#244CCC"}),title:"وارد کردن اطلاعات بار"})})]})})})},Vu=Nu("SLAUGHTER_HOUSE_VET_SEND_CHECK_REQUEST",async(l,{dispatch:C})=>{try{const{data:p,status:w}=await yu.post("vet_check/",l);return C($()),{data:p,status:w}}catch(p){return C(K()),{error:p.response.data.result}}});function G({item:l}){const C=P(),[p,,w,,N]=c.useContext(nu),[h,A]=c.useState(l.quantity),[D,T]=c.useState(),F=o=>{A(o.target.value)},g=o=>{T(o.target.value)};return u.jsxs(cu,{sx:{alignSelf:"flex-start",width:"100%"},children:[u.jsxs(iu,{children:[u.jsx(du,{color:"secondary"}),u.jsx(Cu,{})]}),u.jsxs(s,{container:!0,direction:"column",flexWrap:"nowrap",flex:"1",children:[u.jsxs(s,{container:!0,alignItems:"center",children:[u.jsx(s,{children:u.jsx(xu,{variant:"body1",fontWeight:"bold",color:"secondary",children:"انجام عملیات"})}),u.jsx(s,{children:u.jsx(hu,{color:"textSecondary",children:u.jsx(r,{variant:"body2",children:"در این مرحله درخواست را بررسی و تایید کنید."})})})]}),u.jsx(s,{container:!0,gap:i.SMALL,children:u.jsx(Hu,{children:u.jsxs(s,{container:!0,gap:i.SMALL,mt:i.SMALL,mx:i.SMALL,children:[u.jsx(s,{children:u.jsx(f,{label:"تعداد واقعی تحویلی",variant:"outlined",type:"number",value:h,onChange:F})}),u.jsx(s,{children:u.jsx(f,{label:"وزن واقعی بار",variant:"outlined",type:"number",value:D,onChange:g})}),u.jsx(q,{variant:"contained",onClick:()=>{C($()),C(Vu({kill_house_request_key:l.killHouseRequestKey,state:"accepted",accepted_real_quantity:Number(D)&&Number(h)?Number(h):0,accepted_real_weight:Number(h)&&Number(D)?Number(D):0})).then(o=>{C(K()),o.payload.error?p({vertical:"top",horizontal:"center",msg:o.payload.error,severity:"error"}):(C(ru({selectedDate1:w,selectedDate2:N})),C(I({right:!1,bottom:!1,top:!1,content:null,size:null})),p({vertical:"top",horizontal:"center",msg:"عملیات با موفقیت انجام شد.",severity:"success"}))})},children:"تحویل بار"}),u.jsx(q,{variant:"contained",color:"error",onClick:()=>{C(fu({title:"عملیات لغو بار",content:u.jsx(_u,{killHouseRequestKey:l.killHouseRequestKey})}))},children:"عدم وصول"})]})})})]})]})}G.propTypes={file:pu.PropTypes.any};const Ou=()=>{const l=ku(),C=P(),[p,w]=c.useState([]),[N,h]=c.useState([]),[A,D]=c.useState([]),[T,F]=c.useState([]),[,,g,o,v,t]=c.useContext(nu);c.useEffect(()=>{const a=b(new Date).format("YYYY-MM-DD");o(a),t(a)},[]);const{newRequests:n}=z(a=>a.slaughterHouseVetSlice);c.useEffect(()=>{C(ru({selectedDate1:g,selectedDate2:v}))},[g,v]),c.useEffect(()=>{var Q;const a=n==null?void 0:n.filter(e=>e.vetState==="pending").map((e,x)=>{var j;return[x+1,e.barcod,e.clearanceCode?e.clearanceCode:"ندارد",e.killHouseName,k(new Date(e==null?void 0:e.sendDate),"yyyy/MM/dd"),Eu(e==null?void 0:e.createDate),`${e.poultryName} (${e.poultryMobile})`,e.killPlace,e.poultryCity,e.age,`${e.driverName} (${e.driverMobile})`,e.typeCar,e.pelak,e.chickenBreed,(j=e==null?void 0:e.quantity)==null?void 0:j.toLocaleString(),e.indexWeight,(e.indexWeight*(e==null?void 0:e.quantity)).toLocaleString(),u.jsx(R,{color:"primary",onClick:()=>{C(I({title:"انجام عملیات تخلیه",top:!(window.innerWidth<=600),bottom:window.innerWidth<=600,content:u.jsx(G,{item:e})}))},children:u.jsx(Ru,{})},x)]});w(a);const S=(Q=n==null?void 0:n.filter(e=>e.vetState==="accepted"))==null?void 0:Q.map((e,x)=>{var j;return[x+1,e.barcod,e.clearanceCode?e.clearanceCode:"ندارد",e.killHouseName,k(new Date(e==null?void 0:e.sendDate),"yyyy/MM/dd"),e.poultryName,e.poultryMobile,e.poultryCity,e==null?void 0:e.age,((j=e==null?void 0:e.quantity)==null?void 0:j.toLocaleString())+" قطعه",e.driverName,e.typeCar,e.pelak,e.chickenBreed,e.indexWeight,u.jsx(R,{color:"primary",className:"avicultureActiveRequestsBtn",onClick:()=>l(eu+e.poultryRequestId),children:u.jsx(su,{})},x)]});D(S);const B=n==null?void 0:n.filter(e=>e.vetState==="pending").map((e,x)=>{var j;return u.jsx(s,{item:!0,xs:6,children:u.jsxs(H,{component:J,style:{width:"100%",padding:"12px",borderRadius:"8px",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.1)",marginBottom:"10px",display:"flex",flexDirection:"column"},children:[u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["کد بار: ",e.barcod]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["کدرهگیری: ",e.clearanceCode?e.clearanceCode:"ندارد"]}),u.jsx(d,{}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["تاریخ کشتار: ",k(new Date(e==null?void 0:e.sendDate),"yyyy/MM/dd")]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["مرغدار:",u.jsx("br",{}),`${e.poultryName} (${e.poultryMobile})`]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["سن مرغ: ",e.age]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["تعداد: ",(j=e==null?void 0:e.quantity)==null?void 0:j.toLocaleString()]}),u.jsx(d,{}),u.jsx(R,{color:"primary",style:{marginTop:"8px"},onClick:()=>{C(I({title:"انجام عملیات تخصیص",top:!(window.innerWidth<=600),bottom:window.innerWidth<=600,content:u.jsx(G,{item:e})}))},children:u.jsx(wu,{})},x)]},x)},x)});h(B);const ou=n==null?void 0:n.filter(e=>e.vetState==="accepted").map((e,x)=>{var j;return u.jsx(s,{item:!0,xs:6,children:u.jsxs(H,{component:J,style:{width:"100%",padding:"12px",borderRadius:"8px",boxShadow:"0 2px 5px rgba(0, 0, 0, 0.1)",marginBottom:"10px",display:"flex",flexDirection:"column"},children:[u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["کد بار: ",e.barcod]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["کدرهگیری: ",e.clearanceCode?e.clearanceCode:"ندارد"]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["خریدار: ",e.killHouseName]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["تاریخ کشتار: ",k(new Date(e==null?void 0:e.sendDate),"yyyy/MM/dd")]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["مرغدار:",u.jsx("br",{}),`${e.poultryName} (${e.poultryMobile})`]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["سن مرغ: ",e.age]}),u.jsx(d,{}),u.jsxs(r,{style:{fontSize:"14px",marginBottom:"8px"},children:["تعداد: ",(j=e==null?void 0:e.quantity)==null?void 0:j.toLocaleString()]}),u.jsx(d,{}),u.jsx(R,{color:"primary",className:"avicultureActiveRequestsBtn",onClick:()=>l(eu+e.poultryRequestId),children:u.jsx(su,{})},x)]},x)},x)});F(ou)},[n]);const[E,M]=c.useState("active"),m=(a,S)=>{S&&M(S)},y=window.innerWidth<=600;return u.jsx(s,{xs:12,container:!0,gap:i.MEDIUM,direction:"column",children:u.jsx(s,{gap:i.SMALL,justifyContent:{xs:"center",lg:"space-between"},alignSelf:"center",alignItems:"center",direction:{xs:"column",lg:"row"},xs:12,children:u.jsxs(s,{container:!0,xs:12,alignItems:"end",direction:"column",children:[u.jsx(s,{container:!0,children:u.jsxs(Au,{color:"primary",value:E,exclusive:!0,onChange:m,"aria-label":"Platform",children:[u.jsx(X,{value:"active",children:"بارها"}),u.jsx(X,{value:"archive",children:"بایگانی"})]})}),E==="active"&&u.jsx(s,{width:"100%",className:"avicultureActiveRequestsView",container:!0,children:y?u.jsxs(s,{container:!0,xs:12,spacing:4,justifyContent:"space-between",children:[u.jsxs(s,{container:!0,alignItems:"center",gap:i.SMALL,justifyContent:"center",marginBottom:2,children:[u.jsx(s,{xs:12,children:u.jsx(r,{children:"بارهای جدید"})}),u.jsx(s,{children:u.jsx(L,{label:"از تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:g,onChange:a=>{o(b(a).format("YYYY-MM-DD"))}})}),u.jsx(s,{children:u.jsx(L,{label:"تا تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:v,onChange:a=>{t(b(a).format("YYYY-MM-DD"))}})})]}),N]}):u.jsx(au,{title:u.jsxs(s,{container:!0,alignItems:"center",gap:i.SMALL,mb:2,children:[u.jsx(s,{children:u.jsx(r,{children:"بارهای جدید"})}),u.jsx(s,{children:u.jsx(L,{label:"از تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:g,onChange:a=>{o(b(a).format("YYYY-MM-DD"))}})}),u.jsx(s,{children:u.jsx(L,{label:"تا تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:v,onChange:a=>{t(b(a).format("YYYY-MM-DD"))}})})]}),columns:["ردیف","کد بار","کدرهگیری سامانه قرنطینه","خریدار","تاریخ کشتار","تاریخ ثبت خودرو","مرغدار","محل کشتار","شهر","سن مرغ","راننده","ماشین","پلاک","نژاد","تعداد (قطعه)","میانگین وزن","وزن تقریبی بار (کیلوگرم)","عملیات"],data:p,paginated:!0})}),E==="archive"&&u.jsx(s,{xs:12,className:"avicultureActiveRequestsView",children:y?u.jsxs(s,{container:!0,xs:12,spacing:4,justifyContent:"space-between",children:[u.jsxs(s,{container:!0,alignItems:"center",gap:i.SMALL,justifyContent:"center",marginBottom:2,children:[u.jsx(s,{xs:12,children:u.jsx(r,{children:"بایگانی"})}),u.jsx(s,{children:u.jsx(L,{label:"از تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:g,onChange:a=>{o(b(a).format("YYYY-MM-DD"))}})}),u.jsx(s,{children:u.jsx(L,{label:"تا تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:v,onChange:a=>{t(b(a).format("YYYY-MM-DD"))}})})]}),T]}):u.jsx(au,{title:u.jsxs(s,{container:!0,alignItems:"center",gap:i.SMALL,mb:2,children:[u.jsx(s,{children:u.jsx(r,{children:"بایگانی"})}),u.jsx(s,{children:u.jsx(L,{label:"از تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:g,onChange:a=>{o(b(a).format("YYYY-MM-DD"))}})}),u.jsx(s,{children:u.jsx(L,{label:"تا تاریخ",id:"date",renderInput:a=>u.jsx(f,{style:{width:"160px"},...a}),value:v,onChange:a=>{t(b(a).format("YYYY-MM-DD"))}})})]}),columns:["ردیف","کد بار","کدرهگیری سامانه قرنطینه","خریدار","تاریخ درخواست","مرغدار","تلفن مرغدار","شهر","سن مرغ","تعداد","راننده","ماشین","پلاک","نژاد","میانگین وزن","مشاهده"],data:A,paginated:!0})})]})})})},zu=()=>{const[l,C]=c.useState(),[p,w]=c.useState(!1),N=()=>{w(!p)},h=P(),{slaughterHouseComplaints:A}=z(t=>t.slaughterSlice),D=Su(),{slaughterHouseRegisteredComplaints:T}=z(t=>t.slaughterSlice);c.useEffect(()=>{h($()),h(bu()),h(Du()).then(t=>{h(K())})},[]),c.useEffect(()=>{const t=T==null?void 0:T.map((n,E)=>{var M,m;return[n.title,n.description?n.description:"بدون توضیحات",Tu(n==null?void 0:n.createDate),n.state==="pending"?"در حال بررسی":n.state==="accepted"?"تایید شده":"رد شده",n.percent,(M=n.image)!=null&&M.length?(m=n.image)==null?void 0:m.map((y,a)=>[u.jsx(s,{display:"inline-flex",children:u.jsx("a",{href:y,alt:"دانلود",children:u.jsx("img",{src:y,width:"80",height:"80",alt:"دانلود",style:{marginRight:"10px",borderRadius:"5px"}})})},`SlaughterPaymentFactorImage${a}`)]):"بدون پیوست"]});C(t)},[T]);const[F,g]=c.useState([]),[o,v]=c.useState([]);return c.useEffect(()=>{g(A==null?void 0:A.filter(t=>U(t.protestTime)>0)),v(A==null?void 0:A.filter(t=>U(t.protestTime)<1))},[A]),u.jsx(u.Fragment,{children:u.jsx(H,{display:"flex",justifyContent:"center",children:u.jsx(s,{container:!0,direction:"column",justifyContent:"center",xs:12,sm:12,md:10,lg:10,children:u.jsxs(s,{container:!0,justifyContent:"space-between",gap:i.SMALL,children:[u.jsxs(s,{xs:12,mt:i.MEDIUM,children:[u.jsxs(ju,{xs:12,expanded:p,onChange:N,children:[u.jsx(Fu,{expandIcon:u.jsx(vu,{}),"aria-controls":"panel1a-content",id:"panel1a-header",children:u.jsx(r,{children:"شکایات ثبت شده"})}),u.jsx(gu,{children:u.jsx(s,{children:u.jsx(Wu,{columns:[" موضوع"," توضیحات"," تاریخ ثبت"," وضعیت","درصد تلفات","پیوست تصویر"],data:l})})})]}),u.jsxs(s,{xs:12,mt:i.MEDIUM,children:[(F==null?void 0:F.length)>0&&u.jsx(d,{children:u.jsx(Z,{label:"بارهای تخصیص یافته"})}),F==null?void 0:F.map((t,n)=>{var a,S;let E=U(t.protestTime);const M=(a=t.cellType)!=null&&a.cash?"نقدی":null,m=(S=t==null?void 0:t.cellType)!=null&&S.credit?"زمان دار":null,y=[M,m].filter(B=>B).join(" یا ");return u.jsxs(u.Fragment,{children:[u.jsx(_,{name:"کد سفارش",columns:["کد سفارش","نام مرغدار","تلفن","تاریخ درخواست کشتار","استان","شهرستان","تاریخ جوجه ریزی","تعداد","جمع تلفات","وزن تقریبی هر مرغ","سن مرغ","نژاد","نحوه فروش"],data:[[t.orderCode,t.fullName,t.mobile,k(new Date(t==null?void 0:t.sendDate),"yyyy/MM/dd"),t.province,t.city,k(new Date(t==null?void 0:t.hatchingDate),"yyyy/MM/dd"),t.totalQuantity,t.losses,t.indexWeight,t.age,t.chickenBreed,y]]},n),u.jsx(_,{name:"خودروهای دارای کد بار",columns:["کشتارگاه","نام راننده","ماشین","نوع خرید","سند خودرو بدون بار","سند خودرو با بار","تعداد","وزن بار","میانگین وزن","مهلت ثبت شکایت","عملیات"],data:[[t.killHouse,t.driverName,t.car,t.buyType==="cash"?"نقد":"نسیه",u.jsx("a",{href:t.killHouseImageWithoutLoad,alt:"دانلود سند خودرو بدون بار",children:u.jsx("img",{src:t.killHouseImageWithoutLoad,width:"50",height:"50",alt:"بدون بار",className:"images-file"})},"provinceKillRequests"),u.jsx("a",{href:t.killHouseImageWithLoad,alt:"دانلود سند خودرو بدون بار",children:u.jsx("img",{src:t.killHouseImageWithLoad,width:"50",height:"50",alt:"بدون بار",className:"images-file"})},"provinceKillRequests"),t.killHouseRequestQuantity,t.killHouseNetWeight,Math.round(t.killHouseNetWeight/t.killHouseRequestQuantity*100)/100,u.jsx(Bu,{seconds:E},n),u.jsx(q,{disabled:E<1,className:"avicultureNewRequestBtn",variant:"contained",onClick:()=>{h(I({right:!(window.innerWidth<=600),bottom:window.innerWidth<=600,title:"ثبت شکایت جدید",content:u.jsx(Yu,{barKey:t.killHouseAssignmentKey,role:D})}))},children:"ثبت شکایت"},"test"),t.averageWeight]]},n)]})})]})]}),u.jsxs(s,{xs:12,children:[(o==null?void 0:o.length)>0&&u.jsx(d,{children:u.jsx(Z,{label:"بارهای بایگانی شده"})}),o==null?void 0:o.map((t,n)=>{var y,a;const E=(y=t.cellType)!=null&&y.cash?"نقدی":null,M=(a=t==null?void 0:t.cellType)!=null&&a.credit?"زمان دار":null,m=[E,M].filter(S=>S).join(" یا ");return u.jsxs(u.Fragment,{children:[u.jsx(_,{name:"کد سفارش",columns:["کد سفارش","نام مرغدار","تلفن","تاریخ درخواست کشتار","استان","شهرستان","تاریخ جوجه ریزی","تعداد","جمع تلفات","وزن تقریبی هر مرغ","سن مرغ","نژاد","نحوه فروش"],data:[[t.orderCode,t.fullName,t.mobile,k(new Date(t==null?void 0:t.sendDate),"yyyy/MM/dd"),t.province,t.city,k(new Date(t==null?void 0:t.hatchingDate),"yyyy/MM/dd"),t.totalQuantity,t.losses,t.indexWeight,t.age,t.chickenBreed,m]]},n),u.jsx(_,{name:"خودروهای دارای کد بار",columns:["کشتارگاه","نام راننده","ماشین","نوع خرید","سند خودرو بدون بار","سند خودرو با بار","تعداد","وزن بار","میانگین وزن"],data:[[t.killHouse,t.driverName,t.car,t.buyType==="cash"?"نقد":"نسیه",u.jsx("a",{href:t.killHouseImageWithoutLoad,alt:"دانلود سند خودرو بدون بار",children:u.jsx("img",{src:t.killHouseImageWithoutLoad,width:"50",height:"50",alt:"بدون بار",className:"images-file"})},"provinceKillRequests"),u.jsx("a",{href:t.killHouseImageWithLoad,alt:"دانلود سند خودرو بدون بار",children:u.jsx("img",{src:t.killHouseImageWithLoad,width:"50",height:"50",alt:"بدون بار",className:"images-file"})},"provinceKillRequests"),t.killHouseRequestQuantity,t.killHouseNetWeight,Math.round(t.killHouseNetWeight/t.killHouseRequestQuantity*100)/100]]},n)]})})]})]})})})})},_6=()=>{const{pathname:l}=lu();return u.jsx(u.Fragment,{children:u.jsx(H,{display:"flex",justifyContent:"center",children:u.jsxs(s,{container:!0,direction:"column",justifyContent:"center",xs:12,sm:12,md:10,lg:10,children:[l===Mu?u.jsxs(s,{justifyContent:"center",my:i.MEDIUM,children:[u.jsx(s,{children:u.jsx(r,{variant:"h6",children:"داشبورد (دامپزشک کشتارگاه)"})}),u.jsx(qu,{})]}):u.jsx(Iu,{}),u.jsx(s,{container:!0,justifyContent:"space-between",gap:i.SMALL,children:u.jsxs(s,{xs:12,children:[l===V&&u.jsx(Ou,{}),l===O&&u.jsx(Uu,{}),l===mu&&u.jsx(zu,{})]})})]})})})};export{_6 as default};