1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/wsClient-BCW96ViM.js","assets/graphql-4Y3Cu4kt.js","assets/entry-BCe1jibU.js","assets/index-Bbg-v3fd.css","assets/operations-Dn0xY-u2.js","assets/createRealtimeChannelNew-D68-wdqB.js","assets/types-CjJu7saM.js","assets/sentryTags-jvWxV1t_.js","assets/index-DPZCPi5F.js","assets/index-AsLmK3bN.js"])))=>i.map(i=>d[i]); 2import{r as o,c as e,d,_ as f,v as h,j as t}from"./entry-BCe1jibU.js";import{a as x}from"./pathPrefix-DU8I2oCO.js";import{a as y}from"./auth-CgkXDIO7.js";import{b as w}from"./authRedirects-B-MV9nQi.js";import{A as S}from"./authShell-BgjF-8de.js";import{r as b}from"./rootStore-DDLcU2jT.js";import"./types-CjJu7saM.js";import"./EvalCloneMarker-DeoTUGFR.js";import"./icons-B6i7AQrN.js";import"./nativeShell-BYp7F5OS.js";import"./NativeButton-DgYgvC9L.js";import"./buttonStyles-DgzPUjES.js";import"./bundle-mjs-CSqCgoPn.js";import"./index-pNUg2pyP.js";import"./LinkButtonPresentation-r75GfCm8.js";import"./index-Bnm1XHl9.js";import"./LindyAssistantIconV2-BiFcbjgm.js";import"./Input-DpJ542X9.js";import"./inputs-P8NVmkgg.js";import"./billing-1POuo_sH.js";import"./billing-XWNTP5pu.js";import"./speechToText-BOPKEWM6.js";import"./ExhaustiveSwitchError-Dwg2PnPx.js";import"./index-CovN8vff.js";import"./mobx.esm-B0_cIGIu.js";import"./utils-De61D40x.js";import"./AgentDefinitionLock-DZ5Awxcc.js";import"./graphql-BGATo_9y.js";import"./agentIcons-DUfqqt0z.js";import"./models-DiMb92RR.js";import"./NodeStore-vtNu8qjs.js";import"./AgentDefinition-Cdkfcaf-.js";import"./lindyTool-CidTJeMk.js";import"./types-CLw4uLQj.js";import"./StateGraph-DNDltw8u.js";import"./types-CcG5mtI4.js";import"./types-BLuqObM8.js";import"./flowEditor-a00Xp3ty.js";import"./task-CxcmpDJ2.js";import"./triggers-HFVGib5u.js";import"./expression-D0YCcbZx.js";import"./ids-Cfn8POY6.js";import"./index.browser-BEMxqJOT.js";import"./index-Drvcn5hI.js";import"./auth-Bzq-__dq.js";import"./lindyAssistant-BUov6hLE.js";import"./layoutConstants-QBs5FekA.js";import"./dynamicLoader-DGOuCeES.js";import"./authStep-Vc6mlF9x.js";import"./_baseIsEqual-Cw5zAbMO.js";import"./toString-DVABJY7q.js";import"./isSymbol-Br3Fhm6g.js";import"./isObject-C3e4t58V.js";import"./index-CJ7nFqYF.js";import"./timer-BU0aTmFO.js";import"./string-DIqgPFIh.js";import"./string-CAgiWQQB.js";import"./dates-BuXHHgAF.js";import"./lindySchema-B03lmBiR.js";import"./sentryTags-jvWxV1t_.js";import"./TextsSettingsStore-BZOCIT6s.js";import"./emailLabelColors-SdosXJNu.js";import"./emailManager-D67Dr_Br.js";import"./eaAgentSettings-BuqoqMco.js";import"./sidebar-ZmIb1TzO.js";import"./_baseIteratee-BdIvlP1b.js";function i(m){try{m()}catch(r){e(r)}}function Ft(){const[m,r]=o.useState("loading"),a=o.useRef(!1),l=o.useCallback(async()=>{if(!a.current){a.current=!0,r("loading");try{const{data:s,error:u}=await x.call(y);if(u||!s?.ok){e(u??new Error("Logout request failed")),r("error");return}i(()=>d.capture("log_out")),i(()=>d.reset()),i(()=>b.reset()),i(()=>localStorage.clear());try{const{deauthenticateWSClient:c}=await f(async()=>{const{deauthenticateWSClient:g}=await import("./wsClient-BCW96ViM.js");return{deauthenticateWSClient:g}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]));c()}catch(c){e(c)}window.location.assign(w(window.location.search))}catch(s){e(s),r("error")}finally{a.current=!1}}},[]),p=o.useCallback(()=>{h(l())},[l]);o.useEffect(()=>{p()},[p]);const n=m==="loading";return t.jsx(S,{title:n?"Signing outâ¦":"Sign out failed",isLoading:n,children:n?t.jsx("p",{className:"text-sm text-slate-11",children:"One moment."}):t.jsxs(t.Fragment,{children:[t.jsx("p",{className:"mb-3 text-sm text-red-11",role:"alert",children:"We couldn't sign you out. Check your connection and try again."}),t.jsx("button",{className:"w-full rounded-lg bg-[#0a84ff] py-2 text-sm font-medium text-white hover:bg-blue-500",type:"button",onClick:p,children:"Try again"})]})})}export{Ft as View};
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.