PageSourceSearch

https://anyway.ai/_nuxt/CZyJLGuY.js

js anyway.ai collected 2026-10-03 20:05:51 UTC 1,849 bytes, 2 lines download raw bytes

1import{D as e,E as t,On as n,_ as r,b as i,k as a,mt as o,qt as s,tr as c,v as l,y as u}from"./CaODJcyn.js";import{p as d,r as f}from"./DYN7RqXt.js";import{t as p}from"./C_cAxqq2.js";import{Zt as m}from"./B6aXu5FK.js";import{u as h}from"./7NQ-ImVK.js";import{n as g}from"./DBCZrKxj.js";import{t as _}from"./X4E_UMnF.js";import{t as v}from"./otWk28ke.js";import{t as y}from"./pRuUG1KK.js";var b={class:`flex flex-col gap-3 text-left`,"data-testid":`school-join-explanation`},x={class:`flex gap-6`},S=Object.assign(a({__name:`SchoolJoinExplanation`,props:{showPrivacyLink:{type:Boolean,default:!0}},setup(a){let{t:d}=g();return(p,m)=>{let h=v;return o(),i(`div`,b,[e(n(_),{size:`sm`},{default:s(()=>[t(c(n(d)(`unified.join.explanation.sharedProfile`)),1)]),_:1}),e(n(_),{size:`sm`},{default:s(()=>[t(c(n(d)(`unified.join.explanation.noRewards`)),1)]),_:1}),e(n(_),{size:`sm`},{default:s(()=>[t(c(n(d)(`unified.join.explanation.verifyInvite`)),1)]),_:1}),r(`div`,x,[a.showPrivacyLink?(o(),l(h,{key:0,text:n(d)(`unified.join.explanation.privacyLink`),to:(`clusterUrl`in p?p.clusterUrl:n(f))(`/privacy-policy`),"is-external":``,class:`underline`},null,8,[`text`,`to`])):u(``,!0),e(h,{text:n(d)(`unified.join.explanation.supportLink`),to:n(y),"is-external":``,class:`underline`},null,8,[`text`,`to`])])])}}}),{__name:`CoreClusterTermsSchoolJoinExplanation`}),C={reason:m.Invalid,school:null,invite:null},w=async e=>{let t=d(),{data:n}=await p(`checkStudentRoleInvite:${e??``}`,async()=>{if(!e)return C;let n=(await t.query(h,{input:{code:e}})).data?.core?.org?.school?.checkStudentRoleInvite;return n?n.reason===m.Valid?!n.id||!n.school||!n.email?C:{reason:n.reason,school:n.school,invite:{id:n.id,email:n.email,school:n.school}}:{reason:n.reason,school:n.school??null,invite:null}:C});return n};export{S as n,w as t};
2//# sourceMappingURL=CZyJLGuY.js.map

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.