javascript:(async()=>{function g(e,t){return e.reduce((i,n,c)=>i+n+(t[c]??""),"").replace(/>%5Cs+<").replace(/%5Cs+/g," ").trim()}var y=(e,...t)=>g(e,t),h=(e,...t)=>g(e,t);var d="docapprover.uberinternal.com",k="/api/tppRejectDocumentAuthenticity?localeCode=en",T={"41d39627-0917-4390-ad39-494d676f310e":"License Checker Mismatch"},S=`https://${d}/document/`,$="https://partners-platform-tools-storage.uberinternal.com/document/",j=/^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;function U(){let e=document.cookie.match(/(?:^|;%5Cs*)x-csrf-token=([^;]+)/i);return e?decodeURIComponent(e[1]):"x"}async function w(e,t){let i={documentUuid:{value:e},rejectReasonUuid:{value:t},isShadowModeOn:!1},n=await fetch(`https://${d}${k}`,{method:"POST",mode:"cors",credentials:"include",headers:{accept:"*/*","content-type":"application/json","x-csrf-token":U()},body:JSON.stringify(i)});if(!n.ok)throw new Error(`${n.status} ${n.statusText}`)}function E(e){let t=e.trim().replace(S,"").replace(/%5C/$/,"");return j.test(t)?t:null}function R(){if(location.hostname!==d){alert(`Doc Reject must be run from ${d}.`);return}let e=document.createElement("div");e.style.cssText=h` position: fixed; inset: 0; z-index: 2147483647; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; font-family: system-ui, sans-serif; `,e.innerHTML=y`