javascript:(async()=>{var c="https://uber5.lightning.force.com/lightning/r/Report/00OUV00000BC0h32AD/view";var u="border-collapse:collapse;border:1px solid black;font-family:sans-serif;",a="border:1px solid black;padding:6px 12px;";async function p(){let n=document.querySelector("iframe")?.contentDocument?.querySelector("table[aria-rowcount]");if(n?.scrollIntoView(),!n)throw alert("uh oh - either you pressed the button too quickly or something is very broken");let e=new Map,s=1e4;for(;s--;){if(!s)throw alert("script got stuck :( - not sure how");let t=n.querySelector("tr:not(.data-grid-header-row):not(.row-counted)");if(!t)break;t.classList.add("row-counted"),await new Promise(f=>setTimeout(f));let o=t.querySelector(`[data-column-index='${"1"}']`)?.textContent;if(!o||e.has(o))continue;t.scrollIntoView();let r=t.querySelector(`[data-column-index='${"8"}']`)?.textContent,l=t.querySelector(`[data-column-index='${"4"}']`)?.textContent;!r||r==="Bolton Document Inbounds"||r==="Insurance Provision"||r==="Document Related (exceptions/renewals/validations)"||r==="Recurring Data Sends"||r==="Triage"||e.set(o,{_type:r,_status:l})}return n.querySelectorAll(".row-counted").forEach(t=>{t.classList.remove("row-counted")}),Array.from(e.values())}function d(n,e){let s=new Map;n.forEach((o,r)=>{for(let l of o.types)s.set(l,r)});let t=n.map(o=>({title:o.title,list:o.path,count:0,statuses:{}}));for(let o of e){let r=s.get(o._type);r!==void 0&&(t[r].count++,t[r].statuses[o._status]=(t[r].statuses[o._status]||0)+1)}return t}function y(n,e){return n.reduce((s,t,o)=>s+t+(e[o]??""),"").replace(/>\s+<").replace(/\s+/g," ").trim()}var i=(n,...e)=>y(n,e),g=(n,...e)=>y(n,e);(async function(){if(!location.href.startsWith(c)){location.href=c;return}let n=await p(),e=document.createElement("dialog");e.style.cssText=g` padding: 24px; border-radius: 12px; border: none; box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); `,e.innerHTML=i`
${x(n)}
Total: ${n.length}
`;let s=e.querySelector("#copyBtn");s.addEventListener("click",()=>{let t=e.querySelector("table"),o=new Blob([t.outerHTML],{type:"text/html"});navigator.clipboard.write([new ClipboardItem({"text/html":o})]);let r=s.textContent;s.textContent="Copied!",s.disabled=!0,setTimeout(()=>{s.textContent=r,s.disabled=!1},1500)}),document.body.appendChild(e),e.showModal()})();var w=[{title:"Suspensions",path:"X1h_Suspensions_and_Triaging",types:["Suspension","Midnight Suspension Notice","Project Neon (TfL-only)"]},{title:"Unsuspensions",path:"X24h_Unsuspensions",types:["Unsuspension Notice"]},{title:"DPAs",path:"X72h_DPAs",types:["DPA Request"]},{title:"Standard Requests",path:"X24h_Standard_Requests",types:["RoUK Recurring Send Follow-Up","General Data Requests / Status Enquiry","Event or CRM Request","FYI","CCP / PDRIP"]},{title:"Complaints Histories",path:"X72h_Complaints_History_Review",types:["Driver Complaints History Request"]},{title:"Booking Records",path:"X24h_Booking_Requests",types:["Booking Records Request"]},{title:"Complex Requests",path:"RoUK_Complaint_Follow_Ups",types:["Ad-Hoc Request","TfL Recurring Send Follow-Up"]},{title:"Witness Statements",path:"X96h_Witness_Statements",types:["Witness Statement Request"]},{title:"Rider Complaints",path:"X48h_Complaint_Reviews",types:["Rider Complaint Handling Request"]}],m=[{name:"New",color:"#ffd966"},{name:"Open",color:"#93c47d"},{name:"In Review",color:"#f6b26b"},{name:"Pending",color:"#6fa8dc"},{name:"On Hold",color:"#8e7cc3"}];function x(n){let e=m.map(t=>`${t.name}`).join(""),s=d(w,n);return i` ${e} ${s.map(t=>i` ${m.map(o=>i``).join("")} `).join("")}
Queue Total
${t.title} ${t.count} ${t.statuses[o.name]?t.statuses[o.name]:""}
`}})()