PageSourceSearch

https://connect.com/_next/static/immutable/chunks/2gh7ywu3rlilh.js

js connect.com collected 2026-10-02 04:56:43 UTC 7,279 bytes, 8 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,155913,29620,e=>{"use strict";var t=e.i(843476),n=e.i(230726),r=e.i(271645),i=e.i(835362),o=e.i(109509);e.i(513036);var s=e.i(347250),a=e.i(689605),u=e.i(921110),l=e.i(439563),c=e.i(412570),d=e.i(342498),g=e.i(75456);let p="youspot:pending-prompt",f="youspot:pending-prompt-source";function m(){try{return!!sessionStorage.getItem(p)}catch{return!1}}e.s(["hasPendingPrompt",0,m,"setPendingPrompt",0,function(e,t="landing_replay"){sessionStorage.setItem(p,e),sessionStorage.setItem(f,t),(0,d.rememberSignedUpViaChat)()},"takePendingPrompt",0,function(){let e=sessionStorage.getItem(p);if(!e)return null;let t=(0,g.parsePromptSource)(sessionStorage.getItem(f))??"landing_replay";return sessionStorage.removeItem(p),sessionStorage.removeItem(f),{text:e,source:t}}],29620);var w=e.i(841702),h=e.i(389760),S=e.i(148810);let y=e=>new Promise(t=>setTimeout(t,e)),v=[1e3,2e3,4e3,8e3,15e3,3e4,3e4,6e4,6e4,6e4],b=[500,1500],x=new Set([408,429]),_=/^[a-z_]{1,64}$/;function I(){let{isLoaded:e,isSignedIn:n,getToken:d,signOut:g}=(0,i.useAuth)(),{user:p}=(0,o.useUser)(),f=(0,r.useRef)(null),I=(0,r.useRef)(null),k=(0,r.useRef)(!1),E=(0,r.useRef)(!1),P=(0,S.useSessionStore)(e=>e.setClerkSync),T=(0,S.useSessionStore)(e=>e.syncSlow);return((0,r.useEffect)(()=>{if(!e||(E.current=!1,I.current=n?p?.id??null:null,P({clerkSignedIn:!!n,syncing:!1,syncFailed:!!n&&void 0,syncOwed:!1}),"1"===window.localStorage.getItem("impersonating")||w.DEV_SESSION.present()))return;if(!n){let e=w.AUTH_HINT.present()||!!window.localStorage.getItem("user_token");if(e&&k.current){window.localStorage.removeItem("user_token"),window.localStorage.removeItem("user_email"),a.api.authSession.end().catch(()=>{}),window.dispatchEvent(new CustomEvent("agentai-clear-auth"));return}e&&(0,h.refreshSession)(void 0,!1).catch(()=>{});return}if(k.current=!0,!p?.id||f.current===p.id)return;if(w.AUTH_HINT.present()){"1"===window.localStorage.getItem("agentai_logged_out")&&(window.localStorage.removeItem("agentai_logged_out"),window.dispatchEvent(new CustomEvent("agentai-auth-updated")));return}let t=p.id;f.current=t;let r=()=>E.current||I.current!==t;P({clerkSignedIn:!0,syncing:!0,syncFailed:!1,syncOwed:!0,syncSlow:!1});let i=async e=>{r()||(P({clerkSignedIn:!0,syncing:!1,syncFailed:!0,syncSlow:!1}),await g({redirectUrl:function(e){let{pathname:t,search:n}=window.location,r=t.startsWith("/sign-in")||t.startsWith("/sign-up")?new URLSearchParams(n).get("redirect_url"):`${t}${n}`,i=new URLSearchParams({reason:e});return r&&i.set("redirect_url",r),`/sign-in?${i}`}(e)}))};return(async()=>{let e=0,n=0;try{for(let t=0;;t++){if(r())return;let o=null;try{await a.api.authSession.exchange({entry_source:(0,l.getEntrySource)(),signed_up_via_chat:m(),signup_source_url:(0,c.getSignupSourceUrl)(),attempt:t})}catch(e){if(!(e instanceof u.ApiError))throw e;o=e}if(r())return;if(!o){window.localStorage.removeItem("agentai_logged_out"),P({clerkSignedIn:!0,syncing:!1,syncFailed:!1,syncSlow:!1}),window.dispatchEvent(new CustomEvent("agentai-auth-updated"));return}let{status:s,code:g}=o;if(0===s||s>=500||x.has(s)){if(e>=v.length)return void await i("unavailable");e>=3&&P({clerkSignedIn:!0,syncing:!0,syncSlow:!0}),await y(v[e++]);continue}if(401===s){if(n<b.length){await y(b[n++]),await d({skipCache:!0}).catch(()=>null);continue}await i("session_expired");return}await i(g&&_.test(g)?g:"sign_in_failed");return}}finally{f.current===t&&(f.current=null,P({clerkSignedIn:!0,syncing:!1,syncOwed:!1}))}})(),()=>{E.current=!0}},[e,n,p?.id,P,d,g]),T)?(0,t.jsxs)("div",{className:"pointer-events-none fixed bottom-4 right-4 z-50 flex items-center gap-2 rounded-full border border-border bg-card px-3 py-1.5 text-xs text-muted-foreground shadow-sm",children:[(0,t.jsx)(s.Spinner,{size:"sm",label:"Reconnecting"}),(0,t.jsx)("span",{children:"Reconnecting..."})]}):null}e.s(["default",0,function(){return"clerk"===(0,n.useAuthMode)()?(0,t.jsx)(I,{}):null}],155913)},940857,e=>{"use strict";var t=e.i(271645),n=e.i(618566),r=e.i(71105);let i={g:"/graph",c:"/chat",f:"/feed"};e.s(["default",0,function(){let e=(0,n.useRouter)(),o=(0,t.useRef)(0);return(0,t.useEffect)(()=>{let t=t=>{if(t.metaKey||t.ctrlKey||t.altKey||t.defaultPrevented||t.isComposing||(0,r.isTyping)(t))return;let n=Date.now()<o.current;if(n&&i[t.key]){o.current=0,t.preventDefault(),e.push(i[t.key]);return}let s=n?(0,r.goSequence)(t.key):void 0;if(s){o.current=0,t.preventDefault(),s();return}o.current="g"!==t.key||n?0:Date.now()+800};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)},[e]),null}])},391021,e=>{"use strict";var t=e.i(843476),n=e.i(728864);e.s(["default",0,function(){let{active:e,email:r}=(0,n.useImpersonation)();return e?(0,t.jsxs)("div",{className:"impersonation-bar",children:[(0,t.jsx)("style",{children:`
2        .impersonation-bar{display:flex; align-items:center; justify-content:center; gap:14px;
3          flex-wrap:wrap; background:#B45309; color:#FFF7ED; font-size:13px; font-weight:600;
4          padding:7px 16px; position:sticky; top:0; z-index:40; text-align:center}
5        .impersonation-bar button{background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.35);
6          color:#FFF7ED; font:inherit; font-size:12px; padding:3px 10px; border-radius:6px; cursor:pointer}
7        .impersonation-bar button:hover{background:rgba(255,255,255,.28)}
8      `}),(0,t.jsxs)("span",{children:["Viewing as ",(0,t.jsx)("strong",{children:r||"another user"})," — not your own account"]}),(0,t.jsx)("button",{type:"button",onClick:()=>(0,n.stopImpersonating)(),children:"Stop impersonating"})]}):null}])},843350,e=>{"use strict";var t=e.i(843476),n=e.i(402485),r=e.i(587728),i=e.i(825241),o=e.i(522016);e.i(513036);var s=e.i(626788),a=e.i(578380);let u=[{title:"Product",links:a.FOOTER_PRODUCT_LINKS},{title:"Company",links:[a.DOCS_LINK,{label:"Brand",href:"/brand"},{label:"Security",href:"/security"}]},{title:"Legal",links:[{label:"Privacy",href:"/privacy"},{label:"Terms",href:"/terms"},{label:"SMS terms",href:"/terms/sms"}]}];function l({footerText:e}){return(0,t.jsx)(s.SiteFooter,{groups:u,link:o.default,credit:e})}e.s(["default",0,function({children:e,showFooter:o=!0,footerText:s,title:u,parents:c,onParentNavigate:d,headed:g}
8){(0,i.useSetPageTitle)(u,c,g,d);let p=(0,r.useShellMounted)(),f=(0,a.isPublicPage)((0,n.usePagePathname)()),m=p&&!f;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("main",{className:"connect-main flex-1",style:m?{"--page-measure":"var(--w-wide)"}:void 0,children:e}),o&&(!p||f)&&(0,t.jsx)(l,{footerText:s})]})}],843350)},71105,e=>{"use strict";var t=e.i(271645);let n=["textbox","combobox","searchbox"];function r(e){if(!(e instanceof Element))return!1;let t=e.tagName;return"INPUT"===t||"TEXTAREA"===t||"SELECT"===t||e.isContentEditable||n.includes(e.getAttribute("role")||"")||t.includes("-")}let i=new Map;e.s(["goSequence",0,function(e){return i.get(e)},"isTyping",0,function(e){let t=e.composedPath()[0],n=document.activeElement;for(;n?.shadowRoot?.activeElement;)n=n.shadowRoot.activeElement;return r(t)||r(n)},"useGoSequence",0,function(e,n){(0,t.useEffect)(()=>{if(n)return i.set(e,n),()=>{i.get(e)===n&&i.delete(e)}},[e,n])}])}]);

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.