PageSourceSearch

https://fairsci.com/assets/ActivityToolbar-BJxAp6PJ.js

js fairsci.com collected 2026-10-07 09:31:20 UTC 1,135 bytes, 1 lines download raw bytes

1import{aE as o,g as i,ao as p,w as l,aq as h,an as f}from"./vendor-mui-C8J6uRwG.js";import{an as b}from"./index-C7Gonxhq.js";const T=({viewMode:a,onViewModeChange:s,viewOptions:t,topControls:u,bottomControls:c})=>o.jsxs(i,{component:"aside",sx:{width:"34px",height:"100%",display:"flex",flexDirection:"column",backgroundColor:"background.paper",mr:1},children:[o.jsxs(i,{sx:{flexGrow:1,overflowY:"auto",overflowX:"hidden"},children:[o.jsx(p,{orientation:"vertical",value:a,exclusive:!0,onChange:(r,e)=>{e!==null&&s?.(e)},size:"small",sx:{"& .MuiToggleButton-root":{border:"none",borderRadius:0,backgroundColor:"background.paper"},"& .MuiToggleButton-root.Mui-selected":{color:"primary.main",backgroundColor:"background.default"},"& .MuiToggleButton-root:hover":{backgroundColor:"background.default"}},children:t.flatMap(({value:r,icon:e,label:d,dividerAfter:x},g)=>{const m=b[e],n=[o.jsx(h,{title:d,placement:"right",children:o.jsx(f,{value:r,sx:{color:"inherit"},children:o.jsx(m,{size:20})})},r)];return x&&g<t.length-1&&n.push(o.jsx(l,{flexItem:!0,sx:{my:.2}},`${r}-divider`)),n})}),o.jsx(l,{flexItem:!0}),u]}),c]});export{T as A};

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.