38 lines
38 KiB
JavaScript
38 lines
38 KiB
JavaScript
|
|
import{x as A,r as c,j as e,P as Y,c as ze,O as je,d as Be,aa as Fe,ab as Ve,g as Ue,i as D,ac as $e,a as z,ad as ye,ae as qe,p as v,S as Ke,af as W,v as C,G as J,o as Ne,a9 as le,y as k,z as S,ag as E,ah as T,T as He,F as Q,a8 as Ge,C as ve,H as be,w as M,ai as de,aj as Xe,u as We,a2 as Ze,k as Je,n as Qe,U as Ye,ak as _,q as w,I as me,al as es,M as ss,am as ts,an as as,a7 as rs,B as is}from"./index-CZD3_4lD.js";import{D as ns,a as cs,b as os,c as ls,u as ds,S as I}from"./dropdown-menu-CFWQzY9-.js";import{B as q}from"./badge-D3Mn__J4.js";import{u as ms,A as ue}from"./useIdentityVerification-Cb6XYb0B.js";import{C as us}from"./check-CCL32zXH.js";import{P as ps}from"./progress-BVXi0hgU.js";import{R as xs}from"./refresh-cw-CCL0Gd2i.js";import{C as we}from"./clock-CHYQgZWG.js";import{T as hs}from"./trending-up-CVyK6WFK.js";import{E as fs}from"./eye-IKrhkOAd.js";import{L as gs}from"./leaf-BV-5O-4e.js";import{Z as js}from"./zap-DA9vuiyP.js";import{S as ys,a as Ns,b as vs,c as bs,d as ws}from"./select-Dcsz1esX.js";import{M as ks}from"./mail-C8_RqWpe.js";import{S as pe}from"./shield-DIM7u0gp.js";import{C as Ss}from"./circle-alert-DFiBooaQ.js";import{B as K}from"./building-2-BpMHggJ8.js";import{C as xe}from"./credit-card-C9X53A_j.js";import{P as Cs}from"./palette-BI1sulb6.js";import{S as Ps}from"./save-CMkrLPh2.js";import"./index-C6sfL5Wv.js";import"./chevron-right-Dvw0FPw3.js";import"./circle-CNf9xg3I.js";import"./chevron-down-DA--jGG2.js";/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const Es=A("BellOff",[["path",{d:"M8.7 3A6 6 0 0 1 18 8a21.3 21.3 0 0 0 .6 5",key:"o7mx20"}],["path",{d:"M17 17H3s3-2 3-9a4.67 4.67 0 0 1 .3-1.7",key:"16f1lm"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const he=A("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const Ts=A("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const ke=A("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const Ls=A("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const _s=A("Radar",[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]]);/**
|
||
|
|
* @license lucide-react v0.462.0 - ISC
|
||
|
|
*
|
||
|
|
* This source code is licensed under the ISC license.
|
||
|
|
* See the LICENSE file in the root directory of this source tree.
|
||
|
|
*/const Ds=A("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);var H="Switch",[Ms]=Ue(H),[Rs,ee]=Ms(H);function As(t){const{__scopeSwitch:s,checked:a,children:x,defaultChecked:n,disabled:r,form:i,name:u,onCheckedChange:d,required:m,value:j="on",internal_do_not_use_render:h}=t,[l,f]=ze({prop:a,defaultProp:n??!1,onChange:d,caller:H}),[o,g]=c.useState(null),[y,N]=c.useState(null),P=c.useRef(!1),L=o?!!i||!!o.closest("form"):!0,R={checked:l,setChecked:f,disabled:r,control:o,setControl:g,name:u,form:i,value:j,hasConsumerStoppedPropagationRef:P,required:m,defaultChecked:n,isFormControl:L,bubbleInput:y,setBubbleInput:N};return e.jsx(Rs,{scope:s,...R,children:Is(h)?h(R):x})}var Se="SwitchTrigger",Ce=c.forwardRef(({__scopeSwitch:t,onClick:s,...a},x)=>{const{value:n,disabled:r,checked:i,required:u,setControl:d,setChecked:m,hasConsumerStoppedPropagationRef:j,isFormControl:h,bubbleInput:l}=ee(Se,t),f=je(x,d);return e.jsx(Y.button,{type:"button",role:"switch","aria-checked":i,"aria-required":u,"data-state":_e(i),"data-disabled":r?"":void 0,disabled:r,value:n,...a,ref:f,onClick:Be(s,o=>{m(g=>!g),l&&h&&(j.current=o.isPropagationStopped(),j.current||o.stopPropagation())})})});Ce.displayName=Se;var se=c.forwardRef((t,s)=>{const{__scopeSwitch:a,name:x,checked:n,defaultChecked:r,required:i,disabled:u,value:d,onCheckedChange:m,form:j,...h}=t;return e.jsx(As,{__scopeSwitch:a,checked:n,defaultChecked:r,disabled:u,required:i,onCheckedChange:m,name:x,form:j,value:d,internal_do_not_use_render:({isFormControl:l})=>e.jsxs(e.Fragment,{children:[e.jsx(Ce,{...h,ref:s,__scopeSwitch:a}),l&&e.jsx(Le,{__scopeSwitch:a})]})})});se.displayName=H;var Pe="SwitchThumb",Ee=c.forwardRef((t,s)=>{const{__scopeSwitch:a,...x}=t,n=ee(Pe,a);return e.jsx(Y.span,{"data-state":_e(n.checked),"data-disabled":n.disabled?"":void 0,...x,ref:s})});Ee.displayName=Pe;var Te="SwitchBubbleInput",Le=c.forwardRef(({__scopeSwitch:t,...s},a)=>{const{control:x,hasConsumerStoppedPropagationRef:n,checked:r,defaultChecked:i,required:u,disabled:d,name:m,value:j,form:h,bubbleInput:l,setBubbleInput:f}=ee(Te,t),o=je(a,f),g=Fe(r),y=Ve(x);c.useEffect(()=>{const P=l;if(!P)return;const L=window.HTMLInputElement.prototype,B=Object.getOwnPropertyDescriptor(L,"checked").set,G=!n.current;if(g!==r&&B){const V=new Event("click",{bubbles:G});B.call(P,r),P.dispatchEvent(V)}},[l,g,r,n]);const N=c.useRef(r);return e.jsx(Y.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??N.current,required:u,disabled:d,name:m,value:j,form:h,...s,tabIndex:-1,ref:o,style:{...s.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Le.displayName=Te;function Is(t){return typeof t=="function"}function _e(t){return t?"checked":"unchecked"}const O=c.forwardRef(({className:t,...s},a)=>e.jsx(se,{className:D("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",t),...s,ref:a,children:e.jsx(Ee,{className:D("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})}));O.displayName=se.displayName;const Os=[{id:"light",icon:ye},{id:"dark",icon:ke},{id:"auto",icon:qe}];function zs(){const{theme:t,setTheme:s,resolvedTheme:a,lightLevel:x}=$e(),{t:n}=z(),r=Math.round(x/60*100);return e.jsxs("div",{className:"space-y-3",children:[e.jsx("div",{className:"grid grid-cols-3 gap-2",children:Os.map(({id:i,icon:u})=>{const d=t===i;return e.jsxs("button",{onClick:()=>s(i),className:D("relative flex flex-col items-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",d?"border-primary bg-primary/10":"border-border hover:border-primary/50 hover:bg-muted/50"),children:[d&&e.jsx(v.div,{layoutId:"theme-indicator",className:"ab
|
||
|
|
//# sourceMappingURL=Profile-Bs_7SKke.js.map
|