@mark1russell7/guidebook-preparedness 0.3.1 → 0.5.0

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/build/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { GRAPH_SCHEMA, SOCIETY_STATES } from "@mark1russell7/guidebook-plans";
1
2
  // src/data/chart.ts
2
3
  const ALL = [
3
4
  "ready",
@@ -12,8 +13,9 @@ const ALL = [
12
13
  /**
13
14
  * The tabs of the printed plan, in the sequence of the binder. Each tab is for one need or one subject.
14
15
  * Each state of society is a section in each tab. The page budgets come from the print.
16
+ * The long-term tab has the steps of the cuts by need, not the steps of each case.
15
17
  */
16
- function tabsOf(cases) {
18
+ function tabsOf(cases, cuts) {
17
19
  return [
18
20
  {
19
21
  id: "start",
@@ -101,7 +103,8 @@ function tabsOf(cases) {
101
103
  keys: [
102
104
  "phone.network",
103
105
  "network.access",
104
- "cash.retail"
106
+ "cash.retail",
107
+ "society.services"
105
108
  ],
106
109
  phases: ALL,
107
110
  pages: 6
@@ -109,7 +112,7 @@ function tabsOf(cases) {
109
112
  {
110
113
  id: "long-term",
111
114
  title: "The long term: 5 weeks to 5 years",
112
- keys: cases,
115
+ keys: cuts,
113
116
  phases: [
114
117
  "P3",
115
118
  "P4",
@@ -118,11 +121,11 @@ function tabsOf(cases) {
118
121
  pages: 10
119
122
  },
120
123
  {
121
- id: "hazards",
122
- title: "The hazards, case by case",
124
+ id: "catalog",
125
+ title: "The hazard catalog",
123
126
  keys: cases,
124
127
  phases: ALL,
125
- pages: 24
128
+ pages: 8
126
129
  },
127
130
  {
128
131
  id: "appendices",
@@ -135,7 +138,9 @@ function tabsOf(cases) {
135
138
  }
136
139
  /** The tab of the chart itself. It is the entry of the binder, so no path of the chart goes to it. */
137
140
  const START_TAB = "start";
138
- /** The nodes of the master chart: 3 signals, 5 questions and 12 ends. */
141
+ /** The tab of the hazard catalog. An end with a card sends the reader to the card of the event in it. */
142
+ const CATALOG_TAB = "catalog";
143
+ /** The nodes of the master chart: 3 signals, 4 questions and 11 ends. */
139
144
  const MASTER = [
140
145
  {
141
146
  id: "sense",
@@ -147,7 +152,7 @@ const MASTER = [
147
152
  id: "threat",
148
153
  kind: "signal",
149
154
  text: "You learn of a threat that comes: a storm, a flood, a fire, a disease, unrest, an attack or a war.",
150
- next: "known"
155
+ next: "place"
151
156
  },
152
157
  {
153
158
  id: "supply",
@@ -169,24 +174,10 @@ const MASTER = [
169
174
  next: "place"
170
175
  }]
171
176
  },
172
- {
173
- id: "known",
174
- kind: "question",
175
- text: "Does the hazards tab have a page for this event?",
176
- sources: [],
177
- reasoning: "A page for the event gives its special risks. An event with no page still breaks down into needs, so the chart continues.",
178
- answers: [{
179
- label: "Yes",
180
- next: "to-hazards"
181
- }, {
182
- label: "No",
183
- next: "place"
184
- }]
185
- },
186
177
  {
187
178
  id: "place",
188
179
  kind: "question",
189
- text: "Is your place safe to stay in: no fire, gas, flood water, damage or bad air?",
180
+ text: "Is your place safe to stay in: no fire, gas, flood water, damage, bad air, violence or an illness that spreads?",
190
181
  sources: [],
191
182
  reasoning: "Your place holds your supplies, so stay when it is safe. Go when the place itself is the danger.",
192
183
  answers: [{
@@ -215,7 +206,7 @@ const MASTER = [
215
206
  society: "partly"
216
207
  },
217
208
  {
218
- label: "No",
209
+ label: "No: no help comes for 24 hours when you call, and the shops stay closed",
219
210
  next: "to-long",
220
211
  society: "none"
221
212
  }
@@ -261,26 +252,23 @@ const MASTER = [
261
252
  {
262
253
  id: "to-72h",
263
254
  kind: "goto",
264
- text: "Go to the tab: the first 72 hours.",
265
- tab: "first-72h"
266
- },
267
- {
268
- id: "to-hazards",
269
- kind: "goto",
270
- text: "Go to the page of the event in the hazards tab.",
271
- tab: "hazards"
255
+ text: "Go to the tab: the first 72 hours. Read the card of the event too.",
256
+ tab: "first-72h",
257
+ card: true
272
258
  },
273
259
  {
274
260
  id: "to-stay",
275
261
  kind: "goto",
276
- text: "Go to the tab: stay.",
277
- tab: "stay"
262
+ text: "Go to the tab: stay. Read the card of the event too.",
263
+ tab: "stay",
264
+ card: true
278
265
  },
279
266
  {
280
267
  id: "to-go",
281
268
  kind: "goto",
282
- text: "Go to the tab: go.",
283
- tab: "go"
269
+ text: "Go to the tab: go. Read the card of the event too.",
270
+ tab: "go",
271
+ card: true
284
272
  },
285
273
  {
286
274
  id: "to-long",
@@ -331,439 +319,223 @@ const MASTER = [
331
319
  tab: "appendices"
332
320
  }
333
321
  ];
334
- // src/data/sources.ts
335
- /** The date of the last check of the sources against their pages. */
336
- const CHECKED = "2026-11-21";
337
- const federal = (id, by, title, url) => ({
338
- id,
339
- title,
340
- url,
341
- license: "us-public-domain",
342
- checked: CHECKED,
343
- by
344
- });
345
- /** The sources of the content, each with its id, its title, its address and the date of its last check. */
346
- const SOURCES = [
347
- federal("ready-winter", "Ready.gov", "Winter Weather", "https://www.ready.gov/winter-weather"),
348
- federal("ready-hurricanes", "Ready.gov", "Hurricanes", "https://www.ready.gov/hurricanes"),
349
- federal("ready-floods", "Ready.gov", "Floods", "https://www.ready.gov/floods"),
350
- federal("ready-heat", "Ready.gov", "Extreme Heat", "https://www.ready.gov/heat"),
351
- federal("ready-tornadoes", "Ready.gov", "Tornadoes", "https://www.ready.gov/tornadoes"),
352
- federal("ready-earthquakes", "Ready.gov", "Earthquakes", "https://www.ready.gov/earthquakes"),
353
- federal("ready-fire", "Ready.gov", "Home Fires", "https://www.ready.gov/home-fires"),
354
- federal("ready-wildfires", "Ready.gov", "Wildfires", "https://www.ready.gov/wildfires"),
355
- federal("ready-hazmat", "Ready.gov", "Chemicals and Hazardous Materials Incidents", "https://www.ready.gov/hazmat"),
356
- federal("ready-radiation", "Ready.gov", "Radiation Emergencies", "https://www.ready.gov/radiation"),
357
- federal("ready-pandemic", "Ready.gov", "Pandemics", "https://www.ready.gov/pandemic"),
358
- federal("ready-evacuation", "Ready.gov", "Evacuation", "https://www.ready.gov/evacuation"),
359
- federal("ready-power", "Ready.gov", "Power Outages", "https://www.ready.gov/power-outages"),
360
- federal("ready-water", "Ready.gov", "Water", "https://www.ready.gov/water"),
361
- federal("ready-kit", "Ready.gov", "Build a Kit", "https://www.ready.gov/kit"),
362
- federal("ready-safety", "Ready.gov", "Safety Skills", "https://www.ready.gov/safety-skills"),
363
- federal("cdc-co", "CDC", "Carbon Monoxide Poisoning Basics", "https://www.cdc.gov/carbon-monoxide/about/index.html"),
364
- federal("cdc-water", "CDC", "How to Make Water Safe in an Emergency", "https://www.cdc.gov/water-emergency/about/index.html"),
365
- federal("fda-drugs", "FDA", "Safe Drug Use After a Natural Disaster", "https://www.fda.gov/drugs/emergency-preparedness-drugs/safe-drug-use-after-natural-disaster"),
366
- {
367
- id: "wikipedia-en",
368
- title: "Wikipedia, the English edition",
369
- url: "https://en.wikipedia.org/",
370
- license: "cc-by-sa-4.0",
371
- checked: CHECKED,
372
- by: "Wikipedia contributors"
373
- },
374
- {
375
- id: "wikibooks-en",
376
- title: "Wikibooks, the English edition",
377
- url: "https://en.wikibooks.org/",
378
- license: "cc-by-sa-4.0",
379
- checked: CHECKED,
380
- by: "Wikibooks contributors"
381
- },
382
- {
383
- id: "appropedia",
384
- title: "Appropedia",
385
- url: "https://www.appropedia.org/",
386
- license: "cc-by-sa-4.0",
387
- checked: CHECKED,
388
- by: "Appropedia contributors"
389
- },
390
- {
391
- id: "energypedia",
392
- title: "energypedia",
393
- url: "https://energypedia.info/",
394
- license: "cc-by-sa-4.0",
395
- checked: CHECKED,
396
- by: "energypedia contributors"
397
- },
398
- federal("cdc-heart", "CDC", "About Heart Attack Symptoms, Risk, and Recovery", "https://www.cdc.gov/heart-disease/about/heart-attack.html"),
399
- federal("cdc-stroke", "CDC", "Signs and Symptoms of Stroke", "https://www.cdc.gov/stroke/signs-symptoms/index.html"),
400
- {
401
- ...federal("ic3-genai", "FBI IC3", "Criminals Use Generative Artificial Intelligence to Facilitate Financial Fraud", "https://www.ic3.gov/PSA/2024/PSA241203"),
402
- checked: "2026-11-22"
403
- },
404
- {
405
- ...federal("ready-financial", "Ready.gov", "Financial Preparedness", "https://www.ready.gov/financial-preparedness"),
406
- checked: "2026-11-22"
407
- },
408
- {
409
- ...federal("ready-cyber", "Ready.gov", "Cybersecurity", "https://www.ready.gov/cybersecurity"),
410
- checked: "2026-11-22"
411
- },
412
- {
413
- ...federal("ready-alerts", "Ready.gov", "Emergency Alerts", "https://www.ready.gov/alerts"),
414
- checked: "2026-11-22"
415
- },
416
- {
417
- ...federal("nws-nwr", "NOAA National Weather Service", "NOAA Weather Radio All Hazards", "https://www.weather.gov/nwr/"),
418
- checked: "2026-11-22"
419
- },
420
- {
421
- ...federal("dol-ui", "U.S. Department of Labor", "How Do I File for Unemployment Insurance?", "https://www.dol.gov/general/topic/unemployment-insurance"),
422
- checked: "2026-11-22"
423
- },
424
- {
425
- ...federal("ftc-voice", "FTC Consumer Advice", "Scammers use AI to enhance their family emergency schemes", "https://consumer.ftc.gov/consumer-alerts/2023/03/scammers-use-ai-enhance-their-family-emergency-schemes"),
426
- checked: "2026-11-22"
427
- },
428
- {
429
- id: "fi-72h-shelter",
430
- title: "Sheltering indoors",
431
- url: "https://72tuntia.fi/en/sheltering-indoors/",
432
- license: "all-rights-reserved",
433
- checked: "2026-11-22",
434
- by: "SPEK, 72 hours"
435
- },
436
- {
437
- id: "fi-72h-info",
438
- title: "Communication in a disruption and reliable information",
439
- url: "https://72tuntia.fi/en/communication-in-a-disruption-and-reliable-information/",
440
- license: "all-rights-reserved",
441
- checked: "2026-11-22",
442
- by: "SPEK, 72 hours"
443
- },
444
- {
445
- id: "fi-72h-cyber",
446
- title: "Cybersecurity",
447
- url: "https://72tuntia.fi/en/cybersecurity/",
448
- license: "all-rights-reserved",
449
- checked: "2026-11-22",
450
- by: "SPEK, 72 hours"
451
- },
452
- {
453
- ...federal("ready-shelter", "Ready.gov", "Shelter", "https://www.ready.gov/shelter"),
454
- checked: "2026-11-22"
455
- },
456
- {
457
- ...federal("ready-food", "Ready.gov", "Food", "https://www.ready.gov/food"),
458
- checked: "2026-11-22"
459
- },
460
- {
461
- ...federal("cdc-resp", "CDC", "Preventing Respiratory Illnesses", "https://www.cdc.gov/respiratory-viruses/prevention/index.html"),
462
- checked: "2026-11-22"
463
- },
464
- {
465
- ...federal("fdic-insurance", "FDIC", "Understanding Deposit Insurance", "https://www.fdic.gov/resources/deposit-insurance/understanding-deposit-insurance"),
466
- checked: "2026-11-22"
467
- },
468
- {
469
- id: "uk-hazards",
470
- title: "Be informed about hazards",
471
- url: "https://beready.campaign.gov.uk/be-informed-about-hazards/",
472
- license: "ogl-uk-3.0",
473
- checked: "2026-11-22",
474
- by: "UK Government, Be Ready"
475
- },
476
- {
477
- id: "uk-ready",
478
- title: "Be ready for emergencies",
479
- url: "https://beready.campaign.gov.uk/be-ready-for-emergencies/",
480
- license: "ogl-uk-3.0",
481
- checked: "2026-11-22",
482
- by: "UK Government, Be Ready"
483
- },
322
+ // src/data/hazards.ts
323
+ /** The node where each signal joins the graph. */
324
+ const ENTRY = {
325
+ sense: "life",
326
+ threat: "place",
327
+ supply: "society"
328
+ };
329
+ /** Each case: its title and its signals. The first signal gives the entry. */
330
+ const TABLE = [
331
+ [
332
+ "met.winter.storm",
333
+ "Winter storm",
334
+ ["threat", "supply"]
335
+ ],
336
+ [
337
+ "met.tropical.hurricane",
338
+ "Hurricane",
339
+ ["threat", "sense"]
340
+ ],
341
+ [
342
+ "met.flood",
343
+ "Flood",
344
+ ["sense", "threat"]
345
+ ],
346
+ [
347
+ "met.heat.extreme",
348
+ "Extreme heat",
349
+ ["threat", "supply"]
350
+ ],
351
+ [
352
+ "met.tornado",
353
+ "Tornado",
354
+ ["sense", "threat"]
355
+ ],
356
+ [
357
+ "geo.earthquake",
358
+ "Earthquake",
359
+ ["sense"]
360
+ ],
361
+ [
362
+ "fire.wildfire",
363
+ "Wildfire",
364
+ ["sense", "threat"]
365
+ ],
366
+ [
367
+ "fire.structure",
368
+ "Fire in a building",
369
+ ["sense"]
370
+ ],
371
+ [
372
+ "infra.power.outage",
373
+ "Power outage",
374
+ ["supply"]
375
+ ],
376
+ [
377
+ "infra.water.outage",
378
+ "Water outage",
379
+ ["supply"]
380
+ ],
381
+ [
382
+ "health.outbreak",
383
+ "Outbreak of a disease",
384
+ ["threat"]
385
+ ],
386
+ [
387
+ "health.medical-emergency",
388
+ "Medical emergency",
389
+ ["sense"]
390
+ ],
391
+ [
392
+ "cbrne.hazardous-materials",
393
+ "Release of hazardous materials",
394
+ ["sense", "threat"]
395
+ ],
396
+ [
397
+ "cbrne.radiological",
398
+ "Release of radioactive material",
399
+ ["sense", "threat"]
400
+ ],
401
+ [
402
+ "civic.ai-collapse",
403
+ "Collapse driven by AI",
404
+ ["supply", "threat"]
405
+ ],
406
+ [
407
+ "health.outbreak.pandemic",
408
+ "Pandemic",
409
+ ["threat", "supply"]
410
+ ],
411
+ [
412
+ "infra.supply-chain.food",
413
+ "Failure of the food supply",
414
+ ["supply"]
415
+ ],
416
+ [
417
+ "infra.power.grid-collapse",
418
+ "Long collapse of the grid",
419
+ ["supply"]
420
+ ],
421
+ [
422
+ "cyber.infrastructure-attack",
423
+ "Cyberattack on infrastructure",
424
+ ["supply"]
425
+ ],
426
+ [
427
+ "civic.economy.collapse",
428
+ "Financial collapse",
429
+ ["supply"]
430
+ ],
431
+ [
432
+ "security.civil-unrest",
433
+ "Civil unrest",
434
+ ["sense", "threat"]
435
+ ],
436
+ [
437
+ "cbrne.nuclear-detonation",
438
+ "Nuclear detonation",
439
+ ["sense"]
440
+ ],
441
+ [
442
+ "security.nuclear-war",
443
+ "Nuclear war",
444
+ ["threat", "sense"]
445
+ ],
446
+ [
447
+ "cbrne.emp",
448
+ "Electromagnetic pulse",
449
+ ["supply"]
450
+ ],
451
+ [
452
+ "geo.space-weather.geomagnetic-storm",
453
+ "Geomagnetic storm",
454
+ ["threat", "supply"]
455
+ ],
456
+ [
457
+ "security.armed-conflict",
458
+ "Armed conflict",
459
+ ["threat", "sense"]
460
+ ]
461
+ ];
462
+ /** The phases of the first actions of a card, in the sequence of their use. */
463
+ const FIRST = [
464
+ "P0",
465
+ "P1",
466
+ "P2"
467
+ ];
468
+ /**
469
+ * This function gives the rows of the hazard catalog.
470
+ * A card holds the steps of the case with a text that no other case has.
471
+ * These are the first actions, and the steps for a society with no service.
472
+ */
473
+ function hazardsOf(steps) {
474
+ const cases = /* @__PURE__ */ new Map();
475
+ for (const step of steps) cases.set(step.do, (cases.get(step.do) ?? /* @__PURE__ */ new Set()).add(step.on));
476
+ const unique = (step) => (cases.get(step.do)?.size ?? 0) === 1;
477
+ return TABLE.map(([key, title, signals]) => {
478
+ const own = steps.filter((step) => step.on === key && unique(step));
479
+ const first = FIRST.find((phase) => own.some((step) => step.phase === phase));
480
+ const card = own.filter((step) => step.phase === first || step.society?.includes("none") === true && !step.society.includes("works"));
481
+ return {
482
+ key,
483
+ title,
484
+ signals,
485
+ entry: ENTRY[signals[0] ?? ""] ?? "",
486
+ card: card.map((step) => step.id)
487
+ };
488
+ });
489
+ }
490
+ // src/data/steps.ts
491
+ /** This function makes the steps of a key from its rows. The order of a step is its position among the rows of its phase. */
492
+ function stepsOf(on, rows) {
493
+ const count = /* @__PURE__ */ new Map();
494
+ return rows.map(([phase, name, action, sources, more = []]) => {
495
+ const { needs = [], reasoning, society } = Array.isArray(more) ? { needs: more } : more;
496
+ const order = (count.get(phase) ?? 0) + 1;
497
+ count.set(phase, order);
498
+ return {
499
+ id: `${on}.${phase}.${name}`,
500
+ on,
501
+ phase,
502
+ needs,
503
+ do: action,
504
+ order,
505
+ sources,
506
+ ...reasoning === void 0 ? {} : { reasoning },
507
+ ...society === void 0 ? {} : { society }
508
+ };
509
+ });
510
+ }
511
+ const DRINK = "hydration.drink";
512
+ const FOOD = "food.energy";
513
+ const MEDICINE = "health.medicine";
514
+ const POWER$1 = "power.electric";
515
+ /** A step for a society where the services operate, fully or in part: shops, banks, insurers, doctors, the emergency number. */
516
+ const SERVICES = ["works", "partly"];
517
+ /** A step for a society where no service operates. */
518
+ const NONE = ["none"];
519
+ /** A step that names a service but is for each state of society. */
520
+ const ALWAYS = [
521
+ "works",
522
+ "partly",
523
+ "none"
524
+ ];
525
+ /** The outline of `P4` and `P5` that each case shares: the kit after the event. */
526
+ const RECOVERY = [[
527
+ "P4",
528
+ "restock",
529
+ "Replace the items of the kit that you used, and the items that are past their dates.",
530
+ ["ready-kit"],
484
531
  {
485
- ...federal("snap-apply", "USDA Food and Nutrition Service", "SNAP: Applicant and Participant", "https://www.fns.usda.gov/snap/applicant-recipient"),
486
- checked: "2026-11-22"
487
- },
488
- {
489
- id: "stackexchange",
490
- title: "The Stack Exchange network",
491
- url: "https://archive.org/details/stackexchange",
492
- license: "cc-by-sa-4.0",
493
- checked: CHECKED,
494
- by: "Stack Exchange contributors"
495
- },
496
- {
497
- id: "backblaze-hdd-2026q2",
498
- title: "Backblaze Drive Stats for Q2 2026",
499
- url: "https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/",
500
- license: "all-rights-reserved",
501
- checked: CHECKED,
502
- by: "Backblaze"
503
- },
504
- {
505
- id: "backblaze-ssd-2023",
506
- title: "SSD Edition: 2023 Drive Stats Mid-Year Review",
507
- url: "https://www.backblaze.com/blog/ssd-edition-2023-mid-year-drive-stats-review/",
508
- license: "all-rights-reserved",
509
- checked: CHECKED,
510
- by: "Backblaze"
511
- },
512
- {
513
- ...federal("nist-lc-optical", "NIST and the Library of Congress", "NIST/Library of Congress (LC) Optical Disc Longevity Study: Final Report", "https://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf"),
514
- checked: "2026-11-22"
515
- },
516
- {
517
- ...federal("ready-nd-flyer", "Ready.gov", "Nuclear Detonation Safety: Food, Drinking Water and Medicine", "https://www.ready.gov/sites/default/files/2023-01/ready-gov_nuclear-detonation-safety_flyer1.pdf"),
518
- checked: "2026-11-22"
519
- },
520
- {
521
- ...federal("ready-space-weather", "Ready.gov", "Space Weather", "https://www.ready.gov/space-weather"),
522
- checked: "2026-11-22"
523
- },
524
- {
525
- ...federal("cdc-get-inside", "CDC", "What to Do: Get Inside", "https://www.cdc.gov/radiation-emergencies/response/get-inside.html"),
526
- checked: "2026-11-22"
527
- },
528
- {
529
- ...federal("cdc-stay-inside", "CDC", "What to Do: Stay Inside", "https://www.cdc.gov/radiation-emergencies/response/stay-inside.html"),
530
- checked: "2026-11-22"
531
- },
532
- {
533
- ...federal("cdc-stay-tuned", "CDC", "What to Do: Stay Tuned", "https://www.cdc.gov/radiation-emergencies/response/stay-tuned.html"),
534
- checked: "2026-11-22"
535
- },
536
- {
537
- ...federal("cdc-self-decon", "CDC", "How to Self-Decontaminate after a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/self-decontaminate.html"),
538
- checked: "2026-11-22"
539
- },
540
- {
541
- ...federal("cdc-decon-info", "CDC", "Decontamination for Yourself and Others (infographic)", "https://www.cdc.gov/radiation-emergencies/media/pdfs/infographics/Infographic_Decontamination.pdf"),
542
- checked: "2026-11-22"
543
- },
544
- {
545
- ...federal("cdc-help-others", "CDC", "Stay Tuned to Learn How to Help Others", "https://www.cdc.gov/radiation-emergencies/response/help-others.html"),
546
- checked: "2026-11-22"
547
- },
548
- {
549
- ...federal("cdc-prepare", "CDC", "Preparing for a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/index.html"),
550
- checked: "2026-11-22"
551
- },
552
- {
553
- ...federal("cdc-ki", "CDC", "Potassium Iodide (KI)", "https://www.cdc.gov/radiation-emergencies/treatment/potassium-iodide.html"),
554
- checked: "2026-11-22"
555
- },
556
- {
557
- ...federal("cdc-food-water", "CDC", "Food, Drinking Water, and Medicine Safety in a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/food-drinking-water-medicine-safety.html"),
558
- checked: "2026-11-22"
559
- },
560
- {
561
- ...federal("cdc-pets", "CDC", "How to Decontaminate Pets After a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/decontaminate-pets.html"),
562
- checked: "2026-11-22"
563
- },
564
- {
565
- ...federal("cdc-crc", "CDC", "Community Reception Centers", "https://www.cdc.gov/radiation-emergencies/response/community-reception-centers.html"),
566
- checked: "2026-11-22"
567
- },
568
- {
569
- ...federal("cdc-shelter", "CDC", "Go to an Emergency Shelter", "https://www.cdc.gov/radiation-emergencies/response/emergency-shelter.html"),
570
- checked: "2026-11-22"
571
- },
572
- {
573
- ...federal("cdc-prevention", "CDC", "About Preventing and Treating Radiation Injuries and Illness", "https://www.cdc.gov/radiation-emergencies/prevention/index.html"),
574
- checked: "2026-11-22"
575
- },
576
- {
577
- ...federal("cdc-caring", "CDC", "Radiation Emergencies: Caring for Yourself and Others", "https://www.cdc.gov/radiation-emergencies/caring/index.html"),
578
- checked: "2026-11-22"
579
- },
580
- {
581
- ...federal("fema-nd-guide", "FEMA", "Planning Guidance for Response to a Nuclear Detonation, Third Edition", "https://www.fema.gov/sites/default/files/documents/fema_nuc-detonation-planning-guide.pdf"),
582
- checked: "2026-11-22"
583
- },
584
- {
585
- ...federal("swpc-geostorm", "NOAA Space Weather Prediction Center", "Geomagnetic Storms", "https://www.spaceweather.gov/phenomena/geomagnetic-storms"),
586
- checked: "2026-11-22"
587
- },
588
- {
589
- ...federal("swpc-scales", "NOAA Space Weather Prediction Center", "NOAA Space Weather Scales", "https://www.spaceweather.gov/noaa-scales-explanation"),
590
- checked: "2026-11-22"
591
- },
592
- {
593
- ...federal("swpc-gps", "NOAA Space Weather Prediction Center", "Space Weather and GPS Systems", "https://www.spaceweather.gov/impacts/space-weather-and-gps-systems"),
594
- checked: "2026-11-22"
595
- },
596
- {
597
- ...federal("swpc-awa", "NOAA Space Weather Prediction Center", "Alerts, Watches and Warnings", "https://www.spaceweather.gov/products/alerts-watches-and-warnings"),
598
- checked: "2026-11-22"
599
- },
600
- {
601
- ...federal("swpc-subscribe", "NOAA Space Weather Prediction Center", "Subscription Services", "https://www.spaceweather.gov/content/subscription-services"),
602
- checked: "2026-11-22"
603
- },
604
- {
605
- id: "uk-nrr-2025",
606
- title: "National Risk Register 2025",
607
- url: "https://assets.publishing.service.gov.uk/media/67b5f85732b2aab18314bbe4/National_Risk_Register_2025.pdf",
608
- license: "ogl-uk-3.0",
609
- checked: "2026-11-22",
610
- by: "HM Government (Cabinet Office)"
611
- },
612
- {
613
- id: "se-brochure-en",
614
- title: "In case of crisis or war",
615
- url: "https://rib.msb.se/filer/pdf/31523.pdf",
616
- license: "all-rights-reserved",
617
- checked: "2026-11-22",
618
- by: "Swedish Civil Defence and Resilience Agency (MCF)"
619
- },
620
- {
621
- id: "se-shelters",
622
- title: "Good to know about civil defence shelters",
623
- url: "https://www.mcf.se/en/advice-for-individuals/civil-defence-shelters-evacuation-and-warning-systems/good-to-know-about-civil-defence-shelters/",
624
- license: "all-rights-reserved",
625
- checked: "2026-11-22",
626
- by: "Swedish Civil Defence and Resilience Agency (MCF)"
627
- },
628
- {
629
- ...federal("cdc-food-safe", "Centers for Disease Control and Prevention", "Keep Food Safe After a Disaster or Emergency", "https://www.cdc.gov/food-safety/foods/keep-food-safe-after-emergency.html"),
630
- checked: "2026-11-22"
631
- },
632
- {
633
- ...federal("cdc-power-protect", "Centers for Disease Control and Prevention", "What to Do to Protect Yourself During a Power Outage", "https://www.cdc.gov/natural-disasters/response/what-to-do-protect-yourself-during-a-power-outage.html"),
634
- checked: "2026-11-22"
635
- },
636
- {
637
- ...federal("cdc-wash-safety", "Centers for Disease Control and Prevention", "What You Can Do to Prevent Diarrheal Illness After a Disaster", "https://www.cdc.gov/water-emergency/safety/index.html"),
638
- checked: "2026-11-22"
639
- },
640
- {
641
- ...federal("epa-mold", "U.S. Environmental Protection Agency", "A Brief Guide to Mold, Moisture and Your Home", "https://www.epa.gov/mold/brief-guide-mold-moisture-and-your-home"),
642
- checked: "2026-11-22"
643
- },
644
- {
645
- ...federal("epa-coming-home", "U.S. Environmental Protection Agency", "Flooded Homes: Coming Home", "https://www.epa.gov/flooded-homes/coming-home"),
646
- checked: "2026-11-22"
647
- },
648
- {
649
- ...federal("epa-diy", "U.S. Environmental Protection Agency", "Flooded Homes: Doing it Yourself", "https://www.epa.gov/flooded-homes/doing-it-yourself"),
650
- checked: "2026-11-22"
651
- },
652
- {
653
- ...federal("ready-recover", "Ready.gov (FEMA)", "Recovering from Disaster", "https://www.ready.gov/recovering-disaster"),
654
- checked: "2026-11-22"
655
- },
656
- {
657
- ...federal("fema-after-apply", "Federal Emergency Management Agency", "I Applied for Assistance. What's Next?", "https://www.fema.gov/assistance/individual/after-applying"),
658
- checked: "2026-11-22"
659
- },
660
- {
661
- ...federal("usfa-heating", "U.S. Fire Administration", "Heating Fire Safety", "https://www.usfa.fema.gov/prevention/home-fires/prevent-fires/heating/"),
662
- checked: "2026-11-22"
663
- },
664
- {
665
- ...federal("cfpb-recover", "Consumer Financial Protection Bureau", "Start recovering and rebuilding your financial life", "https://www.consumerfinance.gov/consumer-tools/disasters-and-emergencies/start-recovering-and-rebuilding-your-financial-life"),
666
- checked: "2026-11-22"
667
- },
668
- {
669
- ...federal("cfpb-disasters", "Consumer Financial Protection Bureau", "Dealing with disasters and emergencies", "https://www.consumerfinance.gov/consumer-tools/disasters-and-emergencies/"),
670
- checked: "2026-11-22"
671
- },
672
- {
673
- ...federal("cfpb-checklist", "Consumer Financial Protection Bureau", "Your disaster checklist", "https://files.consumerfinance.gov/f/documents/cfpb_adult-fin-edyour-disaster-checklist.pdf"),
674
- checked: "2026-11-22"
675
- },
676
- {
677
- ...federal("ftc-lost-card", "Federal Trade Commission", "Lost or Stolen Credit, ATM, and Debit Cards", "https://consumer.ftc.gov/articles/lost-or-stolen-credit-atm-and-debit-cards"),
678
- checked: "2026-11-22"
679
- },
680
- {
681
- ...federal("ftc-scams-weather", "Federal Trade Commission", "How To Avoid Scams After Weather Emergencies and Natural Disasters", "https://consumer.ftc.gov/articles/how-avoid-scams-after-weather-emergencies-and-natural-disasters"),
682
- checked: "2026-11-22"
683
- },
684
- {
685
- ...federal("ftc-prepare-scams", "Federal Trade Commission", "How To Prepare for a Weather Emergency While Avoiding Scams", "https://consumer.ftc.gov/articles/how-prepare-weather-emergency-while-avoiding-scams"),
686
- checked: "2026-11-22"
687
- },
688
- {
689
- ...federal("fdic-bank-fails", "Federal Deposit Insurance Corporation", "When a Bank Fails - Facts for Depositors, Creditors, and Borrowers", "https://www.fdic.gov/bank-failures/when-bank-fails-facts-depositors-creditors-and-borrowers"),
690
- checked: "2026-11-22"
691
- },
692
- {
693
- id: "uk-water-outage",
694
- title: "Water supply interruptions or outages",
695
- url: "https://beready.campaign.gov.uk/be-informed-about-hazards/water-supply-interruptions-or-outages/",
696
- license: "ogl-uk-3.0",
697
- checked: "2026-11-22",
698
- by: "UK Government (Prepare)"
699
- },
700
- {
701
- id: "uk-flooding",
702
- title: "Flooding",
703
- url: "https://beready.campaign.gov.uk/be-informed-about-hazards/flooding/",
704
- license: "ogl-uk-3.0",
705
- checked: "2026-11-22",
706
- by: "UK Government (Prepare)"
707
- },
708
- {
709
- id: "uk-power-cuts",
710
- title: "Power cuts",
711
- url: "https://beready.campaign.gov.uk/be-informed-about-hazards/power-cuts/",
712
- license: "ogl-uk-3.0",
713
- checked: "2026-11-22",
714
- by: "UK Government (Prepare)"
715
- },
716
- {
717
- id: "govuk-after-flood",
718
- title: "What to do after a flood",
719
- url: "https://www.gov.uk/after-flood",
720
- license: "ogl-uk-3.0",
721
- checked: "2026-11-22",
722
- by: "GOV.UK"
723
- },
724
- {
725
- id: "ukhsa-flood-health",
726
- title: "Flooding and health: advice for the public",
727
- url: "https://www.gov.uk/government/publications/flooding-and-health-public-advice/flooding-and-health-advice-for-the-public",
728
- license: "ogl-uk-3.0",
729
- checked: "2026-11-22",
730
- by: "UK Health Security Agency"
532
+ needs: [
533
+ DRINK,
534
+ FOOD,
535
+ MEDICINE
536
+ ],
537
+ society: SERVICES
731
538
  }
732
- ];
733
- // src/data/steps.ts
734
- /** This function makes the steps of a key from its rows. The order of a step is its position among the rows of its phase. */
735
- function stepsOf(on, rows) {
736
- const count = /* @__PURE__ */ new Map();
737
- return rows.map(([phase, name, action, sources, needs = [], reasoning]) => {
738
- const order = (count.get(phase) ?? 0) + 1;
739
- count.set(phase, order);
740
- return {
741
- id: `${on}.${phase}.${name}`,
742
- on,
743
- phase,
744
- needs,
745
- do: action,
746
- order,
747
- sources,
748
- ...reasoning === void 0 ? {} : { reasoning }
749
- };
750
- });
751
- }
752
- const DRINK = "hydration.drink";
753
- const FOOD = "food.energy";
754
- const MEDICINE = "health.medicine";
755
- const POWER$1 = "power.electric";
756
- /** The outline of `P4` and `P5` that each case shares: the kit after the event. */
757
- const RECOVERY = [[
758
- "P4",
759
- "restock",
760
- "Replace the items of the kit that you used, and the items that are past their dates.",
761
- ["ready-kit"],
762
- [
763
- DRINK,
764
- FOOD,
765
- MEDICINE
766
- ]
767
539
  ], [
768
540
  "P5",
769
541
  "review",
@@ -837,8 +609,7 @@ const EVACUATION = [
837
609
  "evac-utilities",
838
610
  "Before you go, turn off the water and the electricity at the main. Turn off the gas only if you smell gas.",
839
611
  ["ready-evacuation"],
840
- [],
841
- "A leak or a short circuit cannot grow while you are away. A gas valve that is off needs a professional to open it again."
612
+ { reasoning: "A leak or a short circuit cannot grow while you are away. A gas valve that is off needs a professional to open it again." }
842
613
  ],
843
614
  [
844
615
  "P0",
@@ -869,8 +640,7 @@ const EVACUATION = [
869
640
  "evac-check",
870
641
  "Before you travel back, get news of the roads, the damage and the supplies from more than one source.",
871
642
  ["ready-evacuation"],
872
- [],
873
- "One source can be wrong or late. Persons who come from your area, a radio and the roads each give a part of the facts."
643
+ { reasoning: "One source can be wrong or late. Persons who come from your area, a radio and the roads each give a part of the facts." }
874
644
  ],
875
645
  [
876
646
  "P2",
@@ -888,7 +658,72 @@ const EVACUATION = [
888
658
  "P3",
889
659
  "evac-lines",
890
660
  "Stay away from fallen power lines, and tell the power company about them.",
891
- ["ready-evacuation"]
661
+ ["ready-evacuation"],
662
+ { society: SERVICES }
663
+ ]
664
+ ];
665
+ /** The steps of a nuclear detonation and a nuclear war for a society where no service operates. */
666
+ const NUCLEAR_LONG = [
667
+ [
668
+ "P3",
669
+ "short-trips",
670
+ "In the first weeks, go out only for short tasks. Spend the other hours in the best shelter.",
671
+ [],
672
+ {
673
+ reasoning: "Fallout decays fast at first and slowly later. Time inside in the first weeks prevents most of the dose.",
674
+ society: NONE
675
+ }
676
+ ],
677
+ [
678
+ "P3",
679
+ "decay",
680
+ "Fallout loses 90 percent of its strength each time that the time since the blast increases 7 times.",
681
+ ["fema-cdp-710"],
682
+ {
683
+ reasoning: "At 7 hours, fallout gives a tenth of the dose of the first hour. At 2 days, it gives a hundredth.",
684
+ society: NONE
685
+ }
686
+ ],
687
+ [
688
+ "P3",
689
+ "dust-off",
690
+ "When you come in, take off the outer clothes at the door, and wash the skin and the hair.",
691
+ ["cdc-self-decon"],
692
+ {
693
+ reasoning: "Fallout is dust. What stays outside the shelter cannot give a dose inside it.",
694
+ society: NONE
695
+ }
696
+ ],
697
+ [
698
+ "P4",
699
+ "clean-soil",
700
+ "Grow food in soil that was under a cover, or remove the top 2 inches of the soil of each bed.",
701
+ ["usda-ah234"],
702
+ {
703
+ needs: [FOOD],
704
+ reasoning: "Fallout stays near the surface. On smooth soil, this removes almost all of it. On rough soil, it removes less.",
705
+ society: NONE
706
+ }
707
+ ],
708
+ [
709
+ "P4",
710
+ "wash-peel",
711
+ "Wash and peel all the food that you grow in the first year.",
712
+ [],
713
+ {
714
+ reasoning: "Dust on the skin of a vegetable goes with the peel.",
715
+ society: NONE
716
+ }
717
+ ],
718
+ [
719
+ "P5",
720
+ "no-early-milk",
721
+ "Do not drink the milk of animals that ate grass with fallout in the first months.",
722
+ [],
723
+ {
724
+ reasoning: "Animals put radioactive iodine from the grass into their milk. The iodine decays in some weeks, so later milk is safer.",
725
+ society: NONE
726
+ }
892
727
  ]
893
728
  ];
894
729
  /** The steps of the cases. A case is a kind of event. */
@@ -1000,8 +835,7 @@ const CASE_STEPS = [
1000
835
  "evacuate",
1001
836
  "If your home is in the flood zone of the storm, or is a mobile home, go before the wind starts.",
1002
837
  ["ready-hurricanes"],
1003
- [],
1004
- "An order comes for a whole zone, and often late. You can know your flood zone and your building before the storm."
838
+ { reasoning: "An order comes for a whole zone, and often late. You can know your flood zone and your building before the storm." }
1005
839
  ],
1006
840
  [
1007
841
  "P0",
@@ -1031,7 +865,8 @@ const CASE_STEPS = [
1031
865
  "P2",
1032
866
  "photos",
1033
867
  "Make photos of the damage, and speak to your insurance company.",
1034
- ["ready-hurricanes"]
868
+ ["ready-hurricanes"],
869
+ { society: SERVICES }
1035
870
  ],
1036
871
  [
1037
872
  "P3",
@@ -1084,8 +919,7 @@ const CASE_STEPS = [
1084
919
  "evacuate",
1085
920
  "If the water can reach your home or cut your route, go immediately. Do not drive around barricades.",
1086
921
  ["ready-floods"],
1087
- [],
1088
- "A flood closes the low roads first. When you go early, the route is open."
922
+ { reasoning: "A flood closes the low roads first. When you go early, the route is open." }
1089
923
  ],
1090
924
  [
1091
925
  "P0",
@@ -1110,8 +944,7 @@ const CASE_STEPS = [
1110
944
  "return",
1111
945
  "Go back home only when the water is down and you can see the route. Do not walk or drive through flood water.",
1112
946
  ["ready-floods"],
1113
- [],
1114
- "Flood water hides holes, strong currents and power lines that are down."
947
+ { reasoning: "Flood water hides holes, strong currents and power lines that are down." }
1115
948
  ],
1116
949
  [
1117
950
  "P2",
@@ -1219,7 +1052,10 @@ const CASE_STEPS = [
1219
1052
  "cramps",
1220
1053
  "For heat cramps, go to a cooler place and drink water. Call a doctor after one hour with no improvement.",
1221
1054
  ["ready-heat"],
1222
- [DRINK]
1055
+ {
1056
+ needs: [DRINK],
1057
+ society: SERVICES
1058
+ }
1223
1059
  ],
1224
1060
  ...RECOVERY
1225
1061
  ]),
@@ -1438,7 +1274,8 @@ const CASE_STEPS = [
1438
1274
  "P0",
1439
1275
  "call",
1440
1276
  "Get out, and then call 9-1-1 or the fire department.",
1441
- ["ready-fire"]
1277
+ ["ready-fire"],
1278
+ { society: ALWAYS }
1442
1279
  ],
1443
1280
  [
1444
1281
  "P1",
@@ -1450,7 +1287,8 @@ const CASE_STEPS = [
1450
1287
  "P1",
1451
1288
  "enter",
1452
1289
  "Speak to the fire department before you go back into the house.",
1453
- ["ready-fire"]
1290
+ ["ready-fire"],
1291
+ { society: SERVICES }
1454
1292
  ],
1455
1293
  [
1456
1294
  "P2",
@@ -1527,8 +1365,7 @@ const CASE_STEPS = [
1527
1365
  "evacuate",
1528
1366
  "Go immediately when the fire or its smoke comes toward your area. An early start keeps the roads open.",
1529
1367
  ["ready-wildfires"],
1530
- [],
1531
- "A wildfire can move faster than an order, and smoke closes the roads."
1368
+ { reasoning: "A wildfire can move faster than an order, and smoke closes the roads." }
1532
1369
  ],
1533
1370
  [
1534
1371
  "P0",
@@ -1553,16 +1390,14 @@ const CASE_STEPS = [
1553
1390
  "shelter",
1554
1391
  "Go to a place that you chose before: friends or family away from the fire, or an open shelter.",
1555
1392
  ["ready-wildfires"],
1556
- [],
1557
- "A place that you chose before has your contacts and no queue. A public shelter is one option of several."
1393
+ { reasoning: "A place that you chose before has your contacts and no queue. A public shelter is one option of several." }
1558
1394
  ],
1559
1395
  [
1560
1396
  "P2",
1561
1397
  "return",
1562
1398
  "Go back only when the fire near your area is out. Look for hot ash pits and for debris that still burns.",
1563
1399
  ["ready-wildfires"],
1564
- [],
1565
- "A fire that looks out can start again from hot spots and from ash."
1400
+ { reasoning: "A fire that looks out can start again from hot spots and from ash." }
1566
1401
  ],
1567
1402
  [
1568
1403
  "P2",
@@ -1580,7 +1415,8 @@ const CASE_STEPS = [
1580
1415
  "P3",
1581
1416
  "photos",
1582
1417
  "Make photos and a list of the damage, and speak to your insurance company.",
1583
- ["ready-wildfires"]
1418
+ ["ready-wildfires"],
1419
+ { society: SERVICES }
1584
1420
  ],
1585
1421
  ...EVACUATION,
1586
1422
  ...RECOVERY
@@ -1609,16 +1445,14 @@ const CASE_STEPS = [
1609
1445
  "listen",
1610
1446
  "Listen to the radio or TV for the place of the release and the direction of the wind. Some chemicals have no odor.",
1611
1447
  ["ready-hazmat"],
1612
- [],
1613
- "A broadcast is one input. The facts at your place decide, because an order comes late or does not come."
1448
+ { reasoning: "A broadcast is one input. The facts at your place decide, because an order comes late or does not come." }
1614
1449
  ],
1615
1450
  [
1616
1451
  "P0",
1617
1452
  "go-upwind",
1618
1453
  "If you are outside, go upwind, uphill and upstream of the release, away from the cloud.",
1619
1454
  ["ready-hazmat"],
1620
- [],
1621
- "Most chemical clouds go with the wind, and many gases are heavier than air."
1455
+ { reasoning: "Most chemical clouds go with the wind, and many gases are heavier than air." }
1622
1456
  ],
1623
1457
  [
1624
1458
  "P0",
@@ -1637,8 +1471,7 @@ const CASE_STEPS = [
1637
1471
  "inside",
1638
1472
  "If the cloud is near and you cannot go away from it, stay inside. Bring the pets in, and close the doors and windows.",
1639
1473
  ["ready-hazmat"],
1640
- [],
1641
- "Inside air stays cleaner than the cloud for some hours, so a building protects you while the cloud passes."
1474
+ { reasoning: "Inside air stays cleaner than the cloud for some hours, so a building protects you while the cloud passes." }
1642
1475
  ],
1643
1476
  [
1644
1477
  "P1",
@@ -1664,8 +1497,7 @@ const CASE_STEPS = [
1664
1497
  "stay",
1665
1498
  "Stay in the shelter until the release stops and the wind takes the cloud away. Then open the windows, and go out.",
1666
1499
  ["ready-hazmat"],
1667
- [],
1668
- "A closed room holds clean air for some hours only. After the cloud passes, the air outside is cleaner than the air inside."
1500
+ { reasoning: "A closed room holds clean air for some hours only. After the cloud passes, the air outside is cleaner than the air inside." }
1669
1501
  ],
1670
1502
  [
1671
1503
  "P2",
@@ -1772,16 +1604,17 @@ const CASE_STEPS = [
1772
1604
  "garden",
1773
1605
  "Do not eat food from the garden in the first weeks. Eat sealed food first, then wash and peel garden food.",
1774
1606
  ["ready-radiation"],
1775
- [FOOD],
1776
- "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first."
1607
+ {
1608
+ needs: [FOOD],
1609
+ reasoning: "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first."
1610
+ }
1777
1611
  ],
1778
1612
  [
1779
1613
  "P3",
1780
1614
  "return",
1781
1615
  "After an evacuation, go back only when a dose meter or two news sources show low radiation on the route.",
1782
1616
  ["ready-radiation"],
1783
- [],
1784
- "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast."
1617
+ { reasoning: "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast." }
1785
1618
  ],
1786
1619
  [
1787
1620
  "P3",
@@ -1869,8 +1702,10 @@ const CASE_STEPS = [
1869
1702
  "exposure",
1870
1703
  "After an exposure, speak to a doctor if you can. Keep away from your household, and record your temperature each day.",
1871
1704
  ["ready-pandemic"],
1872
- [],
1873
- "Distance from the others stops the spread while you do not know if you are ill."
1705
+ {
1706
+ reasoning: "Distance from the others stops the spread while you do not know if you are ill.",
1707
+ society: ALWAYS
1708
+ }
1874
1709
  ],
1875
1710
  [
1876
1711
  "P3",
@@ -1936,7 +1771,8 @@ const CASE_STEPS = [
1936
1771
  "P0",
1937
1772
  "ambulance",
1938
1773
  "Do not drive a person with the signs of a stroke to the hospital. Call for an ambulance.",
1939
- ["cdc-stroke"]
1774
+ ["cdc-stroke"],
1775
+ { society: SERVICES }
1940
1776
  ],
1941
1777
  [
1942
1778
  "P0",
@@ -2024,8 +1860,7 @@ const CASE_STEPS = [
2024
1860
  "shelter",
2025
1861
  "For a drone threat or a general warning, go into the nearest building. Stay away from the windows, and listen to the radio.",
2026
1862
  ["fi-72h-shelter"],
2027
- [],
2028
- "Walls and a roof stop fragments and keep a drone from seeing you. Glass breaks into the room."
1863
+ { reasoning: "Walls and a roof stop fragments and keep a drone from seeing you. Glass breaks into the room." }
2029
1864
  ],
2030
1865
  [
2031
1866
  "P0",
@@ -2037,7 +1872,8 @@ const CASE_STEPS = [
2037
1872
  "P0",
2038
1873
  "hang-up",
2039
1874
  "If a call asks for money, hang up. Call the person or the bank at a number that you know.",
2040
- ["ic3-genai"]
1875
+ ["ic3-genai"],
1876
+ { society: SERVICES }
2041
1877
  ],
2042
1878
  [
2043
1879
  "P0",
@@ -2068,8 +1904,7 @@ const CASE_STEPS = [
2068
1904
  "sources",
2069
1905
  "Get news from more than one source: the phone alerts, the radio, the television and the persons near you.",
2070
1906
  ["ready-alerts"],
2071
- [],
2072
- "Each source can stop or be wrong. A fact that two sources agree on is more certain."
1907
+ { reasoning: "Each source can stop or be wrong. A fact that two sources agree on is more certain." }
2073
1908
  ],
2074
1909
  [
2075
1910
  "P1",
@@ -2123,13 +1958,15 @@ const CASE_STEPS = [
2123
1958
  "P2",
2124
1959
  "claim",
2125
1960
  "If you lose your job, file a claim with the unemployment program of your state immediately.",
2126
- ["dol-ui"]
1961
+ ["dol-ui"],
1962
+ { society: SERVICES }
2127
1963
  ],
2128
1964
  [
2129
1965
  "P2",
2130
1966
  "loan",
2131
1967
  "If you cannot pay a loan on time, speak to your bank before you miss a payment.",
2132
- ["ready-financial"]
1968
+ ["ready-financial"],
1969
+ { society: SERVICES }
2133
1970
  ],
2134
1971
  [
2135
1972
  "P2",
@@ -2141,27 +1978,35 @@ const CASE_STEPS = [
2141
1978
  "P2",
2142
1979
  "holds",
2143
1980
  "Ask your bank and your card companies to put holds on the accounts that criminals used.",
2144
- ["ready-cyber"]
1981
+ ["ready-cyber"],
1982
+ { society: SERVICES }
2145
1983
  ],
2146
1984
  [
2147
1985
  "P3",
2148
1986
  "first-payment",
2149
1987
  "The first unemployment payment usually comes two to three weeks after the claim. Plan your cash for that time.",
2150
- ["dol-ui"]
1988
+ ["dol-ui"],
1989
+ { society: SERVICES }
2151
1990
  ],
2152
1991
  [
2153
1992
  "P3",
2154
1993
  "benefits",
2155
1994
  "Apply for government unemployment, health care and food benefits to add to your income.",
2156
1995
  ["ready-financial"],
2157
- [FOOD, MEDICINE]
1996
+ {
1997
+ needs: [FOOD, MEDICINE],
1998
+ society: SERVICES
1999
+ }
2158
2000
  ],
2159
2001
  [
2160
2002
  "P3",
2161
2003
  "snap",
2162
2004
  "To get SNAP food benefits, speak to your local SNAP office.",
2163
2005
  ["snap-apply"],
2164
- [FOOD]
2006
+ {
2007
+ needs: [FOOD],
2008
+ society: SERVICES
2009
+ }
2165
2010
  ],
2166
2011
  [
2167
2012
  "P3",
@@ -2173,7 +2018,8 @@ const CASE_STEPS = [
2173
2018
  "P4",
2174
2019
  "statements",
2175
2020
  "Each month, examine your bank and card statements for charges that you do not know.",
2176
- ["ready-cyber"]
2021
+ ["ready-cyber"],
2022
+ { society: SERVICES }
2177
2023
  ],
2178
2024
  [
2179
2025
  "P4",
@@ -2265,15 +2111,18 @@ const CASE_STEPS = [
2265
2111
  "P0",
2266
2112
  "emergency",
2267
2113
  "If a person has a medical emergency, call 911. Wear a mask until help arrives.",
2268
- ["ready-pandemic"]
2114
+ ["ready-pandemic"],
2115
+ { society: SERVICES }
2269
2116
  ],
2270
2117
  [
2271
2118
  "P1",
2272
2119
  "exposed",
2273
2120
  "If you think that you were exposed, call your doctor. Stay away from other persons, and watch your symptoms.",
2274
2121
  ["ready-pandemic"],
2275
- [],
2276
- "Distance from the others stops the spread while you do not know if you are ill."
2122
+ {
2123
+ reasoning: "Distance from the others stops the spread while you do not know if you are ill.",
2124
+ society: SERVICES
2125
+ }
2277
2126
  ],
2278
2127
  [
2279
2128
  "P1",
@@ -2311,8 +2160,7 @@ const CASE_STEPS = [
2311
2160
  "precautions",
2312
2161
  "Each week, read the news of the disease, and change your precautions as the spread goes up or down.",
2313
2162
  ["ready-pandemic"],
2314
- [],
2315
- "The risk changes with the spread near you. A weekly review keeps your precautions in proportion."
2163
+ { reasoning: "The risk changes with the spread near you. A weekly review keeps your precautions in proportion." }
2316
2164
  ],
2317
2165
  [
2318
2166
  "P4",
@@ -2473,22 +2321,27 @@ const CASE_STEPS = [
2473
2321
  "warm-cool",
2474
2322
  "Find a heated or cooled place near you: a public building, a library or friends with power.",
2475
2323
  ["ready-power"],
2476
- [],
2477
- "Some hours at a safe temperature protect the body from extreme heat or cold."
2324
+ { reasoning: "Some hours at a safe temperature protect the body from extreme heat or cold." }
2478
2325
  ],
2479
2326
  [
2480
2327
  "P2",
2481
2328
  "pharmacist",
2482
2329
  "Speak to your doctor or pharmacist immediately to get new refrigerated medicine.",
2483
2330
  ["ready-power"],
2484
- [MEDICINE]
2331
+ {
2332
+ needs: [MEDICINE],
2333
+ society: SERVICES
2334
+ }
2485
2335
  ],
2486
2336
  [
2487
2337
  "P3",
2488
2338
  "closed",
2489
2339
  "Plan for closed shops, gas stations, cash machines and banks. Use your cash and stored supplies.",
2490
2340
  ["ready-power"],
2491
- [FOOD]
2341
+ {
2342
+ needs: [FOOD],
2343
+ society: ALWAYS
2344
+ }
2492
2345
  ],
2493
2346
  ...RECOVERY
2494
2347
  ]),
@@ -2552,8 +2405,7 @@ const CASE_STEPS = [
2552
2405
  "sources",
2553
2406
  "Get information from more than one source, and compare them. A cyber attack can send false messages.",
2554
2407
  ["uk-hazards"],
2555
- [],
2556
- "An attacker can control one channel, but not all channels at the same time."
2408
+ { reasoning: "An attacker can control one channel, but not all channels at the same time." }
2557
2409
  ],
2558
2410
  [
2559
2411
  "P2",
@@ -2571,7 +2423,8 @@ const CASE_STEPS = [
2571
2423
  "P3",
2572
2424
  "charges",
2573
2425
  "Examine your card and bank statements for charges that you do not know.",
2574
- ["ready-cyber"]
2426
+ ["ready-cyber"],
2427
+ { society: SERVICES }
2575
2428
  ],
2576
2429
  [
2577
2430
  "P3",
@@ -2622,13 +2475,15 @@ const CASE_STEPS = [
2622
2475
  "P2",
2623
2476
  "claim",
2624
2477
  "If you lose your job, file a claim with the unemployment program of your state immediately.",
2625
- ["dol-ui"]
2478
+ ["dol-ui"],
2479
+ { society: SERVICES }
2626
2480
  ],
2627
2481
  [
2628
2482
  "P2",
2629
2483
  "loan",
2630
2484
  "If you cannot pay a loan on time, speak to your bank before you miss a payment.",
2631
- ["ready-financial"]
2485
+ ["ready-financial"],
2486
+ { society: SERVICES }
2632
2487
  ],
2633
2488
  [
2634
2489
  "P2",
@@ -2640,21 +2495,28 @@ const CASE_STEPS = [
2640
2495
  "P3",
2641
2496
  "first-payment",
2642
2497
  "The first unemployment payment usually comes 2 to 3 weeks after the claim. Plan your cash for that time.",
2643
- ["dol-ui"]
2498
+ ["dol-ui"],
2499
+ { society: SERVICES }
2644
2500
  ],
2645
2501
  [
2646
2502
  "P3",
2647
2503
  "benefits",
2648
2504
  "Apply for government unemployment, health care and food benefits to add to your income.",
2649
2505
  ["ready-financial"],
2650
- [FOOD, MEDICINE]
2506
+ {
2507
+ needs: [FOOD, MEDICINE],
2508
+ society: SERVICES
2509
+ }
2651
2510
  ],
2652
2511
  [
2653
2512
  "P3",
2654
2513
  "snap",
2655
2514
  "To get SNAP food benefits, speak to your local SNAP office.",
2656
2515
  ["snap-apply"],
2657
- [FOOD]
2516
+ {
2517
+ needs: [FOOD],
2518
+ society: SERVICES
2519
+ }
2658
2520
  ],
2659
2521
  [
2660
2522
  "P4",
@@ -2693,13 +2555,15 @@ const CASE_STEPS = [
2693
2555
  "P0",
2694
2556
  "danger",
2695
2557
  "If a person is in immediate danger, call the emergency number: 911 in the US.",
2696
- ["uk-hazards"]
2558
+ ["uk-hazards"],
2559
+ { society: SERVICES }
2697
2560
  ],
2698
2561
  [
2699
2562
  "P0",
2700
2563
  "away",
2701
2564
  "Do not go near the place of an emergency. It puts you in danger and stops the emergency services.",
2702
- ["uk-hazards"]
2565
+ ["uk-hazards"],
2566
+ { society: ALWAYS }
2703
2567
  ],
2704
2568
  [
2705
2569
  "P0",
@@ -2724,8 +2588,7 @@ const CASE_STEPS = [
2724
2588
  "leave",
2725
2589
  "If the unrest comes toward your street, or your building is at risk, leave immediately. A delay can put your life at risk.",
2726
2590
  ["uk-hazards"],
2727
- [],
2728
- "A broadcast is one input. The facts at your place decide, because an order comes late or does not come."
2591
+ { reasoning: "A broadcast is one input. The facts at your place decide, because an order comes late or does not come." }
2729
2592
  ],
2730
2593
  [
2731
2594
  "P2",
@@ -2733,6 +2596,36 @@ const CASE_STEPS = [
2733
2596
  "If it is safe, check on your neighbours, and give them the important information.",
2734
2597
  ["uk-hazards"]
2735
2598
  ],
2599
+ [
2600
+ "P3",
2601
+ "watch",
2602
+ "Keep a watch of the group day and night, in turns, with a way to warn the others.",
2603
+ [],
2604
+ {
2605
+ reasoning: "A watch sees a danger before it arrives. The turns keep each person rested.",
2606
+ society: NONE
2607
+ }
2608
+ ],
2609
+ [
2610
+ "P4",
2611
+ "low-profile",
2612
+ "Hide the signs of your supplies: light at night, the smell of cooking and the noise of engines.",
2613
+ [],
2614
+ {
2615
+ reasoning: "Supplies attract persons in need, and some of them use force.",
2616
+ society: NONE
2617
+ }
2618
+ ],
2619
+ [
2620
+ "P5",
2621
+ "allies",
2622
+ "Make agreements with the groups near you for help and for trade.",
2623
+ [],
2624
+ {
2625
+ reasoning: "Groups that help each other are stronger than each group alone.",
2626
+ society: NONE
2627
+ }
2628
+ ],
2736
2629
  ...RECOVERY
2737
2630
  ]),
2738
2631
  ...stepsOf("cbrne.nuclear-detonation", [
@@ -2945,31 +2838,29 @@ const CASE_STEPS = [
2945
2838
  "P2",
2946
2839
  "keep-away-hospitals",
2947
2840
  "Stay away from hospitals, fire stations and police stations unless you have a critical injury.",
2948
- ["cdc-help-others"]
2841
+ ["cdc-help-others"],
2842
+ { society: ALWAYS }
2949
2843
  ],
2950
2844
  [
2951
2845
  "P2",
2952
2846
  "leave-across-wind",
2953
2847
  "When you leave, take your kit and pet supplies. Go across the wind, away from the fallout.",
2954
2848
  ["cdc-shelter", "cdc-stay-tuned"],
2955
- [],
2956
- "The fallout goes with the wind. A route across the wind leaves the fallout fastest."
2849
+ { reasoning: "The fallout goes with the wind. A route across the wind leaves the fallout fastest." }
2957
2850
  ],
2958
2851
  [
2959
2852
  "P3",
2960
2853
  "return-on-low-dose",
2961
2854
  "If you evacuated, go back only when a dose meter or two news sources show low radiation at home.",
2962
2855
  ["ready-radiation"],
2963
- [],
2964
- "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast."
2856
+ { reasoning: "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast." }
2965
2857
  ],
2966
2858
  [
2967
2859
  "P3",
2968
2860
  "sealed-food-first",
2969
2861
  "Eat sealed food first. Wash and peel garden food, and do not eat leafy vegetables from the first weeks.",
2970
2862
  ["ready-radiation", "cdc-food-water"],
2971
- [],
2972
- "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first."
2863
+ { reasoning: "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first." }
2973
2864
  ],
2974
2865
  [
2975
2866
  "P3",
@@ -2982,14 +2873,14 @@ const CASE_STEPS = [
2982
2873
  "home-cleanup",
2983
2874
  "Clean radioactive dust with a damp cloth or a damp mop, not a broom. Put the waste in a sealed bag outside.",
2984
2875
  ["cdc-stay-inside"],
2985
- [],
2986
- "A dry broom puts the dust back in the air, where you breathe it. Damp dust stays on the cloth."
2876
+ { reasoning: "A dry broom puts the dust back in the air, where you breathe it. Damp dust stays on the cloth." }
2987
2877
  ],
2988
2878
  [
2989
2879
  "P3",
2990
2880
  "register-at-crc",
2991
2881
  "If a community reception center opens, go to it. There you can get checked and register for follow-up.",
2992
- ["cdc-stay-tuned", "cdc-crc"]
2882
+ ["cdc-stay-tuned", "cdc-crc"],
2883
+ { society: SERVICES }
2993
2884
  ],
2994
2885
  [
2995
2886
  "P3",
@@ -3007,13 +2898,15 @@ const CASE_STEPS = [
3007
2898
  "P4",
3008
2899
  "long-distress",
3009
2900
  "If distress continues and support from friends does not help, get help from a health professional.",
3010
- ["cdc-stay-tuned", "uk-nrr-2025"]
2901
+ ["cdc-stay-tuned", "uk-nrr-2025"],
2902
+ { society: SERVICES }
3011
2903
  ],
3012
2904
  [
3013
2905
  "P4",
3014
2906
  "help-recovery",
3015
2907
  "To help others, join the recovery work of your neighbors, a charity or a local group.",
3016
- ["uk-nrr-2025", "cdc-help-others"]
2908
+ ["uk-nrr-2025", "cdc-help-others"],
2909
+ { society: ALWAYS }
3017
2910
  ],
3018
2911
  [
3019
2912
  "P5",
@@ -3027,6 +2920,7 @@ const CASE_STEPS = [
3027
2920
  "Take part in the recovery plans of your community. Recovery can take years.",
3028
2921
  ["uk-nrr-2025"]
3029
2922
  ],
2923
+ ...NUCLEAR_LONG,
3030
2924
  ...RECOVERY
3031
2925
  ]),
3032
2926
  ...stepsOf("security.nuclear-war", [
@@ -3131,8 +3025,7 @@ const CASE_STEPS = [
3131
3025
  "stay-sheltered",
3132
3026
  "Stay in the shelter until the attack stops and a dose meter or the news shows low radiation.",
3133
3027
  ["se-brochure-en", "cdc-prepare"],
3134
- [],
3135
- "The danger outside is a measure, not a signal. A dose meter of your own measures it with no broadcast."
3028
+ { reasoning: "The danger outside is a measure, not a signal. A dose meter of your own measures it with no broadcast." }
3136
3029
  ],
3137
3030
  [
3138
3031
  "P1",
@@ -3163,8 +3056,7 @@ const CASE_STEPS = [
3163
3056
  "iodine-for-fallout",
3164
3057
  "Take iodine tablets only when fallout from a blast or a reactor comes toward you. Do not leave the shelter for them.",
3165
3058
  ["fi-72h-shelter", "cdc-ki"],
3166
- [],
3167
- "Iodine tablets protect only the thyroid, and only from radioactive iodine. With no broadcast, the blast or the accident itself is the warning."
3059
+ { reasoning: "Iodine tablets protect only the thyroid, and only from radioactive iodine. With no broadcast, the blast or the accident itself is the warning." }
3168
3060
  ],
3169
3061
  [
3170
3062
  "P1",
@@ -3183,8 +3075,7 @@ const CASE_STEPS = [
3183
3075
  "help-injured",
3184
3076
  "When the attack stops, help people who are injured or trapped.",
3185
3077
  ["se-brochure-en"],
3186
- [],
3187
- "A rescuer who goes out during the attack becomes a second casualty."
3078
+ { reasoning: "A rescuer who goes out during the attack becomes a second casualty." }
3188
3079
  ],
3189
3080
  [
3190
3081
  "P2",
@@ -3211,8 +3102,7 @@ const CASE_STEPS = [
3211
3102
  "leave-when-supplies-fail",
3212
3103
  "If your water, food or shelter fails, leave with your group on a route away from the fallout.",
3213
3104
  ["se-brochure-en"],
3214
- [],
3215
- "A shelter with no water is a trap. A move with a plan is safer than a move with no supplies."
3105
+ { reasoning: "A shelter with no water is a trap. A move with a plan is safer than a move with no supplies." }
3216
3106
  ],
3217
3107
  [
3218
3108
  "P3",
@@ -3231,16 +3121,14 @@ const CASE_STEPS = [
3231
3121
  "sealed-food-first",
3232
3122
  "Eat sealed food first. Wash and peel garden food, and do not eat leafy vegetables from the first weeks.",
3233
3123
  ["ready-radiation"],
3234
- [],
3235
- "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first."
3124
+ { reasoning: "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first." }
3236
3125
  ],
3237
3126
  [
3238
3127
  "P3",
3239
3128
  "return-on-low-dose",
3240
3129
  "If you evacuated, go back only when a dose meter or two news sources show low radiation at home.",
3241
3130
  ["ready-radiation"],
3242
- [],
3243
- "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast."
3131
+ { reasoning: "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast." }
3244
3132
  ],
3245
3133
  [
3246
3134
  "P4",
@@ -3252,13 +3140,15 @@ const CASE_STEPS = [
3252
3140
  "P4",
3253
3141
  "long-distress",
3254
3142
  "Look for signs of distress that do not stop, in you and in others. Get help from a health professional.",
3255
- ["uk-nrr-2025", "cdc-stay-tuned"]
3143
+ ["uk-nrr-2025", "cdc-stay-tuned"],
3144
+ { society: SERVICES }
3256
3145
  ],
3257
3146
  [
3258
3147
  "P4",
3259
3148
  "help-recovery",
3260
3149
  "To help others, join the recovery work of your neighbors, a charity or a local group.",
3261
- ["uk-nrr-2025"]
3150
+ ["uk-nrr-2025"],
3151
+ { society: ALWAYS }
3262
3152
  ],
3263
3153
  [
3264
3154
  "P5",
@@ -3272,6 +3162,7 @@ const CASE_STEPS = [
3272
3162
  "Keep going to long-term health checks. High doses of radiation increase the risk of cancer later in life.",
3273
3163
  ["cdc-prepare", "cdc-prevention"]
3274
3164
  ],
3165
+ ...NUCLEAR_LONG,
3275
3166
  ...RECOVERY
3276
3167
  ]),
3277
3168
  ...stepsOf("cbrne.emp", [
@@ -3323,6 +3214,16 @@ const CASE_STEPS = [
3323
3214
  "If a phone call does not connect, send a text message.",
3324
3215
  ["cdc-stay-tuned"]
3325
3216
  ],
3217
+ [
3218
+ "P4",
3219
+ "metal-box",
3220
+ "Keep a spare radio and spare small electronics in a closed metal box.",
3221
+ [],
3222
+ {
3223
+ reasoning: "A closed metal box blocks much of a pulse. The electronics in it can operate after the event.",
3224
+ society: NONE
3225
+ }
3226
+ ],
3326
3227
  ...RECOVERY
3327
3228
  ]),
3328
3229
  ...stepsOf("geo.space-weather.geomagnetic-storm", [
@@ -3355,16 +3256,14 @@ const CASE_STEPS = [
3355
3256
  "charge-and-fill",
3356
3257
  "When an alert of a severe solar storm comes, charge the phones and the batteries, and fill the water containers.",
3357
3258
  ["ready-space-weather"],
3358
- [],
3359
- "A severe storm can stop the grid, and pumps of water need power."
3259
+ { reasoning: "A severe storm can stop the grid, and pumps of water need power." }
3360
3260
  ],
3361
3261
  [
3362
3262
  "P1",
3363
3263
  "disconnect",
3364
3264
  "Disconnect the electrical appliances that you do not use until the storm ends.",
3365
3265
  ["ready-space-weather"],
3366
- [],
3367
- "A surge on the grid can damage the appliances that are connected to it."
3266
+ { reasoning: "A surge on the grid can damage the appliances that are connected to it." }
3368
3267
  ],
3369
3268
  [
3370
3269
  "P1",
@@ -3545,8 +3444,7 @@ const CASE_STEPS = [
3545
3444
  "help-injured",
3546
3445
  "When the attack stops, help people who are injured or trapped.",
3547
3446
  ["se-brochure-en"],
3548
- [],
3549
- "A rescuer who goes out during the attack becomes a second casualty."
3447
+ { reasoning: "A rescuer who goes out during the attack becomes a second casualty." }
3550
3448
  ],
3551
3449
  [
3552
3450
  "P1",
@@ -3559,8 +3457,7 @@ const CASE_STEPS = [
3559
3457
  "keep-clear",
3560
3458
  "Keep out of the way of the rescue services and the military. Do not share where they are.",
3561
3459
  ["se-brochure-en"],
3562
- [],
3563
- "An enemy can use the photos and the posts of the public to find a target."
3460
+ { reasoning: "An enemy can use the photos and the posts of the public to find a target." }
3564
3461
  ],
3565
3462
  [
3566
3463
  "P1",
@@ -3585,8 +3482,7 @@ const CASE_STEPS = [
3585
3482
  "evacuate",
3586
3483
  "If the fighting comes near, leave early on a route away from it, with your kit and your group.",
3587
3484
  ["se-brochure-en"],
3588
- [],
3589
- "The roads fill and close when the fighting comes. The persons who go first have the open routes."
3485
+ { reasoning: "The roads fill and close when the fighting comes. The persons who go first have the open routes." }
3590
3486
  ],
3591
3487
  [
3592
3488
  "P2",
@@ -3665,7 +3561,8 @@ const CASE_STEPS = [
3665
3561
  "P4",
3666
3562
  "anxiety",
3667
3563
  "If you have severe anxiety, get help from a health professional.",
3668
- ["se-brochure-en"]
3564
+ ["se-brochure-en"],
3565
+ { society: SERVICES }
3669
3566
  ],
3670
3567
  [
3671
3568
  "P4",
@@ -3685,10 +3582,43 @@ const CASE_STEPS = [
3685
3582
  "Take part in the recovery plans of your community. Recovery can take years.",
3686
3583
  ["uk-nrr-2025"]
3687
3584
  ],
3585
+ [
3586
+ "P3",
3587
+ "strong-room",
3588
+ "Prepare the strongest room of the building as a shelter: low, inside, with thick walls and no windows.",
3589
+ [],
3590
+ {
3591
+ reasoning: "Thick walls and distance from the windows stop fragments and blast.",
3592
+ society: NONE
3593
+ }
3594
+ ],
3595
+ [
3596
+ "P4",
3597
+ "away-from-targets",
3598
+ "Stay away from the places that a force wants: bridges, main roads, fuel stores and military sites.",
3599
+ [],
3600
+ {
3601
+ reasoning: "Fighting comes to the places that have a military value.",
3602
+ society: NONE
3603
+ }
3604
+ ],
3605
+ [
3606
+ "P5",
3607
+ "move-plan",
3608
+ "Keep a plan, a route and packed bags to leave the area with the group if the fighting comes close.",
3609
+ [],
3610
+ {
3611
+ reasoning: "A plan that is ready turns a flight into a move.",
3612
+ society: NONE
3613
+ }
3614
+ ],
3688
3615
  ...RECOVERY
3689
3616
  ])
3690
3617
  ];
3691
- /** The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts. */
3618
+ /**
3619
+ * The steps of the cuts. A cut is a service that an event stops. A plan of a case adds the steps of its cuts.
3620
+ * The last key, `society.services`, is the cut of all the services of society. It is for a society where no service operates.
3621
+ */
3692
3622
  const CUT_STEPS = [
3693
3623
  ...stepsOf("power.grid", [
3694
3624
  [
@@ -3795,6 +3725,49 @@ const CUT_STEPS = [
3795
3725
  "If a refrigerated medicine keeps you alive and you have no replacement, use it until you get a new supply.",
3796
3726
  ["fda-drugs"],
3797
3727
  [MEDICINE]
3728
+ ],
3729
+ [
3730
+ "P3",
3731
+ "few-loads",
3732
+ "Use the stored power only for light, the radio, the phones and medical devices.",
3733
+ [],
3734
+ {
3735
+ needs: [POWER$1],
3736
+ reasoning: "Heat and cooking empty stored power fast. Small loads make it last for weeks.",
3737
+ society: NONE
3738
+ }
3739
+ ],
3740
+ [
3741
+ "P4",
3742
+ "solar",
3743
+ "Get a small solar panel, a charge controller and a battery by trade in the group. Charge them in the day.",
3744
+ [],
3745
+ {
3746
+ needs: [POWER$1],
3747
+ reasoning: "The sun comes each day with no fuel. A small system runs light and a radio for years.",
3748
+ society: NONE
3749
+ }
3750
+ ],
3751
+ [
3752
+ "P5",
3753
+ "battery-care",
3754
+ "Keep the batteries out of the cold and the heat, and do not empty them fully.",
3755
+ [],
3756
+ {
3757
+ needs: [POWER$1],
3758
+ reasoning: "Deep discharge and extreme temperatures shorten the life of a battery. With no shops, each battery must last.",
3759
+ society: NONE
3760
+ }
3761
+ ],
3762
+ [
3763
+ "P3",
3764
+ "cool-hours",
3765
+ "Do the heavy work in the early morning and the evening. Rest in the shade in the middle of the day.",
3766
+ [],
3767
+ {
3768
+ reasoning: "The body makes heat when it works. Work in the cool hours keeps it from overheating.",
3769
+ society: NONE
3770
+ }
3798
3771
  ]
3799
3772
  ]),
3800
3773
  ...stepsOf("water.main", [
@@ -3851,8 +3824,10 @@ const CUT_STEPS = [
3851
3824
  "ration",
3852
3825
  "Drink the water that your body needs. To make the water last, use less water to wash and clean.",
3853
3826
  ["ready-water"],
3854
- [DRINK],
3855
- "Thirst harms the body faster than a small supply harms the plan. So cut the other uses of water first."
3827
+ {
3828
+ needs: [DRINK],
3829
+ reasoning: "Thirst harms the body faster than a small supply harms the plan. So cut the other uses of water first."
3830
+ }
3856
3831
  ],
3857
3832
  [
3858
3833
  "P2",
@@ -3902,35 +3877,133 @@ const CUT_STEPS = [
3902
3877
  "Do not drink water with iodine for more than a few weeks at a time.",
3903
3878
  ["cdc-water"],
3904
3879
  [DRINK]
3905
- ]
3906
- ]),
3907
- ...stepsOf("road.local", [
3880
+ ],
3908
3881
  [
3909
- "ready",
3910
- "food",
3911
- "Keep a supply of non-perishable food for several days.",
3912
- ["ready-kit"],
3913
- [FOOD]
3882
+ "P3",
3883
+ "rain",
3884
+ "Collect rain from the roof in clean, covered containers. Let the first rain of each storm wash the roof.",
3885
+ [],
3886
+ {
3887
+ needs: [DRINK],
3888
+ reasoning: "A roof is the largest clean catchment near you. The first rain carries the dust and the droppings away.",
3889
+ society: NONE
3890
+ }
3914
3891
  ],
3915
3892
  [
3916
- "ready",
3917
- "opener",
3918
- "Keep a manual can opener and local maps in the kit.",
3919
- ["ready-kit"],
3920
- [FOOD]
3893
+ "P3",
3894
+ "treat-all",
3895
+ "Treat all the water from outside the stored supply before you drink it, cook with it or brush your teeth with it.",
3896
+ ["cdc-water"],
3897
+ {
3898
+ needs: [DRINK],
3899
+ reasoning: "Water from rain, streams and wells can carry germs that you cannot see.",
3900
+ society: NONE
3901
+ }
3921
3902
  ],
3922
3903
  [
3923
- "ready",
3924
- "storage",
3925
- "Store canned food in a cool, dry place, and boxed food in tightly closed containers.",
3926
- ["ready-kit"],
3927
- [FOOD]
3904
+ "P4",
3905
+ "sources",
3906
+ "Find the water sources in walking distance: springs, wells, streams and ponds. Mark them on a map.",
3907
+ [],
3908
+ {
3909
+ needs: [DRINK],
3910
+ reasoning: "Rain stops in a dry season. A second source that you know keeps the group alive through it.",
3911
+ society: NONE
3912
+ }
3928
3913
  ],
3929
3914
  [
3930
- "warned",
3931
- "fuel",
3932
- "Fill the fuel tank of the car.",
3933
- ["ready-winter", "ready-evacuation"]
3915
+ "P4",
3916
+ "settle",
3917
+ "Let cloudy water settle, and pour it through a clean cloth before you disinfect it.",
3918
+ ["cdc-water"],
3919
+ {
3920
+ needs: [DRINK],
3921
+ reasoning: "Dirt in the water protects germs from heat and from bleach.",
3922
+ society: NONE
3923
+ }
3924
+ ],
3925
+ [
3926
+ "P5",
3927
+ "lasting-source",
3928
+ "With the group, make one water source that lasts: a protected well, a spring box or a large rain tank.",
3929
+ [],
3930
+ {
3931
+ needs: [DRINK],
3932
+ reasoning: "A source with a cover and a seal stays clean for years. An open source takes the dirt of each storm.",
3933
+ society: NONE
3934
+ }
3935
+ ],
3936
+ [
3937
+ "P5",
3938
+ "uphill",
3939
+ "Keep each latrine, animal pen and waste pile downhill of the water source, and far from it.",
3940
+ [],
3941
+ {
3942
+ reasoning: "Water in the ground flows downhill. Distance and slope keep the germs of waste out of the water.",
3943
+ society: NONE
3944
+ }
3945
+ ],
3946
+ [
3947
+ "P3",
3948
+ "sun-bottles",
3949
+ "With no fuel and no bleach, put clear water in clear bottles in full sun for 6 hours.",
3950
+ ["cdc-hwts"],
3951
+ {
3952
+ needs: [DRINK],
3953
+ reasoning: "The ultraviolet light and the heat of the sun destroy germs in clear water. Cloud stops part of the light.",
3954
+ society: NONE
3955
+ }
3956
+ ],
3957
+ [
3958
+ "P3",
3959
+ "sun-cloudy",
3960
+ "When the sky is cloudy, leave the bottles in the sun for 2 days.",
3961
+ ["cdc-hwts"],
3962
+ {
3963
+ needs: [DRINK],
3964
+ reasoning: "Less light needs more time to give the same dose.",
3965
+ society: NONE
3966
+ }
3967
+ ],
3968
+ [
3969
+ "P3",
3970
+ "daily-water",
3971
+ "Plan at least 1 gallon of water for each person each day. In hot weather, plan for twice as much.",
3972
+ ["ready-water"],
3973
+ {
3974
+ needs: [DRINK],
3975
+ reasoning: "The body loses more water in the heat, and children, nursing mothers and ill persons use more.",
3976
+ society: NONE
3977
+ }
3978
+ ]
3979
+ ]),
3980
+ ...stepsOf("road.local", [
3981
+ [
3982
+ "ready",
3983
+ "food",
3984
+ "Keep a supply of non-perishable food for several days.",
3985
+ ["ready-kit"],
3986
+ [FOOD]
3987
+ ],
3988
+ [
3989
+ "ready",
3990
+ "opener",
3991
+ "Keep a manual can opener and local maps in the kit.",
3992
+ ["ready-kit"],
3993
+ [FOOD]
3994
+ ],
3995
+ [
3996
+ "ready",
3997
+ "storage",
3998
+ "Store canned food in a cool, dry place, and boxed food in tightly closed containers.",
3999
+ ["ready-kit"],
4000
+ [FOOD]
4001
+ ],
4002
+ [
4003
+ "warned",
4004
+ "fuel",
4005
+ "Fill the fuel tank of the car.",
4006
+ ["ready-winter", "ready-evacuation"]
3934
4007
  ],
3935
4008
  [
3936
4009
  "P1",
@@ -3950,6 +4023,36 @@ const CUT_STEPS = [
3950
4023
  "Before a trip, fill the fuel tank, and take water and non-perishable food for the ride.",
3951
4024
  ["ready-evacuation"],
3952
4025
  [DRINK, FOOD]
4026
+ ],
4027
+ [
4028
+ "P3",
4029
+ "foot-routes",
4030
+ "Learn the routes on foot and by bicycle to the water, the fields and the other groups.",
4031
+ [],
4032
+ {
4033
+ reasoning: "With no fuel, the distance that you can walk is the size of your area.",
4034
+ society: NONE
4035
+ }
4036
+ ],
4037
+ [
4038
+ "P4",
4039
+ "bicycles",
4040
+ "Keep bicycles with spare tubes, tires and a pump. A bicycle carries loads far with no fuel.",
4041
+ [],
4042
+ {
4043
+ reasoning: "A bicycle moves a person several times faster than walking, with the same food.",
4044
+ society: NONE
4045
+ }
4046
+ ],
4047
+ [
4048
+ "P5",
4049
+ "area-map",
4050
+ "Keep a map of the area with the water, the fields, the dangers and the other groups.",
4051
+ [],
4052
+ {
4053
+ reasoning: "A shared map keeps the knowledge of the group when the scouts change.",
4054
+ society: NONE
4055
+ }
3953
4056
  ]
3954
4057
  ]),
3955
4058
  ...stepsOf("phone.network", [
@@ -3995,6 +4098,46 @@ const CUT_STEPS = [
3995
4098
  "news",
3996
4099
  "Listen to the local news on a radio with batteries.",
3997
4100
  ["ready-earthquakes"]
4101
+ ],
4102
+ [
4103
+ "P3",
4104
+ "meeting-time",
4105
+ "Agree with the group on a place and a time to meet each day. Messages then go with no phone.",
4106
+ [],
4107
+ {
4108
+ reasoning: "A fixed time and place replace the phone network.",
4109
+ society: NONE
4110
+ }
4111
+ ],
4112
+ [
4113
+ "P4",
4114
+ "two-way-radio",
4115
+ "Get two-way radios for the group. Agree on the channels and the times to listen.",
4116
+ [],
4117
+ {
4118
+ reasoning: "Radios between persons need no network. Fixed times save the batteries.",
4119
+ society: NONE
4120
+ }
4121
+ ],
4122
+ [
4123
+ "P5",
4124
+ "message-board",
4125
+ "Make a message board at the meeting place for news, needs and trades.",
4126
+ [],
4127
+ {
4128
+ reasoning: "A board gives each message to each person, also to the persons who were not at the meeting.",
4129
+ society: NONE
4130
+ }
4131
+ ],
4132
+ [
4133
+ "ready",
4134
+ "radios",
4135
+ "Get two-way radios before you need them. FRS radios need no license. GMRS radios have more range and need a license.",
4136
+ ["fcc-part95"],
4137
+ {
4138
+ reasoning: "Radios between persons operate when the phone network stops.",
4139
+ society: ALWAYS
4140
+ }
3998
4141
  ]
3999
4142
  ]),
4000
4143
  ...stepsOf("network.access", [
@@ -4021,6 +4164,36 @@ const CUT_STEPS = [
4021
4164
  "news",
4022
4165
  "With no internet, get the news from a local radio station on a radio with batteries.",
4023
4166
  ["ready-earthquakes"]
4167
+ ],
4168
+ [
4169
+ "P3",
4170
+ "keep-knowledge",
4171
+ "Print or write down the knowledge that you got from the internet: maps, manuals and medical facts.",
4172
+ [],
4173
+ {
4174
+ reasoning: "With no internet, the knowledge that you did not keep is gone.",
4175
+ society: NONE
4176
+ }
4177
+ ],
4178
+ [
4179
+ "P4",
4180
+ "offline-library",
4181
+ "Keep an offline library on a device that you charge with solar power.",
4182
+ [],
4183
+ {
4184
+ reasoning: "One small device holds more books than a room, and the sun charges it.",
4185
+ society: NONE
4186
+ }
4187
+ ],
4188
+ [
4189
+ "P5",
4190
+ "teach-children",
4191
+ "Teach the children to read, write and calculate with the books that you have.",
4192
+ [],
4193
+ {
4194
+ reasoning: "Schools can stop for years. Reading and arithmetic keep each other skill teachable.",
4195
+ society: NONE
4196
+ }
4024
4197
  ]
4025
4198
  ]),
4026
4199
  ...stepsOf("gas.main", [
@@ -4052,19 +4225,71 @@ const CUT_STEPS = [
4052
4225
  "P0",
4053
4226
  "valve",
4054
4227
  "If you can, turn off the gas at the outside main valve. Call the gas company from a neighbor's house.",
4055
- ["ready-safety"]
4228
+ ["ready-safety"],
4229
+ { society: ALWAYS }
4056
4230
  ],
4057
4231
  [
4058
4232
  "P1",
4059
4233
  "restore",
4060
4234
  "Do not turn the gas on again yourself. Only a qualified professional can do this.",
4061
- ["ready-safety"]
4235
+ ["ready-safety"],
4236
+ { society: SERVICES }
4062
4237
  ],
4063
4238
  [
4064
4239
  "P2",
4065
4240
  "indoors",
4066
4241
  "Do not use a camp stove or charcoal indoors at any time.",
4067
4242
  ["cdc-co"]
4243
+ ],
4244
+ [
4245
+ "P3",
4246
+ "one-room",
4247
+ "Heat one room only. Close the other rooms, cover the windows with blankets, and sleep together.",
4248
+ [],
4249
+ {
4250
+ reasoning: "A small, closed space needs less fuel. Bodies near each other share their heat.",
4251
+ society: NONE
4252
+ }
4253
+ ],
4254
+ [
4255
+ "P4",
4256
+ "chimney",
4257
+ "Burn wood only in a stove or a fireplace with a chimney. Keep a carbon monoxide alarm with batteries.",
4258
+ ["cdc-co"],
4259
+ {
4260
+ reasoning: "A fire with no chimney fills the room with carbon monoxide, which has no odor.",
4261
+ society: NONE
4262
+ }
4263
+ ],
4264
+ [
4265
+ "P4",
4266
+ "firewood",
4267
+ "In the warm months, cut, split and stack firewood under a roof. Let it dry for 6 months or more.",
4268
+ ["epa-burnwise"],
4269
+ {
4270
+ reasoning: "Wet wood gives little heat and much smoke. Wood dries only with time and air.",
4271
+ society: NONE
4272
+ }
4273
+ ],
4274
+ [
4275
+ "P5",
4276
+ "insulate",
4277
+ "Insulate the room that you heat: fill the gaps at the windows and the doors, and put mats on the floor.",
4278
+ [],
4279
+ {
4280
+ reasoning: "Each gap lets warm air out. Insulation keeps the heat of the same wood for longer.",
4281
+ society: NONE
4282
+ }
4283
+ ],
4284
+ [
4285
+ "P3",
4286
+ "layers",
4287
+ "Wear layers of dry wool or synthetic clothes, a hat and gloves inside, and sleep in pairs.",
4288
+ [],
4289
+ {
4290
+ reasoning: "Dry layers keep the heat of the body. Wet clothes take the heat away fast.",
4291
+ society: NONE
4292
+ }
4068
4293
  ]
4069
4294
  ]),
4070
4295
  ...stepsOf("care.local", [
@@ -4137,6 +4362,127 @@ const CUT_STEPS = [
4137
4362
  "Replace the medicines that you cannot use as soon as possible.",
4138
4363
  ["fda-drugs"],
4139
4364
  [MEDICINE]
4365
+ ],
4366
+ [
4367
+ "P3",
4368
+ "medic",
4369
+ "Choose the person of the group with the most medical skill. Keep the medicines and the first aid kit together.",
4370
+ [],
4371
+ {
4372
+ reasoning: "One person who knows the supplies treats faster and wastes less.",
4373
+ society: NONE
4374
+ }
4375
+ ],
4376
+ [
4377
+ "P3",
4378
+ "medicine-list",
4379
+ "Write down each medicine that each person takes, the doses that remain and the date that they end.",
4380
+ [],
4381
+ {
4382
+ needs: [MEDICINE],
4383
+ reasoning: "The date that a medicine ends is the date to plan for. The medic can then look for a substitute.",
4384
+ society: NONE
4385
+ }
4386
+ ],
4387
+ [
4388
+ "P4",
4389
+ "prevent",
4390
+ "Prevent the illness that you cannot treat: clean water, clean hands, clean food and a clean latrine.",
4391
+ [],
4392
+ {
4393
+ reasoning: "With no hospital, diarrhea, infection and injury are the common dangers. Prevention costs less than a cure.",
4394
+ society: NONE
4395
+ }
4396
+ ],
4397
+ [
4398
+ "P4",
4399
+ "no-risks",
4400
+ "Do not take risks with tools, ladders, fire or fights. A small injury is serious when no doctor comes.",
4401
+ [],
4402
+ {
4403
+ reasoning: "An injury that a hospital treats in an hour can become fatal with no hospital.",
4404
+ society: NONE
4405
+ }
4406
+ ],
4407
+ [
4408
+ "P4",
4409
+ "teeth",
4410
+ "Clean your teeth each day. An infection of a tooth with no dentist can become dangerous.",
4411
+ [],
4412
+ {
4413
+ reasoning: "Infections of the teeth can spread to the jaw and the blood.",
4414
+ society: NONE
4415
+ }
4416
+ ],
4417
+ [
4418
+ "P5",
4419
+ "medical-book",
4420
+ "Get a medical book for care with no doctor, and teach its first chapters to the group.",
4421
+ [],
4422
+ {
4423
+ reasoning: "A book keeps the knowledge when the medic is ill or away.",
4424
+ society: NONE
4425
+ }
4426
+ ],
4427
+ [
4428
+ "P5",
4429
+ "life-plan",
4430
+ "Plan for births, long illness and old age in the group: who helps, with what supplies, in what room.",
4431
+ [],
4432
+ {
4433
+ reasoning: "These needs come in each group over years. A plan makes them less dangerous.",
4434
+ society: NONE
4435
+ }
4436
+ ],
4437
+ [
4438
+ "P3",
4439
+ "hold-arrivals",
4440
+ "Keep each new person apart from the group for some days. Let them join when you know that they are well.",
4441
+ [],
4442
+ {
4443
+ reasoning: "With no tests and no hospital, time is the test. A person who is ill shows the signs in that time.",
4444
+ society: NONE
4445
+ }
4446
+ ],
4447
+ [
4448
+ "P4",
4449
+ "sick-room",
4450
+ "Make one room for the ill, with one carer, its own dishes and fresh air.",
4451
+ [],
4452
+ {
4453
+ reasoning: "One room and one carer keep the disease away from the others. Fresh air carries the germs out.",
4454
+ society: NONE
4455
+ }
4456
+ ],
4457
+ [
4458
+ "P5",
4459
+ "burial",
4460
+ "Bury the dead far from the water and the houses, deep enough that animals cannot reach them.",
4461
+ [],
4462
+ {
4463
+ reasoning: "A body near water or within the reach of animals spreads disease to the living.",
4464
+ society: NONE
4465
+ }
4466
+ ],
4467
+ [
4468
+ "P3",
4469
+ "rehydrate",
4470
+ "For diarrhea, mix 1/2 teaspoon of salt and 6 teaspoons of sugar in 1 liter of safe water. Drink it often.",
4471
+ ["who-ors"],
4472
+ {
4473
+ reasoning: "Diarrhea takes water and salt from the body. Sugar helps the gut take up the salt and the water.",
4474
+ society: NONE
4475
+ }
4476
+ ],
4477
+ [
4478
+ "P3",
4479
+ "wound-care",
4480
+ "Wash each wound with much clean water, and clean around it with soap. Examine it each 24 hours.",
4481
+ ["cdc-wound"],
4482
+ {
4483
+ reasoning: "Dirt in a wound causes infection. Redness, swelling, fluid, pain and fever are the signs.",
4484
+ society: NONE
4485
+ }
4140
4486
  ]
4141
4487
  ]),
4142
4488
  ...stepsOf("sewer.main", [
@@ -4193,8 +4539,7 @@ const CUT_STEPS = [
4193
4539
  "waste-store",
4194
4540
  "Keep the bags of human waste in a closed bin away from water and food. With no collection, bury them far from a well.",
4195
4541
  ["se-brochure-en"],
4196
- [],
4197
- "Human waste carries the diseases that a broken sewer spreads. Distance from water and food stops them."
4542
+ { reasoning: "Human waste carries the diseases that a broken sewer spreads. Distance from water and food stops them." }
4198
4543
  ],
4199
4544
  [
4200
4545
  "P2",
@@ -4218,7 +4563,8 @@ const CUT_STEPS = [
4218
4563
  "P3",
4219
4564
  "sewage-pro",
4220
4565
  "If sewage comes into the home, get a professional with experience of sewage damage to clean it.",
4221
- ["epa-mold"]
4566
+ ["epa-mold"],
4567
+ { society: SERVICES }
4222
4568
  ],
4223
4569
  [
4224
4570
  "P3",
@@ -4243,6 +4589,57 @@ const CUT_STEPS = [
4243
4589
  "council-removal",
4244
4590
  "Ask the environmental health team of the local council to remove items that sewage made dirty.",
4245
4591
  ["govuk-after-flood"]
4592
+ ],
4593
+ [
4594
+ "P3",
4595
+ "bucket-toilet",
4596
+ "Make a toilet from a bucket with a lid and a bag. Cover each use with soil, ash or sawdust.",
4597
+ [],
4598
+ {
4599
+ reasoning: "A cover stops the smell and the flies. Flies carry the germs of waste to food.",
4600
+ society: NONE
4601
+ }
4602
+ ],
4603
+ [
4604
+ "P3",
4605
+ "cat-hole",
4606
+ "Away from the toilet, dig a hole 6 to 8 inches deep, at least 200 feet from water and paths.",
4607
+ ["nps-lnt"],
4608
+ {
4609
+ reasoning: "Soil at that depth breaks down waste fast, and the distance keeps it from the water.",
4610
+ society: NONE
4611
+ }
4612
+ ],
4613
+ [
4614
+ "P4",
4615
+ "pit-latrine",
4616
+ "Dig a pit latrine 30 meters or more downhill of the water and 100 meters or more from the food.",
4617
+ ["army-fm21-10"],
4618
+ {
4619
+ reasoning: "Water in the ground flows downhill, and flies go from the latrine to the food. Distance stops both.",
4620
+ society: NONE
4621
+ }
4622
+ ],
4623
+ [
4624
+ "P5",
4625
+ "store-waste",
4626
+ "Keep human waste in a separate pile or pit for a long time before you use it on the soil.",
4627
+ [],
4628
+ {
4629
+ reasoning: "Time destroys the germs of waste. Waste that is not old enough spreads disease to the garden.",
4630
+ society: NONE
4631
+ }
4632
+ ],
4633
+ [
4634
+ "P5",
4635
+ "no-fresh-waste",
4636
+ "Do not put fresh human waste on the food plants.",
4637
+ [],
4638
+ {
4639
+ needs: [FOOD],
4640
+ reasoning: "Fresh waste carries worms and bacteria that stay on the plants that you eat.",
4641
+ society: NONE
4642
+ }
4246
4643
  ]
4247
4644
  ]),
4248
4645
  ...stepsOf("fuel.retail", [
@@ -4298,7 +4695,8 @@ const CUT_STEPS = [
4298
4695
  "P1",
4299
4696
  "fumes-ill",
4300
4697
  "If you breathe or swallow fuel and feel ill, see a doctor or call the poison center.",
4301
- ["cdc-power-protect"]
4698
+ ["cdc-power-protect"],
4699
+ { society: SERVICES }
4302
4700
  ],
4303
4701
  [
4304
4702
  "P1",
@@ -4359,12 +4757,42 @@ const CUT_STEPS = [
4359
4757
  "stay-elsewhere",
4360
4758
  "If the home is too cold or too hot, stay with friends or at a community shelter.",
4361
4759
  ["cdc-power-protect"]
4362
- ]
4363
- ]),
4364
- ...stepsOf("food.retail", [
4760
+ ],
4365
4761
  [
4366
- "ready",
4367
- "filling-food",
4762
+ "P3",
4763
+ "fuel-priority",
4764
+ "Keep the fuel for the jobs that only fuel can do: a medical device, the water pump, an urgent trip.",
4765
+ [],
4766
+ {
4767
+ reasoning: "With no refineries, fuel does not renew. Use it where nothing else works.",
4768
+ society: NONE
4769
+ }
4770
+ ],
4771
+ [
4772
+ "P4",
4773
+ "oldest-first",
4774
+ "Use the oldest stored fuel first, and keep the containers closed, full and cool.",
4775
+ [],
4776
+ {
4777
+ reasoning: "Fuel changes with time and air. Old fuel can damage an engine.",
4778
+ society: NONE
4779
+ }
4780
+ ],
4781
+ [
4782
+ "P5",
4783
+ "no-engine",
4784
+ "Plan the work of the group with no engine fuel: walk, cycle and use hand tools.",
4785
+ [],
4786
+ {
4787
+ reasoning: "After some years, the stored fuel ends. Hand tools and bicycles do not stop for lack of it.",
4788
+ society: NONE
4789
+ }
4790
+ ]
4791
+ ]),
4792
+ ...stepsOf("food.retail", [
4793
+ [
4794
+ "ready",
4795
+ "filling-food",
4368
4796
  "Store filling food with a lot of energy that stays safe at room temperature.",
4369
4797
  ["se-brochure-en"],
4370
4798
  [FOOD]
@@ -4479,7 +4907,10 @@ const CUT_STEPS = [
4479
4907
  "food-benefits",
4480
4908
  "If you cannot pay for food, apply for government food and nutrition benefits.",
4481
4909
  ["ready-financial"],
4482
- [FOOD]
4910
+ {
4911
+ needs: [FOOD],
4912
+ society: SERVICES
4913
+ }
4483
4914
  ],
4484
4915
  [
4485
4916
  "P4",
@@ -4487,6 +4918,127 @@ const CUT_STEPS = [
4487
4918
  "Grow food in a garden or on a balcony. Pick the fruits and berries that grow near you.",
4488
4919
  ["se-brochure-en"],
4489
4920
  [FOOD]
4921
+ ],
4922
+ [
4923
+ "P3",
4924
+ "calories",
4925
+ "Count the calories of the stored food. Plan 2,000 to 3,000 for each man and 1,600 to 2,400 for each woman each day.",
4926
+ ["dga-calories"],
4927
+ {
4928
+ needs: [FOOD],
4929
+ reasoning: "Calories, not the number of cans, decide how long the food lasts. Hard work needs the top of the range.",
4930
+ society: NONE
4931
+ }
4932
+ ],
4933
+ [
4934
+ "P3",
4935
+ "can-order",
4936
+ "Eat high-acid cans, for example fruit and tomatoes, within 12 to 18 months. Low-acid cans keep for 2 to 5 years.",
4937
+ ["fsis-shelf"],
4938
+ {
4939
+ needs: [FOOD],
4940
+ reasoning: "Acid attacks the metal of the can over time. Use the cans in the order that they go bad.",
4941
+ society: NONE
4942
+ }
4943
+ ],
4944
+ [
4945
+ "P3",
4946
+ "share-by-need",
4947
+ "Give more food to the persons who do heavy work, and enough to the children and the ill.",
4948
+ [],
4949
+ {
4950
+ needs: [FOOD],
4951
+ reasoning: "The body of a worker uses more energy. The young and the ill have the smallest reserve.",
4952
+ society: NONE
4953
+ }
4954
+ ],
4955
+ [
4956
+ "P4",
4957
+ "calorie-garden",
4958
+ "Plant a garden of crops with many calories: potatoes, beans, squash and corn.",
4959
+ [],
4960
+ {
4961
+ needs: [FOOD],
4962
+ reasoning: "A garden of salad gives few calories. Root crops, beans and grains feed persons through a winter.",
4963
+ society: NONE
4964
+ }
4965
+ ],
4966
+ [
4967
+ "P4",
4968
+ "wild-plants",
4969
+ "Learn the wild food plants of your area from a local guide. Do not eat a plant that you cannot name.",
4970
+ [],
4971
+ {
4972
+ needs: [FOOD],
4973
+ reasoning: "Some poisonous plants look like food plants. A sure name is the only safe test.",
4974
+ society: NONE
4975
+ }
4976
+ ],
4977
+ [
4978
+ "P4",
4979
+ "preserve",
4980
+ "Dry, salt or smoke the harvest, so that the food lasts through the winter.",
4981
+ [],
4982
+ {
4983
+ needs: [FOOD],
4984
+ reasoning: "A harvest comes in some weeks, but persons eat on each day of the year.",
4985
+ society: NONE
4986
+ }
4987
+ ],
4988
+ [
4989
+ "P4",
4990
+ "pressure-can",
4991
+ "Can vegetables, meat and fish only in a pressure canner. A pot of boiling water does not stop botulism.",
4992
+ ["cdc-home-canned"],
4993
+ {
4994
+ needs: [FOOD],
4995
+ reasoning: "The germ of botulism lives in low-acid food with no air. Only the higher heat of a pressure canner destroys it.",
4996
+ society: NONE
4997
+ }
4998
+ ],
4999
+ [
5000
+ "P4",
5001
+ "boil-canned",
5002
+ "Boil home-canned low-acid food for 10 minutes before you eat it.",
5003
+ ["cdc-home-canned"],
5004
+ {
5005
+ needs: [FOOD],
5006
+ reasoning: "Boiling destroys the botulism toxin. A can that looks good can still have the toxin.",
5007
+ society: NONE
5008
+ }
5009
+ ],
5010
+ [
5011
+ "P5",
5012
+ "seeds",
5013
+ "Grow open-pollinated plants, and save seeds from the best of them for the next year.",
5014
+ [],
5015
+ {
5016
+ needs: [FOOD],
5017
+ reasoning: "The seeds of hybrid plants do not give the same plant. Seeds from your own soil do best in it.",
5018
+ society: NONE
5019
+ }
5020
+ ],
5021
+ [
5022
+ "P5",
5023
+ "seed-store",
5024
+ "Keep seeds dry and cool in sealed jars. Onion and lettuce seeds last approximately 1 year, beans and tomatoes 3 to 4 years.",
5025
+ ["csu-seeds"],
5026
+ {
5027
+ needs: [FOOD],
5028
+ reasoning: "Damp and heat make seeds die. Plant the seeds that last a short time first.",
5029
+ society: NONE
5030
+ }
5031
+ ],
5032
+ [
5033
+ "P5",
5034
+ "small-animals",
5035
+ "Keep small animals that eat what persons cannot: chickens or rabbits.",
5036
+ [],
5037
+ {
5038
+ needs: [FOOD],
5039
+ reasoning: "Animals change grass, scraps and insects into eggs and meat.",
5040
+ society: NONE
5041
+ }
4490
5042
  ]
4491
5043
  ]),
4492
5044
  ...stepsOf("cash.retail", [
@@ -4536,13 +5088,15 @@ const CUT_STEPS = [
4536
5088
  "P1",
4537
5089
  "lost-card",
4538
5090
  "If you lose a card, tell the bank that issued it as soon as possible.",
4539
- ["ftc-lost-card"]
5091
+ ["ftc-lost-card"],
5092
+ { society: SERVICES }
4540
5093
  ],
4541
5094
  [
4542
5095
  "P1",
4543
5096
  "account-private",
4544
5097
  "Do not give your bank account number to persons that you do not know.",
4545
- ["ready-financial"]
5098
+ ["ready-financial"],
5099
+ { society: SERVICES }
4546
5100
  ],
4547
5101
  [
4548
5102
  "P2",
@@ -4560,19 +5114,22 @@ const CUT_STEPS = [
4560
5114
  "P2",
4561
5115
  "report-error",
4562
5116
  "If you think that a payment has an error, speak to your bank or payment provider.",
4563
- ["cfpb-disasters"]
5117
+ ["cfpb-disasters"],
5118
+ { society: SERVICES }
4564
5119
  ],
4565
5120
  [
4566
5121
  "P2",
4567
5122
  "ask-relief",
4568
5123
  "Ask your bank about lower fees and a higher cash limit after a disaster.",
4569
- ["cfpb-recover"]
5124
+ ["cfpb-recover"],
5125
+ { society: SERVICES }
4570
5126
  ],
4571
5127
  [
4572
5128
  "P2",
4573
5129
  "stop-autopay",
4574
5130
  "If you must stop automatic payments, speak to your bank or lender quickly.",
4575
- ["cfpb-recover"]
5131
+ ["cfpb-recover"],
5132
+ { society: SERVICES }
4576
5133
  ],
4577
5134
  [
4578
5135
  "P3",
@@ -4596,13 +5153,54 @@ const CUT_STEPS = [
4596
5153
  "P3",
4597
5154
  "bank-address",
4598
5155
  "Keep your address current with your bank. If the bank fails, the FDIC sends a letter to that address.",
4599
- ["fdic-bank-fails"]
5156
+ ["fdic-bank-fails"],
5157
+ { society: SERVICES }
4600
5158
  ],
4601
5159
  [
4602
5160
  "P4",
4603
5161
  "credit-report",
4604
5162
  "Ask for a copy of your credit reports, and examine them.",
4605
5163
  ["cfpb-recover"]
5164
+ ],
5165
+ [
5166
+ "P3",
5167
+ "barter",
5168
+ "Trade what you have extra for what you need: food, water, tools, fuel, medicine and work.",
5169
+ [],
5170
+ {
5171
+ reasoning: "With no cash, goods and work become the money. A fair trade helps both sides.",
5172
+ society: NONE
5173
+ }
5174
+ ],
5175
+ [
5176
+ "P3",
5177
+ "trade-safe",
5178
+ "Trade in a public place with others of the group present. Do not show all your supplies.",
5179
+ [],
5180
+ {
5181
+ reasoning: "Persons who see your stores can come back for them.",
5182
+ society: NONE
5183
+ }
5184
+ ],
5185
+ [
5186
+ "P4",
5187
+ "trade-skills",
5188
+ "Offer your skills for trade: repair, medical care, teaching, cooking or watch work.",
5189
+ [],
5190
+ {
5191
+ reasoning: "A skill does not run out, and each group needs some skills that it does not have.",
5192
+ society: NONE
5193
+ }
5194
+ ],
5195
+ [
5196
+ "P5",
5197
+ "trade-records",
5198
+ "Keep a written record of the trades and the debts of the group.",
5199
+ [],
5200
+ {
5201
+ reasoning: "A record stops disputes, and trust grows with each debt that is paid.",
5202
+ society: NONE
5203
+ }
4606
5204
  ]
4607
5205
  ]),
4608
5206
  ...stepsOf("home.dwelling", [
@@ -4670,7 +5268,8 @@ const CUT_STEPS = [
4670
5268
  "P1",
4671
5269
  "ask-help",
4672
5270
  "Ask your group, your neighbors and volunteer groups for food and a place to stay.",
4673
- ["ready-recover"]
5271
+ ["ready-recover"],
5272
+ { society: ALWAYS }
4674
5273
  ],
4675
5274
  [
4676
5275
  "P1",
@@ -4682,7 +5281,8 @@ const CUT_STEPS = [
4682
5281
  "P1",
4683
5282
  "shelter-kit",
4684
5283
  "Take your supply kit to a public shelter, with soap, hand sanitizer and disinfecting wipes.",
4685
- ["ready-shelter"]
5284
+ ["ready-shelter"],
5285
+ { society: SERVICES }
4686
5286
  ],
4687
5287
  [
4688
5288
  "P1",
@@ -4694,7 +5294,8 @@ const CUT_STEPS = [
4694
5294
  "P1",
4695
5295
  "start-claim",
4696
5296
  "If you have insurance, call your insurance agent to start a claim.",
4697
- ["ready-recover"]
5297
+ ["ready-recover"],
5298
+ { society: SERVICES }
4698
5299
  ],
4699
5300
  [
4700
5301
  "P2",
@@ -4766,7 +5367,8 @@ const CUT_STEPS = [
4766
5367
  "P3",
4767
5368
  "insurer-ok",
4768
5369
  "Get the approval of the insurance company before repairs. Keep damaged items until it tells you to discard them.",
4769
- ["uk-flooding"]
5370
+ ["uk-flooding"],
5371
+ { society: SERVICES }
4770
5372
  ],
4771
5373
  [
4772
5374
  "P3",
@@ -4778,13 +5380,15 @@ const CUT_STEPS = [
4778
5380
  "P3",
4779
5381
  "tell-landlord",
4780
5382
  "If you rent, tell the landlord about the damage in writing. Ask when the repairs will be done.",
4781
- ["cfpb-recover"]
5383
+ ["cfpb-recover"],
5384
+ { society: SERVICES }
4782
5385
  ],
4783
5386
  [
4784
5387
  "P3",
4785
5388
  "uninsured",
4786
5389
  "If insurance does not cover the damage, speak to your local emergency management agency.",
4787
- ["ready-recover"]
5390
+ ["ready-recover"],
5391
+ { society: SERVICES }
4788
5392
  ],
4789
5393
  [
4790
5394
  "P3",
@@ -4802,48 +5406,688 @@ const CUT_STEPS = [
4802
5406
  "P4",
4803
5407
  "estimates",
4804
5408
  "Get written estimates from two or more contractors.",
4805
- ["ftc-scams-weather"]
5409
+ ["ftc-scams-weather"],
5410
+ { society: SERVICES }
4806
5411
  ],
4807
5412
  [
4808
5413
  "P4",
4809
5414
  "license-check",
4810
5415
  "Ask your state or county government to confirm the license of a contractor. Ask for proof of insurance.",
4811
- ["ftc-scams-weather"]
5416
+ ["ftc-scams-weather"],
5417
+ { society: SERVICES }
4812
5418
  ],
4813
5419
  [
4814
5420
  "P4",
4815
5421
  "no-upfront",
4816
5422
  "Do not hire a contractor who wants cash before the work starts.",
4817
- ["ftc-scams-weather"]
5423
+ ["ftc-scams-weather"],
5424
+ { society: SERVICES }
4818
5425
  ],
4819
5426
  [
4820
5427
  "P4",
4821
5428
  "keep-check",
4822
5429
  "Do not sign your insurance check over to a contractor.",
4823
- ["ftc-scams-weather"]
5430
+ ["ftc-scams-weather"],
5431
+ { society: SERVICES }
4824
5432
  ],
4825
5433
  [
4826
5434
  "P4",
4827
5435
  "lien-waiver",
4828
5436
  "Ask each contractor for a lien waiver when you pay.",
4829
- ["cfpb-recover"]
5437
+ ["cfpb-recover"],
5438
+ { society: SERVICES }
4830
5439
  ],
4831
5440
  [
4832
5441
  "P4",
4833
5442
  "claim-money",
4834
5443
  "Ask the insurance company and the mortgage company how and when they pay the insurance money.",
4835
- ["cfpb-recover"]
5444
+ ["cfpb-recover"],
5445
+ { society: SERVICES }
5446
+ ],
5447
+ [
5448
+ "P3",
5449
+ "roof-first",
5450
+ "Repair the roof and the windows first, with tarps, boards and plastic sheet.",
5451
+ [],
5452
+ {
5453
+ reasoning: "Water from a roof destroys a building and its supplies. A dry room protects the persons and the food.",
5454
+ society: NONE
5455
+ }
5456
+ ],
5457
+ [
5458
+ "P4",
5459
+ "salvage",
5460
+ "Get building material from damaged buildings with the agreement of the owner or the group.",
5461
+ [],
5462
+ {
5463
+ reasoning: "With no shops, damaged buildings are the store of material. An agreement prevents a dispute.",
5464
+ society: NONE
5465
+ }
5466
+ ],
5467
+ [
5468
+ "P5",
5469
+ "hard-to-enter",
5470
+ "Make the home hard to enter: strong doors, good locks and windows that you can cover.",
5471
+ [],
5472
+ {
5473
+ reasoning: "A home that is hard to enter turns most persons away before a fight.",
5474
+ society: NONE
5475
+ }
5476
+ ]
5477
+ ]),
5478
+ ...stepsOf("society.services", [
5479
+ [
5480
+ "ready",
5481
+ "first-aid",
5482
+ "Learn first aid with the persons of your household, and agree with your neighbors to help each other.",
5483
+ [],
5484
+ {
5485
+ reasoning: "When the services stop, the persons near you are the only help. Skills and agreements made before cost nothing.",
5486
+ society: ALWAYS
5487
+ }
5488
+ ],
5489
+ [
5490
+ "P0",
5491
+ "self-rescue",
5492
+ "Do the first aid and the rescue yourself. Help can be late, or it can stay away.",
5493
+ [],
5494
+ {
5495
+ reasoning: "In the first minutes, the persons at the place save the most lives.",
5496
+ society: NONE
5497
+ }
5498
+ ],
5499
+ [
5500
+ "P1",
5501
+ "check-neighbors",
5502
+ "Check on the neighbors, and share what you know of the danger and the supplies.",
5503
+ [],
5504
+ {
5505
+ reasoning: "The persons near you have the facts, the tools and the hands that you do not have.",
5506
+ society: NONE
5507
+ }
5508
+ ],
5509
+ [
5510
+ "P2",
5511
+ "how-long",
5512
+ "With the household, decide how long the supplies last, and if you stay or go.",
5513
+ [],
5514
+ {
5515
+ reasoning: "With no services, the supplies set the time that you can stay.",
5516
+ society: NONE
5517
+ }
5518
+ ],
5519
+ [
5520
+ "P3",
5521
+ "group",
5522
+ "Make a group with the households near you. Agree on a daily meeting, a list of skills and a list of supplies.",
5523
+ [],
5524
+ {
5525
+ reasoning: "A household alone cannot watch, fetch water, cook, heal and sleep at the same time. A group divides the work.",
5526
+ society: NONE
5527
+ }
5528
+ ],
5529
+ [
5530
+ "P3",
5531
+ "count",
5532
+ "Count the water, the food, the fuel and the medicine of the group. Write the number of days that each lasts.",
5533
+ [],
5534
+ {
5535
+ reasoning: "A count changes a fear into a plan. The supply that ends first decides the next task.",
5536
+ society: NONE
5537
+ }
5538
+ ],
5539
+ [
5540
+ "P4",
5541
+ "routine",
5542
+ "Set a daily routine of work, meals, sleep and watch for each person of the group.",
5543
+ [],
5544
+ {
5545
+ reasoning: "A routine saves energy and keeps morale. Each person knows the task, so no task stays undone.",
5546
+ society: NONE
5547
+ }
5548
+ ],
5549
+ [
5550
+ "P4",
5551
+ "make-supplies",
5552
+ "Change from using supplies to making them: water from rain, food from a garden and heat from wood.",
5553
+ [],
5554
+ {
5555
+ reasoning: "Stored supplies end. Only a supply that renews itself lasts for months.",
5556
+ society: NONE
5557
+ }
5558
+ ],
5559
+ [
5560
+ "P5",
5561
+ "teach-skills",
5562
+ "Teach each skill of the group to two or more persons.",
5563
+ [],
5564
+ {
5565
+ reasoning: "An injury or a death can take the only person with a skill. A second person keeps the skill in the group.",
5566
+ society: NONE
5567
+ }
5568
+ ],
5569
+ [
5570
+ "P5",
5571
+ "place-review",
5572
+ "Each season, decide if your place can support the group for one more year. If it cannot, plan a move.",
5573
+ [],
5574
+ {
5575
+ reasoning: "Water, soil, fuel and safety decide if a place can support persons. A move with a plan is safer than a move in a crisis.",
5576
+ society: NONE
5577
+ }
4836
5578
  ]
4837
5579
  ])
4838
5580
  ];
4839
- /** All the steps of the content. */
4840
- const STEPS = [...CASE_STEPS, ...CUT_STEPS];
5581
+ /** All the steps of the content. */
5582
+ const STEPS = [...CASE_STEPS, ...CUT_STEPS];
5583
+ // src/data/sources.ts
5584
+ /** The date of the last check of the sources against their pages. */
5585
+ const CHECKED = "2026-11-21";
5586
+ const federal = (id, by, title, url) => ({
5587
+ id,
5588
+ title,
5589
+ url,
5590
+ license: "us-public-domain",
5591
+ checked: CHECKED,
5592
+ by
5593
+ });
5594
+ /** The sources of the content, each with its id, its title, its address and the date of its last check. */
5595
+ const SOURCES = [
5596
+ federal("ready-winter", "Ready.gov", "Winter Weather", "https://www.ready.gov/winter-weather"),
5597
+ federal("ready-hurricanes", "Ready.gov", "Hurricanes", "https://www.ready.gov/hurricanes"),
5598
+ federal("ready-floods", "Ready.gov", "Floods", "https://www.ready.gov/floods"),
5599
+ federal("ready-heat", "Ready.gov", "Extreme Heat", "https://www.ready.gov/heat"),
5600
+ federal("ready-tornadoes", "Ready.gov", "Tornadoes", "https://www.ready.gov/tornadoes"),
5601
+ federal("ready-earthquakes", "Ready.gov", "Earthquakes", "https://www.ready.gov/earthquakes"),
5602
+ federal("ready-fire", "Ready.gov", "Home Fires", "https://www.ready.gov/home-fires"),
5603
+ federal("ready-wildfires", "Ready.gov", "Wildfires", "https://www.ready.gov/wildfires"),
5604
+ federal("ready-hazmat", "Ready.gov", "Chemicals and Hazardous Materials Incidents", "https://www.ready.gov/hazmat"),
5605
+ federal("ready-radiation", "Ready.gov", "Radiation Emergencies", "https://www.ready.gov/radiation"),
5606
+ federal("ready-pandemic", "Ready.gov", "Pandemics", "https://www.ready.gov/pandemic"),
5607
+ federal("ready-evacuation", "Ready.gov", "Evacuation", "https://www.ready.gov/evacuation"),
5608
+ federal("ready-power", "Ready.gov", "Power Outages", "https://www.ready.gov/power-outages"),
5609
+ federal("ready-water", "Ready.gov", "Water", "https://www.ready.gov/water"),
5610
+ federal("ready-kit", "Ready.gov", "Build a Kit", "https://www.ready.gov/kit"),
5611
+ federal("ready-safety", "Ready.gov", "Safety Skills", "https://www.ready.gov/safety-skills"),
5612
+ federal("cdc-co", "CDC", "Carbon Monoxide Poisoning Basics", "https://www.cdc.gov/carbon-monoxide/about/index.html"),
5613
+ federal("cdc-water", "CDC", "How to Make Water Safe in an Emergency", "https://www.cdc.gov/water-emergency/about/index.html"),
5614
+ federal("fda-drugs", "FDA", "Safe Drug Use After a Natural Disaster", "https://www.fda.gov/drugs/emergency-preparedness-drugs/safe-drug-use-after-natural-disaster"),
5615
+ {
5616
+ id: "wikipedia-en",
5617
+ title: "Wikipedia, the English edition",
5618
+ url: "https://en.wikipedia.org/",
5619
+ license: "cc-by-sa-4.0",
5620
+ checked: CHECKED,
5621
+ by: "Wikipedia contributors"
5622
+ },
5623
+ {
5624
+ id: "wikibooks-en",
5625
+ title: "Wikibooks, the English edition",
5626
+ url: "https://en.wikibooks.org/",
5627
+ license: "cc-by-sa-4.0",
5628
+ checked: CHECKED,
5629
+ by: "Wikibooks contributors"
5630
+ },
5631
+ {
5632
+ id: "appropedia",
5633
+ title: "Appropedia",
5634
+ url: "https://www.appropedia.org/",
5635
+ license: "cc-by-sa-4.0",
5636
+ checked: CHECKED,
5637
+ by: "Appropedia contributors"
5638
+ },
5639
+ {
5640
+ id: "energypedia",
5641
+ title: "energypedia",
5642
+ url: "https://energypedia.info/",
5643
+ license: "cc-by-sa-4.0",
5644
+ checked: CHECKED,
5645
+ by: "energypedia contributors"
5646
+ },
5647
+ federal("cdc-heart", "CDC", "About Heart Attack Symptoms, Risk, and Recovery", "https://www.cdc.gov/heart-disease/about/heart-attack.html"),
5648
+ federal("cdc-stroke", "CDC", "Signs and Symptoms of Stroke", "https://www.cdc.gov/stroke/signs-symptoms/index.html"),
5649
+ {
5650
+ ...federal("ic3-genai", "FBI IC3", "Criminals Use Generative Artificial Intelligence to Facilitate Financial Fraud", "https://www.ic3.gov/PSA/2024/PSA241203"),
5651
+ checked: "2026-11-22"
5652
+ },
5653
+ {
5654
+ ...federal("ready-financial", "Ready.gov", "Financial Preparedness", "https://www.ready.gov/financial-preparedness"),
5655
+ checked: "2026-11-22"
5656
+ },
5657
+ {
5658
+ ...federal("ready-cyber", "Ready.gov", "Cybersecurity", "https://www.ready.gov/cybersecurity"),
5659
+ checked: "2026-11-22"
5660
+ },
5661
+ {
5662
+ ...federal("ready-alerts", "Ready.gov", "Emergency Alerts", "https://www.ready.gov/alerts"),
5663
+ checked: "2026-11-22"
5664
+ },
5665
+ {
5666
+ ...federal("nws-nwr", "NOAA National Weather Service", "NOAA Weather Radio All Hazards", "https://www.weather.gov/nwr/"),
5667
+ checked: "2026-11-22"
5668
+ },
5669
+ {
5670
+ ...federal("dol-ui", "U.S. Department of Labor", "How Do I File for Unemployment Insurance?", "https://www.dol.gov/general/topic/unemployment-insurance"),
5671
+ checked: "2026-11-22"
5672
+ },
5673
+ {
5674
+ ...federal("ftc-voice", "FTC Consumer Advice", "Scammers use AI to enhance their family emergency schemes", "https://consumer.ftc.gov/consumer-alerts/2023/03/scammers-use-ai-enhance-their-family-emergency-schemes"),
5675
+ checked: "2026-11-22"
5676
+ },
5677
+ {
5678
+ id: "fi-72h-shelter",
5679
+ title: "Sheltering indoors",
5680
+ url: "https://72tuntia.fi/en/sheltering-indoors/",
5681
+ license: "all-rights-reserved",
5682
+ checked: "2026-11-22",
5683
+ by: "SPEK, 72 hours"
5684
+ },
5685
+ {
5686
+ id: "fi-72h-info",
5687
+ title: "Communication in a disruption and reliable information",
5688
+ url: "https://72tuntia.fi/en/communication-in-a-disruption-and-reliable-information/",
5689
+ license: "all-rights-reserved",
5690
+ checked: "2026-11-22",
5691
+ by: "SPEK, 72 hours"
5692
+ },
5693
+ {
5694
+ id: "fi-72h-cyber",
5695
+ title: "Cybersecurity",
5696
+ url: "https://72tuntia.fi/en/cybersecurity/",
5697
+ license: "all-rights-reserved",
5698
+ checked: "2026-11-22",
5699
+ by: "SPEK, 72 hours"
5700
+ },
5701
+ {
5702
+ ...federal("ready-shelter", "Ready.gov", "Shelter", "https://www.ready.gov/shelter"),
5703
+ checked: "2026-11-22"
5704
+ },
5705
+ {
5706
+ ...federal("ready-food", "Ready.gov", "Food", "https://www.ready.gov/food"),
5707
+ checked: "2026-11-22"
5708
+ },
5709
+ {
5710
+ ...federal("cdc-resp", "CDC", "Preventing Respiratory Illnesses", "https://www.cdc.gov/respiratory-viruses/prevention/index.html"),
5711
+ checked: "2026-11-22"
5712
+ },
5713
+ {
5714
+ ...federal("fdic-insurance", "FDIC", "Understanding Deposit Insurance", "https://www.fdic.gov/resources/deposit-insurance/understanding-deposit-insurance"),
5715
+ checked: "2026-11-22"
5716
+ },
5717
+ {
5718
+ id: "uk-hazards",
5719
+ title: "Be informed about hazards",
5720
+ url: "https://beready.campaign.gov.uk/be-informed-about-hazards/",
5721
+ license: "ogl-uk-3.0",
5722
+ checked: "2026-11-22",
5723
+ by: "UK Government, Be Ready"
5724
+ },
5725
+ {
5726
+ id: "uk-ready",
5727
+ title: "Be ready for emergencies",
5728
+ url: "https://beready.campaign.gov.uk/be-ready-for-emergencies/",
5729
+ license: "ogl-uk-3.0",
5730
+ checked: "2026-11-22",
5731
+ by: "UK Government, Be Ready"
5732
+ },
5733
+ {
5734
+ ...federal("snap-apply", "USDA Food and Nutrition Service", "SNAP: Applicant and Participant", "https://www.fns.usda.gov/snap/applicant-recipient"),
5735
+ checked: "2026-11-22"
5736
+ },
5737
+ {
5738
+ id: "stackexchange",
5739
+ title: "The Stack Exchange network",
5740
+ url: "https://archive.org/details/stackexchange",
5741
+ license: "cc-by-sa-4.0",
5742
+ checked: CHECKED,
5743
+ by: "Stack Exchange contributors"
5744
+ },
5745
+ {
5746
+ id: "backblaze-hdd-2026q2",
5747
+ title: "Backblaze Drive Stats for Q2 2026",
5748
+ url: "https://www.backblaze.com/blog/backblaze-drive-stats-for-q2-2026/",
5749
+ license: "all-rights-reserved",
5750
+ checked: CHECKED,
5751
+ by: "Backblaze"
5752
+ },
5753
+ {
5754
+ id: "backblaze-ssd-2023",
5755
+ title: "SSD Edition: 2023 Drive Stats Mid-Year Review",
5756
+ url: "https://www.backblaze.com/blog/ssd-edition-2023-mid-year-drive-stats-review/",
5757
+ license: "all-rights-reserved",
5758
+ checked: CHECKED,
5759
+ by: "Backblaze"
5760
+ },
5761
+ {
5762
+ ...federal("nist-lc-optical", "NIST and the Library of Congress", "NIST/Library of Congress (LC) Optical Disc Longevity Study: Final Report", "https://www.loc.gov/preservation/resources/rt/NIST_LC_OpticalDiscLongevity.pdf"),
5763
+ checked: "2026-11-22"
5764
+ },
5765
+ {
5766
+ ...federal("ready-nd-flyer", "Ready.gov", "Nuclear Detonation Safety: Food, Drinking Water and Medicine", "https://www.ready.gov/sites/default/files/2023-01/ready-gov_nuclear-detonation-safety_flyer1.pdf"),
5767
+ checked: "2026-11-22"
5768
+ },
5769
+ {
5770
+ ...federal("ready-space-weather", "Ready.gov", "Space Weather", "https://www.ready.gov/space-weather"),
5771
+ checked: "2026-11-22"
5772
+ },
5773
+ {
5774
+ ...federal("cdc-get-inside", "CDC", "What to Do: Get Inside", "https://www.cdc.gov/radiation-emergencies/response/get-inside.html"),
5775
+ checked: "2026-11-22"
5776
+ },
5777
+ {
5778
+ ...federal("cdc-stay-inside", "CDC", "What to Do: Stay Inside", "https://www.cdc.gov/radiation-emergencies/response/stay-inside.html"),
5779
+ checked: "2026-11-22"
5780
+ },
5781
+ {
5782
+ ...federal("cdc-stay-tuned", "CDC", "What to Do: Stay Tuned", "https://www.cdc.gov/radiation-emergencies/response/stay-tuned.html"),
5783
+ checked: "2026-11-22"
5784
+ },
5785
+ {
5786
+ ...federal("cdc-self-decon", "CDC", "How to Self-Decontaminate after a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/self-decontaminate.html"),
5787
+ checked: "2026-11-22"
5788
+ },
5789
+ {
5790
+ ...federal("cdc-decon-info", "CDC", "Decontamination for Yourself and Others (infographic)", "https://www.cdc.gov/radiation-emergencies/media/pdfs/infographics/Infographic_Decontamination.pdf"),
5791
+ checked: "2026-11-22"
5792
+ },
5793
+ {
5794
+ ...federal("cdc-help-others", "CDC", "Stay Tuned to Learn How to Help Others", "https://www.cdc.gov/radiation-emergencies/response/help-others.html"),
5795
+ checked: "2026-11-22"
5796
+ },
5797
+ {
5798
+ ...federal("cdc-prepare", "CDC", "Preparing for a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/index.html"),
5799
+ checked: "2026-11-22"
5800
+ },
5801
+ {
5802
+ ...federal("cdc-ki", "CDC", "Potassium Iodide (KI)", "https://www.cdc.gov/radiation-emergencies/treatment/potassium-iodide.html"),
5803
+ checked: "2026-11-22"
5804
+ },
5805
+ {
5806
+ ...federal("cdc-food-water", "CDC", "Food, Drinking Water, and Medicine Safety in a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/safety/food-drinking-water-medicine-safety.html"),
5807
+ checked: "2026-11-22"
5808
+ },
5809
+ {
5810
+ ...federal("cdc-pets", "CDC", "How to Decontaminate Pets After a Radiation Emergency", "https://www.cdc.gov/radiation-emergencies/prevention/decontaminate-pets.html"),
5811
+ checked: "2026-11-22"
5812
+ },
5813
+ {
5814
+ ...federal("cdc-crc", "CDC", "Community Reception Centers", "https://www.cdc.gov/radiation-emergencies/response/community-reception-centers.html"),
5815
+ checked: "2026-11-22"
5816
+ },
5817
+ {
5818
+ ...federal("cdc-shelter", "CDC", "Go to an Emergency Shelter", "https://www.cdc.gov/radiation-emergencies/response/emergency-shelter.html"),
5819
+ checked: "2026-11-22"
5820
+ },
5821
+ {
5822
+ ...federal("cdc-prevention", "CDC", "About Preventing and Treating Radiation Injuries and Illness", "https://www.cdc.gov/radiation-emergencies/prevention/index.html"),
5823
+ checked: "2026-11-22"
5824
+ },
5825
+ {
5826
+ ...federal("cdc-caring", "CDC", "Radiation Emergencies: Caring for Yourself and Others", "https://www.cdc.gov/radiation-emergencies/caring/index.html"),
5827
+ checked: "2026-11-22"
5828
+ },
5829
+ {
5830
+ ...federal("fema-nd-guide", "FEMA", "Planning Guidance for Response to a Nuclear Detonation, Third Edition", "https://www.fema.gov/sites/default/files/documents/fema_nuc-detonation-planning-guide.pdf"),
5831
+ checked: "2026-11-22"
5832
+ },
5833
+ {
5834
+ ...federal("swpc-geostorm", "NOAA Space Weather Prediction Center", "Geomagnetic Storms", "https://www.spaceweather.gov/phenomena/geomagnetic-storms"),
5835
+ checked: "2026-11-22"
5836
+ },
5837
+ {
5838
+ ...federal("swpc-scales", "NOAA Space Weather Prediction Center", "NOAA Space Weather Scales", "https://www.spaceweather.gov/noaa-scales-explanation"),
5839
+ checked: "2026-11-22"
5840
+ },
5841
+ {
5842
+ ...federal("swpc-gps", "NOAA Space Weather Prediction Center", "Space Weather and GPS Systems", "https://www.spaceweather.gov/impacts/space-weather-and-gps-systems"),
5843
+ checked: "2026-11-22"
5844
+ },
5845
+ {
5846
+ ...federal("swpc-awa", "NOAA Space Weather Prediction Center", "Alerts, Watches and Warnings", "https://www.spaceweather.gov/products/alerts-watches-and-warnings"),
5847
+ checked: "2026-11-22"
5848
+ },
5849
+ {
5850
+ ...federal("swpc-subscribe", "NOAA Space Weather Prediction Center", "Subscription Services", "https://www.spaceweather.gov/content/subscription-services"),
5851
+ checked: "2026-11-22"
5852
+ },
5853
+ {
5854
+ id: "uk-nrr-2025",
5855
+ title: "National Risk Register 2025",
5856
+ url: "https://assets.publishing.service.gov.uk/media/67b5f85732b2aab18314bbe4/National_Risk_Register_2025.pdf",
5857
+ license: "ogl-uk-3.0",
5858
+ checked: "2026-11-22",
5859
+ by: "HM Government (Cabinet Office)"
5860
+ },
5861
+ {
5862
+ id: "se-brochure-en",
5863
+ title: "In case of crisis or war",
5864
+ url: "https://rib.msb.se/filer/pdf/31523.pdf",
5865
+ license: "all-rights-reserved",
5866
+ checked: "2026-11-22",
5867
+ by: "Swedish Civil Defence and Resilience Agency (MCF)"
5868
+ },
5869
+ {
5870
+ id: "se-shelters",
5871
+ title: "Good to know about civil defence shelters",
5872
+ url: "https://www.mcf.se/en/advice-for-individuals/civil-defence-shelters-evacuation-and-warning-systems/good-to-know-about-civil-defence-shelters/",
5873
+ license: "all-rights-reserved",
5874
+ checked: "2026-11-22",
5875
+ by: "Swedish Civil Defence and Resilience Agency (MCF)"
5876
+ },
5877
+ {
5878
+ ...federal("cdc-food-safe", "Centers for Disease Control and Prevention", "Keep Food Safe After a Disaster or Emergency", "https://www.cdc.gov/food-safety/foods/keep-food-safe-after-emergency.html"),
5879
+ checked: "2026-11-22"
5880
+ },
5881
+ {
5882
+ ...federal("cdc-power-protect", "Centers for Disease Control and Prevention", "What to Do to Protect Yourself During a Power Outage", "https://www.cdc.gov/natural-disasters/response/what-to-do-protect-yourself-during-a-power-outage.html"),
5883
+ checked: "2026-11-22"
5884
+ },
5885
+ {
5886
+ ...federal("cdc-wash-safety", "Centers for Disease Control and Prevention", "What You Can Do to Prevent Diarrheal Illness After a Disaster", "https://www.cdc.gov/water-emergency/safety/index.html"),
5887
+ checked: "2026-11-22"
5888
+ },
5889
+ {
5890
+ ...federal("epa-mold", "U.S. Environmental Protection Agency", "A Brief Guide to Mold, Moisture and Your Home", "https://www.epa.gov/mold/brief-guide-mold-moisture-and-your-home"),
5891
+ checked: "2026-11-22"
5892
+ },
5893
+ {
5894
+ ...federal("epa-coming-home", "U.S. Environmental Protection Agency", "Flooded Homes: Coming Home", "https://www.epa.gov/flooded-homes/coming-home"),
5895
+ checked: "2026-11-22"
5896
+ },
5897
+ {
5898
+ ...federal("epa-diy", "U.S. Environmental Protection Agency", "Flooded Homes: Doing it Yourself", "https://www.epa.gov/flooded-homes/doing-it-yourself"),
5899
+ checked: "2026-11-22"
5900
+ },
5901
+ {
5902
+ ...federal("ready-recover", "Ready.gov (FEMA)", "Recovering from Disaster", "https://www.ready.gov/recovering-disaster"),
5903
+ checked: "2026-11-22"
5904
+ },
5905
+ {
5906
+ ...federal("fema-after-apply", "Federal Emergency Management Agency", "I Applied for Assistance. What's Next?", "https://www.fema.gov/assistance/individual/after-applying"),
5907
+ checked: "2026-11-22"
5908
+ },
5909
+ {
5910
+ ...federal("usfa-heating", "U.S. Fire Administration", "Heating Fire Safety", "https://www.usfa.fema.gov/prevention/home-fires/prevent-fires/heating/"),
5911
+ checked: "2026-11-22"
5912
+ },
5913
+ {
5914
+ ...federal("cfpb-recover", "Consumer Financial Protection Bureau", "Start recovering and rebuilding your financial life", "https://www.consumerfinance.gov/consumer-tools/disasters-and-emergencies/start-recovering-and-rebuilding-your-financial-life"),
5915
+ checked: "2026-11-22"
5916
+ },
5917
+ {
5918
+ ...federal("cfpb-disasters", "Consumer Financial Protection Bureau", "Dealing with disasters and emergencies", "https://www.consumerfinance.gov/consumer-tools/disasters-and-emergencies/"),
5919
+ checked: "2026-11-22"
5920
+ },
5921
+ {
5922
+ ...federal("cfpb-checklist", "Consumer Financial Protection Bureau", "Your disaster checklist", "https://files.consumerfinance.gov/f/documents/cfpb_adult-fin-edyour-disaster-checklist.pdf"),
5923
+ checked: "2026-11-22"
5924
+ },
5925
+ {
5926
+ ...federal("ftc-lost-card", "Federal Trade Commission", "Lost or Stolen Credit, ATM, and Debit Cards", "https://consumer.ftc.gov/articles/lost-or-stolen-credit-atm-and-debit-cards"),
5927
+ checked: "2026-11-22"
5928
+ },
5929
+ {
5930
+ ...federal("ftc-scams-weather", "Federal Trade Commission", "How To Avoid Scams After Weather Emergencies and Natural Disasters", "https://consumer.ftc.gov/articles/how-avoid-scams-after-weather-emergencies-and-natural-disasters"),
5931
+ checked: "2026-11-22"
5932
+ },
5933
+ {
5934
+ ...federal("ftc-prepare-scams", "Federal Trade Commission", "How To Prepare for a Weather Emergency While Avoiding Scams", "https://consumer.ftc.gov/articles/how-prepare-weather-emergency-while-avoiding-scams"),
5935
+ checked: "2026-11-22"
5936
+ },
5937
+ {
5938
+ ...federal("fdic-bank-fails", "Federal Deposit Insurance Corporation", "When a Bank Fails - Facts for Depositors, Creditors, and Borrowers", "https://www.fdic.gov/bank-failures/when-bank-fails-facts-depositors-creditors-and-borrowers"),
5939
+ checked: "2026-11-22"
5940
+ },
5941
+ {
5942
+ id: "uk-water-outage",
5943
+ title: "Water supply interruptions or outages",
5944
+ url: "https://beready.campaign.gov.uk/be-informed-about-hazards/water-supply-interruptions-or-outages/",
5945
+ license: "ogl-uk-3.0",
5946
+ checked: "2026-11-22",
5947
+ by: "UK Government (Prepare)"
5948
+ },
5949
+ {
5950
+ id: "uk-flooding",
5951
+ title: "Flooding",
5952
+ url: "https://beready.campaign.gov.uk/be-informed-about-hazards/flooding/",
5953
+ license: "ogl-uk-3.0",
5954
+ checked: "2026-11-22",
5955
+ by: "UK Government (Prepare)"
5956
+ },
5957
+ {
5958
+ id: "uk-power-cuts",
5959
+ title: "Power cuts",
5960
+ url: "https://beready.campaign.gov.uk/be-informed-about-hazards/power-cuts/",
5961
+ license: "ogl-uk-3.0",
5962
+ checked: "2026-11-22",
5963
+ by: "UK Government (Prepare)"
5964
+ },
5965
+ {
5966
+ id: "govuk-after-flood",
5967
+ title: "What to do after a flood",
5968
+ url: "https://www.gov.uk/after-flood",
5969
+ license: "ogl-uk-3.0",
5970
+ checked: "2026-11-22",
5971
+ by: "GOV.UK"
5972
+ },
5973
+ {
5974
+ id: "ukhsa-flood-health",
5975
+ title: "Flooding and health: advice for the public",
5976
+ url: "https://www.gov.uk/government/publications/flooding-and-health-public-advice/flooding-and-health-advice-for-the-public",
5977
+ license: "ogl-uk-3.0",
5978
+ checked: "2026-11-22",
5979
+ by: "UK Health Security Agency"
5980
+ },
5981
+ {
5982
+ id: "cdc-hwts",
5983
+ title: "Household Water Treatment",
5984
+ url: "https://www.cdc.gov/global-water-sanitation-hygiene/about/about-household-water-treatment.html",
5985
+ license: "us-public-domain",
5986
+ checked: "2026-11-22",
5987
+ by: "CDC (Global WASH)"
5988
+ },
5989
+ {
5990
+ id: "nps-lnt",
5991
+ title: "Leave No Trace Seven Principles",
5992
+ url: "https://www.nps.gov/articles/leave-no-trace-seven-principles.htm",
5993
+ license: "us-public-domain",
5994
+ checked: "2026-11-22",
5995
+ by: "National Park Service"
5996
+ },
5997
+ {
5998
+ id: "army-fm21-10",
5999
+ title: "FM 21-10, Field Hygiene and Sanitation (2000)",
6000
+ url: "https://ia601500.us.archive.org/28/items/MManuals/Fm21-10UsArmyFieldHygeineSanitation.pdf",
6001
+ license: "us-public-domain",
6002
+ checked: "2026-11-22",
6003
+ by: "Department of the Army"
6004
+ },
6005
+ {
6006
+ id: "who-ors",
6007
+ title: "Cholera: information for the general public on oral rehydration solution",
6008
+ url: "https://applications.emro.who.int/docs/WHOEMCSR594E-eng.pdf",
6009
+ license: "all-rights-reserved",
6010
+ checked: "2026-11-22",
6011
+ by: "WHO Regional Office for the Eastern Mediterranean"
6012
+ },
6013
+ {
6014
+ id: "dga-calories",
6015
+ title: "Dietary Guidelines for Americans, 2020-2025, Appendix 2: Estimated Calorie Needs",
6016
+ url: "https://www.dietaryguidelines.gov/sites/default/files/2020-12/Dietary_Guidelines_for_Americans_2020-2025.pdf",
6017
+ license: "us-public-domain",
6018
+ checked: "2026-11-22",
6019
+ by: "USDA and HHS"
6020
+ },
6021
+ {
6022
+ id: "cdc-home-canned",
6023
+ title: "Home-Canned Foods",
6024
+ url: "https://www.cdc.gov/botulism/prevention/home-canned-foods.html",
6025
+ license: "us-public-domain",
6026
+ checked: "2026-11-22",
6027
+ by: "CDC"
6028
+ },
6029
+ {
6030
+ id: "epa-burnwise",
6031
+ title: "Best Wood-Burning Practices",
6032
+ url: "https://www.epa.gov/burnwise/best-wood-burning-practices",
6033
+ license: "us-public-domain",
6034
+ checked: "2026-11-22",
6035
+ by: "US EPA (Burn Wise)"
6036
+ },
6037
+ {
6038
+ id: "fema-cdp-710",
6039
+ title: "The 7:10 Rule of Thumb (course AWR-923-W)",
6040
+ url: "https://cdp.dhs.gov/shared/se/courses/default/AWR-923-W%2005122021%201.2-20210512144644/groups/394.html",
6041
+ license: "us-public-domain",
6042
+ checked: "2026-11-22",
6043
+ by: "FEMA Center for Domestic Preparedness"
6044
+ },
6045
+ {
6046
+ id: "usda-ah234",
6047
+ title: "Protection of Food and Agriculture Against Nuclear Attack, Agriculture Handbook 234 (1962)",
6048
+ url: "https://www.govinfo.gov/content/pkg/GOVPUB-A-PURL-gpo21249/pdf/GOVPUB-A-PURL-gpo21249.pdf",
6049
+ license: "us-public-domain",
6050
+ checked: "2026-11-22",
6051
+ by: "USDA Agricultural Research Service"
6052
+ },
6053
+ {
6054
+ id: "cdc-wound",
6055
+ title: "Emergency Wound Care After a Natural Disaster",
6056
+ url: "https://www.cdc.gov/disasters/hurricanes/pdf/woundcare.pdf",
6057
+ license: "us-public-domain",
6058
+ checked: "2026-11-22",
6059
+ by: "CDC"
6060
+ },
6061
+ {
6062
+ id: "fsis-shelf",
6063
+ title: "Shelf-Stable Food Safety",
6064
+ url: "https://www.govinfo.gov/content/pkg/GOVPUB-A110-PURL-gpo38739/pdf/GOVPUB-A110-PURL-gpo38739.pdf",
6065
+ license: "us-public-domain",
6066
+ checked: "2026-11-22",
6067
+ by: "USDA Food Safety and Inspection Service"
6068
+ },
6069
+ {
6070
+ id: "fcc-part95",
6071
+ title: "Fact sheet: Part 95 Personal Radio Service reform (2017)",
6072
+ url: "https://docs.fcc.gov/public/attachments/DOC-344617A1.pdf",
6073
+ license: "us-public-domain",
6074
+ checked: "2026-11-22",
6075
+ by: "Federal Communications Commission"
6076
+ },
6077
+ {
6078
+ id: "csu-seeds",
6079
+ title: "Storing Vegetable and Flower Seeds, Fact Sheet 7.221",
6080
+ url: "https://extension.colostate.edu/resource/storing-vegetable-and-flower-seeds/",
6081
+ license: "all-rights-reserved",
6082
+ checked: "2026-11-22",
6083
+ by: "Colorado State University Extension"
6084
+ }
6085
+ ];
4841
6086
  // src/data/gaps.ts
4842
6087
  const OF_GRID = "This case is the power cut itself. The steps of the cut `power.grid` apply.";
4843
6088
  const OF_WATER = "This case is the water cut itself. The steps of the cut `water.main` apply.";
4844
6089
  const NO_HOME_STEP = "The emergency team and the hospital give the care after the first minutes. The sources give no household step.";
4845
6090
  const NO_EMP = "The sources give no household step for this phase of an EMP. The steps of the cuts `power.grid` and `phone.network` apply.";
4846
- const NO_LONG_STEP = "The sources give no step for a cut of this length. The steps of the earlier phases continue.";
4847
6091
  /** The marked gaps of the cases and the cuts. */
4848
6092
  const GAPS = [
4849
6093
  {
@@ -4936,76 +6180,26 @@ const GAPS = [
4936
6180
  phase: "warned",
4937
6181
  why: "No official household page read gives a step for a warning of unrest."
4938
6182
  },
4939
- {
4940
- on: "security.civil-unrest",
4941
- phase: "P3",
4942
- why: "No official household page read gives a step for unrest that continues for weeks."
4943
- },
4944
6183
  {
4945
6184
  on: "power.grid",
4946
6185
  phase: "warned",
4947
6186
  why: "A power cut often comes with no warning. The warning steps of the case and of the network apply."
4948
6187
  },
4949
- {
4950
- on: "power.grid",
4951
- phase: "P4",
4952
- why: NO_LONG_STEP
4953
- },
4954
- {
4955
- on: "power.grid",
4956
- phase: "P5",
4957
- why: NO_LONG_STEP
4958
- },
4959
6188
  {
4960
6189
  on: "water.main",
4961
6190
  phase: "warned",
4962
6191
  why: "A break of a water main comes with no warning. The stored water of the ready phase is the protection."
4963
6192
  },
4964
- {
4965
- on: "water.main",
4966
- phase: "P4",
4967
- why: NO_LONG_STEP
4968
- },
4969
- {
4970
- on: "water.main",
4971
- phase: "P5",
4972
- why: NO_LONG_STEP
4973
- },
4974
6193
  {
4975
6194
  on: "road.local",
4976
6195
  phase: "P0",
4977
6196
  why: "A closed road does not change the first minutes at home. The steps of the case apply."
4978
6197
  },
4979
- {
4980
- on: "road.local",
4981
- phase: "P4",
4982
- why: NO_LONG_STEP
4983
- },
4984
- {
4985
- on: "road.local",
4986
- phase: "P5",
4987
- why: NO_LONG_STEP
4988
- },
4989
6198
  {
4990
6199
  on: "phone.network",
4991
6200
  phase: "P0",
4992
6201
  why: "A cut of the network does not change the first minutes. The steps of the case apply."
4993
6202
  },
4994
- {
4995
- on: "phone.network",
4996
- phase: "P3",
4997
- why: NO_LONG_STEP
4998
- },
4999
- {
5000
- on: "phone.network",
5001
- phase: "P4",
5002
- why: NO_LONG_STEP
5003
- },
5004
- {
5005
- on: "phone.network",
5006
- phase: "P5",
5007
- why: NO_LONG_STEP
5008
- },
5009
6203
  {
5010
6204
  on: "network.access",
5011
6205
  phase: "warned",
@@ -5019,43 +6213,13 @@ const GAPS = [
5019
6213
  {
5020
6214
  on: "network.access",
5021
6215
  phase: "P2",
5022
- why: NO_LONG_STEP
5023
- },
5024
- {
5025
- on: "network.access",
5026
- phase: "P3",
5027
- why: NO_LONG_STEP
5028
- },
5029
- {
5030
- on: "network.access",
5031
- phase: "P4",
5032
- why: NO_LONG_STEP
5033
- },
5034
- {
5035
- on: "network.access",
5036
- phase: "P5",
5037
- why: NO_LONG_STEP
6216
+ why: "The sources give no step for a cut of this length. The steps of the earlier phases continue."
5038
6217
  },
5039
6218
  {
5040
6219
  on: "gas.main",
5041
6220
  phase: "warned",
5042
6221
  why: "A gas leak gives no warning before you smell it or hear it."
5043
6222
  },
5044
- {
5045
- on: "gas.main",
5046
- phase: "P3",
5047
- why: NO_LONG_STEP
5048
- },
5049
- {
5050
- on: "gas.main",
5051
- phase: "P4",
5052
- why: NO_LONG_STEP
5053
- },
5054
- {
5055
- on: "gas.main",
5056
- phase: "P5",
5057
- why: NO_LONG_STEP
5058
- },
5059
6223
  {
5060
6224
  on: "care.local",
5061
6225
  phase: "P0",
@@ -5066,11 +6230,6 @@ const GAPS = [
5066
6230
  phase: "P1",
5067
6231
  why: "A closed pharmacy does not change the first hours. The medicines of the ready phase are the protection."
5068
6232
  },
5069
- {
5070
- on: "care.local",
5071
- phase: "P5",
5072
- why: NO_LONG_STEP
5073
- },
5074
6233
  {
5075
6234
  on: "infra.power.outage",
5076
6235
  phase: "ready",
@@ -5181,36 +6340,11 @@ const GAPS = [
5181
6340
  phase: "P0",
5182
6341
  why: "The sources give no step for the first minutes. The toilet steps start in P1."
5183
6342
  },
5184
- {
5185
- on: "sewer.main",
5186
- phase: "P4",
5187
- why: "The sources give no different step for months without a sewer. The P1 to P3 steps continue."
5188
- },
5189
- {
5190
- on: "sewer.main",
5191
- phase: "P5",
5192
- why: "The sources give no household step for years without a public sewer."
5193
- },
5194
6343
  {
5195
6344
  on: "fuel.retail",
5196
6345
  phase: "P0",
5197
6346
  why: "The sources give no step for the first minutes after the fuel stations close."
5198
6347
  },
5199
- {
5200
- on: "fuel.retail",
5201
- phase: "P3",
5202
- why: "The sources give no different step for weeks without fuel. The P1 and P2 steps continue."
5203
- },
5204
- {
5205
- on: "fuel.retail",
5206
- phase: "P4",
5207
- why: "The sources give no household step for months without fuel from stations."
5208
- },
5209
- {
5210
- on: "fuel.retail",
5211
- phase: "P5",
5212
- why: "The sources give no household step for years without fuel from stations."
5213
- },
5214
6348
  {
5215
6349
  on: "food.retail",
5216
6350
  phase: "warned",
@@ -5221,11 +6355,6 @@ const GAPS = [
5221
6355
  phase: "P0",
5222
6356
  why: "The sources give no step for the first minutes after the shops close."
5223
6357
  },
5224
- {
5225
- on: "food.retail",
5226
- phase: "P5",
5227
- why: "The restock steps of RECOVERY and the 6-month date check of infra.supply-chain.food cover this phase."
5228
- },
5229
6358
  {
5230
6359
  on: "cash.retail",
5231
6360
  phase: "warned",
@@ -5236,20 +6365,15 @@ const GAPS = [
5236
6365
  phase: "P0",
5237
6366
  why: "The sources give no step for the first minutes after cards and cash machines stop."
5238
6367
  },
5239
- {
5240
- on: "cash.retail",
5241
- phase: "P5",
5242
- why: "The savings steps of other cuts cover this phase. The sources give no other step."
5243
- },
5244
6368
  {
5245
6369
  on: "home.dwelling",
5246
6370
  phase: "warned",
5247
6371
  why: "The steps before the damage are in the cuts for each hazard and for evacuation."
5248
6372
  },
5249
6373
  {
5250
- on: "home.dwelling",
5251
- phase: "P5",
5252
- why: "The sources give no household step for years after the damage, other than the ready steps."
6374
+ on: "society.services",
6375
+ phase: "warned",
6376
+ why: "A warning does not tell if the services of society stop. The steps of `ready` are the protection."
5253
6377
  }
5254
6378
  ];
5255
6379
  // src/data/coverage.ts
@@ -5280,44 +6404,19 @@ const OPEN_CELLS = [
5280
6404
  "infra.power.grid-collapse/P0",
5281
6405
  "civic.economy.collapse/P0",
5282
6406
  "civic.economy.collapse/P1",
5283
- "security.civil-unrest/P3",
5284
6407
  "cbrne.emp/P2",
5285
6408
  "cbrne.emp/P3",
5286
6409
  "geo.space-weather.geomagnetic-storm/P0",
5287
- "power.grid/P4",
5288
- "power.grid/P5",
5289
- "water.main/P4",
5290
- "water.main/P5",
5291
6410
  "road.local/P0",
5292
- "road.local/P4",
5293
- "road.local/P5",
5294
6411
  "phone.network/P0",
5295
- "phone.network/P3",
5296
- "phone.network/P4",
5297
- "phone.network/P5",
5298
6412
  "network.access/P0",
5299
6413
  "network.access/P2",
5300
- "network.access/P3",
5301
- "network.access/P4",
5302
- "network.access/P5",
5303
- "gas.main/P3",
5304
- "gas.main/P4",
5305
- "gas.main/P5",
5306
6414
  "care.local/P0",
5307
6415
  "care.local/P1",
5308
- "care.local/P5",
5309
6416
  "sewer.main/P0",
5310
- "sewer.main/P4",
5311
- "sewer.main/P5",
5312
6417
  "fuel.retail/P0",
5313
- "fuel.retail/P3",
5314
- "fuel.retail/P4",
5315
- "fuel.retail/P5",
5316
6418
  "food.retail/P0",
5317
- "food.retail/P5",
5318
- "cash.retail/P0",
5319
- "cash.retail/P5",
5320
- "home.dwelling/P5"
6419
+ "cash.retail/P0"
5321
6420
  ];
5322
6421
  // src/data/rules.ts
5323
6422
  const NOW = ["P0"];
@@ -6302,7 +7401,21 @@ const NEEDS = [
6302
7401
  "power.electric"
6303
7402
  ];
6304
7403
  /** The tabs of the printed plan, in the sequence of the binder. The master chart sends the reader to them. */
6305
- const TABS = tabsOf([...CASES, ...MORE_CASES]);
6306
- export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CHECKED, CUTS, CUT_STEPS, GAPS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOURCES, START_TAB, STEPS, TABS, TOPICS };
7404
+ /** The key of the cut of all the services of society: help, shops, care and the law. Its steps are for a society with no service. */
7405
+ const SOCIETY_KEY = "society.services";
7406
+ const TABS = tabsOf([...CASES, ...MORE_CASES], [...CUTS, SOCIETY_KEY]);
7407
+ /** The rows of the hazard catalog: for each case, its signals, its entry node and its card. */
7408
+ const HAZARDS = hazardsOf(CASE_STEPS);
7409
+ /** The master graph: the one value that the printed binder and the app read. */
7410
+ const GRAPH = {
7411
+ schema: GRAPH_SCHEMA,
7412
+ start: START_TAB,
7413
+ catalog: CATALOG_TAB,
7414
+ societies: SOCIETY_STATES,
7415
+ nodes: MASTER,
7416
+ tabs: TABS,
7417
+ hazards: HAZARDS
7418
+ };
7419
+ export { AREAS, BUNDLES, BUNDLES_CHECKED, BUNDLE_LEVELS, CASES, CASE_STEPS, CATALOG_TAB, CHECKED, CUTS, CUT_STEPS, GAPS, GRAPH, HAZARDS, MASTER, MEDIA_UNITS, MEDIUM_GAPS, MEDIUM_LOSSES, MORE_CASES, NEEDS, OPEN_CELLS, RULES, SOCIETY_KEY, SOURCES, START_TAB, STEPS, TABS, TOPICS };
6307
7420
 
6308
7421
  //# sourceMappingURL=index.js.map