From 15e52e8e009fa0ee7e0492c71784c94d5a00d889 Mon Sep 17 00:00:00 2001 From: Chris Portscheller Date: Sun, 6 Dec 2026 12:00:17 -0600 Subject: [PATCH] feat(bots): 15 bots from the weekly sweep Regenerate the bot registry, parity vectors and bundled clearance gate from the upstream registry, which now names 15 more bots (469 in total). --- packages/webdecoy/src/bots/bots.test.ts | 2 +- .../src/bots/parity-vectors.generated.json | 180 ++++++++++++++++++ .../webdecoy/src/bots/registry.generated.ts | 17 +- .../webdecoy/src/clearance/gate.generated.js | 10 +- 4 files changed, 202 insertions(+), 7 deletions(-) diff --git a/packages/webdecoy/src/bots/bots.test.ts b/packages/webdecoy/src/bots/bots.test.ts index f3c4550..a89f2fd 100644 --- a/packages/webdecoy/src/bots/bots.test.ts +++ b/packages/webdecoy/src/bots/bots.test.ts @@ -81,7 +81,7 @@ describe('matchUserAgent', () => { describe('registry integrity', () => { it('carries the full generated table', () => { - expect(BOT_REGISTRY.length).toBe(454); + expect(BOT_REGISTRY.length).toBe(469); expect(BOT_CATEGORIES).toContain('training_crawler'); expect(BOT_CATEGORIES).toContain('search_crawler'); }); diff --git a/packages/webdecoy/src/bots/parity-vectors.generated.json b/packages/webdecoy/src/bots/parity-vectors.generated.json index 1bbb3cc..0b777c2 100644 --- a/packages/webdecoy/src/bots/parity-vectors.generated.json +++ b/packages/webdecoy/src/bots/parity-vectors.generated.json @@ -191,6 +191,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "akkoma ", + "id": "akkoma", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; akkoma /1.0; +http://example.com/bot)", + "id": "akkoma", + "category": "fetcher", + "matched": true + }, { "userAgent": "algolia crawler", "id": "algolia-crawler", @@ -527,6 +539,18 @@ "category": "archiver", "matched": true }, + { + "userAgent": "arenaunfurlbot", + "id": "arenaunfurlbot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; arenaunfurlbot/1.0; +http://example.com/bot)", + "id": "arenaunfurlbot", + "category": "fetcher", + "matched": true + }, { "userAgent": "augment-webfetch", "id": "augment-code", @@ -659,6 +683,18 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "bertinabot", + "id": "bertinabot", + "category": "search_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; bertinabot/1.0; +http://example.com/bot)", + "id": "bertinabot", + "category": "search_crawler", + "matched": true + }, { "userAgent": "betteruptime", "id": "better-uptime", @@ -875,6 +911,18 @@ "category": "archiver", "matched": true }, + { + "userAgent": "hypefactors.com", + "id": "buck", + "category": "seo_crawler", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; hypefactors.com/1.0; +http://example.com/bot)", + "id": "buck", + "category": "seo_crawler", + "matched": true + }, { "userAgent": "burp", "id": "burp", @@ -1643,6 +1691,18 @@ "category": "ai_assistant", "matched": true }, + { + "userAgent": "ezoicbot", + "id": "ezoicbot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ezoicbot/1.0; +http://example.com/bot)", + "id": "ezoicbot", + "category": "fetcher", + "matched": true + }, { "userAgent": "facebookexternalhit", "id": "facebookexternalhit", @@ -2591,6 +2651,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "iisec.ac.jp", + "id": "iisec", + "category": "security_scanner", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; iisec.ac.jp/1.0; +http://example.com/bot)", + "id": "iisec", + "category": "security_scanner", + "matched": true + }, { "userAgent": "isscyberriskcrawler", "id": "isscyberriskcrawler", @@ -2819,6 +2891,18 @@ "category": "ai_search_crawler", "matched": true }, + { + "userAgent": "kaupr/", + "id": "kaupr", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; kaupr//1.0; +http://example.com/bot)", + "id": "kaupr", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "keenable-user", "id": "keenable-user", @@ -3803,6 +3887,18 @@ "category": "ai_agent", "matched": true }, + { + "userAgent": "ousanbot", + "id": "ousanbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; ousanbot/1.0; +http://example.com/bot)", + "id": "ousanbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "oxylabs", "id": "oxylabs", @@ -4067,6 +4163,18 @@ "category": "generic_scraper", "matched": true }, + { + "userAgent": "qcbot/", + "id": "qcbot", + "category": "fetcher", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; qcbot//1.0; +http://example.com/bot)", + "id": "qcbot", + "category": "fetcher", + "matched": true + }, { "userAgent": "qodercli", "id": "qoder", @@ -4103,6 +4211,18 @@ "category": "security_scanner", "matched": true }, + { + "userAgent": "quantcastbot", + "id": "quantcastbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; quantcastbot/1.0; +http://example.com/bot)", + "id": "quantcastbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "qwantify", "id": "qwantify", @@ -4787,6 +4907,18 @@ "category": "seo_crawler", "matched": true }, + { + "userAgent": "stackscopebot", + "id": "stackscopebot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; stackscopebot/1.0; +http://example.com/bot)", + "id": "stackscopebot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "stagehand", "id": "stagehand", @@ -4835,6 +4967,18 @@ "category": "commercial_scraper", "matched": true }, + { + "userAgent": "stratadb-bot", + "id": "stratadb-bot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; stratadb-bot/1.0; +http://example.com/bot)", + "id": "stratadb-bot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "stripebot", "id": "stripebot", @@ -4919,6 +5063,18 @@ "category": "ai_search_crawler", "matched": true }, + { + "userAgent": "techleadsbot", + "id": "techleadsbot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; techleadsbot/1.0; +http://example.com/bot)", + "id": "techleadsbot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "telegrambot", "id": "telegrambot", @@ -5255,6 +5411,18 @@ "category": "training_crawler", "matched": true }, + { + "userAgent": "wellknownbot", + "id": "wellknownbot", + "category": "monitoring", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; wellknownbot/1.0; +http://example.com/bot)", + "id": "wellknownbot", + "category": "monitoring", + "matched": true + }, { "userAgent": "wget/", "id": "wget", @@ -5495,6 +5663,18 @@ "category": "fetcher", "matched": true }, + { + "userAgent": "chainofsalebot", + "id": "chainofsalebot", + "category": "commercial_scraper", + "matched": true + }, + { + "userAgent": "Mozilla/5.0 (compatible; chainofsalebot/1.0; +http://example.com/bot)", + "id": "chainofsalebot", + "category": "commercial_scraper", + "matched": true + }, { "userAgent": "cl0q-crawler", "id": "cl0q", diff --git a/packages/webdecoy/src/bots/registry.generated.ts b/packages/webdecoy/src/bots/registry.generated.ts index 5c0746d..bd34757 100644 --- a/packages/webdecoy/src/bots/registry.generated.ts +++ b/packages/webdecoy/src/bots/registry.generated.ts @@ -11,7 +11,7 @@ * agents share User-Agent substrings, so sorting this array changes how real * traffic is classified. * - * 454 agents across 15 categories. + * 469 agents across 15 categories. */ /** @@ -200,6 +200,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "opencode-smartfetch", name: "opencode-smartfetch", category: "ai_agent", organization: "OpenCode", baseScore: 75, respectsRobots: false, uaPatterns: ["opencode-smartfetch"] }, { id: "deepseek-harness", name: "deepseek-harness", category: "ai_agent", organization: "Unknown", baseScore: 75, respectsRobots: false, uaPatterns: ["deepseek-harness"] }, { id: "agentdrivesagent", name: "AgentDrivesAgent", category: "ai_agent", organization: "AgentDrives", baseScore: 70, respectsRobots: false, uaPatterns: ["agentdrivesagent/"] }, + { id: "bertinabot", name: "BertinaBot", category: "search_crawler", organization: "Bertina", baseScore: 40, respectsRobots: true, uaPatterns: ["bertinabot"] }, { id: "aprycobot", name: "AprycoBot", category: "search_crawler", organization: "Apryco", baseScore: 40, respectsRobots: true, uaPatterns: ["aprycobot"] }, { id: "seekportbot", name: "SeekportBot", category: "search_crawler", organization: "Seekport", baseScore: 40, respectsRobots: true, uaPatterns: ["seekportbot"] }, { id: "marginalia", name: "Marginalia Search", category: "search_crawler", organization: "Marginalia", baseScore: 35, respectsRobots: true, uaPatterns: ["search.marginalia.nu"] }, @@ -246,6 +247,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "officestorebot", name: "officestorebot", category: "search_crawler", organization: "Microsoft", baseScore: 30, respectsRobots: true, uaPatterns: ["officestorebot"] }, { id: "semanticscholarbot", name: "SemanticScholarBot", category: "search_crawler", organization: "Allen Institute for AI", baseScore: 35, respectsRobots: true, uaPatterns: ["semanticscholarbot"] }, { id: "ntentbot", name: "NTENTbot", category: "search_crawler", organization: "NTENT", baseScore: 35, respectsRobots: true, uaPatterns: ["ntentbot"] }, + { id: "buck", name: "Buck", category: "seo_crawler", organization: "Hypefactors", baseScore: 45, respectsRobots: true, uaPatterns: ["hypefactors.com"] }, { id: "vercatus", name: "Vercatus", category: "seo_crawler", organization: "Vercatus", baseScore: 35, respectsRobots: true, uaPatterns: ["vercatus/"] }, { id: "blexbot", name: "BLEXBot", category: "seo_crawler", organization: "WebMeUp", baseScore: 50, respectsRobots: true, uaPatterns: ["blexbot"] }, { id: "seobilitybot", name: "SeobilityBot", category: "seo_crawler", organization: "Seobility", baseScore: 45, respectsRobots: true, uaPatterns: ["seobilitybot"] }, @@ -287,6 +289,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "searchatlas", name: "Search Atlas", category: "seo_crawler", organization: "Search Atlas", baseScore: 45, respectsRobots: true, uaPatterns: ["searchatlas"] }, { id: "yextbot", name: "YextBot", category: "seo_crawler", organization: "Yext", baseScore: 45, respectsRobots: true, uaPatterns: ["yextbot"] }, { id: "accessiblewebbot", name: "AccessibleWebBot", category: "seo_crawler", organization: "AccessibleWeb", baseScore: 35, respectsRobots: true, uaPatterns: ["accessiblewebbot"] }, + { id: "iisec", name: "IISEC research scanner", category: "security_scanner", organization: "Institute of Information Security", baseScore: 60, respectsRobots: false, uaPatterns: ["iisec.ac.jp"] }, { id: "merchantsecurityscanner", name: "MerchantSecurityScanner", category: "security_scanner", organization: "Stripe", baseScore: 40, respectsRobots: false, uaPatterns: ["merchantsecurityscanner"] }, { id: "tldwpbot", name: "TLDWPBot", category: "security_scanner", organization: "TLDWP", baseScore: 60, respectsRobots: false, uaPatterns: ["tldwpbot"] }, { id: "bitsightbot", name: "BitSightBot", category: "security_scanner", organization: "BitSight", baseScore: 70, respectsRobots: false, uaPatterns: ["bitsightbot"] }, @@ -356,6 +359,10 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "wayback", name: "Wayback Machine", category: "archiver", organization: "Internet Archive", baseScore: 25, respectsRobots: true, uaPatterns: ["wayback"] }, { id: "heritrix", name: "Heritrix", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["heritrix"] }, { id: "brozzler", name: "Brozzler", category: "archiver", organization: "Internet Archive", baseScore: 30, respectsRobots: true, uaPatterns: ["brozzler"] }, + { id: "qcbot", name: "QUIC.cloud Bot", category: "fetcher", organization: "QUIC.cloud", baseScore: 25, respectsRobots: false, uaPatterns: ["qcbot/"] }, + { id: "akkoma", name: "Akkoma", category: "fetcher", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["akkoma "] }, + { id: "arenaunfurlbot", name: "ArenaUnfurlBot", category: "fetcher", organization: "Arena", baseScore: 25, respectsRobots: false, uaPatterns: ["arenaunfurlbot"] }, + { id: "ezoicbot", name: "EzoicBot", category: "fetcher", organization: "Ezoic", baseScore: 35, respectsRobots: true, uaPatterns: ["ezoicbot"] }, { id: "curlshipbot", name: "CurlShipBot", category: "fetcher", organization: "CurlShip", baseScore: 30, respectsRobots: false, uaPatterns: ["curlshipbot"] }, { id: "criteobot", name: "CriteoBot", category: "fetcher", organization: "Criteo", baseScore: 35, respectsRobots: true, uaPatterns: ["criteobot"] }, { id: "taboolabot", name: "Taboolabot", category: "fetcher", organization: "Taboola", baseScore: 35, respectsRobots: false, uaPatterns: ["taboolabot"] }, @@ -418,6 +425,7 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "libwww-perl", name: "libwww-perl", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["libwww-perl"] }, { id: "lwp", name: "LWP", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["lwp-"] }, { id: "httrack", name: "HTTrack", category: "fetcher", organization: "Open Source", baseScore: 60, respectsRobots: true, uaPatterns: ["httrack"] }, + { id: "wellknownbot", name: "WellknownBot", category: "monitoring", organization: "Wellknown", baseScore: 25, respectsRobots: true, uaPatterns: ["wellknownbot"] }, { id: "sealkeeperbot", name: "SealKeeperBot", category: "monitoring", organization: "SealKeeper", baseScore: 25, respectsRobots: true, uaPatterns: ["sealkeeperbot"] }, { id: "webdecoysitehealth", name: "WebDecoySiteHealth", category: "monitoring", organization: "WebDecoy", baseScore: 25, respectsRobots: false, uaPatterns: ["webdecoysitehealth"] }, { id: "solvedearthlivenessbot", name: "SolvedEarthLivenessBot", category: "monitoring", organization: "Agentery", baseScore: 25, respectsRobots: false, uaPatterns: ["solvedearthlivenessbot"] }, @@ -466,6 +474,13 @@ export const BOT_REGISTRY: readonly BotAgent[] = [ { id: "rssbot", name: "RSSBot", category: "feed_reader", organization: "Open Source", baseScore: 25, respectsRobots: false, uaPatterns: ["rssbot/"] }, { id: "hatena", name: "Hatena", category: "feed_reader", organization: "Hatena", baseScore: 25, respectsRobots: false, uaPatterns: ["hatena"] }, { id: "newsai", name: "newsai", category: "feed_reader", organization: "Unknown", baseScore: 40, respectsRobots: false, uaPatterns: ["newsai/"] }, + { id: "kaupr", name: "Kaupr", category: "commercial_scraper", organization: "Kaupr", baseScore: 50, respectsRobots: false, uaPatterns: ["kaupr/"] }, + { id: "stratadb-bot", name: "StrataDB-Bot", category: "commercial_scraper", organization: "StrataDB", baseScore: 45, respectsRobots: true, uaPatterns: ["stratadb-bot"] }, + { id: "quantcastbot", name: "Quantcastbot", category: "commercial_scraper", organization: "Quantcast", baseScore: 45, respectsRobots: false, uaPatterns: ["quantcastbot"] }, + { id: "chainofsalebot", name: "chainofsalebot", category: "commercial_scraper", organization: "chainofsale", baseScore: 40, respectsRobots: true, uaPatterns: ["chainofsalebot"] }, + { id: "stackscopebot", name: "StackScopeBot", category: "commercial_scraper", organization: "FirstSited", baseScore: 45, respectsRobots: false, uaPatterns: ["stackscopebot"] }, + { id: "ousanbot", name: "OusanBot", category: "commercial_scraper", organization: "Ousan", baseScore: 45, respectsRobots: false, uaPatterns: ["ousanbot"] }, + { id: "techleadsbot", name: "TechLeadsBot", category: "commercial_scraper", organization: "TechLeads", baseScore: 45, respectsRobots: true, uaPatterns: ["techleadsbot"] }, { id: "hiddentiesresearchbot", name: "HiddenTiesResearchBot", category: "commercial_scraper", organization: "Hidden Ties", baseScore: 50, respectsRobots: false, uaPatterns: ["hiddentiesresearchbot"] }, { id: "trustedbypeoplebot", name: "TrustedByPeople.com Bot", category: "commercial_scraper", organization: "TrustedByPeople", baseScore: 40, respectsRobots: true, uaPatterns: ["trustedbypeople"] }, { id: "launchmicbot", name: "LaunchMicBot", category: "commercial_scraper", organization: "LaunchMic", baseScore: 45, respectsRobots: false, uaPatterns: ["launchmicbot"] }, diff --git a/packages/webdecoy/src/clearance/gate.generated.js b/packages/webdecoy/src/clearance/gate.generated.js index 721dce8..a036f82 100644 --- a/packages/webdecoy/src/clearance/gate.generated.js +++ b/packages/webdecoy/src/clearance/gate.generated.js @@ -1,7 +1,7 @@ // GENERATED by WebDecoy edge/vercel-validator/scripts/bundle.mjs. DO NOT EDIT. -// Build vercel-3c847c42c8e3. Regenerate from the validator source; gate-bundle.test.ts fails on a hand edit. +// Build vercel-095953509345. Regenerate from the validator source; gate-bundle.test.ts fails on a hand edit. var B={"chat.deepseek.com":"DeepSeek","chat.openai.com":"ChatGPT","chatgpt.com":"ChatGPT","claude.ai":"Claude","copilot.microsoft.com":"Copilot","deepseek.com":"DeepSeek","gemini.google.com":"Gemini","grok.com":"Grok","kagi.com":"Kagi","meta.ai":"Meta AI","perplexity.ai":"Perplexity","phind.com":"Phind","www.deepseek.com":"DeepSeek","www.grok.com":"Grok","www.kagi.com":"Kagi","www.meta.ai":"Meta AI","www.perplexity.ai":"Perplexity","www.phind.com":"Phind","www.you.com":"You.com","you.com":"You.com"};var ar=["utm_source","ref","utm_medium"],ie=500;function nr(e,r){let t=(e??"").trim();if(t)try{return B[new URL(t).hostname.toLowerCase()]??""}catch{return""}let o;try{o=new URL(r)}catch{return""}for(let a of ar)for(let n of o.searchParams.getAll(a)){let i=ir(n);if(i)return i}return""}var se=e=>e.replace(/[ \-_.]/g,"");function ir(e){let r=e.trim().toLowerCase();if(!r)return"";try{let o=new URL(r).hostname;o&&(r=o.toLowerCase())}catch{}if(r=r.replace(/\.$/,""),B[r])return B[r];let t=se(r);for(let[o,a]of Object.entries(B))if(t===se(a.toLowerCase())||t===o.replace(/^www\./,"").replace(/\./g,""))return a;return""}function ce(e,r){if(e.method!=="GET")return null;let t=e.headers;if(t.get("sec-fetch-mode")!=="navigate")return null;let o=t.get("sec-fetch-dest");if(o&&o!=="document")return null;let a=nr(t.get("referer")??"",r.toString());if(!a)return null;let n=r.pathname||"/";return n.length>ie&&(n=n.slice(0,ie)),{platform:a,path:n}}var sr="web-bot-auth";async function le(e,r){let t=e.headers.get("signature-input"),o=e.headers.get("signature");if(!t&&!o)return{status:"none"};if(!t||!o)return{status:"invalid"};if(!r||r.length===0)return{status:"unknown_key"};let a,n;try{a=fr(t),n=wr(o)}catch{return{status:"invalid"}}let i=!1,s=!1;for(let c of a){if(c.params.get("tag")!==sr)continue;i=!0;let g=n.get(c.label);if(!g)continue;let l=c.params.get("keyid");if(typeof l!="string")continue;let w;try{w=cr(e,c)}catch{s||=r.some(p=>p.keyid===l);continue}let f=r.find(p=>{if(p.keyid!==l)return!1;try{return ue(p.directory)===w}catch{return!1}});if(!f)continue;s=!0;let h=Date.now()/1e3,m=c.params.get("created"),v=c.params.get("expires");if(typeof m!="number"||typeof v!="number"||h>=v+10||h+101440*60||!c.components.some(p=>p.name==="@authority"||p.name==="@target-uri"))continue;let d;try{d=ur(e,c)}catch{continue}let u=!1;try{let p=await crypto.subtle.importKey("raw",we(f.public_key),{name:"Ed25519"},!1,["verify"]);u=await crypto.subtle.verify({name:"Ed25519"},p,g,new TextEncoder().encode(d))}catch{u=!1}if(u)return{status:"verified",name:f.name,category:f.category,keyid:l}}return s?{status:"invalid"}:i?{status:"unknown_key"}:{status:"none"}}function cr(e,r){let t=e.headers.get("signature-agent");if(t===null)throw new Error("missing signature-agent");let o=r.components.find(i=>i.name.toLowerCase()==="signature-agent");if(!o)throw new Error("signature-agent is not covered");let a=t.trim(),n;if(a.startsWith('"')){if(o.keyParam!==void 0)throw new Error("legacy string cannot select a member");let i=new T(a);if(n=fe(i),i.skipSP(),!i.eof())throw new Error("trailing signature-agent data")}else{if(o.keyParam===void 0)throw new Error("dictionary member is not covered");let i=I(a).find(c=>c.key===o.keyParam),s=i?.items[0];if(!i||i.isList||i.items.length!==1||typeof s?.value!="string")throw new Error("signature-agent member is not a string");if(s.hasParams)throw new Error("signature-agent member carries parameters");n=s.value}return ue(n)}var lr="/.well-known/http-message-signatures-directory";function ue(e){if(!/^https:\/\/[^/\\]/i.test(e))throw new Error("signature-agent must be an https URL");let r=new URL(e);if(r.protocol!=="https:"||!r.hostname||r.username||r.password)throw new Error("signature-agent must be an https URL");r.hash="";let t=r.href.includes("?"),o=r.pathname;return o==="/"&&!t&&(o=lr),o=o.replace(/%[0-9a-f]{2}/gi,a=>a.toUpperCase()),`https://${$(r)}${o}`}function ur(e,r){let t=new URL(e.url),o=[];for(let a of r.components)o.push(`${gr(a)}: ${dr(e,t,a)}`);return o.push(`"@signature-params": ${r.raw.trim()}`),o.join(` -`)}function gr(e){let r=`"${e.name.toLowerCase()}"`;return e.keyParam!==void 0?`${r};key="${e.keyParam}"`:r}function dr(e,r,t){let o=t.name.toLowerCase();if(o==="@authority")return $(r);if(o==="@target-uri")return`${r.protocol}//${$(r)}${r.pathname}${r.search}`;if(o==="signature-agent"){let a=e.headers.get("signature-agent");if(a===null)throw new Error("signature-agent covered but absent");return t.keyParam!==void 0?pr(a,t.keyParam):a.trim().replace(/\s+/g," ")}throw new Error(`unsupported covered component ${o}`)}function $(e){let r=e.hostname.toLowerCase(),t=e.port;return!t||e.protocol==="https:"&&t==="443"||e.protocol==="http:"&&t==="80"?r:`${r}:${t}`}function pr(e,r){let o=I(e).find(a=>a.key===r);if(!o)throw new Error(`signature-agent has no member ${r}`);return o.raw}function fr(e){return I(e).map(t=>{if(!t.isList)throw new Error(`Signature-Input member ${t.key} is not an inner list`);let o=t.items.map(a=>{if(typeof a.value!="string")throw new Error("component identifier is not a string");let n=a.params.get("key");return{name:a.value,keyParam:typeof n=="string"?n:void 0}});return{label:t.key,components:o,params:t.params,raw:t.raw}})}function wr(e){let r=I(e),t=new Map;for(let o of r){if(o.isList||o.items.length!==1)throw new Error(`Signature member ${o.key} is not a byte sequence`);let a=o.items[0].bytes;if(!a)throw new Error(`Signature member ${o.key} is not a byte sequence`);t.set(o.key,a)}return t}var T=class{constructor(r,t=0){this.s=r;this.i=t}eof(){return this.i>=this.s.length}peek(){return this.s[this.i]}skipSP(){for(;!this.eof()&&(this.peek()===" "||this.peek()===" ");)this.i++}};function I(e){let r=new T(e),t=[];for(r.skipSP();!r.eof();){let a={key:de(r),raw:"",isList:!1,items:[],params:new Map};if(!r.eof()&&r.peek()==="="){r.i++;let n=r.i;if(!r.eof()&&r.peek()==="(")a.isList=!0,br(r,a);else{let{value:i,params:s,hasParams:c,bytes:g}=ge(r);a.items.push({value:i,params:s,hasParams:c,...g?{bytes:g}:{}})}a.raw=e.slice(n,r.i)}else a.params=V(r),a.items.push({value:!0,params:new Map});if(t.push(a),r.skipSP(),r.eof())break;if(r.peek()!==",")throw new Error(`expected ',' at ${r.i}`);if(r.i++,r.skipSP(),r.eof())throw new Error("trailing comma")}return t}function br(e,r){for(e.i++;;){if(e.skipSP(),e.eof())throw new Error("unterminated inner list");if(e.peek()===")"){e.i++;break}let{value:t,params:o}=ge(e);if(r.items.push({value:t,params:o}),e.eof())throw new Error("unterminated inner list");let a=e.peek();if(a!==" "&&a!==")")throw new Error(`bad inner list at ${e.i}`)}r.params=V(e)}function ge(e){let{value:r,bytes:t}=pe(e),o=!e.eof()&&e.peek()===";",a=V(e);return{value:r,params:a,hasParams:o,bytes:t}}function V(e){let r=new Map;for(;!e.eof()&&e.peek()===";";){e.i++,e.skipSP();let t=de(e),o=!0;if(!e.eof()&&e.peek()==="="){e.i++;let a=pe(e);o=(typeof a.value=="boolean",a.value)}typeof o!="boolean"&&r.set(t,o)}return r}function de(e){let r=e.peek();if(!r||!/[a-z*]/.test(r))throw new Error(`invalid key at ${e.i}`);let t=e.i;for(;!e.eof()&&/[a-z0-9_\-.*]/.test(e.peek());)e.i++;return e.s.slice(t,e.i)}function pe(e){let r=e.peek();if(r==='"')return{value:fe(e)};if(r===":")return{value:"",bytes:hr(e)};if(r==="?"){e.i++;let t=e.peek();if(e.i++,t==="1")return{value:!0};if(t==="0")return{value:!1};throw new Error("bad boolean")}if(r==="-"||/[0-9]/.test(r))return{value:mr(e)};if(/[a-zA-Z*]/.test(r))return{value:yr(e)};throw new Error(`invalid bare item at ${e.i}`)}function fe(e){e.i++;let r="";for(;!e.eof();){let t=e.s[e.i++];if(t==='"')return r;if(t==="\\"){let o=e.s[e.i++];if(o!=='"'&&o!=="\\")throw new Error("bad escape");r+=o}else{let o=t.charCodeAt(0);if(o<32||o>126)throw new Error("bad char in string");r+=t}}throw new Error("unterminated string")}function hr(e){e.i++;let r=e.i;for(;!e.eof()&&e.peek()!==":";)e.i++;if(e.eof())throw new Error("unterminated byte sequence");let t=e.s.slice(r,e.i);return e.i++,we(t)}function mr(e){let r=e.i;for(e.peek()==="-"&&e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;if(!e.eof()&&e.peek()===".")for(e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;return Number(e.s.slice(r,e.i))}function yr(e){let r=e.i;for(e.i++;!e.eof()&&/[a-zA-Z0-9!#$%&'*+\-.^_`|~:/]/.test(e.peek());)e.i++;return e.s.slice(r,e.i)}function we(e){let r=atob(e),t=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;o0?Object.keys(W).find(r=>W[r]===e)??"":""}function he(e){return e=kr(e),e=_r(e),e.toLowerCase()}function kr(e){for(let r=0;r<4;r++){let t=xr(e);if(t===e)break;e=t}return e}function xr(e){if(!e.includes("%"))return e;let r="";for(let t=0;t=0&&a>=0){let n=o<<4|a;if(n<128){r+=String.fromCharCode(n),t+=2;continue}}}r+=e[t]}return r}function me(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-97+10:e>=65&&e<=70?e-65+10:-1}function _r(e){if(e==="")return e;let r=e.length>1&&e[e.length-1]==="/",t=[];for(let a of e.split("/"))if(!(a===""||a===".")){if(a===".."){t.length>0&&t.pop();continue}t.push(a)}let o="/"+t.join("/");return r&&o!=="/"&&(o+="/"),o}function M(e,r){let t=he(e),o=he(r);if(o.endsWith("/*")){let a=o.slice(0,-2);return a===""?!0:t===a||t.startsWith(a+"/")}return t===o}function O(e){return e.endsWith("/*")?e.length-2:1<<20}function ye(e,r,t){let o=new Map,a=new Set,n=[],i=[],s=new Map,c=(u,p)=>{let k=new Set(u);for(let S of p)for(let E of s.get(S)??[])k.add(E);return k.size===0?void 0:[...k].sort()},g=(u,p,k)=>k?{pattern:u,required_trust:p,refused_behaviors:k}:{pattern:u,required_trust:p};for(let u of r){if(!M(e,u.pattern))continue;if((u.exceptions??[]).some(S=>M(e,S))){i.push(u.pattern);continue}let p=o.get(u.pattern);p===void 0&&n.push(u.pattern);let k=vr(u.min_trust);(p===void 0||k>p)&&o.set(u.pattern,k),u.mode!=="monitor"&&a.add(u.pattern);for(let S of u.refuse_behaviors??[])s.has(u.pattern)||s.set(u.pattern,new Set),s.get(u.pattern)?.add(S)}let l=[];if(n.length===0){let u="";for(let p of i)(u===""||O(p)>O(u))&&(u=p);return{covering:n,deciding_mode:"",attributed:"",required_trust:"",requirement_source:"",previews:l,excepted_by:u,refused_behaviors:[]}}n.sort((u,p)=>O(p)-O(u));let w=t==="monitor",f=n.filter(u=>a.has(u)),h=w?"monitor":"enforce";if(f.length===0){if(!w)for(let u of n)l.push(g(u,F(o.get(u)??0),c([],[u])));f=n,h="monitor"}let m=0,v="";for(let u of f){let p=o.get(u)??0;p>m&&(m=p,v=u)}let d=c([],f)??[];if(h==="enforce")for(let u of n)a.has(u)||l.push(g(u,F(Math.max(m,o.get(u)??0)),c(d,[u])));return{covering:n,deciding_mode:h,attributed:f[0],required_trust:F(m),requirement_source:v,previews:l,excepted_by:"",refused_behaviors:d}}var Ar="other",Sr={"search engine crawler":"search","ai search":"search","ai assistant":"agent","ai crawler":"training","page preview":"link_preview","feed fetcher":"feeds","monitoring & analytics":"monitoring","search engine optimization":"seo",security:"security_testing"};function D(e){let r=e.trim().toLowerCase();return r?Sr[r]??Ar:""}function j(e,r){let t=D(e);return t!==""&&r.includes(t)}var Cr={search_engines:["search engine crawler"],ai_crawlers:["ai assistant","ai crawler","ai search"],monitoring:["monitoring & analytics"]};function ve(e,r){let t=Cr[e];return t?t.every(o=>j(o,r)):!1}var Br=M;function ke(e,r,t){return e?r?r.some(o=>Br(t,o)):!0:!1}var Rr="x-wd-service-token",Pr="wd_clearance";function xe(e,r,t=[]){if(e.graded&&r&&!Dr(e.graded.trust,r))return{pass:!1,label:"insufficient-trust"};if(e.crawler&&t.length>0){if(e.crawler.behavior&&t.includes(e.crawler.behavior))return{pass:!1,label:"crawler-refused"};if(!e.crawler.behavior&&e.crawler.exempted)return{pass:!1,label:"missing"}}return{pass:e.pass,label:e.label}}async function Ce(e,r,t){let o=new URL(e.url).pathname,a=ye(o,Or(r),r.mode),n=a.deciding_mode||r.mode,i=await Er(e,r,t,a.covering.length>0,a.excepted_by!==""),s=i.behavior??"",c=xe(i,a.required_trust,a.refused_behaviors),g=c.label==="excepted"?a.excepted_by:c.label==="unscoped"?"":a.attributed,l=!c.pass&&n==="enforce",w=a.previews.map(f=>{let h=xe(i,f.required_trust,f.refused_behaviors??[]);return{pattern:f.pattern,refused:!h.pass&&!l?h.label:""}});return{pass:c.pass,label:c.label,pattern:g,mode:n,previews:w,behavior:c.pass?s:"",crawlerBehavior:i.crawler?.behavior??"",referral:ce(e,new URL(e.url)),outsideReach:i.outsideReach??"",credentialUsed:i.credentialUsed??""}}async function Er(e,r,t,o,a){let n=await Tr(e,r,t);if(n.grants)return{pass:!0,label:"machine",credentialUsed:n.id};let i=await Ir(e,r,t,o,a);return n.outsideReach?{...i,outsideReach:n.outsideReach}:i}async function Tr(e,r,t){let o=e.headers.get(Rr);if(!o)return{grants:!1,id:"",outsideReach:""};let a=await Re(o,r.keys,t.siteKey);if(!a||a.typ!=="machine"||!a.sub)return{grants:!1,id:"",outsideReach:""};if(r.active_credentials.includes(a.sub))return{grants:!0,id:a.sub,outsideReach:""};let n=(r.restricted_credentials??[]).find(s=>s&&s.id===a.sub);if(!n)return{grants:!1,id:"",outsideReach:""};let i=new URL(e.url).pathname;return ke(n.here,n.paths,i)?{grants:!0,id:a.sub,outsideReach:""}:{grants:!1,id:"",outsideReach:a.sub}}async function Ir(e,r,t,o,a){let n=await t.verifiedBotCategory(e,o)||"",i=n?{behavior:D(n),exempted:!1}:void 0;if(n&&Lr(n,r)){let l=D(n);return{pass:!0,label:"verified-bot",behavior:l,crawler:{behavior:l,exempted:!0}}}let s=await le(e,r.signed_agents);if(s.status==="verified"&&Ur(s.category,r))return{pass:!0,label:"signed-agent",behavior:Ae(s.category),crawler:{behavior:Ae(s.category),exempted:!0}};if(s.status==="invalid"&&o)return{pass:!1,label:"agent-impersonation",crawler:i};if(!o)return a?{pass:!0,label:"excepted",crawler:i}:{pass:!0,label:"unscoped",crawler:i};let c=Y(e.headers.get("cookie")??"",Pr);if(!c)return{pass:!1,label:"missing",crawler:i};let g=await Re(c,r.keys,t.siteKey);return!g||(g.typ??"")!==""?{pass:!1,label:"invalid",crawler:i}:r.denied_fps&&r.denied_fps.includes(g.fp)?{pass:!1,label:"revoked",crawler:i}:{pass:!0,label:"valid",graded:{trust:g.trust},crawler:i}}function Or(e){let r=new Set(e.routes),t=new Map;for(let a of e.route_exceptions??[])r.has(a.pattern)&&Array.isArray(a.except)&&t.set(a.pattern,a.except);let o=e.routes.map(a=>({pattern:a,exceptions:t.get(a)}));for(let a of e.route_min_trust??[])r.has(a.pattern)&&o.push({pattern:a.pattern,min_trust:a.min_trust,exceptions:t.get(a.pattern)});for(let a of e.monitor_routes??[])o.push({pattern:a.pattern,min_trust:a.min_trust,mode:"monitor",exceptions:a.except});for(let a of e.route_refusals??[])!Array.isArray(a.refuse_behaviors)||a.refuse_behaviors.length===0||(a.mode==="monitor"?o.push({pattern:a.pattern,mode:"monitor",refuse_behaviors:a.refuse_behaviors}):r.has(a.pattern)&&o.push({pattern:a.pattern,exceptions:t.get(a.pattern),refuse_behaviors:a.refuse_behaviors}));return o}var Mr={"attested-human":2,"human-likely":1,clean:0};function _e(e){return Mr[e??""]??0}function Dr(e,r){return _e(e)>=_e(r)}function Lr(e,r){let t=r.allow_behaviors;return t?j(e,t):Gr(e,r.allow)}function Ur(e,r){let t=r.allow_behaviors;return t?ve(e,t):be(e,r.allow)}function Ae(e){return e==="search_engines"?"search":e==="monitoring"?"monitoring":""}function Gr(e,r){let t=e.trim().toLowerCase();return!!(r.search_engines&&t.includes("search engine crawler")||r.ai_crawlers&&t.startsWith("ai ")||r.monitoring&&t.includes("monitoring"))}function q(e){return!e.pass&&e.mode==="enforce"&&(e.label==="missing"||e.label==="invalid")}function Be(e){return q(e)?{...e,pass:!0,label:"outage-pass"}:e}function Y(e,r){for(let t of e.split(";")){let o=t.indexOf("=");if(!(o<0)&&t.slice(0,o).trim()===r)return t.slice(o+1).trim()||null}return null}async function Re(e,r,t){try{let o=e.indexOf(".");if(o<0)return null;let a=Se(e.slice(0,o)),n=Se(e.slice(o+1)),i=JSON.parse(new TextDecoder().decode(a)),s=r.find(l=>l.kid===i.kid);if(!s)return null;let c=await crypto.subtle.importKey("raw",zr(s.public_key),{name:"Ed25519"},!1,["verify"]);return!await crypto.subtle.verify({name:"Ed25519"},c,n,a)||i.tenant!==t||Date.now()/1e3>=i.exp?null:i}catch{return null}}function Se(e){let r=e.replace(/-/g,"+").replace(/_/g,"/")+"=".repeat((4-e.length%4)%4);return Pe(atob(r))}function zr(e){return Pe(atob(e))}function Pe(e){let r=new Uint8Array(new ArrayBuffer(e.length));for(let t=0;t{let a=!1;try{let n=new AbortController,i=setTimeout(()=>n.abort(),3e3);try{let s=await o(e.replace(/\/+$/,"")+"/api/v1/clearance",{method:"POST",headers:{"content-type":"application/json","user-agent":"WebDecoy-OutageProbe/1"},body:JSON.stringify({aid:r,fp:"wd-outage-probe",scope:"",ua:"WebDecoy-OutageProbe/1"}),signal:n.signal});s.status===429?a=!0:s.status<300&&(a=typeof(await s.json())?.granted=="boolean")}finally{clearTimeout(i)}}catch{a=!1}return L={at:t,available:a},a})();try{return await R}finally{R=null}}function Ee(e){let r="";for(let t of new Uint8Array(e))r+=String.fromCharCode(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Te(e,r){let t=await crypto.subtle.importKey("raw",new TextEncoder().encode(e),{name:"HMAC",hash:"SHA-256"},!1,["sign"]);return Ee(await crypto.subtle.sign("HMAC",t,new TextEncoder().encode(r)))}async function Ie(e){return Ee(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e))).slice(0,16)}function Oe(e,r,t){return`${Nr}|${e}|${r}|${t}`}async function Hr(e,r,t,o){let a=Math.floor(o/1e3)+300;return`${a}.${await Te(e,Oe(r,a,await Ie(t)))}`}async function Me(e,r,t,o,a){if(!r||!e)return!1;let n=e.indexOf(".");if(n<=0)return!1;let i=Number(e.slice(0,n));if(!Number.isInteger(i)||i<=Math.floor(a/1e3)||i>Math.floor(a/1e3)+300)return!1;let s=await Te(r,Oe(t,i,await Ie(o))),c=e.slice(n+1);if(c.length!==s.length)return!1;let g=0;for(let l=0;lnew Response(JSON.stringify(s),{status:i,headers:{"content-type":"application/json","cache-control":"no-store",...c}});if(e.method!=="POST")return a(405,{pass:!1});if(!r.sensorKey)return a(503,{pass:!1,reason:"unsupported"});if(await Kr(r.apiBase,r.siteKey,t,o))return a(409,{pass:!1,reason:"mint_available"});let n=await Hr(r.sensorKey,r.host,e.headers.get("user-agent")??"",t);return a(200,{pass:!0,expires_in:300},{"set-cookie":`${J}=${n}; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=300`})}var $r="wdfp1",Le=` +`)}function gr(e){let r=`"${e.name.toLowerCase()}"`;return e.keyParam!==void 0?`${r};key="${e.keyParam}"`:r}function dr(e,r,t){let o=t.name.toLowerCase();if(o==="@authority")return $(r);if(o==="@target-uri")return`${r.protocol}//${$(r)}${r.pathname}${r.search}`;if(o==="signature-agent"){let a=e.headers.get("signature-agent");if(a===null)throw new Error("signature-agent covered but absent");return t.keyParam!==void 0?pr(a,t.keyParam):a.trim().replace(/\s+/g," ")}throw new Error(`unsupported covered component ${o}`)}function $(e){let r=e.hostname.toLowerCase(),t=e.port;return!t||e.protocol==="https:"&&t==="443"||e.protocol==="http:"&&t==="80"?r:`${r}:${t}`}function pr(e,r){let o=I(e).find(a=>a.key===r);if(!o)throw new Error(`signature-agent has no member ${r}`);return o.raw}function fr(e){return I(e).map(t=>{if(!t.isList)throw new Error(`Signature-Input member ${t.key} is not an inner list`);let o=t.items.map(a=>{if(typeof a.value!="string")throw new Error("component identifier is not a string");let n=a.params.get("key");return{name:a.value,keyParam:typeof n=="string"?n:void 0}});return{label:t.key,components:o,params:t.params,raw:t.raw}})}function wr(e){let r=I(e),t=new Map;for(let o of r){if(o.isList||o.items.length!==1)throw new Error(`Signature member ${o.key} is not a byte sequence`);let a=o.items[0].bytes;if(!a)throw new Error(`Signature member ${o.key} is not a byte sequence`);t.set(o.key,a)}return t}var T=class{constructor(r,t=0){this.s=r;this.i=t}eof(){return this.i>=this.s.length}peek(){return this.s[this.i]}skipSP(){for(;!this.eof()&&(this.peek()===" "||this.peek()===" ");)this.i++}};function I(e){let r=new T(e),t=[];for(r.skipSP();!r.eof();){let a={key:de(r),raw:"",isList:!1,items:[],params:new Map};if(!r.eof()&&r.peek()==="="){r.i++;let n=r.i;if(!r.eof()&&r.peek()==="(")a.isList=!0,br(r,a);else{let{value:i,params:s,hasParams:c,bytes:g}=ge(r);a.items.push({value:i,params:s,hasParams:c,...g?{bytes:g}:{}})}a.raw=e.slice(n,r.i)}else a.params=V(r),a.items.push({value:!0,params:new Map});if(t.push(a),r.skipSP(),r.eof())break;if(r.peek()!==",")throw new Error(`expected ',' at ${r.i}`);if(r.i++,r.skipSP(),r.eof())throw new Error("trailing comma")}return t}function br(e,r){for(e.i++;;){if(e.skipSP(),e.eof())throw new Error("unterminated inner list");if(e.peek()===")"){e.i++;break}let{value:t,params:o}=ge(e);if(r.items.push({value:t,params:o}),e.eof())throw new Error("unterminated inner list");let a=e.peek();if(a!==" "&&a!==")")throw new Error(`bad inner list at ${e.i}`)}r.params=V(e)}function ge(e){let{value:r,bytes:t}=pe(e),o=!e.eof()&&e.peek()===";",a=V(e);return{value:r,params:a,hasParams:o,bytes:t}}function V(e){let r=new Map;for(;!e.eof()&&e.peek()===";";){e.i++,e.skipSP();let t=de(e),o=!0;if(!e.eof()&&e.peek()==="="){e.i++;let a=pe(e);o=(typeof a.value=="boolean",a.value)}typeof o!="boolean"&&r.set(t,o)}return r}function de(e){let r=e.peek();if(!r||!/[a-z*]/.test(r))throw new Error(`invalid key at ${e.i}`);let t=e.i;for(;!e.eof()&&/[a-z0-9_\-.*]/.test(e.peek());)e.i++;return e.s.slice(t,e.i)}function pe(e){let r=e.peek();if(r==='"')return{value:fe(e)};if(r===":")return{value:"",bytes:hr(e)};if(r==="?"){e.i++;let t=e.peek();if(e.i++,t==="1")return{value:!0};if(t==="0")return{value:!1};throw new Error("bad boolean")}if(r==="-"||/[0-9]/.test(r))return{value:mr(e)};if(/[a-zA-Z*]/.test(r))return{value:yr(e)};throw new Error(`invalid bare item at ${e.i}`)}function fe(e){e.i++;let r="";for(;!e.eof();){let t=e.s[e.i++];if(t==='"')return r;if(t==="\\"){let o=e.s[e.i++];if(o!=='"'&&o!=="\\")throw new Error("bad escape");r+=o}else{let o=t.charCodeAt(0);if(o<32||o>126)throw new Error("bad char in string");r+=t}}throw new Error("unterminated string")}function hr(e){e.i++;let r=e.i;for(;!e.eof()&&e.peek()!==":";)e.i++;if(e.eof())throw new Error("unterminated byte sequence");let t=e.s.slice(r,e.i);return e.i++,we(t)}function mr(e){let r=e.i;for(e.peek()==="-"&&e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;if(!e.eof()&&e.peek()===".")for(e.i++;!e.eof()&&/[0-9]/.test(e.peek());)e.i++;return Number(e.s.slice(r,e.i))}function yr(e){let r=e.i;for(e.i++;!e.eof()&&/[a-zA-Z0-9!#$%&'*+\-.^_`|~:/]/.test(e.peek());)e.i++;return e.s.slice(r,e.i)}function we(e){let r=atob(e),t=new Uint8Array(new ArrayBuffer(r.length));for(let o=0;o0?Object.keys(F).find(r=>F[r]===e)??"":""}function he(e){return e=kr(e),e=_r(e),e.toLowerCase()}function kr(e){for(let r=0;r<4;r++){let t=xr(e);if(t===e)break;e=t}return e}function xr(e){if(!e.includes("%"))return e;let r="";for(let t=0;t=0&&a>=0){let n=o<<4|a;if(n<128){r+=String.fromCharCode(n),t+=2;continue}}}r+=e[t]}return r}function me(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-97+10:e>=65&&e<=70?e-65+10:-1}function _r(e){if(e==="")return e;let r=e.length>1&&e[e.length-1]==="/",t=[];for(let a of e.split("/"))if(!(a===""||a===".")){if(a===".."){t.length>0&&t.pop();continue}t.push(a)}let o="/"+t.join("/");return r&&o!=="/"&&(o+="/"),o}function M(e,r){let t=he(e),o=he(r);if(o.endsWith("/*")){let a=o.slice(0,-2);return a===""?!0:t===a||t.startsWith(a+"/")}return t===o}function O(e){return e.endsWith("/*")?e.length-2:1<<20}function ye(e,r,t){let o=new Map,a=new Set,n=[],i=[],s=new Map,c=(u,p)=>{let k=new Set(u);for(let S of p)for(let E of s.get(S)??[])k.add(E);return k.size===0?void 0:[...k].sort()},g=(u,p,k)=>k?{pattern:u,required_trust:p,refused_behaviors:k}:{pattern:u,required_trust:p};for(let u of r){if(!M(e,u.pattern))continue;if((u.exceptions??[]).some(S=>M(e,S))){i.push(u.pattern);continue}let p=o.get(u.pattern);p===void 0&&n.push(u.pattern);let k=vr(u.min_trust);(p===void 0||k>p)&&o.set(u.pattern,k),u.mode!=="monitor"&&a.add(u.pattern);for(let S of u.refuse_behaviors??[])s.has(u.pattern)||s.set(u.pattern,new Set),s.get(u.pattern)?.add(S)}let l=[];if(n.length===0){let u="";for(let p of i)(u===""||O(p)>O(u))&&(u=p);return{covering:n,deciding_mode:"",attributed:"",required_trust:"",requirement_source:"",previews:l,excepted_by:u,refused_behaviors:[]}}n.sort((u,p)=>O(p)-O(u));let w=t==="monitor",f=n.filter(u=>a.has(u)),h=w?"monitor":"enforce";if(f.length===0){if(!w)for(let u of n)l.push(g(u,W(o.get(u)??0),c([],[u])));f=n,h="monitor"}let m=0,v="";for(let u of f){let p=o.get(u)??0;p>m&&(m=p,v=u)}let d=c([],f)??[];if(h==="enforce")for(let u of n)a.has(u)||l.push(g(u,W(Math.max(m,o.get(u)??0)),c(d,[u])));return{covering:n,deciding_mode:h,attributed:f[0],required_trust:W(m),requirement_source:v,previews:l,excepted_by:"",refused_behaviors:d}}var Ar="other",Sr={"search engine crawler":"search","ai search":"search","ai assistant":"agent","ai crawler":"training","page preview":"link_preview","feed fetcher":"feeds","monitoring & analytics":"monitoring","search engine optimization":"seo",security:"security_testing"};function D(e){let r=e.trim().toLowerCase();return r?Sr[r]??Ar:""}function j(e,r){let t=D(e);return t!==""&&r.includes(t)}var Cr={search_engines:["search engine crawler"],ai_crawlers:["ai assistant","ai crawler","ai search"],monitoring:["monitoring & analytics"]};function ve(e,r){let t=Cr[e];return t?t.every(o=>j(o,r)):!1}var Br=M;function ke(e,r,t){return e?r?r.some(o=>Br(t,o)):!0:!1}var Rr="x-wd-service-token",Pr="wd_clearance";function xe(e,r,t=[]){if(e.graded&&r&&!Dr(e.graded.trust,r))return{pass:!1,label:"insufficient-trust"};if(e.crawler&&t.length>0){if(e.crawler.behavior&&t.includes(e.crawler.behavior))return{pass:!1,label:"crawler-refused"};if(!e.crawler.behavior&&e.crawler.exempted)return{pass:!1,label:"missing"}}return{pass:e.pass,label:e.label}}async function Ce(e,r,t){let o=new URL(e.url).pathname,a=ye(o,Or(r),r.mode),n=a.deciding_mode||r.mode,i=await Er(e,r,t,a.covering.length>0,a.excepted_by!==""),s=i.behavior??"",c=xe(i,a.required_trust,a.refused_behaviors),g=c.label==="excepted"?a.excepted_by:c.label==="unscoped"?"":a.attributed,l=!c.pass&&n==="enforce",w=a.previews.map(f=>{let h=xe(i,f.required_trust,f.refused_behaviors??[]);return{pattern:f.pattern,refused:!h.pass&&!l?h.label:""}});return{pass:c.pass,label:c.label,pattern:g,mode:n,previews:w,behavior:c.pass?s:"",crawlerBehavior:i.crawler?.behavior??"",referral:ce(e,new URL(e.url)),outsideReach:i.outsideReach??"",credentialUsed:i.credentialUsed??""}}async function Er(e,r,t,o,a){let n=await Tr(e,r,t);if(n.grants)return{pass:!0,label:"machine",credentialUsed:n.id};let i=await Ir(e,r,t,o,a);return n.outsideReach?{...i,outsideReach:n.outsideReach}:i}async function Tr(e,r,t){let o=e.headers.get(Rr);if(!o)return{grants:!1,id:"",outsideReach:""};let a=await Re(o,r.keys,t.siteKey);if(!a||a.typ!=="machine"||!a.sub)return{grants:!1,id:"",outsideReach:""};if(r.active_credentials.includes(a.sub))return{grants:!0,id:a.sub,outsideReach:""};let n=(r.restricted_credentials??[]).find(s=>s&&s.id===a.sub);if(!n)return{grants:!1,id:"",outsideReach:""};let i=new URL(e.url).pathname;return ke(n.here,n.paths,i)?{grants:!0,id:a.sub,outsideReach:""}:{grants:!1,id:"",outsideReach:a.sub}}async function Ir(e,r,t,o,a){let n=await t.verifiedBotCategory(e,o)||"",i=n?{behavior:D(n),exempted:!1}:void 0;if(n&&Lr(n,r)){let l=D(n);return{pass:!0,label:"verified-bot",behavior:l,crawler:{behavior:l,exempted:!0}}}let s=await le(e,r.signed_agents);if(s.status==="verified"&&Ur(s.category,r))return{pass:!0,label:"signed-agent",behavior:Ae(s.category),crawler:{behavior:Ae(s.category),exempted:!0}};if(s.status==="invalid"&&o)return{pass:!1,label:"agent-impersonation",crawler:i};if(!o)return a?{pass:!0,label:"excepted",crawler:i}:{pass:!0,label:"unscoped",crawler:i};let c=Y(e.headers.get("cookie")??"",Pr);if(!c)return{pass:!1,label:"missing",crawler:i};let g=await Re(c,r.keys,t.siteKey);return!g||(g.typ??"")!==""?{pass:!1,label:"invalid",crawler:i}:r.denied_fps&&r.denied_fps.includes(g.fp)?{pass:!1,label:"revoked",crawler:i}:{pass:!0,label:"valid",graded:{trust:g.trust},crawler:i}}function Or(e){let r=new Set(e.routes),t=new Map;for(let a of e.route_exceptions??[])r.has(a.pattern)&&Array.isArray(a.except)&&t.set(a.pattern,a.except);let o=e.routes.map(a=>({pattern:a,exceptions:t.get(a)}));for(let a of e.route_min_trust??[])r.has(a.pattern)&&o.push({pattern:a.pattern,min_trust:a.min_trust,exceptions:t.get(a.pattern)});for(let a of e.monitor_routes??[])o.push({pattern:a.pattern,min_trust:a.min_trust,mode:"monitor",exceptions:a.except});for(let a of e.route_refusals??[])!Array.isArray(a.refuse_behaviors)||a.refuse_behaviors.length===0||(a.mode==="monitor"?o.push({pattern:a.pattern,mode:"monitor",refuse_behaviors:a.refuse_behaviors}):r.has(a.pattern)&&o.push({pattern:a.pattern,exceptions:t.get(a.pattern),refuse_behaviors:a.refuse_behaviors}));return o}var Mr={"attested-human":2,"human-likely":1,clean:0};function _e(e){return Mr[e??""]??0}function Dr(e,r){return _e(e)>=_e(r)}function Lr(e,r){let t=r.allow_behaviors;return t?j(e,t):zr(e,r.allow)}function Ur(e,r){let t=r.allow_behaviors;return t?ve(e,t):be(e,r.allow)}function Ae(e){return e==="search_engines"?"search":e==="monitoring"?"monitoring":""}function zr(e,r){let t=e.trim().toLowerCase();return!!(r.search_engines&&t.includes("search engine crawler")||r.ai_crawlers&&t.startsWith("ai ")||r.monitoring&&t.includes("monitoring"))}function q(e){return!e.pass&&e.mode==="enforce"&&(e.label==="missing"||e.label==="invalid")}function Be(e){return q(e)?{...e,pass:!0,label:"outage-pass"}:e}function Y(e,r){for(let t of e.split(";")){let o=t.indexOf("=");if(!(o<0)&&t.slice(0,o).trim()===r)return t.slice(o+1).trim()||null}return null}async function Re(e,r,t){try{let o=e.indexOf(".");if(o<0)return null;let a=Se(e.slice(0,o)),n=Se(e.slice(o+1)),i=JSON.parse(new TextDecoder().decode(a)),s=r.find(l=>l.kid===i.kid);if(!s)return null;let c=await crypto.subtle.importKey("raw",Gr(s.public_key),{name:"Ed25519"},!1,["verify"]);return!await crypto.subtle.verify({name:"Ed25519"},c,n,a)||i.tenant!==t||Date.now()/1e3>=i.exp?null:i}catch{return null}}function Se(e){let r=e.replace(/-/g,"+").replace(/_/g,"/")+"=".repeat((4-e.length%4)%4);return Pe(atob(r))}function Gr(e){return Pe(atob(e))}function Pe(e){let r=new Uint8Array(new ArrayBuffer(e.length));for(let t=0;t{let a=!1;try{let n=new AbortController,i=setTimeout(()=>n.abort(),3e3);try{let s=await o(e.replace(/\/+$/,"")+"/api/v1/clearance",{method:"POST",headers:{"content-type":"application/json","user-agent":"WebDecoy-OutageProbe/1"},body:JSON.stringify({aid:r,fp:"wd-outage-probe",scope:"",ua:"WebDecoy-OutageProbe/1"}),signal:n.signal});s.status===429?a=!0:s.status<300&&(a=typeof(await s.json())?.granted=="boolean")}finally{clearTimeout(i)}}catch{a=!1}return L={at:t,available:a},a})();try{return await R}finally{R=null}}function Ee(e){let r="";for(let t of new Uint8Array(e))r+=String.fromCharCode(t);return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function Te(e,r){let t=await crypto.subtle.importKey("raw",new TextEncoder().encode(e),{name:"HMAC",hash:"SHA-256"},!1,["sign"]);return Ee(await crypto.subtle.sign("HMAC",t,new TextEncoder().encode(r)))}async function Ie(e){return Ee(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e))).slice(0,16)}function Oe(e,r,t){return`${Nr}|${e}|${r}|${t}`}async function Hr(e,r,t,o){let a=Math.floor(o/1e3)+300;return`${a}.${await Te(e,Oe(r,a,await Ie(t)))}`}async function Me(e,r,t,o,a){if(!r||!e)return!1;let n=e.indexOf(".");if(n<=0)return!1;let i=Number(e.slice(0,n));if(!Number.isInteger(i)||i<=Math.floor(a/1e3)||i>Math.floor(a/1e3)+300)return!1;let s=await Te(r,Oe(t,i,await Ie(o))),c=e.slice(n+1);if(c.length!==s.length)return!1;let g=0;for(let l=0;lnew Response(JSON.stringify(s),{status:i,headers:{"content-type":"application/json","cache-control":"no-store",...c}});if(e.method!=="POST")return a(405,{pass:!1});if(!r.sensorKey)return a(503,{pass:!1,reason:"unsupported"});if(await Kr(r.apiBase,r.siteKey,t,o))return a(409,{pass:!1,reason:"mint_available"});let n=await Hr(r.sensorKey,r.host,e.headers.get("user-agent")??"",t);return a(200,{pass:!0,expires_in:300},{"set-cookie":`${J}=${n}; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=300`})}var $r="wdfp1",Le=` async function wdDeviceFP() { // Canvas: 32-bit rolling hash of the dataURL, matching // EnvironmentalCollector._getCanvasHash in @webdecoy/client. The drawing @@ -48,7 +48,7 @@ async function wdDeviceFP() { return { fp: fp, canvas32: canvas32, webgl: webgl }; } -`;function X(e){let t=["missing","invalid","insufficient-trust","revoked","crawler-refused","agent-impersonation"].includes(e)?e:"denied";return{version:1,reason:t,recoverable:t==="missing"||t==="invalid"||t==="insufficient-trust"}}function Ue(e){let r=X(e);return{"cache-control":"no-store","x-wd-clearance":"challenged","x-wd-challenge":String(r.version),"x-wd-challenge-reason":r.reason,"x-wd-challenge-recoverable":String(r.recoverable)}}var Vr=6e4,G="x-wd-clearance",Ge="x-wd-class",ze="__wd_clearance_check",ee="/.well-known/wd-clearance/pat",P=new Map,Fr=16,Wr=3e4,jr=3e5,Z=new Map,Q=new Map,qr=86400;function Ne(e,r){return`https://wd-config.invalid/${encodeURIComponent(e)}/${encodeURIComponent(r)}`}function Ke(){try{return globalThis.caches?.default??null}catch{return null}}async function He(e,r){let t=Ke();if(!t)return null;try{let o=await t.match(Ne(e,r));return o?await o.json():null}catch{return null}}async function Yr(e,r,t){let o=Ke();if(o)try{await o.put(Ne(e,r),new Response(JSON.stringify(t),{headers:{"content-type":"application/json","cache-control":`max-age=${qr}`}}))}catch{}}function Jr(e){let r=e?.headers.get("retry-after"),t=r?Number(r):NaN;return Number.isFinite(t)&&t>0?Math.min(Math.max(t*1e3,5e3),jr):Wr}async function $e(e,r){let t=Date.now(),o=r,a=P.get(o);if(a&&t-a.atFr){let c=P.keys().next();c.done||P.delete(c.value)}return await Yr(e.siteKey,r,s),s}}catch{}return Z.set(t,o+Jr(n)),a??await He(e.siteKey,r)}function Ve(e,r,t,o){return new Response(JSON.stringify({wd_clearance:!0,nonce:e,mode:r,site_key:t,capabilities:o}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store","access-control-allow-origin":"*"}})}var Qr=3e3;async function Fe(e,r){let t=new URL(e.url).searchParams.get("fp")??"",o=`${r}/api/v1/clearance/pat?fp=${encodeURIComponent(t)}`,a=new Headers,n=e.headers.get("authorization");n&&a.set("authorization",n);let i;try{i=await fetch(o,{method:"GET",headers:a,redirect:"manual",signal:AbortSignal.timeout(Qr)})}catch{return new Response(JSON.stringify({attested:!1,reason:"unreachable"}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store"}})}let s=new Headers({"content-type":"application/json","cache-control":"no-store"}),c=i.headers.get("www-authenticate");return c&&s.set("www-authenticate",c),new Response(i.body,{status:i.status,headers:s})}function We(e,r,t,o="denied"){let a=e.headers.get("accept")??"";if(e.method!=="GET"||!a.includes("text/html"))return new Response(JSON.stringify({error:"clearance required",challenge:X(o)}),{status:403,headers:{"content-type":"application/json",...Ue(o)}});let n=et(r,t);return new Response(n,{status:403,headers:{"content-type":"text/html; charset=utf-8","cache-control":"no-store",[G]:"challenged"}})}var Zr="https://cdn.webdecoy.com/wordpress/assets/icon-128x128.png";function et(e,r){return` +`;function X(e){let t=["missing","invalid","insufficient-trust","revoked","crawler-refused","agent-impersonation"].includes(e)?e:"denied";return{version:1,reason:t,recoverable:t==="missing"||t==="invalid"||t==="insufficient-trust"}}function Ue(e){let r=X(e);return{"cache-control":"no-store","x-wd-clearance":"challenged","x-wd-challenge":String(r.version),"x-wd-challenge-reason":r.reason,"x-wd-challenge-recoverable":String(r.recoverable)}}var Vr=6e4,z="x-wd-clearance",ze="x-wd-class",Ge="__wd_clearance_check",ee="/.well-known/wd-clearance/pat",P=new Map,Wr=16,Fr=3e4,jr=3e5,Z=new Map,Q=new Map,qr=86400;function Ne(e,r){return`https://wd-config.invalid/${encodeURIComponent(e)}/${encodeURIComponent(r)}`}function Ke(){try{return globalThis.caches?.default??null}catch{return null}}async function He(e,r){let t=Ke();if(!t)return null;try{let o=await t.match(Ne(e,r));return o?await o.json():null}catch{return null}}async function Yr(e,r,t){let o=Ke();if(o)try{await o.put(Ne(e,r),new Response(JSON.stringify(t),{headers:{"content-type":"application/json","cache-control":`max-age=${qr}`}}))}catch{}}function Jr(e){let r=e?.headers.get("retry-after"),t=r?Number(r):NaN;return Number.isFinite(t)&&t>0?Math.min(Math.max(t*1e3,5e3),jr):Fr}async function $e(e,r){let t=Date.now(),o=r,a=P.get(o);if(a&&t-a.atWr){let c=P.keys().next();c.done||P.delete(c.value)}return await Yr(e.siteKey,r,s),s}}catch{}return Z.set(t,o+Jr(n)),a??await He(e.siteKey,r)}function Ve(e,r,t,o){return new Response(JSON.stringify({wd_clearance:!0,nonce:e,mode:r,site_key:t,capabilities:o}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store","access-control-allow-origin":"*"}})}var Qr=3e3;async function We(e,r){let t=new URL(e.url).searchParams.get("fp")??"",o=`${r}/api/v1/clearance/pat?fp=${encodeURIComponent(t)}`,a=new Headers,n=e.headers.get("authorization");n&&a.set("authorization",n);let i;try{i=await fetch(o,{method:"GET",headers:a,redirect:"manual",signal:AbortSignal.timeout(Qr)})}catch{return new Response(JSON.stringify({attested:!1,reason:"unreachable"}),{status:200,headers:{"content-type":"application/json","cache-control":"no-store"}})}let s=new Headers({"content-type":"application/json","cache-control":"no-store"}),c=i.headers.get("www-authenticate");return c&&s.set("www-authenticate",c),new Response(i.body,{status:i.status,headers:s})}function Fe(e,r,t,o="denied"){let a=e.headers.get("accept")??"";if(e.method!=="GET"||!a.includes("text/html"))return new Response(JSON.stringify({error:"clearance required",challenge:X(o)}),{status:403,headers:{"content-type":"application/json",...Ue(o)}});let n=et(r,t);return new Response(n,{status:403,headers:{"content-type":"text/html; charset=utf-8","cache-control":"no-store",[z]:"challenged"}})}var Zr="https://cdn.webdecoy.com/wordpress/assets/icon-128x128.png";function et(e,r){return` @@ -205,8 +205,8 @@ ${Le} })(); -`}function z(e){if(typeof e!="string")return"";let r=e.trim().toLowerCase().replace(/:\d+$/,"").replace(/\.$/,"");return r.length>0&&r.length<=253?r:""}var je=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","route_refusals","crawler_behavior","ai_referrals","credential_usage"];var re=60,rt=500,tt=6e3,qe=40,ot=60,at=16,A=new TextEncoder,nt=60,it=24,st=3e3,ct=2e4,lt=1e4,ut=16,_=new Map;function gt(e,r,t){return`${e}|${r}|${t}`}function Ye(e,r){let t=e.credentials.get(r);return t||(t={outsideReach:0,used:0},e.credentials.set(r,t)),t}function Je(e,r,t,o,a=Date.now()){try{let n=e?.label??"",i=e?.mode??"",s=e?.pattern??"",c=e?.previews??[],g=e?.behavior??"",l=e?.crawlerBehavior??"",w=e?.outsideReach??"",f=e?.credentialUsed??"";if(!n||!t||!t.siteKey||!t.apiBase)return;let h=z(r);if(!h)return;let m=Math.floor(a/1e3/re)*re,v=gt(m,i,h);for(let[b,y]of _)y.bucketStart!==m&&(N(y,t,o),_.delete(b));let d=_.get(v);if(!d){if(_.size>=ut)for(let[b,y]of _)N(y,t,o),_.delete(b);d={bucketStart:m,mode:i,host:h,counts:new Map,routes:new Map,previews:new Map,credentials:new Map,referrals:new Map,refusals:[],routeBytes:0,total:0},_.set(v,d),dt(v,d,t,o,a)}d.counts.set(n,(d.counts.get(n)??0)+1);let u=typeof s=="string"?s:"",p=typeof g=="string"?g:"",k=typeof l=="string"?l:"",S=`${u} +`}function G(e){if(typeof e!="string")return"";let r=e.trim().toLowerCase().replace(/:\d+$/,"").replace(/\.$/,"");return r.length>0&&r.length<=253?r:""}var je=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","route_refusals","crawler_behavior","ai_referrals","credential_usage"];var re=60,rt=500,tt=6e3,qe=40,ot=60,at=16,A=new TextEncoder,nt=60,it=24,st=3e3,ct=2e4,lt=1e4,ut=16,_=new Map;function gt(e,r,t){return`${e}|${r}|${t}`}function Ye(e,r){let t=e.credentials.get(r);return t||(t={outsideReach:0,used:0},e.credentials.set(r,t)),t}function Je(e,r,t,o,a=Date.now()){try{let n=e?.label??"",i=e?.mode??"",s=e?.pattern??"",c=e?.previews??[],g=e?.behavior??"",l=e?.crawlerBehavior??"",w=e?.outsideReach??"",f=e?.credentialUsed??"";if(!n||!t||!t.siteKey||!t.apiBase)return;let h=G(r);if(!h)return;let m=Math.floor(a/1e3/re)*re,v=gt(m,i,h);for(let[b,y]of _)y.bucketStart!==m&&(N(y,t,o),_.delete(b));let d=_.get(v);if(!d){if(_.size>=ut)for(let[b,y]of _)N(y,t,o),_.delete(b);d={bucketStart:m,mode:i,host:h,counts:new Map,routes:new Map,previews:new Map,credentials:new Map,referrals:new Map,refusals:[],routeBytes:0,total:0},_.set(v,d),dt(v,d,t,o,a)}d.counts.set(n,(d.counts.get(n)??0)+1);let u=typeof s=="string"?s:"",p=typeof g=="string"?g:"",k=typeof l=="string"?l:"",S=`${u} ${n} ${p} ${k}`,E=d.routes.get(S);E?E.count++:(d.routes.set(S,{pattern:u,verdict:n,behavior:p,crawlerBehavior:k,count:1}),d.routeBytes+=A.encode(u).length+A.encode(n).length+A.encode(p).length+A.encode(k).length+qe);for(let b of Array.isArray(c)?c:[]){if(!b||typeof b.pattern!="string"||!b.pattern)continue;let y=d.previews.get(b.pattern);y||(y={evaluated:0,refused:new Map},d.previews.set(b.pattern,y),d.routeBytes+=A.encode(b.pattern).length+ot),y.evaluated++,typeof b.refused=="string"&&b.refused&&(y.refused.has(b.refused)||(d.routeBytes+=A.encode(b.refused).length+at),y.refused.set(b.refused,(y.refused.get(b.refused)??0)+1))}typeof w=="string"&&w&&Ye(d,w).outsideReach++,typeof f=="string"&&f&&Ye(d,f).used++;let x=e?.referral;if(x&&typeof x.platform=="string"&&x.platform&&typeof x.path=="string"){let b=`${x.platform} -${x.path}`,y=d.referrals.get(b);y?y.count++:(d.referrals.set(b,{platform:x.platform,path:x.path,count:1}),d.routeBytes+=A.encode(x.platform).length+A.encode(x.path).length+qe)}let C=e?.refusal;C&&typeof C.ip=="string"&&C.ip&&typeof C.path=="string"&&C.path.startsWith("/")&&(d.refusals.push({ip:C.ip,path:C.path,at:Math.floor(a/1e3),verdict:n}),d.routeBytes+=nt),d.total++,(d.total>=rt||d.routeBytes>=tt)&&(N(d,t,o),_.delete(v))}catch{}}function dt(e,r,t,o,a){try{let n=(r.bucketStart+re)*1e3,i=Math.floor(Math.random()*lt),s=Math.max(0,Math.min(n-a+i,ct));o.waitUntil(new Promise(c=>{setTimeout(()=>{try{_.get(e)===r&&(N(r,t,o),_.delete(e))}catch{}c()},s)}))}catch{}}function N(e,r,t){try{if(e.total<=0||e.counts.size===0)return;let o={};for(let[l,w]of e.counts)o[l]=w;let a=[];for(let l of e.routes.values()){let w={pattern:l.pattern,verdict:l.verdict,count:l.count};l.behavior&&(w.behavior=l.behavior),l.crawlerBehavior&&(w.crawler_behavior=l.crawlerBehavior),a.push(w)}let n={organization_id:r.siteKey,bucket_start:e.bucketStart,mode:e.mode,counts:o,route_counts:a,report_id:crypto.randomUUID()};if(e.previews.size>0){let l=[];for(let[w,f]of e.previews){let h={};for(let[m,v]of f.refused)h[m]=v;l.push({pattern:w,evaluated:f.evaluated,additional_refusals:h})}n.previews=l}if(e.credentials.size>0){let l=[];for(let[w,f]of e.credentials)l.push({credential_id:w,outside_reach:f.outsideReach,used:f.used});n.credential_presentations=l}e.referrals.size>0&&(n.ai_referrals=[...e.referrals.values()].map(l=>({platform:l.platform,path:l.path,count:l.count}))),r.propertyId&&(n.property_id=r.propertyId),n.host=e.host,r.bundleVersion&&(n.reporter_version=r.bundleVersion);let i=!!(r.scannerId&&r.sensorKey);i&&(n.scanner_id=r.scannerId),n.capabilities=r.capabilities??je;let s=i?e.refusals:[],c=()=>wt(r.apiBase,JSON.stringify(n),i?r.sensorKey:void 0),g=s.length===0?c():ft(r.siteKey,s).then(l=>{n.refusals=l}).catch(()=>{}).then(c);t.waitUntil(g.then(()=>{},()=>{}))}catch{}}async function pt(e,r,t){let o=await crypto.subtle.digest("SHA-256",A.encode(`${e.toLowerCase()}|${r}|${t}`)),a="";for(let n of new Uint8Array(o))a+=n.toString(16).padStart(2,"0");return a.slice(0,it)}async function ft(e,r){let t=[];for(let o of r)t.push({k:await pt(e,o.ip,o.path),t:o.at,v:o.verdict});return t}async function wt(e,r,t){let o=new AbortController,a=setTimeout(()=>o.abort(),st),n={"content-type":"application/json"};t&&(n["x-wd-sensor-key"]=t);try{await fetch(e.replace(/\/+$/,"")+"/api/v1/clearance/telemetry",{method:"POST",headers:n,body:r,signal:o.signal})}finally{clearTimeout(a)}}var K=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","bot_verification_rdns","crawler_behavior","ai_referrals","credential_usage"];var bt=[{category:"search_engines",suffixes:[".googlebot.com",".google.com",".search.msn.com",".crawl.yahoo.net",".applebot.apple.com",".yandex.com",".yandex.net",".yandex.ru",".crawl.baidu.com",".crawl.baidu.jp"]}];function ht(e,r){let t=e.toLowerCase().replace(/\.$/,"");for(let o of bt)if(r[o.category]){for(let a of o.suffixes)if(t.endsWith(a))return o.category}return null}var H=new Map,mt=36e5,yt=5e3;async function Xe(e,r,t,o){let a=H.get(e);if(a&&o-a.at=yt&&H.clear(),H.set(e,{category:n,at:o}),n}async function vt(e,r,t){let o=e.replace(/\.$/,""),a=r.includes(":")?[t.resolve6(o)]:[t.resolve4(o)];try{return(await Promise.all(a)).flat().some(i=>i===r)}catch{return!1}}var Qe=[["prompsitcrawler","PrompsitCrawler","prompsitcrawler","crawler"],["trainingdatafoundationbot","TrainingDataFoundationBot","trainingdatafoundationbot","crawler"],["hunyuan/","Hunyuan","hunyuan","crawler"],["speridlabsresearchcrawler","SperidLabsResearchCrawler","speridlabsresearchcrawler","crawler"],["abliterantbot","AbliterantBot","abliterantbot","crawler"],["tokenfoundrybot","TokenFoundryBot","tokenfoundrybot","crawler"],["reflectionbot","Reflectionbot","reflectionbot","crawler"],["gptbot","GPTBot","gptbot","crawler"],["claudebot","ClaudeBot","claudebot","crawler"],["anthropic-ai","Anthropic","anthropic","crawler"],["claude-web","Claude-Web","claude-web","crawler"],["ccbot","CCBot","ccbot","crawler"],["google-extended","Google-Extended","google-extended","crawler"],["bytespider","ByteSpider","bytespider","crawler"],["amazonbot","Amazonbot","amazonbot","crawler"],["facebookbot","FacebookBot","facebookbot","crawler"],["meta-externalagent","Meta-ExternalAgent","meta-externalagent","crawler"],["cohere-ai","Cohere","cohere-ai","crawler"],["cohere","Cohere","cohere-ai","crawler"],["applebot-extended","Applebot-Extended","applebot-extended","crawler"],["youbot","YouBot","youbot","crawler"],["mistralbot","MistralBot","mistral","crawler"],["ai2bot","AI2Bot","ai2bot","crawler"],["deepseekbot","DeepSeek","deepseek","crawler"],["qwen","Qwen","qwen","crawler"],["webzio","Webz.io","webzio","crawler"],["sentibot","Sentibot","sentibot","crawler"],["omgili","Omgili","omgili","crawler"],["img2dataset","img2dataset","img2dataset","crawler"],["timpibot","Timpibot","timpibot","crawler"],["velenpublicwebcrawler","VelenPublicWebCrawler","velenpublicwebcrawler","crawler"],["isscyberriskcrawler","ISSCyberRiskCrawler","isscyberriskcrawler","crawler"],["friendlycrawler","FriendlyCrawler","friendlycrawler","crawler"],["elevenlabscrawler","ElevenlabsCrawler","elevenlabscrawler","crawler"],["riverbot","RiverBot","riverbot","crawler"],["kimibot","KimiBot","kimibot","crawler"],["moonshotbot","MoonshotBot","moonshotbot","crawler"],["chatglm-spider","ChatGLM-Spider","chatglm-spider","crawler"],["mistralai-training","MistralAI-Training","mistralai-training","crawler"],["imagespider","imageSpider","imagespider","crawler"],["laion-huggingface-processor","laion-huggingface-processor","laion-huggingface-processor","crawler"],["sbintuitionsbot","SBIntuitionsBot","sbintuitionsbot","crawler"],["clueweb-crawler","ClueWeb-Crawler","clueweb-crawler","crawler"],["icc-crawler","ICC-Crawler","icc-crawler","crawler"],["dulenobot","dulenobot","dulenobot","crawler"],["secureaibot","SecureAIBot","secureaibot","crawler"],["eurekasearchbot","EurekaSearchBot","eurekasearchbot","crawler"],["borderxbot","BorderxBot","borderxbot","crawler"],["qualifiedbot","QualifiedBot","qualifiedbot","crawler"],["navubot","NavuBot","navubot","crawler"],["karlacrawler","KarlaCrawler","karlacrawler","crawler"],["chathivecrawler","ChathiveCrawler","chathivecrawler","crawler"],["generalretrievalbot","GeneralRetrievalBot","generalretrievalbot","crawler"],["andi-searchbot","Andi-SearchBot","andi-searchbot","crawler"],["talarionsearchbot","TalarionSearchBot","talarionsearchbot","crawler"],["unfragilebot","UnfragileBot","unfragilebot","crawler"],["aranet-searchbot","Aranet-SearchBot","aranet-searchbot","crawler"],["duckassistbot","DuckAssistBot","duckassistbot","crawler"],["sofyabot","SofyaBot","sofyabot","crawler"],["xai-searchbot","xAI-SearchBot","xai-searchbot","crawler"],["linkupbot","LinkupBot","linkupbot","crawler"],["perplexitybot/","PerplexityBot","perplexitybot","crawler"],["claude-searchbot","Claude-SearchBot","claude-searchbot","crawler"],["oai-searchbot","OAI-SearchBot","oai-searchbot","crawler"],["searchgpt","SearchGPT","searchgpt","crawler"],["phind","Phind","phind","crawler"],["kagi","Kagi","kagi","crawler"],["exasearchbot","Exa","exa","crawler"],["exabot","Exa","exa","crawler"],["shapbot","ShapBot","shapbot","crawler"],["meta-webindexer","Meta-WebIndexer","meta-webindexer","crawler"],["metaphor","Metaphor","metaphor","crawler"],["tavily","Tavily","tavily","crawler"],["bravesearch","BraveSearch","brave-search","crawler"],["neevabot","NeevaBot","neeva","crawler"],["kimi-searchbot","Kimi-SearchBot","kimi-searchbot","crawler"],["isonsearchbot","IsonSearchBot","isonsearchbot","crawler"],["keenablebot","KeenableBot","keenablebot","crawler"],["azureai-searchbot","AzureAI-SearchBot","azureai-searchbot","crawler"],["grokbot","GrokBot","grokbot","crawler"],["mistralai-index","MistralAI-Index","mistralai-index","crawler"],["amzn-searchbot","Amzn-SearchBot","amzn-searchbot","crawler"],["google-cloudvertexbot","Google-CloudVertexBot","google-cloudvertexbot","crawler"],["cloudflare-ai-search","Cloudflare AI Search","cloudflare-ai-search","crawler"],["cloudflare-autorag","Cloudflare AI Search","cloudflare-ai-search","crawler"],["atlassian-bot","atlassian-bot","atlassian-bot","crawler"],["amazon-bedrock-knowledgebase","Amazon Bedrock Knowledge Bases","amazon-bedrock-knowledgebase","crawler"],["amazon-qbusiness","Amazon Q Business","amazon-qbusiness","crawler"],["amazon-kendra","Amazon Kendra","amazon-kendra","crawler"],["linerbot","LinerBot","linerbot","crawler"],["context7-crawler","Context7-Crawler","context7-crawler","crawler"],["zanistabot","ZanistaBot","zanistabot","crawler"],["iaskspider","iaskspider","iaskspider","crawler"],["anomura/","Anomura","anomura","crawler"],["channel3bot","Channel3Bot","channel3bot","crawler"],["proratainc","ProRata","prorata","crawler"],["devin/","Devin","devin","crawler"],["echoboxbot","EchoboxBot","echoboxbot","crawler"],["operator","Operator","operator","crawler"],["claude-user","Claude-User","claude-user","crawler"],["claude-code/","Claude-User","claude-user","crawler"],["gemini-user","Gemini-User","gemini-user","crawler"],["googleagent-mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["amazonbuyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["buyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["browser-use","Browser-Use","browser-use","crawler"],["stagehand","Stagehand","stagehand","crawler"],["manus-user","Manus-User","manus-user","crawler"],["multion","MultiOn","multion","crawler"],["opencode-user","OpenCode-User","opencode-user","crawler"],["google-agent","Google-Agent","google-agent","crawler"],["googleagent-urlcontext","GoogleAgent-URLContext","googleagent-urlcontext","crawler"],["google-jetski-antigravity","Google Antigravity","google-antigravity","crawler"],["amzn-user","Amzn-User","amzn-user","crawler"],["amazon-quick-on-behalf-of-","Amazon Quick","amazon-quick","crawler"],["amazon-bedrock-agentcore-browser","Amazon Bedrock AgentCore Browser","amazon-bedrock-agentcore-browser","crawler"],["kiroserver/","Kiro","kiro","crawler"],["claude-agent/","Claude-Agent","claude-agent","crawler"],["grok-agent/","grok-agent","grok-agent","crawler"],["mozilla-tabstack","Mozilla Tabstack","mozilla-tabstack","crawler"],["isonai-user/","IsonAI-User","isonai-user","crawler"],["liner-user/","Liner-User","liner-user","crawler"],["minimaxagent","MiniMaxAgent","minimax-agent","crawler"],["qodercli","Qoder","qoder","crawler"],["zcode-webfetch","ZCode","zcode","crawler"],["augment-webfetch","Augment Code","augment-code","crawler"],["opencode-smartfetch","opencode-smartfetch","opencode-smartfetch","crawler"],["deepseek-harness","deepseek-harness","deepseek-harness","crawler"],["agentdrivesagent/","AgentDrivesAgent","agentdrivesagent","crawler"],["aprycobot","AprycoBot","aprycobot","crawler"],["seekportbot","SeekportBot","seekportbot","crawler"],["search.marginalia.nu","Marginalia Search","marginalia","crawler"],["freespokecrawler","FreespokeCrawler","freespokecrawler","crawler"],["algolia crawler","Algolia Crawler","algolia-crawler","crawler"],["coveobot","Coveobot","coveobot","crawler"],["addsearchbot","AddSearchBot","addsearchbot","crawler"],["epochal-search","Epochal-Search","epochal-search","crawler"],["mwmbl-crawler","Mwmbl","mwmbl-crawler","crawler"],["t2bot/","T2Bot","t2bot","crawler"],["loadedbot","LoadedBot","loadedbot","crawler"],["jambot","Jambot","jambot","crawler"],["fyndbot","fyndbot","fyndbot","crawler"],["pexelsbot","PexelsBot","pexelsbot","crawler"],["360spider","360Spider","360spider","crawler"],["cgmsearchbot","CGMSearchBot","cgmsearchbot","crawler"],["iboubot","IbouBot","iboubot","crawler"],["ibou-search","IbouBot","iboubot","crawler"],["googlebot","Googlebot","googlebot","crawler"],["google-inspectiontool","Google-InspectionTool","google-inspectiontool","crawler"],["bingbot","Bingbot","bingbot","crawler"],["msnbot","MSNBot","msnbot","crawler"],["yandexbot","YandexBot","yandexbot","crawler"],["yandex.com/bots","YandexBot","yandexbot","crawler"],["baiduspider","Baiduspider","baiduspider","crawler"],["petalbot","PetalBot","petalbot","crawler"],["duckduckbot","DuckDuckBot","duckduckbot","crawler"],["applebot","Applebot","applebot","crawler"],["sogou","Sogou Spider","sogou","crawler"],["qwantify","Qwantify","qwantify","crawler"],["qwantbot","Qwantify","qwantify","crawler"],["yeti/","Naver","naver","crawler"],["naverbot","Naver","naver","crawler"],["seznambot","SeznamBot","seznam","crawler"],["mojeekbot","MojeekBot","mojeek","crawler"],["slurp","Yahoo! Slurp","yahoo-slurp","crawler"],["bravebot","Bravebot","bravebot","crawler"],["coccocbot","Coc Coc","coccocbot","crawler"],["help.coccoc.com","Coc Coc","coccocbot","crawler"],["yisouspider","YisouSpider","yisouspider","crawler"],["yepbot","YepBot","yepbot","crawler"],["googleother","GoogleOther","googleother","crawler"],["storebot-google","Storebot-Google","storebot-google","crawler"],["geedoshopproductfinder","Geedo","geedo","crawler"],["geedoproductsearch","Geedo","geedo","crawler"],["geedobot","Geedo","geedo","crawler"],["yacybot","YaCy","yacybot","crawler"],["cl0q-crawler","cl0q","cl0q","crawler"],["cl0q-discovery","cl0q","cl0q","crawler"],["cl0q-favicon","cl0q","cl0q","crawler"],["amazonproductdiscovery","Amazon Product Discovery","amazon-product-discovery","crawler"],["amazonsellerinitiatedlisting","Amazon Product Discovery","amazon-product-discovery","crawler"],["officestorebot","officestorebot","officestorebot","crawler"],["semanticscholarbot","SemanticScholarBot","semanticscholarbot","crawler"],["ntentbot","NTENTbot","ntentbot","crawler"],["vercatus/","Vercatus","vercatus","crawler"],["blexbot","BLEXBot","blexbot","crawler"],["seobilitybot","SeobilityBot","seobilitybot","crawler"],["sitecheck-sitecrawl","Siteimprove","siteimprove","crawler"],["screpy","ScrepyBot","screpybot","crawler"],["clearscopebot","Clearscopebot","clearscopebot","crawler"],["sitedecaybot","SiteDecayBot","sitedecaybot","crawler"],["agentreadyscan","AgentReadyScan","agentreadyscan","crawler"],["crawlcheck/","CrawlCheck","crawlcheck","crawler"],["kostobot","KostoBot","kostobot","crawler"],["keys-so-bot","keys.so","keys-so-bot","crawler"],["crolbot","CrolBot","crolbot","crawler"],["ahrefsbot","AhrefsBot","ahrefsbot","crawler"],["ahrefs","AhrefsBot","ahrefsbot","crawler"],["semrushbot","SemrushBot","semrushbot","crawler"],["semrush","SemrushBot","semrushbot","crawler"],["mj12bot","MJ12bot","mj12bot","crawler"],["dotbot","DotBot","dotbot","crawler"],["rogerbot","Rogerbot","rogerbot","crawler"],["screaming frog","Screaming Frog","screaming-frog","crawler"],["sitebulb","Sitebulb","sitebulb","crawler"],["deepcrawl","DeepCrawl","deepcrawl","crawler"],["lumar","DeepCrawl","deepcrawl","crawler"],["oncrawl","OnCrawl","oncrawl","crawler"],["botify","Botify","botify","crawler"],["contentking","ContentKing","contentking","crawler"],["sistrix","SISTRIX","sistrix","crawler"],["serpstat","Serpstat","serpstat","crawler"],["spyfu","SpyFu","spyfu","crawler"],["meta-externalads","meta-externalads","meta-externalads","crawler"],["dataforseobot","DataForSeoBot","dataforseobot","crawler"],["barkrowler","Barkrowler","barkrowler","crawler"],["scrunchbot","Scrunchbot","scrunchbot","crawler"],["webxtrendbot","webXtrendBot","webxtrendbot","crawler"],["serankingbacklinksbot","SERankingBacklinksBot","serankingbacklinksbot","crawler"],["awariobot","AwarioBot","awariobot","crawler"],["awariosmartbot","AwarioBot","awariobot","crawler"],["seojuice-searchbot","SEOJuice-SearchBot","seojuice-searchbot","crawler"],["trendictionbot","trendictionbot","trendictionbot","crawler"],["hubspot crawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot webcrawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot single page link check","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot connect","HubSpot Crawler","hubspot-crawler","crawler"],["brightedge crawler","BrightEdge Crawler","brightedge","crawler"],["sebot-wa","SE Ranking","se-ranking","crawler"],["searchatlas","Search Atlas","searchatlas","crawler"],["yextbot","YextBot","yextbot","crawler"],["accessiblewebbot","AccessibleWebBot","accessiblewebbot","crawler"],["merchantsecurityscanner","MerchantSecurityScanner","merchantsecurityscanner","crawler"],["tldwpbot","TLDWPBot","tldwpbot","crawler"],["bitsightbot","BitSightBot","bitsightbot","crawler"],["l9scan","LeakIX","leakix","crawler"],["modatscanner","ModatScanner","modatscanner","crawler"],["umaibot","UmaiBot","umaibot","crawler"],["artex-enrich/","ARTEX","artex","tool"],["nessus","Nessus","nessus","crawler"],["qualys","Qualys","qualys","crawler"],["shodan","Shodan","shodan","crawler"],["censys","Censys","censys","crawler"],["nmap","Nmap","nmap","crawler"],["zap/","OWASP ZAP","zap","crawler"],["burp","Burp Suite","burp","crawler"],["nikto","Nikto","nikto","crawler"],["nuclei","Nuclei","nuclei","crawler"],["acunetix","Acunetix","acunetix","crawler"],["netsparker","Netsparker","netsparker","crawler"],["detectify","Detectify","detectify","crawler"],["palo alto networks","Palo Alto Networks Cortex Xpanse","paloalto-xpanse","crawler"],["recordedfuture","Recorded Future Crawler","recordedfuture","crawler"],["developers.cloudflare.com/security-center","Cloudflare Security Center","cloudflare-security-center","crawler"],["virustotalcloud","VirusTotal","virustotal-cloud","crawler"],["intruder","Intruder","intruder","crawler"],["netcraftsurveyagent","Netcraft","netcraft","crawler"],["internetmeasurement","Driftnet","driftnet","crawler"],["t3versionsbot","t3versionsBot","t3versionsbot","crawler"],["norma/","Norma WebFetch","norma","tool"],["python-requests","Python-Requests","python-requests","tool"],["python-urllib","Python-urllib","python-urllib","tool"],["python/","Python","python","tool"],["scrapy","Scrapy","scrapy","tool"],["httpx","HTTPX","httpx","tool"],["aiohttp","aiohttp","aiohttp","tool"],["beautifulsoup","BeautifulSoup","beautifulsoup","tool"],["node-fetch","node-fetch","node-fetch","tool"],["axios/","Axios","axios","tool"],["got/","Got","got","tool"],["undici","Undici","undici","tool"],["go-http-client","Go-HTTP-Client","go-http-client","tool"],["colly","Colly","colly","tool"],["java/","Java","java","tool"],["okhttp","OkHttp","okhttp","tool"],["apache-httpclient/","Apache-HttpClient","apache-httpclient","tool"],["jsoup","Jsoup","jsoup","tool"],["guzzlehttp","GuzzleHttp","guzzlehttp","tool"],["php/","PHP","php","tool"],["ruby/","Ruby","ruby","tool"],["faraday","Faraday","faraday","tool"],["mechanize","Mechanize","mechanize","tool"],["nutch","Apache Nutch","nutch","tool"],["grub-client","Grub","grub","tool"],["crawl4ai","Crawl4AI","crawl4ai","tool"],["deno/","Deno","deno","tool"],["headlesschrome","HeadlessChrome","headlesschrome","tool"],["puppeteer","Puppeteer","puppeteer","tool"],["playwright","Playwright","playwright","tool"],["selenium","Selenium","selenium","tool"],["phantomjs","PhantomJS","phantomjs","tool"],["splash","Splash","splash","tool"],["browserless","Browserless","browserless","tool"],["browserbase","Browserbase","browserbase","tool"],["bnf.fr_bot","BnF","bnf-bot","crawler"],["loc.gov/programs/web-archiving","Library of Congress","loc-web-archiving","crawler"],["ia_archiver","Internet Archive","ia-archiver","crawler"],["archive.org_bot","Archive.org","archive-org-bot","crawler"],["wayback","Wayback Machine","wayback","crawler"],["heritrix","Heritrix","heritrix","crawler"],["brozzler","Brozzler","brozzler","crawler"],["curlshipbot","CurlShipBot","curlshipbot","crawler"],["criteobot","CriteoBot","criteobot","crawler"],["taboolabot","Taboolabot","taboolabot","crawler"],["opengraph.io","OpenGraph.io","opengraph-io","crawler"],["findfiles.net-linkchecker","FindFiles.net LinkChecker","findfiles-linkchecker","crawler"],["findfiles.net/","FindFiles.net","findfiles-bot","crawler"],["findfiles.net-faviconfetcher","FindFiles.net","findfiles-bot","crawler"],["hstspreload-bot","hstspreload-bot","hstspreload-bot","crawler"],["googlemessages","GoogleMessages","google-messages","crawler"],["facebookexternalhit","Facebook","facebookexternalhit","crawler"],["facebot","Facebot","facebot","crawler"],["twitterbot","Twitterbot","twitterbot","crawler"],["linkedinbot","LinkedInBot","linkedinbot","crawler"],["slackbot","Slackbot","slackbot","crawler"],["telegrambot","TelegramBot","telegrambot","crawler"],["whatsapp","WhatsApp","whatsapp","crawler"],["discordbot","Discordbot","discordbot","crawler"],["pinterest","Pinterest","pinterestbot","crawler"],["tumblr","Tumblr","tumblr","crawler"],["reddit","Reddit","reddit","crawler"],["embedly","Embedly","embedly","crawler"],["iframely","Iframely","iframely","crawler"],["adsbot-google","AdsBot-Google","adsbot-google","crawler"],["stripebot","Stripebot","stripebot","crawler"],["google-read-aloud","Google-Read-Aloud","google-read-aloud","crawler"],["google-safety","Google-Safety","google-safety","crawler"],["oai-adsbot","OAI-AdsBot","oai-adsbot","crawler"],["kakaobot","KakaoBot","kakaobot","crawler"],["meta-externalhit","Meta-ExternalHit","meta-externalhit","crawler"],["facebookcatalog/","facebookcatalog","facebookcatalog","crawler"],["slack-imgproxy","Slack-ImgProxy","slack-imgproxy","crawler"],["skypeuripreview","SkypeUriPreview","skypeuripreview","crawler"],["bingpreview/","BingPreview","bingpreview","crawler"],["microsoftpreview/","MicrosoftPreview","microsoftpreview","crawler"],["snap url preview service","Snap URL Preview","snap-url-preview","crawler"],["keybasebot","KeybaseBot","keybasebot","crawler"],["mastodon/","Mastodon","mastodon","crawler"],["summalybot","SummalyBot","summalybot","crawler"],["tiktokspider","TikTokSpider","tiktokspider","crawler"],["nextcloud-server-crawler","Nextcloud","nextcloud","crawler"],["nextcloud-news","Nextcloud","nextcloud","crawler"],["wordpress/","WordPress site","wordpress-site","crawler"],["google web preview","Google Web Preview","google-web-preview","crawler"],["google-pagerenderer","Google Web Preview","google-web-preview","crawler"],["google favicon","Google Favicon","google-favicon","crawler"],["googleimageproxy","GoogleImageProxy","googleimageproxy","crawler"],["google-cws","Google-CWS","google-cws","crawler"],["google-pinpoint","Google-Pinpoint","google-pinpoint","crawler"],["google-site-verification","Google-Site-Verification","google-site-verification","crawler"],["googleassociationservice","GoogleAssociationService","googleassociationservice","crawler"],["aasa-bot","AASA-Bot","aasa-bot","crawler"],["apis-google","APIs-Google","apis-google","crawler"],["duplexweb-google","DuplexWeb-Google","duplexweb-google","crawler"],["google-xrawler","google-xrawler","google-xrawler","crawler"],["google-physicalweb","Google-PhysicalWeb","google-physicalweb","crawler"],["mediapartners-google","Mediapartners-Google","mediapartners-google","crawler"],["google-adwords-instant","Google Ads fetchers","google-ads-landing","crawler"],["google-display-ads-bot","Google Ads fetchers","google-ads-landing","crawler"],["google-ads-conversions","Google Ads fetchers","google-ads-landing","crawler"],["amazonadbot","AmazonAdBot","amazonadbot","crawler"],["ias_crawler","IAS crawler","integral-ad-science","crawler"],["safednsbot","SafeDNSBot","safednsbot","crawler"],["curl/","cURL","curl","tool"],["wget/","Wget","wget","tool"],["libwww-perl","libwww-perl","libwww-perl","tool"],["lwp-","LWP","lwp","tool"],["httrack","HTTrack","httrack","tool"],["sealkeeperbot","SealKeeperBot","sealkeeperbot","crawler"],["webdecoysitehealth","WebDecoySiteHealth","webdecoysitehealth","crawler"],["solvedearthlivenessbot","SolvedEarthLivenessBot","solvedearthlivenessbot","crawler"],["truetierbot","TrueTierBot","truetierbot","crawler"],["webdecoybot","WebDecoyBot","webdecoybot","crawler"],["uptimerobot","UptimeRobot","uptimerobot","crawler"],["pingdom","Pingdom","pingdom","crawler"],["statuscake","StatusCake","statuscake","crawler"],["betteruptime","Better Uptime","better-uptime","crawler"],["datadog","Datadog Synthetics","datadog-synthetics","crawler"],["newrelic","New Relic","newrelic","crawler"],["site24x7","Site24x7","site24x7","crawler"],["freshping","Freshping","freshping","crawler"],["hetrixtools","HetrixTools","hetrixtools","crawler"],["nodeping","NodePing","nodeping","crawler"],["gtmetrix","GTmetrix","gtmetrix","crawler"],["chrome-lighthouse","Lighthouse","chrome-lighthouse","crawler"],["google page speed","Lighthouse","chrome-lighthouse","crawler"],["google-structured-data-testing-tool","Google Structured Data Testing Tool","google-structured-data-testing-tool","crawler"],["google search console","Google Search Console","google-search-console","crawler"],["google-certificates-bridge","Google-Certificates-Bridge","google-certificates-bridge","crawler"],["googlestackdrivermonitoring","Google Cloud Monitoring","google-cloud-monitoring","crawler"],["appinsights","Azure Application Insights","azure-app-insights","crawler"],["amazon route 53 health check service","Route 53 Health Check","route53-health-check","crawler"],["ptst/","WebPageTest","webpagetest","crawler"],["2ip bot","2ip bot","2ip-bot","crawler"],["abevalbot","ABEvalBot","abevalbot","crawler"],["hanaleibot","HanaleiBot","hanaleibot","crawler"],["pomothy-bot","Pomothy-Bot","pomothy-bot","crawler"],["openbeatbot","OpenBeatBot","openbeatbot","crawler"],["andifeedbot","AndiFeedBot","andifeedbot","crawler"],["librarianbot","LibrarianBot","librarianbot","crawler"],["oursignal/","oursignal","oursignal","crawler"],["feedly","Feedly","feedly","crawler"],["livelapbot","LivelapBot","livelapbot","crawler"],["feedspot","Feedspot","feedspot","crawler"],["feedfetcher","Feedfetcher-Google","feedfetcher-google","crawler"],["newsblur","NewsBlur","newsblur","crawler"],["inoreader","Inoreader","inoreader","crawler"],["theoldreader","The Old Reader","theoldreader","crawler"],["feedbin","Feedbin","feedbin","crawler"],["miniflux","Miniflux","miniflux","crawler"],["freshrss","FreshRSS","freshrss","crawler"],["commafeed","CommaFeed","commafeed","crawler"],["googleproducer","GoogleProducer","google-producer","crawler"],["feeder.co","Feeder","feeder-co","crawler"],["rssbot/","RSSBot","rssbot","crawler"],["hatena","Hatena","hatena","crawler"],["newsai/","newsai","newsai","crawler"],["hiddentiesresearchbot","HiddenTiesResearchBot","hiddentiesresearchbot","crawler"],["trustedbypeople","TrustedByPeople.com Bot","trustedbypeoplebot","crawler"],["launchmicbot","LaunchMicBot","launchmicbot","crawler"],["uncoveredlistbot","UncoveredListBot","uncoveredlistbot","crawler"],["zoominfobot","ZoominfoBot","zoominfobot","crawler"],["solvedearthpricebot","SolvedEarthPriceBot","solvedearthpricebot","crawler"],["opensourcefinderbot","OpenSourceFinderBot","opensourcefinderbot","crawler"],["tphotobot","tphotobot","tphotobot","crawler"],["bangobot","BangoBot","bangobot","crawler"],["kamatabot","KamataBot","kamatabot","crawler"],["boehmbot","BoehmBot","boehmbot","crawler"],["pipericbot","PipericBot","pipericbot","crawler"],["pandalytics","Pandalytics","pandalytics","crawler"],["spiderling","SpiderLing","spiderling","crawler"],["sketchengine","SpiderLing","spiderling","crawler"],["netapi/","NetAPI Bot","netapi","crawler"],["anticlonebot","AntiCloneBot","anticlonebot","crawler"],["terncrawler","TernCrawler","terncrawler","crawler"],["diffbot","Diffbot","diffbot","crawler"],["import.io","Import.io","import-io","crawler"],["brightdata","Bright Data","bright-data","crawler"],["luminati","Bright Data","bright-data","crawler"],["brightbot","Brightbot","brightbot","crawler"],["cloudflarebrowserrenderingcrawler","Cloudflare Browser Rendering Crawler","cloudflare-crawl","crawler"],["ev-crawler","ev-crawler","ev-crawler","crawler"],["oxylabs","Oxylabs","oxylabs","crawler"],["scrapingbee","ScrapingBee","scrapingbee","crawler"],["scrapingant","ScrapingAnt","scrapingant","crawler"],["zyte","Zyte","zyte","crawler"],["scrapinghub","Zyte","zyte","crawler"],["apify","Apify","apify","crawler"],["crawlbase","Crawlbase","crawlbase","crawler"],["webscrapingapi","WebScrapingAPI","webscrapingapi","crawler"],["firecrawlagent","Firecrawl","firecrawl","crawler"],["crawlspace","Crawlspace","crawlspace","crawler"],["imagesiftbot","ImagesiftBot","imagesiftbot","crawler"],["dataprovider.com","Dataprovider.com","dataprovider","crawler"],["mixrankbot","MixrankBot","mixrankbot","crawler"],["domaincrawler","DomainCrawler","domaincrawler","crawler"],["linkfluence","Linkfluence","linkfluence","crawler"],["ubermetrics-technologies.com","Ubermetrics","ubermetrics","crawler"],["um-ln/","Ubermetrics","ubermetrics","crawler"],["mediatoolkitbot","Mediatoolkitbot","mediatoolkitbot","crawler"],["collection@infegy.com","Infegy","infegy","crawler"],["storygizebot","StorygizeBot","storygizebot","crawler"],["aihitbot","aiHitBot","aihitbot","crawler"],["turnitin","TurnitinBot","turnitinbot","crawler"],["primalbot","Primalbot","primalbot","crawler"],["gluten free crawler","Gluten Free Crawler","gluten-free-crawler","crawler"],["linkup-user","Linkup-User","linkup-user","crawler"],["harkbot","HarkBot","harkbot","crawler"],["andi-user","Andi-User","andi-user","crawler"],["chatgpt-user","ChatGPT-User","chatgpt-user","crawler"],["perplexity-user","Perplexity-User","perplexity-user","crawler"],["mistralai-user","MistralAI-User","mistralai-user","crawler"],["exauser","ExaUser","exauser","crawler"],["shap-user","Shap-User","shap-user","crawler"],["meta-externalfetcher","Meta-ExternalFetcher","meta-externalfetcher","crawler"],["gemini-deep-research","Gemini-Deep-Research","gemini-deep-research","crawler"],["copilot","Microsoft Copilot","copilot","crawler"],["cortana","Cortana","cortana","crawler"],["siri","Siri","siri","crawler"],["kimi-user","Kimi-User","kimi-user","crawler"],["keenable-user","Keenable-User","keenable-user","crawler"],["elevenlabsbot","ElevenlabsBot","elevenlabsbot","crawler"],["klaviyoaibot","KlaviyoAIBot","klaviyoaibot","crawler"],["google-notebooklm","Google-NotebookLM","google-notebooklm","crawler"],["google-gemininotebook","Google-NotebookLM","google-notebooklm","crawler"]];function kt(e){for(let[r,t,o,a]of Qe)if(e.includes(r))return{name:t,id:o,kind:a};return null}var xt=/(?:bot|crawler|spider)(?:[/\s);,]|$)/i;function Ze(e){let r=e.toLowerCase(),t=kt(r);return t?.kind==="crawler"||!t&&xt.test(e)}var _t="Search Engine Crawler",te=1e3,At={search_engines:!0,ai_crawlers:!0,monitoring:!0};function St(e){if(!e.includes(":"))return e.split(".").reverse().join(".")+".in-addr.arpa";let[r,t=""]=e.split("::"),o=r?r.split(":"):[],a=t?t.split(":"):[],n=8-o.length-a.length;return n<0?"":[...o,...Array(Math.max(0,n)).fill("0"),...a].map(s=>s.padStart(4,"0")).join("").split("").reverse().join(".")+".ip6.arpa"}function oe(e,r){return Promise.race([e,new Promise((t,o)=>setTimeout(()=>o(new Error("dns timeout")),r))])}function Ct(e){return{reverse:r=>oe(e(St(r),"PTR"),te),resolve4:r=>oe(e(r,"A"),te),resolve6:r=>oe(e(r,"AAAA"),te)}}function er(e,r,t,o=typeof Deno<"u"&&Deno&&typeof Deno.resolveDns=="function"?Deno.resolveDns.bind(Deno):void 0,a=Date.now()){return!t||!e||!o||!Ze(r)?Promise.resolve(""):Xe(e,At,Ct(o),a).then(n=>n==="search_engines"?_t:"").catch(()=>"")}var Bt="https://cloudflare-dns.com/dns-query",Rt=1e3,Pt={A:1,PTR:12,AAAA:28};function Et(e=fetch){return async(r,t)=>{let o=Pt[t];if(!o)throw new Error(`unsupported record type ${t}`);let a=`${Bt}?name=${encodeURIComponent(r)}&type=${t}`,n=await e(a,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(Rt)});if(!n.ok)throw new Error(`doh ${n.status}`);let i=await n.json();if(i.Status!==0)throw new Error(`dns status ${i.Status}`);let s=(i.Answer??[]).filter(c=>c.type===o&&typeof c.data=="string").map(c=>c.data);if(s.length===0)throw new Error("no records");return s}}function rr(e,r,t,o=fetch){return er(e,r,t,Et(o))}var ae="vercel-3c847c42c8e3";var tr="https://in.webdecoy.com";function or(e){let r=new Headers(e.headers);return r.delete(G),r.delete(Ge),r}function ne(e,r){let t=or(e);return r&&t.set(G,r),{action:"continue",headers:t,verdict:r}}async function Tt(e,r,t){try{let o=(t.ingest??"").trim().replace(/\/+$/,"")||tr,a=new URL(e.url),n=a.searchParams.get(ze),i=z(a.hostname),s=await $e({apiBase:o,siteKey:t.siteKey},i);if(n!==null)return{action:"respond",response:Ve(n,s?s.mode:"unknown",t.siteKey,K)};if(a.pathname===ee)return{action:"respond",response:await Fe(e,o)};if(a.pathname===U)return{action:"respond",response:await De(e,{apiBase:o,siteKey:t.siteKey,sensorKey:t.sensorKey,host:i})};if(!s)return ne(e,null);let c=await Ce(e,s,{siteKey:t.siteKey,verifiedBotCategory:(g,l)=>rr(r.ip,g.headers.get("user-agent")??"",l,r.fetch??fetch)});if(q(c)){let g=Y(e.headers.get("cookie")??"",J);g&&await Me(g,t.sensorKey,i,e.headers.get("user-agent")??"",Date.now())&&(c=Be(c))}return Je({...c,refusal:c.pass?null:{ip:r.ip,path:a.pathname}},a.hostname,{siteKey:t.siteKey,apiBase:o,scannerId:t.scannerId,sensorKey:t.sensorKey,bundleVersion:ae,capabilities:K},{waitUntil:g=>r.waitUntil?.(g)},Date.now()),c.pass||c.mode!=="enforce"?ne(e,c.label):{action:"respond",response:We(e,o,t.siteKey,c.label)}}catch{try{return ne(e,null)}catch{return{action:"continue",headers:null,verdict:null}}}}export{ae as BUILD,tr as DEFAULT_INGEST,K as VERCEL_VALIDATOR_CAPABILITIES,or as cleanHeaders,Tt as runGate}; +${x.path}`,y=d.referrals.get(b);y?y.count++:(d.referrals.set(b,{platform:x.platform,path:x.path,count:1}),d.routeBytes+=A.encode(x.platform).length+A.encode(x.path).length+qe)}let C=e?.refusal;C&&typeof C.ip=="string"&&C.ip&&typeof C.path=="string"&&C.path.startsWith("/")&&(d.refusals.push({ip:C.ip,path:C.path,at:Math.floor(a/1e3),verdict:n}),d.routeBytes+=nt),d.total++,(d.total>=rt||d.routeBytes>=tt)&&(N(d,t,o),_.delete(v))}catch{}}function dt(e,r,t,o,a){try{let n=(r.bucketStart+re)*1e3,i=Math.floor(Math.random()*lt),s=Math.max(0,Math.min(n-a+i,ct));o.waitUntil(new Promise(c=>{setTimeout(()=>{try{_.get(e)===r&&(N(r,t,o),_.delete(e))}catch{}c()},s)}))}catch{}}function N(e,r,t){try{if(e.total<=0||e.counts.size===0)return;let o={};for(let[l,w]of e.counts)o[l]=w;let a=[];for(let l of e.routes.values()){let w={pattern:l.pattern,verdict:l.verdict,count:l.count};l.behavior&&(w.behavior=l.behavior),l.crawlerBehavior&&(w.crawler_behavior=l.crawlerBehavior),a.push(w)}let n={organization_id:r.siteKey,bucket_start:e.bucketStart,mode:e.mode,counts:o,route_counts:a,report_id:crypto.randomUUID()};if(e.previews.size>0){let l=[];for(let[w,f]of e.previews){let h={};for(let[m,v]of f.refused)h[m]=v;l.push({pattern:w,evaluated:f.evaluated,additional_refusals:h})}n.previews=l}if(e.credentials.size>0){let l=[];for(let[w,f]of e.credentials)l.push({credential_id:w,outside_reach:f.outsideReach,used:f.used});n.credential_presentations=l}e.referrals.size>0&&(n.ai_referrals=[...e.referrals.values()].map(l=>({platform:l.platform,path:l.path,count:l.count}))),r.propertyId&&(n.property_id=r.propertyId),n.host=e.host,r.bundleVersion&&(n.reporter_version=r.bundleVersion);let i=!!(r.scannerId&&r.sensorKey);i&&(n.scanner_id=r.scannerId),n.capabilities=r.capabilities??je;let s=i?e.refusals:[],c=()=>wt(r.apiBase,JSON.stringify(n),i?r.sensorKey:void 0),g=s.length===0?c():ft(r.siteKey,s).then(l=>{n.refusals=l}).catch(()=>{}).then(c);t.waitUntil(g.then(()=>{},()=>{}))}catch{}}async function pt(e,r,t){let o=await crypto.subtle.digest("SHA-256",A.encode(`${e.toLowerCase()}|${r}|${t}`)),a="";for(let n of new Uint8Array(o))a+=n.toString(16).padStart(2,"0");return a.slice(0,it)}async function ft(e,r){let t=[];for(let o of r)t.push({k:await pt(e,o.ip,o.path),t:o.at,v:o.verdict});return t}async function wt(e,r,t){let o=new AbortController,a=setTimeout(()=>o.abort(),st),n={"content-type":"application/json"};t&&(n["x-wd-sensor-key"]=t);try{await fetch(e.replace(/\/+$/,"")+"/api/v1/clearance/telemetry",{method:"POST",headers:n,body:r,signal:o.signal})}finally{clearTimeout(a)}}var K=["route_min_trust","route_attribution","monitor_routes","route_exceptions","bot_behaviors","credential_reach","bot_verification_rdns","crawler_behavior","ai_referrals","credential_usage"];var bt=[{category:"search_engines",suffixes:[".googlebot.com",".google.com",".search.msn.com",".crawl.yahoo.net",".applebot.apple.com",".yandex.com",".yandex.net",".yandex.ru",".crawl.baidu.com",".crawl.baidu.jp"]}];function ht(e,r){let t=e.toLowerCase().replace(/\.$/,"");for(let o of bt)if(r[o.category]){for(let a of o.suffixes)if(t.endsWith(a))return o.category}return null}var H=new Map,mt=36e5,yt=5e3;async function Xe(e,r,t,o){let a=H.get(e);if(a&&o-a.at=yt&&H.clear(),H.set(e,{category:n,at:o}),n}async function vt(e,r,t){let o=e.replace(/\.$/,""),a=r.includes(":")?[t.resolve6(o)]:[t.resolve4(o)];try{return(await Promise.all(a)).flat().some(i=>i===r)}catch{return!1}}var Qe=[["prompsitcrawler","PrompsitCrawler","prompsitcrawler","crawler"],["trainingdatafoundationbot","TrainingDataFoundationBot","trainingdatafoundationbot","crawler"],["hunyuan/","Hunyuan","hunyuan","crawler"],["speridlabsresearchcrawler","SperidLabsResearchCrawler","speridlabsresearchcrawler","crawler"],["abliterantbot","AbliterantBot","abliterantbot","crawler"],["tokenfoundrybot","TokenFoundryBot","tokenfoundrybot","crawler"],["reflectionbot","Reflectionbot","reflectionbot","crawler"],["gptbot","GPTBot","gptbot","crawler"],["claudebot","ClaudeBot","claudebot","crawler"],["anthropic-ai","Anthropic","anthropic","crawler"],["claude-web","Claude-Web","claude-web","crawler"],["ccbot","CCBot","ccbot","crawler"],["google-extended","Google-Extended","google-extended","crawler"],["bytespider","ByteSpider","bytespider","crawler"],["amazonbot","Amazonbot","amazonbot","crawler"],["facebookbot","FacebookBot","facebookbot","crawler"],["meta-externalagent","Meta-ExternalAgent","meta-externalagent","crawler"],["cohere-ai","Cohere","cohere-ai","crawler"],["cohere","Cohere","cohere-ai","crawler"],["applebot-extended","Applebot-Extended","applebot-extended","crawler"],["youbot","YouBot","youbot","crawler"],["mistralbot","MistralBot","mistral","crawler"],["ai2bot","AI2Bot","ai2bot","crawler"],["deepseekbot","DeepSeek","deepseek","crawler"],["qwen","Qwen","qwen","crawler"],["webzio","Webz.io","webzio","crawler"],["sentibot","Sentibot","sentibot","crawler"],["omgili","Omgili","omgili","crawler"],["img2dataset","img2dataset","img2dataset","crawler"],["timpibot","Timpibot","timpibot","crawler"],["velenpublicwebcrawler","VelenPublicWebCrawler","velenpublicwebcrawler","crawler"],["isscyberriskcrawler","ISSCyberRiskCrawler","isscyberriskcrawler","crawler"],["friendlycrawler","FriendlyCrawler","friendlycrawler","crawler"],["elevenlabscrawler","ElevenlabsCrawler","elevenlabscrawler","crawler"],["riverbot","RiverBot","riverbot","crawler"],["kimibot","KimiBot","kimibot","crawler"],["moonshotbot","MoonshotBot","moonshotbot","crawler"],["chatglm-spider","ChatGLM-Spider","chatglm-spider","crawler"],["mistralai-training","MistralAI-Training","mistralai-training","crawler"],["imagespider","imageSpider","imagespider","crawler"],["laion-huggingface-processor","laion-huggingface-processor","laion-huggingface-processor","crawler"],["sbintuitionsbot","SBIntuitionsBot","sbintuitionsbot","crawler"],["clueweb-crawler","ClueWeb-Crawler","clueweb-crawler","crawler"],["icc-crawler","ICC-Crawler","icc-crawler","crawler"],["dulenobot","dulenobot","dulenobot","crawler"],["secureaibot","SecureAIBot","secureaibot","crawler"],["eurekasearchbot","EurekaSearchBot","eurekasearchbot","crawler"],["borderxbot","BorderxBot","borderxbot","crawler"],["qualifiedbot","QualifiedBot","qualifiedbot","crawler"],["navubot","NavuBot","navubot","crawler"],["karlacrawler","KarlaCrawler","karlacrawler","crawler"],["chathivecrawler","ChathiveCrawler","chathivecrawler","crawler"],["generalretrievalbot","GeneralRetrievalBot","generalretrievalbot","crawler"],["andi-searchbot","Andi-SearchBot","andi-searchbot","crawler"],["talarionsearchbot","TalarionSearchBot","talarionsearchbot","crawler"],["unfragilebot","UnfragileBot","unfragilebot","crawler"],["aranet-searchbot","Aranet-SearchBot","aranet-searchbot","crawler"],["duckassistbot","DuckAssistBot","duckassistbot","crawler"],["sofyabot","SofyaBot","sofyabot","crawler"],["xai-searchbot","xAI-SearchBot","xai-searchbot","crawler"],["linkupbot","LinkupBot","linkupbot","crawler"],["perplexitybot/","PerplexityBot","perplexitybot","crawler"],["claude-searchbot","Claude-SearchBot","claude-searchbot","crawler"],["oai-searchbot","OAI-SearchBot","oai-searchbot","crawler"],["searchgpt","SearchGPT","searchgpt","crawler"],["phind","Phind","phind","crawler"],["kagi","Kagi","kagi","crawler"],["exasearchbot","Exa","exa","crawler"],["exabot","Exa","exa","crawler"],["shapbot","ShapBot","shapbot","crawler"],["meta-webindexer","Meta-WebIndexer","meta-webindexer","crawler"],["metaphor","Metaphor","metaphor","crawler"],["tavily","Tavily","tavily","crawler"],["bravesearch","BraveSearch","brave-search","crawler"],["neevabot","NeevaBot","neeva","crawler"],["kimi-searchbot","Kimi-SearchBot","kimi-searchbot","crawler"],["isonsearchbot","IsonSearchBot","isonsearchbot","crawler"],["keenablebot","KeenableBot","keenablebot","crawler"],["azureai-searchbot","AzureAI-SearchBot","azureai-searchbot","crawler"],["grokbot","GrokBot","grokbot","crawler"],["mistralai-index","MistralAI-Index","mistralai-index","crawler"],["amzn-searchbot","Amzn-SearchBot","amzn-searchbot","crawler"],["google-cloudvertexbot","Google-CloudVertexBot","google-cloudvertexbot","crawler"],["cloudflare-ai-search","Cloudflare AI Search","cloudflare-ai-search","crawler"],["cloudflare-autorag","Cloudflare AI Search","cloudflare-ai-search","crawler"],["atlassian-bot","atlassian-bot","atlassian-bot","crawler"],["amazon-bedrock-knowledgebase","Amazon Bedrock Knowledge Bases","amazon-bedrock-knowledgebase","crawler"],["amazon-qbusiness","Amazon Q Business","amazon-qbusiness","crawler"],["amazon-kendra","Amazon Kendra","amazon-kendra","crawler"],["linerbot","LinerBot","linerbot","crawler"],["context7-crawler","Context7-Crawler","context7-crawler","crawler"],["zanistabot","ZanistaBot","zanistabot","crawler"],["iaskspider","iaskspider","iaskspider","crawler"],["anomura/","Anomura","anomura","crawler"],["channel3bot","Channel3Bot","channel3bot","crawler"],["proratainc","ProRata","prorata","crawler"],["devin/","Devin","devin","crawler"],["echoboxbot","EchoboxBot","echoboxbot","crawler"],["operator","Operator","operator","crawler"],["claude-user","Claude-User","claude-user","crawler"],["claude-code/","Claude-User","claude-user","crawler"],["gemini-user","Gemini-User","gemini-user","crawler"],["googleagent-mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["mariner","GoogleAgent-Mariner","googleagent-mariner","crawler"],["amazonbuyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["buyforme","AmazonBuyForMe","amazon-buyforme","crawler"],["browser-use","Browser-Use","browser-use","crawler"],["stagehand","Stagehand","stagehand","crawler"],["manus-user","Manus-User","manus-user","crawler"],["multion","MultiOn","multion","crawler"],["opencode-user","OpenCode-User","opencode-user","crawler"],["google-agent","Google-Agent","google-agent","crawler"],["googleagent-urlcontext","GoogleAgent-URLContext","googleagent-urlcontext","crawler"],["google-jetski-antigravity","Google Antigravity","google-antigravity","crawler"],["amzn-user","Amzn-User","amzn-user","crawler"],["amazon-quick-on-behalf-of-","Amazon Quick","amazon-quick","crawler"],["amazon-bedrock-agentcore-browser","Amazon Bedrock AgentCore Browser","amazon-bedrock-agentcore-browser","crawler"],["kiroserver/","Kiro","kiro","crawler"],["claude-agent/","Claude-Agent","claude-agent","crawler"],["grok-agent/","grok-agent","grok-agent","crawler"],["mozilla-tabstack","Mozilla Tabstack","mozilla-tabstack","crawler"],["isonai-user/","IsonAI-User","isonai-user","crawler"],["liner-user/","Liner-User","liner-user","crawler"],["minimaxagent","MiniMaxAgent","minimax-agent","crawler"],["qodercli","Qoder","qoder","crawler"],["zcode-webfetch","ZCode","zcode","crawler"],["augment-webfetch","Augment Code","augment-code","crawler"],["opencode-smartfetch","opencode-smartfetch","opencode-smartfetch","crawler"],["deepseek-harness","deepseek-harness","deepseek-harness","crawler"],["agentdrivesagent/","AgentDrivesAgent","agentdrivesagent","crawler"],["bertinabot","BertinaBot","bertinabot","crawler"],["aprycobot","AprycoBot","aprycobot","crawler"],["seekportbot","SeekportBot","seekportbot","crawler"],["search.marginalia.nu","Marginalia Search","marginalia","crawler"],["freespokecrawler","FreespokeCrawler","freespokecrawler","crawler"],["algolia crawler","Algolia Crawler","algolia-crawler","crawler"],["coveobot","Coveobot","coveobot","crawler"],["addsearchbot","AddSearchBot","addsearchbot","crawler"],["epochal-search","Epochal-Search","epochal-search","crawler"],["mwmbl-crawler","Mwmbl","mwmbl-crawler","crawler"],["t2bot/","T2Bot","t2bot","crawler"],["loadedbot","LoadedBot","loadedbot","crawler"],["jambot","Jambot","jambot","crawler"],["fyndbot","fyndbot","fyndbot","crawler"],["pexelsbot","PexelsBot","pexelsbot","crawler"],["360spider","360Spider","360spider","crawler"],["cgmsearchbot","CGMSearchBot","cgmsearchbot","crawler"],["iboubot","IbouBot","iboubot","crawler"],["ibou-search","IbouBot","iboubot","crawler"],["googlebot","Googlebot","googlebot","crawler"],["google-inspectiontool","Google-InspectionTool","google-inspectiontool","crawler"],["bingbot","Bingbot","bingbot","crawler"],["msnbot","MSNBot","msnbot","crawler"],["yandexbot","YandexBot","yandexbot","crawler"],["yandex.com/bots","YandexBot","yandexbot","crawler"],["baiduspider","Baiduspider","baiduspider","crawler"],["petalbot","PetalBot","petalbot","crawler"],["duckduckbot","DuckDuckBot","duckduckbot","crawler"],["applebot","Applebot","applebot","crawler"],["sogou","Sogou Spider","sogou","crawler"],["qwantify","Qwantify","qwantify","crawler"],["qwantbot","Qwantify","qwantify","crawler"],["yeti/","Naver","naver","crawler"],["naverbot","Naver","naver","crawler"],["seznambot","SeznamBot","seznam","crawler"],["mojeekbot","MojeekBot","mojeek","crawler"],["slurp","Yahoo! Slurp","yahoo-slurp","crawler"],["bravebot","Bravebot","bravebot","crawler"],["coccocbot","Coc Coc","coccocbot","crawler"],["help.coccoc.com","Coc Coc","coccocbot","crawler"],["yisouspider","YisouSpider","yisouspider","crawler"],["yepbot","YepBot","yepbot","crawler"],["googleother","GoogleOther","googleother","crawler"],["storebot-google","Storebot-Google","storebot-google","crawler"],["geedoshopproductfinder","Geedo","geedo","crawler"],["geedoproductsearch","Geedo","geedo","crawler"],["geedobot","Geedo","geedo","crawler"],["yacybot","YaCy","yacybot","crawler"],["cl0q-crawler","cl0q","cl0q","crawler"],["cl0q-discovery","cl0q","cl0q","crawler"],["cl0q-favicon","cl0q","cl0q","crawler"],["amazonproductdiscovery","Amazon Product Discovery","amazon-product-discovery","crawler"],["amazonsellerinitiatedlisting","Amazon Product Discovery","amazon-product-discovery","crawler"],["officestorebot","officestorebot","officestorebot","crawler"],["semanticscholarbot","SemanticScholarBot","semanticscholarbot","crawler"],["ntentbot","NTENTbot","ntentbot","crawler"],["hypefactors.com","Buck","buck","crawler"],["vercatus/","Vercatus","vercatus","crawler"],["blexbot","BLEXBot","blexbot","crawler"],["seobilitybot","SeobilityBot","seobilitybot","crawler"],["sitecheck-sitecrawl","Siteimprove","siteimprove","crawler"],["screpy","ScrepyBot","screpybot","crawler"],["clearscopebot","Clearscopebot","clearscopebot","crawler"],["sitedecaybot","SiteDecayBot","sitedecaybot","crawler"],["agentreadyscan","AgentReadyScan","agentreadyscan","crawler"],["crawlcheck/","CrawlCheck","crawlcheck","crawler"],["kostobot","KostoBot","kostobot","crawler"],["keys-so-bot","keys.so","keys-so-bot","crawler"],["crolbot","CrolBot","crolbot","crawler"],["ahrefsbot","AhrefsBot","ahrefsbot","crawler"],["ahrefs","AhrefsBot","ahrefsbot","crawler"],["semrushbot","SemrushBot","semrushbot","crawler"],["semrush","SemrushBot","semrushbot","crawler"],["mj12bot","MJ12bot","mj12bot","crawler"],["dotbot","DotBot","dotbot","crawler"],["rogerbot","Rogerbot","rogerbot","crawler"],["screaming frog","Screaming Frog","screaming-frog","crawler"],["sitebulb","Sitebulb","sitebulb","crawler"],["deepcrawl","DeepCrawl","deepcrawl","crawler"],["lumar","DeepCrawl","deepcrawl","crawler"],["oncrawl","OnCrawl","oncrawl","crawler"],["botify","Botify","botify","crawler"],["contentking","ContentKing","contentking","crawler"],["sistrix","SISTRIX","sistrix","crawler"],["serpstat","Serpstat","serpstat","crawler"],["spyfu","SpyFu","spyfu","crawler"],["meta-externalads","meta-externalads","meta-externalads","crawler"],["dataforseobot","DataForSeoBot","dataforseobot","crawler"],["barkrowler","Barkrowler","barkrowler","crawler"],["scrunchbot","Scrunchbot","scrunchbot","crawler"],["webxtrendbot","webXtrendBot","webxtrendbot","crawler"],["serankingbacklinksbot","SERankingBacklinksBot","serankingbacklinksbot","crawler"],["awariobot","AwarioBot","awariobot","crawler"],["awariosmartbot","AwarioBot","awariobot","crawler"],["seojuice-searchbot","SEOJuice-SearchBot","seojuice-searchbot","crawler"],["trendictionbot","trendictionbot","trendictionbot","crawler"],["hubspot crawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot webcrawler","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot single page link check","HubSpot Crawler","hubspot-crawler","crawler"],["hubspot connect","HubSpot Crawler","hubspot-crawler","crawler"],["brightedge crawler","BrightEdge Crawler","brightedge","crawler"],["sebot-wa","SE Ranking","se-ranking","crawler"],["searchatlas","Search Atlas","searchatlas","crawler"],["yextbot","YextBot","yextbot","crawler"],["accessiblewebbot","AccessibleWebBot","accessiblewebbot","crawler"],["iisec.ac.jp","IISEC research scanner","iisec","crawler"],["merchantsecurityscanner","MerchantSecurityScanner","merchantsecurityscanner","crawler"],["tldwpbot","TLDWPBot","tldwpbot","crawler"],["bitsightbot","BitSightBot","bitsightbot","crawler"],["l9scan","LeakIX","leakix","crawler"],["modatscanner","ModatScanner","modatscanner","crawler"],["umaibot","UmaiBot","umaibot","crawler"],["artex-enrich/","ARTEX","artex","tool"],["nessus","Nessus","nessus","crawler"],["qualys","Qualys","qualys","crawler"],["shodan","Shodan","shodan","crawler"],["censys","Censys","censys","crawler"],["nmap","Nmap","nmap","crawler"],["zap/","OWASP ZAP","zap","crawler"],["burp","Burp Suite","burp","crawler"],["nikto","Nikto","nikto","crawler"],["nuclei","Nuclei","nuclei","crawler"],["acunetix","Acunetix","acunetix","crawler"],["netsparker","Netsparker","netsparker","crawler"],["detectify","Detectify","detectify","crawler"],["palo alto networks","Palo Alto Networks Cortex Xpanse","paloalto-xpanse","crawler"],["recordedfuture","Recorded Future Crawler","recordedfuture","crawler"],["developers.cloudflare.com/security-center","Cloudflare Security Center","cloudflare-security-center","crawler"],["virustotalcloud","VirusTotal","virustotal-cloud","crawler"],["intruder","Intruder","intruder","crawler"],["netcraftsurveyagent","Netcraft","netcraft","crawler"],["internetmeasurement","Driftnet","driftnet","crawler"],["t3versionsbot","t3versionsBot","t3versionsbot","crawler"],["norma/","Norma WebFetch","norma","tool"],["python-requests","Python-Requests","python-requests","tool"],["python-urllib","Python-urllib","python-urllib","tool"],["python/","Python","python","tool"],["scrapy","Scrapy","scrapy","tool"],["httpx","HTTPX","httpx","tool"],["aiohttp","aiohttp","aiohttp","tool"],["beautifulsoup","BeautifulSoup","beautifulsoup","tool"],["node-fetch","node-fetch","node-fetch","tool"],["axios/","Axios","axios","tool"],["got/","Got","got","tool"],["undici","Undici","undici","tool"],["go-http-client","Go-HTTP-Client","go-http-client","tool"],["colly","Colly","colly","tool"],["java/","Java","java","tool"],["okhttp","OkHttp","okhttp","tool"],["apache-httpclient/","Apache-HttpClient","apache-httpclient","tool"],["jsoup","Jsoup","jsoup","tool"],["guzzlehttp","GuzzleHttp","guzzlehttp","tool"],["php/","PHP","php","tool"],["ruby/","Ruby","ruby","tool"],["faraday","Faraday","faraday","tool"],["mechanize","Mechanize","mechanize","tool"],["nutch","Apache Nutch","nutch","tool"],["grub-client","Grub","grub","tool"],["crawl4ai","Crawl4AI","crawl4ai","tool"],["deno/","Deno","deno","tool"],["headlesschrome","HeadlessChrome","headlesschrome","tool"],["puppeteer","Puppeteer","puppeteer","tool"],["playwright","Playwright","playwright","tool"],["selenium","Selenium","selenium","tool"],["phantomjs","PhantomJS","phantomjs","tool"],["splash","Splash","splash","tool"],["browserless","Browserless","browserless","tool"],["browserbase","Browserbase","browserbase","tool"],["bnf.fr_bot","BnF","bnf-bot","crawler"],["loc.gov/programs/web-archiving","Library of Congress","loc-web-archiving","crawler"],["ia_archiver","Internet Archive","ia-archiver","crawler"],["archive.org_bot","Archive.org","archive-org-bot","crawler"],["wayback","Wayback Machine","wayback","crawler"],["heritrix","Heritrix","heritrix","crawler"],["brozzler","Brozzler","brozzler","crawler"],["qcbot/","QUIC.cloud Bot","qcbot","crawler"],["akkoma ","Akkoma","akkoma","crawler"],["arenaunfurlbot","ArenaUnfurlBot","arenaunfurlbot","crawler"],["ezoicbot","EzoicBot","ezoicbot","crawler"],["curlshipbot","CurlShipBot","curlshipbot","crawler"],["criteobot","CriteoBot","criteobot","crawler"],["taboolabot","Taboolabot","taboolabot","crawler"],["opengraph.io","OpenGraph.io","opengraph-io","crawler"],["findfiles.net-linkchecker","FindFiles.net LinkChecker","findfiles-linkchecker","crawler"],["findfiles.net/","FindFiles.net","findfiles-bot","crawler"],["findfiles.net-faviconfetcher","FindFiles.net","findfiles-bot","crawler"],["hstspreload-bot","hstspreload-bot","hstspreload-bot","crawler"],["googlemessages","GoogleMessages","google-messages","crawler"],["facebookexternalhit","Facebook","facebookexternalhit","crawler"],["facebot","Facebot","facebot","crawler"],["twitterbot","Twitterbot","twitterbot","crawler"],["linkedinbot","LinkedInBot","linkedinbot","crawler"],["slackbot","Slackbot","slackbot","crawler"],["telegrambot","TelegramBot","telegrambot","crawler"],["whatsapp","WhatsApp","whatsapp","crawler"],["discordbot","Discordbot","discordbot","crawler"],["pinterest","Pinterest","pinterestbot","crawler"],["tumblr","Tumblr","tumblr","crawler"],["reddit","Reddit","reddit","crawler"],["embedly","Embedly","embedly","crawler"],["iframely","Iframely","iframely","crawler"],["adsbot-google","AdsBot-Google","adsbot-google","crawler"],["stripebot","Stripebot","stripebot","crawler"],["google-read-aloud","Google-Read-Aloud","google-read-aloud","crawler"],["google-safety","Google-Safety","google-safety","crawler"],["oai-adsbot","OAI-AdsBot","oai-adsbot","crawler"],["kakaobot","KakaoBot","kakaobot","crawler"],["meta-externalhit","Meta-ExternalHit","meta-externalhit","crawler"],["facebookcatalog/","facebookcatalog","facebookcatalog","crawler"],["slack-imgproxy","Slack-ImgProxy","slack-imgproxy","crawler"],["skypeuripreview","SkypeUriPreview","skypeuripreview","crawler"],["bingpreview/","BingPreview","bingpreview","crawler"],["microsoftpreview/","MicrosoftPreview","microsoftpreview","crawler"],["snap url preview service","Snap URL Preview","snap-url-preview","crawler"],["keybasebot","KeybaseBot","keybasebot","crawler"],["mastodon/","Mastodon","mastodon","crawler"],["summalybot","SummalyBot","summalybot","crawler"],["tiktokspider","TikTokSpider","tiktokspider","crawler"],["nextcloud-server-crawler","Nextcloud","nextcloud","crawler"],["nextcloud-news","Nextcloud","nextcloud","crawler"],["wordpress/","WordPress site","wordpress-site","crawler"],["google web preview","Google Web Preview","google-web-preview","crawler"],["google-pagerenderer","Google Web Preview","google-web-preview","crawler"],["google favicon","Google Favicon","google-favicon","crawler"],["googleimageproxy","GoogleImageProxy","googleimageproxy","crawler"],["google-cws","Google-CWS","google-cws","crawler"],["google-pinpoint","Google-Pinpoint","google-pinpoint","crawler"],["google-site-verification","Google-Site-Verification","google-site-verification","crawler"],["googleassociationservice","GoogleAssociationService","googleassociationservice","crawler"],["aasa-bot","AASA-Bot","aasa-bot","crawler"],["apis-google","APIs-Google","apis-google","crawler"],["duplexweb-google","DuplexWeb-Google","duplexweb-google","crawler"],["google-xrawler","google-xrawler","google-xrawler","crawler"],["google-physicalweb","Google-PhysicalWeb","google-physicalweb","crawler"],["mediapartners-google","Mediapartners-Google","mediapartners-google","crawler"],["google-adwords-instant","Google Ads fetchers","google-ads-landing","crawler"],["google-display-ads-bot","Google Ads fetchers","google-ads-landing","crawler"],["google-ads-conversions","Google Ads fetchers","google-ads-landing","crawler"],["amazonadbot","AmazonAdBot","amazonadbot","crawler"],["ias_crawler","IAS crawler","integral-ad-science","crawler"],["safednsbot","SafeDNSBot","safednsbot","crawler"],["curl/","cURL","curl","tool"],["wget/","Wget","wget","tool"],["libwww-perl","libwww-perl","libwww-perl","tool"],["lwp-","LWP","lwp","tool"],["httrack","HTTrack","httrack","tool"],["wellknownbot","WellknownBot","wellknownbot","crawler"],["sealkeeperbot","SealKeeperBot","sealkeeperbot","crawler"],["webdecoysitehealth","WebDecoySiteHealth","webdecoysitehealth","crawler"],["solvedearthlivenessbot","SolvedEarthLivenessBot","solvedearthlivenessbot","crawler"],["truetierbot","TrueTierBot","truetierbot","crawler"],["webdecoybot","WebDecoyBot","webdecoybot","crawler"],["uptimerobot","UptimeRobot","uptimerobot","crawler"],["pingdom","Pingdom","pingdom","crawler"],["statuscake","StatusCake","statuscake","crawler"],["betteruptime","Better Uptime","better-uptime","crawler"],["datadog","Datadog Synthetics","datadog-synthetics","crawler"],["newrelic","New Relic","newrelic","crawler"],["site24x7","Site24x7","site24x7","crawler"],["freshping","Freshping","freshping","crawler"],["hetrixtools","HetrixTools","hetrixtools","crawler"],["nodeping","NodePing","nodeping","crawler"],["gtmetrix","GTmetrix","gtmetrix","crawler"],["chrome-lighthouse","Lighthouse","chrome-lighthouse","crawler"],["google page speed","Lighthouse","chrome-lighthouse","crawler"],["google-structured-data-testing-tool","Google Structured Data Testing Tool","google-structured-data-testing-tool","crawler"],["google search console","Google Search Console","google-search-console","crawler"],["google-certificates-bridge","Google-Certificates-Bridge","google-certificates-bridge","crawler"],["googlestackdrivermonitoring","Google Cloud Monitoring","google-cloud-monitoring","crawler"],["appinsights","Azure Application Insights","azure-app-insights","crawler"],["amazon route 53 health check service","Route 53 Health Check","route53-health-check","crawler"],["ptst/","WebPageTest","webpagetest","crawler"],["2ip bot","2ip bot","2ip-bot","crawler"],["abevalbot","ABEvalBot","abevalbot","crawler"],["hanaleibot","HanaleiBot","hanaleibot","crawler"],["pomothy-bot","Pomothy-Bot","pomothy-bot","crawler"],["openbeatbot","OpenBeatBot","openbeatbot","crawler"],["andifeedbot","AndiFeedBot","andifeedbot","crawler"],["librarianbot","LibrarianBot","librarianbot","crawler"],["oursignal/","oursignal","oursignal","crawler"],["feedly","Feedly","feedly","crawler"],["livelapbot","LivelapBot","livelapbot","crawler"],["feedspot","Feedspot","feedspot","crawler"],["feedfetcher","Feedfetcher-Google","feedfetcher-google","crawler"],["newsblur","NewsBlur","newsblur","crawler"],["inoreader","Inoreader","inoreader","crawler"],["theoldreader","The Old Reader","theoldreader","crawler"],["feedbin","Feedbin","feedbin","crawler"],["miniflux","Miniflux","miniflux","crawler"],["freshrss","FreshRSS","freshrss","crawler"],["commafeed","CommaFeed","commafeed","crawler"],["googleproducer","GoogleProducer","google-producer","crawler"],["feeder.co","Feeder","feeder-co","crawler"],["rssbot/","RSSBot","rssbot","crawler"],["hatena","Hatena","hatena","crawler"],["newsai/","newsai","newsai","crawler"],["kaupr/","Kaupr","kaupr","crawler"],["stratadb-bot","StrataDB-Bot","stratadb-bot","crawler"],["quantcastbot","Quantcastbot","quantcastbot","crawler"],["chainofsalebot","chainofsalebot","chainofsalebot","crawler"],["stackscopebot","StackScopeBot","stackscopebot","crawler"],["ousanbot","OusanBot","ousanbot","crawler"],["techleadsbot","TechLeadsBot","techleadsbot","crawler"],["hiddentiesresearchbot","HiddenTiesResearchBot","hiddentiesresearchbot","crawler"],["trustedbypeople","TrustedByPeople.com Bot","trustedbypeoplebot","crawler"],["launchmicbot","LaunchMicBot","launchmicbot","crawler"],["uncoveredlistbot","UncoveredListBot","uncoveredlistbot","crawler"],["zoominfobot","ZoominfoBot","zoominfobot","crawler"],["solvedearthpricebot","SolvedEarthPriceBot","solvedearthpricebot","crawler"],["opensourcefinderbot","OpenSourceFinderBot","opensourcefinderbot","crawler"],["tphotobot","tphotobot","tphotobot","crawler"],["bangobot","BangoBot","bangobot","crawler"],["kamatabot","KamataBot","kamatabot","crawler"],["boehmbot","BoehmBot","boehmbot","crawler"],["pipericbot","PipericBot","pipericbot","crawler"],["pandalytics","Pandalytics","pandalytics","crawler"],["spiderling","SpiderLing","spiderling","crawler"],["sketchengine","SpiderLing","spiderling","crawler"],["netapi/","NetAPI Bot","netapi","crawler"],["anticlonebot","AntiCloneBot","anticlonebot","crawler"],["terncrawler","TernCrawler","terncrawler","crawler"],["diffbot","Diffbot","diffbot","crawler"],["import.io","Import.io","import-io","crawler"],["brightdata","Bright Data","bright-data","crawler"],["luminati","Bright Data","bright-data","crawler"],["brightbot","Brightbot","brightbot","crawler"],["cloudflarebrowserrenderingcrawler","Cloudflare Browser Rendering Crawler","cloudflare-crawl","crawler"],["ev-crawler","ev-crawler","ev-crawler","crawler"],["oxylabs","Oxylabs","oxylabs","crawler"],["scrapingbee","ScrapingBee","scrapingbee","crawler"],["scrapingant","ScrapingAnt","scrapingant","crawler"],["zyte","Zyte","zyte","crawler"],["scrapinghub","Zyte","zyte","crawler"],["apify","Apify","apify","crawler"],["crawlbase","Crawlbase","crawlbase","crawler"],["webscrapingapi","WebScrapingAPI","webscrapingapi","crawler"],["firecrawlagent","Firecrawl","firecrawl","crawler"],["crawlspace","Crawlspace","crawlspace","crawler"],["imagesiftbot","ImagesiftBot","imagesiftbot","crawler"],["dataprovider.com","Dataprovider.com","dataprovider","crawler"],["mixrankbot","MixrankBot","mixrankbot","crawler"],["domaincrawler","DomainCrawler","domaincrawler","crawler"],["linkfluence","Linkfluence","linkfluence","crawler"],["ubermetrics-technologies.com","Ubermetrics","ubermetrics","crawler"],["um-ln/","Ubermetrics","ubermetrics","crawler"],["mediatoolkitbot","Mediatoolkitbot","mediatoolkitbot","crawler"],["collection@infegy.com","Infegy","infegy","crawler"],["storygizebot","StorygizeBot","storygizebot","crawler"],["aihitbot","aiHitBot","aihitbot","crawler"],["turnitin","TurnitinBot","turnitinbot","crawler"],["primalbot","Primalbot","primalbot","crawler"],["gluten free crawler","Gluten Free Crawler","gluten-free-crawler","crawler"],["linkup-user","Linkup-User","linkup-user","crawler"],["harkbot","HarkBot","harkbot","crawler"],["andi-user","Andi-User","andi-user","crawler"],["chatgpt-user","ChatGPT-User","chatgpt-user","crawler"],["perplexity-user","Perplexity-User","perplexity-user","crawler"],["mistralai-user","MistralAI-User","mistralai-user","crawler"],["exauser","ExaUser","exauser","crawler"],["shap-user","Shap-User","shap-user","crawler"],["meta-externalfetcher","Meta-ExternalFetcher","meta-externalfetcher","crawler"],["gemini-deep-research","Gemini-Deep-Research","gemini-deep-research","crawler"],["copilot","Microsoft Copilot","copilot","crawler"],["cortana","Cortana","cortana","crawler"],["siri","Siri","siri","crawler"],["kimi-user","Kimi-User","kimi-user","crawler"],["keenable-user","Keenable-User","keenable-user","crawler"],["elevenlabsbot","ElevenlabsBot","elevenlabsbot","crawler"],["klaviyoaibot","KlaviyoAIBot","klaviyoaibot","crawler"],["google-notebooklm","Google-NotebookLM","google-notebooklm","crawler"],["google-gemininotebook","Google-NotebookLM","google-notebooklm","crawler"]];function kt(e){for(let[r,t,o,a]of Qe)if(e.includes(r))return{name:t,id:o,kind:a};return null}var xt=/(?:bot|crawler|spider)(?:[/\s);,]|$)/i;function Ze(e){let r=e.toLowerCase(),t=kt(r);return t?.kind==="crawler"||!t&&xt.test(e)}var _t="Search Engine Crawler",te=1e3,At={search_engines:!0,ai_crawlers:!0,monitoring:!0};function St(e){if(!e.includes(":"))return e.split(".").reverse().join(".")+".in-addr.arpa";let[r,t=""]=e.split("::"),o=r?r.split(":"):[],a=t?t.split(":"):[],n=8-o.length-a.length;return n<0?"":[...o,...Array(Math.max(0,n)).fill("0"),...a].map(s=>s.padStart(4,"0")).join("").split("").reverse().join(".")+".ip6.arpa"}function oe(e,r){return Promise.race([e,new Promise((t,o)=>setTimeout(()=>o(new Error("dns timeout")),r))])}function Ct(e){return{reverse:r=>oe(e(St(r),"PTR"),te),resolve4:r=>oe(e(r,"A"),te),resolve6:r=>oe(e(r,"AAAA"),te)}}function er(e,r,t,o=typeof Deno<"u"&&Deno&&typeof Deno.resolveDns=="function"?Deno.resolveDns.bind(Deno):void 0,a=Date.now()){return!t||!e||!o||!Ze(r)?Promise.resolve(""):Xe(e,At,Ct(o),a).then(n=>n==="search_engines"?_t:"").catch(()=>"")}var Bt="https://cloudflare-dns.com/dns-query",Rt=1e3,Pt={A:1,PTR:12,AAAA:28};function Et(e=fetch){return async(r,t)=>{let o=Pt[t];if(!o)throw new Error(`unsupported record type ${t}`);let a=`${Bt}?name=${encodeURIComponent(r)}&type=${t}`,n=await e(a,{headers:{accept:"application/dns-json"},signal:AbortSignal.timeout(Rt)});if(!n.ok)throw new Error(`doh ${n.status}`);let i=await n.json();if(i.Status!==0)throw new Error(`dns status ${i.Status}`);let s=(i.Answer??[]).filter(c=>c.type===o&&typeof c.data=="string").map(c=>c.data);if(s.length===0)throw new Error("no records");return s}}function rr(e,r,t,o=fetch){return er(e,r,t,Et(o))}var ae="vercel-095953509345";var tr="https://in.webdecoy.com";function or(e){let r=new Headers(e.headers);return r.delete(z),r.delete(ze),r}function ne(e,r){let t=or(e);return r&&t.set(z,r),{action:"continue",headers:t,verdict:r}}async function Tt(e,r,t){try{let o=(t.ingest??"").trim().replace(/\/+$/,"")||tr,a=new URL(e.url),n=a.searchParams.get(Ge),i=G(a.hostname),s=await $e({apiBase:o,siteKey:t.siteKey},i);if(n!==null)return{action:"respond",response:Ve(n,s?s.mode:"unknown",t.siteKey,K)};if(a.pathname===ee)return{action:"respond",response:await We(e,o)};if(a.pathname===U)return{action:"respond",response:await De(e,{apiBase:o,siteKey:t.siteKey,sensorKey:t.sensorKey,host:i})};if(!s)return ne(e,null);let c=await Ce(e,s,{siteKey:t.siteKey,verifiedBotCategory:(g,l)=>rr(r.ip,g.headers.get("user-agent")??"",l,r.fetch??fetch)});if(q(c)){let g=Y(e.headers.get("cookie")??"",J);g&&await Me(g,t.sensorKey,i,e.headers.get("user-agent")??"",Date.now())&&(c=Be(c))}return Je({...c,refusal:c.pass?null:{ip:r.ip,path:a.pathname}},a.hostname,{siteKey:t.siteKey,apiBase:o,scannerId:t.scannerId,sensorKey:t.sensorKey,bundleVersion:ae,capabilities:K},{waitUntil:g=>r.waitUntil?.(g)},Date.now()),c.pass||c.mode!=="enforce"?ne(e,c.label):{action:"respond",response:Fe(e,o,t.siteKey,c.label)}}catch{try{return ne(e,null)}catch{return{action:"continue",headers:null,verdict:null}}}}export{ae as BUILD,tr as DEFAULT_INGEST,K as VERCEL_VALIDATOR_CAPABILITIES,or as cleanHeaders,Tt as runGate};