1import{b as $,f as ne,d as ie,r as M,j as s}from"./vendor-react-VD_hA_t5.js";import{c as oe}from"./vendor-query-BBPXYuBM.js";import{d as le,c as re,L as ce,N as me,O as de,Q as fe,R as xe,F as R,D as se,E as ue,B as q,S as Z,T as ge,U as pe,V as he,W as be,k as H}from"./app-Cb9XrKeu.js";import{i as ee}from"./validation-Bf1zY3Nx.js";import{s as je,t as ve,r as ye,G as we}from"./research-B2A7tZQY.js";import{L as Ne}from"./tab-switch-CMtVYC7s.js";import{L as _e}from"./list-Cu9OwdhM.js";import"./vendor-sentry-Mt8KIYF_.js";import"./tab-switch-BmMN1yS0.js";import"./react-window-CFBUoVXP.js";import"./use-infinite-sentinel-Dh6wZX27.js";const ke="Password must be at least 12 characters and include an uppercase letter, a lowercase letter, and a number.";function Ce(){const t=$.c(51),e=ne(),{setToast:a}=le(),{user:c}=re(),n=oe(),[m]=ie();let g;t[0]!==m?(g=m.get("token"),t[0]=m,t[1]=g):g=t[1];const i=g,[d,o]=M.useState(""),[f,u]=M.useState(""),[l,b]=M.useState(""),[w,j]=M.useState(!1),p=i??void 0;let h;t[2]!==p?(h={token:p},t[2]=p,t[3]=h):h=t[3];const{data:x,isLoading:v,isError:y}=ce(h),N=i??void 0,P=!!c;let C;t[4]!==N||t[5]!==P?(C={token:N,enabled:P},t[4]=N,t[5]=P,t[6]=C):C=t[6];const{data:_}=me(C);let E;t[7]===Symbol.for("react.memo_cache_sentinel")?(E=()=>j(!0),t[7]=E):E=t[7];let r;t[8]!==a?(r={onSuccess:E,onError:K=>a({text:K.message||"Failed to create account.",type:"error",visible:!0})},t[8]=a,t[9]=r):r=t[9];const{mutate:k,isPending:S}=de(r);let A;t[10]!==n?(A=()=>{n.invalidateQueries({queryKey:xe.me()}),j(!0)},t[10]=n,t[11]=A):A=t[11];let J;t[12]!==a?(J=K=>a({text:K.message||"Failed to accept invitation.",type:"error",visible:!0}),t[12]=a,t[13]=J):J=t[13];let G;t[14]!==A||t[15]!==J?(G={onSuccess:A,onError:J},t[14]=A,t[15]=J,t[16]=G):G=t[16];const{mutate:F,isPending:O}=fe(G),L=x?.invited_email,I=L||d,T=f&&!ee(f)?ke:"",Q=l&&f!==l?"Passwords do not match.":"";let U;t[17]!==I||t[18]!==l||t[19]!==S||t[20]!==f?(U=I&&ee(f)&&f===l&&!S,t[17]=I,t[18]=l,t[19]=S,t[20]=f,t[21]=U):U=t[21];const W=!!U;let B;t[22]!==I||t[23]!==k||t[24]!==f||t[25]!==i?(B=()=>{i&&k({token:i,email:I,password:f})},t[22]=I,t[23]=k,t[24]=f,t[25]=i,t[26]=B):B=t[26];const Y=B;let D;t[27]!==F||t[28]!==i?(D=()=>{i&&F(i)},t[27]=F,t[28]=i,t[29]=D):D=t[29];const z=D;let V;return t[30]!==z||t[31]!==I||t[32]!==W||t[33]!==Q||t[34]!==l||t[35]!==d||t[36]!==_||t[37]!==x||t[38]!==O||t[39]!==y||t[40]!==S||t[41]!==v||t[42]!==Y||t[43]!==w||t[44]!==L||t[45]!==e||t[46]!==f||t[47]!==T||t[48]!==i||t[49]!==c?(V={navigate:e,user:c,token:i,invitation:x,isLoading:v,isError:y,impactData:_,email:d,setEmail:o,password:f,setPassword:u,confirmPassword:l,setConfirmPassword:b,joined:w,lockedEmail:L,activeEmail:I,passwordError:T,confirmError:Q,canSubmit:W,isJoining:S,isAccepting:O,join:Y,accept:z},t[30]=z,t[31]=I,t[32]=W,t[33]=Q,t[34]=l,t[35]=d,t[36]=_,t[37]=x,t[38]=O,t[39]=y,t[40]=S,t[41]=v,t[42]=Y,t[43]=w,t[44]=L,t[45]=e,t[46]=f,t[47]=T,t[48]=i,t[49]=c,t[50]=V):V=t[50],V}const Se=Array.from({length:15},()=>[je,ve,ye]).flat();function ae(){const t=$.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"block portrait:hidden w-1/2 h-full overflow-hidden relative rounded-lg",children:s.jsx(we,{items:Se})}),t[0]=e):e=t[0],e}function te(t){const e=$.c(4),{title:a,message:c}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(R,{icon:se,className:"text-[3rem]"}),e[0]=n):n=e[0];let m;return e[1]!==c||e[2]!==a?(m=s.jsx("div",{className:"h-dvh bg-primary flex items-center justify-center p-10",children:s.jsxs("div",{className:"flex flex-col gap-4 items-center text-softer-secondary/50",children:[n,a?s.jsxs("div",{className:"text-center flex flex-col gap-1",children:[s.jsx("h2",{className:"font-semibold text-softer-secondary",children:a}),s.jsx("p",{className:"text-sm",children:c})]}):s.jsx("p",{className:"text-center",children:c})]})}),e[1]=c,e[2]=a,e[3]=m):m=e[3],m}function Ie(){const t=$.c(1);let e;return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=s.jsx("div",{className:"h-dvh bg-primary flex items-center justify-center",children:s.jsx("div",{className:"w-6 h-6 border-2 border-accent border-t-transparent roun
1ded-full animate-spin"})}),t[0]=e):e=t[0],e}function Ee(t){const e=$.c(15),{isLoggedIn:a,organisationName:c,onContinue:n}=t;let m;e[0]===Symbol.for("react.memo_cache_sentinel")?(m=s.jsx("div",{className:"p-6 rounded-full bg-success/10 border border-success/20",children:s.jsx(R,{icon:ue,className:"text-success text-3xl"})}),e[0]=m):m=e[0];const g=a?"You've joined!":"Account created!";let i;e[1]!==g?(i=s.jsx("h2",{className:"font-semibold text-xl",children:g}),e[1]=g,e[2]=i):i=e[2];let d;e[3]!==a||e[4]!==c?(d=s.jsx("p",{className:"text-sm text-softer-secondary/60",children:a?s.jsxs(s.Fragment,{children:["You are now a member of ",s.jsx("span",{className:"font-semibold",children:c}),"."]}):s.jsxs(s.Fragment,{children:["Check your email to verify your account, then sign in to access"," ",s.jsx("span",{className:"font-semibold",children:c}),"."]})}),e[3]=a,e[4]=c,e[5]=d):d=e[5];let o;e[6]!==i||e[7]!==d?(o=s.jsxs("div",{className:"text-center flex flex-col gap-2",children:[i,d]}),e[6]=i,e[7]=d,e[8]=o):o=e[8];const f=a?"Go to cockpit":"Go to login";let u;e[9]!==n||e[10]!==f?(u=s.jsx(q,{variant:"cta",onClick:n,children:f}),e[9]=n,e[10]=f,e[11]=u):u=e[11];let l;return e[12]!==o||e[13]!==u?(l=s.jsx("div",{className:"h-dvh bg-primary flex items-center justify-center p-10",children:s.jsxs("div",{className:"flex flex-col gap-6 items-center",children:[m,o,u]})}),e[12]=o,e[13]=u,e[14]=l):l=e[14],l}function X(t){const e=$.c(29),{name:a,role:c,logoUrl:n,variant:m,roleNote:g}=t;let i;e[0]!==c?(i=s.jsx("span",{className:"font-semibold capitalize",children:c}),e[0]=c,e[1]=i):i=e[1];const d=g?` ${g}`:"";let o;e[2]!==i||e[3]!==d?(o=s.jsxs(s.Fragment,{children:["You've been invited as a ",i,".",d]}),e[2]=i,e[3]=d,e[4]=o):o=e[4];const f=o;if(m==="row"){let j;e[5]!==n||e[6]!==a?(j=n?s.jsx("div",{className:"w-12 h-12 rounded-lg overflow-hidden border border-border shrink-0",children:s.jsx("img",{src:n,alt:a,className:"w-full h-full object-cover"})}):s.jsx("div",{className:"p-4 bg-softer-primary rounded-full border border-border shrink-0",children:s.jsx(R,{icon:Z,className:"text-accent text-xl"})}),e[5]=n,e[6]=a,e[7]=j):j=e[7];let p;e[8]!==a?(p=s.jsxs("h2",{className:"font-semibold text-xl",children:["Join ",s.jsx("span",{className:"text-accent",children:a})]}),e[8]=a,e[9]=p):p=e[9];let h;e[10]!==f?(h=s.jsx("p",{className:"text-sm text-softer-secondary/60",children:f}),e[10]=f,e[11]=h):h=e[11];let x;e[12]!==p||e[13]!==h?(x=s.jsxs("div",{className:"flex flex-col gap-0.5",children:[p,h]}),e[12]=p,e[13]=h,e[14]=x):x=e[14];let v;return e[15]!==j||e[16]!==x?(v=s.jsxs("div",{className:"flex items-center gap-4 w-full",children:[j,x]}),e[15]=j,e[16]=x,e[17]=v):v=e[17],v}let u;e[18]!==n||e[19]!==a?(u=n?s.jsx("div",{className:"w-16 h-16 rounded-lg overflow-hidden border border-border",children:s.jsx("img",{src:n,alt:a,className:"w-full h-full object-cover"})}):s.jsx("div",{className:"p-5 bg-softer-primary rounded-full border border-border",children:s.jsx(R,{icon:Z,className:"text-accent text-2xl"})}),e[18]=n,e[19]=a,e[20]=u):u=e[20];let l;e[21]!==a?(l=s.jsxs("h2",{className:"font-semibold text-xl",children:["Join ",s.jsx("span",{className:"text-accent",children:a})]}),e[21]=a,e[22]=l):l=e[22];let b;e[23]!==f?(b=s.jsx("p",{className:"text-sm text-softer-secondary/60",children:f}),e[23]=f,e[24]=b):b=e[24];let w;return e[25]!==u||e[26]!==l||e[27]!==b?(w=s.jsxs("div",{className:"flex flex-col gap-3 items-center text-center",children:[u,l,b]}),e[25]=u,e[26]=l,e[27]=b,e[28]=w):w=e[28],w}function Ae(t){const e=$.c(28),{tabs:a,activeTabIndex:c,onTabChange:n,acknowledged:m,onAcknowledgeChange:g}=t,i=a[c];let d;e[0]!==i?.items?(d=i?.items||[],e[0]=i?.items,e[1]=d):d=e[1];const o=d;let f;e[2]===Symbol.for("react.memo_cache_sentinel")?(f=s.jsxs("div",{className:"flex items-center gap-3 p-3 bg-amber/10 border-b border-amber/20",children:[s.jsx(R,{icon:ge,className:"text-amber shrink-0"}),s.jsx("p",{className:"text-sm font-semibold flex-1",children:"Joining will permanently remove these items from your account"})]}),e[2]=f):f=e[2];let u;e[3]!==a?(u=a.map(Pe),e[3]=a,e[4]=u):u=e[4];let l;e[5]!==c||e[6]!==n||e[7]!==u?(l=s.jsx("div",{className:"p-2 border-b border-amber/20",children:s.jsx(Ne,{modes:u,activeModeIndex:c,setActiveModeIndex:n,className:"w-full",bg:"bg-softer-primary"})}),e[5]=c,e[6]=n,e[7]=u,e[8]=l):l=e[8];let b;if(e[9]!==o||e[10]!==i?.key){let y;e[12]!==i?.key?(y=N=>
1s.jsx(_e,{icon:i?.key==="connectors"?N.logo||pe:i?.key==="skills"?he:be,iconIsImage:i?.key==="connectors"&&!!N.logo,title:N.name||N.label||"",description:N.description||""},N.id||N.name),e[12]=i?.key,e[13]=y):y=e[13],b=o.map(y),e[9]=o,e[10]=i?.key,e[11]=b}else b=e[11];let w;e[14]!==b?(w=s.jsx("div",{className:"max-h-44 overflow-y-auto",children:b}),e[14]=b,e[15]=w):w=e[15];let j;e[16]!==g?(j=y=>g(y.target.checked),e[16]=g,e[17]=j):j=e[17];let p;e[18]!==m||e[19]!==j?(p=s.jsx("input",{type:"checkbox",checked:m,onChange:j,className:"accent-accent w-4 h-4 shrink-0"}),e[18]=m,e[19]=j,e[20]=p):p=e[20];let h;e[21]===Symbol.for("react.memo_cache_sentinel")?(h=s.jsx("span",{className:"text-sm",children:"I understand these items will be removed"}),e[21]=h):h=e[21];let x;e[22]!==p?(x=s.jsx("div",{className:"border-t border-amber/20 p-3 bg-amber/10",children:s.jsxs("label",{className:"flex items-center gap-2 cursor-pointer select-none",children:[p,h]})}),e[22]=p,e[23]=x):x=e[23];let v;return e[24]!==x||e[25]!==l||e[26]!==w?(v=s.jsxs("div",{className:"w-full rounded-lg border border-amber/20 overflow-hidden",children:[f,l,w,x]}),e[24]=x,e[25]=l,e[26]=w,e[27]=v):v=e[27],v}function Pe(t){return`${t.label} (${t.items.length})`}function Le(t){const e=t?.impact;return[{key:"toolkits",label:"Agents",items:e?.toolkits||[]},{key:"skills",label:"Skills",items:e?.skills||[]},{key:"connectors",label:"Connectors",items:e?.connectors||[]}].filter(a=>a.items.length>0)}function Te(t){const e=$.c(23),{invitation:a,impactData:c,userEmail:n,isAccepting:m,onAccept:g}=t,[i,d]=M.useState(0),[o,f]=M.useState(!1);let u;e[0]!==a.invited_email||e[1]!==n?(u=a.invited_email&&a.invited_email.toLowerCase()!==(n||"").toLowerCase(),e[0]=a.invited_email,e[1]=n,e[2]=u):u=e[2];const l=!!u,b=!!c?.has_impact,w=b&&!o;let j;e[3]!==c?(j=Le(c),e[3]=c,e[4]=j):j=e[4];const p=j,h=Math.min(i,Math.max(0,p.length-1));let x;e[5]!==a.organisation_logo_url||e[6]!==a.organisation_name||e[7]!==a.organisation_role?(x=s.jsx(X,{variant:"row",name:a.organisation_name,role:a.organisation_role,logoUrl:a.organisation_logo_url}),e[5]=a.organisation_logo_url,e[6]=a.organisation_name,e[7]=a.organisation_role,e[8]=x):x=e[8];let v;e[9]!==l||e[10]!==b||e[11]!==o||e[12]!==p||e[13]!==a.invited_email||e[14]!==m||e[15]!==w||e[16]!==g||e[17]!==h||e[18]!==n?(v=l?s.jsxs("div",{className:"flex flex-col gap-3 items-center text-center max-w-xs",children:[s.jsx(R,{icon:se,className:"text-amber text-2xl"}),s.jsxs("p",{className:"text-sm text-softer-secondary/70",children:["This invitation was sent to"," ",s.jsx("span",{className:"font-semibold",children:a.invited_email}),", but you are logged in as ",s.jsx("span",{className:"font-semibold",children:n}),". Please log in with the correct account to accept."]})]}):s.jsxs("div",{className:"flex flex-col gap-4 w-full",children:[b&&s.jsx(Ae,{tabs:p,activeTabIndex:h,onTabChange:d,acknowledged:o,onAcknowledgeChange:f}),s.jsxs("div",{className:"flex flex-col gap-2",children:[s.jsxs("p",{className:"text-xs text-softer-secondary/50 text-center",children:["Accepting as"," ",s.jsx("span",{className:"font-semibold text-softer-secondary/70",children:n})]}),s.jsx(q,{variant:"cta",disabled:m||w,onClick:g,className:"w-full",children:m?"Accepting...":"Accept invitation"})]})]}),e[9]=l,e[10]=b,e[11]=o,e[12]=p,e[13]=a.invited_email,e[14]=m,e[15]=w,e[16]=g,e[17]=h,e[18]=n,e[19]=v):v=e[19];let y;return e[20]!==x||e[21]!==v?(y=s.jsx("div",{className:"h-dvh bg-primary flex items-center justify-center p-2 text-secondary",children:s.jsx("div",{className:"w-1/2 portrait:w-full h-full overflow-y-auto p-10 portrait:p-6",children:s.jsxs("div",{className:"flex flex-col gap-6 items-center py-8 justify-center min-h-full",children:[x,v]})})}),e[20]=x,e[21]=v,e[22]=y):y=e[22],y}function $e(t){const e=$.c(15),{invitation:a,onLogin:c}=t;let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=s.jsx(ae,{}),e[0]=n):n=e[0];let m;e[1]!==a.organisation_logo_url||e[2]!==a.organisation_name||e[3]!==a.organisation_role?(m=s.jsx(X,{variant:"stacked",name:a.organisation_name,role:a.organisation_role,logoUrl:a.organisation_logo_url}),e[1]=a.organisation_logo_url,e[2]=a.organisation_name,e[3]=a.organisation_role,e[4]=m):m=e[4];let g;e[5]!==a.invited_email?(g=s.jsxs("p",{className:"text-sm text-softer-secondary/60",children:["Log in as ",s.jsx("span",{className:"font-semibold",children:a.invited_email})," to accept this invitation."]}),e[5]=a.invited_email,e[6]=g):g=e[6];let i;e[7]!==c?(i=s.jsx(q,{variant:"cta",onClick:c,className:"w-full",children:"Log in to accept"}),e[7]=c,e[8]=i):i=e[8];let d;e[9]!==g||e[10]!==i?(d=s.jsxs("div",{className:"flex flex-col gap-3 items-center max-w-xs",children:[g,i]}),e[9]=g,e[10]=i,e[11]=d):d=e[11];let o;return e[12]!==m||e[13]!==d?(o=s.jsxs("div",{className:"h-dvh bg-primary flex items-center justify-center p-2 text-secondary",children:[n,s.jsx("div",{className:"w-1/2 portrait:w-full h-full flex flex-col justify-center overflow-y-auto p-10 portrait:p-6",children:s.jsxs("div",{className:"flex flex-col gap-10 items-center text-center",children:[m,d]})})]}),e[12]=m,e[13]=d,e[14]=o):o=e[14],o}function Je(t){const e=$.c(45),{invitation:a,email:c,onEmailChange:n,password:m,onPasswordChange:g,confirmPassword:i,onConfirmPasswordChange:d,lockedEmail:o,passwordError:f,confirmError:u,canSubmit:l,isJoining:b,onSubmit:w,onLogin:j}=t;let p;e[0]===Symbol.for("react.memo_cache_sentinel")?(p=s.jsx(ae,{}),e[0]=p):p=e[0];let h;e[1]!==a.organisation_logo_url||e[2]!==a.organisation_name||e[3]!==a.organisation_role?(h=s.jsx(X,{variant:"stacked",name:a.organisation_name,role:a.organisation_role,logoUrl:a.organisation_logo_url,roleNote:"Create your account to get started."}),e[1]=a.organisation_logo_url,e[2]=a.organisation_name,e[3]=a.organisation_role,e[4]=h):h=e[4];let x;e[5]!==l||e[6]!==w?(x=T=>{T.preventDefault(),l&&w()},e[5]=l,e[6]=w,e[7]=x):x=e[7];const v=o??c;let y;e[8]!==o||e[9]!==n?(y=o?void 0:T=>n(T.target.value),e[8]=o,e[9]=n,e[10]=y):y=e[10];const N=!!o,P=!!o;let C;e[11]!==v||e[12]!==y||e[13]!==N||e[14]!==P?(C=s.jsx(H,{id:"join-email",label:"Email",type:"email",autoComplete:"email",value:v,onCh
1ange:y,disabled:N,readOnly:P,placeholder:"[email protected]"}),e[11]=v,e[12]=y,e[13]=N,e[14]=P,e[15]=C):C=e[15];let _;e[16]!==g?(_=T=>g(T.target.value),e[16]=g,e[17]=_):_=e[17];const E=f||null;let r;e[18]!==m||e[19]!==E||e[20]!==_?(r=s.jsx(H,{id:"join-password",label:"Password",type:"password",autoComplete:"new-password",value:m,onChange:_,placeholder:"minimum 12 characters",error:E}),e[18]=m,e[19]=E,e[20]=_,e[21]=r):r=e[21];let k;e[22]!==d?(k=T=>d(T.target.value),e[22]=d,e[23]=k):k=e[23];const S=u||null;let A;e[24]!==i||e[25]!==k||e[26]!==S?(A=s.jsx(H,{id:"join-confirm-password",label:"Confirm password",type:"password",autoComplete:"new-password",value:i,onChange:k,placeholder:"Repeat your password",error:S}),e[24]=i,e[25]=k,e[26]=S,e[27]=A):A=e[27];const J=!l,G=b?"Creating account...":"Create account & join";let F;e[28]!==b||e[29]!==J||e[30]!==G?(F=s.jsx(q,{type:"submit",variant:"cta",disabled:J,loading:b,children:G}),e[28]=b,e[29]=J,e[30]=G,e[31]=F):F=e[31];let O;e[32]!==o||e[33]!==j?(O=!o&&s.jsxs("p",{className:"text-xs text-center text-softer-secondary/50",children:["Already have an account?"," ",s.jsx("button",{type:"button",className:"text-accent underline",onClick:j,children:"Log in to accept"})]}),e[32]=o,e[33]=j,e[34]=O):O=e[34];let L;e[35]!==r||e[36]!==A||e[37]!==F||e[38]!==O||e[39]!==x||e[40]!==C?(L=s.jsxs("form",{onSubmit:x,noValidate:!0,className:"flex flex-col gap-6 w-full",children:[C,r,A,F,O]}),e[35]=r,e[36]=A,e[37]=F,e[38]=O,e[39]=x,e[40]=C,e[41]=L):L=e[41];let I;return e[42]!==L||e[43]!==h?(I=s.jsxs("div",{className:"h-dvh bg-primary flex items-center justify-center p-2 text-secondary",children:[p,s.jsx("div",{className:"w-1/2 portrait:w-full h-full flex flex-col justify-center overflow-y-auto p-10 portrait:p-6",children:s.jsxs("div",{className:"flex flex-col gap-12 items-center",children:[h,L]})})]}),e[42]=L,e[43]=h,e[44]=I):I=e[44],I}function We(){const t=$.c(37),{navigate:e,user:a,token:c,invitation:n,isLoading:m,isError:g,impactData:i,email:d,setEmail:o,password:f,setPassword:u,confirmPassword:l,setConfirmPassword:b,joined:w,lockedEmail:j,passwordError:p,confirmError:h,canSubmit:x,isJoining:v,isAccepting:y,join:N,accept:P}=Ce();let C;t[0]!==e||t[1]!==c?(C=()=>e(`/login?redirect=${encodeURIComponent(`/join-organization?token=${c}`)}`),t[0]=e,t[1]=c,t[2]=C):C=t[2];const _=C;if(!c){let r;return t[3]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(te,{message:"No invitation token found in this link."}),t[3]=r):r=t[3],r}if(m){let r;return t[4]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(Ie,{}),t[4]=r):r=t[4],r}if(g||!n){let r;return t[5]===Symbol.for("react.memo_cache_sentinel")?(r=s.jsx(te,{title:"Invitation invali
1d or expired",message:"This link is no longer valid. Ask your organisation admin to send a new invitation."}),t[5]=r):r=t[5],r}if(w){const r=!!a;let k;t[6]!==e||t[7]!==a?(k=()=>e(a?"/cockpit":"/login"),t[6]=e,t[7]=a,t[8]=k):k=t[8];let S;return t[9]!==n.organisation_name||t[10]!==r||t[11]!==k?(S=s.jsx(Ee,{isLoggedIn:r,organisationName:n.organisation_name,onContinue:k}),t[9]=n.organisation_name,t[10]=r,t[11]=k,t[12]=S):S=t[12],S}if(a){let r;return t[13]!==P||t[14]!==i||t[15]!==n||t[16]!==y||t[17]!==a.email?(r=s.jsx(Te,{invitation:n,impactData:i,userEmail:a.email,isAccepting:y,onAccept:P}),t[13]=P,t[14]=i,t[15]=n,t[16]=y,t[17]=a.email,t[18]=r):r=t[18],r}if(n.email_has_account){let r;return t[19]!==_||t[20]!==n?(r=s.jsx($e,{invitation:n,onLogin:_}),t[19]=_,t[20]=n,t[21]=r):r=t[21],r}let E;return t[22]!==x||t[23]!==h||t[24]!==l||t[25]!==d||t[26]!==_||t[27]!==n||t[28]!==v||t[29]!==N||t[30]!==j||t[31]!==f||t[32]!==p||t[33]!==b||t[34]!==o||t[35]!==u?(E=s.jsx(Je,{invitation:n,email:d,onEmailChange:o,password:f,onPasswordChange:u,confirmPassword:l,onConfirmPasswordChange:b,lockedEmail:j,passwordError:p,confirmError:h,canSubmit:x,isJoining:v,onSubmit:N,onLogin:_}),t[22]=x,t[23]=h,t[24]=l,t[25]=d,t[26]=_,t[27]=n,t[28]=v,t[29]=N,t[30]=j,t[31]=f,t[32]=p,t[33]=b,t[34]=o,t[35]=u,t[36]=E):E=t[36],E}export{We 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.