{/* Copyright © Albert Lane. All Rights Reserved. Proprietary and Confidential — Albert Lane Proprietary Software License. Unauthorized use, copying, modification, or distribution is prohibited. License inquiries: https://albertlane.net */} import React, { useState, useMemo } from 'react'; import { Shield, Cpu, Zap, Layers, Activity, Server, Lock, Radio, Compass, AlertTriangle, ChevronRight, ChevronDown, MapPin, DollarSign, TrendingUp, Database, Network, CheckCircle2, Sliders, Eye, Crosshair, Building2, Flame, Scale } from 'lucide-react'; // ============================================================================ // OREGON SOVEREIGN COMPUTE DATASET (RECONCILED TO ARTIFACTS 1, 2 & 3) // ============================================================================ const REGIONS = { SILICON_FOREST: { id: 'SILICON_FOREST', name: 'Silicon Forest Nexus', bonusBadge: '+5 SUBSEA & IXP BONUS', color: '#c2410c', // Deep Crimson-Amber accent: '#fb923c', fill: 'rgba(194, 65, 12, 0.24)', stroke: '#ea580c', description: 'Trans-Pacific subsea landing corridor & carrier-dense wholesale colocation hub.' }, COLUMBIA_BASIN: { id: 'COLUMBIA_BASIN', name: 'Columbia Basin Hydro Bastion', bonusBadge: '+8 BPA HYDRO & LTREZ BONUS', color: '#0f766e', // Deep Emerald-Teal accent: '#2dd4bf', fill: 'rgba(15, 118, 110, 0.26)', stroke: '#14b8a6', description: 'Hyperscale AI & cloud campuses powered by BPA preference hydro & 15-yr rural tax shields.' }, CENTRAL_HIGH_DESERT: { id: 'CENTRAL_HIGH_DESERT', name: 'Central Oregon High-Desert Core', bonusBadge: '+4 FREE-AIR COOLING BONUS', color: '#b45309', // Burnished Gold-Ochre accent: '#fbbf24', fill: 'rgba(180, 83, 9, 0.25)', stroke: '#f59e0b', description: 'High-altitude evaporative & direct-to-chip campuses (Meta & Apple Prineville anchor).' }, WILLAMETTE_COAST_SOUTH: { id: 'WILLAMETTE_COAST_SOUTH', name: 'Willamette, Coastal & Southern Corridor', bonusBadge: '+3 SOVEREIGN EDGE & LANDING', color: '#6d28d9', // Royal Violet-Slate accent: '#c084fc', fill: 'rgba(109, 40, 217, 0.22)', stroke: '#8b5cf6', description: 'State sovereign enclaves, university HPC nodes, and Bandon trans-Pacific cable landing.' } }; const OPERATOR_STYLES = { AWS: { label: 'AWS Hyperscale', tokenBg: '#ea580c', tokenRing: '#fdba74', short: 'AWS' }, META: { label: 'Meta Platforms', tokenBg: '#2563eb', tokenRing: '#93c5fd', short: 'META' }, GOOGLE: { label: 'Google Cloud/AI', tokenBg: '#059669', tokenRing: '#6ee7b7', short: 'GOOG' }, COLO: { label: 'Sovereign Colo / IXP', tokenBg: '#b91c1c', tokenRing: '#fca5a5', short: 'COLO' }, STATE: { label: 'State / Subsea Edge', tokenBg: '#7c3aed', tokenRing: '#d8b4fe', short: 'EDGE' } }; const COUNTIES_DATA = [ { id: 'Washington', fips: '41067', region: 'SILICON_FOREST', dominantOp: 'COLO', facilities: 44, statusBreakdown: '31 Op / 4 Build / 9 Plan', itMw: 845.0, pue: 1.18, capexB: 11.41, sovereignCapexM: 1267.5, powerOpexM: 622.8, totalOpexM: 892.4, grossRevM: 2085.0, taxExemptM: 108.5, netTaxM: 36.8, opRakePct: 21.8, publicRakePct: 33.9, utility: 'PGE (Schedule 96 +29.7%) / Forest Grove L&P', tariffUsdMwh: 84.5, taxProgram: 'Standard EZ (Frozen June 5, 2026) + Local Oct 2026 Moratoriums', substationHeadroom: 'CRITICAL — 115kV/230kV Queued to 2029', fiberLatency: '0.4 ms to Hillsboro Subsea Landing (NCP/JUPITER/TPE)', wueStatus: 'Closed-Loop Liquid Cooling Mandated on New Builds', attestationReadyPct: 88, loadFactorPct: 82, svgPath: 'M 155,72 L 195,70 L 204,95 L 185,112 L 152,106 Z', tokenPos: { x: 177, y: 90 }, labelPos: { x: 177, y: 123 }, zips: [ { zip: '97124', city: 'Hillsboro', facilities: 35, itMw: 768.0, capexB: 10.37, opexM: 810.2, grossRevM: 1896.0, taxExemptM: 104.2, netTaxM: 31.4, opRakePct: 22.0, publicRakePct: 30.1, nodes: [ { id: 'OR-WASH-97124-QTS02A', op: 'QTS Data Centers', mw: 60.0, pue: 1.18, capexM: 810.0, sovCapexM: 90.0, powerOpexM: 44.2, totalOpexM: 63.3, revM: 148.1, exemptM: 8.2, taxM: 2.4, opRake: 22.15, pubRake: 29.27, tee: 'AMD SEV-SNP + FIPS 140-3 L4' }, { id: 'OR-WASH-97124-ALGN01', op: 'Aligned Data Centers', mw: 54.0, pue: 1.15, capexM: 729.0, sovCapexM: 81.0, powerOpexM: 39.8, totalOpexM: 57.0, revM: 133.3, exemptM: 7.4, taxM: 2.2, opRake: 22.13, pubRake: 29.73, tee: 'Intel TDX + Delta3 Liquid Enclave' }, { id: 'OR-WASH-97124-DLR11', op: 'Digital Realty (PDX11)', mw: 50.0, pue: 1.18, capexM: 675.0, sovCapexM: 75.0, powerOpexM: 36.8, totalOpexM: 52.7, revM: 123.4, exemptM: 6.8, taxM: 2.0, opRake: 22.20, pubRake: 29.41, tee: 'ServiceFabric Sovereign Mesh' }, { id: 'OR-WASH-97124-FLEX03', op: 'Flexential (Hillsboro 3)', mw: 36.0, pue: 1.19, capexM: 486.0, sovCapexM: 54.0, powerOpexM: 26.5, totalOpexM: 38.0, revM: 88.9, exemptM: 4.9, taxM: 1.5, opRake: 22.05, pubRake: 30.61, tee: 'Subsea Backhaul Attested Vault' }, { id: 'OR-WASH-97124-NTTHI1', op: 'NTT Global Data Centers', mw: 36.0, pue: 1.19, capexM: 486.0, sovCapexM: 54.0, powerOpexM: 26.5, totalOpexM: 38.0, revM: 88.9, exemptM: 4.9, taxM: 1.5, opRake: 22.05, pubRake: 30.61, tee: 'JUPITER Cable Sovereign Terminus' }, { id: 'OR-WASH-97124-STCK1A', op: 'STACK Infrastructure', mw: 36.0, pue: 1.19, capexM: 486.0, sovCapexM: 54.0, powerOpexM: 26.5, totalOpexM: 38.0, revM: 88.9, exemptM: 4.9, taxM: 1.5, opRake: 22.05, pubRake: 30.61, tee: 'Confidential GPU Pod Cluster' }, { id: 'OR-WASH-97124-VRUS01', op: 'Verrus Data Centers (Post-Moratorium)', mw: 12.0, pue: 1.16, capexM: 162.0, sovCapexM: 18.0, powerOpexM: 8.8, totalOpexM: 12.7, revM: 29.6, exemptM: 0.0, taxM: 1.1, opRake: 21.96, pubRake: 100.0, tee: 'Zero-Abatement Sovereign Node' } ] }, { zip: '97005', city: 'Beaverton (Central)', facilities: 4, itMw: 38.0, capexB: 0.51, opexM: 40.6, grossRevM: 93.5, taxExemptM: 2.4, netTaxM: 2.5, opRakePct: 21.1, publicRakePct: 104.2, nodes: [ { id: 'OR-WASH-97005-EDGX01', op: 'EdgeConneX PDX01', mw: 12.0, pue: 1.22, capexM: 162.0, sovCapexM: 18.0, powerOpexM: 8.9, totalOpexM: 12.8, revM: 29.5, exemptM: 0.8, taxM: 0.8, opRake: 21.02, pubRake: 100.0, tee: 'Metro Edge HSM Enclave' }, { id: 'OR-WASH-97005-EDGX02', op: 'EdgeConneX PDX02', mw: 12.0, pue: 1.22, capexM: 162.0, sovCapexM: 18.0, powerOpexM: 8.9, totalOpexM: 12.8, revM: 29.5, exemptM: 0.8, taxM: 0.8, opRake: 21.02, pubRake: 100.0, tee: 'Low-Latency AI Inference Node' }, { id: 'OR-WASH-97005-FLEXB1', op: 'Flexential Beaverton', mw: 10.0, pue: 1.25, capexM: 135.0, sovCapexM: 15.0, powerOpexM: 7.4, totalOpexM: 10.7, revM: 24.6, exemptM: 0.6, taxM: 0.6, opRake: 21.14, pubRake: 100.0, tee: 'Enterprise Sovereign Cloud' } ] }, { zip: '97116', city: 'Forest Grove', facilities: 2, itMw: 24.0, capexB: 0.32, opexM: 24.8, grossRevM: 58.5, taxExemptM: 1.9, netTaxM: 1.6, opRakePct: 21.7, publicRakePct: 84.2, nodes: [ { id: 'OR-WASH-97116-CRNE1A', op: 'Crane Data Centers Ph1', mw: 12.0, pue: 1.18, capexM: 162.0, sovCapexM: 18.0, powerOpexM: 8.6, totalOpexM: 12.4, revM: 29.25, exemptM: 0.95, taxM: 0.8, opRake: 21.71, pubRake: 84.21, tee: 'Municipal BPA-Fed Sovereign Pod' }, { id: 'OR-WASH-97116-CRNE1B', op: 'Crane Data Centers Ph2', mw: 12.0, pue: 1.18, capexM: 162.0, sovCapexM: 18.0, powerOpexM: 8.6, totalOpexM: 12.4, revM: 29.25, exemptM: 0.95, taxM: 0.8, opRake: 21.71, pubRake: 84.21, tee: 'Air-Gapped Sovereign Compute' } ] }, { zip: '97008', city: 'Beaverton (South)', facilities: 3, itMw: 15.0, capexB: 0.21, opexM: 16.8, grossRevM: 37.0, taxExemptM: 0.0, netTaxM: 1.3, opRakePct: 20.5, publicRakePct: 100.0, nodes: [ { id: 'OR-WASH-97008-DLR08', op: 'Digital Realty South', mw: 8.0, pue: 1.26, capexM: 108.0, sovCapexM: 12.0, powerOpexM: 6.3, totalOpexM: 9.0, revM: 19.7, exemptM: 0.0, taxM: 0.7, opRake: 20.30, pubRake: 100.0, tee: 'Unabated Sovereign Colocation' }, { id: 'OR-WASH-97008-NIKE01', op: 'Nike Enterprise Compute', mw: 5.0, pue: 1.28, capexM: 67.5, sovCapexM: 7.5, powerOpexM: 3.9, totalOpexM: 5.6, revM: 12.3, exemptM: 0.0, taxM: 0.4, opRake: 20.33, pubRake: 100.0, tee: 'Private Corporate Sovereign Core' } ] } ] }, { id: 'Multnomah', fips: '41051', region: 'SILICON_FOREST', dominantOp: 'COLO', facilities: 17, statusBreakdown: '15 Op / 0 Build / 2 Plan', itMw: 98.0, pue: 1.27, capexB: 1.37, sovereignCapexM: 147.0, powerOpexM: 78.6, totalOpexM: 112.8, grossRevM: 264.0, taxExemptM: 3.2, netTaxM: 14.8, opRakePct: 19.4, publicRakePct: 462.5, utility: 'PGE / PacifiCorp Metro', tariffUsdMwh: 82.0, taxProgram: 'Mature Ad Valorem Carrier Hotels (462.5% Public Rake)', substationHeadroom: 'CONSTRAINED — Downtown Underground Vaults', fiberLatency: '0.0 ms NWAX / Pittock IX Core Peering Hub', wueStatus: 'Municipal Chilled Water Loop', attestationReadyPct: 94, loadFactorPct: 79, svgPath: 'M 204,70 L 265,68 L 268,94 L 204,95 Z', tokenPos: { x: 234, y: 81 }, labelPos: { x: 234, y: 62 }, zips: [ { zip: '97209', city: 'Portland (Pearl / Pittock IX)', facilities: 8, itMw: 46.5, capexB: 0.65, opexM: 53.4, grossRevM: 127.5, taxExemptM: 1.1, netTaxM: 7.6, opRakePct: 19.8, publicRakePct: 690.9, nodes: [ { id: 'OR-MULT-97209-PITT01', op: 'Pittock Block / 1547 Realty', mw: 12.0, pue: 1.28, capexM: 168.0, sovCapexM: 18.0, powerOpexM: 9.7, totalOpexM: 13.8, revM: 33.0, exemptM: 0.0, taxM: 2.2, opRake: 19.39, pubRake: 690.9, tee: 'Pacific NW Root Peering Exchange' }, { id: 'OR-MULT-97209-EQNX01', op: 'Equinix PD1', mw: 8.5, pue: 1.26, capexM: 119.0, sovCapexM: 12.75, powerOpexM: 6.9, totalOpexM: 9.8, revM: 23.4, exemptM: 0.0, taxM: 1.55, opRake: 19.44, pubRake: 690.9, tee: 'Equinix Metal Sovereign Bare-Metal' }, { id: 'OR-MULT-97209-DBNK01', op: 'DataBank PDX1 & PDX2', mw: 12.0, pue: 1.28, capexM: 168.0, sovCapexM: 18.0, powerOpexM: 9.6, totalOpexM: 13.8, revM: 33.0, exemptM: 0.7, taxM: 1.8, opRake: 19.70, pubRake: 257.1, tee: 'FedRAMP High Sovereign Enclave' } ] }, { zip: '97230', city: 'Portland (Airport / East)', facilities: 4, itMw: 22.0, capexB: 0.31, opexM: 25.2, grossRevM: 58.0, taxExemptM: 1.4, netTaxM: 3.1, opRakePct: 19.3, publicRakePct: 221.4, nodes: [ { id: 'OR-MULT-97230-H5DC01', op: 'H5 Data Centers Portland', mw: 8.0, pue: 1.25, capexM: 112.0, sovCapexM: 12.0, powerOpexM: 6.4, totalOpexM: 9.2, revM: 21.1, exemptM: 0.7, taxM: 1.05, opRake: 19.19, pubRake: 150.0, tee: 'Columbia Gorge Fiber Gateway' } ] }, { zip: '97204', city: 'Portland (CBD Carrier Hotels)', facilities: 3, itMw: 14.5, capexB: 0.20, opexM: 16.7, grossRevM: 38.5, taxExemptM: 0.4, netTaxM: 2.1, opRakePct: 19.2, publicRakePct: 525.0, nodes: [ { id: 'OR-MULT-97204-USBC01', op: 'U.S. Bancorp Tower Carrier Hotel', mw: 6.5, pue: 1.30, capexM: 91.0, sovCapexM: 9.75, powerOpexM: 5.2, totalOpexM: 7.5, revM: 17.3, exemptM: 0.0, taxM: 1.05, opRake: 19.08, pubRake: 525.0, tee: 'Financial Sovereign Interconnect' } ] } ] }, { id: 'Wasco', fips: '41065', region: 'COLUMBIA_BASIN', dominantOp: 'GOOGLE', facilities: 9, statusBreakdown: '6 Op / 1 Build / 2 Plan', itMw: 540.0, pue: 1.12, capexB: 6.75, sovereignCapexM: 810.0, powerOpexM: 242.0, totalOpexM: 338.4, grossRevM: 982.0, taxExemptM: 24.6, netTaxM: 7.4, opRakePct: 31.1, publicRakePct: 30.1, utility: 'Northern Wasco County PUD (BPA Preference Hydro)', tariffUsdMwh: 45.2, taxProgram: 'Strategic Investment Program (SIP Cap + Water Infrastructure CSF)', substationHeadroom: 'MODERATE — The Dalles Dam Direct 230kV Feed', fiberLatency: '1.8 ms to Pittock IX / 2.2 ms to Hillsboro Subsea', wueStatus: 'Closed-Loop Aquifer Recovery & Industrial Reuse Agreement', attestationReadyPct: 92, loadFactorPct: 88, svgPath: 'M 268,94 L 342,96 L 348,162 L 285,165 L 268,125 Z', tokenPos: { x: 308, y: 128 }, labelPos: { x: 308, y: 154 }, zips: [ { zip: '97058', city: 'The Dalles', facilities: 9, itMw: 540.0, capexB: 6.75, opexM: 338.4, grossRevM: 982.0, taxExemptM: 24.6, netTaxM: 7.4, opRakePct: 31.1, publicRakePct: 30.1, nodes: [ { id: 'OR-WASC-97058-GOOG1A', op: 'Google LLC (The Dalles I-A)', mw: 75.0, pue: 1.12, capexM: 937.5, sovCapexM: 112.5, powerOpexM: 33.6, totalOpexM: 47.0, revM: 136.4, exemptM: 3.4, taxM: 1.05, opRake: 31.09, pubRake: 30.88, tee: 'Titan-M2 Sovereign TPU Pod' }, { id: 'OR-WASC-97058-GOOG2A', op: 'Google LLC (Campus II-A)', mw: 70.0, pue: 1.12, capexM: 875.0, sovCapexM: 105.0, powerOpexM: 31.4, totalOpexM: 43.9, revM: 127.3, exemptM: 3.2, taxM: 0.95, opRake: 31.11, pubRake: 29.69, tee: 'Confidential AI Training Enclave' }, { id: 'OR-WASC-97058-GOOG3A', op: 'Google LLC (Campus C3-A)', mw: 70.0, pue: 1.11, capexM: 875.0, sovCapexM: 105.0, powerOpexM: 31.4, totalOpexM: 43.9, revM: 127.3, exemptM: 3.2, taxM: 0.95, opRake: 31.11, pubRake: 29.69, tee: 'Zero-Evaporation Sovereign Compute' } ] } ] }, { id: 'Gilliam', fips: '41021', region: 'COLUMBIA_BASIN', dominantOp: 'AWS', facilities: 2, statusBreakdown: '0 Op / 0 Build / 2 Plan', itMw: 75.0, pue: 1.14, capexB: 0.94, sovereignCapexM: 112.5, powerOpexM: 34.2, totalOpexM: 47.5, grossRevM: 136.0, taxExemptM: 1.7, netTaxM: 0.5, opRakePct: 29.8, publicRakePct: 29.4, utility: 'Columbia Basin Electric Coop (BPA)', tariffUsdMwh: 46.5, taxProgram: 'Long-Term Rural Enterprise Zone (ORS 285C.409)', substationHeadroom: 'HIGH — Wind/Hydro Hybrid Interconnection', fiberLatency: '2.9 ms to Boardman / 4.1 ms to Hillsboro', wueStatus: 'Air-Cooled Chiller + Wind Co-Location', attestationReadyPct: 80, loadFactorPct: 85, svgPath: 'M 380,82 L 438,80 L 444,148 L 382,152 Z', tokenPos: { x: 412, y: 114 }, labelPos: { x: 412, y: 140 }, zips: [ { zip: '97812', city: 'Arlington', facilities: 2, itMw: 75.0, capexB: 0.94, opexM: 47.5, grossRevM: 136.0, taxExemptM: 1.7, netTaxM: 0.5, opRakePct: 29.8, publicRakePct: 29.4, nodes: [ { id: 'OR-GILL-97812-AWSAR1', op: 'AWS Arlington Campus 1', mw: 37.5, pue: 1.14, capexM: 468.75, sovCapexM: 56.25, powerOpexM: 17.1, totalOpexM: 23.75, revM: 68.0, exemptM: 0.85, taxM: 0.25, opRake: 29.85, pubRake: 29.41, tee: 'Nitro Sovereign Enclave Pipeline' }, { id: 'OR-GILL-97812-AWSAR2', op: 'AWS Arlington Campus 2', mw: 37.5, pue: 1.14, capexM: 468.75, sovCapexM: 56.25, powerOpexM: 17.1, totalOpexM: 23.75, revM: 68.0, exemptM: 0.85, taxM: 0.25, opRake: 29.85, pubRake: 29.41, tee: 'Wind-Firmed Sovereign Compute' } ] } ] }, { id: 'Morrow', fips: '41049', region: 'COLUMBIA_BASIN', dominantOp: 'AWS', facilities: 24, statusBreakdown: '16 Op / 3 Build / 5 Plan', itMw: 1180.0, pue: 1.15, capexB: 14.75, sovereignCapexM: 1770.0, powerOpexM: 535.6, totalOpexM: 748.2, grossRevM: 2145.0, taxExemptM: 84.2, netTaxM: 14.6, opRakePct: 30.4, publicRakePct: 17.3, utility: 'Umatilla Electric Cooperative (BPA Preference)', tariffUsdMwh: 44.8, taxProgram: 'Long-Term Rural Enterprise Zone + SIP ($84.2M Annual Shield)', substationHeadroom: 'TIGHT — Port of Morrow 500kV Backbone Expansion', fiberLatency: '3.1 ms to Hillsboro Subsea / us-west-2 Core', wueStatus: 'Columbia River Industrial Allocation + Nitrate Mitigation', attestationReadyPct: 91, loadFactorPct: 87, svgPath: 'M 438,80 L 502,76 L 508,154 L 444,148 Z', tokenPos: { x: 472, y: 112 }, labelPos: { x: 472, y: 142 }, zips: [ { zip: '97818', city: 'Boardman (Port of Morrow)', facilities: 22, itMw: 1145.0, capexB: 14.31, opexM: 725.8, grossRevM: 2081.0, taxExemptM: 82.4, netTaxM: 14.1, opRakePct: 30.5, publicRakePct: 17.1, nodes: [ { id: 'OR-MORR-97818-AWS50A', op: 'AWS us-west-2 (PDX50-A)', mw: 65.0, pue: 1.15, capexM: 812.5, sovCapexM: 97.5, powerOpexM: 29.5, totalOpexM: 41.2, revM: 118.1, exemptM: 4.7, taxM: 0.8, opRake: 30.65, pubRake: 17.02, tee: 'AWS Nitro Sovereign Gov/Commercial' }, { id: 'OR-MORR-97818-AWS54A', op: 'AWS us-west-2 (PDX54-A)', mw: 65.0, pue: 1.15, capexM: 812.5, sovCapexM: 97.5, powerOpexM: 29.5, totalOpexM: 41.2, revM: 118.1, exemptM: 4.7, taxM: 0.8, opRake: 30.65, pubRake: 17.02, tee: 'Trainium2 Sovereign AI Cluster' }, { id: 'OR-MORR-97818-AWS60A', op: 'AWS us-west-2 (PDX60-A)', mw: 65.0, pue: 1.14, capexM: 812.5, sovCapexM: 97.5, powerOpexM: 29.5, totalOpexM: 41.2, revM: 118.1, exemptM: 4.7, taxM: 0.8, opRake: 30.65, pubRake: 17.02, tee: 'FIPS 140-3 L4 CloudHSM Root' }, { id: 'OR-MORR-97818-RWN01A', op: 'Rowan Digital Infrastructure', mw: 35.0, pue: 1.15, capexM: 437.5, sovCapexM: 52.5, powerOpexM: 15.9, totalOpexM: 22.2, revM: 63.6, exemptM: 2.5, taxM: 0.4, opRake: 30.50, pubRake: 16.00, tee: 'Dedicated Sovereign Hyperscale Shell' } ] }, { zip: '97844', city: 'Irrigon', facilities: 2, itMw: 35.0, capexB: 0.44, opexM: 22.4, grossRevM: 64.0, taxExemptM: 1.8, netTaxM: 0.5, opRakePct: 29.7, publicRakePct: 27.8, nodes: [ { id: 'OR-MORR-97844-AWSIR1', op: 'AWS Irrigon Annex', mw: 25.0, pue: 1.15, capexM: 312.5, sovCapexM: 37.5, powerOpexM: 11.5, totalOpexM: 16.0, revM: 45.7, exemptM: 1.3, taxM: 0.35, opRake: 29.76, pubRake: 26.92, tee: 'Nitro Enclave Edge Relay' }, { id: 'OR-MORR-97844-DMGB01', op: 'DMG Blockchain Solutions', mw: 10.0, pue: 1.18, capexM: 125.0, sovCapexM: 15.0, powerOpexM: 4.6, totalOpexM: 6.4, revM: 18.3, exemptM: 0.5, taxM: 0.15, opRake: 29.51, pubRake: 30.00, tee: 'High-Density Sovereign Compute' } ] } ] }, { id: 'Umatilla', fips: '41059', region: 'COLUMBIA_BASIN', dominantOp: 'AWS', facilities: 22, statusBreakdown: '15 Op / 2 Build / 5 Plan', itMw: 910.0, pue: 1.15, capexB: 11.38, sovereignCapexM: 1365.0, powerOpexM: 425.6, totalOpexM: 596.5, grossRevM: 1655.0, taxExemptM: 64.8, netTaxM: 11.9, opRakePct: 29.5, publicRakePct: 18.4, utility: 'Umatilla Electric Coop (BPA) / PacifiCorp 2027 Class', tariffUsdMwh: 46.8, taxProgram: 'Greater Umatilla Enterprise Zone + SIP ($64.8M Annual Shield)', substationHeadroom: 'MODERATE — McNary 500kV / Feedville Substations', fiberLatency: '3.4 ms to Hillsboro Subsea / Spokane East Route', wueStatus: 'Closed-Loop Hybrid Cooling', attestationReadyPct: 89, loadFactorPct: 86, svgPath: 'M 502,76 L 598,74 L 602,164 L 508,154 Z', tokenPos: { x: 552, y: 116 }, labelPos: { x: 552, y: 146 }, zips: [ { zip: '97882', city: 'Umatilla', facilities: 13, itMw: 535.0, capexB: 6.69, opexM: 350.4, grossRevM: 973.0, taxExemptM: 38.6, netTaxM: 6.8, opRakePct: 29.6, publicRakePct: 17.6, nodes: [ { id: 'OR-UMAT-97882-AWSLD1', op: 'AWS Lind Road Campus 1', mw: 55.0, pue: 1.15, capexM: 687.5, sovCapexM: 82.5, powerOpexM: 25.7, totalOpexM: 36.0, revM: 100.0, exemptM: 4.0, taxM: 0.7, opRake: 29.70, pubRake: 17.50, tee: 'Nitro Sovereign Availability Zone' }, { id: 'OR-UMAT-97882-AWSLV1', op: 'AWS Livestock Rd Campus 1', mw: 55.0, pue: 1.15, capexM: 687.5, sovCapexM: 82.5, powerOpexM: 25.7, totalOpexM: 36.0, revM: 100.0, exemptM: 4.0, taxM: 0.7, opRake: 29.70, pubRake: 17.50, tee: 'Confidential Inference Cluster' }, { id: 'OR-UMAT-97882-AWSCW1', op: 'AWS Cottonwood Campus 1', mw: 45.0, pue: 1.14, capexM: 562.5, sovCapexM: 67.5, powerOpexM: 21.0, totalOpexM: 29.5, revM: 81.8, exemptM: 3.2, taxM: 0.6, opRake: 29.58, pubRake: 18.75, tee: 'Air-Gapped Sovereign Storage' } ] }, { zip: '97838', city: 'Hermiston', facilities: 9, itMw: 375.0, capexB: 4.69, opexM: 246.1, grossRevM: 682.0, taxExemptM: 26.2, netTaxM: 5.1, opRakePct: 29.4, publicRakePct: 19.5, nodes: [ { id: 'OR-UMAT-97838-AWSPN1', op: 'AWS Penney Ave Campus 1', mw: 50.0, pue: 1.15, capexM: 625.0, sovCapexM: 75.0, powerOpexM: 23.5, totalOpexM: 32.8, revM: 90.9, exemptM: 3.5, taxM: 0.7, opRake: 29.37, pubRake: 20.00, tee: 'Sovereign AI Compute Enclave' }, { id: 'OR-UMAT-97838-AWSFV1', op: 'AWS Feedville Rd Campus 1', mw: 45.0, pue: 1.15, capexM: 562.5, sovCapexM: 67.5, powerOpexM: 21.1, totalOpexM: 29.5, revM: 81.8, exemptM: 3.1, taxM: 0.6, opRake: 29.46, pubRake: 19.35, tee: 'Nitro KMS Hardware Root' }, { id: 'OR-UMAT-97838-SABY01', op: 'Sabey Intergate Columbia 1', mw: 35.0, pue: 1.16, capexM: 437.5, sovCapexM: 52.5, powerOpexM: 16.4, totalOpexM: 23.0, revM: 63.7, exemptM: 2.5, taxM: 0.5, opRake: 29.36, pubRake: 20.00, tee: 'Multi-Tenant Sovereign Colo' } ] } ] }, { id: 'Crook', fips: '41013', region: 'CENTRAL_HIGH_DESERT', dominantOp: 'META', facilities: 14, statusBreakdown: '9 Op / 2 Build / 3 Plan', itMw: 620.0, pue: 1.13, capexB: 7.75, sovereignCapexM: 930.0, powerOpexM: 295.4, totalOpexM: 415.0, grossRevM: 1128.0, taxExemptM: 41.5, netTaxM: 8.9, opRakePct: 28.9, publicRakePct: 21.4, utility: 'Central Electric Coop / PacifiCorp', tariffUsdMwh: 48.2, taxProgram: 'Prineville LTREZ (Bldg 1 Roll-Off onto Tax Rolls in 2027)', substationHeadroom: 'MODERATE — Grizzly 500kV / Ponderosa 230kV', fiberLatency: '3.8 ms to Hillsboro / Direct Bend-Reno Route', wueStatus: 'Aquifer Storage & Recovery + City Wastewater Reuse', attestationReadyPct: 90, loadFactorPct: 86, svgPath: 'M 332,192 L 436,188 L 442,256 L 336,258 Z', tokenPos: { x: 386, y: 220 }, labelPos: { x: 386, y: 248 }, zips: [ { zip: '97754', city: 'Prineville', facilities: 14, itMw: 620.0, capexB: 7.75, opexM: 415.0, grossRevM: 1128.0, taxExemptM: 41.5, netTaxM: 8.9, opRakePct: 28.9, publicRakePct: 21.4, nodes: [ { id: 'OR-CROO-97754-META01', op: 'Meta Platforms (Prineville 1)', mw: 50.0, pue: 1.14, capexM: 625.0, sovCapexM: 75.0, powerOpexM: 23.8, totalOpexM: 33.5, revM: 91.0, exemptM: 3.4, taxM: 0.8, opRake: 28.90, pubRake: 23.53, tee: '2027 LTREZ Roll-Off Sovereign Core' }, { id: 'OR-CROO-97754-META06', op: 'Meta Platforms (Prineville 6)', mw: 50.0, pue: 1.13, capexM: 625.0, sovCapexM: 75.0, powerOpexM: 23.8, totalOpexM: 33.5, revM: 91.0, exemptM: 3.4, taxM: 0.75, opRake: 28.96, pubRake: 22.06, tee: 'Llama Sovereign AI Training Pod' }, { id: 'OR-CROO-97754-APPL01', op: 'Apple Inc. (Prineville 1)', mw: 45.0, pue: 1.15, capexM: 562.5, sovCapexM: 67.5, powerOpexM: 21.4, totalOpexM: 30.1, revM: 81.9, exemptM: 3.0, taxM: 0.65, opRake: 29.00, pubRake: 21.67, tee: 'Private Cloud Compute (PCC) Enclave' }, { id: 'OR-CROO-97754-APPL02', op: 'Apple Inc. (Prineville 2)', mw: 45.0, pue: 1.15, capexM: 562.5, sovCapexM: 67.5, powerOpexM: 21.4, totalOpexM: 30.1, revM: 81.9, exemptM: 3.0, taxM: 0.5, opRake: 29.18, pubRake: 16.67, tee: 'Hardware-Attested iCloud Sovereign' } ] } ] }, { id: 'Deschutes', fips: '41017', region: 'CENTRAL_HIGH_DESERT', dominantOp: 'COLO', facilities: 4, statusBreakdown: '3 Op / 0 Build / 1 Plan', itMw: 18.5, pue: 1.24, capexB: 0.25, sovereignCapexM: 27.75, powerOpexM: 14.9, totalOpexM: 21.4, grossRevM: 48.5, taxExemptM: 1.1, netTaxM: 2.4, opRakePct: 20.6, publicRakePct: 218.2, utility: 'PacifiCorp / Central Electric Coop', tariffUsdMwh: 76.5, taxProgram: 'Bend/Redmond Enterprise Zones (218.2% Public Rake)', substationHeadroom: 'HEALTHY — High-Desert Solar Co-Location', fiberLatency: '3.6 ms to Hillsboro / 0.5 ms to Prineville', wueStatus: 'Zero-Water Air-Side Economization', attestationReadyPct: 86, loadFactorPct: 81, svgPath: 'M 255,212 L 332,212 L 336,282 L 258,284 Z', tokenPos: { x: 294, y: 246 }, labelPos: { x: 294, y: 274 }, zips: [ { zip: '97701', city: 'Bend', facilities: 3, itMw: 14.0, capexB: 0.19, opexM: 16.2, grossRevM: 36.5, taxExemptM: 0.9, netTaxM: 1.8, opRakePct: 20.8, publicRakePct: 200.0, nodes: [ { id: 'OR-DESC-97701-ONCK01', op: 'OneNeck IT Solutions (The Vault)', mw: 6.5, pue: 1.22, capexM: 87.75, sovCapexM: 9.75, powerOpexM: 5.3, totalOpexM: 7.5, revM: 16.9, exemptM: 0.5, taxM: 0.8, opRake: 20.71, pubRake: 160.0, tee: 'Tier III Seismic Sovereign Vault' }, { id: 'OR-DESC-97701-USSG01', op: 'US Signal (Bend)', mw: 4.5, pue: 1.24, capexM: 60.75, sovCapexM: 6.75, powerOpexM: 3.6, totalOpexM: 5.2, revM: 11.7, exemptM: 0.4, taxM: 0.55, opRake: 20.94, pubRake: 137.5, tee: 'Regional Disaster Recovery Enclave' } ] }, { zip: '97756', city: 'Redmond', facilities: 1, itMw: 4.5, capexB: 0.06, opexM: 5.2, grossRevM: 12.0, taxExemptM: 0.2, netTaxM: 0.6, opRakePct: 20.4, publicRakePct: 300.0, nodes: [ { id: 'OR-DESC-97756-RDMD01', op: 'Redmond Edge / Central OR Node', mw: 4.5, pue: 1.25, capexM: 60.75, sovCapexM: 6.75, powerOpexM: 3.6, totalOpexM: 5.2, revM: 12.0, exemptM: 0.2, taxM: 0.6, opRake: 20.42, pubRake: 300.0, tee: 'Central OR Fiber Junction Node' } ] } ] }, { id: 'Marion', fips: '41047', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'STATE', facilities: 2, statusBreakdown: '2 Op / 0 Build / 0 Plan', itMw: 14.0, pue: 1.25, capexB: 0.18, sovereignCapexM: 21.0, powerOpexM: 11.1, totalOpexM: 15.8, grossRevM: 35.0, taxExemptM: 0.0, netTaxM: 1.1, opRakePct: 22.9, publicRakePct: 100.0, utility: 'PGE / Salem Electric', tariffUsdMwh: 79.0, taxProgram: 'State Government Sovereign Core + Salem Commercial', substationHeadroom: 'HEALTHY', fiberLatency: '1.1 ms to Portland / 1.4 ms to Hillsboro', wueStatus: 'Closed-Loop Chiller', attestationReadyPct: 96, loadFactorPct: 84, svgPath: 'M 192,126 L 254,126 L 254,168 L 192,168 Z', tokenPos: { x: 222, y: 147 }, labelPos: { x: 222, y: 178 }, zips: [ { zip: '97301', city: 'Salem', facilities: 2, itMw: 14.0, capexB: 0.18, opexM: 15.8, grossRevM: 35.0, taxExemptM: 0.0, netTaxM: 1.1, opRakePct: 22.9, publicRakePct: 100.0, nodes: [ { id: 'OR-MARI-97301-ORETS1', op: 'Oregon Enterprise Tech Services', mw: 10.0, pue: 1.24, capexM: 130.0, sovCapexM: 15.0, powerOpexM: 7.9, totalOpexM: 11.3, revM: 25.0, exemptM: 0.0, taxM: 0.75, opRake: 22.80, pubRake: 100.0, tee: 'State Sovereign Governance Core' } ] } ] }, { id: 'Benton', fips: '41003', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'STATE', facilities: 2, statusBreakdown: '1 Op / 0 Build / 1 Plan', itMw: 12.5, pue: 1.23, capexB: 0.16, sovereignCapexM: 18.75, powerOpexM: 9.5, totalOpexM: 13.6, grossRevM: 31.0, taxExemptM: 0.0, netTaxM: 1.3, opRakePct: 22.6, publicRakePct: 100.0, utility: 'Consumers Power / PacifiCorp', tariffUsdMwh: 74.0, taxProgram: 'Unabated Research & Regional Compute', substationHeadroom: 'HEALTHY', fiberLatency: '1.9 ms to Portland IX', wueStatus: 'Closed-Loop Air/Liquid', attestationReadyPct: 85, loadFactorPct: 80, svgPath: 'M 140,168 L 188,168 L 188,208 L 140,208 Z', tokenPos: { x: 164, y: 188 }, labelPos: { x: 164, y: 218 }, zips: [ { zip: '97333', city: 'Corvallis', facilities: 2, itMw: 12.5, capexB: 0.16, opexM: 13.6, grossRevM: 31.0, taxExemptM: 0.0, netTaxM: 1.3, opRakePct: 22.6, publicRakePct: 100.0, nodes: [ { id: 'OR-BENT-97333-COYS01', op: 'Coyote Springs / OSU Research Node', mw: 8.0, pue: 1.22, capexM: 104.0, sovCapexM: 12.0, powerOpexM: 6.1, totalOpexM: 8.7, revM: 19.8, exemptM: 0.0, taxM: 0.8, opRake: 22.47, pubRake: 100.0, tee: 'Academic AI & Sovereign HPC' } ] } ] }, { id: 'Lane', fips: '41039', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'COLO', facilities: 3, statusBreakdown: '3 Op / 0 Build / 0 Plan', itMw: 11.0, pue: 1.26, capexB: 0.14, sovereignCapexM: 16.5, powerOpexM: 7.9, totalOpexM: 11.2, grossRevM: 27.5, taxExemptM: 0.4, netTaxM: 1.6, opRakePct: 23.3, publicRakePct: 400.0, utility: 'Eugene Water & Electric Board (EWEB Municipal Hydro)', tariffUsdMwh: 64.0, taxProgram: 'EWEB Municipal Hydro + 400% Public Fiscal Rake', substationHeadroom: 'HEALTHY', fiberLatency: '2.4 ms to Portland / I-5 Backbone', wueStatus: 'Closed-Loop Municipal', attestationReadyPct: 84, loadFactorPct: 81, svgPath: 'M 122,216 L 236,216 L 236,268 L 122,268 Z', tokenPos: { x: 178, y: 242 }, labelPos: { x: 178, y: 278 }, zips: [ { zip: '97401', city: 'Eugene & Springfield', facilities: 3, itMw: 11.0, capexB: 0.14, opexM: 11.2, grossRevM: 27.5, taxExemptM: 0.4, netTaxM: 1.6, opRakePct: 23.3, publicRakePct: 400.0, nodes: [ { id: 'OR-LANE-97401-LUMN05', op: 'Lumen Technologies (Eugene)', mw: 5.0, pue: 1.25, capexM: 65.0, sovCapexM: 7.5, powerOpexM: 3.6, totalOpexM: 5.1, revM: 12.5, exemptM: 0.2, taxM: 0.75, opRake: 23.20, pubRake: 375.0, tee: 'I-5 Optical Relay & Sovereign Edge' } ] } ] }, { id: 'Coos', fips: '41011', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'STATE', facilities: 1, statusBreakdown: '1 Op / 0 Build / 0 Plan', itMw: 3.5, pue: 1.22, capexB: 0.05, sovereignCapexM: 5.25, powerOpexM: 2.8, totalOpexM: 4.1, grossRevM: 11.5, taxExemptM: 0.0, netTaxM: 0.5, opRakePct: 28.7, publicRakePct: 100.0, utility: 'Coos-Curry Electric Coop (BPA)', tariffUsdMwh: 58.0, taxProgram: 'Subsea Cable Landing Station (28.7% Operator Rake)', substationHeadroom: 'HEALTHY', fiberLatency: '0.0 ms Trans-Pacific Subsea Landing (Bandon)', wueStatus: 'Coastal Ambient Cooling', attestationReadyPct: 95, loadFactorPct: 92, svgPath: 'M 92,276 L 144,276 L 144,334 L 92,334 Z', tokenPos: { x: 118, y: 304 }, labelPos: { x: 118, y: 345 }, zips: [ { zip: '97411', city: 'Bandon (Subsea Landing)', facilities: 1, itMw: 3.5, capexB: 0.05, opexM: 4.1, grossRevM: 11.5, taxExemptM: 0.0, netTaxM: 0.5, opRakePct: 28.7, publicRakePct: 100.0, nodes: [ { id: 'OR-COOS-97411-LUMN07', op: 'Lumen Bandon Cable Landing Station', mw: 3.5, pue: 1.22, capexM: 49.0, sovCapexM: 5.25, powerOpexM: 2.8, totalOpexM: 4.1, revM: 11.5, exemptM: 0.0, taxM: 0.5, opRake: 28.70, pubRake: 100.0, tee: 'Trans-Pacific Optical Encryption Terminus' } ] } ] }, { id: 'Jackson', fips: '41029', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'COLO', facilities: 1, statusBreakdown: '1 Op / 0 Build / 0 Plan', itMw: 4.5, pue: 1.28, capexB: 0.06, sovereignCapexM: 6.75, powerOpexM: 3.8, totalOpexM: 5.4, grossRevM: 12.0, taxExemptM: 0.0, netTaxM: 0.6, opRakePct: 20.8, publicRakePct: 100.0, utility: 'PacifiCorp Southern Oregon', tariffUsdMwh: 79.5, taxProgram: 'Unabated Southern Gateway', substationHeadroom: 'HEALTHY', fiberLatency: '4.5 ms to Portland / 4.2 ms to Bay Area', wueStatus: 'Closed-Loop Air-Cooled', attestationReadyPct: 82, loadFactorPct: 80, svgPath: 'M 156,318 L 226,318 L 226,368 L 156,368 Z', tokenPos: { x: 191, y: 342 }, labelPos: { x: 191, y: 378 }, zips: [ { zip: '97501', city: 'Medford', facilities: 1, itMw: 4.5, capexB: 0.06, opexM: 5.4, grossRevM: 12.0, taxExemptM: 0.0, netTaxM: 0.6, opRakePct: 20.8, publicRakePct: 100.0, nodes: [ { id: 'OR-JACK-97501-DCW02', op: 'Data Center West (Medford)', mw: 4.5, pue: 1.28, capexM: 60.75, sovCapexM: 6.75, powerOpexM: 3.8, totalOpexM: 5.4, revM: 12.0, exemptM: 0.0, taxM: 0.6, opRake: 20.83, pubRake: 100.0, tee: 'OR-CA Border Sovereign Gateway' } ] } ] }, { id: 'Baker', fips: '41001', region: 'WILLAMETTE_COAST_SOUTH', dominantOp: 'STATE', facilities: 1, statusBreakdown: '1 Op / 0 Build / 0 Plan', itMw: 2.0, pue: 1.24, capexB: 0.03, sovereignCapexM: 3.0, powerOpexM: 1.5, totalOpexM: 2.2, grossRevM: 5.2, taxExemptM: 0.0, netTaxM: 0.2, opRakePct: 25.0, publicRakePct: 100.0, utility: 'Oregon Trail Electric Coop (BPA)', tariffUsdMwh: 52.0, taxProgram: 'Eastern Corridor Edge Relay', substationHeadroom: 'HIGH', fiberLatency: '5.1 ms to Portland / 2.1 ms to Boise', wueStatus: 'Free-Air Economizer', attestationReadyPct: 81, loadFactorPct: 78, svgPath: 'M 610,168 L 678,168 L 678,236 L 610,236 Z', tokenPos: { x: 644, y: 202 }, labelPos: { x: 644, y: 247 }, zips: [ { zip: '97814', city: 'Baker City', facilities: 1, itMw: 2.0, capexB: 0.03, opexM: 2.2, grossRevM: 5.2, taxExemptM: 0.0, netTaxM: 0.2, opRakePct: 25.0, publicRakePct: 100.0, nodes: [ { id: 'OR-BAKE-97814-OTEC01', op: 'Baker City Edge Facility', mw: 2.0, pue: 1.24, capexM: 26.0, sovCapexM: 3.0, powerOpexM: 1.5, totalOpexM: 2.2, revM: 5.2, exemptM: 0.0, taxM: 0.2, opRake: 25.00, pubRake: 100.0, tee: 'I-84 Mountain Corridor Sovereign Node' } ] } ] } ]; // Supply / Fiber Logistics Lines linking territories like Risk attack/maneuver arrows const FIBER_ROUTES = [ { from: { x: 177, y: 90 }, to: { x: 234, y: 81 }, label: 'Hillsboro-Pittock IX 400G Ring' }, { from: { x: 234, y: 81 }, to: { x: 308, y: 128 }, label: 'Columbia Gorge Low-Latency Trunk' }, { from: { x: 308, y: 128 }, to: { x: 412, y: 114 }, label: 'I-84 Eastbound Sovereign Backbone' }, { from: { x: 412, y: 114 }, to: { x: 472, y: 112 }, label: 'Boardman 500kV / Fiber Corridor' }, { from: { x: 472, y: 112 }, to: { x: 552, y: 116 }, label: 'Umatilla-Hermiston Mesh' }, { from: { x: 308, y: 128 }, to: { x: 386, y: 220 }, label: 'Deschutes Canyon High-Desert Link' }, { from: { x: 386, y: 220 }, to: { x: 294, y: 246 }, label: 'Prineville-Bend Redundant Ring' }, { from: { x: 177, y: 90 }, to: { x: 222, y: 147 }, label: 'Willamette Sovereign State Link' }, { from: { x: 222, y: 147 }, to: { x: 164, y: 188 }, label: 'Mid-Valley Optical Route' }, { from: { x: 164, y: 188 }, to: { x: 178, y: 242 }, label: 'Eugene Municipal Hydro Link' }, { from: { x: 178, y: 242 }, to: { x: 118, y: 304 }, label: 'Bandon Subsea Cable Backhaul' }, { from: { x: 178, y: 242 }, to: { x: 191, y: 342 }, label: 'Southern I-5 Border Trunk' }, { from: { x: 552, y: 116 }, to: { x: 644, y: 202 }, label: 'Blue Mountain / Boise Corridor' } ]; // Tactical Mat Cards (inspired by Thalmor player mat slots) const TACTICAL_LENSES = [ { id: 'CAPEX', title: 'CAPEX & GRID', subtitle: 'Build + Sovereign Upgrade', icon: Building2, color: '#f59e0b' }, { id: 'OPEX', title: 'OPEX & TARIFFS', subtitle: 'Power, WUE & Utility Class', icon: Zap, color: '#ef4444' }, { id: 'TAX', title: 'TAX & RAKE', subtitle: 'LTREZ, SIP & Public Yield', icon: Scale, color: '#10b981' }, { id: 'SOVEREIGN', title: 'SOVEREIGN TEE/HSM', subtitle: 'FIPS 140-3 L4 & Enclaves', icon: Shield, color: '#3b82f6' }, { id: 'LOGISTICS', title: 'FIBER & LOGISTICS', subtitle: 'Substation & Optical Mesh', icon: Network, color: '#a855f7' } ]; // ============================================================================ // MAIN ENTERPRISE HUD COMPONENT // ============================================================================ export default function App() { const [selectedCountyId, setSelectedCountyId] = useState('Washington'); const [selectedZipCode, setSelectedZipCode] = useState('97124'); const [selectedNodeId, setSelectedNodeId] = useState('OR-WASH-97124-QTS02A'); const [viewGranularity, setViewGranularity] = useState('STRATEGIC'); // STRATEGIC | ZIP | NODE const [activeLens, setActiveLens] = useState('CAPEX'); // CAPEX | OPEX | TAX | SOVEREIGN | LOGISTICS const [threatLevel, setThreatLevel] = useState(9); // 1-12 Dragon Health / Regulatory Threat Track const [regionFilter, setRegionFilter] = useState('ALL'); const [completedOpsSteps, setCompletedOpsSteps] = useState([1, 2]); const selectedCounty = useMemo( () => COUNTIES_DATA.find((c) => c.id === selectedCountyId) || COUNTIES_DATA[0], [selectedCountyId] ); const selectedZip = useMemo(() => { const found = selectedCounty.zips.find((z) => z.zip === selectedZipCode); return found || selectedCounty.zips[0]; }, [selectedCounty, selectedZipCode]); const selectedNode = useMemo(() => { const found = selectedZip.nodes.find((n) => n.id === selectedNodeId); return found || selectedZip.nodes[0]; }, [selectedZip, selectedNodeId]); const handleSelectCounty = (county) => { setSelectedCountyId(county.id); const firstZip = county.zips[0]; setSelectedZipCode(firstZip.zip); if (firstZip.nodes && firstZip.nodes.length > 0) { setSelectedNodeId(firstZip.nodes[0].id); } }; const handleSelectZip = (zipObj) => { setSelectedZipCode(zipObj.zip); if (zipObj.nodes && zipObj.nodes.length > 0) { setSelectedNodeId(zipObj.nodes[0].id); } setViewGranularity('NODE'); }; const toggleOpsStep = (stepNum) => { setCompletedOpsSteps((prev) => prev.includes(stepNum) ? prev.filter((s) => s !== stepNum) : [...prev, stepNum] ); }; // Compute dynamic threat-adjusted margin preview for the selected county const threatPenaltyPct = useMemo(() => { // Threat track 1-12 models PGE Schedule 96 (+29.7%) & moratorium pressure return ((threatLevel - 5) * 0.45).toFixed(1); }, [threatLevel]); return (
{/* ==================================================================== TOP AR^OS ENTERPRISE HUD HEADER ==================================================================== */}
{/* Brand & Live Spatial Telemetry Status */}
AR^OS v4.2 // SPATIAL OPS 146 SOVEREIGN NODES ONLINE

AR^OS // SOVEREIGN COMPUTE & LOGISTICS COMMAND HUD

{/* Statewide KPI Strip */}
Tracked Nodes
146 / 14 Co.
Effective IT Load
4,334.0 MW
Total CapEx
$55.22 B
Gross Revenue
$8.57 B/yr
Tax Exempted
$330.0 M/yr
Public Fiscal Rake
31.1%
{/* Granularity Mode Switcher */}
{[ { id: 'STRATEGIC', label: 'STRATEGIC BOARD', icon: Compass }, { id: 'ZIP', label: 'ZIP CLUSTER', icon: MapPin }, { id: 'NODE', label: 'NODE GRANULARITY', icon: Server } ].map((mode) => { const Icon = mode.icon; const active = viewGranularity === mode.id; return ( ); })}
{/* ==================================================================== MAIN WORKSPACE: RISK GAMEBOARD + DEEP ANALYTICS DRAWER ==================================================================== */}
{/* LEFT / CENTER (7 COLS): TABLETOP RISK GAMEBOARD */}
{/* Board Top Trim: Risk Banner & Regional Continent Bonuses */}
RISK // OREGON SELECT TERRITORY PAWN FOR AR^OS TELEMETRY
{/* Region Filter Pills (Continent Bonus Legend) */}
{Object.values(REGIONS).map((reg) => ( ))}
{/* Parchment & Cartographic SVG Gameboard Surface */}
{/* Subtle Parchment Grid & Cartographic Lines */} {/* Parchment Coordinate Grid */} {/* Stylized Oregon State Outer Cartographic Parchment Silhouette */} {/* Columbia River & Pacific Ocean Cartographic Waterlines */} PACIFIC OCEAN // SUBSEA CABLES COLUMBIA RIVER HYDRO CORRIDOR (BPA) {/* Ornate Tabletop Compass Rose (Bottom-Center-Left, like Skyrim Risk Board) */} N {/* Strategic Region Shield Callouts (Risk Continent Bonus Plaques) */} SILICON FOREST (+5 IXP) COLUMBIA BASIN (+8 HYDRO) HIGH-DESERT CORE (+4 AIR) {/* Fiber & Logistics Supply Lines (Dashed Risk Maneuver Lines) */} {FIBER_ROUTES.map((route, idx) => ( ))} {/* County Territories (Clickable Risk Regions) */} {COUNTIES_DATA.map((county) => { const reg = REGIONS[county.region]; const isSelected = county.id === selectedCountyId; const dimmed = regionFilter !== 'ALL' && regionFilter !== county.region; return ( handleSelectCounty(county)} className="cursor-pointer transition-opacity duration-200" style={{ opacity: dimmed ? 0.28 : 1 }} > ); })} {/* Tactile 3D-Styled Risk Unit Tokens / Pawns & County Badges */} {COUNTIES_DATA.map((county) => { const isSelected = county.id === selectedCountyId; const dimmed = regionFilter !== 'ALL' && regionFilter !== county.region; const opStyle = OPERATOR_STYLES[county.dominantOp] || OPERATOR_STYLES.COLO; const { x, y } = county.tokenPos; return ( handleSelectCounty(county)} className="cursor-pointer" style={{ opacity: dimmed ? 0.3 : 1 }} > {/* Selection Pulse Ring */} {isSelected && ( )} {/* 3D Tabletop Pawn Base */} {/* Inner Metallic Shield Ring */} {/* Facility Node Count Inside Pawn */} {county.facilities} {/* Operator Tag Pill Above Pawn */} {opStyle.short} {/* Territory Name & MW Capacity Plaque */} {county.id.toUpperCase()} {county.itMw.toLocaleString()} MW ); })} {/* Bottom-Left Overlay: GRID & REGULATORY THREAT TRACK (Inspired by Skyrim Risk Dragon Health Track) */}
GRID & MORATORIUM THREAT TRACK
LVL {threatLevel}/12 ({threatPenaltyPct > 0 ? `-${threatPenaltyPct}%` : `+${Math.abs(threatPenaltyPct)}%`} MARGIN)
{Array.from({ length: 12 }, (_, idx) => { const num = idx + 1; const active = num <= threatLevel; const isCurrent = num === threatLevel; return ( ); })}
1–5: Pre-2026 Tariff 9+: Sch. 96 (+29.7%) & EZ Freeze
{/* Bottom-Right Overlay: Operator Pawn Legend */}
Pawn Token Dominance
{Object.values(OPERATOR_STYLES).map((op) => (
{op.short}
))}
{/* RIGHT (5 COLS): DEEP ANALYTICS & PROGRESSIVE DRILL-DOWN DRAWER */}
{/* ==================================================================== BOTTOM TACTICAL COMMAND & TELEMETRY MAT (INSPIRED BY THALMOR MAT) ==================================================================== */}
{/* Top Bar of Command Mat: Mat Title + 4 Numbered Telemetry Pip Tracks (Like Thalmor Tracks) */}
AR^OS TACTICAL COMMAND MAT // DEPLOYED NODE TELEMETRY

{selectedCounty.id.toUpperCase()} — {selectedNode.id}

{/* Numbered Pip Tracks (0 to 10 Scale, modeled on the Thalmor Player Mat) */}
{[ { label: 'LOAD FACTOR', valDisplay: `${selectedCounty.loadFactorPct}%`, pips: Math.round(selectedCounty.loadFactorPct / 10), barColor: 'bg-amber-500' }, { label: 'PUE EFFICIENCY', valDisplay: `${selectedNode.pue.toFixed(2)} PUE`, pips: Math.max(1, Math.min(10, Math.round((1.4 - selectedNode.pue) * 33))), barColor: 'bg-teal-500' }, { label: 'TEE ATTESTATION', valDisplay: `${selectedCounty.attestationReadyPct}%`, pips: Math.round(selectedCounty.attestationReadyPct / 10), barColor: 'bg-blue-500' }, { label: 'PUBLIC RAKE INDEX', valDisplay: `${selectedCounty.publicRakePct}%`, pips: Math.min(10, Math.max(1, Math.round(selectedCounty.publicRakePct / 35))), barColor: 'bg-emerald-500' } ].map((track) => (
{track.label} {track.valDisplay}
{Array.from({ length: 10 }, (_, idx) => { const pipNum = idx + 1; const filled = pipNum <= track.pips; return (
{pipNum}
); })}
))}
{/* Lower Mat Grid: Left Order of Operations + 5 Tactical Lens Cards */}
{/* Left (3 Cols): ORDER OF OPERATIONS (Interactive Logistics Checklist) */}
AR^OS ORDER OF OPERATIONS
    {[ { step: 1, title: 'REINFORCE GRID & SUBSTATION', desc: `${selectedCounty.utility.split('(')[0].trim()}` }, { step: 2, title: 'ATTEST SOVEREIGN TEE / HSM', desc: `${selectedNode.tee.split('+')[0].trim()}` }, { step: 3, title: 'ROUTE DARK FIBER BACKHAUL', desc: `${selectedCounty.fiberLatency.split('/')[0].trim()}` }, { step: 4, title: 'AUDIT TAX SHIELD & CSF RAKE', desc: `Net Tax $${selectedCounty.netTaxM}M/yr` }, { step: 5, title: 'SETTLE PUBLIC LEDGER BLOCK', desc: `FIPS ${selectedCounty.fips} // ZIP ${selectedZip.zip}` } ].map((item) => { const done = completedOpsSteps.includes(item.step); return (
  1. toggleOpsStep(item.step)} className={`flex items-start gap-2 p-1.5 rounded cursor-pointer transition ${ done ? 'bg-emerald-950/30 text-emerald-200' : 'hover:bg-[#221a14] text-[#d6c7b4]' }`} > {item.step}
    {item.title}
    {item.desc}
  2. ); })}
{/* Right (9 Cols): 5 TACTICAL LENS CARDS + ACTIVE INSIGHT READOUT */}
{/* 5 Card Slots (Spell / Weapon / Armor / Dragon Shout / Resources analogue) */}
{TACTICAL_LENSES.map((lens) => { const Icon = lens.icon; const isActive = activeLens === lens.id; return ( ); })}
{/* Active Tactical Lens Deep Readout Panel */}
{activeLens === 'CAPEX' && (
Node Construction & Sovereign CapEx
${selectedNode.capexM.toFixed(2)}M Total Node Build

Includes ${selectedNode.sovCapexM.toFixed(2)}M in Sovereign Hardware Upgrades (FIPS 140-3 Level 4 HSMs, TEE enclaves, and air-gapped optical routing).

County CapEx Concentration
${selectedCounty.capexB.toFixed(2)}B ({selectedCounty.id})

Amortized on a 15-year core infrastructure / 5-year sovereign compute schedule (${(selectedNode.mw * 1.02).toFixed(1)}M/yr depreciation load).

Grid Interconnection Allocation
{selectedCounty.substationHeadroom}

Oregon PUC large-load rules require facilities ≥20 MW to fund dedicated substation & transmission upgrades upfront.

)} {activeLens === 'OPEX' && (
Annual Power & Total Node OpEx
${selectedNode.totalOpexM.toFixed(2)}M/yr (${selectedNode.powerOpexM.toFixed(2)}M Power)

Blended tariff of ${selectedCounty.tariffUsdMwh}/MWh at {selectedNode.pue} design PUE and {selectedCounty.loadFactorPct}% capacity factor.

Utility Tariff Class
{selectedCounty.utility}

Threat Track Level {threatLevel}/12 applies a {threatPenaltyPct > 0 ? `-${threatPenaltyPct}%` : `+${Math.abs(threatPenaltyPct)}%`} margin variance from 2026 large-load rate restructuring.

Water & Cooling Telemetry (WUE)
{selectedCounty.wueStatus}

Continuous municipal water & closed-loop dielectric cooling tracked on AR^OS environmental telemetry.

)} {activeLens === 'TAX' && (
Node Revenue vs. Tax Abatement
${selectedNode.revM.toFixed(2)}M/yr Gross Revenue

Exempted Property Tax: ${selectedNode.exemptM.toFixed(2)}M/yr | Net Tax & CSF Paid: ${selectedNode.taxM.toFixed(2)}M/yr.

Operator vs. Public Financial Rake
{selectedNode.opRake}% Op // {selectedNode.pubRake}% Pub

Public Fiscal Rake measures county tax + community service fee yield relative to abated ad valorem taxes.

Statutory Incentive Regime
{selectedCounty.taxProgram}

June 5, 2026 OAR 123-650-0105 paused new Standard EZ approvals while rural LTREZ/SIP caps remain statutorily active.

)} {activeLens === 'SOVEREIGN' && (
Hardware Root of Trust
{selectedNode.tee}

Cryptographic attestation verified via AR^OS local governance telemetry nodes with zero out-of-state key escrow.

Sovereign Compute Revenue Uplift
+22.5% Yield Premium

Jurisdiction-locked confidential AI inference & bare-metal enclaves generate ${(selectedNode.revM * 0.184).toFixed(2)}M/yr in sovereign uplift.

County Attestation Readiness
{selectedCounty.attestationReadyPct}% Fleet Verified

All {selectedCounty.facilities} facilities in {selectedCounty.id} County indexed in PostgreSQL/JSON-LD ledger (`FIPS {selectedCounty.fips}`).

)} {activeLens === 'LOGISTICS' && (
Optical & Subsea Backhaul
{selectedCounty.fiberLatency}

Direct 400G/800G DWDM wavelength protection linking Hillsboro/Bandon trans-Pacific cable landings to Columbia Basin AI clusters.

Regional Supply Bonus
{REGIONS[selectedCounty.region].bonusBadge}

{REGIONS[selectedCounty.region].description}

Supply Chain & Diesel/HVO Reserves
72-Hr Tier IV N+2 Fuel & BESS Buffer

Automated grid demand-response curtailment credits monetized via regional utility ancillary markets.

)}
{/* ==================================================================== PROPRIETARY LICENSE FOOTER BADGE ==================================================================== */}
); }