1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1149],{5493:(e,t,n)=>{n.d(t,{zC:()=>r,Zy:()=>i,nT:()=>c});let a="[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}";RegExp("^/app/(?:(?:scans|scanso|scanso2)/".concat(a,"(?:/json)?|domains/").concat(a,"|admin/(?:companies|pulse|scans)/").concat(a,"|admin/users/").concat(a,"/activity)$"),"i");let o=/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function c(e){var t;let n=(null==(t=e.split(/[?#]/,1)[0])?void 0:t.trim())||"/";return(n.startsWith("/")?n:"/".concat(n)).replace(/[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}/gi,":id").split("/").map(e=>!e||e.startsWith(":")?e:e.includes("@")||/%40/i.test(e)?":value":/^(?:[a-z0-9-]+\.)+[a-z]{2,}$/i.test(e)?":site":/^\d+$/.test(e)||/^[a-f0-9]{20,}$/i.test(e)||/^[a-z0-9_-]{32,}$/i.test(e)?":id":e).join("/").replace(/\/{2,}/g,"/").slice(0,300)}function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,a=c(t).split("/").filter(Boolean).join(":").replace(/[^a-z0-9._:-]+/gi,"-").replace(/-+/g,"-")||"root";return"".concat(e,":").concat(a).slice(0,n)}function i(e){let t=e.match(/\/(?:scan|scans|scano|scanso|scanso2)\/([0-9a-f-]{36})(?:[/?#]|$)/i),n=null==t?void 0:t[1];return n&&o.test(n)?n:void 0}},43592:(e,t,n)=>{n.d(t,{BT:()=>u,Sd:()=>d,jE:()=>p,tJ:()=>m});var a=n(33275),o=n(64882),c=n(48657);let r=new Set;function i(e){var t,n;let o=(0,c.V1)(),r=e.content_id?void 0:(0,a.P)(null!=(n=null==(t=window.location)?void 0:t.pathname)?n:"");return{..."scan_started"===e.event?r:"campaign_landing_page_viewed"===e.event&&r?{page_type:r.page_type,content_id:r.content_id}:void 0,...e,...o?{campaign_attribution:o}:{}}}function s(e,t,n){if("function"!=typeof window.gtag)return;let{event:a,campaign_attribution:o,...c}=e;window.gtag("event",a,{...c,...o,...t?{event_callback:t}:{},...n?{event_timeout:n}:{}})}function l(e){var t,n,o,c;let r=e.content_id?{page_type:e.page_type,content_id:e.content_id,cta_location:e.cta_location}:"scan_started"===e.event?(0,a.P)(null!=(o=null==(t=window.location)?void 0:t.pathname)?o:""):void 0,i=function(e){switch(e.event){case"contact_clicked":case"sign_in_clicked":return{eventName:e.event,properties:{cta_location:e.cta_location}};case"guide_cta_clicked":return{eventName:e.event,properties:{page_type:e.page_type,cta_type:e.cta_type}};case"report_cta_clicked":case"pricing_cta_clicked":return{eventName:e.event,properties:{cta_type:e.cta_type}};case"gpt_cta_clicked":return{eventName:e.event,properties:{location:e.location}};case"lead_form_submit_attempted":return{eventName:e.event,properties:{form_type:e.form_type}};case"scan_started":return{eventName:e.event,properties:{scan_source:e.scan_source,scan_target_type:e.scan_target_type,scan_status:e.scan_status}};case"scan_completed":return{eventName:e.event,properties:{scan_source:e.scan_source,scan_status:e.scan_status}};case"registration_completed":return{eventName:e.event,properties:{auth_method:e.auth_method}};case"first_scan_completed":case"second_distinct_domain_scanned":return{eventName:e.event,properties:{scan_source:e.scan_source}};case"mcp_light_action":return{eventName:e.event,properties:{action:e.action}};case"pricing_viewed":case"sample_report_viewed":case"hero_book_demo_clicked":case"hero_sample_report_clicked":case"campaign_landing_page_viewed":return{eventName:e.event}}}(e);if(r&&(i.properties={...i.properties,...r}),"function"==typeof(null==(n=window.umami)?void 0:n.track))return void window.umami.track(i.eventName,i.properties);window.certscoreUmamiEventQueue=null!=(c=window.certscoreUmamiEventQueue)?c:[],window.certscoreUmamiEventQueue.push(i)}function d(e){var t;if(!(0,o.hasAnalyticsConsent)())return;l(e),window.dataLayer=null!=(t=window.dataLayer)?t:[];let n=i(e);window.dataLayer.push(n),s(n)}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300;return(0,o.hasAnalyticsConsent)()?(l(e),new Promise(n=>{var a;let o=!1,c=()=>{o||(o=!0,n())},r=window.setTimeout(c,t),l=i(e),d={...l,eventCallback:()=>{window.clearTimeout(r),c()},eventTimeout:t};window.dataLayer=null!=(a=window.dataLayer)?a:[],window.dataLayer.push(d),s(l,c,t)})):Promise.resolve()}function p(e,t){!(0,o.hasAnalyticsConsent)()||r.has(e)||(r.add(e),d(t))}function m(e){let t=e.trim().toLowerCase();return t?/^https?:\/\//.test(t)||t.includes("/")?"url":t.includes(".")?"domain":"unknown":"unknown"}}
1,47717:(e,t,n)=>{n.d(t,{H:()=>m,n:()=>l});var a=n(48657),o=n(64882),c=n(5493);let r="certscore:product-analytics:actor:v1",i="certscore:product-analytics:session:v1",s="certscore:product-analytics:entry:v1";function l(){try{window.localStorage.removeItem(r)}catch(e){}try{window.localStorage.removeItem(i)}catch(e){}try{window.sessionStorage.removeItem(s)}catch(e){}}function d(e,t){try{return e.getItem(t)}catch(e){return null}}function u(e,t,n){try{e.setItem(t,n)}catch(e){}}function p(e){var t,n;let o=null!=(n=(0,a.ED)(window.location.search))?n:(0,a.V1)();return(null==o||null==(t=o[e])?void 0:t.slice(0,120))||void 0}function m(e){var t,n,a,l;let m=null!=(t=window.certscoreAnalyticsConsent)?t:(0,o.getStoredAnalyticsConsent)(),_=e.anonymousAggregate||"denied"===m||!!e.pageRequestToken||!!e.authenticatedPageToken,v=null!=(n=e.route)?n:window.location.pathname,w=_?v:null!=(a=d(window.sessionStorage,s))?a:v;_||u(window.sessionStorage,s,w);let g={...e,eventId:crypto.randomUUID(),route:v,scanId:!_||"/app"===v||v.startsWith("/app/")?null!=(l=e.scanId)?l:(0,c.Zy)(v):void 0,entryRoute:w,language:navigator.language,viewportBand:function(){let e=window.innerWidth;return e<480?"xs":e<768?"sm":e<1024?"md":e<1440?"lg":"xl"}(),campaignSource:_?void 0:p("utm_source"),campaignMedium:_?void 0:p("utm_medium"),campaignName:_?void 0:p("utm_campaign"),..._?{}:{actorId:function(){let e=d(window.localStorage,r);if(e)return e;let t=crypto.randomUUID();return u(window.localStorage,r,t),t}(),sessionId:function(){let e=Date.now(),t=d(window.localStorage,i);try{let n=t?JSON.parse(t):null;if((null==n?void 0:n.id)&&e-n.lastSeenAt<18e5)return u(window.localStorage,i,JSON.stringify({id:n.id,lastSeenAt:e})),n.id}catch(e){}let n=crypto.randomUUID();return u(window.localStorage,i,JSON.stringify({id:n,lastSeenAt:e})),n}()}};delete g.anonymousAggregate;let f=JSON.stringify(g);async function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;try{let e=await fetch("/api/operational-events",{method:"POST",headers:{"content-type":"application/json","x-certscore-analytics-consent":"denied"===m?"denied":"granted"===m?"granted":"measurement"},body:f,keepalive:!0,credentials:"same-origin"});if(!e.ok)throw Error("Operational event ingestion returned HTTP ".concat(e.status,"."))}catch(t){if(e<2)return await new Promise(t=>window.setTimeout(t,250*(e+1))),y(e+1);console.warn("[certscore] operational event ingestion failed",{errorName:t instanceof Error?t.name:"UnknownError",eventName:g.eventName,route:g.route})}}y()}},51983:(e,t,n)=>{n.d(t,{U1:()=>o,g0:()=>a});let a="d96df06d-3e94-4896-8346-1a026d68e5af",o="https://certscore.ai/scan/".concat(a)},71149:(e,t,n)=>{n.d(t,{SI:()=>m,YL:()=>_,Yr:()=>p});var a=n(33275),o=n(64882),c=n(43592),r=n(54836),i=n(5493),s=n(47717),l=n(48657),d=n(51983);function u(){try{var e;if((null!=(e=window.certscoreAnalyticsConsent)?e:(0,o.getStoredAnalyticsConsent)())==="denied")return window.sessionStorage.removeItem(r.Vl),null;return window.sessionStorage}catch(e){return null}}async function p(e){let t=u();if(t&&e.scanId&&e.scanId!==d.g0&&!1===e.reusedExistingScan&&(0,r.Hy)(t,e.scanId,e.source,Date.now(),(0,o.hasAnalyticsConsent)()?(0,a.P)(window.location.pathname):void 0))try{(0,s.H)({eventName:"scan_started",category:"scan",feature:"scan:".concat(e.source),outcome:"started",scanId:e.scanId}),await (0,c.BT)({event:"scan_started",scan_source:e.source,scan_target_type:e.targetType,scan_status:"queued"})}catch(e){}}function m(e,t){let n=u();if(!n||!e||e===d.g0||(0,i.Zy)(window.location.pathname)!==e)return;let a=(0,r.ye)(n,e);if(!a)return;let{source:p,context:m}=a,_="header"===p?"unknown":p;try{if((0,s.H)({eventName:"scan_completed",category:"scan",feature:"scan:".concat(_),outcome:"success",scanId:e}),(0,c.Sd)({...m,event:"scan_completed",scan_source:_,scan_status:"completed"}),!t||!(0,o.hasAnalyticsConsent)())return;let n=(0,l.dt)(t);1===n&&(0,c.Sd)({...m,event:"first_scan_completed",scan_source:_}),2===n&&(0,c.Sd)({...m,event:"second_distinct_domain_scanned",scan_source:_})}catch(e){}}function _(e,t,n){let a;if(t.state.scanId===e&&"completed"===t.state.status&&0===t.counts.active){try{a=new URL(null!=n?n:"").hostname}catch(e){}m(e,a)}}}}]);
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.