"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9491],{212917:function(t,e,n){const o=n(667294).createContext({});e.Z=o},749491:function(t,e,n){n.r(e),n.d(e,{default:function(){return w},getImageListUtilityClass:function(){return d},imageListClasses:function(){return g}});var o=n(263366),a=n(487462),r=n(794780),s=n(490512),i=n(667294),l=n(690948),c=n(471657),u=n(1588),m=n(34867);function d(t){return(0,m.Z)("MuiImageList",t)}var g=(0,u.Z)("MuiImageList",["root","masonry","quilted","standard","woven"]),p=n(212917),f=n(785893);const v=["children","className","cols","component","rowHeight","gap","style","variant"],Z=(0,l.ZP)("ul",{name:"MuiImageList",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[n.variant]]}})((({ownerState:t})=>(0,a.Z)({display:"grid",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"},"masonry"===t.variant&&{display:"block"})));var w=i.forwardRef((function(t,e){const n=(0,c.Z)({props:t,name:"MuiImageList"}),{children:l,className:u,cols:m=2,component:g="ul",rowHeight:w="auto",gap:h=4,style:y,variant:C="standard"}=n,k=(0,o.Z)(n,v),L=i.useMemo((()=>({rowHeight:w,gap:h,variant:C})),[w,h,C]);i.useEffect((()=>{0}),[]);const I="masonry"===C?(0,a.Z)({columnCount:m,columnGap:h},y):(0,a.Z)({gridTemplateColumns:`repeat(${m}, 1fr)`,gap:h},y),M=(0,a.Z)({},n,{component:g,gap:h,rowHeight:w,variant:C}),N=(t=>{const{classes:e,variant:n}=t,o={root:["root",n]};return(0,r.Z)(o,d,e)})(M);return(0,f.jsx)(Z,(0,a.Z)({as:g,className:(0,s.Z)(N.root,N[C],u),ref:e,style:I,ownerState:M},k,{children:(0,f.jsx)(p.Z.Provider,{value:L,children:l})}))}))}}]);