import{jsx as r,jsxs as i}from"react/jsx-runtime";import{A as s}from"./app-logo-CAnM-q9p.js";import{A as n}from"./appearance-zLWEcDPI.js";import{N as c}from"./notification-BBQVVMqD.js";import{P as d}from"./profile-toggle-E46Ne1rK.js";import{w as l,B as m}from"./ui-components-B24mpb8o.js";import{u as f}from"./use-screen-CJI_WQZy.js";import{usePage as u,Link as h}from"@inertiajs/react";import{Expand as g,Minimize as x,Menu as y}from"lucide-react";import"react";import"./theme-colors-CLpwvDr4.js";import"date-fns";import"nanoid";import"next-themes";import"sonner";import"@radix-ui/react-label";import"class-variance-authority";import"@radix-ui/react-checkbox";import"@radix-ui/react-avatar";import"@radix-ui/react-dropdown-menu";import"@radix-ui/react-scroll-area";import"@radix-ui/react-popover";import"@radix-ui/react-radio-group";import"@radix-ui/react-dialog";import"@radix-ui/react-slot";import"clsx";import"@radix-ui/react-separator";import"@radix-ui/react-tooltip";import"@radix-ui/react-tabs";import"@radix-ui/react-accordion";import"@radix-ui/react-progress";import"@radix-ui/react-select";import"cmdk";import"@radix-ui/react-switch";import"react-day-picker";import"@radix-ui/react-slider";import"embla-carousel-react";import"@radix-ui/react-toggle-group";import"vaul";import"tailwind-merge";const pr=()=>{const{screen:t}=f(),{open:p,toggleSidebar:e}=l(),{props:o}=u(),{translate:a}=o,{button:b}=a;return o.auth.user,r("header",{className:"bg-primary dark:bg-primary-dark text-primary-foreground dark:text-primary sticky top-0 z-50 h-[60px]",children:i("div",{className:"flex h-full items-center justify-between gap-3 px-4 md:px-8",children:[r(h,{href:"/",children:r(s,{theme:"light"})}),r("p",{className:"hidden font-semibold sm:block",children:o.course.title}),i("div",{className:"mr-0 flex items-center gap-2",children:[r(n,{}),r(c,{}),t>768&&r(m,{size:"icon",variant:"secondary",onClick:()=>e(),className:"border-secondary-light text-secondary-foreground hover:text-secondary-foreground rounded-full",children:p?r(g,{}):r(x,{})}),r(d,{}),t<768&&r(m,{size:"icon",variant:"secondary",onClick:()=>e(),className:"border-secondary-light text-secondary-foreground hover:text-secondary-foreground rounded-full",children:r(y,{})})]})]})})};export{pr as default};
