var e=`/.well-known/openid-configuration`,t=t=>{let n=t.trim().replace(/\/+$/,``);return n?`${n}${e}`:``},n=e=>{try{let t=new URL(e);return t.protocol===`https:`&&!!t.hostname&&!t.search&&!t.hash}catch{return!1}};export{n,t};