PageSourceSearch

https://chat.lindy.ai/assets/legacySettingsAliasView-N0erGnys.js

js lindy.ai collected 2026-10-02 03:33:38 UTC 2,563 bytes, 1 lines download raw bytes

1import{r as o,j as a}from"./react-vendor-BKgfKFZH.js";import{p as c,w as g,v as l,n as p,P as u}from"./entry-C8wUDEw9.js";import{resolveAuthenticatedRouteSession as m}from"./session-B58NCI26.js";import{r as d}from"./workspace-meWw0reJ.js";import"./pathPrefix-C6KjWwRj.js";import"./types-BQz_GrV3.js";import"./makePostHogHeaders-DBJS6Pqp.js";import"./identity-CPeTn7lB.js";import"./Identity-BmVeq4PW.js";import"./billing-BoSVWj_Q.js";import"./EvalCloneMarker-DcaKrgBx.js";import"./speechToText-BwTQh1Op.js";import"./types-C1NrGZG4.js";import"./graphql-WBhJzdnw.js";import"./operations-Cnp__Iuy.js";const w={"/emails":"/settings/emails","/lindy-teammate":"/settings/integrations","/settings/slack":"/settings/general","/settings/team-lindy":"/settings/integrations","/threads":"/tasks","/user-settings":"/settings/general","/user-settings/billing":"/settings/billing","/user-settings/computers":"/settings/computers","/user-settings/connections":"/settings/connections","/user-settings/emails":"/settings/emails","/user-settings/general":"/settings/general","/user-settings/integrations":"/settings/integrations","/user-settings/meetings":"/settings/meetings","/user-settings/notifications":"/settings/notifications","/user-settings/phone":"/settings/phone","/user-settings/scheduling":"/settings/scheduling","/user-settings/secrets":"/settings/secrets","/user-settings/service-credentials":"/settings/service-credentials","/user-settings/slack":"/settings/general","/user-settings/speech-to-text":"/settings/speech-to-text","/user-settings/team-lindy":"/settings/integrations","/workspace-settings/general":"/settings/workspace","/workspace-settings/members":"/settings/members","/workspace-settings/security-and-identity":"/settings/security-and-identity","/workspace-settings/service-credentials":"/settings/service-credentials"};function h(t,e="",s="",i=null){const n=c({pathname:t,search:e,hash:s}),r=w[n.pathname]??"/settings/general";return g(`${r}${n.search}${n.hash}`,n.workspaceUrl??i)}function S(){return o.useEffect(()=>{let t=!1;return l((async()=>{const e=`${window.location.pathname}${window.location.search}${window.location.hash}`,s=await m({loginPath:`/login?next=${encodeURIComponent(e)}`,returnTo:e});if(t)return;if(s.redirectTo){window.location.replace(s.redirectTo);return}const i=await d();if(!t){if(!i){window.location.replace("/create-workspace");return}p(h(window.location.pathname,window.location.search,window.location.hash,i.url),{replace:!0})}})()),()=>{t=!0}},[]),a.jsx(u,{})}export{S as View,h as getLegacySettingsAliasDestination};

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.