@anthusai/papyrus 0.0.0 → 1.0.0-next.1
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.
- package/LICENSE +21 -0
- package/amplify/auth/resource.js +61 -0
- package/amplify/auth/resource.ts +65 -0
- package/amplify/data/resource.js +2037 -0
- package/amplify/data/resource.ts +2148 -0
- package/amplify/data/schema.js +1850 -0
- package/amplify/data/schema.ts +1953 -0
- package/amplify/functions/assignment-action/handler.ts +1416 -0
- package/amplify/functions/assignment-action/resource.js +8 -0
- package/amplify/functions/assignment-action/resource.ts +9 -0
- package/amplify/functions/category-action/handler.ts +2259 -0
- package/amplify/functions/category-action/resource.js +8 -0
- package/amplify/functions/category-action/resource.ts +9 -0
- package/amplify/functions/console-chat-responder/Cargo.lock +3456 -0
- package/amplify/functions/console-chat-responder/Cargo.toml +26 -0
- package/amplify/functions/console-chat-responder/Dockerfile +19 -0
- package/amplify/functions/console-chat-responder/py/execute_tactus_runner.py +116 -0
- package/amplify/functions/console-chat-responder/resource.js +153 -0
- package/amplify/functions/console-chat-responder/resource.ts +179 -0
- package/amplify/functions/console-chat-responder/src/main.rs +3242 -0
- package/amplify/functions/email-submission-processor/handler.py +46 -0
- package/amplify/functions/email-submission-processor/requirements.txt +2 -0
- package/amplify/functions/email-submission-processor/resource.js +56 -0
- package/amplify/functions/email-submission-processor/resource.ts +69 -0
- package/amplify/functions/graphql-jwt-authorizer/handler.ts +193 -0
- package/amplify/functions/graphql-jwt-authorizer/resource.js +14 -0
- package/amplify/functions/graphql-jwt-authorizer/resource.ts +15 -0
- package/amplify/functions/knowledge-query/handler.py +1 -0
- package/amplify/functions/knowledge-query/requirements.txt +3 -0
- package/amplify/functions/knowledge-query/resource.js +50 -0
- package/amplify/functions/knowledge-query/resource.ts +61 -0
- package/amplify/functions/manage-user-role/handler.ts +799 -0
- package/amplify/functions/manage-user-role/resource.js +8 -0
- package/amplify/functions/manage-user-role/resource.ts +9 -0
- package/amplify/functions/model-attachment-upload/handler.ts +387 -0
- package/amplify/functions/model-attachment-upload/resource.js +8 -0
- package/amplify/functions/model-attachment-upload/resource.ts +9 -0
- package/amplify/functions/newsroom-summary/handler.ts +321 -0
- package/amplify/functions/newsroom-summary/resource.js +8 -0
- package/amplify/functions/newsroom-summary/resource.ts +9 -0
- package/amplify/functions/procedure-action/handler.ts +621 -0
- package/amplify/functions/procedure-action/resource.js +8 -0
- package/amplify/functions/procedure-action/resource.ts +9 -0
- package/amplify/functions/reader-settings/handler.ts +322 -0
- package/amplify/functions/reader-settings/resource.js +8 -0
- package/amplify/functions/reader-settings/resource.ts +9 -0
- package/amplify/functions/ses-inbound-receive/handler.ts +493 -0
- package/amplify/functions/ses-inbound-receive/resource.js +8 -0
- package/amplify/functions/ses-inbound-receive/resource.ts +9 -0
- package/amplify/functions/shared/amplify-secrets.ts +65 -0
- package/amplify/functions/shared/console-chat-enqueue.ts +117 -0
- package/amplify/functions/shared/email-mime-intake.ts +196 -0
- package/amplify/functions/shared/email-submission.ts +415 -0
- package/amplify/functions/shared/inbound-email-intake.ts +37 -0
- package/amplify/functions/shared/lambda-data-client.ts +21 -0
- package/amplify/functions/shared/model-payloads.ts +186 -0
- package/amplify/functions/shared/python-bundle.js +115 -0
- package/amplify/functions/shared/python-bundle.ts +141 -0
- package/amplify/functions/shared/slack-events.ts +111 -0
- package/amplify/functions/slack-delivery/handler.py +112 -0
- package/amplify/functions/slack-delivery/requirements.txt +2 -0
- package/amplify/functions/slack-delivery/resource.js +38 -0
- package/amplify/functions/slack-delivery/resource.ts +51 -0
- package/amplify/functions/slack-events/handler.ts +155 -0
- package/amplify/functions/slack-events/resource.js +11 -0
- package/amplify/functions/slack-events/resource.ts +12 -0
- package/amplify/inbound-email/stack.js +46 -0
- package/amplify/inbound-email/stack.ts +61 -0
- package/amplify/package.json +3 -0
- package/amplify/site-backend-config.js +1 -0
- package/amplify/site-backend-config.ts +30 -0
- package/amplify/site-backend.js +587 -0
- package/amplify/site-backend.ts +704 -0
- package/amplify/storage/resource.js +18 -0
- package/amplify/storage/resource.ts +19 -0
- package/app/[year]/[month]/[day]/[articleSlug]/page.tsx +62 -0
- package/app/[year]/[month]/[day]/edition-route-page.tsx +53 -0
- package/app/[year]/[month]/[day]/page/[pageNumber]/page.tsx +32 -0
- package/app/[year]/[month]/[day]/page.tsx +22 -0
- package/app/[year]/[month]/[day]/section/[sectionKey]/page.tsx +32 -0
- package/app/api/archive/editions/route.ts +18 -0
- package/app/api/media/[...path]/route.ts +35 -0
- package/app/api/revalidate/route.ts +94 -0
- package/app/archive/page.tsx +24 -0
- package/app/articles/[slug]/page.tsx +35 -0
- package/app/globals.css +10329 -0
- package/app/layout.tsx +146 -0
- package/app/newsroom/[section]/[...selection]/page.tsx +50 -0
- package/app/newsroom/[section]/page.tsx +47 -0
- package/app/newsroom/forum/[threadId]/page.tsx +35 -0
- package/app/newsroom/insights/[threadId]/page.tsx +22 -0
- package/app/newsroom/insights/page.tsx +14 -0
- package/app/newsroom/layout.tsx +12 -0
- package/app/newsroom/page.tsx +31 -0
- package/app/newsroom/sections/[sectionId]/page.tsx +17 -0
- package/app/page.tsx +272 -0
- package/app/settings/page.tsx +14 -0
- package/app/tailwind.css +65 -0
- package/bin/papyrus-app.mjs +10 -0
- package/bin/papyrus-infra.mjs +39 -0
- package/components/ai-elements/conversation.tsx +168 -0
- package/components/ai-elements/message.tsx +360 -0
- package/components/ai-elements/model-selector.tsx +30 -0
- package/components/ai-elements/prompt-input.tsx +1461 -0
- package/components/ai-elements/shimmer.tsx +76 -0
- package/components/ai-elements/suggestion.tsx +54 -0
- package/components/ai-elements/tool.tsx +173 -0
- package/components/amplify-client-provider.tsx +140 -0
- package/components/archive-grid.tsx +89 -0
- package/components/archive-shell.tsx +41 -0
- package/components/article-video.tsx +47 -0
- package/components/blog-page-background.tsx +20 -0
- package/components/dev-sandbox-editor-sign-in.tsx +60 -0
- package/components/news-desk-client-provider.tsx +211 -0
- package/components/news-desk-page.tsx +119 -0
- package/components/news-desk-taxonomy-client.ts +3684 -0
- package/components/newspaper.tsx +1929 -0
- package/components/newsroom-assignments-view.tsx +664 -0
- package/components/newsroom-ops-overview.tsx +226 -0
- package/components/newsroom-ops-shell.tsx +319 -0
- package/components/newsroom-references-view.tsx +598 -0
- package/components/newsroom-topics-view.tsx +425 -0
- package/components/papyrus-console-shell.tsx +1912 -0
- package/components/pictogram-figure.tsx +65 -0
- package/components/presentation-footer.tsx +146 -0
- package/components/reader-auth-control.tsx +162 -0
- package/components/reader-auth-state.ts +122 -0
- package/components/reader-settings.ts +332 -0
- package/components/reader-theme-control.tsx +85 -0
- package/components/reference-source-preview.tsx +163 -0
- package/components/settings-page.tsx +239 -0
- package/components/topic-steering-workspace.tsx +18063 -0
- package/components/ui/badge.tsx +30 -0
- package/components/ui/button-group.tsx +87 -0
- package/components/ui/button.tsx +58 -0
- package/components/ui/card.tsx +32 -0
- package/components/ui/command.tsx +194 -0
- package/components/ui/dialog.tsx +158 -0
- package/components/ui/dropdown-menu.tsx +266 -0
- package/components/ui/hover-card.tsx +51 -0
- package/components/ui/input-group.tsx +158 -0
- package/components/ui/input.tsx +20 -0
- package/components/ui/scroll-area.tsx +16 -0
- package/components/ui/select.tsx +199 -0
- package/components/ui/separator.tsx +23 -0
- package/components/ui/sheet.tsx +92 -0
- package/components/ui/spinner.tsx +10 -0
- package/components/ui/tabs.tsx +113 -0
- package/components/ui/textarea.tsx +18 -0
- package/components/ui/tooltip.tsx +66 -0
- package/components/use-resolved-papyrus-theme.ts +47 -0
- package/infra/amplify-app-shell.js +109 -0
- package/infra/amplify-app-shell.ts +155 -0
- package/infra/index.js +12 -0
- package/lib/amplify-outputs-guard.ts +24 -0
- package/lib/amplify-outputs-path.ts +16 -0
- package/lib/amplify-server-runtime.ts +63 -0
- package/lib/archive-data.ts +30 -0
- package/lib/archive-types.ts +15 -0
- package/lib/articles.ts +320 -0
- package/lib/cached-content-repository.ts +89 -0
- package/lib/category-dashboard.ts +37 -0
- package/lib/category-repository.ts +1907 -0
- package/lib/console-chat-client.ts +1316 -0
- package/lib/console-web-context.ts +118 -0
- package/lib/content-load-timing.ts +23 -0
- package/lib/content-repository.ts +40 -0
- package/lib/content-types.ts +104 -0
- package/lib/define-site.js +3 -0
- package/lib/define-site.ts +21 -0
- package/lib/demo-amplify-outputs.ts +15 -0
- package/lib/dev-sandbox-editor-auth.ts +18 -0
- package/lib/doctrine.ts +128 -0
- package/lib/edition-routes.ts +155 -0
- package/lib/edition-sections.ts +111 -0
- package/lib/empty-edition-layout-plan.ts +109 -0
- package/lib/excerpts.ts +8 -0
- package/lib/graphql-content-repository.ts +986 -0
- package/lib/image-url.ts +10 -0
- package/lib/layout-plan.ts +981 -0
- package/lib/layout-scenarios.ts +564 -0
- package/lib/markus-body.ts +168 -0
- package/lib/markus-ir.ts +235 -0
- package/lib/markus-projection.ts +243 -0
- package/lib/markus-to-article.ts +93 -0
- package/lib/news-desk-session.ts +160 -0
- package/lib/newspaper-layout.ts +3459 -0
- package/lib/newsroom-assignments.ts +173 -0
- package/lib/newsroom-base-path.ts +48 -0
- package/lib/newsroom-card-layout.ts +102 -0
- package/lib/newsroom-category-drilldown.ts +133 -0
- package/lib/newsroom-demo-dashboard.ts +267 -0
- package/lib/newsroom-demo-profile.ts +46 -0
- package/lib/newsroom-forum-routes.ts +153 -0
- package/lib/newsroom-index-filters.ts +202 -0
- package/lib/newsroom-knowledge-query-request.ts +51 -0
- package/lib/newsroom-list-selection.ts +42 -0
- package/lib/newsroom-nav.ts +42 -0
- package/lib/newsroom-references.ts +116 -0
- package/lib/newsroom-sections.ts +52 -0
- package/lib/newsroom-topics.ts +118 -0
- package/lib/papyrus-object-kinds.ts +24 -0
- package/lib/papyrus-web-locations.ts +480 -0
- package/lib/pilobol-sample.ts +167 -0
- package/lib/presentation-footer.ts +92 -0
- package/lib/pretext-layout.ts +179 -0
- package/lib/public-placeholder-config.ts +102 -0
- package/lib/publication-items.ts +181 -0
- package/lib/reader-route-config.ts +1 -0
- package/lib/reader-static-params.ts +56 -0
- package/lib/reader-storage-url.ts +63 -0
- package/lib/reference-display.ts +74 -0
- package/lib/reference-policy.ts +97 -0
- package/lib/reference-source-preview.ts +175 -0
- package/lib/renderer-config.ts +50 -0
- package/lib/renderer.ts +87 -0
- package/lib/reporting-story-budget.ts +638 -0
- package/lib/semantic-graph.ts +554 -0
- package/lib/site-brand-tenant.ts +41 -0
- package/lib/site-brand.ts +179 -0
- package/lib/site-renderer.ts +17 -0
- package/lib/site-stack.ts +195 -0
- package/lib/themed-image.ts +30 -0
- package/lib/utils.ts +6 -0
- package/middleware.ts +78 -0
- package/package.json +296 -1
- package/publications/anth_us/brand.ts +68 -0
- package/publications/anth_us/theme.css +66 -0
- package/publications/papyrus/theme.css +11 -0
- package/publications/pilobol_us/brand.ts +37 -0
- package/publications/pilobol_us/theme.css +140 -0
- package/publications/threat_intelligence/blog-defense/graph.ts +636 -0
- package/publications/threat_intelligence/blog-defense/layout.ts +934 -0
- package/publications/threat_intelligence/blog-defense/page-background.tsx +590 -0
- package/publications/threat_intelligence/brand.ts +40 -0
- package/publications/threat_intelligence/pictograms/art.tsx +608 -0
- package/publications/threat_intelligence/pictograms/figure.tsx +82 -0
- package/publications/threat_intelligence/pictograms/registry.ts +30 -0
- package/publications/threat_intelligence/pictograms/system.tsx +305 -0
- package/publications/threat_intelligence/seed/seed-edition-content.json +629 -0
- package/publications/threat_intelligence/theme.css +1440 -0
- package/renderers/markus/index.ts +25 -0
- package/renderers/markus/stubs.tsx +33 -0
- package/renderers/pretext/article-page.tsx +174 -0
- package/renderers/pretext/index.ts +30 -0
- package/renderers/pretext/layouts.ts +16 -0
- package/renderers/pretext/presentation-shell.tsx +477 -0
- package/routes.manifest.json +182 -0
- package/scripts/fixtures/pilobol-sample.ast.json +234 -0
- package/src/backend.js +1 -0
- package/src/backend.ts +3 -0
- package/src/sync.mjs +87 -0
- package/src/with-papyrus.d.mts +2 -0
- package/src/with-papyrus.mjs +47 -0
|
@@ -0,0 +1,590 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { motion } from "motion/react";
|
|
4
|
+
import { useEffect, useId, useLayoutEffect, useMemo, useRef, useState, type RefObject } from "react";
|
|
5
|
+
import {
|
|
6
|
+
BLOG_DEFENSE_CORE_NODE_ID,
|
|
7
|
+
buildCompromiseSequenceFromPath,
|
|
8
|
+
buildVisibleAttackPath,
|
|
9
|
+
type BlogDefenseCompromiseStep,
|
|
10
|
+
} from "./graph";
|
|
11
|
+
import { layoutDefenseGraph, type LayoutDefenseNode } from "./layout";
|
|
12
|
+
import { SITE_BRAND } from "../../../lib/site-brand";
|
|
13
|
+
import { PICTOGRAM_CYCLE_MS } from "../pictograms/registry";
|
|
14
|
+
import { useResolvedPapyrusTheme } from "../../../components/use-resolved-papyrus-theme";
|
|
15
|
+
|
|
16
|
+
const THROB_MS = 190;
|
|
17
|
+
const COMPROMISE_MS = 120;
|
|
18
|
+
const STEP_GAP_MS = 36;
|
|
19
|
+
const START_DELAY_MS = 40;
|
|
20
|
+
const COMPROMISE_TRANSITION_S = COMPROMISE_MS / 1000;
|
|
21
|
+
const THROB_TRANSITION_S = 0.21;
|
|
22
|
+
const BREACH_RING_DELAYS_S = [0, 0.6, 1.2];
|
|
23
|
+
const BREACH_RING_DURATION_S = 2.4;
|
|
24
|
+
|
|
25
|
+
type PictogramColors = {
|
|
26
|
+
edge: string;
|
|
27
|
+
node: string;
|
|
28
|
+
throb: string;
|
|
29
|
+
coreGlow: string;
|
|
30
|
+
compromised: string;
|
|
31
|
+
compromisedStroke: string;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const FALLBACK_COLORS: Record<"light" | "dark", PictogramColors> = {
|
|
35
|
+
light: {
|
|
36
|
+
edge: "var(--slate-8)",
|
|
37
|
+
node: "var(--slate-8)",
|
|
38
|
+
throb: "var(--tomato-8)",
|
|
39
|
+
coreGlow: "var(--ti-alarm-red)",
|
|
40
|
+
compromised: "var(--tomato-11)",
|
|
41
|
+
compromisedStroke: "var(--sand-1)",
|
|
42
|
+
},
|
|
43
|
+
dark: {
|
|
44
|
+
edge: "var(--slate-6)",
|
|
45
|
+
node: "var(--slate-5)",
|
|
46
|
+
throb: "var(--tomato-8)",
|
|
47
|
+
coreGlow: "var(--ti-alarm-red)",
|
|
48
|
+
compromised: "var(--tomato-9)",
|
|
49
|
+
compromisedStroke: "var(--sand-2)",
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type Size = {
|
|
54
|
+
width: number;
|
|
55
|
+
height: number;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
type ObstacleRect = {
|
|
59
|
+
x: number;
|
|
60
|
+
y: number;
|
|
61
|
+
width: number;
|
|
62
|
+
height: number;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
type BlogPageBackgroundProps = {
|
|
66
|
+
pageRef: RefObject<HTMLElement | null>;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
function intersectRect(source: DOMRect, bounds: DOMRect): ObstacleRect | null {
|
|
70
|
+
const left = Math.max(source.left, bounds.left);
|
|
71
|
+
const top = Math.max(source.top, bounds.top);
|
|
72
|
+
const right = Math.min(source.right, bounds.right);
|
|
73
|
+
const bottom = Math.min(source.bottom, bounds.bottom);
|
|
74
|
+
const width = right - left;
|
|
75
|
+
const height = bottom - top;
|
|
76
|
+
if (width <= 0 || height <= 0) return null;
|
|
77
|
+
return {
|
|
78
|
+
x: left - bounds.left,
|
|
79
|
+
y: top - bounds.top,
|
|
80
|
+
width,
|
|
81
|
+
height,
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function textFragmentRects(element: HTMLElement, bounds: DOMRect): ObstacleRect[] {
|
|
86
|
+
const ownerDocument = element.ownerDocument;
|
|
87
|
+
const elementRect = element.getBoundingClientRect();
|
|
88
|
+
const computedStyle = ownerDocument.defaultView?.getComputedStyle(element);
|
|
89
|
+
const context = ownerDocument.createElement("canvas").getContext("2d");
|
|
90
|
+
if (context && computedStyle) {
|
|
91
|
+
context.font = computedStyle.font;
|
|
92
|
+
}
|
|
93
|
+
const walker = ownerDocument.createTreeWalker(
|
|
94
|
+
element,
|
|
95
|
+
NodeFilter.SHOW_TEXT,
|
|
96
|
+
{
|
|
97
|
+
acceptNode(node) {
|
|
98
|
+
return /\S/.test(node.textContent ?? "")
|
|
99
|
+
? NodeFilter.FILTER_ACCEPT
|
|
100
|
+
: NodeFilter.FILTER_REJECT;
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
);
|
|
104
|
+
const range = ownerDocument.createRange();
|
|
105
|
+
const rects: ObstacleRect[] = [];
|
|
106
|
+
|
|
107
|
+
try {
|
|
108
|
+
let node = walker.nextNode();
|
|
109
|
+
while (node) {
|
|
110
|
+
const text = node.textContent ?? "";
|
|
111
|
+
const tokenPattern = /\S+/g;
|
|
112
|
+
let match: RegExpExecArray | null;
|
|
113
|
+
while ((match = tokenPattern.exec(text)) !== null) {
|
|
114
|
+
range.setStart(node, match.index);
|
|
115
|
+
range.setEnd(node, match.index + match[0].length);
|
|
116
|
+
for (const fragmentRect of Array.from(range.getClientRects())) {
|
|
117
|
+
const measuredWidth = context?.measureText(match[0]).width ?? 0;
|
|
118
|
+
const textWidth = measuredWidth > 0 && measuredWidth < (fragmentRect.width * 0.98)
|
|
119
|
+
? measuredWidth
|
|
120
|
+
: fragmentRect.width;
|
|
121
|
+
const sourceRect = new DOMRect(
|
|
122
|
+
fragmentRect.left,
|
|
123
|
+
elementRect.top,
|
|
124
|
+
textWidth,
|
|
125
|
+
elementRect.height,
|
|
126
|
+
);
|
|
127
|
+
const rect = intersectRect(sourceRect, bounds);
|
|
128
|
+
if (rect) rects.push(rect);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
node = walker.nextNode();
|
|
132
|
+
}
|
|
133
|
+
} finally {
|
|
134
|
+
range.detach();
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return rects;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
function elementObstacleRects(element: HTMLElement, bounds: DOMRect): ObstacleRect[] {
|
|
141
|
+
const fragments = textFragmentRects(element, bounds);
|
|
142
|
+
if (fragments.length > 0) return fragments;
|
|
143
|
+
return Array.from(element.getClientRects())
|
|
144
|
+
.map((lineRect) => intersectRect(lineRect, bounds))
|
|
145
|
+
.filter((rect): rect is ObstacleRect => Boolean(rect));
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function readPictogramColors(container: HTMLElement): PictogramColors {
|
|
149
|
+
const style = getComputedStyle(container);
|
|
150
|
+
return {
|
|
151
|
+
edge: style.getPropertyValue("--ti-pictogram-edge").trim() || FALLBACK_COLORS.light.edge,
|
|
152
|
+
node: style.getPropertyValue("--ti-pictogram-node").trim() || FALLBACK_COLORS.light.node,
|
|
153
|
+
throb: style.getPropertyValue("--ti-pictogram-throb").trim() || FALLBACK_COLORS.light.throb,
|
|
154
|
+
coreGlow: style.getPropertyValue("--ti-pictogram-core-glow").trim() || FALLBACK_COLORS.light.coreGlow,
|
|
155
|
+
compromised: style.getPropertyValue("--ti-pictogram-compromised").trim() || FALLBACK_COLORS.light.compromised,
|
|
156
|
+
compromisedStroke: style.getPropertyValue("--ti-pictogram-compromised-stroke").trim() || FALLBACK_COLORS.light.compromisedStroke,
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
function stepDurationMs(): number {
|
|
161
|
+
return THROB_MS + COMPROMISE_MS + STEP_GAP_MS;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
function isSameThrobStep(a: BlogDefenseCompromiseStep | null, b: BlogDefenseCompromiseStep | null): boolean {
|
|
165
|
+
if (!a || !b || a.kind !== b.kind) return false;
|
|
166
|
+
if (a.kind === "node" && b.kind === "node") return a.nodeId === b.nodeId;
|
|
167
|
+
if (a.kind === "edge" && b.kind === "edge") return a.edgeId === b.edgeId;
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
function CoreBreachEffect({
|
|
172
|
+
coreNode,
|
|
173
|
+
colors,
|
|
174
|
+
filterId,
|
|
175
|
+
prefersReducedMotion,
|
|
176
|
+
scale,
|
|
177
|
+
layer,
|
|
178
|
+
}: {
|
|
179
|
+
coreNode: LayoutDefenseNode;
|
|
180
|
+
colors: PictogramColors;
|
|
181
|
+
filterId: string;
|
|
182
|
+
prefersReducedMotion: boolean;
|
|
183
|
+
scale: number;
|
|
184
|
+
layer: "rings" | "halo";
|
|
185
|
+
}) {
|
|
186
|
+
const ringStartRadius = coreNode.radius * 1.2;
|
|
187
|
+
const ringEndRadius = coreNode.radius * 3;
|
|
188
|
+
const haloRadius = coreNode.radius * 1.85;
|
|
189
|
+
|
|
190
|
+
if (layer === "rings") {
|
|
191
|
+
return (
|
|
192
|
+
<g className="blog-page-background__breach-rings" style={{ color: colors.coreGlow }}>
|
|
193
|
+
{BREACH_RING_DELAYS_S.map((delay) => (
|
|
194
|
+
<motion.circle
|
|
195
|
+
animate={
|
|
196
|
+
prefersReducedMotion
|
|
197
|
+
? { fillOpacity: 0.22, r: ringEndRadius * 0.75 }
|
|
198
|
+
: {
|
|
199
|
+
fillOpacity: [0.45, 0],
|
|
200
|
+
r: [ringStartRadius, ringEndRadius],
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
cx={coreNode.x}
|
|
204
|
+
cy={coreNode.y}
|
|
205
|
+
fill="currentColor"
|
|
206
|
+
initial={false}
|
|
207
|
+
key={`breach-ring-${delay}`}
|
|
208
|
+
transition={
|
|
209
|
+
prefersReducedMotion
|
|
210
|
+
? { duration: 0 }
|
|
211
|
+
: {
|
|
212
|
+
delay,
|
|
213
|
+
duration: BREACH_RING_DURATION_S,
|
|
214
|
+
ease: "easeOut",
|
|
215
|
+
repeat: Infinity,
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
/>
|
|
219
|
+
))}
|
|
220
|
+
</g>
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
const blurStdDeviation = Math.max(5, scale * 0.45);
|
|
225
|
+
return (
|
|
226
|
+
<g className="blog-page-background__breach-halo" style={{ color: colors.coreGlow }}>
|
|
227
|
+
<motion.circle
|
|
228
|
+
animate={
|
|
229
|
+
prefersReducedMotion
|
|
230
|
+
? { fillOpacity: 0.42, r: haloRadius }
|
|
231
|
+
: {
|
|
232
|
+
fillOpacity: [0.35, 0.7, 0.35],
|
|
233
|
+
r: haloRadius,
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
cx={coreNode.x}
|
|
237
|
+
cy={coreNode.y}
|
|
238
|
+
fill="currentColor"
|
|
239
|
+
filter={`url(#${filterId})`}
|
|
240
|
+
initial={false}
|
|
241
|
+
transition={
|
|
242
|
+
prefersReducedMotion
|
|
243
|
+
? { duration: 0 }
|
|
244
|
+
: {
|
|
245
|
+
duration: BREACH_RING_DURATION_S,
|
|
246
|
+
ease: "easeInOut",
|
|
247
|
+
repeat: Infinity,
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
/>
|
|
251
|
+
<defs>
|
|
252
|
+
<filter height="300%" id={filterId} width="300%" x="-100%" y="-100%">
|
|
253
|
+
<feGaussianBlur result="blur" stdDeviation={blurStdDeviation} />
|
|
254
|
+
<feMerge>
|
|
255
|
+
<feMergeNode in="blur" />
|
|
256
|
+
<feMergeNode in="SourceGraphic" />
|
|
257
|
+
</feMerge>
|
|
258
|
+
</filter>
|
|
259
|
+
</defs>
|
|
260
|
+
</g>
|
|
261
|
+
);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export function BlogPageBackground({ pageRef }: BlogPageBackgroundProps) {
|
|
265
|
+
const svgId = useId().replace(/:/g, "-");
|
|
266
|
+
const coreBreachFilterId = `${svgId}-core-breach-glow`;
|
|
267
|
+
const containerRef = useRef<HTMLDivElement | null>(null);
|
|
268
|
+
const resolvedTheme = useResolvedPapyrusTheme();
|
|
269
|
+
const [colors, setColors] = useState<PictogramColors>(FALLBACK_COLORS[resolvedTheme]);
|
|
270
|
+
const [size, setSize] = useState<Size>({ width: 0, height: 0 });
|
|
271
|
+
const [obstacles, setObstacles] = useState<ObstacleRect[]>([]);
|
|
272
|
+
const [enableStochasticPath, setEnableStochasticPath] = useState(false);
|
|
273
|
+
const [attackCycle, setAttackCycle] = useState(0);
|
|
274
|
+
const [compromisedNodes, setCompromisedNodes] = useState<Set<string>>(() => new Set());
|
|
275
|
+
const [compromisedEdges, setCompromisedEdges] = useState<Set<string>>(() => new Set());
|
|
276
|
+
const [throbbingStep, setThrobbingStep] = useState<BlogDefenseCompromiseStep | null>(null);
|
|
277
|
+
const [prefersReducedMotion, setPrefersReducedMotion] = useState(false);
|
|
278
|
+
|
|
279
|
+
useLayoutEffect(() => {
|
|
280
|
+
const container = containerRef.current;
|
|
281
|
+
if (!container) return;
|
|
282
|
+
|
|
283
|
+
const update = () => {
|
|
284
|
+
const rect = container.getBoundingClientRect();
|
|
285
|
+
const width = Math.ceil(rect.width);
|
|
286
|
+
const height = Math.ceil(rect.height);
|
|
287
|
+
if (width > 0 && height > 0) {
|
|
288
|
+
setSize((current) => (current.width === width && current.height === height ? current : { width, height }));
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
update();
|
|
293
|
+
const observer = new ResizeObserver(update);
|
|
294
|
+
observer.observe(container);
|
|
295
|
+
window.addEventListener("resize", update);
|
|
296
|
+
|
|
297
|
+
return () => {
|
|
298
|
+
observer.disconnect();
|
|
299
|
+
window.removeEventListener("resize", update);
|
|
300
|
+
};
|
|
301
|
+
}, []);
|
|
302
|
+
|
|
303
|
+
useLayoutEffect(() => {
|
|
304
|
+
const container = containerRef.current;
|
|
305
|
+
if (!container) return;
|
|
306
|
+
|
|
307
|
+
let page = pageRef.current ?? container.closest<HTMLElement>("main.presentation-page--blog");
|
|
308
|
+
let raf = 0;
|
|
309
|
+
let tries = 0;
|
|
310
|
+
|
|
311
|
+
const update = () => {
|
|
312
|
+
if (!page) {
|
|
313
|
+
page = pageRef.current ?? container.closest<HTMLElement>("main.presentation-page--blog");
|
|
314
|
+
}
|
|
315
|
+
if (!page) return false;
|
|
316
|
+
|
|
317
|
+
const containerRect = container.getBoundingClientRect();
|
|
318
|
+
const padding = containerRect.width < 420 ? 6 : containerRect.width < 780 ? 9 : 12;
|
|
319
|
+
const selectors = [
|
|
320
|
+
".presentation-header h1 span",
|
|
321
|
+
".presentation-header__meta",
|
|
322
|
+
".presentation-header__subtitle",
|
|
323
|
+
".presentation-header__date",
|
|
324
|
+
".presentation-header__tagline",
|
|
325
|
+
".presentation-section-nav a",
|
|
326
|
+
];
|
|
327
|
+
const next: ObstacleRect[] = [];
|
|
328
|
+
for (const selector of selectors) {
|
|
329
|
+
const elements = Array.from(page.querySelectorAll<HTMLElement>(selector));
|
|
330
|
+
for (const element of elements) {
|
|
331
|
+
for (const rect of elementObstacleRects(element, containerRect)) {
|
|
332
|
+
next.push({
|
|
333
|
+
x: Math.max(0, rect.x - padding),
|
|
334
|
+
y: Math.max(0, rect.y - padding),
|
|
335
|
+
width: rect.width + padding * 2,
|
|
336
|
+
height: rect.height + padding * 2,
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
const unique = next.filter((candidate, index) => {
|
|
342
|
+
return !next.slice(0, index).some((existing) => (
|
|
343
|
+
Math.abs(existing.x - candidate.x) < 1
|
|
344
|
+
&& Math.abs(existing.y - candidate.y) < 1
|
|
345
|
+
&& Math.abs(existing.width - candidate.width) < 1
|
|
346
|
+
&& Math.abs(existing.height - candidate.height) < 1
|
|
347
|
+
));
|
|
348
|
+
});
|
|
349
|
+
setObstacles(unique);
|
|
350
|
+
return unique.length > 0;
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
const ensureInitial = () => {
|
|
354
|
+
const found = update();
|
|
355
|
+
tries += 1;
|
|
356
|
+
if (!found && tries < 30) {
|
|
357
|
+
raf = window.requestAnimationFrame(ensureInitial);
|
|
358
|
+
}
|
|
359
|
+
};
|
|
360
|
+
ensureInitial();
|
|
361
|
+
|
|
362
|
+
const observer = new ResizeObserver(() => {
|
|
363
|
+
void update();
|
|
364
|
+
});
|
|
365
|
+
observer.observe(container);
|
|
366
|
+
if (page) observer.observe(page);
|
|
367
|
+
window.addEventListener("resize", update);
|
|
368
|
+
void document.fonts?.ready.then(() => {
|
|
369
|
+
void update();
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
return () => {
|
|
373
|
+
if (raf) window.cancelAnimationFrame(raf);
|
|
374
|
+
observer.disconnect();
|
|
375
|
+
window.removeEventListener("resize", update);
|
|
376
|
+
};
|
|
377
|
+
}, [pageRef]);
|
|
378
|
+
|
|
379
|
+
useEffect(() => {
|
|
380
|
+
setEnableStochasticPath(true);
|
|
381
|
+
}, []);
|
|
382
|
+
|
|
383
|
+
useEffect(() => {
|
|
384
|
+
if (!enableStochasticPath) return;
|
|
385
|
+
const interval = window.setInterval(() => {
|
|
386
|
+
setAttackCycle((current) => current + 1);
|
|
387
|
+
}, PICTOGRAM_CYCLE_MS);
|
|
388
|
+
return () => {
|
|
389
|
+
window.clearInterval(interval);
|
|
390
|
+
};
|
|
391
|
+
}, [enableStochasticPath]);
|
|
392
|
+
|
|
393
|
+
const graphLayout = useMemo(() => {
|
|
394
|
+
if (!size.width || !size.height) return null;
|
|
395
|
+
return layoutDefenseGraph({
|
|
396
|
+
width: size.width,
|
|
397
|
+
height: size.height,
|
|
398
|
+
obstacles,
|
|
399
|
+
});
|
|
400
|
+
}, [obstacles, size.height, size.width]);
|
|
401
|
+
|
|
402
|
+
const animationLayoutKey = `${size.width}:${size.height}`;
|
|
403
|
+
const compromiseSequence = useMemo(() => {
|
|
404
|
+
void attackCycle; // force recompute on attack cycle change
|
|
405
|
+
if (!graphLayout) return [];
|
|
406
|
+
const visiblePath = buildVisibleAttackPath({
|
|
407
|
+
nodes: graphLayout.nodes,
|
|
408
|
+
edges: graphLayout.edges,
|
|
409
|
+
coreId: BLOG_DEFENSE_CORE_NODE_ID,
|
|
410
|
+
stochastic: enableStochasticPath,
|
|
411
|
+
});
|
|
412
|
+
return buildCompromiseSequenceFromPath(visiblePath.nodeIds, graphLayout.edges);
|
|
413
|
+
}, [attackCycle, enableStochasticPath, graphLayout]);
|
|
414
|
+
const coreNode = useMemo(
|
|
415
|
+
() => graphLayout?.nodes.find((node) => node.id === BLOG_DEFENSE_CORE_NODE_ID),
|
|
416
|
+
[graphLayout?.nodes],
|
|
417
|
+
);
|
|
418
|
+
const coreBreached = compromisedNodes.has(BLOG_DEFENSE_CORE_NODE_ID);
|
|
419
|
+
|
|
420
|
+
useEffect(() => {
|
|
421
|
+
const container = containerRef.current;
|
|
422
|
+
if (!container) return;
|
|
423
|
+
setColors(readPictogramColors(container));
|
|
424
|
+
}, [resolvedTheme, animationLayoutKey]);
|
|
425
|
+
|
|
426
|
+
useEffect(() => {
|
|
427
|
+
if (!graphLayout || compromiseSequence.length === 0) return;
|
|
428
|
+
|
|
429
|
+
const motionQuery = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
430
|
+
setPrefersReducedMotion(motionQuery.matches);
|
|
431
|
+
setCompromisedNodes(new Set());
|
|
432
|
+
setCompromisedEdges(new Set());
|
|
433
|
+
setThrobbingStep(null);
|
|
434
|
+
|
|
435
|
+
if (motionQuery.matches) {
|
|
436
|
+
const nodes = new Set<string>();
|
|
437
|
+
const edges = new Set<string>();
|
|
438
|
+
for (const step of compromiseSequence) {
|
|
439
|
+
if (step.kind === "node") nodes.add(step.nodeId);
|
|
440
|
+
else edges.add(step.edgeId);
|
|
441
|
+
}
|
|
442
|
+
setCompromisedNodes(nodes);
|
|
443
|
+
setCompromisedEdges(edges);
|
|
444
|
+
return;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
const timeouts: number[] = [];
|
|
448
|
+
const perStepMs = stepDurationMs();
|
|
449
|
+
compromiseSequence.forEach((step, index) => {
|
|
450
|
+
const stepStartMs = START_DELAY_MS + index * perStepMs;
|
|
451
|
+
const compromiseAtMs = stepStartMs + THROB_MS;
|
|
452
|
+
|
|
453
|
+
timeouts.push(window.setTimeout(() => {
|
|
454
|
+
setThrobbingStep(step);
|
|
455
|
+
}, stepStartMs));
|
|
456
|
+
|
|
457
|
+
timeouts.push(window.setTimeout(() => {
|
|
458
|
+
setThrobbingStep((current) => (isSameThrobStep(current, step) ? null : current));
|
|
459
|
+
if (step.kind === "node") {
|
|
460
|
+
setCompromisedNodes((current) => new Set([...current, step.nodeId]));
|
|
461
|
+
} else {
|
|
462
|
+
setCompromisedEdges((current) => new Set([...current, step.edgeId]));
|
|
463
|
+
}
|
|
464
|
+
}, compromiseAtMs));
|
|
465
|
+
});
|
|
466
|
+
|
|
467
|
+
return () => {
|
|
468
|
+
timeouts.forEach((timeout) => window.clearTimeout(timeout));
|
|
469
|
+
};
|
|
470
|
+
}, [animationLayoutKey, attackCycle, compromiseSequence, graphLayout]);
|
|
471
|
+
|
|
472
|
+
if (SITE_BRAND.id !== "threat-intelligence") return null;
|
|
473
|
+
|
|
474
|
+
return (
|
|
475
|
+
<div
|
|
476
|
+
aria-hidden="true"
|
|
477
|
+
className="blog-page-background"
|
|
478
|
+
data-blog-page-background="true"
|
|
479
|
+
data-blog-page-background-obstacles={JSON.stringify(obstacles)}
|
|
480
|
+
ref={containerRef}
|
|
481
|
+
>
|
|
482
|
+
{graphLayout ? (
|
|
483
|
+
<svg
|
|
484
|
+
className="blog-page-background__svg"
|
|
485
|
+
preserveAspectRatio="xMaxYMin meet"
|
|
486
|
+
viewBox={`0 0 ${size.width} ${size.height}`}
|
|
487
|
+
>
|
|
488
|
+
<g className="blog-page-background__edges">
|
|
489
|
+
{graphLayout.edges.map((edge) => {
|
|
490
|
+
const isCompromised = compromisedEdges.has(edge.id);
|
|
491
|
+
const isThrobbing = throbbingStep?.kind === "edge" && throbbingStep.edgeId === edge.id;
|
|
492
|
+
const baseStrokeWidth = Math.max(1.4, graphLayout.scale * 1.2);
|
|
493
|
+
return (
|
|
494
|
+
<motion.line
|
|
495
|
+
animate={{
|
|
496
|
+
stroke: isCompromised
|
|
497
|
+
? colors.compromised
|
|
498
|
+
: isThrobbing
|
|
499
|
+
? [colors.edge, colors.throb, colors.edge]
|
|
500
|
+
: colors.edge,
|
|
501
|
+
strokeWidth: baseStrokeWidth,
|
|
502
|
+
}}
|
|
503
|
+
data-blog-edge-id={edge.id}
|
|
504
|
+
initial={false}
|
|
505
|
+
key={edge.id}
|
|
506
|
+
stroke={isCompromised ? colors.compromised : colors.edge}
|
|
507
|
+
strokeLinecap="round"
|
|
508
|
+
strokeWidth={baseStrokeWidth}
|
|
509
|
+
transition={
|
|
510
|
+
isThrobbing
|
|
511
|
+
? { duration: THROB_TRANSITION_S, ease: "easeInOut", repeat: 1 }
|
|
512
|
+
: { duration: COMPROMISE_TRANSITION_S, ease: "easeOut" }
|
|
513
|
+
}
|
|
514
|
+
x1={edge.x1}
|
|
515
|
+
x2={edge.x2}
|
|
516
|
+
y1={edge.y1}
|
|
517
|
+
y2={edge.y2}
|
|
518
|
+
/>
|
|
519
|
+
);
|
|
520
|
+
})}
|
|
521
|
+
</g>
|
|
522
|
+
{coreBreached && coreNode ? (
|
|
523
|
+
<CoreBreachEffect
|
|
524
|
+
colors={colors}
|
|
525
|
+
coreNode={coreNode}
|
|
526
|
+
filterId={coreBreachFilterId}
|
|
527
|
+
layer="rings"
|
|
528
|
+
prefersReducedMotion={prefersReducedMotion}
|
|
529
|
+
scale={graphLayout.scale}
|
|
530
|
+
/>
|
|
531
|
+
) : null}
|
|
532
|
+
<g className="blog-page-background__nodes">
|
|
533
|
+
{graphLayout.nodes.map((node) => {
|
|
534
|
+
const isCompromised = compromisedNodes.has(node.id);
|
|
535
|
+
const isThrobbing = throbbingStep?.kind === "node" && throbbingStep.nodeId === node.id;
|
|
536
|
+
const isCore = node.role === "core";
|
|
537
|
+
const coreBreachedNode = isCore && coreBreached;
|
|
538
|
+
const coreStrokeWidth = isCore ? Math.max(4, graphLayout.scale * 1.5) : 0;
|
|
539
|
+
const breachedCoreStrokeWidth = isCore
|
|
540
|
+
? Math.max(coreStrokeWidth * 1.35, graphLayout.scale * 2)
|
|
541
|
+
: 0;
|
|
542
|
+
return (
|
|
543
|
+
<motion.circle
|
|
544
|
+
animate={{
|
|
545
|
+
fill: isCompromised
|
|
546
|
+
? colors.compromised
|
|
547
|
+
: isThrobbing
|
|
548
|
+
? [colors.node, colors.throb, colors.node]
|
|
549
|
+
: colors.node,
|
|
550
|
+
r: node.radius,
|
|
551
|
+
stroke: coreBreachedNode || (isCompromised && isCore)
|
|
552
|
+
? colors.compromisedStroke
|
|
553
|
+
: "transparent",
|
|
554
|
+
strokeWidth: coreBreachedNode
|
|
555
|
+
? breachedCoreStrokeWidth
|
|
556
|
+
: isCompromised && isCore
|
|
557
|
+
? coreStrokeWidth
|
|
558
|
+
: 0,
|
|
559
|
+
}}
|
|
560
|
+
cx={node.x}
|
|
561
|
+
cy={node.y}
|
|
562
|
+
data-blog-node-id={node.id}
|
|
563
|
+
fill={isCompromised ? colors.compromised : colors.node}
|
|
564
|
+
initial={false}
|
|
565
|
+
key={node.id}
|
|
566
|
+
r={node.radius}
|
|
567
|
+
transition={
|
|
568
|
+
isThrobbing
|
|
569
|
+
? { duration: THROB_TRANSITION_S, ease: "easeInOut", repeat: 1 }
|
|
570
|
+
: { duration: COMPROMISE_TRANSITION_S, ease: "easeOut" }
|
|
571
|
+
}
|
|
572
|
+
/>
|
|
573
|
+
);
|
|
574
|
+
})}
|
|
575
|
+
</g>
|
|
576
|
+
{coreBreached && coreNode ? (
|
|
577
|
+
<CoreBreachEffect
|
|
578
|
+
colors={colors}
|
|
579
|
+
coreNode={coreNode}
|
|
580
|
+
filterId={coreBreachFilterId}
|
|
581
|
+
layer="halo"
|
|
582
|
+
prefersReducedMotion={prefersReducedMotion}
|
|
583
|
+
scale={graphLayout.scale}
|
|
584
|
+
/>
|
|
585
|
+
) : null}
|
|
586
|
+
</svg>
|
|
587
|
+
) : null}
|
|
588
|
+
</div>
|
|
589
|
+
);
|
|
590
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { SiteBrand } from "../../lib/site-brand";
|
|
2
|
+
import { DEFAULT_THEME_PACK_TOKENS } from "../../lib/site-stack";
|
|
3
|
+
|
|
4
|
+
export const threatIntelligenceBrand: SiteBrand = {
|
|
5
|
+
id: "threat-intelligence",
|
|
6
|
+
appTitle: "Threat Intelligence",
|
|
7
|
+
appDescription: "ANTHUS THREAT INTELLIGENCE from Anthus AI Solutions.",
|
|
8
|
+
mastheadTitle: "THREAT INTELLIGENCE",
|
|
9
|
+
mastheadSubtitle: "from Anthus AI Solutions",
|
|
10
|
+
mastheadTagline: "Practical advice for staying secure as the threat landscape shifts.",
|
|
11
|
+
backToHomeLabel: "Back to Threat Intelligence",
|
|
12
|
+
articleTitleSuffix: "Threat Intelligence",
|
|
13
|
+
placeholderByline: "Anthus AI Solutions",
|
|
14
|
+
defaultPresentation: "blog",
|
|
15
|
+
forcedPresentation: "blog",
|
|
16
|
+
textFont: 'system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif',
|
|
17
|
+
footerTitle: "ANTHUS THREAT INTELLIGENCE",
|
|
18
|
+
footerSubtitleOverride: "",
|
|
19
|
+
mastheadWordSplit: true,
|
|
20
|
+
mastheadDateFormat: "formatted",
|
|
21
|
+
mastheadSource: "brand",
|
|
22
|
+
sectionLinkStrategy: "anchor",
|
|
23
|
+
defaultVideoCredit: "Anthus Threat Intelligence video",
|
|
24
|
+
themePack: "threat-intelligence",
|
|
25
|
+
themeTokens: {
|
|
26
|
+
...DEFAULT_THEME_PACK_TOKENS,
|
|
27
|
+
paper: "#f5f0e6",
|
|
28
|
+
moss: "#1c1917",
|
|
29
|
+
ochre: "#ea580c",
|
|
30
|
+
ink: "#44403c",
|
|
31
|
+
},
|
|
32
|
+
renderer: { kind: "pretext" },
|
|
33
|
+
hosting: { kind: "amplify-ssr" },
|
|
34
|
+
opsChrome: "app",
|
|
35
|
+
corpusKey: "threat-intelligence",
|
|
36
|
+
steeringConfigPath: "corpora/papyrus-steering.yml",
|
|
37
|
+
newsroomSectionsConfigPath: "corpora/papyrus-newsroom-sections.yml",
|
|
38
|
+
analysisProfilesPath: "corpora/papyrus-analysis-profiles.yml",
|
|
39
|
+
publicationName: "Anthus Threat Intelligence",
|
|
40
|
+
};
|