import{jsxs as i,Fragment as c,jsx as t}from"react/jsx-runtime";import{B as e,g as l}from"./ui-components-B24mpb8o.js";import{D as h}from"./layout-CZk01yM3.js";import{Head as u,Link as m}from"@inertiajs/react";import{ArrowLeft as f,Eye as v}from"lucide-react";import x from"./job-circular-form-Y0Ervmk3.js";import"next-themes";import"sonner";import"react";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";import"./main-Cv60h411.js";import"./theme-colors-CLpwvDr4.js";import"./appearance-zLWEcDPI.js";import"./language-79bZLpyc.js";import"./notification-BBQVVMqD.js";import"date-fns";import"./app-logo-CAnM-q9p.js";import"./route-D0xh7FtZ.js";import"./use-lang-Cw_jKJYs.js";import"./combobox-gnkJUuRk.js";import"./datetime-picker-CJJWviSb.js";import"./input-error-BbsDx4-P.js";import"./switch-r95oaeM6.js";import"./tag-input-DBQ_pLC2.js";import"@yaireo/tagify";import"richtor";/* empty css                */const b=({jobCircular:r,statuses:p,translate:a})=>{const{button:s,dashboard:g,common:n}=a,d=o=>t(l,{variant:{draft:"outline",active:"default",paused:"secondary",closed:"destructive",expired:"destructive"}[o]||"outline",children:p[o]||o});return i(c,{children:[t(u,{title:`Edit ${r.title}`}),i("div",{className:"space-y-6",children:[i("div",{className:"flex items-center justify-between",children:[i("div",{className:"flex items-center gap-4",children:[t(e,{variant:"outline",size:"icon",asChild:!0,children:t(m,{href:route("job-circulars.index"),children:t(f,{className:"h-4 w-4"})})}),i("div",{className:"flex items-center gap-3",children:[t("h1",{className:"text-xl font-semibold",children:s.edit_job}),d(r.status)]})]}),t(e,{variant:"outline",asChild:!0,children:i(m,{href:route("job-circulars.show",r.id),children:[t(v,{className:"mr-2 h-4 w-4"}),n.preview]})})]}),t(x,{jobCircular:r})]})]})};b.layout=r=>t(h,{children:r});export{b as default};
