@webdecoy/node 0.22.1 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,10 @@ var BOT_REGISTRY = [
44
44
  { id: "velenpublicwebcrawler", name: "VelenPublicWebCrawler", category: "training_crawler", organization: "Velen", baseScore: 70, respectsRobots: false, uaPatterns: ["velenpublicwebcrawler"] },
45
45
  { id: "isscyberriskcrawler", name: "ISSCyberRiskCrawler", category: "training_crawler", organization: "ISS", baseScore: 65, respectsRobots: false, uaPatterns: ["isscyberriskcrawler"] },
46
46
  { id: "friendlycrawler", name: "FriendlyCrawler", category: "training_crawler", organization: "Unknown", baseScore: 65, respectsRobots: true, uaPatterns: ["friendlycrawler"] },
47
+ { id: "elevenlabscrawler", name: "ElevenlabsCrawler", category: "training_crawler", organization: "ElevenLabs", baseScore: 80, respectsRobots: true, uaPatterns: ["elevenlabscrawler"] },
48
+ { id: "kimibot", name: "KimiBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: true, uaPatterns: ["kimibot"] },
49
+ { id: "moonshotbot", name: "MoonshotBot", category: "training_crawler", organization: "Moonshot AI", baseScore: 80, respectsRobots: false, uaPatterns: ["moonshotbot"] },
50
+ { id: "chatglm-spider", name: "ChatGLM-Spider", category: "training_crawler", organization: "Zhipu AI", baseScore: 80, respectsRobots: false, uaPatterns: ["chatglm-spider"] },
47
51
  { id: "duckassistbot", name: "DuckAssistBot", category: "ai_search_crawler", organization: "DuckDuckGo", baseScore: 65, respectsRobots: true, uaPatterns: ["duckassistbot"] },
48
52
  { id: "sofyabot", name: "SofyaBot", category: "ai_search_crawler", organization: "Sofya", baseScore: 65, respectsRobots: true, uaPatterns: ["sofyabot"] },
49
53
  { id: "xai-searchbot", name: "xAI-SearchBot", category: "ai_search_crawler", organization: "xAI", baseScore: 70, respectsRobots: true, uaPatterns: ["xai-searchbot"] },
@@ -61,6 +65,10 @@ var BOT_REGISTRY = [
61
65
  { id: "tavily", name: "Tavily", category: "ai_search_crawler", organization: "Tavily", baseScore: 70, respectsRobots: true, uaPatterns: ["tavily"] },
62
66
  { id: "brave-search", name: "BraveSearch", category: "ai_search_crawler", organization: "Brave", baseScore: 65, respectsRobots: true, uaPatterns: ["bravesearch"] },
63
67
  { id: "neeva", name: "NeevaBot", category: "ai_search_crawler", organization: "Neeva", baseScore: 65, respectsRobots: true, uaPatterns: ["neevabot"] },
68
+ { id: "kimi-searchbot", name: "Kimi-SearchBot", category: "ai_search_crawler", organization: "Moonshot AI", baseScore: 65, respectsRobots: true, uaPatterns: ["kimi-searchbot"] },
69
+ { id: "keenablebot", name: "KeenableBot", category: "ai_search_crawler", organization: "Keenable", baseScore: 65, respectsRobots: true, uaPatterns: ["keenablebot"] },
70
+ { id: "azureai-searchbot", name: "AzureAI-SearchBot", category: "ai_search_crawler", organization: "Microsoft", baseScore: 65, respectsRobots: false, uaPatterns: ["azureai-searchbot"] },
71
+ { id: "grokbot", name: "GrokBot", category: "ai_search_crawler", organization: "xAI", baseScore: 70, respectsRobots: false, uaPatterns: ["grokbot"] },
64
72
  { id: "operator", name: "Operator", category: "ai_agent", organization: "OpenAI", baseScore: 75, respectsRobots: true, uaPatterns: ["operator"] },
65
73
  { id: "claude-user", name: "Claude-User", category: "ai_agent", organization: "Anthropic", baseScore: 75, respectsRobots: true, uaPatterns: ["claude-user"] },
66
74
  { id: "gemini-user", name: "Gemini-User", category: "ai_agent", organization: "Google", baseScore: 75, respectsRobots: true, uaPatterns: ["gemini-user"] },
@@ -70,7 +78,8 @@ var BOT_REGISTRY = [
70
78
  { id: "stagehand", name: "Stagehand", category: "ai_agent", organization: "Browserbase", baseScore: 70, respectsRobots: false, uaPatterns: ["stagehand"] },
71
79
  { id: "manus-user", name: "Manus-User", category: "ai_agent", organization: "Manus", baseScore: 70, respectsRobots: false, uaPatterns: ["manus-user"] },
72
80
  { id: "multion", name: "MultiOn", category: "ai_agent", organization: "MultiOn", baseScore: 70, respectsRobots: false, uaPatterns: ["multion"] },
73
- { id: "iboubot", name: "IbouBot", category: "search_crawler", organization: "Ibou", baseScore: 30, respectsRobots: true, uaPatterns: ["iboubot"] },
81
+ { id: "opencode-user", name: "OpenCode-User", category: "ai_agent", organization: "OpenCode", baseScore: 75, respectsRobots: false, uaPatterns: ["opencode-user"] },
82
+ { id: "iboubot", name: "IbouBot", category: "search_crawler", organization: "Ibou", baseScore: 30, respectsRobots: true, uaPatterns: ["iboubot", "ibou-search"] },
74
83
  { id: "googlebot", name: "Googlebot", category: "search_crawler", organization: "Google", baseScore: 30, respectsRobots: true, uaPatterns: ["googlebot"] },
75
84
  { id: "google-inspectiontool", name: "Google-InspectionTool", category: "search_crawler", organization: "Google", baseScore: 30, respectsRobots: true, uaPatterns: ["google-inspectiontool"] },
76
85
  { id: "bingbot", name: "Bingbot", category: "search_crawler", organization: "Microsoft", baseScore: 30, respectsRobots: true, uaPatterns: ["bingbot"] },
@@ -81,12 +90,16 @@ var BOT_REGISTRY = [
81
90
  { id: "duckduckbot", name: "DuckDuckBot", category: "search_crawler", organization: "DuckDuckGo", baseScore: 30, respectsRobots: true, uaPatterns: ["duckduckbot"] },
82
91
  { id: "applebot", name: "Applebot", category: "search_crawler", organization: "Apple", baseScore: 30, respectsRobots: true, uaPatterns: ["applebot"] },
83
92
  { id: "sogou", name: "Sogou Spider", category: "search_crawler", organization: "Sogou", baseScore: 40, respectsRobots: true, uaPatterns: ["sogou"] },
84
- { id: "qwantify", name: "Qwantify", category: "search_crawler", organization: "Qwant", baseScore: 35, respectsRobots: true, uaPatterns: ["qwantify"] },
93
+ { id: "qwantify", name: "Qwantify", category: "search_crawler", organization: "Qwant", baseScore: 35, respectsRobots: true, uaPatterns: ["qwantify", "qwantbot"] },
85
94
  { id: "naver", name: "Naver", category: "search_crawler", organization: "Naver", baseScore: 35, respectsRobots: true, uaPatterns: ["naver", "yeti"] },
86
95
  { id: "seznam", name: "SeznamBot", category: "search_crawler", organization: "Seznam", baseScore: 35, respectsRobots: true, uaPatterns: ["seznambot"] },
87
96
  { id: "ecosia", name: "Ecosia", category: "search_crawler", organization: "Ecosia", baseScore: 30, respectsRobots: true, uaPatterns: ["ecosia"] },
88
97
  { id: "mojeek", name: "MojeekBot", category: "search_crawler", organization: "Mojeek", baseScore: 35, respectsRobots: true, uaPatterns: ["mojeekbot"] },
89
98
  { id: "yahoo-slurp", name: "Yahoo! Slurp", category: "search_crawler", organization: "Yahoo", baseScore: 30, respectsRobots: true, uaPatterns: ["slurp"] },
99
+ { id: "bravebot", name: "Bravebot", category: "search_crawler", organization: "Brave", baseScore: 30, respectsRobots: true, uaPatterns: ["bravebot"] },
100
+ { id: "coccocbot", name: "Coc Coc", category: "search_crawler", organization: "Coc Coc", baseScore: 35, respectsRobots: true, uaPatterns: ["coccocbot"] },
101
+ { id: "yisouspider", name: "YisouSpider", category: "search_crawler", organization: "Alibaba", baseScore: 40, respectsRobots: true, uaPatterns: ["yisouspider"] },
102
+ { id: "yepbot", name: "YepBot", category: "search_crawler", organization: "Ahrefs", baseScore: 30, respectsRobots: true, uaPatterns: ["yepbot"] },
90
103
  { id: "ahrefsbot", name: "AhrefsBot", category: "seo_crawler", organization: "Ahrefs", baseScore: 50, respectsRobots: true, uaPatterns: ["ahrefsbot", "ahrefs"] },
91
104
  { id: "semrushbot", name: "SemrushBot", category: "seo_crawler", organization: "Semrush", baseScore: 50, respectsRobots: true, uaPatterns: ["semrushbot", "semrush"] },
92
105
  { id: "mj12bot", name: "MJ12bot", category: "seo_crawler", organization: "Majestic", baseScore: 50, respectsRobots: true, uaPatterns: ["mj12bot"] },
@@ -101,6 +114,13 @@ var BOT_REGISTRY = [
101
114
  { id: "sistrix", name: "SISTRIX", category: "seo_crawler", organization: "SISTRIX", baseScore: 50, respectsRobots: true, uaPatterns: ["sistrix"] },
102
115
  { id: "serpstat", name: "Serpstat", category: "seo_crawler", organization: "Serpstat", baseScore: 50, respectsRobots: true, uaPatterns: ["serpstat"] },
103
116
  { id: "spyfu", name: "SpyFu", category: "seo_crawler", organization: "SpyFu", baseScore: 50, respectsRobots: true, uaPatterns: ["spyfu"] },
117
+ { id: "meta-externalads", name: "meta-externalads", category: "seo_crawler", organization: "Meta", baseScore: 40, respectsRobots: true, uaPatterns: ["meta-externalads"] },
118
+ { id: "dataforseobot", name: "DataForSeoBot", category: "seo_crawler", organization: "DataForSEO", baseScore: 50, respectsRobots: true, uaPatterns: ["dataforseobot"] },
119
+ { id: "serankingbacklinksbot", name: "SERankingBacklinksBot", category: "seo_crawler", organization: "SE Ranking", baseScore: 50, respectsRobots: true, uaPatterns: ["serankingbacklinksbot"] },
120
+ { id: "awariobot", name: "AwarioBot", category: "seo_crawler", organization: "Awario", baseScore: 50, respectsRobots: true, uaPatterns: ["awariobot", "awariosmartbot"] },
121
+ { id: "seojuice-searchbot", name: "SEOJuice-SearchBot", category: "seo_crawler", organization: "SEOJuice", baseScore: 50, respectsRobots: true, uaPatterns: ["seojuice-searchbot"] },
122
+ { id: "trendictionbot", name: "trendictionbot", category: "seo_crawler", organization: "Talkwalker", baseScore: 50, respectsRobots: true, uaPatterns: ["trendictionbot"] },
123
+ { id: "hubspot-crawler", name: "HubSpot Crawler", category: "seo_crawler", organization: "HubSpot", baseScore: 45, respectsRobots: true, uaPatterns: ["hubspot crawler"] },
104
124
  { id: "nessus", name: "Nessus", category: "security_scanner", organization: "Tenable", baseScore: 70, respectsRobots: false, uaPatterns: ["nessus"] },
105
125
  { id: "qualys", name: "Qualys", category: "security_scanner", organization: "Qualys", baseScore: 70, respectsRobots: false, uaPatterns: ["qualys"] },
106
126
  { id: "shodan", name: "Shodan", category: "security_scanner", organization: "Shodan", baseScore: 75, respectsRobots: false, uaPatterns: ["shodan"] },
@@ -162,6 +182,11 @@ var BOT_REGISTRY = [
162
182
  { id: "reddit", name: "Reddit", category: "fetcher", organization: "Reddit", baseScore: 30, respectsRobots: true, uaPatterns: ["reddit"] },
163
183
  { id: "embedly", name: "Embedly", category: "fetcher", organization: "Medium", baseScore: 30, respectsRobots: true, uaPatterns: ["embedly"] },
164
184
  { id: "iframely", name: "Iframely", category: "fetcher", organization: "Iframely", baseScore: 30, respectsRobots: true, uaPatterns: ["iframely"] },
185
+ { id: "adsbot-google", name: "AdsBot-Google", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: true, uaPatterns: ["adsbot-google"] },
186
+ { id: "google-read-aloud", name: "Google-Read-Aloud", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-read-aloud"] },
187
+ { id: "google-safety", name: "Google-Safety", category: "fetcher", organization: "Google", baseScore: 25, respectsRobots: false, uaPatterns: ["google-safety"] },
188
+ { id: "oai-adsbot", name: "OAI-AdsBot", category: "fetcher", organization: "OpenAI", baseScore: 30, respectsRobots: true, uaPatterns: ["oai-adsbot"] },
189
+ { id: "kakaobot", name: "KakaoBot", category: "fetcher", organization: "Kakao", baseScore: 25, respectsRobots: true, uaPatterns: ["kakaobot"] },
165
190
  { id: "curl", name: "cURL", category: "fetcher", organization: "Open Source", baseScore: 45, respectsRobots: false, uaPatterns: ["curl/"] },
166
191
  { id: "wget", name: "Wget", category: "fetcher", organization: "GNU", baseScore: 45, respectsRobots: false, uaPatterns: ["wget/"] },
167
192
  { id: "libwww-perl", name: "libwww-perl", category: "fetcher", organization: "Perl", baseScore: 50, respectsRobots: false, uaPatterns: ["libwww-perl"] },
@@ -208,7 +233,11 @@ var BOT_REGISTRY = [
208
233
  { id: "gemini-deep-research", name: "Gemini-Deep-Research", category: "ai_assistant", organization: "Google", baseScore: 65, respectsRobots: true, uaPatterns: ["gemini-deep-research"] },
209
234
  { id: "copilot", name: "Microsoft Copilot", category: "ai_assistant", organization: "Microsoft", baseScore: 65, respectsRobots: true, uaPatterns: ["copilot"] },
210
235
  { id: "cortana", name: "Cortana", category: "ai_assistant", organization: "Microsoft", baseScore: 60, respectsRobots: true, uaPatterns: ["cortana"] },
211
- { id: "siri", name: "Siri", category: "ai_assistant", organization: "Apple", baseScore: 60, respectsRobots: true, uaPatterns: ["siri"] }
236
+ { id: "siri", name: "Siri", category: "ai_assistant", organization: "Apple", baseScore: 60, respectsRobots: true, uaPatterns: ["siri"] },
237
+ { id: "kimi-user", name: "Kimi-User", category: "ai_assistant", organization: "Moonshot AI", baseScore: 70, respectsRobots: true, uaPatterns: ["kimi-user"] },
238
+ { id: "keenable-user", name: "Keenable-User", category: "ai_assistant", organization: "Keenable", baseScore: 70, respectsRobots: true, uaPatterns: ["keenable-user"] },
239
+ { id: "elevenlabsbot", name: "ElevenlabsBot", category: "ai_assistant", organization: "ElevenLabs", baseScore: 70, respectsRobots: true, uaPatterns: ["elevenlabsbot"] },
240
+ { id: "klaviyoaibot", name: "KlaviyoAIBot", category: "ai_assistant", organization: "Klaviyo", baseScore: 60, respectsRobots: true, uaPatterns: ["klaviyoaibot"] }
212
241
  ];
213
242
 
214
243
  // src/bots/index.ts
@@ -4,7 +4,7 @@ import {
4
4
  isInjectableHtml,
5
5
  siteHoneytoken,
6
6
  tripwire
7
- } from "./chunk-OAPCW4BA.mjs";
7
+ } from "./chunk-F2T5V6NK.mjs";
8
8
 
9
9
  // src/client-ip.ts
10
10
  var IPV4 = /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/;
@@ -154,13 +154,13 @@ function resolveClientIp(options) {
154
154
  }
155
155
 
156
156
  // src/clearance/gate.generated.js
157
- var k = { "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" };
157
+ var C = { "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" };
158
158
  var rt = ["utm_source", "ref", "utm_medium"];
159
159
  var ae = 500;
160
160
  function nt(e, t) {
161
161
  let r = (e ?? "").trim();
162
162
  if (r) try {
163
- return k[new URL(r).hostname.toLowerCase()] ?? "";
163
+ return C[new URL(r).hostname.toLowerCase()] ?? "";
164
164
  } catch {
165
165
  return "";
166
166
  }
@@ -185,9 +185,9 @@ function ot(e) {
185
185
  n && (t = n.toLowerCase());
186
186
  } catch {
187
187
  }
188
- if (t = t.replace(/\.$/, ""), k[t]) return k[t];
188
+ if (t = t.replace(/\.$/, ""), C[t]) return C[t];
189
189
  let r = ie(t);
190
- for (let [n, o] of Object.entries(k)) if (r === ie(o.toLowerCase()) || r === n.replace(/^www\./, "").replace(/\./g, "")) return o;
190
+ for (let [n, o] of Object.entries(C)) if (r === ie(o.toLowerCase()) || r === n.replace(/^www\./, "").replace(/\./g, "")) return o;
191
191
  return "";
192
192
  }
193
193
  function se(e, t) {
@@ -531,12 +531,12 @@ function O(e) {
531
531
  function be(e, t, r) {
532
532
  let n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set(), a = [], i = [], s = /* @__PURE__ */ new Map(), c = (u, f) => {
533
533
  let v = new Set(u);
534
- for (let C of f) for (let _ of s.get(C) ?? []) v.add(_);
534
+ for (let S of f) for (let _ of s.get(S) ?? []) v.add(_);
535
535
  return v.size === 0 ? void 0 : [...v].sort();
536
536
  }, p = (u, f, v) => v ? { pattern: u, required_trust: f, refused_behaviors: v } : { pattern: u, required_trust: f };
537
537
  for (let u of t) {
538
538
  if (!I(e, u.pattern)) continue;
539
- if ((u.exceptions ?? []).some((C) => I(e, C))) {
539
+ if ((u.exceptions ?? []).some((S) => I(e, S))) {
540
540
  i.push(u.pattern);
541
541
  continue;
542
542
  }
@@ -544,7 +544,7 @@ function be(e, t, r) {
544
544
  f === void 0 && a.push(u.pattern);
545
545
  let v = wt(u.min_trust);
546
546
  (f === void 0 || v > f) && n.set(u.pattern, v), u.mode !== "monitor" && o.add(u.pattern);
547
- for (let C of u.refuse_behaviors ?? []) s.has(u.pattern) || s.set(u.pattern, /* @__PURE__ */ new Set()), s.get(u.pattern)?.add(C);
547
+ for (let S of u.refuse_behaviors ?? []) s.has(u.pattern) || s.set(u.pattern, /* @__PURE__ */ new Set()), s.get(u.pattern)?.add(S);
548
548
  }
549
549
  let l = [];
550
550
  if (a.length === 0) {
@@ -582,12 +582,12 @@ function ye(e, t) {
582
582
  let r = At[e];
583
583
  return r ? r.every((n) => F(n, t)) : false;
584
584
  }
585
- var Rt = I;
585
+ var kt = I;
586
586
  function ve(e, t, r) {
587
- return e ? t ? t.some((n) => Rt(r, n)) : true : false;
587
+ return e ? t ? t.some((n) => kt(r, n)) : true : false;
588
588
  }
589
- var Ct = "x-wd-service-token";
590
- var St = "wd_clearance";
589
+ var St = "x-wd-service-token";
590
+ var Rt = "wd_clearance";
591
591
  function _e(e, t, r = []) {
592
592
  if (e.graded && t && !Ot(e.graded.trust, t)) return { pass: false, label: "insufficient-trust" };
593
593
  if (e.crawler && r.length > 0) {
@@ -596,23 +596,23 @@ function _e(e, t, r = []) {
596
596
  }
597
597
  return { pass: e.pass, label: e.label };
598
598
  }
599
- async function Ce(e, t, r) {
600
- let n = new URL(e.url).pathname, o = be(n, Tt(t), t.mode), a = o.deciding_mode || t.mode, i = await kt(e, t, r, o.covering.length > 0, o.excepted_by !== ""), s = i.behavior ?? "", c = _e(i, o.required_trust, o.refused_behaviors), p = c.label === "excepted" ? o.excepted_by : c.label === "unscoped" ? "" : o.attributed, l = !c.pass && a === "enforce", h = o.previews.map((d) => {
599
+ async function Se(e, t, r) {
600
+ let n = new URL(e.url).pathname, o = be(n, Tt(t), t.mode), a = o.deciding_mode || t.mode, i = await Ct(e, t, r, o.covering.length > 0, o.excepted_by !== ""), s = i.behavior ?? "", c = _e(i, o.required_trust, o.refused_behaviors), p = c.label === "excepted" ? o.excepted_by : c.label === "unscoped" ? "" : o.attributed, l = !c.pass && a === "enforce", h = o.previews.map((d) => {
601
601
  let w = _e(i, d.required_trust, d.refused_behaviors ?? []);
602
602
  return { pattern: d.pattern, refused: !w.pass && !l ? w.label : "" };
603
603
  });
604
604
  return { pass: c.pass, label: c.label, pattern: p, mode: a, previews: h, behavior: c.pass ? s : "", crawlerBehavior: i.crawler?.behavior ?? "", referral: se(e, new URL(e.url)), outsideReach: i.outsideReach ?? "" };
605
605
  }
606
- async function kt(e, t, r, n, o) {
606
+ async function Ct(e, t, r, n, o) {
607
607
  let a = await Et(e, t, r);
608
608
  if (a.grants) return { pass: true, label: "machine" };
609
609
  let i = await Pt(e, t, r, n, o);
610
610
  return a.outsideReach ? { ...i, outsideReach: a.outsideReach } : i;
611
611
  }
612
612
  async function Et(e, t, r) {
613
- let n = e.headers.get(Ct);
613
+ let n = e.headers.get(St);
614
614
  if (!n) return { grants: false, outsideReach: "" };
615
- let o = await ke(n, t.keys, r.siteKey);
615
+ let o = await Ce(n, t.keys, r.siteKey);
616
616
  if (!o || o.typ !== "machine" || !o.sub) return { grants: false, outsideReach: "" };
617
617
  if (t.active_credentials.includes(o.sub)) return { grants: true, outsideReach: "" };
618
618
  let a = (t.restricted_credentials ?? []).find((s) => s && s.id === o.sub);
@@ -630,9 +630,9 @@ async function Pt(e, t, r, n, o) {
630
630
  if (s.status === "verified" && Dt(s.category, t)) return { pass: true, label: "signed-agent", behavior: Ae(s.category), crawler: { behavior: Ae(s.category), exempted: true } };
631
631
  if (s.status === "invalid" && n) return { pass: false, label: "agent-impersonation", crawler: i };
632
632
  if (!n) return o ? { pass: true, label: "excepted", crawler: i } : { pass: true, label: "unscoped", crawler: i };
633
- let c = q(e.headers.get("cookie") ?? "", St);
633
+ let c = q(e.headers.get("cookie") ?? "", Rt);
634
634
  if (!c) return { pass: false, label: "missing", crawler: i };
635
- let p = await ke(c, t.keys, r.siteKey);
635
+ let p = await Ce(c, t.keys, r.siteKey);
636
636
  return !p || (p.typ ?? "") !== "" ? { pass: false, label: "invalid", crawler: i } : t.denied_fps && t.denied_fps.includes(p.fp) ? { pass: false, label: "revoked", crawler: i } : { pass: true, label: "valid", graded: { trust: p.trust }, crawler: i };
637
637
  }
638
638
  function Tt(e) {
@@ -669,7 +669,7 @@ function Mt(e, t) {
669
669
  function j(e) {
670
670
  return !e.pass && e.mode === "enforce" && (e.label === "missing" || e.label === "invalid");
671
671
  }
672
- function Se(e) {
672
+ function Re(e) {
673
673
  return j(e) ? { ...e, pass: true, label: "outage-pass" } : e;
674
674
  }
675
675
  function q(e, t) {
@@ -679,11 +679,11 @@ function q(e, t) {
679
679
  }
680
680
  return null;
681
681
  }
682
- async function ke(e, t, r) {
682
+ async function Ce(e, t, r) {
683
683
  try {
684
684
  let n = e.indexOf(".");
685
685
  if (n < 0) return null;
686
- let o = Re(e.slice(0, n)), a = Re(e.slice(n + 1)), i = JSON.parse(new TextDecoder().decode(o)), s = t.find((l) => l.kid === i.kid);
686
+ let o = ke(e.slice(0, n)), a = ke(e.slice(n + 1)), i = JSON.parse(new TextDecoder().decode(o)), s = t.find((l) => l.kid === i.kid);
687
687
  if (!s) return null;
688
688
  let c = await crypto.subtle.importKey("raw", Lt(s.public_key), { name: "Ed25519" }, false, ["verify"]);
689
689
  return !await crypto.subtle.verify({ name: "Ed25519" }, c, a, o) || i.tenant !== r || Date.now() / 1e3 >= i.exp ? null : i;
@@ -691,7 +691,7 @@ async function ke(e, t, r) {
691
691
  return null;
692
692
  }
693
693
  }
694
- function Re(e) {
694
+ function ke(e) {
695
695
  let t = e.replace(/-/g, "+").replace(/_/g, "/") + "=".repeat((4 - e.length % 4) % 4);
696
696
  return Ee(atob(t));
697
697
  }
@@ -747,7 +747,7 @@ async function Be(e) {
747
747
  function Oe(e, t, r) {
748
748
  return `${Ut}|${e}|${t}|${r}`;
749
749
  }
750
- async function $t(e, t, r, n) {
750
+ async function Kt(e, t, r, n) {
751
751
  let o = Math.floor(n / 1e3) + 300;
752
752
  return `${o}.${await Te(e, Oe(t, o, await Be(r)))}`;
753
753
  }
@@ -768,7 +768,7 @@ async function De(e, t, r = Date.now(), n = fetch) {
768
768
  if (e.method !== "POST") return o(405, { pass: false });
769
769
  if (!t.sensorKey) return o(503, { pass: false, reason: "unsupported" });
770
770
  if (await Nt(t.apiBase, t.siteKey, r, n)) return o(409, { pass: false, reason: "mint_available" });
771
- let a = await $t(t.sensorKey, t.host, e.headers.get("user-agent") ?? "", r);
771
+ let a = await Kt(t.sensorKey, t.host, e.headers.get("user-agent") ?? "", r);
772
772
  return o(200, { pass: true, expires_in: 300 }, { "set-cookie": `${J}=${a}; Path=/; Secure; SameSite=Lax; HttpOnly; Max-Age=300` });
773
773
  }
774
774
  var Gt = "wdfp1";
@@ -828,7 +828,7 @@ function Le(e) {
828
828
  let t = Y(e);
829
829
  return { "cache-control": "no-store", "x-wd-clearance": "challenged", "x-wd-challenge": String(t.version), "x-wd-challenge-reason": t.reason, "x-wd-challenge-recoverable": String(t.recoverable) };
830
830
  }
831
- var Kt = 6e4;
831
+ var $t = 6e4;
832
832
  var U = "x-wd-clearance";
833
833
  var Ue = "x-wd-class";
834
834
  var Ne = "__wd_clearance_check";
@@ -840,7 +840,7 @@ var zt = 3e5;
840
840
  var Z = /* @__PURE__ */ new Map();
841
841
  var X = /* @__PURE__ */ new Map();
842
842
  var Wt = 86400;
843
- function $e(e, t) {
843
+ function Ke(e, t) {
844
844
  return `https://wd-config.invalid/${encodeURIComponent(e)}/${encodeURIComponent(t)}`;
845
845
  }
846
846
  function Ge() {
@@ -850,11 +850,11 @@ function Ge() {
850
850
  return null;
851
851
  }
852
852
  }
853
- async function Ke(e, t) {
853
+ async function $e(e, t) {
854
854
  let r = Ge();
855
855
  if (!r) return null;
856
856
  try {
857
- let n = await r.match($e(e, t));
857
+ let n = await r.match(Ke(e, t));
858
858
  return n ? await n.json() : null;
859
859
  } catch {
860
860
  return null;
@@ -863,7 +863,7 @@ async function Ke(e, t) {
863
863
  async function Ft(e, t, r) {
864
864
  let n = Ge();
865
865
  if (n) try {
866
- await n.put($e(e, t), new Response(JSON.stringify(r), { headers: { "content-type": "application/json", "cache-control": `max-age=${Wt}` } }));
866
+ await n.put(Ke(e, t), new Response(JSON.stringify(r), { headers: { "content-type": "application/json", "cache-control": `max-age=${Wt}` } }));
867
867
  } catch {
868
868
  }
869
869
  }
@@ -873,9 +873,9 @@ function jt(e) {
873
873
  }
874
874
  async function He(e, t) {
875
875
  let r = Date.now(), n = t, o = P.get(n);
876
- if (o && r - o.at < Kt) return o.config;
876
+ if (o && r - o.at < $t) return o.config;
877
877
  let a = Z.get(n);
878
- if (a !== void 0 && r < a) return o?.config ?? await Ke(e.siteKey, t);
878
+ if (a !== void 0 && r < a) return o?.config ?? await $e(e.siteKey, t);
879
879
  let i = X.get(n);
880
880
  if (i) return o?.config ?? i;
881
881
  let s = qt(e, t, n, r, o?.config ?? null);
@@ -900,7 +900,7 @@ async function qt(e, t, r, n, o) {
900
900
  }
901
901
  } catch {
902
902
  }
903
- return Z.set(r, n + jt(a)), o ?? await Ke(e.siteKey, t);
903
+ return Z.set(r, n + jt(a)), o ?? await $e(e.siteKey, t);
904
904
  }
905
905
  function Ve(e, t, r, n) {
906
906
  return new Response(JSON.stringify({ wd_clearance: true, nonce: e, mode: t, site_key: r, capabilities: n }), { status: 200, headers: { "content-type": "application/json", "cache-control": "no-store", "access-control-allow-origin": "*" } });
@@ -1095,7 +1095,7 @@ var Qt = 6e3;
1095
1095
  var je = 40;
1096
1096
  var er = 60;
1097
1097
  var tr = 16;
1098
- var R = new TextEncoder();
1098
+ var k = new TextEncoder();
1099
1099
  var rr = 60;
1100
1100
  var nr = 24;
1101
1101
  var or = 3e3;
@@ -1113,32 +1113,32 @@ function qe(e, t, r, n, o = Date.now()) {
1113
1113
  let d = N(t);
1114
1114
  if (!d) return;
1115
1115
  let w = Math.floor(o / 1e3 / ee) * ee, b = cr(w, i, d);
1116
- for (let [m, y] of x) y.bucketStart !== w && ($(y, r, n), x.delete(m));
1116
+ for (let [m, y] of x) y.bucketStart !== w && (K(y, r, n), x.delete(m));
1117
1117
  let g = x.get(b);
1118
1118
  if (!g) {
1119
- if (x.size >= sr) for (let [m, y] of x) $(y, r, n), x.delete(m);
1119
+ if (x.size >= sr) for (let [m, y] of x) K(y, r, n), x.delete(m);
1120
1120
  g = { bucketStart: w, mode: i, host: d, counts: /* @__PURE__ */ new Map(), routes: /* @__PURE__ */ new Map(), previews: /* @__PURE__ */ new Map(), credentials: /* @__PURE__ */ new Map(), referrals: /* @__PURE__ */ new Map(), refusals: [], routeBytes: 0, total: 0 }, x.set(b, g), lr(b, g, r, n, o);
1121
1121
  }
1122
1122
  g.counts.set(a, (g.counts.get(a) ?? 0) + 1);
1123
1123
  let A = typeof s == "string" ? s : "", u = typeof p == "string" ? p : "", f = typeof l == "string" ? l : "", v = `${A}
1124
1124
  ${a}
1125
1125
  ${u}
1126
- ${f}`, C = g.routes.get(v);
1127
- C ? C.count++ : (g.routes.set(v, { pattern: A, verdict: a, behavior: u, crawlerBehavior: f, count: 1 }), g.routeBytes += R.encode(A).length + R.encode(a).length + R.encode(u).length + R.encode(f).length + je);
1126
+ ${f}`, S = g.routes.get(v);
1127
+ S ? S.count++ : (g.routes.set(v, { pattern: A, verdict: a, behavior: u, crawlerBehavior: f, count: 1 }), g.routeBytes += k.encode(A).length + k.encode(a).length + k.encode(u).length + k.encode(f).length + je);
1128
1128
  for (let m of Array.isArray(c) ? c : []) {
1129
1129
  if (!m || typeof m.pattern != "string" || !m.pattern) continue;
1130
1130
  let y = g.previews.get(m.pattern);
1131
- y || (y = { evaluated: 0, refused: /* @__PURE__ */ new Map() }, g.previews.set(m.pattern, y), g.routeBytes += R.encode(m.pattern).length + er), y.evaluated++, typeof m.refused == "string" && m.refused && (y.refused.has(m.refused) || (g.routeBytes += R.encode(m.refused).length + tr), y.refused.set(m.refused, (y.refused.get(m.refused) ?? 0) + 1));
1131
+ y || (y = { evaluated: 0, refused: /* @__PURE__ */ new Map() }, g.previews.set(m.pattern, y), g.routeBytes += k.encode(m.pattern).length + er), y.evaluated++, typeof m.refused == "string" && m.refused && (y.refused.has(m.refused) || (g.routeBytes += k.encode(m.refused).length + tr), y.refused.set(m.refused, (y.refused.get(m.refused) ?? 0) + 1));
1132
1132
  }
1133
1133
  typeof h == "string" && h && g.credentials.set(h, (g.credentials.get(h) ?? 0) + 1);
1134
1134
  let _ = e?.referral;
1135
1135
  if (_ && typeof _.platform == "string" && _.platform && typeof _.path == "string") {
1136
1136
  let m = `${_.platform}
1137
1137
  ${_.path}`, y = g.referrals.get(m);
1138
- y ? y.count++ : (g.referrals.set(m, { platform: _.platform, path: _.path, count: 1 }), g.routeBytes += R.encode(_.platform).length + R.encode(_.path).length + je);
1138
+ y ? y.count++ : (g.referrals.set(m, { platform: _.platform, path: _.path, count: 1 }), g.routeBytes += k.encode(_.platform).length + k.encode(_.path).length + je);
1139
1139
  }
1140
- let S = e?.refusal;
1141
- S && typeof S.ip == "string" && S.ip && typeof S.path == "string" && S.path.startsWith("/") && (g.refusals.push({ ip: S.ip, path: S.path, at: Math.floor(o / 1e3), verdict: a }), g.routeBytes += rr), g.total++, (g.total >= Zt || g.routeBytes >= Qt) && ($(g, r, n), x.delete(b));
1140
+ let R = e?.refusal;
1141
+ R && typeof R.ip == "string" && R.ip && typeof R.path == "string" && R.path.startsWith("/") && (g.refusals.push({ ip: R.ip, path: R.path, at: Math.floor(o / 1e3), verdict: a }), g.routeBytes += rr), g.total++, (g.total >= Zt || g.routeBytes >= Qt) && (K(g, r, n), x.delete(b));
1142
1142
  } catch {
1143
1143
  }
1144
1144
  }
@@ -1148,7 +1148,7 @@ function lr(e, t, r, n, o) {
1148
1148
  n.waitUntil(new Promise((c) => {
1149
1149
  setTimeout(() => {
1150
1150
  try {
1151
- x.get(e) === t && ($(t, r, n), x.delete(e));
1151
+ x.get(e) === t && (K(t, r, n), x.delete(e));
1152
1152
  } catch {
1153
1153
  }
1154
1154
  c();
@@ -1157,7 +1157,7 @@ function lr(e, t, r, n, o) {
1157
1157
  } catch {
1158
1158
  }
1159
1159
  }
1160
- function $(e, t, r) {
1160
+ function K(e, t, r) {
1161
1161
  try {
1162
1162
  if (e.total <= 0 || e.counts.size === 0) return;
1163
1163
  let n = {};
@@ -1196,7 +1196,7 @@ function $(e, t, r) {
1196
1196
  }
1197
1197
  }
1198
1198
  async function ur(e, t, r) {
1199
- let n = await crypto.subtle.digest("SHA-256", R.encode(`${e.toLowerCase()}|${t}|${r}`)), o = "";
1199
+ let n = await crypto.subtle.digest("SHA-256", k.encode(`${e.toLowerCase()}|${t}|${r}`)), o = "";
1200
1200
  for (let a of new Uint8Array(n)) o += a.toString(16).padStart(2, "0");
1201
1201
  return o.slice(0, nr);
1202
1202
  }
@@ -1223,11 +1223,11 @@ function dr(e, t) {
1223
1223
  }
1224
1224
  return null;
1225
1225
  }
1226
- var K = /* @__PURE__ */ new Map();
1226
+ var $ = /* @__PURE__ */ new Map();
1227
1227
  var hr = 36e5;
1228
1228
  var mr = 5e3;
1229
1229
  async function Je(e, t, r, n) {
1230
- let o = K.get(e);
1230
+ let o = $.get(e);
1231
1231
  if (o && n - o.at < hr) return o.category;
1232
1232
  let a = null;
1233
1233
  try {
@@ -1242,7 +1242,7 @@ async function Je(e, t, r, n) {
1242
1242
  } catch {
1243
1243
  a = null;
1244
1244
  }
1245
- return K.size >= mr && K.clear(), K.set(e, { category: a, at: n }), a;
1245
+ return $.size >= mr && $.clear(), $.set(e, { category: a, at: n }), a;
1246
1246
  }
1247
1247
  async function wr(e, t, r) {
1248
1248
  let n = e.replace(/\.$/, ""), o = t.includes(":") ? [r.resolve6(n)] : [r.resolve4(n)];
@@ -1252,7 +1252,7 @@ async function wr(e, t, r) {
1252
1252
  return false;
1253
1253
  }
1254
1254
  }
1255
- var Ye = [["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"], ["gemini", "Gemini", "gemini", "crawler"], ["ai2bot", "AI2Bot", "ai2bot", "crawler"], ["deepseek", "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"], ["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"], ["operator", "Operator", "operator", "crawler"], ["claude-user", "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"], ["iboubot", "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"], ["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"], ["naver", "Naver", "naver", "crawler"], ["yeti", "Naver", "naver", "crawler"], ["seznambot", "SeznamBot", "seznam", "crawler"], ["ecosia", "Ecosia", "ecosia", "crawler"], ["mojeekbot", "MojeekBot", "mojeek", "crawler"], ["slurp", "Yahoo! Slurp", "yahoo-slurp", "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"], ["oncrawl", "OnCrawl", "oncrawl", "crawler"], ["botify", "Botify", "botify", "crawler"], ["contentking", "ContentKing", "contentking", "crawler"], ["sistrix", "SISTRIX", "sistrix", "crawler"], ["serpstat", "Serpstat", "serpstat", "crawler"], ["spyfu", "SpyFu", "spyfu", "crawler"], ["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"], ["intruder", "Intruder", "intruder", "crawler"], ["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"], ["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"], ["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"], ["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"], ["curl/", "cURL", "curl", "tool"], ["wget/", "Wget", "wget", "tool"], ["libwww-perl", "libwww-perl", "libwww-perl", "tool"], ["lwp-", "LWP", "lwp", "tool"], ["httrack", "HTTrack", "httrack", "tool"], ["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"], ["feedly", "Feedly", "feedly", "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"], ["diffbot", "Diffbot", "diffbot", "crawler"], ["import.io", "Import.io", "import-io", "crawler"], ["brightdata", "Bright Data", "bright-data", "crawler"], ["luminati", "Bright Data", "bright-data", "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"], ["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"]];
1255
+ var Ye = [["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"], ["gemini", "Gemini", "gemini", "crawler"], ["ai2bot", "AI2Bot", "ai2bot", "crawler"], ["deepseek", "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"], ["kimibot", "KimiBot", "kimibot", "crawler"], ["moonshotbot", "MoonshotBot", "moonshotbot", "crawler"], ["chatglm-spider", "ChatGLM-Spider", "chatglm-spider", "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"], ["keenablebot", "KeenableBot", "keenablebot", "crawler"], ["azureai-searchbot", "AzureAI-SearchBot", "azureai-searchbot", "crawler"], ["grokbot", "GrokBot", "grokbot", "crawler"], ["operator", "Operator", "operator", "crawler"], ["claude-user", "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"], ["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"], ["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"], ["naver", "Naver", "naver", "crawler"], ["yeti", "Naver", "naver", "crawler"], ["seznambot", "SeznamBot", "seznam", "crawler"], ["ecosia", "Ecosia", "ecosia", "crawler"], ["mojeekbot", "MojeekBot", "mojeek", "crawler"], ["slurp", "Yahoo! Slurp", "yahoo-slurp", "crawler"], ["bravebot", "Bravebot", "bravebot", "crawler"], ["coccocbot", "Coc Coc", "coccocbot", "crawler"], ["yisouspider", "YisouSpider", "yisouspider", "crawler"], ["yepbot", "YepBot", "yepbot", "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"], ["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"], ["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"], ["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"], ["intruder", "Intruder", "intruder", "crawler"], ["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"], ["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"], ["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"], ["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"], ["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"], ["curl/", "cURL", "curl", "tool"], ["wget/", "Wget", "wget", "tool"], ["libwww-perl", "libwww-perl", "libwww-perl", "tool"], ["lwp-", "LWP", "lwp", "tool"], ["httrack", "HTTrack", "httrack", "tool"], ["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"], ["feedly", "Feedly", "feedly", "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"], ["diffbot", "Diffbot", "diffbot", "crawler"], ["import.io", "Import.io", "import-io", "crawler"], ["brightdata", "Bright Data", "bright-data", "crawler"], ["luminati", "Bright Data", "bright-data", "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"], ["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"]];
1256
1256
  function br(e) {
1257
1257
  for (let [t, r, n, o] of Ye) if (e.includes(t)) return { name: r, id: n, kind: o };
1258
1258
  return null;
@@ -1279,14 +1279,14 @@ function Ar(e) {
1279
1279
  function Ze(e, t, r, n = typeof Deno < "u" && Deno && typeof Deno.resolveDns == "function" ? Deno.resolveDns.bind(Deno) : void 0, o = Date.now()) {
1280
1280
  return !r || !e || !n || !Xe(t) ? Promise.resolve("") : Je(e, _r, Ar(n), o).then((a) => a === "search_engines" ? vr : "").catch(() => "");
1281
1281
  }
1282
- var Rr = "https://cloudflare-dns.com/dns-query";
1283
- var Cr = 1e3;
1284
- var Sr = { A: 1, PTR: 12, AAAA: 28 };
1285
- function kr(e = fetch) {
1282
+ var kr = "https://cloudflare-dns.com/dns-query";
1283
+ var Sr = 1e3;
1284
+ var Rr = { A: 1, PTR: 12, AAAA: 28 };
1285
+ function Cr(e = fetch) {
1286
1286
  return async (t, r) => {
1287
- let n = Sr[r];
1287
+ let n = Rr[r];
1288
1288
  if (!n) throw new Error(`unsupported record type ${r}`);
1289
- let o = `${Rr}?name=${encodeURIComponent(t)}&type=${r}`, a = await e(o, { headers: { accept: "application/dns-json" }, signal: AbortSignal.timeout(Cr) });
1289
+ let o = `${kr}?name=${encodeURIComponent(t)}&type=${r}`, a = await e(o, { headers: { accept: "application/dns-json" }, signal: AbortSignal.timeout(Sr) });
1290
1290
  if (!a.ok) throw new Error(`doh ${a.status}`);
1291
1291
  let i = await a.json();
1292
1292
  if (i.Status !== 0) throw new Error(`dns status ${i.Status}`);
@@ -1296,9 +1296,9 @@ function kr(e = fetch) {
1296
1296
  };
1297
1297
  }
1298
1298
  function Qe(e, t, r, n = fetch) {
1299
- return Ze(e, t, r, kr(n));
1299
+ return Ze(e, t, r, Cr(n));
1300
1300
  }
1301
- var ne = "vercel-158ba59289ce";
1301
+ var ne = "vercel-5ee62f4b6deb";
1302
1302
  var et = "https://in.webdecoy.com";
1303
1303
  function tt(e) {
1304
1304
  let t = new Headers(e.headers);
@@ -1315,10 +1315,10 @@ async function Er(e, t, r) {
1315
1315
  if (o.pathname === Q) return { action: "respond", response: await ze(e, n) };
1316
1316
  if (o.pathname === L) return { action: "respond", response: await De(e, { apiBase: n, siteKey: r.siteKey, sensorKey: r.sensorKey, host: i }) };
1317
1317
  if (!s) return oe(e, null);
1318
- let c = await Ce(e, s, { siteKey: r.siteKey, verifiedBotCategory: (p, l) => Qe(t.ip, p.headers.get("user-agent") ?? "", l, t.fetch ?? fetch) });
1318
+ let c = await Se(e, s, { siteKey: r.siteKey, verifiedBotCategory: (p, l) => Qe(t.ip, p.headers.get("user-agent") ?? "", l, t.fetch ?? fetch) });
1319
1319
  if (j(c)) {
1320
1320
  let p = q(e.headers.get("cookie") ?? "", J);
1321
- p && await Ie(p, r.sensorKey, i, e.headers.get("user-agent") ?? "", Date.now()) && (c = Se(c));
1321
+ p && await Ie(p, r.sensorKey, i, e.headers.get("user-agent") ?? "", Date.now()) && (c = Re(c));
1322
1322
  }
1323
1323
  return qe({ ...c, refusal: c.pass ? null : { ip: t.ip, path: o.pathname } }, o.hostname, { siteKey: r.siteKey, apiBase: n, scannerId: r.scannerId, sensorKey: r.sensorKey, bundleVersion: ne, capabilities: G }, { waitUntil: (p) => t.waitUntil?.(p) }, Date.now()), c.pass || c.mode !== "enforce" ? oe(e, c.label) : { action: "respond", response: We(e, n, r.siteKey, c.label) };
1324
1324
  } catch {
@@ -1,4 +1,4 @@
1
- import { Z as WebDecoyConfig, G as ProtectOptions, r as Decision, W as WebDecoy } from './sdk-CLrhCMK0.mjs';
1
+ import { Z as WebDecoyConfig, G as ProtectOptions, r as Decision, W as WebDecoy } from './sdk-U_qp9ync.mjs';
2
2
 
3
3
  /**
4
4
  * Resolving the client IP address behind a proxy.
@@ -1,4 +1,4 @@
1
- import { Z as WebDecoyConfig, G as ProtectOptions, r as Decision, W as WebDecoy } from './sdk-CLrhCMK0.js';
1
+ import { Z as WebDecoyConfig, G as ProtectOptions, r as Decision, W as WebDecoy } from './sdk-U_qp9ync.js';
2
2
 
3
3
  /**
4
4
  * Resolving the client IP address behind a proxy.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as AgentVerifierOptions, k as AgentRequestInput, l as AgentVerdict, S as SignedAgentDirectory } from './sdk-CLrhCMK0.mjs';
2
- export { m as AgentStatus, n as BOT_CATEGORIES, o as BOT_REGISTRY, p as BotVerdict, C as Characteristic, q as Conclusion, D as DEFAULT_CHARACTERISTICS, r as Decision, s as DecisionCache, t as DecisionCacheOptions, u as DecisionInit, E as EDGE_CLASS_HEADER, v as EDGE_CLEARANCE_HEADER, w as EdgeClass, x as EdgeVerdict, I as IPEnrichmentData, L as LocalAnalysis, y as LogFields, z as Logger, M as MemoryRateLimitStore, G as ProtectOptions, H as RequestMetadata, J as RuleOutcome, K as RuleState, N as SDKDetectionRequest, O as SDKDetectionResponse, Q as Span, U as SyncRateLimitStore, V as TLSInfo, X as Tracer, Y as ViolationEvent, Z as WebDecoyConfig, _ as classifyUserAgent, $ as consoleLogger, a0 as deriveKey, a1 as fromPino, a2 as matchUserAgent, a3 as newDecisionId, a4 as readEdgeVerdict, a5 as silentLogger } from './sdk-CLrhCMK0.mjs';
3
- export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, T as TrustedProxies, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-DwcmcUjY.mjs';
1
+ import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as AgentVerifierOptions, k as AgentRequestInput, l as AgentVerdict, S as SignedAgentDirectory } from './sdk-U_qp9ync.mjs';
2
+ export { m as AgentStatus, n as BOT_CATEGORIES, o as BOT_REGISTRY, p as BotVerdict, C as Characteristic, q as Conclusion, D as DEFAULT_CHARACTERISTICS, r as Decision, s as DecisionCache, t as DecisionCacheOptions, u as DecisionInit, E as EDGE_CLASS_HEADER, v as EDGE_CLEARANCE_HEADER, w as EdgeClass, x as EdgeVerdict, I as IPEnrichmentData, L as LocalAnalysis, y as LogFields, z as Logger, M as MemoryRateLimitStore, G as ProtectOptions, H as RequestMetadata, J as RuleOutcome, K as RuleState, N as SDKDetectionRequest, O as SDKDetectionResponse, Q as Span, U as SyncRateLimitStore, V as TLSInfo, X as Tracer, Y as ViolationEvent, Z as WebDecoyConfig, _ as classifyUserAgent, $ as consoleLogger, a0 as deriveKey, a1 as fromPino, a2 as matchUserAgent, a3 as newDecisionId, a4 as readEdgeVerdict, a5 as silentLogger } from './sdk-U_qp9ync.mjs';
3
+ export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, T as TrustedProxies, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-9-vm6nEN.mjs';
4
4
 
5
5
  /**
6
6
  * The reserved test trigger.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as AgentVerifierOptions, k as AgentRequestInput, l as AgentVerdict, S as SignedAgentDirectory } from './sdk-CLrhCMK0.js';
2
- export { m as AgentStatus, n as BOT_CATEGORIES, o as BOT_REGISTRY, p as BotVerdict, C as Characteristic, q as Conclusion, D as DEFAULT_CHARACTERISTICS, r as Decision, s as DecisionCache, t as DecisionCacheOptions, u as DecisionInit, E as EDGE_CLASS_HEADER, v as EDGE_CLEARANCE_HEADER, w as EdgeClass, x as EdgeVerdict, I as IPEnrichmentData, L as LocalAnalysis, y as LogFields, z as Logger, M as MemoryRateLimitStore, G as ProtectOptions, H as RequestMetadata, J as RuleOutcome, K as RuleState, N as SDKDetectionRequest, O as SDKDetectionResponse, Q as Span, U as SyncRateLimitStore, V as TLSInfo, X as Tracer, Y as ViolationEvent, Z as WebDecoyConfig, _ as classifyUserAgent, $ as consoleLogger, a0 as deriveKey, a1 as fromPino, a2 as matchUserAgent, a3 as newDecisionId, a4 as readEdgeVerdict, a5 as silentLogger } from './sdk-CLrhCMK0.js';
3
- export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, T as TrustedProxies, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-yg8SW2bD.js';
1
+ import { R as Rule, a as RuleContext, b as RuleResult, c as RuleEngineResult, d as RateLimitConfig, F as FilterConfig, T as TripwireConfig, B as BotRuleConfig, e as BotAgent, f as BotCategory, A as AgentCategory, g as RateLimitStore, h as RateLimitConsume, i as RateLimitOutcome, W as WebDecoy, P as ProtectResult, j as AgentVerifierOptions, k as AgentRequestInput, l as AgentVerdict, S as SignedAgentDirectory } from './sdk-U_qp9ync.js';
2
+ export { m as AgentStatus, n as BOT_CATEGORIES, o as BOT_REGISTRY, p as BotVerdict, C as Characteristic, q as Conclusion, D as DEFAULT_CHARACTERISTICS, r as Decision, s as DecisionCache, t as DecisionCacheOptions, u as DecisionInit, E as EDGE_CLASS_HEADER, v as EDGE_CLEARANCE_HEADER, w as EdgeClass, x as EdgeVerdict, I as IPEnrichmentData, L as LocalAnalysis, y as LogFields, z as Logger, M as MemoryRateLimitStore, G as ProtectOptions, H as RequestMetadata, J as RuleOutcome, K as RuleState, N as SDKDetectionRequest, O as SDKDetectionResponse, Q as Span, U as SyncRateLimitStore, V as TLSInfo, X as Tracer, Y as ViolationEvent, Z as WebDecoyConfig, _ as classifyUserAgent, $ as consoleLogger, a0 as deriveKey, a1 as fromPino, a2 as matchUserAgent, a3 as newDecisionId, a4 as readEdgeVerdict, a5 as silentLogger } from './sdk-U_qp9ync.js';
3
+ export { B as CLEARANCE_GATE_BUILD, C as ClearanceContext, a as ClearanceGateOptions, D as DetectAndGateOptions, b as DetectAndGateOutcome, F as FetchGuard, c as FetchGuardOptions, G as GateEnv, d as GateOutcome, e as GuardOutcome, H as HeaderSource, R as ResolveClientIpOptions, T as TrustedProxies, f as createClearanceGate, g as createDetectAndGate, h as createFetchGuard, i as ipInCidr, n as normalizeIp, r as resolveClientIp, j as resolveGateEnv } from './detect-and-gate-DeD4UBzX.js';
4
4
 
5
5
  /**
6
6
  * The reserved test trigger.