"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(83673),n=a(6614),r=a(7552),o=a(93878),l=a(60827),d=a(22991),s=a(15622),p=a(15560),g=a(70156),c=a(31049),h=a(51148),y=a(48459),A=a(69500);const x=["align","className","component","padding","scope","size","sortDirection","variant"],u=(0,h.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],t[`size${(0,s.A)(a.size)}`],"normal"!==a.padding&&t[`padding${(0,s.A)(a.padding)}`],"inherit"!==a.align&&t[`align${(0,s.A)(a.align)}`],a.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,n.A)({},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,d.a)((0,d.X4)(e.palette.divider,1),.88):(0,d.e$)((0,d.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${y.A.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),b=r.forwardRef((function(e,t){const a=(0,c.A)({props:e,name:"MuiTableCell"}),{align:d="inherit",className:h,component:b,padding:v,scope:m,size:f,sortDirection:C,variant:k}=a,z=(0,i.A)(a,x),w=r.useContext(p.A),T=r.useContext(g.A),H=T&&"head"===T.variant;let $;$=b||(H?"th":"td");let R=m;"td"===$?R=void 0:!R&&H&&(R="col");const M=k||T&&T.variant,j=(0,n.A)({},a,{align:d,component:$,padding:v||(w&&w.padding?w.padding:"normal"),size:f||(w&&w.size?w.size:"medium"),sortDirection:C,stickyHeader:"head"===M&&w&&w.stickyHeader,variant:M}),S=(e=>{const{classes:t,variant:a,align:i,padding:n,size:r,stickyHeader:o}=e,d={root:["root",a,o&&"stickyHeader","inherit"!==i&&`align${(0,s.A)(i)}`,"normal"!==n&&`padding${(0,s.A)(n)}`,`size${(0,s.A)(r)}`]};return(0,l.A)(d,y.r,t)})(j);let D=null;return C&&(D="asc"===C?"ascending":"descending"),(0,A.jsx)(u,(0,n.A)({as:$,ref:t,className:(0,o.A)(S.root,h),"aria-sort":D,scope:R,ownerState:j},z))}))},74435:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i.A,getTableCellUtilityClass:()=>n.r,tableCellClasses:()=>n.A});var i=a(75199),n=a(48459)},48459:(e,t,a)=>{a.d(t,{A:()=>o,r:()=>r});var i=a(55549),n=a(9577);function r(e){return(0,n.Ay)("MuiTableCell",e)}const o=(0,i.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"])}}]);
//# sourceMappingURL=4435.02878d18.chunk.js.map