import{c as f,h as j,j as a,H as v}from"./app-BiexncSX.js";import{A as y}from"./app-layout-BB5SDrLz.js";import{S as A,e as k}from"./layout-DJiDge_Q.js";import{H as N}from"./heading-CDALPReo.js";import{c as d}from"./utils-DvRnx1Xn.js";import{j as S,f as _}from"./sun-D646Bdfj.js";import{M as H}from"./monitor-4BAY-8Q0.js";/* empty css            */import"./sonner-8z7PTnwf.js";import"./index-BphRgCCf.js";import"./loader-circle-C36m3ppM.js";import"./createLucideIcon-CiyItOCI.js";import"./triangle-alert-Dp60wOMH.js";import"./index-BLf-KPWz.js";import"./button-Cwvd_D5X.js";import"./index-Bx9iUFeV.js";import"./index-BKRdUh5V.js";import"./index-DRVc8jnD.js";import"./index-CqDcnRSI.js";import"./x-Cp4MPESs.js";import"./tooltip-CFZPZp2b.js";import"./index-B9bcoF29.js";import"./index-3q7cNFQn.js";import"./index-vCsTGnV6.js";import"./index-BxgPClSG.js";import"./index-CW_Do8vH.js";import"./index-BzyVuPsA.js";import"./index-jmbesBs1.js";import"./index-Dql7-O7m.js";import"./index-DDBh_SM-.js";import"./chevrons-up-down-B23gAN10.js";import"./bed-double-DlbqgL2k.js";import"./utensils-CU7nxPop.js";import"./globe-CZ3jv1ui.js";import"./chevron-right-D-bIFB2o.js";import"./house-CmuRWHdh.js";import"./separator-BE6xCedb.js";import"./index-Drs7entj.js";function w(t){const e=f.c(13);let r,o;e[0]!==t?({className:o,...r}=t,e[0]=t,e[1]=r,e[2]=o):(r=e[1],o=e[2]);const p=o===void 0?"":o,{appearance:m,updateAppearance:c}=j();let l;e[3]===Symbol.for("react.memo_cache_sentinel")?(l=[{value:"light",icon:S,label:"Light"},{value:"dark",icon:_,label:"Dark"},{value:"system",icon:H,label:"System"}],e[3]=l):l=e[3];const x=l;let s;e[4]!==p?(s=d("inline-flex gap-1 rounded-lg bg-neutral-100 p-1 dark:bg-neutral-800",p),e[4]=p,e[5]=s):s=e[5];let i;e[6]!==m||e[7]!==c?(i=x.map(h=>{const{value:u,icon:b,label:g}=h;return a.jsxs("button",{onClick:()=>c(u),className:d("flex items-center rounded-md px-3.5 py-1.5 transition-colors",m===u?"bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100":"text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60"),children:[a.jsx(b,{className:"-ml-1 h-4 w-4"}),a.jsx("span",{className:"ml-1.5 text-sm",children:g})]},u)}),e[6]=m,e[7]=c,e[8]=i):i=e[8];let n;return e[9]!==r||e[10]!==s||e[11]!==i?(n=a.jsx("div",{className:s,...r,children:i}),e[9]=r,e[10]=s,e[11]=i,e[12]=n):n=e[12],n}const L=[{title:"Appearance settings",href:k().url}];function fe(){const t=f.c(3);let e,r;t[0]===Symbol.for("react.memo_cache_sentinel")?(e=a.jsx(v,{title:"Appearance settings"}),r=a.jsx("h1",{className:"sr-only",children:"Appearance Settings"}),t[0]=e,t[1]=r):(e=t[0],r=t[1]);let o;return t[2]===Symbol.for("react.memo_cache_sentinel")?(o=a.jsxs(y,{breadcrumbs:L,children:[e,r,a.jsx(A,{children:a.jsxs("div",{className:"space-y-6",children:[a.jsx(N,{variant:"small",title:"Appearance settings",description:"Update your account's appearance settings"}),a.jsx(w,{})]})})]}),t[2]=o):o=t[2],o}export{fe as default};
