PageSourceSearch

https://aibr.org/build/assets/AuthenticatedLayout-SjaSIc0b.js

js aibr.org collected 2026-09-24 09:33:53 UTC 3,985 bytes, 1 lines download raw bytes

1import{r as m,j as e,d as x}from"./app-belrbPXN.js";import{A as h}from"./ApplicationLogo-ZTC-5AHJ.js";import{N as a,D as i,R as n}from"./ResponsiveNavLink-XjpKtXWa.js";import{_ as s}from"./Lang-BxT6IC8I.js";import{N as u}from"./chunk-HRMF5D3P-uRjUi5Tf.js";import"./transition-QhzdKtqK.js";import"./import-0kiaZdOS.js";import"./import-CF4r66r5.js";import"./import-QsBJSc9f.js";import"./real-module-p6qORkc6.js";import"./import-_-a0l05m.js";function D({user:r,header:o,children:d}){const[t,l]=m.useState(!1);return r?e.jsx(u,{children:e.jsxs("div",{className:"min-h-screen bg-gray-100",children:[e.jsxs("nav",{className:"bg-white border-b border-gray-100",children:[e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:e.jsxs("div",{className:"flex justify-between h-16",children:[e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"shrink-0 flex items-center",children:e.jsx(x,{href:"/",children:e.jsx(h,{className:"block h-9 w-auto fill-current text-gray-800"})})}),e.jsxs("div",{className:"hidden space-x-8 sm:-my-px sm:ms-10 sm:flex",children:[e.jsx(a,{href:route("backoffice.dashboard"),active:route().current("dashboard"),
1children:s("Dashboard")}),e.jsx(a,{href:route("backoffice.noticia.index"),active:route().current("tag"),children:s("News")}),e.jsx(a,{href:route("backoffice.people.index"),active:route().current("people"),children:s("People")})]})]}),e.jsx("div",{className:"hidden sm:flex sm:items-center sm:ms-6",children:e.jsx("div",{className:"ms-3 relative",children:e.jsxs(i,{children:[e.jsx(i.Trigger,{children:e.jsx("span",{className:"inline-flex rounded-md",children:e.jsxs("button",{type:"button",className:"inline-flex items-center px-3 py-2 border border-transparent text-sm leading-4 font-medium rounded-md text-gray-500 bg-white hover:text-gray-700 focus:outline-none transition ease-in-out duration-150",children:[r.name,e.jsx("svg",{className:"ms-2 -me-0.5 h-4 w-4",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:e.jsx("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"})})]})})}),e.jsx(i.Content,{children:e.jsx(i.Link,{href:route("backoffice.logout"),method:"post",as:"button",children:s("Log Out")})})]})})}),e.jsx("div",{className:"-me-2 flex items-center sm:hidden",children:e.jsx("button",{onClick:()=>l(c=>!c),className:"inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out",children:e.jsxs("svg",{className:"h-6 w-6",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24",children:[e.jsx("path",{className:t?"hidden":"inline-flex",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"}),e.jsx("path",{className:t?"inline-flex":"hidden",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})]})})})]})}),e.jsxs("div",{className:(t?"block":"hidden")+" sm:hidden",children:[e.jsx("div",{className:"pt-2 pb-3 space-y-1",children:e.jsx(n,{href:route("backoffice.dashboard"),active:route().current("dashboard"),
1children:s("Dashboard")})}),e.jsxs("div",{className:"pt-4 pb-1 border-t border-gray-200",children:[e.jsxs("div",{className:"px-4",children:[e.jsx("div",{className:"font-medium text-base text-gray-800",children:r.name}),e.jsx("div",{className:"font-medium text-sm text-gray-500",children:r.email})]}),e.jsxs("div",{className:"mt-3 space-y-1",children:[e.jsx(n,{href:route("profile.edit"),children:"Profile"}),e.jsx(n,{method:"post",href:route("backoffice.logout"),as:"button",children:s("Log Out")})]})]})]})]}),o&&e.jsx("header",{className:"bg-white shadow",children:e.jsx("div",{className:"max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8",children:o})}),e.jsx("main",{children:d})]})}):location.replace(route("backoffice.login"))}export{D as default};

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.