PageSourceSearch

https://www-static.gaiagps.com/assets/29846598-936a7577/MenuItem-oEghWD1H.js

js gaiagps.com collected 2026-10-01 10:36:01 UTC 4,339 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`production-pr13763-936a757`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`b8b03099-121a-4a4e-abc8-e48c4ad0c6b2`,e._sentryDebugIdIdentifier=`sentry-dbid-b8b03099-121a-4a4e-abc8-e48c4ad0c6b2`)}catch{}})();import{o as e}from"./chunk-BK4IZwoa.js";import{M as t,j as n}from"./zod-D3QJqxCI.js";import{s as r}from"./createTheme-Dy22Nttz.js";import{_ as i,c as a,f as o,g as s,n as c,r as l,s as u,t as d}from"./useForkRef-D1rEitmb.js";import{t as f}from"./clsx-Dw6FEz10.js";import{t as p}from"./useEnhancedEffect-BdVuLxmo.js";import{t as m}from"./ButtonBase-BT0JjyfK.js";import{t as h}from"./dividerClasses-DJuIyXy9.js";import{t as g}from"./ListContext-B1293W1X.js";import{n as _}from"./listItemIconClasses-hWjvxSGU.js";import{n as v}from"./listItemTextClasses-BxJpF6MJ.js";var y=e(t());function b(e){return i(`MuiMenuItem`,e)}var x=s(`MuiMenuItem`,[`root`,`focusVisible`,`dense`,`disabled`,`divider`,`gutters`,`selected`]),S=n(),C=(e,t)=>{let{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},w=e=>{let{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:s}=e,c=o({root:[`root`,n&&`dense`,t&&`disabled`,!i&&`gutters`,r&&`divider`,a&&`selected`]},b,s);return{...s,...c}},T=u(m,{shouldForwardProp:e=>a(e)||e===`classes`,name:`MuiMenuItem`,slot:`Root`,overridesResolver:C})(l(({theme:e})=>({...e.typography.body1,display:`flex`,justifyContent:`flex-start`,alignItems:`center`,position:`relative`,textDecoration:`none`,minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:`border-box`,whiteSpace:`nowrap`,"&:hover":{textDecoration:`none`,backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:`transparent`}},[`&.${x.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:r(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${x.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:r(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${x.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:r(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:r(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${x.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${x.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${h.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${h.inset}`]:{marginLeft:52},[`& .${v.root}`]:{marginTop:0,marginBottom:0},[`& .${v.inset}`]:{paddingLeft:36},[`& .${_.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:`padding-box`}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up(`sm`)]:{minHeight:`auto`}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${_.root} svg`]:{fontSize:`1.25rem`}}}]}))),E=y.forwardRef(function(e,t){let n=c({props:e,name:`MuiMenuItem`}),{autoFocus:r=!1,component:i=`li`,dense:a=!1,divider:o=!1,disableGutters:s=!1,focusVisibleClassName:l,role:u=`menuitem`,tabIndex:m,className:h,..._}=n,v=y.useContext(g),b=y.useMemo(()=>({dense:a||v.dense||!1,disableGutters:s}),[v.dense,a,s]),x=y.useRef(null);p(()=>{r&&x.current&&x.current.focus()},[r]);let C={...n,dense:b.dense,divider:o,disableGutters:s},E=w(n),D=d(x,t),O;return n.disabled||(O=m===void 0?-1:m),(0,S.jsx)(g.Provider,{value:b,children:(0,S.jsx)(T,{ref:D,role:u,tabIndex:O,component:i,focusVisibleClassName:f(E.focusVisible,l),className:f(E.root,h),..._,ownerState:C,classes:E})})});export{E as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.