PageSourceSearch

https://saintbenedict.ca/build/common_admin_layout-Du2CJe0Y.js

js saintbenedict.ca collected 2026-09-26 14:41:49 UTC 2,405 bytes, 1 lines download raw bytes

1import{d as i,j as e,p as $,q as j}from"./index-yjs0jCN1.js";import{u as f}from"./admin_layout_base-DUwP-dbX.js";import{P as r}from"./layout-CjNw_1vT.js";const v=i.styled("div",{width:"$14",height:"100vh",position:"sticky",top:0,display:"flex",flexDirection:"column",alignItems:"center",paddingBlock:"$4",paddingInline:"$3",backgroundColor:"$background",borderRight:"1px solid $gray4"});function y(){return e.jsx(v,{children:e.jsx("a",{href:"/admin",children:e.jsx(i.Image,{src:"/remix/assets/images/tilma-logo.svg",alt:"Tilma Logo",css:{maxWidth:"$6",width:"100%"}})})})}const b=i.styled("div",{position:"sticky",top:0,height:"$$adminNavHeight",width:"100%",backgroundColor:"$background",borderBottom:"1px solid $gray4",alignItems:"center",paddingInline:"$4",gap:"$3",zIndex:"$default",display:"grid",gridTemplateAreas:'"start center end"'});function k({children:t}){return e.jsx(i.StackingProvider,{layer:"floating",children:o=>e.jsx(b,{style:{zIndex:o},children:t})})}const C=i.globalCss({html:{minHeight:"100%",height:"100%",backgroundColor:"$gray5"},body:{minHeight:"100%",backgroundColor:"$gray5"},a:{appearance:"none",textDecoration:"none"}});function w(t){var d;C();const{children:o,title:s,tabs:a,hideSidebar:l=!1}=t,g=$(),{pathname:h}=j(),{AdminContextProvider:m,backPath:x,Actions:u}=f(t);return e.jsx(m,{children:e.jsxs(i.HStack,{space:"none",css:{width:"100%",backgroundColor:"$groupedBackground",color:"$label",$$adminNavHeight:"$sizes$15"},children:[!l&&e.jsx(y,{}),e.jsxs(i.VStack,{css:{flexGrow:1,minHeight:"100vh"},space:"none",children:[e.jsxs(k,{children:[e.jsx(r.Start,{children:e.jsxs(i.HStack,{align:"center",css:{height:"$$adminNavHeight"},children:[e.jsx(i.Button,{as:"a",href:x,round:!0,color:"tertiary",size:"small",appearance:"minimal",iconBefore:i.ChevronLeftIcon,children:"Back"}),s&&e.jsxs(e.Fragment,{children:[e.jsx(i.Separator,{orientation:"vertical",css:{height:"calc(100% - $6)"}}),e.jsx(i.Heading,{size:"subHeadline",children:s})]})]})}),e.jsx(r.Center,{children:a&&e.jsx(i.Tabs,{onSelectionChange:n=>{var c;((c=a.find(p=>n===p.key))==null?void 0:c.routingMode)==="server"?window.location.href=n:g(n)},selectedKey:(d=a.find(n=>h.includes(n.key)))==null?void 0:d.key,items:a,inline:!0,panel:!1,css:{"> div":{height:"calc($$adminNavHeight - 2px)",marginBottom:"-2px"}}})}),e.jsx(r.End,{children:e.jsx(i.ButtonGroup,{children:e.jsx(u,{})})})]}),o]})]})})}export{w as C};

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.