Files
Rasadyar_FrontEnd/build/assets/SlaughterHouseDispenserDashboard-BVkjpPP8.js

2 lines
140 KiB
JavaScript
Raw Normal View History

2026-01-19 15:55:00 +03:30
import{j as u,b as F6,ak as $,ax as Ru,ag as Eu,bi as H6,ah as u6,ai as Au,aj as vu,B as eu,i as c0,bf as Q0,aX as d6,I as C6,b0 as h6,d as Fu,T as E6,b2 as c6,b3 as yu,am as J0,al as e6,aa as w6,an as k6,b4 as Pu,ap as Lu,aq as Ou,av as T6,aw as R6}from"./mui-vendor-CkIVaoQP.js";import{f as C0,r as n,u as d0,j as W6,b as Y6}from"./react-vendor-CmFgShSM.js";import{X as z,G as i,S as ku,gb as Z0,gc as m0,gd as ue,J as n0,ge as ee,ex as se,ew as le,aq as ae,aC as ne,gf as i0,gg as h0,gh as g0,gi as A0,gj as p0,gk as x0,gl as S0,gm as f0,gn as y0,go as j0,gp as _0,gq as v0,gr as F0,gs as E0,gt as b6,gu as B6,gv as z6,gw as w0,gx as b0,gy as k0,gz as T0,gA as R0,A as ou,b1 as I0,u as s6,c as l6,N as i6,M as gu,b as Du,r as $0,C as $u,c2 as L6,O as Zu,L as au,j as q,h as su,gB as D0,gC as P0,gD as L0,gE as O0,v as X,p as a6,W as tu,fF as re,fH as _6,_ as I6,fI as N0,gF as te,fB as oe,bS as ce,gG as Ce,gH as de,gI as ie,gJ as he,gK as ge,gL as Ae,gM as pe,gN as xe,gO as Se,gP as fe,gQ as ye,gR as je,gS as _e,gT as ve,gU as Fe,gV as Ee,gW as we,gX as be,gY as ke,gZ as Te,g_ as Re,g$ as Ie,h0 as $e}from"./index-Vwb3Bce5.js";import{N as n6}from"./NavLink-D2GD_ItM.js";import{L as r6}from"./LinkItem-Cp7DiDkz.js";import{j as De,k as Pe}from"./index.esm-CjWvmHks.js";import{n as r0,i as Le,o as t0}from"./index.esm-BY9chGNa.js";import{B as Oe}from"./BackButton-CX1bfrW9.js";import{R as Cu}from"./ResponsiveTable-DugzNG82.js";import{u as cu,f as Tu,a as bu}from"./redux-vendor-B7uoacJt.js";import{s as Ne,a as H0}from"./slaughter-house-submit-dispenser-service-B3zzQD-S.js";import{C as He}from"./CarPelak-3Cy5Nurk.js";import{d as v6}from"./Tune-DzkdDfJZ.js";import{d as W0}from"./Edit-CwJaslma.js";import{R as wu,a as Iu}from"./index.esm-Bu7XMDZU.js";import{d as Y0}from"./Visibility-Dotz22eQ.js";import{s as We}from"./slaughter-sell-carcass-out-province-DlzZ5JKk.js";import{p as Ye,a as Be}from"./province-get-dispenser-killhouses-BNHPbBJP.js";import{d as B0}from"./ToggleOffOutlined-6-7EFsBZ.js";import{d as z0}from"./ToggleOn-DkUpTkpl.js";import{d as M6}from"./EditOutlined-TxNFG3HQ.js";import{d as V6}from"./DeleteOutline-DhX0sLLL.js";import{c as ze,s as O6,a as N6,b as M0,d as Me}from"./slaughter-get-guilds-for-allocate-Xqnmd7KJ.js";import{N as mu}from"./NumberFormatCustom-DwWPj40N.js";import{S as $6}from"./ShowImage-DVQI0Zh5.js";import{g as D6}from"./getAllocationType-76F45b0K.js";import{C as V0}from"./ChechClearanceCode-DDXdFQyx.js";import{s as Ve,a as Ue}from"./steward-get-dashboard-service-Cwt20o7g.js";import{s as Ge}from"./steward-sell-out-delete-service-B-RunshS.js";import{d as Ke}from"./Delete-DHYHiC8G.js";import"./iconBase-BEJYyZsk.js";import"./FilterAlt-CTDmPS36.js";import"./styled-components.browser.esm-gS9mh05b.js";import"./Download-guGqWZIG.js";import"./Close-8pFLGZ5w.js";import"./Pageview-DD_sus_t.js";import"./AddCircleOutline-BMHZv8K-.js";const qe={management:{KillHouse:R0,AdminX:T0,SuperAdmin:k0,default:b0},killhouses:{KillHouse:w0,AdminX:z6,SuperAdmin:B6,default:b6},stewards:{KillHouse:E0,AdminX:F0,SuperAdmin:v0,default:_0},inventory:{AdminX:j0,SuperAdmin:y0,CityPoultry:f0,ProvinceSupervisor:S0,default:x0},distribution:{AdminX:p0,SuperAdmin:A0,ProvinceOperator:g0,CityPoultry:h0,ProvinceSupervisor:i0,default:n0},transactions:{AdminX:ne,SuperAdmin:ae,ProvinceFinancial:le,CityPoultry:se,ProvinceSupervisor:ee,default:n0},stock:{AdminX:ue,SuperAdmin:m0,ProvinceSupervisor:Z0}},t6=(a,o)=>{const t=qe[a];return t[o]||t.default||null},o6=(a,o)=>a===o?"true":null,Xe=()=>{const{pathname:a}=C0(),o=z(),t=o==="KillHouse",d=o==="AdminX",c=["AdminX","SuperAdmin","ProvinceSupervisor"].includes(o),y=t6("management",o),F=t6("killhouses",o),C=t6("stewards",o),A=t6("inventory",o),r=t6("distribution",o),_=t6("transactions",o),I=t6("stock",o);return u.jsxs(i,{container:!0,gap:ku.SMALL,p:ku.SMALL,direction:{xs:"column",md:"row"},justifyContent:"center",style:{placeContent:"baseline"},children:[d&&u.jsx(i,{container:!0,direction:"column",style:{width:"100%"},children:u.jsxs(i,{container:!0,gap:ku.SMALL,justifyContent:"center",children:[u.jsx(n6,{to:y,activ