PageSourceSearch

https://reputationscorecard.ai/_next/static/chunks/25294.52a6c2da9dde51fa.js

js reputationscorecard.ai collected 2026-10-05 12:32:31 UTC 2,288 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25294],{25294:(e,t,s)=>{s.r(t),s.d(t,{ScanWaitingBanner:()=>u});var n=s(95155),a=s(12115),i=s(20063),r=s(35299),l=s(42529),c=s(68e3);function u(){let e="1"===(0,i.useSearchParams)().get("scanning"),[t,s]=(0,a.useState)(e?"running":null),[u,d]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let n=!1;async function a(){try{let a=await fetch("/api/scan/current",{cache:"no-store"});if(!a.ok||n)return;let i=await a.json(),r=String(i?.data?.status||"");if(r&&!["COMPLETE","FAILED"].includes(r))return void s("running");(e||"running"===t)&&("COMPLETE"===r||i?.hasCompletedScan)&&s("done")}catch{}}a();let i=setInterval(()=>void a(),8e3);return()=>{n=!0,clearInterval(i)}},[e,t]),(0,a.useEffect)(()=>{let e=!1;return fetch("/api/subscriptions/status",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(t=>{if(e||!t)return;let s=String(t.plan||"free").toLowerCase();d("premium"===s||"platinum"===s||"family"===s)}).catch(()=>{}),()=>{e=!0}},[]),t)?"running"===t?(0,n.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 pt-6","data-testid":"scan-waiting-banner",children:(0,n.jsxs)("div",{className:"flex items-start gap-3 rounded-xl border border-[#06B6D4]/30 bg-[#06B6D4]/10 px-4 py-3",children:[(0,n.jsx)(r.A,{className:"w-5 h-5 text-[#06B6D4] animate-spin flex-shrink-0 mt-0.5"}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-sm font-semibold text-[#FAFAF9]",children:c.vN}),(0,n.jsx)("p",{className:"text-sm text-[#94A3B8]",children:c.ZS})]})]})}):(0,n.jsx)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 pt-6","data-testid":"scan-waiting-banner-done",children:(0,n.jsxs)("div",{className:"flex items-start gap-3 rounded-xl border border-emerald-400/30 bg-emerald-400/10 px-4 py-3",children:[(0,n.jsx)(l.A,{className:"w-5 h-5 text-emerald-400 flex-shrink-0 mt-0.5"}),(0,n.jsx)("p",{className:"text-sm text-[#FAFAF9]",children:u?c.F7:c.MN})]})}):null}},68e3:(e,t,s)=>{s.d(t,{F7:()=>i,MN:()=>r,ZS:()=>a,vN:()=>n});let n="Your scan is running",a="This typically takes up to 10 minutes. We email you when it is ready. Do not start another scan.",i="Your scan finished. Every item is visible.",r="Your scan finished. Free always includes the official score. Full item-by-item Evidence Hub is Premium."}}]);

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.