1import{j as a}from"./vendor-dotlottie-CKWLB76h.js";import{bN as i,bO as n,c,b as d}from"./app-ZGxtfi_0.js";import{R as l}from"./index-BjfEbQZt.js";import{u}from"./vendor-query-Cq2FYR_1.js";import{n as f,j as P}from"./vendor-react-CCzXVbVA.js";import{a5 as R,F as _}from"./vendor-chakra-z2eW50qa.js";import"./vendor-analytics-kxESroPO.js";import"./vendor-victory-2uYGyQN6.js";import"./vendor-monaco-CiJro7ev.js";import"./SolidityScoreProgress-nGrh_wmi.js";import"./index.esm-Ds02zZ7m.js";import"./ReportTag-CSqGGrUl.js";import"./vulnDistribution-C0Sar6g3.js";import"./UnverifiedContract-BFdZDnXq.js";import"./vendor-nivo-DiDy6rd6.js";import"./index.esm-C221wYgj.js";import"./PaymentModal-CqHdZ8ad.js";import"./ModalBlurOverlay-CoS6iLx6.js";import"./react-select.esm-f8TJ4I6W.js";import"./assertThisInitialized-DtB8HoZg.js";import"./stylesForCustomSelect-_IRGt3_J.js";import"./FormatOptionLabel-2vVxqozM.js";import"./AddEmailModal-DFRV1IeX.js";import"./TurnstileComponent-DGwBZ16v.js";import"./confirmActionForm-DVkExoKW.js";import"./smallMessageModal-B0XVKEMH.js";import"./PublishReport-D9pFpp_1.js";import"./NameInput-DO5rzGo1.js";import"./debounce-CxjSGMPP.js";import"./EmailInput-CIk9kp1G.js";import"./index.esm-DOW5uEmc.js";import"./index.esm-DvnQRwk9.js";import"./threatMeter-CrBiLMFN.js";import"./ThreatCheckIcon-D8bOiwEM.js";const x=i.create({baseURL:n,headers:{"Content-Type":"application/json"}}),y=async(r,t,o,e)=>{const p=o?{token:r,report_id:t,scan_id:e,scan_type:o,report_type:"download_only"}:{token:r,report_id:t},{data:s}=await x.post(c.API_GET_REPORT_VIA_TOKEN,p);return s},h=(r,t,o,e)=>u(["qs_pdf_report",r,t,o,e],()=>y(r,t,o,e));function tr(){const{projectType:r,reportId:t,scanId:o}=f(),e=P(),s=new URLSearchParams(e.search).get("token"),{data:m}=h(s||"",t,r,o);return a.jsx(a.Fragment,{children:m?a.jsx(l,{summary_report:m.summary_report,needsTokenValidation:!0,isPublicReport:!1,restrictedReport:m.summary_report.project_summary_report.restricted_report}):a.jsx(R,{py:12,h:"100vh",maxW:"100vw",bg:"black",children:a.jsx(_,{as:"div",w:"100%",h:"100%",alignItems:"center",justifyContent:"center",flexDir:"row",textAlign:["left","left"],mb:10,children:a.jsx(d,{})})})})}export{tr as default};
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.