PageSourceSearch

https://telepros.ai/assets/Dashboard-Cet-zfiV.js

js telepros.ai collected 2026-10-05 14:45:05 UTC 21,680 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DashboardSetup-BK7MZKOf.js","assets/radix-ui-DmTA8EHx.js","assets/react-CCXF09xa.js","assets/react-router-BtSC3AxY.js","assets/index-DvQAyT1B.js","assets/supabase-6TCzrW8x.js","assets/ui-utils-dy43baGK.js","assets/state-BvMenrQ3.js","assets/animation-DH3BVMx6.js","assets/index-DaUnrVlK.css","assets/progress-DAnSj_Da.js","assets/input-X0VufjoZ.js","assets/label-r1R8Z33n.js","assets/forms-BKxlUlu-.js","assets/alert-Do94iB5G.js","assets/dialog-DCRLfBY6.js","assets/voice-ai-6Q-yTVzv.js"])))=>i.map(i=>d[i]);
2import{_ as ee}from"./supabase-6TCzrW8x.js";import{j as e,m as ae,p as te,q as re,r as I,s as se,O as C,t as z,v as O,S as x}from"./radix-ui-DmTA8EHx.js";import{r as s}from"./react-CCXF09xa.js";import{X as ie,a as y,q as oe,r as ne,P as de,S as le,s as ce,u as ue,p as be,A as fe}from"./ui-utils-dy43baGK.js";import{e as n,T as me,B as T,f as pe,g as ge,h as xe,U as he}from"./index-DvQAyT1B.js";import{I as ve}from"./input-X0VufjoZ.js";import{b as we,d as Ne,u as je,R as ye,c as R}from"./react-router-BtSC3AxY.js";const j=768;function Se(){const[a,t]=s.useState(void 0);return s.useEffect(()=>{const r=window.matchMedia(`(max-width: ${j-1}px)`),i=()=>{t(window.innerWidth<j)};return r.addEventListener("change",i),t(window.innerWidth<j),()=>r.removeEventListener("change",i)},[]),!!a}var Re="Separator",_="horizontal",_e=["horizontal","vertical"],A=s.forwardRef((a,t)=>{const{decorative:r,orientation:i=_,...o}=a,l=Me(i)?i:_,f=r?{role:"none"}:{"aria-orientation":l==="vertical"?l:void 0,role:"separator"};return e.jsx(ae.div,{"data-orientation":l,...f,...o,ref:t})});A.displayName=Re;function Me(a){return _e.includes(a)}var B=A;const D=s.forwardRef(({className:a,orientation:t="horizontal",decorative:r=!0,...i},o)=>e.jsx(B,{ref:o,decorative:r,orientation:t,className:n("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",a),...i}));D.displayName=B.displayName;const ke=te,Ee=re,L=s.forwardRef(({className:a,...t},r)=>e.jsx(C,{className:n("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...t,ref:r}));L.displayName=C.displayName;const Ie=y("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),P=s.forwardRef(({side:a="right",className:t,children:r,...i},o)=>e.jsxs(Ee,{children:[e.jsx(L,{}),e.jsxs(I,{ref:o,className:n(Ie({side:a}),t),...i,children:[r,e.jsxs(se,{className:"absolute right-4 top-4 roun
2ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[e.jsx(ie,{className:"h-4 w-4"}),e.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));P.displayName=I.displayName;const Ce=s.forwardRef(({className:a,...t},r)=>e.jsx(z,{ref:r,className:n("text-lg font-semibold text-foreground",a),...t}));Ce.displayName=z.displayName;const ze=s.forwardRef(({className:a,...t},r)=>e.jsx(O,{ref:r,className:n("text-sm text-muted-foreground",a),...t}));ze.displayName=O.displayName;function M({className:a,...t}){return e.jsx("div",{className:n("animate-pulse rounded-md bg-muted",a),...t})}const Oe="sidebar:state",Te=60*60*24*7,Ae="16rem",Be="18rem",De="3rem",Le="b",G=s.createContext(null);function h(){const a=s.useContext(G);if(!a)throw new Error("useSidebar must be used within a SidebarProvider.");return a}const V=s.forwardRef(({defaultOpen:a=!0,open:t,onOpenChange:r,className:i,style:o,children:l,...u},f)=>{const d=Se(),[m,c]=s.useState(!1),[v,J]=s.useState(a),g=t??v,w=s.useCallback(b=>{const p=typeof b=="function"?b(g):b;r?r(p):J(p),document.cookie=`${Oe}=${p}; path=/; max-age=${Te}`},[r,g]),N=s.useCallback(()=>d?c(b=>!b):w(b=>!b),[d,w,c]);s.useEffect(()=>{const b=p=>{p.key===Le&&(p.metaKey||p.ctrlKey)&&(p.preventDefault(),N())};return window.addEventListener("keydown",b),()=>window.removeEventListener("keydown",b)},[N]);const S=g?"expanded":"collapsed",Z=s.useMemo(()=>({state:S,open:g,setOpen:w,isMobile:d,openMobile:m,setOpenMobile:c,toggleSidebar:N}),[S,g,w,d,m,c,N]);return e.jsx(G.Provider,{value:Z,children:e.jsx(me,{delayDuration:0,children:e.jsx("div",{style:{"--sidebar-width":Ae,"--sidebar-width-icon":De,...o},className:n("group/sidebar-wrapper flex min-h-svh w-full has-[[data-variant=inset]]:bg-sidebar",i),ref:f,...u,children:l})})})});V.displayName="SidebarProvider";const $=s.forwardRef(({side:a="left",variant:t="sidebar",collapsible:r="offcanvas",className:i,children:o,...l},u)=>{const{isMobile:f,state:d,openMobile:m,setOpenMobile:c}=h();return r==="none"?e.jsx("div",{className:n("flex h-full w-[--sidebar-width] flex-col bg-sidebar text-sidebar-foreground",i),ref:u,...l,children:o}):f?e.jsx(ke,{open:m,onOpenChange:c,...l,children:e.jsx(P,{"data-sidebar":"sidebar","data-mobile":"true",className:"w-[--sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",style:{"--sidebar-width":Be},side:a,children:e.jsx("div",{className:"flex h-full w-full flex-col",children:o})})}):e.jsxs("div",{ref:u,className:"group peer hidden md:block text-sidebar-foreground","data-state":d,"data-collapsible":d==="collapsed"?r:"","data-variant":t,"data-side":a,children:[e.jsx("div",{className:n("duration-200 relative h-svh w-[--sidebar-width] bg-transparent transition-[width] ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180",t==="floating"||t==="inset"?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4))]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon]")}),e.jsx("div",{className:n("duration-200 fixed inset-y-0 z-10 hidden h-svh w-[--sidebar-width] transition-[left,right,width] ease-linear md:flex",a==="left"?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",t==="floating"||t==="inset"?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]":"group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",i),...l,children:e.jsx("div",{"data-sidebar":"sidebar",className:"flex h-full w-full flex-col bg-sidebar group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",children:o})})]})});$.displayName="Sidebar";const K=s.forwardRef(({className:a,onClick:t,...r},i)=>{const{toggleSidebar:o}=h();return e.jsxs(T,{ref:i,"data-sidebar":"trigger",variant:"ghost",size:"icon",className:n("h-7 w-7",a),onClick:l=>{t==null||t(l),o()},...r,children:[e.jsx(oe,{}),e.jsx("span",{className:"sr-only",children:"Toggle Sidebar"})]})});K.displayName="SidebarTrigger";const Pe=s.forwardRef(({className:a,...t},r)=>{const{toggleSidebar:i}=h();return e.jsx("button",{ref:r,"data-sidebar":"rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:i,title:"Toggle Sidebar",className:n("absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex","[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",a),...t})});Pe.displayName="SidebarRail";const Ge=s.forwardRef(({className:a,...t},r)=>e.jsx("main",{ref:r,className:n("relative flex min-h-svh flex-1 flex-col bg-background","peer-data-[variant=inset]:min-
2h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",a),...t}));Ge.displayName="SidebarInset";const Ve=s.forwardRef(({className:a,...t},r)=>e.jsx(ve,{ref:r,"data-sidebar":"input",className:n("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",a),...t}));Ve.displayName="SidebarInput";const H=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"header",className:n("flex flex-col gap-2 p-2",a),...t}));H.displayName="SidebarHeader";const U=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"footer",className:n("flex flex-col gap-2 p-2",a),...t}));U.displayName="SidebarFooter";const $e=s.forwardRef(({className:a,...t},r)=>e.jsx(D,{ref:r,"data-sidebar":"separator",className:n("mx-2 w-auto bg-sidebar-border",a),...t}));$e.displayName="SidebarSeparator";const W=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"content",className:n("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...t}));W.displayName="SidebarContent";const q=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"group",className:n("relative flex w-full min-w-0 flex-col p-2",a),...t}));q.displayName="SidebarGroup";const Ke=s.forwardRef(({className:a,asChild:t=!1,...r},i)=>{const o=t?x:"div";return e.jsx(o,{ref:i,"data-sidebar":"group-label",className:n("duration-200 flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",a),...r})});Ke.displayName="SidebarGroupLabel";const He=s.forwardRef(({className:a,asChild:t=!1,...r},i)=>{const o=t?x:"button";return e.jsx(o,{ref:i,"data-sidebar":"group-action",className:n("absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","group-data-[collapsible=icon]:hidden",a),...r})});He.displayName="SidebarGroupAction";const F=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"group-content",className:n("w-full text-sm",a),...t}));F.displayName="SidebarGroupContent";const X=s.forwardRef(({className:a,...t},r)=>e.jsx("ul",{ref:r,"data-sidebar":"menu",className:n("flex w-full min-w-0 flex-col gap-1",a),...t}));X.displayName="SidebarMenu";const Y=s.forwardRef(({className:a,...t},r)=>e.jsx("li",{ref:r,"data-sidebar":"menu-item",className:n("group/menu-item relative",a),...t}));Y.displayName="SidebarMenuItem";const Ue=y("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:!p-0"}},defaultVariants:{variant:"default",size:"default"}}),Q=s.forwardRef(({asChild:a=!1,isActive:t=!1,variant:r="default",size:i="default",tooltip:o,className:l,...u},f)=>{const d=a?x:"button",{isMobile:m,state:c}=h(),v=e.jsx(d,{ref:f,"data-sidebar":"menu-button","data-size":i,"data-active":t,className:n(Ue({variant:r,size:i}),l),...u});
2return o?(typeof o=="string"&&(o={children:o}),e.jsxs(pe,{children:[e.jsx(ge,{asChild:!0,children:v}),e.jsx(xe,{side:"right",align:"center",hidden:c!=="collapsed"||m,...o})]})):v});Q.displayName="SidebarMenuButton";const We=s.forwardRef(({className:a,asChild:t=!1,showOnHover:r=!1,...i},o)=>{const l=t?x:"button";return e.jsx(l,{ref:o,"data-sidebar":"menu-action",className:n("absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 after:md:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",r&&"group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",a),...i})});We.displayName="SidebarMenuAction";const qe=s.forwardRef(({className:a,...t},r)=>e.jsx("div",{ref:r,"data-sidebar":"menu-badge",className:n("absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground select-none pointer-events-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",a),...t}));qe.displayName="SidebarMenuBadge";const Fe=s.forwardRef(({className:a,showIcon:t=!1,...r},i)=>{const o=s.useMemo(()=>`${Math.floor(Math.random()*40)+50}%`,[]);return e.jsxs("div",{ref:i,"data-sidebar":"menu-skeleton",className:n("rounded-md h-8 flex gap-2 px-2 items-center",a),...r,children:[t&&e.jsx(M,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),e.jsx(M,{className:"h-4 flex-1 max-w-[--skeleton-width]","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":o}})]})});Fe.displayName="SidebarMenuSkeleton";const Xe=s.forwardRef(({className:a,...t},r)=>e.jsx("ul",{ref:r,"data-sidebar":"menu-sub",className:n("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",a),...t}));Xe.displayName="SidebarMenuSub";const Ye=s.forwardRef(({...a},t)=>e.jsx("li",{ref:t,...a}));Ye.displayName="SidebarMenuSubItem";const Qe=s.forwardRef(({asChild:a=!1,size:t="md",isActive:r,className:i,...o},l)=>{const u=a?x:"a";return e.jsx(u,{ref:l,"data-sidebar":"menu-sub-button","data-size":t,"data-active":r,className:n("flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",t==="sm"&&"text-xs",t==="md"&&"text-sm","group-data-[collapsible=icon]:hidden",i),...o})});Qe.displayName="SidebarMenuSubButton";const Je=y("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ze({className:a,variant:t,...r}){return e.jsx("div",{className:n(Je({variant:t}),a),...r})}const ea=[{title:"Quick Start Guide",url:"/dashboard",icon:ne},{title:"Calls",url:"/dashboard/calls",icon:de},{title:"Agent Settings",url:"/dashboard/agent-settings",icon:le},{title:"Integrations",url:"/dashboard/integrations",icon:ce},{title:"Account",url:"/dashboard/account",icon:ue}];function aa(){const{state:a}=h(),r=we().pathname,i=a==="collapsed",[o,l]=s.useState("");s.useEffect(()=>{(async()=>{var m;try{const c=await he.getUserInfo();(m=c==null?void 0:c.profile)!=null&&m.company_name&&l(c.profile.company_name)}catch(c){console.error("Error fetching business name:",c)}})()},[]);const u=d=>d==="/dashboard"?r==="/dashboard":r.startsWith(d),f=d=>d?"bg-primary text-primary-foreground font-medium":"hover:bg-muted text-muted-foreground hover:text-foreground";return e.jsxs($,{className:"border-r border-border/40 bg-background",children:[e.jsx(H,{className:"border-b border-border/40 p-6",children:e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center",children:e.jsx("span",{className:"text-sm font-bold text-primary-foreground",children:"R"})}),!i&&e.jsxs("div",{children:[e.jsx("div",{className:"font-semibold text-foreground",children:"telepros.ai"}),e.jsx("div",{className:"text-sm text-muted-foreground",children:o||"Business N
2ame"})]})]})}),e.jsx(W,{className:"px-3",children:e.jsx(q,{children:e.jsx(F,{children:e.jsx(X,{children:ea.map(d=>e.jsx(Y,{children:e.jsx(Q,{asChild:!0,children:e.jsxs(Ne,{to:d.url,className:f(u(d.url)),children:[e.jsx(d.icon,{className:"h-4 w-4"}),!i&&e.jsx("span",{children:d.title})]})})},d.title))})})})}),e.jsx(U,{className:"border-t border-border/40 p-4",children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("div",{className:"flex items-center gap-2 px-2 py-1 bg-yellow-100 dark:bg-yellow-900/20 rounded-md",children:e.jsx(Ze,{variant:"secondary",className:"bg-yellow-500 text-yellow-50 text-xs",children:"TEST MODE"})}),!i&&e.jsxs("div",{className:"text-sm",children:[e.jsx("div",{className:"font-medium",children:"(775) 542-8362"}),e.jsxs("div",{className:"flex items-center gap-1 text-xs text-muted-foreground",children:[e.jsx(be,{className:"h-3 w-3"}),"NO EXTERNAL CALLS"]})]})]})})]})}function ta({children:a}){return e.jsx(V,{children:e.jsxs("div",{className:"min-h-screen flex w-full bg-background",children:[e.jsx(aa,{}),e.jsxs("div",{className:"flex-1 flex flex-col",children:[e.jsx("header",{className:"border-b border-border/40 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60",children:e.jsx("div",{className:"flex h-14 items-center px-4",children:e.jsx(K,{className:"text-muted-foreground hover:text-foreground"})})}),e.jsx("main",{className:"flex-1 overflow-auto",children:a})]})]})})}const k=s.lazy(()=>ee(()=>import("./DashboardSetup-BK7MZKOf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]))),E=()=>e.jsx("div",{className:"flex items-center justify-center p-8",children:e.jsx("div",{className:"animate-spin rounded-full h-6 w-6 border-b-2 border-purple-600"})}),ra=()=>{const a=je();return e.jsx(ta,{children:e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("div",{className:"bg-purple-600 text-white px-6 py-3 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"bg-yellow-500 text-yellow-50 text-xs font-medium px-2 py-1 rounded",children:"TEST MODE"}),e.jsx("span",{className:"text-sm",children:"Your agent is in test mode and cannot receive external calls."})]}),e.jsxs(T,{size:"sm",onClick:()=>a("/dashboard/setup"),className:"bg-yellow-500 hover:bg-yellow-600 text-yellow-50 gap-2",children:["Complete Setup ",e.jsx(fe,{className:"h-4 w-4"})]})]}),e.jsxs(ye,{children:[e.jsx(R,{path:"/",element:e.jsx("div",{className:"p-8 max-w-4xl mx-auto",children:e.jsx(s.Suspense,{fallback:e.jsx(E,{}),children:e.jsx(k,{})})})}),e.jsx(R,{path:"/setup",element:e.jsx("div",{className:"p-8 max-w-4xl mx-auto",children:e.jsx(s.Suspense,{fallback:e.jsx(E,{}),children:e.jsx(k,{})})})})]})]})})},ua=Object.freeze(Object.defineProperty({__proto__:null,default:ra},Symbol.toStringTag,{value:"Module"}));export{Ze as B,ua as D};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.