1import{r as c}from"./api-base-url-CtfZFuEf.js";const l=new Set(["http:","https:"]),i=t=>{const r=new URL(t);return l.has(r.protocol)?r.origin:null},p=t=>{const r=t.callbackUrl?.trim();if(!r)return null;try{const e=i(t.currentOrigin);if(!e)return null;const o=r.startsWith("/"),n=o?new URL(r,e):new URL(r),s=i(c(e)),a=new Set([e,...s?[s]:[]]);return!l.has(n.protocol)||n.username||n.password||!a.has(n.origin)?null:o?n.origin===e?`${n.pathname}${n.search}${n.hash}`:null:n.toString()}catch{return null}},h=(t,r=window.location)=>{if(new URL(t,r.href).href===r.href){r.reload();return}r.assign(t)};export{h as navigateToPostLoginDestination,p as resolveSafeCallbackUrl};
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.