"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4435],{15560:(e,t,a)=>{a.d(t,{A:()=>i});const i=a(7552).createContext()},70156:(e,t,a)=>{a.d(t,{A:()=>i});const i=a(7552).createContext()},75199:(e,t,a)=>{a.d(t,{A:()=>b});var i=a(7552),r=a(93878),n=a(70799),o=a(72639),l=a(15622),s=a(15560),d=a(70156),p=a(51148),g=a(60129),c=a(4785),y=a(48459),h=a(69500);const x=(0,p.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],t[`size${(0,l.A)(a.size)}`],"normal"!==a.padding&&t[`padding${(0,l.A)(a.padding)}`],"inherit"!==a.align&&t[`align${(0,l.A)(a.align)}`],a.stickyHeader&&t.stickyHeader]}})((0,g.A)((({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n    ${"light"===e.palette.mode?(0,o.a)((0,o.X4)(e.palette.divider,1),.88):(0,o.e$)((0,o.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${y.A.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]})))),b=i.forwardRef((function(e,t){const a=(0,c.b)({props:e,name:"MuiTableCell"}),{align:o="inherit",className:p,component:g,padding:b,scope:u,size:A,sortDirection:v,variant:m,...f}=a,C=i.useContext(s.A),k=i.useContext(d.A),w=k&&"head"===k.variant;let z;z=g||(w?"th":"td");let T=u;"td"===z?T=void 0:!T&&w&&(T="col");const H=m||k&&k.variant,$={...a,align:o,component:z,padding:b||(C&&C.padding?C.padding:"normal"),size:A||(C&&C.size?C.size:"medium"),sortDirection:v,stickyHeader:"head"===H&&C&&C.stickyHeader,variant:H},R=(e=>{const{classes:t,variant:a,align:i,padding:r,size:o,stickyHeader:s}=e,d={root:["root",a,s&&"stickyHeader","inherit"!==i&&`align${(0,l.A)(i)}`,"normal"!==r&&`padding${(0,l.A)(r)}`,`size${(0,l.A)(o)}`]};return(0,n.A)(d,y.r,t)})($);let M=null;return v&&(M="asc"===v?"ascending":"descending"),(0,h.jsx)(x,{as:z,ref:t,className:(0,r.A)(R.root,p),"aria-sort":M,scope:T,ownerState:$,...f})}))},74435:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i.A,getTableCellUtilityClass:()=>r.r,tableCellClasses:()=>r.A});var i=a(75199),r=a(48459)},48459:(e,t,a)=>{a.d(t,{A:()=>o,r:()=>n});var i=a(33761),r=a(85693);function n(e){return(0,r.Ay)("MuiTableCell",e)}const o=(0,i.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"])}}]);
//# sourceMappingURL=4435.a57cabe2.chunk.js.map