1"use strict";(self.webpackChunkbit_stack=self.webpackChunkbit_stack||[]).push([[3693],{18201:function(e,t,n){n.d(t,{Z:function(){return l}});var o=n(83655),i=(n(47313),n(77970)),r=n(46417),a=(0,o.default)(i.Z).withConfig({displayName:"Pagination__StyledPagination",componentId:"sc-1dodj3z-0"})(["font-family:Inter-Regular;font-size:12px;float:right;color:","!important;li{padding:0 6px!important;}& .Mui-selected{background-color:","!important;color:","!important;}"],(function(e){return e.theme.text2}),(function(e){return e.theme.bg1}),(function(e){return e.theme.text1}));function l(e){var t=e.total,n=e.page,o=e.onPaginationChange;return(0,r.jsx)(a,{page:n,count:t,onChange:o,shape:"rounded",size:"small"})}},20067:function(e,t,n){n.d(t,{Z:function(){return m}});var o=n(83655),i=n(93895),r=(n(47313),n(34776)),a=n(69548),l=n(37987),c=n(46417),s=(0,o.default)(a.T).withConfig({displayName:"PromptModal__ContentWrapper",componentId:"sc-tfk99y-0"})(["width:100%;padding:24px 32px;box-sizing:border-box;position:relative;"]),d=o.default.div.withConfig({displayName:"PromptModal__StyledDesc",componentId:"sc-tfk99y-1"})(["font-size:16px;font-family:Inter-Regular;color:",";line-height:20px;"],(function(e){return e.theme.text2})),u=o.default.div.withConfig({displayName:"PromptModal__StyledButtons",componentId:"sc-tfk99y-2"})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-top:50px;"]),p=o.default.div.withConfig({displayName:"PromptModal__StyledCancel",componentId:"sc-tfk99y-3"})(["width:64px;height:32px;background:",";border:1px solid ",";border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:12px;font-family:Inter-Bold;color:",";line-height:16px;margin-right:20px;cursor:pointer;"],(function(e){return e.theme.bg0}),(function(e){return e.theme.bg1}),(function(e){return e.theme.bg1})),f=(0,o.default)(l.zx).withConfig({displayName:"PromptModal__StyledConfirm",componentId:"sc-tfk99y-4"})(["width:64px;height:32px;background:",";border-radius:4px;display:flex!important;align-items:center;justify-content:center;font-size:12px!important;font-family:Inter-Bold;color:",";line-height:16px;cursor:pointer;"],(function(e){var t=e.theme;return e.disabled?t.bg7:t.bg1}),(function(e){return e.theme.text1}));function m(e){var t=e.open,n=e.togglePromptModal,o=e.onConfirm,a=e.prompt,l=e.pending;return(0,c.jsx)(r.Z,{isOpen:t,onDismiss:n,maxHeight:90,children:(0,c.jsxs)(s,{children:[(0,c.jsx)(d,{children:(0,c.jsx)(i.cC,{id:"{prompt}",values:{prompt:a}})}),(0,c.jsxs)(u,{children:[(0,c.jsx)(p,{onClick:n,children:(0,c.jsx)(i.cC,{id:"No"})}),(0,c.jsx)(f,{onClick:o,disabled:l,children:(0,c.jsx)(i.cC,{id:"Yes"})})]})]})})}},90573:function(e,t,n){n.d(t,{Z:function(){return u}});var o=n(83655),i=(n(47313),n(41727)),r=n(36668),a=n(15082),l=n(14195),c=n(46417),s=o.default.div.withConfig({displayName:"SearchInput__StyledSearchBox",componentId:"sc-18h4oo7-0"})(["width:",";"],(function(e){var t=e.width;return null!==t&&void 0!==t?t:"400px"})),d=(0,o.default)(a.Z).withConfig({displayName:"SearchInput__StyleSearchValidator",componentId:"sc-18h4oo7-1"})(["display:flex;align-items:flex-end;& .MuiInputLabel-root.Mui-focused{color:",";}& .MuiInputBase-formControl{background-color:",";height:","!important;}& .MuiFilledInput-root{border-radius:8px;font-family:Inter-Regular;font-size:14px;line-height:26px;color:",";border:1px solid ",";box-shadow:0px 4px 20px 0px rgba(26,32,44,0.05);padding-left:4px;:hover{background-color:",";}::before,:after{border:none!important;}::-webkit-input-placeholder{color:",";}::-moz-placeholder{color:",";}:-ms-input-placeholder{color:",";}input:-moz-placeholder{color:",";}}& .MuiFilledInput-root.Mui-error:after{}& .MuiFilledInput-root.Mui-focused{background-color:",";}& .MuiFilledInput-input{padding:12px;}"],(function(e){return e.theme.text5}),(function(e){return e.theme.bg0}),(function(e){var t=e.height;return null!==t&&void 0!==t?t:"40px"}),(function(e){return e.theme.text2}),(function(e){return e.theme.bg9}),(function(e){return e.theme.bg0}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.text5}),(function(e){return e.theme.bg0}));function u(e){var t=e.onSearchValue,n=e.width,o=e.height,a=e.placeholder,u=e.maxLength,p=e.defaultValue,f=(0,l.Z)().text8;return(0,c.jsx)(s,{width:n,children:(0,c.jsx)(d,{height:o,autoComplete:"off",defaultValue:p,inputProps:{maxLength:u},InputProps:{startAdornment:(0,c.jsx)(i.Z,{position:"end",children:(0,c.jsx)(r.Z,{icon:"search",size:16,color:f})})},placeholder:a,onChange:t,fullWidth:!0,variant:"filled"})})}},80964:function(e,t,n){n.r(t),n.d(t,{default:function(){return B}});var o,i=n(74165),r=n(15861),a=n(42982),l=n(1413),c=n(70885),s=n(83655),d=n(93895),u=n(47313),p=n(69548),f=n(36668),m=n(14195),h=n(45468),g=n(70158),x=n(31967),v=n(18201),b=n(36269),y=n(97075),Z=n(20067),I=n(90573),w=n(46417),S=(0,s.default)(p.T).withConfig({displayName:"ProtocolInherit__PageWrapper",componentId:"sc-1ogsitw-0"})([""]),C=s.default.div.withConfig({displayName:"ProtocolInherit__StyledPageTitleBox",componentId:"sc-1ogsitw-1"})(["display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;"]),j=s.default.div.withConfig({displayName:"ProtocolInherit__StyledPageTitle",componentId:"sc-1ogsitw-2"})(["font-size:20px;font-family:Inter-Bold;color:",";line-height:24px;"],(function(e){return e.theme.text2})),P=s.default.div.withConfig({displayName:"ProtocolInherit__StyledOptionBox",componentId:"sc-1ogsitw-3"})(["display:flex;flex-direction:row;align-items:center;"]),k=s.default.div.withConfig({displayName:"ProtocolInherit__StyledOptionBtn",componentId:"sc-1ogsitw-4"})(["cursor:pointer;margin-left:20px;"]),_=s.default.div.withConfig({displayName:"ProtocolInherit__StyledTableValue",componentId:"sc-1ogsitw-5"})(["font-size:14px;font-family:Inter-Regular;color:",";line-height:20px;max-width:300px;word-wrap:break-word;"],(function(e){return e.theme.text2})),M=s.default.div.withConfig({displayName:"ProtocolInherit__StyledHandleBox",componentId:"sc-1ogsitw-6"})(["display:flex;flex-direction:row;align-items:center;justify-content:space-around;"]),z=s.default.div.withConfig({displayName:"ProtocolInherit__StyledIconBtn",componentId:"sc-1ogsitw-7"})(["cursor:pointer;:hover{i{color:","!important;}}"],(function(e){return e.theme.text3})),N=s.default.div.withConfig({displayName:"ProtocolInherit__StyledPaginationBox",componentId:"sc-1ogsitw-8"})(["display:flex;flex-direction:row;align-items:center;justify-content:flex-end;margin-top:20px;"]),E=[{name:"ID",props:"id",align:"left"},{name:"Symbol",props:"symbol",align:"left"},{name:"ParentSymbol",props:"parentSymbol",align:"left"},{name:"",props:"handle",align:"right"}],O=[{label:"Symbol",props:"symbol",type:"select",data:[]},{label:"ParentSymbol",props:"parentSymbol",type:"select",data:[]}];function B(){var e=(0,m.Z)(),t=e.text3,n=e.text5,s=(0,u.useState)([]),p=(0,c.Z)(s,2),B=p[0],L=p[1],R=(0,u.useState)(null),F=(0,c.Z)(R,2),V=F[0],T=F[1],A=(0,u.useState)(!1),G=(0,c.Z)(A,2),D=G[0],H=G[1],W=(0,u.useState)(!1),q=(0,c.Z)(W,2),U=q[0],Q=q[1],Y=(0,u.useState)(!1),$=(0,c.Z)(Y,2),J=$[0],K=$[1],X=(0,y.i$)(),ee=(0,u.useState)(""),te=(0,c.Z)(ee,2),ne=te[0],oe=te[1],ie=(0,u.useState)(O),re=(0,c.Z)(ie,2),ae=re[0],le=re[1],ce=(0,u.useState)({pageSize:20,pageNum:1,total:0}),se=(0,c.Z)(ce,2),de=se[0],ue=se[1],pe=(0,g.u0)({model:"Currency",page:0,pageSize:1e3}),fe=(0,c.Z)(pe,1)[0],me=(0,g.u0)({model:"ProtocolInherit",page:de.pageNum-1,pageSize:de.pageSize,symbol:ne}),he=(0,c.Z)(me,3),ge=he[0],xe=he[1],ve=he[2];(0,u.useEffect)((function(){if(ge){var e=ge,o=e.data,i=e.total,r=[];o.forEach((function(e){var o,i,a,l,c,s,d,u,p,m,h=e.Id,g=e.ParentSymbol,x=e.Symbol;r.push((o=h,i=g,a=x,l=n,c=t,s=be,d=ye,u=V,p=D,m=U,{id:(0,w.jsx)(_,{children:o}),parentSymbol:(0,w.jsx)(_,{children:i}),symbol:(0,w.jsx)(_,{children:a}),handle:(0,w.jsxs)(M,{children:[(0,w.jsx)(z,{onClick:function(){return s({id:o,parentSymbol:i,symbol:a})},children:(0,w.jsx)(f.Z,{icon:"edit-box",type:u&&u.id==o&&p?"fill":"line",size:16,color:u&&u.id==o&&p?c:l})}),(0,w.jsx)(z,{onClick:function(){return d({id:o})},children:(0,w.jsx)(f.Z,{icon:"delete-bin-2",type:u&&u.id==o&&m?"fill":"line",size:16,color:u&&u.id==o&&m?c:l})})]})}))})),de.total=Math.ceil(i/de.pageSize),ue((0,l.Z)({},de)),L(r)}}),[ge]),(0,u.useEffect)((function(){if(fe){var e=fe.data,t=[];e.forEach((function(e){var n=e.Symbol;
1t.push({name:n,value:n})})),t.sort((function(e,t){var n=e.value.toUpperCase(),o=t.value.toUpperCase();return n<o?-1:n>o?1:0})),ae.forEach((function(e){e.data=t})),le((0,a.Z)(ae))}}),[fe]);var be=function(e){T(e),H(!0)},ye=function(e){Q(!0),T(e)},Ze=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(t){var n,o,r,a,l,c,s,d;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.id,o=t.symbol,r=t.parentSymbol,o!=r){e.next=3;break}return e.abrupt("return");case 3:if(K(!0),e.prev=4,a={model:"ProtocolInherit",Symbol:o,ParentSymbol:r},n&&Object.assign(a,{Id:n}),n){e.next=13;break}return e.next=10,(0,b.C_)(a);case 10:l=e.sent,e.next=16;break;case 13:return e.next=15,(0,b.Ow)(a);case 15:l=e.sent;case 16:s=(c=l).status,d=c.msg,s?(ve(),X("success",(n?"Edit":"Create")+" success","update-or-create-protocolInherit-success",2500),Ie()):X("error",d,"update-or-create-protocolInherit-error",2500),K(!1),e.next=25;break;case 21:e.prev=21,e.t0=e.catch(4),X("error",e.t0,"update-or-create-protocolInherit-error",2500),K(!1);case 25:case"end":return e.stop()}}),e,null,[[4,21]])})));return function(t){return e.apply(this,arguments)}}(),Ie=function(){T(null),H(!1)},we=function(){Q(!1),T(null)},Se=function(){var e=(0,r.Z)((0,i.Z)().mark((function e(){var t,n,o,r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=V.id)){e.next=13;break}return e.prev=2,e.next=5,(0,b.GQ)({model:"ProtocolInherit",Id:t});case 5:n=e.sent,o=n.status,r=n.msg,o?(ve(),X("success","Delete success","delete-protocolInherit-success",2500),we()):X("error",r,"delete-protocolInherit-error",2500),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),X("error",e.t0,"delete-protocolInherit-error",2500);case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(){return e.apply(this,arguments)}}(),Ce=(0,u.useMemo)((function(){return(0,w.jsx)(h.Z,{data:B,header:E,isPending:!!xe})}),[B]);return(0,w.jsxs)(S,{children:[(0,w.jsxs)(C,{children:[(0,w.jsx)(j,{children:(0,w.jsx)(d.cC,{id:"Protocol Inherit"})}),(0,w.jsxs)(P,{children:[(0,w.jsx)(I.Z,{onSearchValue:function(e){var t=e.target.value;o&&clearTimeout(o),o=setTimeout((function(){de.pageNum=1,ue((0,l.Z)({},de)),t.trim()?oe(t):oe("")}),500)},width:"100%",maxLength:200,placeholder:"Search symbol"}),(0,w.jsx)(k,{onClick:function(){H(!0)},children:(0,w.jsx)(f.Z,{icon:"add-circle",type:"fill",size:20,color:t})}),(0,w.jsx)(k,{onClick:function(){ve()},children:(0,w.jsx)(f.Z,{icon:"refresh",type:"fill",size:20,color:t})})]})]}),Ce,de.total>1&&(0,w.jsx)(N,{children:(0,w.jsx)(v.Z,{total:de.total,page:de.pageNum,onPaginationChange:function(e,t){de.pageNum=t,ue((0,l.Z)({},de))}})}),(0,w.jsx)(x.Z,{forms:ae,open:D,onSubmit:Ze,toggleAddressModal:Ie,row:V,isPending:J}),(0,w.jsx)(Z.Z,{open:U,togglePromptModal:we,onConfirm:Se,prompt:"Are you sure to delete this\uff1f"})]})}},70158:function(e,t,n){n.d(t,{ER:function(){return c},GW:function(){return l},px:function(){return s},u0:function(){return a}});var o=n(70885),i=n(47313),r=n(36269);function a(e){var t=(0,i.useRef)([]),n=(0,i.useState)(null),a=(0,o.Z)(n,2),l=a[0],c=a[1],s=(0,i.useState)(!0),d=(0,o.Z)(s,2),u=d[0],p=d[1];function f(){p(!0),(0,r.hF)(e,t.current).then((function(e){e.data?c(e.data):c(null)})).catch((function(e){c(null)})).finally((function(){p(!1)}))}return(0,i.useEffect)((function(){t.current.forEach((function(e){"function"===typeof e&&e()})),t.current=[],f()}),[e.page,e.symbol,e.chain,e.isAllowed,e.appId,e.userId]),[l,u,(0,i.useCallback)((function(){f()}),[e.page,e.symbol,e.chain,e.isAllowed,e.appId,e.userId])]}function l(){var e=(0,i.useState)(null),t=(0,o.Z)(e,2),n=t[0],a=t[1],l=(0,i.useState)(!0),c=(0,o.Z)(l,2),s=c[0],d=c[1];function u(){d(!0),(0,r.qD)().then((function(e){e.data?a(e.data):a(null)})).catch((function(e){a(null)})).finally((function(){d(!1)}))}return(0,i.useEffect)((function(){u()}),[]),[n,s,(0,i.useCallback)((function(){u()}),[])]}function c(){var e=(0,i.useState)(null),t=(0,o.Z)(e,2),n=t[0],a=t[1],l=(0,i.useState)(!0),c=(0,o.Z)(l,2),s=c[0],d=c[1];function u(){d(!0),(0,r.jm)().then((function(e){e.data?a(e.data):a(null)})).catch((function(e){a(null)})).finally((function(){d(!1)}))}return(0,i.useEffect)((function(){u()}),[]),[n,s,(0,i.useCallback)((function(){u()}),[])]}function s(){var e=(0,i.useState)(null),t=(0,o.Z)(e,2),n=t[0],a=t[1],l=(0,i.useState)(!0),c=(0,o.Z)(l,2),s=c[0],d=c[1];function u(){d(!0),(0,r.nj)().then((function(e){e.data?a(e.data):a(null)})).catch((function(e){a(null)})).finally((function(){d(!1)}))}return(0,i.useEffect)((function(){u()}),[]),[n,s,(0,i.useCallback)((function(){u()}),[])]}},41727:function(e,t,n){n.d(t,{Z:function(){return I}});var o=n(4942),i=n(63366),r=n(87462),a=n(47313),l=n(83061),c=n(21921),s=n(91615),d=n(98554),u=n(91397),p=n(99008),f=n(12354),m=n(44591);function h(e){return(0,m.Z)("MuiInputAdornment",e)}var g,x=(0,n(77430).Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),v=n(43530),b=n(46417),y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Z=(0,f.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,t["position".concat((0,s.Z)(n.position))],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((function(e){var t=e.theme,n=e.ownerState;return(0,r.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===n.variant&&(0,o.Z)({},"&.".concat(x.positionStart,"&:not(.").concat(x.hiddenLabel,")"),{marginTop:16}),"start"===n.position&&{marginRight:8},"end"===n.position&&{marginLeft:8},!0===n.disablePointerEvents&&{pointerEvents:"none"})})),I=a.forwardRef((function(e,t){var n=(0,v.Z)({props:e,name:"MuiInputAdornment"}),o=n.children,f=n.className,m=n.component,x=void 0===m?"div":m,I=n.disablePointerEvents,w=void 0!==I&&I,S=n.disableTypography,C=void 0!==S&&S,j=n.position,P=n.variant,k=(0,i.Z)(n,y),_=(0,p.Z)()||{},M=P;P&&_.variant,_&&!M&&(M=_.variant);var z=(0,r.Z)({},n,{hiddenLabel:_.hiddenLabel,size:_.size,disablePointerEvents:w,position:j,variant:M}),N=function(e){var t=e.classes,n=e.disablePointerEvents,o=e.hiddenLabel,i=e.position,r=e.size,a=e.variant,l={root:["root",n&&"disablePointerEvents",i&&"position".concat((0,s.Z)(i)),a,o&&"hiddenLabel",r&&"size".concat((0,s.Z)(r))]};return(0,c.Z)(l,h,t)}(z);return(0,b.jsx)(u.Z.Provider,{value:null,children:(0,b.jsx)(Z,(0,r.Z)({as:x,ownerState:z,className:(0,l.Z)(N.root,f),ref:t},k,{children:"string"!==typeof o||C?(0,b.jsxs)(a.Fragment,{children:["start"===j?g||(g=(0,b.jsx)("span",{className:"notranslate",children:"\u200b"})):null,o]}):(0,b.jsx)(d.Z,{color:"text.secondary",children:o})}))})}))},69046:function(e,t,n){n.d(t,{Z:function(){return j}});var o=n(4942),i=n(63366),r=n(87462),a=n(47313),l=n(83061),c=n(21921),s=n(17551),d=n(12354),u=n(43530),p=n(51195),f=n(67999),m=n(24993),h=n(86983),g=n(77430);var x=(0,g.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var v=(0,g.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]),b=n(11081),y=n(44591);function Z(e){return(0,y.Z)("MuiMenuItem",e)}var I=(0,g.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),w=n(46417),S=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex"],C=(0,d.ZP)(f.Z,{shouldForwardProp:function(e){return(0,d.FO)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((function(e){var t,n=e.theme,i=e.ownerState;return(0,r.Z)({},n.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!i.disableGutters&&{paddingLeft:16,paddingRight:16},i.divider&&{borderBottom:"1px solid ".concat((n.vars||n).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(n.vars||n).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},(0,o.Z)(t,"&.".concat(I.selected),(0,o.Z)({backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,s.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)},"&.".concat(I.focusVisible),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.focusOpacity,"))"):(0,s.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.focusOpacity)})),(0,o.Z)(t,"&.".concat(I.selected,":hover"),{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / calc(").concat(n.vars.palette.action.selectedOpacity," + ").concat(n.vars.palette.action.hoverOpacity,"))"):(0,s.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity+n.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:n.vars?"rgba(".concat(n.vars.palette.primary.mainChannel," / ").concat(n.vars.palette.action.selectedOpacity,")"):(0,s.Fq)(n.palette.primary.main,n.palette.action.selectedOpacity)}}),(0,o.Z)(t,"&.".concat(I.focusVisible),{backgroundColor:(n.vars||n).palette.action.focus}),(0,o.Z)(t,"&.".concat(I.disabled),{opacity:(n.vars||n).palette.action.disabledOpacity}),(0,o.Z)(t,"& + .".concat(x.root),{marginTop:n.spacing(1),marginBottom:n.spacing(1)}),(0,o.Z)(t,"& + .".concat(x.inset),{marginLeft:52}),(0,o.Z)(t,"& .".concat(b.Z.root),{marginTop:0,marginBottom:0}),(0,o.Z)(t,"& .".concat(b.Z.inset),{paddingLeft:36}),(0,o.Z)(t,"& .".concat(v.root),{minWidth:36}),t),!i.dense&&(0,o.Z)({},n.breakpoints.up("sm"),{minHeight:"auto"}),i.dense&&(0,r.Z)({minHeight:32,paddingTop:4,paddingBottom:4},n.typography.body2,(0,o.Z)({},"& .".concat(v.root," svg"),{fontSize:"1.25rem"})))})),j=a.forwardRef((function(e,t){var n=(0,u.Z)({props:e,name:"MuiMenuItem"}),o=n.autoFocus,s=void 0!==o&&o,d=n.component,f=void 0===d?"li":d,g=n.dense,x=void 0!==g&&g,v=n.divider,b=void 0!==v&&v,y=n.disableGutters,I=void 0!==y&&y,j=n.focusVisibleClassName,P=n.role,k=void 0===P?"menuitem":P,_=n.tabIndex,M=(0,i.Z)(n,S),z=a.useContext(p.Z),N={dense:x||z.dense||!1,disableGutters:I},E=a.useRef(null);(0,m.Z)((function(){s&&E.current&&E.current.focus()}),[s]);var O,B=(0,r.Z)({},n,{dense:N.dense,divider:b,disableGutters:I}
1),L=function(e){var t=e.disabled,n=e.dense,o=e.divider,i=e.disableGutters,a=e.selected,l=e.classes,s={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",o&&"divider",a&&"selected"]},d=(0,c.Z)(s,Z,l);return(0,r.Z)({},l,d)}(n),R=(0,h.Z)(E,t);return n.disabled||(O=void 0!==_?_:-1),(0,w.jsx)(p.Z.Provider,{value:N,children:(0,w.jsx)(C,(0,r.Z)({ref:R,role:k,tabIndex:O,component:f,focusVisibleClassName:(0,l.Z)(L.focusVisible,j)},M,{ownerState:B,classes:L}))})}))}}]);
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.