@mark1russell7/guidebook-preparedness 0.6.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/build/index.d.ts +4 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +325 -63
- package/build/index.js.map +1 -1
- package/package.json +2 -2
- package/src/data/chart.ts +33 -21
- package/src/data/hazards.ts +4 -5
- package/src/data/sources.ts +8 -0
- package/src/data/steps.ts +34 -16
- package/src/index.ts +4 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package",
|
|
3
3
|
"name": "@mark1russell7/guidebook-preparedness",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"description": "The preparedness content of the guidebook: cited sources, the steps and marked gaps of 12 cases and 6 cuts, 40 topics in 12 areas, and the catalog of offline bundles.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"guidebook",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@mark1russell7/guidebook": "0.1.1",
|
|
59
59
|
"@mark1russell7/guidebook-library": "0.2.0",
|
|
60
|
-
"@mark1russell7/guidebook-plans": "0.1
|
|
60
|
+
"@mark1russell7/guidebook-plans": "0.2.1",
|
|
61
61
|
"@mark1russell7/guidebook-topics": "0.1.1"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
package/src/data/chart.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// The master chart: one chart for any disaster. A reader starts at a signal, answers at most
|
|
1
|
+
// The master chart: one chart for any disaster. A reader starts at a signal, answers at most 3 questions and goes to a tab.
|
|
2
2
|
// A goto with a card also sends the reader to the card of the event in the hazard catalog.
|
|
3
3
|
// The chart asks for needs, not for kinds of event, so an event that nobody foresaw still has a route.
|
|
4
4
|
// A broadcast is one source of information. No answer of the chart waits for officials.
|
|
@@ -15,7 +15,7 @@ const ALL: readonly Phase[] = ["ready", "warned", "P0", "P1", "P2", "P3", "P4",
|
|
|
15
15
|
export function tabsOf(cases: readonly string[], cuts: readonly string[]): readonly Tab[] {
|
|
16
16
|
return [
|
|
17
17
|
{ id: "start", title: "Start: the master chart", keys: [], phases: [], pages: 2 },
|
|
18
|
-
{ id: "first-72h", title: "The first 72 hours", keys: cases, phases: ["P0", "P1", "P2"], pages: 4 },
|
|
18
|
+
{ id: "first-72h", title: "The first 72 hours", keys: [...cases, "gas.main"], phases: ["warned", "P0", "P1", "P2"], pages: 4 },
|
|
19
19
|
{ id: "stay", title: "Stay: the home and the building", keys: ["home.dwelling"], phases: ALL, pages: 8 },
|
|
20
20
|
{ id: "go", title: "Go: the routes and the other places", keys: ["road.local"], phases: ALL, pages: 4 },
|
|
21
21
|
{ id: "water", title: "Water and sanitation", keys: ["water.main", "sewer.main", "hydration.drink"], phases: ALL, pages: 6 },
|
|
@@ -25,7 +25,7 @@ export function tabsOf(cases: readonly string[], cuts: readonly string[]): reado
|
|
|
25
25
|
{ id: "security", title: "The safety of the people", keys: ["security.civil-unrest", "security.armed-conflict"], phases: ALL, pages: 6 },
|
|
26
26
|
{ id: "group", title: "Contact, the group and trade", keys: ["phone.network", "network.access", "cash.retail", "society.services"], phases: ALL, pages: 6 },
|
|
27
27
|
{ id: "long-term", title: "The long term: 5 weeks to 5 years", keys: cuts, phases: ["P3", "P4", "P5"], pages: 10 },
|
|
28
|
-
{ id: "catalog", title: "The hazard catalog", keys: cases, phases: ALL, pages:
|
|
28
|
+
{ id: "catalog", title: "The hazard catalog", keys: cases, phases: ALL, pages: 15 },
|
|
29
29
|
{ id: "appendices", title: "The appendices", keys: [], phases: [], pages: 40 },
|
|
30
30
|
];
|
|
31
31
|
}
|
|
@@ -38,51 +38,63 @@ export const CATALOG_TAB = "catalog";
|
|
|
38
38
|
|
|
39
39
|
const NEEDS_FIRST = "Do the needs by their danger. Safety comes in minutes, heat and water in hours and days, food in weeks.";
|
|
40
40
|
|
|
41
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* The nodes of the master chart: 4 signals, 5 questions and 13 ends.
|
|
43
|
+
* The ends of the first questions lead on, so each walk also reaches the question of society and the needs.
|
|
44
|
+
*/
|
|
42
45
|
export const MASTER: readonly ChartNode[] = [
|
|
43
46
|
// The signals: what a reader sees, hears, smells, feels or learns.
|
|
44
47
|
{ id: "sense", kind: "signal", text: "You see, hear, smell or feel a danger: fire, smoke, gas, shaking, a flash, rising water, a siren or shots.", next: "life" },
|
|
45
|
-
{ id: "threat", kind: "signal", text: "You learn of a threat that comes: a storm, a flood, a fire, a disease, unrest, an attack or a war.", next: "
|
|
48
|
+
{ id: "threat", kind: "signal", text: "You learn of a threat that comes: a storm, a flood, a fire, a disease, unrest, an attack or a war.", next: "to-window" },
|
|
46
49
|
{ id: "supply", kind: "signal", text: "A supply stops, or help does not come: power, water, sewer, gas, phone, internet, fuel, food, cash, care or the law.", next: "society" },
|
|
50
|
+
{ id: "missing", kind: "signal", text: "A person of the household is missing, or does not come back at the agreed time.", next: "society" },
|
|
47
51
|
|
|
48
52
|
// The questions. Each one has an answer that a reader can see without help.
|
|
49
53
|
{
|
|
50
|
-
id: "life", kind: "question", text: "Can the danger hurt you in the next minutes?", sources: [],
|
|
51
|
-
reasoning: "A danger of minutes leaves no time to read. Do the reflex first, then
|
|
52
|
-
answers: [{ label: "Yes", next: "to-72h" }, { label: "No", next: "
|
|
54
|
+
id: "life", kind: "question", text: "Can the danger hurt you in the next minutes? A siren with no known cause counts as Yes.", sources: [],
|
|
55
|
+
reasoning: "A danger of minutes leaves no time to read. Do the reflex first, then continue with the chart.",
|
|
56
|
+
answers: [{ label: "Yes", next: "to-72h" }, { label: "No", next: "inside" }],
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: "inside", kind: "question", text: "Is the danger inside your place: fire, gas, flood water or damage to the building?", sources: [],
|
|
60
|
+
reasoning: "Your place holds your supplies, so leave it only when the place itself is the danger.",
|
|
61
|
+
answers: [{ label: "Yes", next: "to-go" }, { label: "No", next: "outside" }],
|
|
53
62
|
},
|
|
54
63
|
{
|
|
55
|
-
id: "
|
|
56
|
-
reasoning: "
|
|
57
|
-
answers: [{ label: "Yes", next: "to-
|
|
64
|
+
id: "outside", kind: "question", text: "Is the danger in the air or the street outside: fallout, a chemical, smoke, unrest or a disease that spreads?", sources: ["cdc-stay-inside", "ready-hazmat"],
|
|
65
|
+
reasoning: "Closed walls cut the dose of fallout, chemicals and smoke, and keep you away from crowds and illness. A trip through the danger gives the highest dose.",
|
|
66
|
+
answers: [{ label: "Yes", next: "to-seal" }, { label: "No", next: "to-stay" }],
|
|
58
67
|
},
|
|
59
68
|
{
|
|
60
69
|
id: "society", kind: "question", text: "Does society work: does help come when you call, and do the shops, the pharmacies and the grid operate?", sources: [],
|
|
61
|
-
reasoning: "With no help and no shops, each need depends on your group and your supplies
|
|
70
|
+
reasoning: "With no help and no shops, each need depends on your group and your supplies. Each tab has a part for each state of society.",
|
|
62
71
|
answers: [
|
|
63
72
|
{ label: "Yes", next: "need", society: "works" },
|
|
64
73
|
{ label: "In part", next: "need", society: "partly" },
|
|
65
|
-
{ label: "No: no help comes for 24 hours when you call, and the shops stay closed", next: "
|
|
74
|
+
{ label: "No: no help comes for 24 hours when you call, and the shops stay closed", next: "need", society: "none" },
|
|
66
75
|
],
|
|
67
76
|
},
|
|
68
77
|
{
|
|
69
|
-
id: "need", kind: "question", text: "Which need is short first?
|
|
78
|
+
id: "need", kind: "question", text: "Which need is short first? When the tab of the need says go, go to the tab go.", sources: [],
|
|
70
79
|
reasoning: NEEDS_FIRST,
|
|
71
80
|
answers: [
|
|
72
|
-
{ label: "Safety of the people", next: "to-security" },
|
|
73
|
-
{ label: "Heat, shelter or
|
|
81
|
+
{ label: "Safety of the people, or a person who is missing", next: "to-security" },
|
|
82
|
+
{ label: "Heat, shelter, power or fuel", next: "to-heat" },
|
|
74
83
|
{ label: "Water or a toilet", next: "to-water" },
|
|
75
|
-
{ label: "Health or
|
|
84
|
+
{ label: "Health, medicine or a crisis of the mind", next: "to-health" },
|
|
76
85
|
{ label: "Food", next: "to-food" },
|
|
77
86
|
{ label: "Contact, money or trade", next: "to-group" },
|
|
87
|
+
{ label: "A plan from week 5, or a life on your land", next: "to-long" },
|
|
78
88
|
{ label: "A skill or a fact", next: "to-appendices" },
|
|
79
89
|
],
|
|
80
90
|
},
|
|
81
91
|
|
|
82
|
-
// The ends: each one goes to a tab of the binder.
|
|
83
|
-
{ id: "to-
|
|
84
|
-
{ id: "to-
|
|
85
|
-
{ id: "to-
|
|
92
|
+
// The ends: each one goes to a tab of the binder. An end with `next` then leads on to the next question.
|
|
93
|
+
{ id: "to-window", kind: "goto", text: "Before the event comes, do the part \"When a warning comes\" of the tab the first 72 hours. Read the card of the event too.", tab: "first-72h", card: true, next: "inside" },
|
|
94
|
+
{ id: "to-72h", kind: "goto", text: "Do the reflex of the tab the first 72 hours and of the card of the event. For a siren with no known cause, go inside, close the windows, and get news from two inputs.", tab: "first-72h", card: true, next: "inside" },
|
|
95
|
+
{ id: "to-seal", kind: "goto", text: "Stay inside, close the windows, and seal one room. Go out only when the card of the event says so.", tab: "stay", card: true, next: "society" },
|
|
96
|
+
{ id: "to-stay", kind: "goto", text: "Go to the tab: stay. Read the card of the event too.", tab: "stay", card: true, next: "society" },
|
|
97
|
+
{ id: "to-go", kind: "goto", text: "Go to the tab: go. Read the card of the event too. At the other place, start the chart again.", tab: "go", card: true, next: "society" },
|
|
86
98
|
{ id: "to-long", kind: "goto", text: "Go to the tab: the long term.", tab: "long-term" },
|
|
87
99
|
{ id: "to-security", kind: "goto", text: "Go to the tab: the safety of the people.", tab: "security" },
|
|
88
100
|
{ id: "to-heat", kind: "goto", text: "Go to the tab: heat, shelter and power.", tab: "heat" },
|
package/src/data/hazards.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type { HazardRow, Phase, Step } from "@mark1russell7/guidebook-plans";
|
|
5
5
|
|
|
6
6
|
/** The node where each signal joins the graph. */
|
|
7
|
-
const ENTRY: Readonly<Record<string, string>> = { sense: "life", threat: "
|
|
7
|
+
const ENTRY: Readonly<Record<string, string>> = { sense: "life", threat: "to-window", supply: "society" };
|
|
8
8
|
|
|
9
9
|
/** Each case: its title and its signals. The first signal gives the entry. */
|
|
10
10
|
const TABLE: readonly (readonly [key: string, title: string, signals: readonly string[]])[] = [
|
|
@@ -36,13 +36,13 @@ const TABLE: readonly (readonly [key: string, title: string, signals: readonly s
|
|
|
36
36
|
["security.armed-conflict", "Armed conflict", ["threat", "sense"]],
|
|
37
37
|
];
|
|
38
38
|
|
|
39
|
-
/** The phases of the
|
|
39
|
+
/** The phases of the actions of a card: the first 72 hours. */
|
|
40
40
|
const FIRST: readonly Phase[] = ["P0", "P1", "P2"];
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* This function gives the rows of the hazard catalog.
|
|
44
44
|
* A card holds the steps of the case with a text that no other case has.
|
|
45
|
-
* These are the first
|
|
45
|
+
* These are the actions of the first 72 hours, and the steps for a society with no service.
|
|
46
46
|
*/
|
|
47
47
|
export function hazardsOf(steps: readonly Step[]): readonly HazardRow[] {
|
|
48
48
|
const cases = new Map<string, Set<string>>();
|
|
@@ -50,8 +50,7 @@ export function hazardsOf(steps: readonly Step[]): readonly HazardRow[] {
|
|
|
50
50
|
const unique = (step: Step): boolean => (cases.get(step.do)?.size ?? 0) === 1;
|
|
51
51
|
return TABLE.map(([key, title, signals]) => {
|
|
52
52
|
const own = steps.filter((step) => step.on === key && unique(step));
|
|
53
|
-
const
|
|
54
|
-
const card = own.filter((step) => step.phase === first || (step.society?.includes("none") === true && !step.society.includes("works")));
|
|
53
|
+
const card = own.filter((step) => FIRST.includes(step.phase) || (step.society?.includes("none") === true && !step.society.includes("works")));
|
|
55
54
|
return { key, title, signals, entry: ENTRY[signals[0] ?? ""] ?? "", card: card.map((step) => step.id) };
|
|
56
55
|
});
|
|
57
56
|
}
|
package/src/data/sources.ts
CHANGED
|
@@ -131,4 +131,12 @@ export const SOURCES: readonly Source[] = [
|
|
|
131
131
|
{ id: "fsis-shelf", title: "Shelf-Stable Food Safety", url: "https://www.govinfo.gov/content/pkg/GOVPUB-A110-PURL-gpo38739/pdf/GOVPUB-A110-PURL-gpo38739.pdf", license: "us-public-domain", checked: "2026-11-22", by: "USDA Food Safety and Inspection Service" },
|
|
132
132
|
{ id: "fcc-part95", title: "Fact sheet: Part 95 Personal Radio Service reform (2017)", url: "https://docs.fcc.gov/public/attachments/DOC-344617A1.pdf", license: "us-public-domain", checked: "2026-11-22", by: "Federal Communications Commission" },
|
|
133
133
|
{ id: "csu-seeds", title: "Storing Vegetable and Flower Seeds, Fact Sheet 7.221", url: "https://extension.colostate.edu/resource/storing-vegetable-and-flower-seeds/", license: "all-rights-reserved", checked: "2026-11-22", by: "Colorado State University Extension" },
|
|
134
|
+
{ id: "usfa-extinguishers", title: "Fire Extinguishers", url: "https://www.usfa.fema.gov/prevention/home-fires/prepare-for-fire/fire-extinguishers/", license: "us-public-domain", checked: "2026-11-22", by: "U.S. Fire Administration" },
|
|
135
|
+
{ id: "epa-clean-room", title: "Create a Clean Room to Protect Indoor Air Quality During a Wildfire", url: "https://www.epa.gov/emergencies-iaq/create-clean-room-protect-indoor-air-quality-during-wildfire", license: "us-public-domain", checked: "2026-11-22", by: "U.S. Environmental Protection Agency" },
|
|
136
|
+
{ id: "epa-smoke", title: "Reduce Your Smoke Exposure", url: "https://www.epa.gov/wildfires/reduce-your-smoke-exposure", license: "us-public-domain", checked: "2026-11-22", by: "U.S. Environmental Protection Agency" },
|
|
137
|
+
{ id: "epa-diy-cleaner", title: "DIY Air Cleaner to Reduce Wildfire Smoke Indoors", url: "https://www.epa.gov/emergencies-iaq/diy-air-cleaner-reduce-wildfire-smoke-indoors-infographics", license: "us-public-domain", checked: "2026-11-22", by: "U.S. Environmental Protection Agency" },
|
|
138
|
+
{ id: "cpsc-winter-2026", title: "CPSC Issues Safety Tips to Help Families Prevent Carbon Monoxide Poisoning and Fires (2026)", url: "https://www.cpsc.gov/Newsroom/News-Releases/2026/As-Winter-Storms-Threaten-Millions-in-the-US-CPSC-Issues-Safety-Tips-to-Help-Families-Prevent-Carbon-Monoxide-Poisoning-and-Fires", license: "us-public-domain", checked: "2026-11-22", by: "U.S. Consumer Product Safety Commission" },
|
|
139
|
+
{ id: "cdc-sick", title: "Preventing Spread of Respiratory Viruses When You're Sick", url: "https://www.cdc.gov/respiratory-viruses/prevention/precautions-when-sick.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC" },
|
|
140
|
+
{ id: "cdc-air", title: "Cleaner Air for Respiratory Virus Prevention", url: "https://www.cdc.gov/respiratory-viruses/prevention/air-quality.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC" },
|
|
141
|
+
{ id: "cdc-h1n1-homecare", title: "Taking Care of a Sick Person in Your Home (2009 H1N1)", url: "https://archive.cdc.gov/www_cdc_gov/h1n1flu/homecare/English_FactSheets1.html", license: "us-public-domain", checked: "2026-11-22", by: "CDC (archived page)" },
|
|
134
142
|
];
|
package/src/data/steps.ts
CHANGED
|
@@ -111,11 +111,13 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
111
111
|
["warned", "bridges", "Stay off bridges over fast-moving water.", ["ready-floods"]],
|
|
112
112
|
["P0", "evacuate", "If the water can reach your home or cut your route, go immediately. Do not drive around barricades.", ["ready-floods"], { reasoning: "A flood closes the low roads first. When you go early, the route is open." }],
|
|
113
113
|
["P0", "water", "Do not walk, swim or drive through flood water. One foot of moving water can move a car.", ["ready-floods"]],
|
|
114
|
+
["P0", "up", "If the roads already flood, do not drive. Go to the highest floor of a strong building, and stay there.", ["ready-floods"]],
|
|
114
115
|
["P1", "car", "If fast water holds your car, stay inside. If water comes into the car, go onto the roof.", ["ready-floods"]],
|
|
115
|
-
["P1", "building", "If a building traps you, go to the highest level. Go onto the roof only if necessary.", ["ready-floods"]],
|
|
116
|
+
["P1", "building", "If a building traps you, go to the highest level, but not into a closed attic. Go onto the roof only if necessary, and signal for help.", ["ready-floods"]],
|
|
116
117
|
["P2", "return", "Go back home only when the water is down and you can see the route. Do not walk or drive through flood water.", ["ready-floods"], { reasoning: "Flood water hides holes, strong currents and power lines that are down." }],
|
|
117
118
|
["P2", "electric", "Do not touch wet electrical equipment, and do not stand in water near it.", ["ready-floods"]],
|
|
118
119
|
["P2", "animals", "Look for snakes and other animals in the water and near it.", ["ready-floods"]],
|
|
120
|
+
["P2", "basement", "After water floods the basement, plan for weeks with no power, no pumps and no water on the upper floors.", [], { reasoning: "The electric panels, the pumps and the boilers of a building are often in its basement. Flood water destroys them." }],
|
|
119
121
|
["P3", "clean", "When you clean, wear heavy gloves, boots and protective clothes. Wear a mask near mold.", ["ready-floods"]],
|
|
120
122
|
["P3", "mold", "Keep persons with asthma, lung disease or a weak immune system out of buildings with mold.", ["ready-floods"]],
|
|
121
123
|
...EVACUATION,
|
|
@@ -132,7 +134,7 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
132
134
|
["P1", "fluids", "Wear loose, light clothes of a light color, and drink a lot of fluids.", ["ready-heat"], [DRINK]],
|
|
133
135
|
["P1", "work", "Do not do hard work outside in the heat of midday.", ["ready-heat"]],
|
|
134
136
|
["P1", "check", "Check on your family, older adults and neighbors.", ["ready-heat"]],
|
|
135
|
-
["P2", "stroke", "A body temperature above 103 °F with hot, dry skin is heat stroke. Call 9-1-1 immediately.", ["ready-heat"]],
|
|
137
|
+
["P2", "stroke", "A body temperature above 103 °F with hot, dry skin is heat stroke. Call 9-1-1 immediately.", ["ready-heat"], { society: SERVICES }],
|
|
136
138
|
["P2", "stroke-aid", "For heat stroke, move the person to shade, and put cold, wet cloths on the head, neck, armpits and groin.", ["ready-heat"]],
|
|
137
139
|
["P2", "cramps", "For heat cramps, go to a cooler place and drink water. Call a doctor after one hour with no improvement.", ["ready-heat"], { needs: [DRINK], society: SERVICES }],
|
|
138
140
|
...RECOVERY,
|
|
@@ -144,6 +146,7 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
144
146
|
["ready", "sirens", "Learn the sounds of the sirens in your area.", ["ready-tornadoes"]],
|
|
145
147
|
["warned", "shelter", "When a tornado warning comes, go to your safe shelter immediately.", ["ready-tornadoes"]],
|
|
146
148
|
["warned", "walls", "Stay away from windows, doors and outside walls.", ["ready-tornadoes"]],
|
|
149
|
+
["P0", "room", "Go to a small room with no windows on the lowest floor. Stay away from windows, doors and outer walls.", ["ready-tornadoes"]],
|
|
147
150
|
["P0", "cover", "Cover your head and neck with your arms, and put blankets around you or on you.", ["ready-tornadoes"]],
|
|
148
151
|
["P0", "car", "In a car that cannot drive away, park, keep the belt on, and put your head below the windows.", ["ready-tornadoes"]],
|
|
149
152
|
["P1", "lines", "Stay away from fallen power lines and broken utility lines.", ["ready-tornadoes"]],
|
|
@@ -175,10 +178,14 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
175
178
|
["ready", "extinguisher", "Keep a fire extinguisher in the kitchen.", ["ready-fire"]],
|
|
176
179
|
["ready", "children", "Teach children not to hide from firefighters.", ["ready-fire"]],
|
|
177
180
|
["P0", "crawl", "Get down, and crawl low under the smoke to the exit.", ["ready-fire"]],
|
|
178
|
-
["P0", "door", "Touch the door before you open it. If it is
|
|
179
|
-
["P0", "trapped", "If you
|
|
181
|
+
["P0", "door", "Touch the door before you open it. If it is warm, keep it closed, and use your second way out.", ["ready-fire"]],
|
|
182
|
+
["P0", "trapped", "If you have no safe second way out, close the door, and seal the gaps with cloth or tape. Signal at a window.", ["ready-fire"]],
|
|
180
183
|
["P0", "clothes", "If your clothes burn, stop, drop and roll.", ["ready-fire"]],
|
|
181
|
-
["P0", "call", "Get out, and then call 9-1-1 or the fire department.", ["ready-fire"], { society:
|
|
184
|
+
["P0", "call", "Get out, and then call 9-1-1 or the fire department.", ["ready-fire"], { society: SERVICES }],
|
|
185
|
+
["P0", "fight", "With no fire service, fight only a small fire in one object, with a clear way out.", ["usfa-extinguishers"], { reasoning: "A small fire grows fast. A clear way out lets you leave when it grows.", society: NONE }],
|
|
186
|
+
["P0", "pass", "Use the PASS steps: pull the pin, aim low, squeeze the lever, and sweep from side to side.", ["usfa-extinguishers"]],
|
|
187
|
+
["P0", "leave-fire", "If the fire does not get smaller, or the extinguisher is empty, close the door and leave.", ["usfa-extinguishers"], { reasoning: "An extinguisher empties in seconds. A closed door slows the fire and the smoke.", society: NONE }],
|
|
188
|
+
["P0", "other-unit", "When another unit burns and no fire service comes, wake the persons of your floor. Leave with your go bag.", [], { reasoning: "With no fire service, a fire in one unit can spread through the whole building.", society: NONE }],
|
|
182
189
|
["P1", "burns", "Put a burn in cool water for three to five minutes, and cover it with a clean, dry cloth.", ["ready-fire"]],
|
|
183
190
|
["P1", "enter", "Speak to the fire department before you go back into the house.", ["ready-fire"], { society: SERVICES }],
|
|
184
191
|
["P2", "relief", "Ask the Red Cross or other disaster relief for temporary housing, food and medicine.", ["ready-fire"], [FOOD, MEDICINE]],
|
|
@@ -195,9 +202,11 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
195
202
|
["ready", "masks", "If possible, keep N95 masks.", ["ready-wildfires"]],
|
|
196
203
|
["ready", "routes", "Learn the evacuation routes and where you will go.", ["ready-wildfires"]],
|
|
197
204
|
["warned", "alerts", "Pay attention to the emergency alerts and to the air quality alerts.", ["ready-wildfires"]],
|
|
198
|
-
["P0", "evacuate", "Go immediately when the fire
|
|
199
|
-
["P0", "trapped", "If the fire traps you, call 9-1-1, give your location, and turn on the lights.", ["ready-wildfires"]],
|
|
200
|
-
["
|
|
205
|
+
["P0", "evacuate", "Go immediately when the fire comes toward your area. An early start keeps the roads open.", ["ready-wildfires"], { reasoning: "A wildfire can move faster than an order, and smoke closes the roads." }],
|
|
206
|
+
["P0", "trapped", "If the fire traps you, call 9-1-1, give your location, and turn on the lights.", ["ready-wildfires"], { society: SERVICES }],
|
|
207
|
+
["P0", "smoke-only", "When only smoke comes from a fire far away, do not go. Stay inside, and make one clean room.", ["epa-clean-room"], { reasoning: "A trip through the smoke gives more smoke than a closed room. The fire itself is the reason to go." }],
|
|
208
|
+
["P1", "smoke", "In the clean room, close the windows and doors. Run a portable air cleaner, or a box fan with a MERV 13 filter.", ["epa-clean-room","epa-diy-cleaner"]],
|
|
209
|
+
["P1", "n95", "Outside in the smoke, wear an N95 respirator. Do not put a respirator on a child under 2.", ["epa-smoke"]],
|
|
201
210
|
["P1", "central-air", "Set the central air to recirculate, and close the outdoor air intake.", ["ready-wildfires"]],
|
|
202
211
|
["P1", "shelter", "Go to a place that you chose before: friends or family away from the fire, or an open shelter.", ["ready-wildfires"], { reasoning: "A place that you chose before has your contacts and no queue. A public shelter is one option of several." }],
|
|
203
212
|
["P2", "return", "Go back only when the fire near your area is out. Look for hot ash pits and for debris that still burns.", ["ready-wildfires"], { reasoning: "A fire that looks out can start again from hot spots and from ash." }],
|
|
@@ -216,7 +225,7 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
216
225
|
["P0", "upwind", "If you are outside, move upwind of the source immediately.", ["ready-hazmat"]],
|
|
217
226
|
["P0", "car", "In a car, close the windows and vents, and stop the air conditioner and the heater.", ["ready-hazmat"]],
|
|
218
227
|
["P1", "inside", "If the cloud is near and you cannot go away from it, stay inside. Bring the pets in, and close the doors and windows.", ["ready-hazmat"], { reasoning: "Inside air stays cleaner than the cloud for some hours, so a building protects you while the cloud passes." }],
|
|
219
|
-
["P1", "seal", "Go to the
|
|
228
|
+
["P1", "seal", "Go to an inside room above the ground floor, with few windows and doors. Seal it with duct tape and plastic sheets.", ["ready-hazmat"]],
|
|
220
229
|
["P1", "air", "Stop the air conditioners and the fans, or set them to 100 percent recirculation.", ["ready-hazmat"]],
|
|
221
230
|
["P1", "food", "Do not eat or drink food or water that can be contaminated.", ["ready-hazmat"], [FOOD, DRINK]],
|
|
222
231
|
["P2", "stay", "Stay in the shelter until the release stops and the wind takes the cloud away. Then open the windows, and go out.", ["ready-hazmat"], { reasoning: "A closed room holds clean air for some hours only. After the cloud passes, the air outside is cleaner than the air inside." }],
|
|
@@ -233,11 +242,12 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
233
242
|
["P0", "walls", "Go into the nearest building, away from the windows, with many walls between you and the outside.", ["ready-radiation"]],
|
|
234
243
|
["P0", "outside", "If you are outside at a detonation, lie face down, and then go into a building quickly.", ["ready-radiation"]],
|
|
235
244
|
["P0", "fallout", "Fallout comes 10 minutes or more after a detonation. Go to a basement if you can get there in minutes.", ["ready-radiation"]],
|
|
245
|
+
["P0", "stay", "Stay inside for at least 24 hours, unless a fire, damage or a lack of water makes you go. Do not go out to shop or to get the car.", ["ready-radiation","cdc-stay-inside"], { society: ALWAYS }],
|
|
246
|
+
["P0", "core", "In a building with many floors, go to the middle of the building. Stay far from the outer walls and the roof.", ["cdc-get-inside"]],
|
|
236
247
|
["P1", "air", "Stop the fans, the air conditioners and the forced-air heat, and close the windows, doors and dampers.", ["ready-radiation"]],
|
|
237
248
|
["P1", "outer-layer", "Remove your outer layer of clothes. This can remove up to 90 percent of the radioactive material.", ["ready-radiation"]],
|
|
238
249
|
["P1", "wash", "Wash with soap and water. Do not use cleaning wipes on the skin. Hand sanitizer gives no protection.", ["ready-radiation"]],
|
|
239
250
|
["P1", "pets", "Bring the pets inside.", ["ready-radiation"]],
|
|
240
|
-
["P2", "stay", "Stay in the shelter for at least 24 hours, unless a fire, damage or a lack of water makes you go.", ["ready-radiation"]],
|
|
241
251
|
["P2", "food", "Food and drink inside the building are safe. Wipe sealed containers from outside with a damp towel.", ["ready-radiation"], [FOOD, DRINK]],
|
|
242
252
|
["P2", "garden", "Do not eat food from the garden in the first weeks. Eat sealed food first, then wash and peel garden food.", ["ready-radiation"], { needs: [FOOD], reasoning: "Fallout dust stays on the leaves, and its radioactive iodine decays in some weeks. So stored food comes first." }],
|
|
243
253
|
["P3", "return", "After an evacuation, go back only when a dose meter or two news sources show low radiation on the route.", ["ready-radiation"], { reasoning: "A dose rate is a measure, not an order. A dose meter of your own measures it with no broadcast." }],
|
|
@@ -255,6 +265,9 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
255
265
|
["P2", "learn", "Learn how the disease spreads from more than one health source, and get vaccinated when a vaccine is available.", ["ready-pandemic"]],
|
|
256
266
|
["P2", "sanitizer", "With no soap and water, use a hand sanitizer with at least 60 percent alcohol.", ["ready-pandemic"]],
|
|
257
267
|
["P2", "sick", "Stay home when you are sick, except to get medical care.", ["ready-pandemic"]],
|
|
268
|
+
["P2", "sick-room", "Give a sick person a room of their own. When you can, give them a bathroom or a bucket toilet of their own.", ["cdc-h1n1-homecare"]],
|
|
269
|
+
["P2", "sick-mask", "The sick person wears a well-fitted mask when others are near. Open a window, or run an exhaust fan.", ["cdc-sick","cdc-air"]],
|
|
270
|
+
["P2", "halls", "In the shared halls and the elevators of a building, wear a well-fitted mask.", ["cdc-resp"], { reasoning: "Persons of many units share the air of the halls." }],
|
|
258
271
|
["P2", "surfaces", "Clean and disinfect the surfaces that persons touch often.", ["ready-pandemic"]],
|
|
259
272
|
["P3", "exposure", "After an exposure, speak to a doctor if you can. Keep away from your household, and record your temperature each day.", ["ready-pandemic"], { reasoning: "Distance from the others stops the spread while you do not know if you are ill.", society: ALWAYS }],
|
|
260
273
|
["P3", "anxious", "It is normal to feel anxious. If you feel upset, talk to someone.", ["ready-pandemic"]],
|
|
@@ -268,11 +281,13 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
268
281
|
["ready", "class", "Take a first aid and CPR class. Ask your local Red Cross chapter for the training.", ["ready-safety"]],
|
|
269
282
|
["ready", "first-aid-kit", "Keep a first aid kit at home, at work and in the car.", ["ready-kit"], [MEDICINE]],
|
|
270
283
|
["ready", "befast", "Learn the signs of a stroke with B.E. F.A.S.T.: balance, eyes, face, arms, speech and time.", ["cdc-stroke"]],
|
|
271
|
-
["P0", "heart", "Chest discomfort for more than a few minutes can be a heart attack. Call 9-1-1 immediately.", ["cdc-heart"]],
|
|
272
|
-
["P0", "stroke", "For a sudden droop of the face, a weak arm or strange speech, call 9-1-1 immediately.", ["cdc-stroke"]],
|
|
284
|
+
["P0", "heart", "Chest discomfort for more than a few minutes can be a heart attack. Call 9-1-1 immediately.", ["cdc-heart"], { society: SERVICES }],
|
|
285
|
+
["P0", "stroke", "For a sudden droop of the face, a weak arm or strange speech, call 9-1-1 immediately.", ["cdc-stroke"], { society: SERVICES }],
|
|
273
286
|
["P0", "time", "Write down the time of the first signs of a stroke.", ["cdc-stroke"]],
|
|
274
|
-
["P0", "ambulance", "Do not drive a person with the signs of a stroke to the hospital. Call for an ambulance.", ["cdc-stroke"], { society:
|
|
275
|
-
["P0", "
|
|
287
|
+
["P0", "ambulance", "Do not drive a person with the signs of a stroke to the hospital. Call for an ambulance.", ["cdc-stroke"], { society: ["works"] }],
|
|
288
|
+
["P0", "drive", "When the ambulance cannot come soon, drive the person to the nearest hospital that operates. Take a second person to give care.", [], { reasoning: "Care for a stroke or a heart attack works best when it starts early. A late ambulance costs more time than the trip.", society: ["partly"] }],
|
|
289
|
+
["P0", "cpr", "If you know CPR, give it until the emergency team arrives.", ["cdc-heart"], { society: SERVICES }],
|
|
290
|
+
["P0", "cpr-none", "With no emergency team, give CPR until the person breathes, another person takes over, or you cannot continue.", [], { reasoning: "CPR moves blood to the brain. With no team to take over, the rescuer decides when it stops.", society: NONE }],
|
|
276
291
|
...RECOVERY,
|
|
277
292
|
]),
|
|
278
293
|
...stepsOf("civic.ai-collapse", [
|
|
@@ -442,6 +457,7 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
442
457
|
["P0", "not-in-a-car", "Do not shelter in a car. Get out and go inside a building.", ["cdc-prepare","fema-nd-guide"]],
|
|
443
458
|
["P0", "cover-mouth-nose", "If you must stay outside for a time, cover your mouth and nose with a mask, cloth or towel.", ["cdc-get-inside"]],
|
|
444
459
|
["P0", "outer-clothes-at-door", "If you can, carefully take off your outer layer of clothes before you go into the building.", ["cdc-get-inside"]],
|
|
460
|
+
["P0", "stay-24-hours", "Stay inside for at least 24 hours, unless a fire or damage makes you go. Do not go out to shop or to get the car. Radiation levels drop fast in that time.", ["ready-radiation","cdc-stay-inside","fema-nd-guide"], { society: ALWAYS }],
|
|
445
461
|
["P1", "move-to-core", "Go to the basement or the middle of the building. Stay far from the outer walls and the roof.", ["cdc-get-inside"]],
|
|
446
462
|
["P1", "leave-only-for", "Leave the shelter only for a fire, a gas leak, a building collapse or a serious injury.", ["ready-radiation","cdc-prepare"]],
|
|
447
463
|
["P1", "move-from-weak-shelter", "A wood house without a basement is a weak shelter. If a strong shelter is under 15 minutes away, move there within 30 minutes.", ["fema-nd-guide"]],
|
|
@@ -450,7 +466,6 @@ export const CASE_STEPS: readonly Step[] = [
|
|
|
450
466
|
["P1", "shower", "Shower with soap and shampoo, or wash uncovered skin at a sink. Do not use conditioner or scrub.", ["cdc-decon-info","cdc-self-decon"]],
|
|
451
467
|
["P1", "shelter-others", "Let people from outside shelter with you. Ask them to take off their outer clothes before they enter, then wash.", ["cdc-help-others","cdc-get-inside"]],
|
|
452
468
|
["P1", "wash-pets", "If a pet was outside, wash it with soap and water. Wear waterproof gloves and a dust mask if you can.", ["cdc-pets","ready-radiation"]],
|
|
453
|
-
["P2", "stay-24-hours", "Stay inside for at least 24 hours, unless a fire or damage makes you go. Radiation levels drop fast in that time.", ["ready-radiation","cdc-stay-inside","fema-nd-guide"]],
|
|
454
469
|
["P2", "safe-drinks", "Drink bottled or sealed drinks first. Water from the toilet tank, not the bowl, and the water heater is also safe.", ["cdc-food-water","ready-nd-flyer"], [DRINK]],
|
|
455
470
|
["P2", "safe-food", "Eat food that was inside or sealed. Wipe containers from outside with a damp cloth before you open them.", ["cdc-food-water","ready-nd-flyer"], [FOOD]],
|
|
456
471
|
["P2", "keep-taking-medicine", "Continue to take your medicine. Wipe off any medicine container that was outside.", ["cdc-food-water","ready-nd-flyer"], [MEDICINE]],
|
|
@@ -685,8 +700,11 @@ export const CUT_STEPS: readonly Step[] = [
|
|
|
685
700
|
["ready", "practice", "Do not turn off the gas when you practice.", ["ready-safety"]],
|
|
686
701
|
["ready", "service", "Have a technician service the heater, the water heater and the gas appliances each year.", ["cdc-co"]],
|
|
687
702
|
["P0", "leave", "If you smell gas or hear a hiss, open a window, and get all persons out quickly.", ["ready-safety"]],
|
|
688
|
-
["P0", "
|
|
703
|
+
["P0", "sparks", "Do not light a flame. Do not use a switch, a phone, a doorbell or an elevator near the smell.", ["cpsc-winter-2026","ready-safety"], { reasoning: "A spark or a flame can set fire to the gas." }],
|
|
704
|
+
["P0", "warn", "Use the stairs. Knock on the doors of your floor to warn the others. Do not ring the bells.", [], { reasoning: "A bell or an elevator makes a spark. A knock makes none." }],
|
|
705
|
+
["P0", "valve", "If you can do it safely, close the gas valve of the appliance or of your home. Call the gas company from outside.", ["ready-safety","cpsc-winter-2026"], { society: SERVICES }],
|
|
689
706
|
["P1", "restore", "Do not turn the gas on again yourself. Only a qualified professional can do this.", ["ready-safety"], { society: SERVICES }],
|
|
707
|
+
["P1", "keep-off", "With no gas company, keep the gas off, and do not light it again. Heat with the steps of the heat tab.", [], { reasoning: "No person can examine the pipes for a leak, and one leak can destroy the building.", society: NONE }],
|
|
690
708
|
["P2", "indoors", "Do not use a camp stove or charcoal indoors at any time.", ["cdc-co"]],
|
|
691
709
|
["P3", "one-room", "Heat one room only. Close the other rooms, cover the windows with blankets, and sleep together.", [], { reasoning: "A small, closed space needs less fuel. Bodies near each other share their heat.", society: NONE }],
|
|
692
710
|
["P4", "chimney", "Burn wood only in a stove or a fireplace with a chimney. Keep a carbon monoxide alarm with batteries.", ["cdc-co"], { reasoning: "A fire with no chimney fills the room with carbon monoxide, which has no odor.", society: NONE }],
|
package/src/index.ts
CHANGED
|
@@ -65,4 +65,8 @@ export const GRAPH: MasterGraph = {
|
|
|
65
65
|
nodes: MASTER,
|
|
66
66
|
tabs: TABS,
|
|
67
67
|
hazards: HAZARDS,
|
|
68
|
+
index: [
|
|
69
|
+
{ title: "A death in the household", tab: "health", about: "the record of the death, gloves, and the place and depth of a grave" },
|
|
70
|
+
{ title: "Pregnancy and birth", tab: "health", about: "the danger signs, contraception, and a course for a birth with no doctor" },
|
|
71
|
+
],
|
|
68
72
|
};
|