Files
boc/backups/2026-07-12-1023/landvex-prod/assets/Profile-C4xYBVXU.js
T

37 lines
37 KiB
JavaScript
Raw Normal View History

import{o as L,r as n,H as xe,c as Oe,j as e,e as Ae,P as he,d as ze,a9 as _e,aa as Be,i as D,ab as Fe,a as z,ac as fe,ad as Ve,q as v,S as Ue,ae as q,v as C,af as H,p as ge,a8 as ie,x as k,y as S,ag as P,ah as M,T as Je,A as X,a7 as $e,C as je,D as ye,w as T,ai as ne,aj as Ke,u as qe,a1 as Ge,k as He,n as Xe,U as Ze,ak as E,s as w,I as ce,al as Ye,M as Qe,am as We,an as es,a6 as ss,B as ts}from"./index-oAPVDf-r.js";import{D as as,a as rs,b as is,c as ns,u as cs,S as O}from"./dropdown-menu-CBJEO_Gg.js";import{B as U}from"./badge-Qwi4CUXx.js";import{u as os,A as oe}from"./useIdentityVerification-CD3mPBIt.js";import{C as ls}from"./check-CG8zylH4.js";import{P as ds}from"./progress-Cql_vZKU.js";import{R as ms}from"./refresh-cw-DEBvxUr1.js";import{C as Ne}from"./clock-DRtqJZUo.js";import{T as us}from"./trending-up-Be0ZnpBQ.js";import{E as ps}from"./eye-G89nJUb2.js";import{L as xs}from"./leaf-DHbwTQEy.js";import{Z as hs}from"./zap-RaPdKGJZ.js";import{S as fs,a as gs,b as js,c as ys,d as Ns}from"./select-Bi-TzF3J.js";import{M as vs}from"./mail-BT0S3dBU.js";import{S as le}from"./shield-BWGzcrms.js";import{C as bs}from"./circle-alert-C1Hs9zwh.js";import{B as J}from"./building-2-w77rCUKE.js";import{C as de}from"./credit-card-CfUVKCDe.js";import{P as ws}from"./palette-xHAcW495.js";import{S as ks}from"./save-BwjzM02b.js";import"./index-DGH-oZ97.js";import"./chevron-right-B9rMgght.js";import"./circle-030W8joh.js";import"./chevron-down-QDDHZwZg.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 Ss=L("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 me=L("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 Cs=L("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 ve=L("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 Is=L("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 Ps=L("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 Ms=L("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);var $="Switch",[Es]=Ae($),[Ds,Ts]=Es($),be=n.forwardRef((t,s)=>{const{__scopeSwitch:a,name:h,checked:c,defaultChecked:r,required:i,disabled:u,value:l="on",onCheckedChange:p,form:g,...f}=t,[d,x]=n.useState(null),o=xe(s,I=>x(I)),j=n.useRef(!1),y=d?g||!!d.closest("form"):!0,[N,R]=Oe({prop:c,defaultProp:r??!1,onChange:p,caller:$});return e.jsxs(Ds,{scope:a,checked:N,disabled:u,children:[e.jsx(he.button,{type:"button",role:"switch","aria-checked":N,"aria-required":i,"data-state":Ce(N),"data-disabled":u?"":void 0,disabled:u,value:l,...f,ref:o,onClick:ze(t.onClick,I=>{R(_=>!_),y&&(j.current=I.isPropagationStopped(),j.current||I.stopPropagation())})}),y&&e.jsx(Se,{control:d,bubbles:!j.current,name:h,value:l,checked:N,required:i,disabled:u,form:g,style:{transform:"translateX(-100%)"}})]})});be.displayName=$;var we="SwitchThumb",ke=n.forwardRef((t,s)=>{const{__scopeSwitch:a,...h}=t,c=Ts(we,a);return e.jsx(he.span,{"data-state":Ce(c.checked),"data-disabled":c.disabled?"":void 0,...h,ref:s})});ke.displayName=we;var Ls="SwitchBubbleInput",Se=n.forwardRef(({__scopeSwitch:t,control:s,checked:a,bubbles:h=!0,...c},r)=>{const i=n.useRef(null),u=xe(i,r),l=_e(a),p=Be(s);return n.useEffect(()=>{const g=i.current;if(!g)return;const f=window.HTMLInputElement.prototype,x=Object.getOwnPropertyDescriptor(f,"checked").set;if(l!==a&&x){const o=new Event("click",{bubbles:h});x.call(g,a),g.dispatchEvent(o)}},[l,a,h]),e.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:a,...c,tabIndex:-1,ref:u,style:{...c.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});Se.displayName=Ls;function Ce(t){return t?"checked":"unchecked"}var Ie=be,Rs=ke;const A=n.forwardRef(({className:t,...s},a)=>e.jsx(Ie,{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(Rs,{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")})}));A.displayName=Ie.displayName;const Os=[{id:"light",icon:fe},{id:"dark",icon:ve},{id:"auto",icon:Ve}];function As(){const{theme:t,setTheme:s,resolvedTheme:a,lightLevel:h}=Fe(),{t:c}=z(),r=Math.round(h/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 l=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",l?"border-primary bg-primary/10":"border-border hover:border-primary/50 hover:bg-muted/50"),children:[l&&e.jsx(v.div,{layoutId:"theme-indicator",className:"absolute inset-0 rounded-xl bg-primary/5 border-2 border-primary",transition:{type:"spring",bounce:.2,duration:.4}}),e.jsx("div",{className:D("relative z-10 w-10 h-10 rounded-full flex items-center justify-center transition-colors",l?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground"),children:e.jsx(u,{className:"w-5 h-5"})}),e.jsxs("div",{className:"relative z-10 text-center",children:[e.jsx("p",{className:D("text-sm font-medium transition-colors",l?"text-primary":"text-foreground"),children:c(`themeSelector.${i}.label`)}),e.jsx("p",{className:"text-xs text-muted-foreground mt-0.5",children:c(`themeSelector.${i}.description`)})]})]},i)})}),t==="auto"&&e.jsxs(v.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-muted/50 text-sm",children:[e.jsx(Ue,{className:"w-4 h-4 text-primary flex-shrink-0"}),e.jsxs("span",{className:"text-mute