PageSourceSearch

https://repsshield.com/assets/mobile-dashboard-calendar-CcCP3iL7.js

js repsshield.com collected 2026-09-24 14:18:35 UTC 2,716 bytes, 1 lines download raw bytes

1import{aK as p,j as e,aL as x,B as f,aM as h,aN as i,m as j}from"./index-Byg2HWAE.js";import{u as C,r as d,R as v}from"./vendor-Qgthw7N1.js";import{u as w}from"./useIntegrations-CUanp7GW.js";import{C as y}from"./CalendarView-C6WRDhF9.js";import"./checkbox-Cqr9jids.js";import"./calendarService-CrpjTGeC.js";import"./index-COtV6X2D.js";import"./CalendarDateRangeFilter-BVOXnJ7M.js";import"./differenceInMonths-CWoVTq_U.js";import"./index-Bs2JGf-v.js";import"./timer-B3GC1z8w.js";import"./RepsClassificationSection-BliMW0iC.js";import"./circle-x-C3yul9_R.js";import"./calendar-days-CZv4Giu2.js";import"./grid-3x3-Dl22D3mL.js";import"./filter-ejjrE0l5.js";function K(){var r,n;const[,a]=C(),t=p(),[o,s]=d.useState(!1),[k,N]=d.useState(!1),{googleCalendarStatusQuery:c,microsoftCalendarStatusQuery:l}=w(),m=((r=c.data)==null?void 0:r.connected)||!1,b=((n=l.data)==null?void 0:n.connected)||!1,u=m||b,g=()=>{a("/dashboard"),i("/dashboard")};return t?e.jsx("div",{className:"min-h-screen bg-gray-50 px-4 pt-2 dark:bg-background",children:e.jsxs("div",{className:"mx-auto flex min-h-screen w-full max-w-5xl flex-col gap-3",children:[e.jsx(x,{title:"Calendar",subtitle:u?"View and convert calendar activity":"Connect a calendar to find activity",onBack:g,rightAction:e.jsx(f,{type:"button",variant:"outline",size:"icon",onClick:()=>{a("/dashboard/sync-settings"),i("/dashboard/sync-settings")},className:"h-11 w-11 rounded-full bg-white dark:bg-card","aria-label":"Manage calendar connections",children:e.jsx(h,{className:"h-5 w-5"})})}),e.jsx("section",{className:"min-h-[620px] flex-1 rounded-2xl border border-gray-100 bg-white p-3 shadow-sm dark:border-border dark:bg-card",children:e.jsx(y,{})})]})}):e.jsx(v,{to:"/dashboard"})}function T({label:a,connected:t,isLoading:o,onClick:s}){return e.jsxs("button",{type:"button",onClick:s,disabled:o,className:"flex min-h-14 items-center gap-3 rounded-2xl border border-gray-100 bg-white p-3 text-left shadow-sm transition hover:bg-muted/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 active:scale-[0.99] disabled:cursor-default disabled:hover:bg-white dark:border-border dark:bg-card dark:disabled:hover:bg-card",children:[e.jsx("span",{className:"flex h-10 w-10 items-center justify-center rounded-xl bg-primary/10 text-primary",children:e.jsx(j,{className:"h-5 w-5"})}),e.jsxs("span",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block text-sm font-bold text-foreground",children:a}),e.jsx("span",{className:"block text-xs font-medium text-muted-foreground",children:o?"Checking connection...":t?"Connected — tap to manage":"Tap to connect"})]})]})}export{T as ProviderStatusCard,K as default};

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.