diff --git a/.github/labeler.yml b/.github/labeler.yml
index 7b3a03de7afd..2d05b3df0298 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -54,7 +54,7 @@
- any-glob-to-any-file: ['code/**', 'icons/**', 'sounds/**', '_maps/map_files/**', 'tgui/**']
- any-glob-to-any-file: [modular_ss220/**]
- base-branch: 'master'
- - head-branch: '^(?!merge-upstream$).*'
+ - head-branch: '^(?!merge[-_]upstream$).*'
':finnadie: НЕ МОДУЛЬНО':
- all:
@@ -62,12 +62,12 @@
- any-glob-to-any-file: ['code/**', 'icons/**', 'sounds/**', '_maps/map_files/**']
- all-globs-to-all-files: '!modular_ss220/**'
- base-branch: 'master'
- - head-branch: '^(?!merge-upstream$).*'
+ - head-branch: '^(?!merge[-_]upstream$).*'
':pray: Слияние с восходящим потоком':
- all:
- base-branch: 'master'
- - head-branch: 'merge-upstream'
+ - head-branch: 'merge[-_]upstream'
':pencil: Перевод':
- base-branch: 'translate'
diff --git a/SQL/paradise_schema.sql b/SQL/paradise_schema.sql
index ed435e3be7f6..231681d8c312 100644
--- a/SQL/paradise_schema.sql
+++ b/SQL/paradise_schema.sql
@@ -250,7 +250,7 @@ CREATE TABLE `feedback` (
`datetime` datetime NOT NULL,
`round_id` int(8) NOT NULL,
`key_name` varchar(32) NOT NULL,
- `key_type` enum('text', 'amount', 'tally', 'nested tally', 'associative') NOT NULL,
+ `key_type` ENUM('text', 'amount', 'tally', 'nested tally', 'associative', 'ledger', 'nested ledger') NOT NULL,
`version` tinyint(3) UNSIGNED NOT NULL,
`json` LONGTEXT NOT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`)
diff --git a/SQL/updates/59-60.sql b/SQL/updates/59-60.sql
new file mode 100644
index 000000000000..e826c7a0bff3
--- /dev/null
+++ b/SQL/updates/59-60.sql
@@ -0,0 +1,23 @@
+-- Migration: 59-60
+-- Author: warriorstar
+-- Introduced: PR# 26645
+
+-- This migration adds the 'ledger' and 'nested ledger' enum values to the
+-- `feedback` table in conjunction with making those feedback types available
+-- through SSblackbox.
+-- No data migration is required.
+
+ALTER TABLE
+ `feedback`
+MODIFY
+ COLUMN `key_type` ENUM(
+ 'text',
+ 'amount',
+ 'tally',
+ 'nested tally',
+ 'associative',
+ 'ledger',
+ 'nested ledger'
+ ) NOT NULL
+AFTER
+ `key_name`;
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm
index 18a3ce53eba2..83aa2d85df09 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_excavation.dmm
@@ -723,13 +723,6 @@
/obj/item/stack/sheet/metal,
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_excavation)
-"jT" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_excavation)
"kh" = (
/obj/effect/decal/cleanable/dirt,
/obj/structure/mecha_wreckage/ripley,
@@ -786,7 +779,6 @@
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_excavation)
"nw" = (
-/obj/effect/decal/cleanable/dirt,
/obj/effect/landmark/damageturf,
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall/r_wall,
@@ -799,7 +791,7 @@
/area/ruin/unpowered/althland_excavation)
"oh" = (
/turf/simulated/mineral/volcanic/lava_land_surface,
-/area/lavaland/surface/outdoors)
+/area/lavaland/surface/outdoors/unexplored)
"or" = (
/obj/structure/railing/corner{
dir = 8
@@ -873,11 +865,9 @@
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall/r_wall,
/area/ruin/unpowered/althland_excavation)
-"sp" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_excavation)
+"sj" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"sA" = (
/obj/structure/railing,
/obj/effect/decal/cleanable/dirt,
@@ -1048,6 +1038,10 @@
nitrogen = 0
},
/area/ruin/unpowered/althland_excavation)
+"Ay" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/chasm/straight_down/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"AD" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
@@ -1221,6 +1215,10 @@
nitrogen = 0
},
/area/ruin/unpowered/althland_excavation)
+"Jn" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"Jp" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/manifold/hidden,
@@ -1275,8 +1273,10 @@
},
/area/lavaland/surface/outdoors)
"Mm" = (
+/obj/structure/girder/reinforced,
+/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
+/area/lavaland/surface/outdoors/unexplored)
"MT" = (
/obj/structure/grille/broken,
/obj/effect/decal/cleanable/glass,
@@ -1579,23 +1579,23 @@ oh
oh
oh
oh
-Mm
-Mm
-Mm
-Mm
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Mm
-Mm
+sj
+sj
+sj
+sj
+sj
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+sj
+sj
oh
oh
oh
@@ -1606,13 +1606,13 @@ oh
oh
oh
oh
-Mm
-Mm
-Mm
-Mm
-Mm
-Mm
-Mm
+sj
+sj
+sj
+sj
+sj
+sj
+sj
TN
TN
TN
@@ -1622,13 +1622,13 @@ Du
TN
TN
TN
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
-Ei
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
+Jn
oh
oh
oh
@@ -1636,10 +1636,10 @@ oh
(3,1,1) = {"
oh
oh
-Mm
-Mm
-Mm
-Mm
+sj
+sj
+sj
+sj
TN
TN
TN
@@ -1658,18 +1658,18 @@ TN
TN
TN
TN
-Ei
-Ei
-Ei
-Ei
+Jn
+Jn
+Jn
+Jn
oh
oh
"}
(4,1,1) = {"
oh
-Mm
-Mm
-Mm
+sj
+sj
+sj
TN
TN
TN
@@ -1679,30 +1679,30 @@ yb
bO
nw
gh
-jT
+TN
Wt
RG
tj
-jT
+TN
Zy
-sp
+TN
aq
dp
Cs
TN
TN
TN
-Ei
-Ei
-Mm
-Mm
+Jn
+Jn
+sj
+sj
"}
(5,1,1) = {"
oh
-Mm
-Mm
+sj
+sj
+TN
TN
-sp
aU
Lt
am
@@ -1725,13 +1725,13 @@ je
Ei
TN
TN
-Ei
-Ei
-Mm
+Jn
+sj
+sj
"}
(6,1,1) = {"
-Mm
-Mm
+sj
+sj
TN
TN
Ri
@@ -1757,13 +1757,13 @@ TN
Ei
Ei
bm
-bm
-Ei
-Ei
+Mm
+sj
+sj
"}
(7,1,1) = {"
-Mm
-Mm
+sj
+sj
TN
PL
BZ
@@ -1789,12 +1789,12 @@ TN
Ei
Ei
Ei
-bm
-Ei
-Ei
+Mm
+sj
+sj
"}
(8,1,1) = {"
-Mm
+sj
TN
TN
pE
@@ -1821,14 +1821,14 @@ Ei
Ei
Ei
bm
-Ei
-Ei
-Ei
+Jn
+sj
+sj
"}
(9,1,1) = {"
-Mm
+sj
+TN
TN
-sp
bC
zw
TN
@@ -1853,12 +1853,12 @@ Ei
zp
XS
BW
-aB
-Ei
-Ei
+Ay
+sj
+sj
"}
(10,1,1) = {"
-Mm
+sj
TN
TN
TN
@@ -1885,12 +1885,12 @@ aC
sA
aB
aB
-Ei
-bm
-Ei
+Jn
+Mm
+Jn
"}
(11,1,1) = {"
-Mm
+sj
TN
ct
Pe
@@ -1917,12 +1917,12 @@ GE
aB
aB
Ei
-Ei
-bm
-Ei
+Jn
+Mm
+Jn
"}
(12,1,1) = {"
-Mm
+sj
TN
pC
yb
@@ -1951,10 +1951,10 @@ aB
Ei
Ei
TN
-Ei
+Jn
"}
(13,1,1) = {"
-Ei
+Jn
TN
TN
TN
@@ -1983,10 +1983,10 @@ Ei
Ei
Ei
TN
-Mm
+sj
"}
(14,1,1) = {"
-Ei
+Jn
TN
aU
PL
@@ -2015,10 +2015,10 @@ XS
Ei
Ei
TN
-Mm
+sj
"}
(15,1,1) = {"
-Ei
+Jn
TN
Yz
yb
@@ -2047,10 +2047,10 @@ Ei
Ei
Ei
TN
-Mm
+sj
"}
(16,1,1) = {"
-Ei
+Jn
TN
TN
TN
@@ -2079,10 +2079,10 @@ Ei
BW
aB
TN
-Mm
+sj
"}
(17,1,1) = {"
-Ei
+Jn
TN
Ei
Ei
@@ -2111,10 +2111,10 @@ mK
uG
BW
TN
-Mm
+sj
"}
(18,1,1) = {"
-Ei
+Jn
bm
Ei
BW
@@ -2143,10 +2143,10 @@ BW
LK
PM
TN
-Mm
+sj
"}
(19,1,1) = {"
-Ei
+Jn
bm
Ei
BW
@@ -2175,10 +2175,10 @@ aB
BW
KU
TN
-Mm
+sj
"}
(20,1,1) = {"
-Ei
+Jn
TN
Ei
bm
@@ -2207,10 +2207,10 @@ aB
aB
uG
TN
-Mm
+sj
"}
(21,1,1) = {"
-Ei
+Jn
TN
TN
TN
@@ -2239,10 +2239,10 @@ aB
aB
aB
TN
-Mm
+sj
"}
(22,1,1) = {"
-Ei
+Jn
TN
ao
ar
@@ -2271,10 +2271,10 @@ BW
TJ
BW
TN
-Mm
+sj
"}
(23,1,1) = {"
-Ei
+Jn
TN
at
bl
@@ -2303,10 +2303,10 @@ mh
mK
uG
TN
-Mm
+sj
"}
(24,1,1) = {"
-Ei
+Jn
TN
aG
aU
@@ -2335,10 +2335,10 @@ mh
mh
Gc
TN
-Mm
+sj
"}
(25,1,1) = {"
-Mm
+sj
TN
TN
bU
@@ -2367,11 +2367,11 @@ gg
bN
TN
TN
-Mm
+sj
"}
(26,1,1) = {"
-Mm
-Mm
+sj
+sj
TN
az
DS
@@ -2398,12 +2398,12 @@ jL
Nv
jS
TN
-Mm
-Mm
+sj
+sj
"}
(27,1,1) = {"
oh
-Mm
+sj
TN
TN
ap
@@ -2430,13 +2430,13 @@ bL
YE
TN
TN
-Mm
-Mm
+sj
+sj
"}
(28,1,1) = {"
oh
-Mm
-Mm
+sj
+sj
TN
TN
iA
@@ -2461,15 +2461,15 @@ kh
aE
TN
TN
-Mm
-Mm
+sj
+sj
oh
"}
(29,1,1) = {"
oh
-Mm
-Mm
-Mm
+sj
+sj
+sj
TN
TN
TN
@@ -2492,18 +2492,18 @@ TN
TN
TN
TN
-Mm
-Mm
+sj
+sj
oh
oh
"}
(30,1,1) = {"
oh
oh
-Mm
-Mm
-Mm
-Mm
+sj
+sj
+sj
+sj
TN
TN
TN
@@ -2522,9 +2522,9 @@ TN
TN
TN
TN
-Mm
-Mm
-Mm
+sj
+sj
+sj
oh
oh
oh
@@ -2533,14 +2533,14 @@ oh
oh
oh
oh
-Mm
-Mm
-Mm
-Mm
-Mm
-Mm
-Mm
-Mm
+sj
+sj
+sj
+sj
+sj
+sj
+sj
+sj
TN
TN
TN
@@ -2550,11 +2550,11 @@ TN
TN
TN
TN
-Mm
-Mm
-Mm
-Mm
-Mm
+sj
+sj
+sj
+sj
+sj
oh
oh
oh
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_facility.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_facility.dmm
index 32276f9dd3d9..bc2ac1d5611a 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_facility.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_althland_facility.dmm
@@ -115,6 +115,10 @@
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_processing)
+"cM" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/template_noop,
+/area/lavaland/surface/outdoors/unexplored)
"dh" = (
/obj/effect/mapping_helpers/no_lava,
/obj/structure/disposalpipe/segment/corner{
@@ -409,12 +413,6 @@
/obj/structure/ore_box,
/turf/simulated/floor/plasteel/lavaland_air,
/area/ruin/unpowered/althland_processing)
-"nX" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/item/stack/ore,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_processing)
"oj" = (
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_processing)
@@ -517,12 +515,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/plating/lavaland_air,
/area/lavaland/surface/outdoors)
-"sv" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_always,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_processing)
"sB" = (
/obj/effect/mapping_helpers/no_lava,
/obj/structure/disposalpipe/trunk,
@@ -658,6 +650,9 @@
/obj/machinery/economy/vending/chinese,
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_processing)
+"yh" = (
+/turf/template_noop,
+/area/lavaland/surface/outdoors/unexplored)
"zd" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
@@ -759,11 +754,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/plating/lavaland_air,
/area/lavaland/surface/outdoors)
-"AT" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_processing)
"BB" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/portable/pump,
@@ -785,11 +775,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/unpowered/althland_processing)
-"BO" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_processing)
"BV" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/landmark/damageturf,
@@ -1213,12 +1198,6 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"QE" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall/r_wall,
-/area/ruin/unpowered/althland_processing)
"RL" = (
/obj/item/stack/sheet/metal{
amount = 5
@@ -1471,26 +1450,26 @@ bV
bV
bV
bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bV
-bL
-bL
-bL
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
bL
bL
bL
@@ -1507,19 +1486,19 @@ bV
bV
ab
ab
-bV
-bV
-bV
-bV
-ab
-bV
-bV
-bV
-bV
-bV
-ab
-ab
+yh
+yh
+yh
+yh
ab
+yh
+yh
+yh
+yh
+yh
+yh
+yh
+yh
ab
GF
ab
@@ -1552,7 +1531,7 @@ ab
ab
bT
ab
-ab
+cb
ab
ab
ab
@@ -1726,7 +1705,7 @@ KZ
ab
ui
ui
-QE
+ui
Lg
ui
ab
@@ -1773,7 +1752,7 @@ jb
ab
ab
ui
-QE
+ui
af
BM
Hz
@@ -1811,7 +1790,7 @@ ab
ab
af
af
-AT
+Au
Wb
kR
fc
@@ -1871,7 +1850,7 @@ bT
JT
zZ
qn
-nX
+ui
ui
ui
VJ
@@ -1957,7 +1936,7 @@ bT
um
um
ui
-BO
+ui
zR
ui
bT
@@ -2016,7 +1995,7 @@ ui
iq
MO
eH
-BO
+ui
ab
ap
ab
@@ -2158,7 +2137,7 @@ ab
ab
ui
ui
-BO
+ui
ui
ui
ab
@@ -2308,7 +2287,7 @@ bT
ui
ui
nK
-sv
+um
lZ
ui
Yd
@@ -2596,7 +2575,7 @@ af
af
ui
ui
-BO
+ui
ho
ui
bT
@@ -2740,9 +2719,9 @@ ab
ab
ab
ab
-ab
-ab
-ab
+cM
+cM
+cM
ab
ab
bL
@@ -2776,9 +2755,9 @@ bV
bV
bV
bV
-ab
-ab
-ab
+cM
+cM
+cM
bV
bV
bV
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk1.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk1.dmm
index 66be1d8d19b3..bff842e79ef3 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk1.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk1.dmm
@@ -2,9 +2,6 @@
"a" = (
/turf/template_noop,
/area/template_noop)
-"b" = (
-/turf/simulated/mineral/random/volcanic,
-/area/lavaland/surface/outdoors)
"c" = (
/obj/effect/mapping_helpers/no_lava,
/obj/effect/mapping_helpers/no_lava,
@@ -170,7 +167,7 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"I" = (
+"J" = (
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
@@ -179,118 +176,64 @@
a
a
a
-b
-a
-b
-a
-b
-b
-b
-b
-a
-b
-a
+J
+d
+J
+J
+J
+J
+J
a
a
"}
(2,1,1) = {"
a
-a
-a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-a
-a
-"}
-(3,1,1) = {"
-a
-b
-b
-b
-b
-I
-d
-I
-I
-I
-I
-I
-b
-b
-b
-b
-"}
-(4,1,1) = {"
-b
-b
-b
-I
-I
-I
+J
+J
+J
k
o
-I
-I
+J
+J
c
-I
-I
-b
-b
+J
+J
a
"}
-(5,1,1) = {"
-a
-b
-I
-I
+(3,1,1) = {"
+J
+J
d
g
-I
+J
p
-I
+J
v
-I
-I
-I
-I
-b
-b
+J
+J
+J
+J
"}
-(6,1,1) = {"
-b
-b
-I
-I
-I
+(4,1,1) = {"
+J
+J
+J
h
l
e
s
j
-I
+J
d
e
-I
-b
-b
+J
"}
-(7,1,1) = {"
-a
-b
-I
-I
-I
-I
-I
+(5,1,1) = {"
+J
+J
+J
+J
+J
q
t
w
@@ -298,114 +241,60 @@ x
y
p
e
-b
-b
"}
-(8,1,1) = {"
-b
-b
-I
-I
+(6,1,1) = {"
+J
+J
e
i
m
j
u
e
-I
+J
f
d
y
-b
-b
"}
-(9,1,1) = {"
-b
-b
-I
-I
+(7,1,1) = {"
+J
+J
f
j
-I
+J
r
-I
+J
o
-I
-I
-I
-I
-b
-b
+J
+J
+J
+J
"}
-(10,1,1) = {"
+(8,1,1) = {"
a
-b
-b
-I
-I
-I
+J
+J
+J
k
o
-I
-I
-I
-I
-I
-b
-b
-a
-"}
-(11,1,1) = {"
-b
-b
-b
-b
-b
-I
-n
-I
-I
-I
-I
-I
-b
-b
-b
-b
-"}
-(12,1,1) = {"
-a
-a
-a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-a
+J
+J
+J
+J
+J
a
"}
-(13,1,1) = {"
-a
-a
-b
-a
-a
-a
-b
-b
-b
+(9,1,1) = {"
a
-b
a
a
-b
+J
+n
+J
+J
+J
+J
+J
a
a
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk2.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk2.dmm
index 4007379ec985..737bfdac6cca 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk2.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk2.dmm
@@ -1,9 +1,11 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"a" = (
+/obj/effect/mapping_helpers/no_lava,
/turf/template_noop,
/area/template_noop)
"b" = (
-/turf/simulated/mineral/random/volcanic,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
"c" = (
/obj/structure/stone_tile/surrounding_tile{
@@ -26,9 +28,6 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"f" = (
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"h" = (
/obj/structure/stone_tile/block/cracked{
dir = 8
@@ -181,247 +180,136 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"Q" = (
+"M" = (
/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
+/obj/effect/mapping_helpers/no_lava,
+/turf/template_noop,
+/area/template_noop)
(1,1,1) = {"
-a
b
-a
b
b
b
b
-a
-a
b
b
b
b
-a
b
a
a
+a
"}
(2,1,1) = {"
b
+c
+h
+k
b
b
b
-b
-f
-b
-b
-b
-b
-b
+k
b
b
b
b
a
-a
"}
(3,1,1) = {"
-a
b
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
+d
+c
+l
b
-f
b
b
-a
-"}
-(4,1,1) = {"
-b
-b
-Q
-c
-h
-k
-Q
-Q
-Q
-k
-Q
-Q
-Q
-Q
-b
+v
b
b
-"}
-(5,1,1) = {"
b
b
-Q
-d
-c
-l
-Q
-Q
-Q
-v
-Q
-Q
-Q
-Q
-Q
b
-a
"}
-(6,1,1) = {"
-a
+(4,1,1) = {"
b
-Q
e
i
m
k
-Q
+b
t
w
-Q
-Q
-Q
-Q
-Q
+b
+b
+b
b
b
"}
-(7,1,1) = {"
+(5,1,1) = {"
a
b
b
-Q
-Q
G
o
r
q
w
-Q
-Q
-Q
-Q
-Q
+b
+b
+b
b
b
"}
-(8,1,1) = {"
+(6,1,1) = {"
+M
b
b
b
-Q
-Q
-Q
p
B
s
-Q
-Q
+b
+b
q
n
A
-Q
-b
b
"}
-(9,1,1) = {"
-a
+(7,1,1) = {"
+b
+b
b
-Q
-Q
-Q
c
q
s
q
k
x
-Q
+b
z
d
-Q
-b
b
"}
-(10,1,1) = {"
-b
+(8,1,1) = {"
b
-Q
G
j
n
j
-Q
+b
e
n
y
-Q
+b
n
y
-Q
b
-a
"}
-(11,1,1) = {"
-b
-b
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-b
-b
-a
-"}
-(12,1,1) = {"
-a
-b
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-Q
-f
-b
-b
-b
-b
-"}
-(13,1,1) = {"
-b
-b
+(9,1,1) = {"
b
b
b
-f
-f
b
b
b
@@ -433,9 +321,7 @@ b
b
a
"}
-(14,1,1) = {"
-a
-a
+(10,1,1) = {"
b
b
b
@@ -443,12 +329,10 @@ b
b
b
b
-a
b
b
-a
-a
b
a
a
+a
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk3.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk3.dmm
index 808acab4c180..fb1004fa52d5 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk3.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_blooddrunk3.dmm
@@ -171,7 +171,7 @@
/obj/structure/stone_tile/center,
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
+/area/lavaland/surface/outdoors/unexplored)
"w" = (
/obj/structure/stone_tile/block{
dir = 8
@@ -187,25 +187,32 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
+"H" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
+"L" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"U" = (
/turf/simulated/mineral/random/volcanic,
-/area/template_noop)
+/area/lavaland/surface/outdoors/unexplored)
(1,1,1) = {"
a
a
a
a
-b
+U
a
a
a
-b
+U
a
-b
+U
a
-b
-b
+U
+U
a
a
a
@@ -215,22 +222,22 @@ a
"}
(2,1,1) = {"
a
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
+U
+U
+U
+U
+U
a
a
a
@@ -238,29 +245,29 @@ a
(3,1,1) = {"
a
a
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
a
-b
-b
+U
+U
E
E
E
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
a
a
"}
(4,1,1) = {"
a
a
-b
+U
E
E
E
@@ -275,14 +282,14 @@ E
E
E
E
-b
+U
a
a
"}
(5,1,1) = {"
a
-b
-b
+U
+U
b
b
E
@@ -297,13 +304,13 @@ E
b
b
b
-b
-b
+U
+U
a
"}
(6,1,1) = {"
-b
-b
+U
+U
E
E
b
@@ -319,14 +326,14 @@ b
b
b
c
-b
-b
+U
+U
a
"}
(7,1,1) = {"
a
-b
-b
+U
+U
E
E
E
@@ -341,14 +348,14 @@ g
n
E
E
-b
-b
-b
+U
+U
+U
"}
(8,1,1) = {"
-b
-b
-b
+U
+U
+U
b
c
E
@@ -363,14 +370,14 @@ l
h
q
E
-E
-b
-b
+L
+U
+U
"}
(9,1,1) = {"
-b
-b
-b
+U
+U
+U
E
E
E
@@ -385,14 +392,14 @@ E
E
h
s
-E
-b
+L
+U
a
"}
(10,1,1) = {"
-b
-b
-c
+U
+U
+H
c
E
d
@@ -408,13 +415,13 @@ w
f
t
v
-b
-b
+U
+U
"}
(11,1,1) = {"
-b
-b
-b
+U
+U
+U
E
E
E
@@ -429,14 +436,14 @@ E
E
o
u
-E
-b
-b
+L
+U
+U
"}
(12,1,1) = {"
a
-b
-b
+U
+U
b
c
E
@@ -451,13 +458,13 @@ m
o
r
E
-E
-b
+L
+U
a
"}
(13,1,1) = {"
a
-b
+U
c
E
E
@@ -473,13 +480,13 @@ h
p
E
E
-c
-b
-b
+H
+U
+U
"}
(14,1,1) = {"
-b
-b
+U
+U
E
E
b
@@ -495,14 +502,14 @@ b
b
c
b
-b
-b
-b
+U
+U
+U
"}
(15,1,1) = {"
a
-b
-b
+U
+U
b
b
E
@@ -517,19 +524,19 @@ E
b
b
b
-b
-b
+U
+U
a
"}
(16,1,1) = {"
a
-b
-b
+U
+U
E
E
E
-b
-b
+U
+U
c
E
E
@@ -539,50 +546,50 @@ E
E
E
E
-b
+U
a
a
"}
(17,1,1) = {"
-b
-b
-b
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
+U
+U
+U
c
c
E
E
E
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
a
a
"}
(18,1,1) = {"
a
-b
+U
a
-b
-b
+U
+U
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
+U
+U
+U
+U
+U
+U
+U
+U
+U
a
-b
+U
a
a
a
@@ -591,15 +598,15 @@ a
a
a
a
-b
+U
a
a
a
-b
+U
a
U
-b
-b
+U
+U
a
a
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_cultaltar.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_cultaltar.dmm
index 5f76d0072f16..9fd6556f7bf3 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_cultaltar.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_cultaltar.dmm
@@ -5,9 +5,6 @@
"b" = (
/turf/simulated/floor/engine/cult/lavaland_air,
/area/ruin/unpowered/misc_lavaruin)
-"c" = (
-/turf/simulated/floor/lava/mapping_lava,
-/area/ruin/unpowered/misc_lavaruin)
"d" = (
/turf/simulated/wall/cult,
/area/ruin/unpowered/misc_lavaruin)
@@ -77,6 +74,9 @@
"s" = (
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/ruin/unpowered/misc_lavaruin)
+"B" = (
+/turf/simulated/floor/lava/mapping_lava,
+/area/ruin/unpowered/misc_lavaruin)
(1,1,1) = {"
a
@@ -86,7 +86,7 @@ a
a
a
b
-c
+B
b
a
a
@@ -99,15 +99,15 @@ a
a
d
e
-c
+B
s
-c
+B
b
b
b
-c
+B
s
-c
+B
s
d
a
@@ -118,11 +118,11 @@ e
f
s
d
-c
-c
+B
+B
g
-c
-c
+B
+B
d
e
f
@@ -131,43 +131,43 @@ a
"}
(4,1,1) = {"
a
-c
+B
s
-c
-c
-c
-c
-b
-c
-c
-c
-c
+B
+B
+B
+B
+b
+B
+B
+B
+B
e
-c
+B
a
"}
(5,1,1) = {"
a
s
d
-c
-c
+B
+B
b
b
b
b
b
-c
-c
+B
+B
d
s
a
"}
(6,1,1) = {"
a
-c
-c
-c
+B
+B
+B
b
b
l
@@ -175,16 +175,16 @@ d
k
b
b
-c
-c
-c
+B
+B
+B
a
"}
(7,1,1) = {"
b
b
-c
-c
+B
+B
g
i
b
@@ -192,13 +192,13 @@ b
b
l
b
-c
-c
+B
+B
b
b
"}
(8,1,1) = {"
-c
+B
b
g
b
@@ -212,13 +212,13 @@ b
b
g
b
-c
+B
"}
(9,1,1) = {"
b
b
-c
-c
+B
+B
b
k
b
@@ -226,16 +226,16 @@ b
b
m
b
-c
-c
+B
+B
b
b
"}
(10,1,1) = {"
a
-c
-c
-c
+B
+B
+B
g
b
m
@@ -243,43 +243,43 @@ h
q
b
b
-c
-c
-c
+B
+B
+B
a
"}
(11,1,1) = {"
a
s
d
-c
-c
+B
+B
b
b
b
b
b
-c
-c
+B
+B
d
s
a
"}
(12,1,1) = {"
a
-c
+B
s
-c
-c
-c
-c
-b
-c
-c
-c
-c
+B
+B
+B
+B
+b
+B
+B
+B
+B
e
-c
+B
a
"}
(13,1,1) = {"
@@ -288,11 +288,11 @@ e
f
s
d
-c
-c
+B
+B
g
-c
-c
+B
+B
d
e
f
@@ -303,15 +303,15 @@ a
a
d
e
-c
+B
s
-c
+B
b
b
b
-c
+B
s
-c
+B
s
d
a
@@ -324,7 +324,7 @@ a
a
a
b
-c
+B
b
a
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_dead_ratvar.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_dead_ratvar.dmm
index d8aca887b621..286acbd11182 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_dead_ratvar.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_dead_ratvar.dmm
@@ -2,9 +2,6 @@
"a" = (
/turf/template_noop,
/area/template_noop)
-"b" = (
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors/unexplored)
"c" = (
/obj/item/clockwork/alloy_shards/small,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
@@ -18,7 +15,7 @@
/obj/effect/mapping_helpers/no_lava,
/obj/item/stack/tile/brass,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"f" = (
/turf/simulated/mineral/volcanic/lava_land_surface,
/area/lavaland/surface/outdoors/unexplored)
@@ -29,7 +26,7 @@
"h" = (
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"i" = (
/obj/structure/grille/ratvar/broken,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
@@ -42,7 +39,7 @@
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/alloy_shards/small,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"l" = (
/turf/simulated/floor/lava/mapping_lava,
/area/lavaland/surface/outdoors/unexplored)
@@ -63,7 +60,7 @@
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/alloy_shards/medium,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"r" = (
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
@@ -72,7 +69,7 @@
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/alloy_shards/large,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"t" = (
/obj/item/stack/tile/brass,
/obj/effect/mapping_helpers/no_lava,
@@ -82,43 +79,43 @@
/obj/effect/mapping_helpers/no_lava,
/obj/structure/grille/ratvar,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"w" = (
/obj/effect/mapping_helpers/no_lava,
/obj/structure/grille/ratvar/broken,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"x" = (
/obj/effect/mapping_helpers/no_lava,
/obj/structure/clockwork/wall_gear,
/obj/item/stack/tile/brass,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"y" = (
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/component/geis_capacitor/fallen_armor,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"z" = (
/obj/effect/mapping_helpers/no_lava,
/obj/structure/clockwork/wall_gear,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"A" = (
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/alloy_shards/clockgolem_remains,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"B" = (
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/weapon/ratvarian_spear,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"C" = (
/obj/effect/mapping_helpers/no_lava,
/obj/item/clockwork/alloy_shards/medium/gear_bit,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"D" = (
/obj/structure/grille/ratvar,
/obj/effect/mapping_helpers/no_lava,
@@ -133,12 +130,15 @@
/obj/effect/mapping_helpers/no_lava,
/obj/structure/dead_ratvar,
/turf/simulated/floor/clockwork/lavaland_air,
-/area/lavaland/surface/outdoors/unexplored)
+/area/lavaland/surface/outdoors)
"G" = (
/obj/item/stack/tile/brass/fifty,
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/unexplored)
+"X" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
(1,1,1) = {"
a
@@ -154,10 +154,10 @@ a
a
a
a
-b
+X
s
h
-b
+X
a
a
a
@@ -175,16 +175,16 @@ a
a
a
o
-b
+X
a
h
-b
-b
+X
+X
c
j
x
-b
-b
+X
+X
g
a
a
@@ -200,19 +200,19 @@ a
a
a
f
-b
+X
l
-b
+X
m
-b
+X
p
w
j
j
c
l
-b
-b
+X
+X
a
a
a
@@ -228,19 +228,19 @@ a
f
l
l
-b
-b
-b
+X
+X
+X
l
j
j
j
p
l
-b
+X
h
c
-b
+X
a
a
"}
@@ -250,7 +250,7 @@ a
a
a
a
-b
+X
l
l
p
@@ -261,12 +261,12 @@ l
l
j
l
-b
+X
l
l
D
h
-b
+X
a
a
"}
@@ -299,15 +299,15 @@ a
(7,1,1) = {"
a
a
-b
-b
-b
+X
+X
+X
l
l
l
l
h
-b
+X
l
l
l
@@ -319,7 +319,7 @@ l
c
f
f
-b
+X
a
"}
(8,1,1) = {"
@@ -328,54 +328,54 @@ h
h
g
c
-b
+X
l
l
l
l
n
h
-b
+X
l
l
-b
+X
l
l
l
l
f
-b
+X
a
a
"}
(9,1,1) = {"
a
-b
+X
c
-b
-b
+X
+X
l
l
l
l
t
h
-b
+X
h
w
p
-b
+X
g
l
l
-b
-b
-b
-b
+X
+X
+X
+X
a
"}
(10,1,1) = {"
-b
+X
h
l
l
@@ -383,15 +383,15 @@ l
l
l
l
-b
-b
+X
+X
p
r
F
-b
+X
h
A
-b
+X
l
l
l
@@ -410,20 +410,20 @@ l
l
l
l
-b
+X
h
k
h
h
h
-b
+X
l
l
l
l
l
l
-b
+X
a
"}
(12,1,1) = {"
@@ -434,20 +434,20 @@ j
h
l
l
-b
+X
l
l
-b
+X
h
h
h
c
l
l
-b
+X
l
l
-b
+X
h
o
a
@@ -455,14 +455,14 @@ a
(13,1,1) = {"
e
k
-b
+X
l
l
l
-b
+X
p
s
-b
+X
h
h
h
@@ -474,19 +474,19 @@ l
l
l
l
-b
-b
+X
+X
a
"}
(14,1,1) = {"
-b
-b
-b
+X
+X
+X
m
l
l
l
-b
+X
h
h
k
@@ -496,18 +496,18 @@ h
h
h
c
-b
+X
l
l
-b
-b
+X
+X
h
-b
+X
"}
(15,1,1) = {"
-b
-b
-b
+X
+X
+X
l
l
l
@@ -526,8 +526,8 @@ l
l
l
l
-b
-b
+X
+X
a
"}
(16,1,1) = {"
@@ -539,7 +539,7 @@ l
l
l
l
-b
+X
h
h
h
@@ -547,7 +547,7 @@ h
h
h
s
-b
+X
l
l
l
@@ -557,66 +557,66 @@ f
a
"}
(17,1,1) = {"
-b
-b
-b
+X
+X
+X
l
l
l
-b
+X
l
l
-b
+X
h
h
h
h
h
-b
+X
s
-b
+X
l
-b
+X
l
l
-b
+X
a
"}
(18,1,1) = {"
-b
+X
h
l
l
l
-b
-b
+X
+X
h
-b
+X
h
h
h
h
h
-b
+X
k
-b
+X
C
-b
+X
h
-b
-b
+X
+X
m
-b
+X
"}
(19,1,1) = {"
-b
-b
+X
+X
l
l
l
l
h
-b
+X
h
h
h
@@ -624,24 +624,24 @@ h
h
h
h
-b
+X
j
h
c
h
-b
+X
h
-b
-b
+X
+X
"}
(20,1,1) = {"
-b
+X
l
l
l
l
-b
-b
+X
+X
p
h
c
@@ -650,27 +650,27 @@ k
h
h
o
-b
+X
l
l
l
-b
+X
E
-b
+X
G
o
"}
(21,1,1) = {"
g
-b
+X
l
l
l
l
l
-b
+X
h
-b
+X
h
h
h
@@ -684,26 +684,26 @@ l
l
j
j
-b
+X
"}
(22,1,1) = {"
c
c
-b
+X
l
l
-b
+X
h
h
t
-b
+X
h
h
h
h
h
m
-b
+X
l
l
l
@@ -713,11 +713,11 @@ j
j
"}
(23,1,1) = {"
-b
+X
h
m
n
-b
+X
h
l
o
@@ -726,23 +726,23 @@ u
r
p
h
-b
+X
h
-b
+X
l
l
l
-b
-b
+X
+X
w
-b
-b
+X
+X
"}
(24,1,1) = {"
a
a
-b
-b
+X
+X
l
l
l
@@ -761,7 +761,7 @@ l
c
l
l
-b
+X
a
"}
(25,1,1) = {"
@@ -775,9 +775,9 @@ l
j
l
l
-b
+X
h
-b
+X
x
h
l
@@ -795,7 +795,7 @@ a
a
a
c
-b
+X
l
l
l
@@ -804,14 +804,14 @@ l
l
g
l
-b
+X
h
l
l
l
c
m
-b
+X
a
a
a
@@ -820,9 +820,9 @@ a
a
a
a
-b
+X
h
-b
+X
l
l
l
@@ -836,7 +836,7 @@ l
l
l
l
-b
+X
a
a
a
@@ -848,9 +848,9 @@ a
a
a
c
-b
+X
l
-b
+X
l
l
l
@@ -859,7 +859,7 @@ l
l
l
l
-b
+X
l
f
a
@@ -873,11 +873,11 @@ a
a
a
a
-b
-b
+X
+X
f
c
-b
+X
l
c
l
@@ -887,7 +887,7 @@ l
c
o
l
-b
+X
a
a
a
@@ -902,16 +902,16 @@ a
a
g
c
-b
+X
l
l
-b
+X
m
l
-b
+X
l
f
-b
+X
a
a
a
@@ -928,11 +928,11 @@ a
a
a
a
-b
+X
l
-b
+X
a
-b
+X
l
c
f
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_elite_tumor.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_elite_tumor.dmm
index 62721ec4f3da..f8c1633f7779 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_elite_tumor.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_elite_tumor.dmm
@@ -26,107 +26,67 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"V" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/template_noop,
-/area/template_noop)
(1,1,1) = {"
a
a
+u
a
a
a
-a
-a
-a
-a
+u
"}
(2,1,1) = {"
a
-V
-V
-V
-V
-V
-V
-V
-a
-"}
-(3,1,1) = {"
-a
-V
u
E
u
u
u
-V
a
"}
-(4,1,1) = {"
-a
-V
+(3,1,1) = {"
+u
u
u
u
u
q
-V
-a
+u
"}
-(5,1,1) = {"
-a
-V
+(4,1,1) = {"
+u
u
u
k
u
u
-V
a
"}
-(6,1,1) = {"
+(5,1,1) = {"
a
-V
u
M
u
u
u
-V
-a
+u
"}
-(7,1,1) = {"
+(6,1,1) = {"
+a
a
-V
-u
-u
u
+a
u
u
-V
-a
-"}
-(8,1,1) = {"
-a
-V
-V
-V
-V
-V
-V
-V
a
"}
-(9,1,1) = {"
-a
-a
-a
-a
-a
+(7,1,1) = {"
a
+u
a
+u
+u
a
a
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_gluttony.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_gluttony.dmm
index c0c70a88b393..340e908d7496 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_gluttony.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_gluttony.dmm
@@ -2,9 +2,6 @@
"a" = (
/turf/simulated/mineral/volcanic/lava_land_surface,
/area/lavaland/surface/outdoors)
-"b" = (
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"c" = (
/turf/simulated/floor/lava/mapping_lava,
/area/lavaland/surface/outdoors)
@@ -71,6 +68,9 @@
},
/turf/simulated/floor/plasteel/freezer,
/area/ruin/powered/gluttony)
+"u" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"v" = (
/obj/machinery/light/small,
/turf/simulated/floor/plasteel/freezer,
@@ -101,19 +101,19 @@
a
a
a
-b
-b
+u
+u
a
a
-b
+u
a
-b
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
+u
a
a
a
@@ -123,54 +123,54 @@ a
a
a
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
+u
+u
+u
+u
+u
+u
+u
a
a
a
a
"}
(3,1,1) = {"
-b
+u
a
a
a
-b
-b
-b
+u
+u
+u
c
c
c
-b
+u
c
c
c
-b
-b
+u
+u
a
a
a
a
"}
(4,1,1) = {"
-b
+u
a
a
a
-b
-b
-b
+u
+u
+u
c
R
R
@@ -178,7 +178,7 @@ S
R
R
c
-b
+u
a
a
a
@@ -186,13 +186,13 @@ a
a
"}
(5,1,1) = {"
-b
-b
+u
+u
a
a
a
-b
-b
+u
+u
c
R
h
@@ -200,7 +200,7 @@ i
o
R
c
-b
+u
a
a
a
@@ -213,8 +213,8 @@ a
a
a
a
-b
-b
+u
+u
c
R
i
@@ -222,21 +222,21 @@ i
v
R
c
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
a
"}
(7,1,1) = {"
a
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
c
R
i
@@ -244,16 +244,16 @@ l
i
R
c
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
a
"}
(8,1,1) = {"
a
-b
+u
c
c
c
@@ -271,11 +271,11 @@ c
c
c
c
-b
+u
"}
(9,1,1) = {"
-b
-b
+u
+u
c
R
R
@@ -293,11 +293,11 @@ R
R
R
c
-b
+u
"}
(10,1,1) = {"
a
-b
+u
c
R
e
@@ -315,11 +315,11 @@ l
i
R
c
-b
+u
"}
(11,1,1) = {"
a
-b
+u
c
R
f
@@ -336,12 +336,12 @@ i
i
i
S
-b
-b
+u
+u
"}
(12,1,1) = {"
a
-b
+u
c
R
e
@@ -359,11 +359,11 @@ i
q
R
c
-b
+u
"}
(13,1,1) = {"
a
-b
+u
c
R
R
@@ -381,11 +381,11 @@ R
R
R
c
-b
+u
"}
(14,1,1) = {"
a
-b
+u
c
c
c
@@ -403,16 +403,16 @@ c
c
c
c
-b
+u
"}
(15,1,1) = {"
a
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
c
R
i
@@ -420,21 +420,21 @@ g
i
R
c
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
"}
(16,1,1) = {"
-b
-b
-b
+u
+u
+u
a
-b
-b
-b
+u
+u
+u
c
R
j
@@ -442,21 +442,21 @@ i
v
R
c
-b
-b
-b
+u
+u
+u
a
a
a
"}
(17,1,1) = {"
-b
-b
-b
+u
+u
+u
a
-b
-b
-b
+u
+u
+u
c
R
i
@@ -464,9 +464,9 @@ n
i
R
c
-b
-b
-b
+u
+u
+u
a
a
a
@@ -476,9 +476,9 @@ a
a
a
a
-b
-b
-b
+u
+u
+u
c
R
R
@@ -486,9 +486,9 @@ S
R
R
c
-b
-b
-b
+u
+u
+u
a
a
a
@@ -504,12 +504,12 @@ a
c
c
c
-b
+u
c
c
c
-b
-b
+u
+u
a
a
a
@@ -523,16 +523,16 @@ a
a
a
a
-b
-b
-b
-b
-b
-b
-b
+u
+u
+u
+u
+u
+u
+u
a
a
-b
+u
a
a
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_golem_ship.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_golem_ship.dmm
index 33d456c77ea2..4ecc08bc9cf8 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_golem_ship.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_golem_ship.dmm
@@ -67,11 +67,6 @@
/obj/machinery/mineral/equipment_vendor/golem,
/turf/simulated/floor/mineral/titanium/purple,
/area/shuttle/freegolem)
-"r" = (
-/obj/machinery/door/airlock/titanium,
-/obj/structure/fans/tiny,
-/turf/simulated/floor/mineral/titanium/purple,
-/area/shuttle/freegolem)
"s" = (
/obj/machinery/light{
dir = 8
@@ -258,6 +253,11 @@
},
/turf/simulated/floor/plating/lavaland_air,
/area/shuttle/freegolem)
+"W" = (
+/obj/machinery/door/airlock/titanium,
+/obj/structure/fans/tiny,
+/turf/simulated/floor/mineral/titanium/purple,
+/area/shuttle/freegolem)
(1,1,1) = {"
a
@@ -301,12 +301,12 @@ a
a
b
b
-r
+W
b
x
D
b
-r
+W
b
b
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hermit.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hermit.dmm
index 3c73fa6c9021..cc4a29fd3ea9 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hermit.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hermit.dmm
@@ -9,14 +9,9 @@
/turf/simulated/wall/mineral/iron,
/area/ruin/powered)
"d" = (
-/obj/item/clothing/head/helmet/space/syndicate/orange,
/obj/item/clothing/mask/breath,
/turf/simulated/floor/plating,
/area/ruin/powered)
-"e" = (
-/obj/item/clothing/suit/space/syndicate/orange,
-/turf/simulated/floor/plating,
-/area/ruin/powered)
"g" = (
/turf/simulated/floor/plating/asteroid{
name = "dirt"
@@ -172,7 +167,7 @@
/obj/effect/baseturf_helper,
/turf/simulated/floor/plating,
/area/ruin/powered)
-"P" = (
+"Q" = (
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
@@ -180,83 +175,14 @@
/obj/item/flashlight/lantern,
/turf/simulated/floor/plating,
/area/ruin/powered)
+"Z" = (
+/turf/template_noop,
+/area/template_noop)
(1,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-P
-P
-P
-a
-a
-a
-a
-a
-"}
-(2,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-P
-P
-s
-a
-a
-a
-"}
-(3,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-P
-P
-P
-s
-a
-a
-"}
-(4,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-P
-P
-P
-s
-a
-"}
-(5,1,1) = {"
-a
-a
-a
+Z
+Z
+Z
a
a
b
@@ -267,13 +193,13 @@ t
t
t
t
-P
-P
+Q
+Q
a
"}
-(6,1,1) = {"
-a
-a
+(2,1,1) = {"
+Z
+Z
a
a
b
@@ -285,11 +211,11 @@ v
x
B
t
-P
-P
-s
+Q
+Q
+Q
"}
-(7,1,1) = {"
+(3,1,1) = {"
a
a
a
@@ -303,11 +229,11 @@ w
y
y
D
-P
-P
+Q
+Q
a
"}
-(8,1,1) = {"
+(4,1,1) = {"
a
b
b
@@ -321,11 +247,11 @@ o
z
C
t
-P
-P
+Q
+Q
a
"}
-(9,1,1) = {"
+(5,1,1) = {"
b
b
g
@@ -339,11 +265,11 @@ o
t
t
t
-P
+Q
s
a
"}
-(10,1,1) = {"
+(6,1,1) = {"
b
d
g
@@ -357,13 +283,13 @@ o
A
b
a
-P
-P
+Q
+Q
s
"}
-(11,1,1) = {"
+(7,1,1) = {"
c
-e
+o
h
g
l
@@ -376,10 +302,10 @@ c
b
a
a
-P
+Q
s
"}
-(12,1,1) = {"
+(8,1,1) = {"
b
b
o
@@ -397,7 +323,7 @@ E
H
E
"}
-(13,1,1) = {"
+(9,1,1) = {"
a
b
b
@@ -408,19 +334,14 @@ a
a
a
a
-a
-a
+Z
+Z
a
F
I
F
"}
-(14,1,1) = {"
-a
-a
-a
-a
-a
+(10,1,1) = {"
a
a
a
@@ -428,44 +349,49 @@ a
a
a
a
+Z
+Z
+Z
+Z
+Z
a
F
I
F
"}
-(15,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
+(11,1,1) = {"
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
a
F
J
G
"}
-(16,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
+(12,1,1) = {"
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+Z
+a
+Q
+Q
+Q
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hierophant.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hierophant.dmm
index 2eba0969e53a..cab297ad35b9 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hierophant.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_hierophant.dmm
@@ -2,9 +2,6 @@
"a" = (
/turf/simulated/wall/indestructible/hierophant,
/area/ruin/unpowered/hierophant)
-"b" = (
-/turf/simulated/floor/indestructible/hierophant,
-/area/ruin/unpowered/hierophant)
"c" = (
/obj/effect/light_emitter{
light_power = 5;
@@ -30,15 +27,18 @@
/obj/effect/baseturf_helper/lava/mapping_lava,
/turf/simulated/floor/indestructible/hierophant/two,
/area/ruin/unpowered/hierophant)
+"r" = (
+/turf/simulated/floor/indestructible/hierophant,
+/area/ruin/unpowered/hierophant)
(1,1,1) = {"
a
a
a
-b
-b
-b
-b
+r
+r
+r
+r
a
a
a
@@ -48,146 +48,146 @@ a
a
a
a
-b
-b
-b
-b
+r
+r
+r
+r
a
a
a
"}
(2,1,1) = {"
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-c
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+c
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
a
"}
(3,1,1) = {"
a
-b
-b
-b
+r
+r
+r
c
c
-b
-b
-b
+r
+r
+r
a
-b
-b
-b
+r
+r
+r
a
-b
-b
-b
+r
+r
+r
c
c
-b
-b
-b
+r
+r
+r
a
"}
(4,1,1) = {"
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
"}
(5,1,1) = {"
-b
-b
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
-b
+r
+r
+r
c
-b
-b
-b
+r
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
+r
+r
"}
(6,1,1) = {"
-b
-b
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
-b
+r
+r
+r
c
-b
-b
-b
+r
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
+r
+r
"}
(7,1,1) = {"
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
e
e
e
@@ -199,18 +199,18 @@ e
e
e
e
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
"}
(8,1,1) = {"
a
-b
-b
-b
+r
+r
+r
c
c
e
@@ -226,18 +226,18 @@ e
e
c
c
-b
-b
-b
+r
+r
+r
a
"}
(9,1,1) = {"
a
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
e
e
e
@@ -249,20 +249,20 @@ e
e
e
e
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
a
"}
(10,1,1) = {"
a
-b
+r
a
-b
-b
-b
+r
+r
+r
e
a
e
@@ -274,20 +274,20 @@ e
e
a
e
-b
-b
-b
+r
+r
+r
a
-b
+r
a
"}
(11,1,1) = {"
a
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
e
e
e
@@ -299,18 +299,18 @@ e
e
e
e
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
a
"}
(12,1,1) = {"
a
c
-b
-b
+r
+r
c
c
e
@@ -326,18 +326,18 @@ e
e
c
c
-b
-b
+r
+r
c
a
"}
(13,1,1) = {"
a
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
e
e
e
@@ -349,20 +349,20 @@ e
e
e
e
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
a
"}
(14,1,1) = {"
a
-b
+r
a
-b
-b
-b
+r
+r
+r
e
a
e
@@ -374,20 +374,20 @@ e
e
a
e
-b
-b
-b
+r
+r
+r
a
-b
+r
a
"}
(15,1,1) = {"
a
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
e
e
e
@@ -399,18 +399,18 @@ e
e
e
e
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
a
"}
(16,1,1) = {"
a
-b
-b
-b
+r
+r
+r
c
c
e
@@ -426,18 +426,18 @@ e
e
c
c
-b
-b
-b
+r
+r
+r
a
"}
(17,1,1) = {"
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
e
e
e
@@ -449,146 +449,146 @@ e
e
e
e
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
"}
(18,1,1) = {"
-b
-b
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
-b
+r
+r
+r
c
-b
-b
-b
+r
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
+r
+r
"}
(19,1,1) = {"
-b
-b
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
-b
+r
+r
+r
c
-b
-b
-b
+r
+r
+r
c
-b
+r
a
a
-b
+r
c
-b
-b
+r
+r
"}
(20,1,1) = {"
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
"}
(21,1,1) = {"
a
-b
-b
-b
+r
+r
+r
c
c
-b
-b
-b
+r
+r
+r
a
-b
-b
-b
+r
+r
+r
a
-b
-b
-b
+r
+r
+r
c
c
-b
-b
-b
+r
+r
+r
a
"}
(22,1,1) = {"
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-c
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
+c
+r
+r
+r
+r
+r
+r
+r
+r
+r
+r
a
"}
(23,1,1) = {"
a
a
a
-b
-b
-b
-b
+r
+r
+r
+r
a
a
a
@@ -598,10 +598,10 @@ a
a
a
a
-b
-b
-b
-b
+r
+r
+r
+r
a
a
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pizzaparty.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pizzaparty.dmm
index e21f413c620f..95a68100f271 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pizzaparty.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pizzaparty.dmm
@@ -2,9 +2,6 @@
"a" = (
/turf/template_noop,
/area/template_noop)
-"b" = (
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"c" = (
/obj/structure/lattice,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
@@ -217,74 +214,77 @@
"Q" = (
/turf/simulated/floor/plating/lavaland_air,
/area/ruin/powered/pizza_party)
+"Y" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
(1,1,1) = {"
a
a
-b
-b
+Y
+Y
a
a
-b
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
a
a
a
a
"}
(2,1,1) = {"
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
c
c
-b
-b
-b
-b
+Y
+Y
+Y
+Y
a
a
"}
(3,1,1) = {"
-b
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
c
c
e
e
c
c
-b
-b
-b
+Y
+Y
+Y
a
"}
(4,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
-b
+Y
c
c
e
@@ -294,17 +294,17 @@ e
Q
e
d
-b
-b
+Y
+Y
a
"}
(5,1,1) = {"
a
-b
-b
-b
+Y
+Y
+Y
d
-b
+Y
m
e
w
@@ -314,15 +314,15 @@ h
h
e
d
-b
-b
-b
+Y
+Y
+Y
"}
(6,1,1) = {"
a
-b
-b
-b
+Y
+Y
+Y
d
f
n
@@ -333,16 +333,16 @@ e
M
e
c
-b
-b
-b
-b
+Y
+Y
+Y
+Y
"}
(7,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
g
o
@@ -352,17 +352,17 @@ C
J
h
d
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(8,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
e
h
p
@@ -372,16 +372,16 @@ D
K
M
d
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(9,1,1) = {"
-b
-b
-b
+Y
+Y
+Y
c
e
i
@@ -392,16 +392,16 @@ E
h
h
c
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(10,1,1) = {"
-b
-b
-b
+Y
+Y
+Y
c
e
j
@@ -412,17 +412,17 @@ F
q
N
c
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(11,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
e
e
h
@@ -432,17 +432,17 @@ G
q
h
c
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(12,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
k
h
@@ -452,17 +452,17 @@ H
h
O
d
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
"}
(13,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
k
h
@@ -472,17 +472,17 @@ s
o
n
d
-b
-b
-b
-b
+Y
+Y
+Y
+Y
a
"}
(14,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
l
i
@@ -492,17 +492,17 @@ I
L
P
d
-b
-b
-b
-b
+Y
+Y
+Y
+Y
a
"}
(15,1,1) = {"
-b
-b
-b
-b
+Y
+Y
+Y
+Y
d
d
e
@@ -512,48 +512,48 @@ e
e
d
d
-b
-b
-b
-b
+Y
+Y
+Y
+Y
a
"}
(16,1,1) = {"
a
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
c
v
-b
+Y
c
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
a
"}
(17,1,1) = {"
a
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
a
a
a
@@ -563,14 +563,14 @@ a
a
a
a
-b
-b
-b
-b
-b
-b
-b
-b
+Y
+Y
+Y
+Y
+Y
+Y
+Y
+Y
a
a
a
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pride.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pride.dmm
index 754614d2091e..849fa32764a7 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pride.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_pride.dmm
@@ -1,7 +1,4 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
-"a" = (
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"b" = (
/turf/simulated/mineral/volcanic/lava_land_surface,
/area/lavaland/surface/outdoors)
@@ -75,6 +72,9 @@
/obj/structure/mirror/magic/pride,
/turf/simulated/wall/mineral/diamond,
/area/ruin/powered/pride)
+"P" = (
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"Y" = (
/obj/machinery/door/airlock/diamond,
/obj/structure/fans/tiny/invisible,
@@ -82,30 +82,30 @@
/area/ruin/powered/pride)
(1,1,1) = {"
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
-a
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
+P
"}
(2,1,1) = {"
-a
-a
+P
+P
c
c
c
@@ -123,7 +123,7 @@ c
c
c
c
-a
+P
"}
(3,1,1) = {"
b
@@ -145,7 +145,7 @@ G
G
G
c
-a
+P
"}
(4,1,1) = {"
c
@@ -167,7 +167,7 @@ e
e
G
c
-a
+P
"}
(5,1,1) = {"
c
@@ -188,8 +188,8 @@ g
g
r
G
-a
-a
+P
+P
"}
(6,1,1) = {"
c
@@ -210,8 +210,8 @@ g
g
g
Y
-a
-a
+P
+P
"}
(7,1,1) = {"
c
@@ -233,7 +233,7 @@ g
r
G
c
-a
+P
"}
(8,1,1) = {"
c
@@ -255,7 +255,7 @@ f
f
G
c
-a
+P
"}
(9,1,1) = {"
b
@@ -277,7 +277,7 @@ G
G
G
c
-a
+P
"}
(10,1,1) = {"
b
@@ -299,5 +299,5 @@ c
c
c
c
-a
+P
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_puzzle.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_puzzle.dmm
index 75b4c619445b..a00f000ad969 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_puzzle.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_puzzle.dmm
@@ -1,7 +1,4 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
-"a" = (
-/turf/template_noop,
-/area/lavaland/surface/outdoors)
"b" = (
/obj/effect/sliding_puzzle/lavaland,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
@@ -9,39 +6,42 @@
"c" = (
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
+"n" = (
+/turf/template_noop,
+/area/lavaland/surface/outdoors)
(1,1,1) = {"
-a
-a
-a
-a
-a
+n
+n
+n
+n
+n
"}
(2,1,1) = {"
-a
+n
c
c
c
-a
+n
"}
(3,1,1) = {"
-a
+n
c
b
c
-a
+n
"}
(4,1,1) = {"
-a
+n
c
c
c
-a
+n
"}
(5,1,1) = {"
-a
-a
-a
-a
-a
+n
+n
+n
+n
+n
"}
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_seed_vault.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_seed_vault.dmm
index 1840bd959f46..1ba79151f953 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_seed_vault.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_seed_vault.dmm
@@ -1,4 +1,7 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
+"aa" = (
+/turf/simulated/mineral/volcanic/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"ag" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -486,84 +489,84 @@ QX
QX
QX
yZ
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
QX
-BC
+aa
QX
-BC
-BC
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
+aa
+aa
QX
QX
QX
"}
(2,1,1) = {"
QX
-BC
-yZ
-yZ
-yZ
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
+aa
+yZ
+yZ
+yZ
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
QX
-BC
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
+aa
"}
(3,1,1) = {"
QX
-BC
-BC
+aa
+aa
yZ
yZ
-BC
+aa
yZ
yZ
yZ
-BC
+aa
yZ
yZ
yZ
yZ
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
+aa
QX
"}
(4,1,1) = {"
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
yZ
BC
yZ
@@ -579,16 +582,16 @@ yZ
yZ
yZ
yZ
-BC
+aa
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(5,1,1) = {"
-BC
+aa
QX
-BC
+aa
yZ
yZ
yZ
@@ -608,13 +611,13 @@ yZ
yZ
yZ
yZ
-BC
-BC
+aa
+aa
"}
(6,1,1) = {"
-BC
-BC
-BC
+aa
+aa
+aa
yZ
yZ
no
@@ -633,14 +636,14 @@ no
no
yZ
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(7,1,1) = {"
-BC
-BC
-BC
+aa
+aa
+aa
yZ
no
no
@@ -659,13 +662,13 @@ no
no
no
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(8,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
no
@@ -685,13 +688,13 @@ vt
AG
no
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(9,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
no
@@ -712,13 +715,13 @@ AG
no
yZ
yZ
-BC
+aa
QX
"}
(10,1,1) = {"
QX
-BC
-BC
+aa
+aa
yZ
no
Pg
@@ -743,8 +746,8 @@ yZ
"}
(11,1,1) = {"
QX
-BC
-BC
+aa
+aa
yZ
no
Pg
@@ -765,12 +768,12 @@ no
yZ
yZ
yZ
-BC
+aa
"}
(12,1,1) = {"
QX
-BC
-BC
+aa
+aa
yZ
no
no
@@ -790,12 +793,12 @@ no
no
yZ
yZ
-BC
-BC
+aa
+aa
"}
(13,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
Nj
@@ -815,14 +818,14 @@ no
no
Nj
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(14,1,1) = {"
-BC
-BC
-BC
+aa
+aa
+aa
yZ
yZ
no
@@ -841,15 +844,15 @@ Nj
no
yZ
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(15,1,1) = {"
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
yZ
al
yc
@@ -868,12 +871,12 @@ ja
yZ
yZ
yZ
-BC
-BC
+aa
+aa
"}
(16,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
yZ
@@ -893,14 +896,14 @@ no
no
yZ
yZ
-BC
-BC
+aa
+aa
QX
"}
(17,1,1) = {"
QX
-BC
-BC
+aa
+aa
yZ
no
no
@@ -920,12 +923,12 @@ no
no
yZ
yZ
-BC
-BC
+aa
+aa
"}
(18,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
no
@@ -947,11 +950,11 @@ no
yZ
yZ
yZ
-BC
+aa
"}
(19,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
no
@@ -972,11 +975,11 @@ iV
no
yZ
yZ
-BC
-BC
+aa
+aa
"}
(20,1,1) = {"
-BC
+aa
yZ
yZ
yZ
@@ -998,8 +1001,8 @@ ga
no
yZ
yZ
-BC
-BC
+aa
+aa
"}
(21,1,1) = {"
yZ
@@ -1025,12 +1028,12 @@ no
yZ
yZ
yZ
-BC
+aa
"}
(22,1,1) = {"
QX
yZ
-BC
+aa
yZ
no
MB
@@ -1050,12 +1053,12 @@ uO
no
yZ
yZ
-BC
-BC
+aa
+aa
"}
(23,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
no
@@ -1077,11 +1080,11 @@ no
yZ
yZ
yZ
-BC
+aa
"}
(24,1,1) = {"
QX
-BC
+aa
yZ
yZ
no
@@ -1102,12 +1105,12 @@ no
no
yZ
yZ
-BC
+aa
QX
"}
(25,1,1) = {"
-BC
-BC
+aa
+aa
yZ
yZ
Nj
@@ -1128,13 +1131,13 @@ no
Nj
yZ
yZ
-BC
-BC
+aa
+aa
"}
(26,1,1) = {"
-BC
-BC
-BC
+aa
+aa
+aa
yZ
yZ
no
@@ -1155,13 +1158,13 @@ yZ
yZ
yZ
yZ
-BC
+aa
"}
(27,1,1) = {"
-BC
-BC
-BC
-BC
+aa
+aa
+aa
+aa
yZ
al
yc
@@ -1179,14 +1182,14 @@ yc
ja
yZ
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(28,1,1) = {"
-BC
+aa
QX
-BC
+aa
yZ
yZ
yZ
@@ -1205,14 +1208,14 @@ yZ
yZ
yZ
yZ
-BC
-BC
+aa
+aa
QX
"}
(29,1,1) = {"
-BC
-BC
-BC
+aa
+aa
+aa
BC
BC
yZ
@@ -1231,14 +1234,14 @@ yZ
yZ
BC
yZ
-BC
-BC
-BC
+aa
+aa
+aa
"}
(30,1,1) = {"
QX
QX
-BC
+aa
BC
BC
yZ
@@ -1257,14 +1260,14 @@ yZ
yZ
yZ
BC
-BC
-BC
-BC
+aa
+aa
+aa
"}
(31,1,1) = {"
QX
-BC
-BC
+aa
+aa
BC
BC
yZ
@@ -1283,12 +1286,12 @@ BC
BC
yZ
BC
-BC
+aa
QX
-BC
+aa
"}
(32,1,1) = {"
-BC
+aa
QX
QX
BC
@@ -1309,13 +1312,13 @@ yZ
BC
BC
QX
-BC
-BC
+aa
+aa
QX
"}
(33,1,1) = {"
QX
-BC
+aa
BC
BC
BC
@@ -1335,9 +1338,9 @@ BC
BC
BC
BC
-BC
-BC
-BC
+aa
+aa
+aa
"}
(34,1,1) = {"
QX
diff --git a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_survivalpod.dmm b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_survivalpod.dmm
index ff9271dfe3d8..0f0b47cb8109 100644
--- a/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_survivalpod.dmm
+++ b/_maps/map_files/RandomRuins/LavaRuins/lavaland_surface_survivalpod.dmm
@@ -41,10 +41,6 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"j" = (
-/obj/effect/decal/cleanable/blood/drip,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"k" = (
/obj/machinery/sleeper/survival_pod,
/turf/simulated/floor/pod/dark,
@@ -129,6 +125,10 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
+"L" = (
+/obj/effect/decal/cleanable/blood/drip,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
(1,1,1) = {"
a
@@ -218,8 +218,8 @@ d
d
d
y
-j
-j
+L
+L
"}
(8,1,1) = {"
a
@@ -229,8 +229,8 @@ b
i
b
i
-j
-j
+L
+L
b
b
"}
@@ -239,7 +239,7 @@ a
a
b
b
-j
+L
n
s
b
@@ -254,7 +254,7 @@ a
a
a
o
-j
+L
b
a
a
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm b/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm
index 0685cdb39eb4..dc0aad02f007 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/debris1.dmm
@@ -141,7 +141,7 @@
/turf/simulated/floor/plating/burnt/airless,
/area/space)
"U" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/space,
/area/space)
"V" = (
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm b/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm
index 26414bff313c..b8f979a2f43e 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/deepstorage.dmm
@@ -2666,6 +2666,7 @@
/area/ruin/space/deepstorage)
"pk" = (
/obj/effect/decal/cleanable/dirt,
+/obj/item/salvage/ruin/soviet,
/obj/structure/rack,
/obj/item/stack/spacecash/c500,
/obj/effect/spawner/lootdrop/bluespace_tap/cultural,
@@ -3533,7 +3534,7 @@
},
/area/ruin/space/deepstorage)
"vo" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -3940,6 +3941,8 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/deepstorage)
"ye" = (
+/obj/structure/table/reinforced,
+/obj/item/salvage/ruin/soviet,
/obj/structure/rack,
/obj/item/grenade/confetti,
/obj/item/grenade/confetti,
@@ -4815,7 +4818,7 @@
/obj/structure/railing{
dir = 8
},
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -6188,7 +6191,7 @@
/area/ruin/space/unpowered)
"Og" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/ruin/space/deepstorage)
"Oh" = (
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/derelict5.dmm b/_maps/map_files/RandomRuins/SpaceRuins/derelict5.dmm
index bd9a9b981788..a2980f93f610 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/derelict5.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/derelict5.dmm
@@ -167,7 +167,7 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/unpowered)
"xs" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/floor/plasteel,
/area/ruin/space/unpowered)
"xQ" = (
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/dj.dmm b/_maps/map_files/RandomRuins/SpaceRuins/dj.dmm
index 717a32bcac86..95caec8d8c88 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/dj.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/dj.dmm
@@ -310,11 +310,11 @@
"aQ" = (
/obj/structure/rack,
/obj/item/clothing/suit/space/syndicate/orange{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Security Suit"
},
/obj/item/clothing/head/helmet/space/syndicate/orange{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Security Helmet"
},
/obj/item/clothing/mask/breath,
@@ -367,7 +367,7 @@
pixel_y = 28
},
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel{
@@ -512,7 +512,7 @@
/area/ruin/space/djstation)
"bp" = (
/obj/structure/chair/office/light,
-/mob/living/simple_animal/hostile/russian/ranged/mosin,
+/mob/living/simple_animal/hostile/soviet/ranged/mosin,
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/djstation)
"bq" = (
@@ -583,7 +583,7 @@
pixel_y = 17
},
/obj/item/phone{
- desc = "An old Russian phone. The dial tone is still humming.";
+ desc = "An old Soviet phone. The dial tone is still humming.";
name = "spin-dial phone";
pixel_x = 1;
pixel_y = 1
@@ -797,11 +797,11 @@
/area/ruin/space/djstation)
"yr" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/ruin/space/djstation)
"Zp" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/ruin/space/djstation)
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/moonoutpost19.dmm b/_maps/map_files/RandomRuins/SpaceRuins/moonoutpost19.dmm
index 24116f28c9cb..13a10e310035 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/moonoutpost19.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/moonoutpost19.dmm
@@ -5531,10 +5531,6 @@
},
/turf/simulated/floor/engine,
/area/ruin/space/moonbase19)
-"sy" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/ruin/space/moonbase19)
"sF" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall/indestructible/riveted,
@@ -14703,7 +14699,7 @@ Wd
rL
mh
Mv
-sy
+ag
tX
tX
Dd
@@ -16017,7 +16013,7 @@ OZ
VR
af
bP
-sy
+ag
af
tX
tX
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm
index 592d9f2455ac..3131e93a9a5c 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm
@@ -1244,7 +1244,7 @@
/obj/structure/safe/floor,
/obj/item/tank/internals/oxygen/red,
/obj/item/clothing/mask/gas/syndicate,
-/obj/item/mod/control/pre_equipped/traitor,
+/obj/item/mod/control/pre_equipped/mining/asteroid,
/obj/item/reagent_containers/drinks/bottle/rum,
/obj/item/reagent_containers/drinks/bottle/rum,
/obj/item/folder/syndicate/blue,
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/syndiecakesfactory.dmm b/_maps/map_files/RandomRuins/SpaceRuins/syndiecakesfactory.dmm
index e31219ca97e7..26c6e5586f9f 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/syndiecakesfactory.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/syndiecakesfactory.dmm
@@ -628,7 +628,7 @@
},
/area/ruin/space/syndicakefactory)
"wW" = (
-/obj/machinery/suit_storage_unit/syndicate,
+/obj/machinery/suit_storage_unit/mining,
/turf/simulated/floor/engine,
/area/ruin/space/syndicakefactory)
"xy" = (
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/syndiedepot.dmm b/_maps/map_files/RandomRuins/SpaceRuins/syndiedepot.dmm
index 25369e690d57..5ff98a049734 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/syndiedepot.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/syndiedepot.dmm
@@ -147,14 +147,12 @@
on = 1
},
/obj/effect/spawner/random/syndicate/loot/common,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
/area/syndicate_depot/core)
"aB" = (
/obj/effect/spawner/random/syndicate/loot/common,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -345,7 +343,6 @@
/area/syndicate_depot/core)
"bc" = (
/obj/effect/spawner/random/syndicate/loot/rare,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -371,7 +368,6 @@
on = 1
},
/obj/effect/spawner/random/syndicate/loot/rare,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -418,7 +414,6 @@
dir = 8
},
/obj/effect/spawner/random/syndicate/loot/common,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -428,7 +423,6 @@
dir = 4
},
/obj/effect/spawner/random/syndicate/loot/common,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -539,7 +533,6 @@
/area/syndicate_depot/core)
"bE" = (
/obj/effect/spawner/random/syndicate/loot/officer,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -577,7 +570,6 @@
},
/area/syndicate_depot/outer)
"bJ" = (
-/obj/structure/closet/secure_closet/syndicate/depot,
/obj/effect/spawner/random/syndicate/trapped_documents,
/turf/simulated/floor/plasteel{
icon_state = "dark"
@@ -800,7 +792,6 @@
/area/syndicate_depot/core)
"cm" = (
/obj/effect/spawner/random/syndicate/loot/armory,
-/obj/structure/closet/secure_closet/syndicate/depot/armory,
/obj/machinery/atmospherics/pipe/simple/hidden,
/turf/simulated/floor/plasteel{
icon_state = "dark"
@@ -812,14 +803,12 @@
on = 1
},
/obj/effect/spawner/random/syndicate/loot/armory,
-/obj/structure/closet/secure_closet/syndicate/depot/armory,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
/area/syndicate_depot/core)
"co" = (
/obj/effect/spawner/random/syndicate/loot/armory,
-/obj/structure/closet/secure_closet/syndicate/depot/armory,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -1129,7 +1118,6 @@
dir = 8
},
/obj/effect/spawner/random/syndicate/loot/rare,
-/obj/structure/closet/secure_closet/syndicate/depot,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -1173,12 +1161,6 @@
},
/turf/simulated/floor/plating/asteroid/airless,
/area/syndicate_depot/outer)
-"dg" = (
-/obj/item/gps/ruin{
- gpstag = "ERR#UNKWN"
- },
-/turf/simulated/wall/mineral/plastitanium/nodiagonal,
-/area/syndicate_depot/core)
"Te" = (
/turf/simulated/mineral/random/high_chance,
/area/syndicate_depot/outer)
@@ -1913,7 +1895,7 @@ aj
aj
ao
ad
-dg
+at
aL
aD
aZ
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/telecomns_returns.dmm b/_maps/map_files/RandomRuins/SpaceRuins/telecomns_returns.dmm
index 513e8ff077b4..56d8b0a3d02f 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/telecomns_returns.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/telecomns_returns.dmm
@@ -16,7 +16,7 @@
"an" = (
/mob/living/simple_animal/hostile/malf_drone,
/turf/space,
-/area/space)
+/area/space/no_teleport)
"ao" = (
/obj/structure/sign/securearea{
desc = "A warning sign which reads 'LETHAL TURRETS'. Enter at your own risk!";
@@ -38,7 +38,7 @@
/obj/structure/lattice,
/obj/structure/grille/broken,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"aN" = (
/obj/machinery/light/small{
dir = 8
@@ -117,7 +117,7 @@
icon_state = "1-2"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"ca" = (
/obj/structure/cable{
d1 = 1;
@@ -174,7 +174,7 @@
icon_state = "2-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"dn" = (
/obj/machinery/computer/nonfunctional{
dir = 4
@@ -195,7 +195,7 @@
icon_state = "2-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"dv" = (
/obj/machinery/atmospherics/unary/vent_pump{
dir = 8;
@@ -304,7 +304,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"fc" = (
/obj/machinery/constructable_frame/machine_frame,
/turf/simulated/floor/bluegrid{
@@ -332,7 +332,7 @@
},
/obj/structure/window/reinforced,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"fv" = (
/obj/structure/window/reinforced{
dir = 4
@@ -353,7 +353,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"gi" = (
/obj/item/radio/intercom{
pixel_y = 25
@@ -391,9 +391,9 @@
pixel_x = 0
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"gv" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/ruin/space/telecomms/computer)
"gG" = (
@@ -446,7 +446,7 @@
},
/obj/structure/window/reinforced,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"hU" = (
/obj/machinery/computer/teleporter,
/obj/effect/turf_decal/delivery,
@@ -458,7 +458,7 @@
/area/ruin/space/telecomms/computer)
"ik" = (
/turf/simulated/wall/r_wall,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"il" = (
/turf/simulated/floor/bluegrid{
icon_state = "dark";
@@ -474,7 +474,7 @@
/area/ruin/space/telecomms/computer)
"iD" = (
/turf/simulated/wall/indestructible/riveted,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"iE" = (
/turf/simulated/floor/plasteel,
/area/ruin/space/telecomms/tele)
@@ -577,7 +577,7 @@
pixel_x = 0
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"li" = (
/obj/machinery/power/solar,
/obj/structure/cable{
@@ -587,7 +587,7 @@
/turf/simulated/floor/plasteel/airless{
icon_state = "solarpanel"
},
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"lo" = (
/obj/structure/window/reinforced{
dir = 1
@@ -649,7 +649,7 @@
icon_state = "1-2"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"mb" = (
/obj/structure/cable{
d1 = 1;
@@ -684,7 +684,7 @@
icon_state = "1-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"mD" = (
/obj/structure/table,
/obj/effect/spawner/lootdrop/bluespace_tap/organic,
@@ -695,7 +695,7 @@
dir = 4
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"mN" = (
/obj/structure/table,
/obj/effect/spawner/random/maintenance,
@@ -710,7 +710,7 @@
},
/obj/structure/grille,
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"mZ" = (
/obj/machinery/door/airlock/maintenance_hatch{
name = "Core Access";
@@ -814,7 +814,7 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/telecomms)
"ob" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/indestructible/riveted,
/area/ruin/space/telecomms/computer)
"oe" = (
@@ -829,7 +829,7 @@
icon_state = "1-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"ou" = (
/obj/structure/cable{
d1 = 2;
@@ -874,7 +874,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"oG" = (
/obj/structure/cable{
icon_state = "0-4";
@@ -903,7 +903,7 @@
/turf/simulated/floor/plasteel/airless{
icon_state = "solarpanel"
},
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"pa" = (
/obj/machinery/computer/borgupload,
/turf/simulated/floor/bluegrid{
@@ -938,7 +938,7 @@
/obj/structure/grille/broken,
/mob/living/simple_animal/hostile/malf_drone,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"pU" = (
/obj/structure/lattice,
/obj/structure/grille,
@@ -948,7 +948,7 @@
icon_state = "1-4"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"pV" = (
/obj/item/paper/monitorkey,
/turf/simulated/floor/plasteel,
@@ -988,7 +988,7 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/telecomms/computer)
"qD" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/ruin/space/telecomms/powercontrol)
"qE" = (
@@ -1038,7 +1038,7 @@
icon_state = "2-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"rd" = (
/obj/item/pen/gray,
/turf/simulated/floor/plasteel,
@@ -1050,7 +1050,7 @@
icon_state = "2-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"rL" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -1079,7 +1079,7 @@
icon_state = "1-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"sq" = (
/obj/structure/window/reinforced{
dir = 8
@@ -1143,7 +1143,7 @@
dir = 1
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"to" = (
/obj/machinery/porta_turret/ai_turret/disable{
check_synth = 1;
@@ -1433,7 +1433,7 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/telecomms/computer)
"wX" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/indestructible/riveted,
/area/ruin/space/telecomms)
"wY" = (
@@ -1458,7 +1458,7 @@
pixel_x = 0
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"xj" = (
/obj/structure/window/reinforced{
dir = 8
@@ -1533,7 +1533,7 @@
"yo" = (
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"yq" = (
/obj/structure/cable{
d1 = 1;
@@ -1587,9 +1587,9 @@
},
/area/ruin/space/telecomms/foyer)
"yG" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"yJ" = (
/obj/structure/cable{
d1 = 2;
@@ -1635,7 +1635,7 @@
icon_state = "1-2"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"za" = (
/obj/structure/closet/crate,
/obj/item/clothing/glasses/night,
@@ -1645,7 +1645,7 @@
/obj/structure/lattice,
/obj/effect/abstract/cheese_trap,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"zq" = (
/obj/structure/barricade/sandbags,
/turf/simulated/floor/plasteel,
@@ -1725,7 +1725,7 @@
/turf/simulated/floor/catwalk,
/area/ruin/space/telecomms/powercontrol)
"Aj" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/engine,
/area/ruin/space/telecomms/computer)
"Ay" = (
@@ -1738,7 +1738,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Az" = (
/obj/structure/lattice,
/obj/structure/cable{
@@ -1749,7 +1749,7 @@
},
/obj/structure/grille,
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"AJ" = (
/obj/structure/cable{
d1 = 2;
@@ -1832,7 +1832,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"BW" = (
/obj/machinery/atmospherics/unary/tank/air{
dir = 8
@@ -1885,7 +1885,7 @@
icon_state = "2-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"CG" = (
/obj/machinery/power/grounding_rod,
/turf/simulated/floor/plasteel{
@@ -1919,7 +1919,7 @@
/area/ruin/space/telecomms/powercontrol)
"CU" = (
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Dd" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 6
@@ -1965,7 +1965,7 @@
/obj/structure/lattice,
/obj/structure/grille,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"DT" = (
/obj/structure/window/reinforced{
dir = 8
@@ -1990,14 +1990,14 @@
/area/ruin/space/telecomms/tele)
"Ed" = (
/turf/space,
-/area/space)
+/area/space/no_teleport)
"EF" = (
/obj/structure/window/reinforced{
dir = 8
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"EK" = (
/obj/structure/window/reinforced{
dir = 4
@@ -2005,7 +2005,7 @@
/obj/structure/lattice,
/obj/effect/abstract/cheese_trap,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"EM" = (
/turf/simulated/floor/bluegrid{
name = "Mainframe Base";
@@ -2017,7 +2017,7 @@
"EO" = (
/obj/structure/window/reinforced,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"EQ" = (
/obj/structure/window/reinforced,
/obj/structure/lattice,
@@ -2033,7 +2033,7 @@
},
/obj/machinery/power/tracker,
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Ff" = (
/obj/machinery/light{
dir = 8
@@ -2096,13 +2096,13 @@
},
/obj/structure/grille,
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Gd" = (
/obj/structure/window/reinforced{
dir = 4
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Gf" = (
/obj/machinery/light{
dir = 4
@@ -2121,7 +2121,7 @@
icon_state = "1-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Gt" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 10
@@ -2152,7 +2152,7 @@
/turf/simulated/floor/plasteel/airless{
icon_state = "solarpanel"
},
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"GH" = (
/obj/structure/lattice,
/obj/structure/grille,
@@ -2162,7 +2162,7 @@
icon_state = "1-8"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"GQ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 5
@@ -2193,7 +2193,7 @@
dir = 8
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Hr" = (
/turf/simulated/wall/r_wall,
/area/ruin/space/telecomms/computer)
@@ -2214,7 +2214,7 @@
icon_state = "1-2"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Hu" = (
/obj/structure/window/reinforced,
/turf/simulated/floor/catwalk,
@@ -2237,7 +2237,7 @@
pixel_x = 0
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"HK" = (
/obj/structure/cable{
d1 = 1;
@@ -2296,7 +2296,7 @@
pixel_x = 0
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"IE" = (
/obj/structure/cable{
d1 = 1;
@@ -2339,9 +2339,9 @@
icon_state = "1-2"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Jb" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/indestructible/riveted,
/area/ruin/space/telecomms/foyer)
"Jm" = (
@@ -2436,7 +2436,7 @@
icon_state = "1-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Ky" = (
/obj/machinery/computer/nonfunctional,
/obj/effect/spawner/random_spawners/cobweb_left_rare,
@@ -2451,7 +2451,7 @@
dir = 1
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"KQ" = (
/obj/structure/cable{
d1 = 4;
@@ -2492,7 +2492,7 @@
/area/ruin/space/telecomms)
"Lp" = (
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Lq" = (
/obj/structure/cable{
d1 = 1;
@@ -2538,7 +2538,7 @@
level = 1
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Ml" = (
/obj/structure/cable,
/obj/machinery/power/terminal{
@@ -2558,7 +2558,7 @@
icon_state = "2-8"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"ME" = (
/obj/machinery/light/small{
dir = 1
@@ -2653,7 +2653,7 @@
icon_state = "2-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Od" = (
/obj/structure/window/reinforced{
dir = 4
@@ -2674,14 +2674,14 @@
icon_state = "1-2"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"On" = (
/obj/structure/lattice,
/obj/structure/window/reinforced{
dir = 8
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"OS" = (
/obj/structure/cable{
d1 = 1;
@@ -2757,7 +2757,7 @@
dir = 8
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Qa" = (
/obj/structure/sign/securearea{
desc = "A warning sign which reads 'LETHAL TURRETS'. Enter at your own risk!";
@@ -2821,7 +2821,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"QP" = (
/obj/structure/lattice,
/obj/structure/window/reinforced{
@@ -2829,7 +2829,7 @@
},
/obj/effect/abstract/cheese_trap,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"QR" = (
/obj/structure/cable{
d1 = 2;
@@ -2865,7 +2865,7 @@
/turf/simulated/floor/plasteel/airless{
icon_state = "solarpanel"
},
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Ra" = (
/obj/structure/window/reinforced{
dir = 4
@@ -2875,7 +2875,7 @@
dir = 6
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Rh" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -2916,7 +2916,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"RB" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/turf/simulated/floor/plasteel,
@@ -2988,7 +2988,7 @@
icon_state = "2-8"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"SA" = (
/turf/simulated/wall/r_wall,
/area/ruin/space/telecomms/powercontrol)
@@ -3004,7 +3004,7 @@
dir = 8
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Ta" = (
/obj/structure/chair/office/dark{
dir = 4
@@ -3045,7 +3045,7 @@
icon_state = "2-4"
},
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"TT" = (
/obj/machinery/doppler_array,
/turf/simulated/floor/plasteel{
@@ -3067,7 +3067,7 @@
"TY" = (
/obj/structure/lattice,
/turf/space,
-/area/space)
+/area/space/no_teleport)
"Uw" = (
/obj/structure/cable{
d1 = 4;
@@ -3112,7 +3112,7 @@
},
/obj/structure/lattice,
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Vb" = (
/obj/structure/sign/nosmoking_2{
pixel_x = 32;
@@ -3136,7 +3136,7 @@
},
/obj/structure/grille,
/turf/simulated/floor/catwalk/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Vm" = (
/obj/machinery/light/small,
/obj/machinery/light_switch{
@@ -3149,13 +3149,13 @@
dir = 4
},
/turf/simulated/wall/r_wall,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Vp" = (
/obj/structure/window/reinforced{
dir = 4
},
/turf/space,
-/area/space)
+/area/space/no_teleport)
"VB" = (
/obj/effect/decal/cleanable/blood/old,
/turf/simulated/floor/plasteel,
@@ -3180,7 +3180,7 @@
dir = 1
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"Wp" = (
/obj/machinery/teleport/station,
/obj/effect/turf_decal/delivery,
@@ -3247,7 +3247,7 @@
dir = 1
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"XB" = (
/obj/structure/environmental_storytelling_holopad/core_room,
/turf/simulated/floor/bluegrid{
@@ -3259,7 +3259,7 @@
},
/area/ruin/space/telecomms/chamber)
"XJ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/ruin/space/telecomms/tele)
"XP" = (
@@ -3288,11 +3288,11 @@
icon_state = "2-4"
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"YC" = (
/obj/structure/grille,
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"YF" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/effect/abstract/bot_trap,
@@ -3316,14 +3316,14 @@
dir = 8
},
/turf/simulated/floor/plating/airless,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"YQ" = (
/obj/structure/lattice,
/obj/structure/window/reinforced{
dir = 4
},
/turf/space,
-/area/space/nearstation)
+/area/space/nearstation/no_teleport)
"YW" = (
/obj/structure/cable{
d2 = 2;
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm
index 9bf3f4e78423..b098bcc88a84 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/ussp.dmm
@@ -260,7 +260,7 @@
"aL" = (
/obj/structure/table/reinforced,
/obj/item/phone{
- desc = "An old Russian phone. The dial tone is still humming.";
+ desc = "An old Soviet phone. The dial tone is still humming.";
name = "spin-dial phone"
},
/turf/simulated/floor/plasteel{
@@ -272,7 +272,7 @@
/obj/structure/chair/comfy/red{
dir = 1
},
-/mob/living/simple_animal/hostile/russian/ranged/mosin,
+/mob/living/simple_animal/hostile/soviet/ranged/mosin,
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/derelict/bridge)
"aN" = (
@@ -317,7 +317,7 @@
/area/ruin/space/derelict/bridge)
"aS" = (
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/turf/simulated/floor/plasteel{
dir = 9;
@@ -351,11 +351,11 @@
"aX" = (
/obj/structure/closet/cabinet,
/obj/item/clothing/suit/space/syndicate/blue{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Command Suit"
},
/obj/item/clothing/head/helmet/space/syndicate/blue{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Command Helmet"
},
/turf/simulated/floor/wood,
@@ -725,7 +725,7 @@
/area/ruin/space/derelict/arrival)
"bU" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "darkred"
@@ -880,7 +880,7 @@
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/derelict/arrival)
"cp" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "darkred"
@@ -953,11 +953,11 @@
"cz" = (
/obj/structure/rack,
/obj/item/clothing/suit/space/syndicate/orange{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Security Suit"
},
/obj/item/clothing/head/helmet/space/syndicate/orange{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Security Helmet"
},
/turf/simulated/floor/plasteel{
@@ -1065,10 +1065,6 @@
/obj/structure/sign/mech,
/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
/area/ruin/space/derelict/arrival)
-"cM" = (
-/obj/structure/sign/securearea,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/arrival)
"cN" = (
/obj/machinery/door/airlock/hatch{
desc = "A sturdy armoury door. If you listen closely, you can barely make out a soviet marching tune coming from the other side of the door.";
@@ -1264,10 +1260,6 @@
icon_state = "blue"
},
/area/ruin/space/derelict/crew_quarters)
-"dl" = (
-/obj/effect/decal/cleanable/fungus,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/crew_quarters)
"dm" = (
/obj/machinery/computer/security,
/obj/effect/decal/cleanable/dirt,
@@ -1418,7 +1410,7 @@
/obj/item/pen,
/obj/structure/window/reinforced,
/obj/machinery/newscaster{
- desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Russian station.";
+ desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Union station.";
layer = 3.3;
name = "custom placement";
pixel_x = 27
@@ -1839,7 +1831,7 @@
/area/ruin/space/derelict/crew_quarters)
"eH" = (
/obj/machinery/newscaster{
- desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Russian station.";
+ desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Union station.";
layer = 3.3;
name = "custom placement";
pixel_x = 30
@@ -1849,11 +1841,6 @@
},
/turf/simulated/floor/wood,
/area/ruin/space/derelict/crew_quarters)
-"eI" = (
-/obj/structure/sign/securearea,
-/obj/effect/decal/cleanable/blood/splatter,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/arrival)
"eJ" = (
/obj/machinery/door/poddoor/impassable{
id_tag = "ruslocksec";
@@ -2282,7 +2269,7 @@
desc = "This guy seemed to have died in terrible way! Half his remains are dust.";
name = "Human remains"
},
-/mob/living/simple_animal/hostile/russian/ranged/mosin,
+/mob/living/simple_animal/hostile/soviet/ranged/mosin,
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/derelict/arrival)
"fF" = (
@@ -2393,7 +2380,7 @@
name = "suspicious button"
},
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/obj/effect/landmark/damageturf,
/turf/simulated/floor/wood,
@@ -2486,10 +2473,6 @@
icon_state = "purple"
},
/area/ruin/space/derelict/hallway/primary)
-"ge" = (
-/obj/effect/decal/cleanable/fungus,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/hallway/primary)
"gf" = (
/obj/structure/chair/wood{
dir = 4
@@ -2714,10 +2697,6 @@
/obj/item/reagent_containers/drinks/bottle/kahlua,
/turf/simulated/floor/plasteel/grimy,
/area/ruin/space/derelict/crew_quarters)
-"gJ" = (
-/obj/effect/decal/cleanable/fungus,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/arrival)
"gK" = (
/obj/structure/chair{
dir = 4
@@ -3049,7 +3028,7 @@
/area/ruin/space/derelict/hallway/primary)
"hC" = (
/obj/structure/chair/stool,
-/mob/living/simple_animal/hostile/russian,
+/mob/living/simple_animal/hostile/soviet,
/turf/simulated/floor/plasteel,
/area/ruin/space/derelict/hallway/primary)
"hD" = (
@@ -3123,7 +3102,7 @@
"hM" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/turf/simulated/floor/plasteel{
dir = 5;
@@ -3299,11 +3278,11 @@
"ik" = (
/obj/structure/rack,
/obj/item/clothing/head/helmet/space/syndicate/black/engie{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Engineering Helmet"
},
/obj/item/clothing/suit/space/syndicate/black/engie{
- desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to Space Russia!";
+ desc = "This spacesuit is emblazoned with the emblem of the USSP. Glory to the Union!";
name = "Cosmonaut Engineering Suit"
},
/turf/simulated/floor/plasteel{
@@ -3656,7 +3635,7 @@
/area/ruin/space/derelict/arrival)
"jj" = (
/obj/item/paper/djstation{
- info = "Fuck. Fuckfuckfuck. I knew this mission was a mistake, that idiot Thomas got himself killed by some angry Russian security bot in the armoury, and the Lt. ran into the annex like a moron and got himself trapped. Now I'm just sitting on my god damn hands because this shuttle won't bloody move. Stupid USSP piece of shit docking arm must be jammed and I don't have the kit to go out and fix it. Who the hell attacks a space station without EVA gear anyways? It's not like you can just bloody well waltz out into space with a hot coffee and shrug it off.";
+ info = "Fuck. Fuckfuckfuck. I knew this mission was a mistake, that idiot Thomas got himself killed by some angry commie security bot in the armoury, and the Lt. ran into the annex like a moron and got himself trapped. Now I'm just sitting on my god damn hands because this shuttle won't bloody move. Stupid USSP piece of shit docking arm must be jammed and I don't have the kit to go out and fix it. Who the hell attacks a space station without EVA gear anyways? It's not like you can just bloody well waltz out into space with a hot coffee and shrug it off.";
name = "unknown report"
},
/turf/simulated/floor/mineral/plastitanium/red,
@@ -4312,7 +4291,7 @@
icon_state = "4-8"
},
/obj/effect/decal/cleanable/dirt,
-/mob/living/simple_animal/hostile/russian,
+/mob/living/simple_animal/hostile/soviet,
/turf/simulated/floor/wood,
/area/ruin/space/derelict/crew_quarters)
"kF" = (
@@ -4650,7 +4629,7 @@
/turf/simulated/floor/plasteel,
/area/ruin/space/derelict/arrival)
"lw" = (
-/obj/structure/statue/russian_mulebot,
+/obj/structure/statue/soviet_mulebot,
/turf/simulated/floor/plasteel,
/area/ruin/space/derelict/arrival)
"lx" = (
@@ -5016,7 +4995,7 @@
"mx" = (
/obj/structure/closet/crate/can,
/obj/item/clothing/under/costume/mankini{
- desc = "No honest Russian would wear this abomination";
+ desc = "No honest comrade would wear this abomination";
name = "lucky underwear"
},
/turf/simulated/floor/plasteel{
@@ -5195,7 +5174,7 @@
/area/space/nearstation)
"mY" = (
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/turf/simulated/floor/plasteel{
icon_state = "bar"
@@ -5988,7 +5967,7 @@
desc = "An issue of The Griffon. Was Nanotrasen supplying this station at some point?"
},
/obj/machinery/newscaster{
- desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Russian station.";
+ desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Union station.";
layer = 3.3;
name = "custom placement";
pixel_x = 27
@@ -6423,7 +6402,7 @@
/area/ruin/space/derelict/arrival)
"ql" = (
/obj/machinery/economy/vending/cigarette/free{
- slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Russian cigarette!","Cigarettes! Now with 100% less capitalism.")
+ slogan_list = list("Just remember! No capitalist.","Best enjoyed with Vodka!.","Smoke!","Nine out of ten USSP scientists agree, smoking reduces stress!","There's no cigarette like a Soviet cigarette!","Cigarettes! Now with 100% less capitalism.")
},
/turf/simulated/floor/plasteel{
icon_state = "redfull"
@@ -6459,10 +6438,6 @@
/obj/effect/landmark/burnturf,
/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
/area/ruin/space/derelict/arrival)
-"qq" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
-/area/ruin/space/derelict/arrival)
"qr" = (
/obj/structure/cable{
d2 = 2;
@@ -6523,7 +6498,7 @@
},
/obj/effect/decal/cleanable/dirt,
/obj/machinery/newscaster{
- desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Russian station.";
+ desc = "A standard Nanotrasen-licensed newsfeed handler for use in commercial space stations. Strange that it's on a Union station.";
layer = 3.3;
name = "custom placement";
pixel_x = 27
@@ -6967,7 +6942,7 @@
/obj/structure/statue/diamond/captain{
anchored = 1;
desc = "A statue in honour of those who rose against the tyranny of the Trans-Solar Federation in 2443.";
- icon_state = "russian";
+ icon_state = "soviet";
layer = 4;
name = "Cygni Commemorative Statue";
pixel_y = 16
@@ -7425,7 +7400,7 @@
/area/ruin/space/derelict/solar_control)
"sv" = (
/obj/item/gps/ruin{
- gpstag = "Russian Distress Signal"
+ gpstag = "Soviet Distress Signal"
},
/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
/area/ruin/space/derelict/arrival)
@@ -7437,6 +7412,10 @@
icon_state = "red"
},
/area/ruin/space/derelict/arrival)
+"xi" = (
+/obj/effect/spawner/random/fungus/frequent,
+/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
+/area/ruin/space/derelict/arrival)
"Ci" = (
/mob/living/simple_animal/hostile/pirate/ranged,
/turf/simulated/floor/plasteel/airless{
@@ -7450,6 +7429,14 @@
},
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/derelict/crew_quarters)
+"El" = (
+/obj/structure/sign/securearea,
+/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
+/area/ruin/space/derelict/arrival)
+"Mi" = (
+/obj/effect/spawner/random/fungus/frequent,
+/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
+/area/ruin/space/derelict/crew_quarters)
"Nv" = (
/obj/effect/spawner/airlock,
/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
@@ -7482,9 +7469,13 @@
/obj/structure/chair/wood{
dir = 4
},
-/mob/living/simple_animal/hostile/russian,
+/mob/living/simple_animal/hostile/soviet,
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/derelict/crew_quarters)
+"Ye" = (
+/obj/effect/spawner/random/fungus/frequent,
+/turf/simulated/wall/indestructible/titanium/soviet/nodiagonal,
+/area/ruin/space/derelict/hallway/primary)
"Yi" = (
/obj/structure/cable{
d1 = 1;
@@ -8270,7 +8261,7 @@ ac
ac
aW
bn
-gJ
+xi
bn
bn
hI
@@ -8633,7 +8624,7 @@ aW
bn
ed
en
-eI
+El
fg
fB
fX
@@ -8909,7 +8900,7 @@ dQ
do
do
cm
-cM
+El
de
fE
fZ
@@ -9313,7 +9304,7 @@ mS
oc
oS
qg
-qq
+bn
aW
ac
ac
@@ -9452,7 +9443,7 @@ aW
bn
cm
cA
-cM
+El
cA
do
dD
@@ -9636,7 +9627,7 @@ bF
bT
co
cA
-cM
+El
dg
ds
bn
@@ -10844,7 +10835,7 @@ et
eQ
fl
fL
-ge
+Ye
eg
ac
ac
@@ -12719,7 +12710,7 @@ db
db
db
qK
-dl
+Mi
ac
ac
ac
@@ -12949,7 +12940,7 @@ ac
ac
aV
bm
-dl
+Mi
dz
dJ
db
@@ -12992,7 +12983,7 @@ pw
db
db
db
-dl
+Mi
aV
ac
ac
@@ -13355,7 +13346,7 @@ oR
db
ph
bm
-dl
+Mi
bm
aV
ac
diff --git a/_maps/map_files/RandomRuins/SpaceRuins/ussp_tele.dmm b/_maps/map_files/RandomRuins/SpaceRuins/ussp_tele.dmm
index dd40e6e0cdad..ccac33c71720 100644
--- a/_maps/map_files/RandomRuins/SpaceRuins/ussp_tele.dmm
+++ b/_maps/map_files/RandomRuins/SpaceRuins/ussp_tele.dmm
@@ -179,7 +179,7 @@
/turf/template_noop,
/area/template_noop)
"R" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating/airless,
/area/ruin/space/derelict/teleporter)
"U" = (
diff --git a/_maps/map_files/generic/Lavaland.dmm b/_maps/map_files/generic/Lavaland.dmm
index be524dc396c6..84033cd7a314 100644
--- a/_maps/map_files/generic/Lavaland.dmm
+++ b/_maps/map_files/generic/Lavaland.dmm
@@ -132,6 +132,15 @@
},
/turf/simulated/floor/mineral/plastitanium/red,
/area/shuttle/siberia)
+"ay" = (
+/obj/structure/stone_tile/block/cracked,
+/obj/structure/stone_tile/block/cracked{
+ dir = 1
+ },
+/obj/effect/mapping_helpers/no_lava,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"aD" = (
/obj/structure/chair{
dir = 8
@@ -619,6 +628,10 @@
},
/turf/simulated/floor/plating/lavaland_air,
/area/shuttle/siberia)
+"ci" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"cj" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/portable/pump,
@@ -727,11 +740,6 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"cv" = (
-/obj/structure/ore_box,
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"cw" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall,
@@ -839,7 +847,7 @@
},
/area/mine/outpost/hallway/east)
"cM" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/lavaland/surface/outdoors/outpost/catwalk)
@@ -2031,7 +2039,7 @@
/area/mine/outpost/production)
"fa" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/lavaland/surface/outdoors/outpost/catwalk)
"fb" = (
@@ -2443,10 +2451,6 @@
"fQ" = (
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/unexplored/danger)
-"fS" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors/unexplored)
"fU" = (
/obj/machinery/door/airlock/titanium{
id_tag = "s_docking_airlock";
@@ -2697,7 +2701,7 @@
icon_state = "1-2"
},
/obj/effect/spawner/random_spawners/dirt_maybe,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"gu" = (
@@ -2764,6 +2768,13 @@
},
/turf/simulated/floor/indestructible/boss,
/area/lavaland/surface/outdoors)
+"gD" = (
+/obj/structure/sign/nanotrasen{
+ pixel_y = -32
+ },
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"gE" = (
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 4
@@ -3133,6 +3144,12 @@
/obj/item/clothing/shoes/orange,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
+"ig" = (
+/obj/structure/stone_tile/slab,
+/obj/effect/mapping_helpers/no_lava,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"ih" = (
/obj/structure/cable{
d1 = 1;
@@ -3492,10 +3509,6 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"ka" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/mineral/random/volcanic,
-/area/lavaland/surface/outdoors/unexplored)
"kb" = (
/obj/machinery/atmospherics/portable/canister/oxygen,
/obj/effect/decal/cleanable/dirt,
@@ -3552,10 +3565,6 @@
/obj/structure/lattice/catwalk/mining,
/turf/simulated/floor/lava/mapping_lava,
/area/lavaland/surface/outdoors/outpost/catwalk)
-"kw" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/mineral/random/high_chance/volcanic,
-/area/lavaland/surface/outdoors)
"ky" = (
/obj/structure/stone_tile/cracked{
dir = 4
@@ -3654,11 +3663,6 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"lh" = (
-/obj/effect/mapping_helpers/no_lava,
-/obj/structure/flora/ash/rock/style_random,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"lj" = (
/obj/structure/stone_tile/block{
dir = 1
@@ -3685,20 +3689,6 @@
/obj/structure/glowshroom,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/outpost/catwalk)
-"lp" = (
-/obj/structure/stone_tile/block/cracked{
- dir = 4
- },
-/obj/structure/stone_tile/cracked{
- dir = 4
- },
-/obj/structure/stone_tile/cracked{
- dir = 8
- },
-/obj/effect/mapping_helpers/no_lava,
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"lq" = (
/obj/structure/stone_tile/block/cracked,
/obj/structure/stone_tile/block/cracked{
@@ -3839,15 +3829,6 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"md" = (
-/obj/structure/stone_tile/block/cracked,
-/obj/structure/stone_tile/block/cracked{
- dir = 1
- },
-/obj/effect/mapping_helpers/no_lava,
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"mf" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -4613,6 +4594,13 @@
icon_state = "yellowsiding"
},
/area/mine/laborcamp)
+"oI" = (
+/obj/structure/stone_tile{
+ dir = 8
+ },
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"oW" = (
/obj/machinery/door/airlock/security/glass{
name = "Labor Camp Security"
@@ -4755,6 +4743,11 @@
icon_state = "yellowsiding"
},
/area/mine/laborcamp)
+"pG" = (
+/obj/structure/ore_box,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"pH" = (
/obj/structure/stone_tile/block{
dir = 8
@@ -5059,11 +5052,6 @@
icon_state = "darkred"
},
/area/mine/laborcamp)
-"rW" = (
-/obj/structure/stone_tile/slab,
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"sg" = (
/obj/structure/stone_tile/block{
dir = 1
@@ -5614,6 +5602,11 @@
},
/turf/simulated/floor/catwalk,
/area/mine/laborcamp/security)
+"vK" = (
+/obj/effect/mapping_helpers/no_lava,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/wall/indestructible/boss,
+/area/lavaland/surface/outdoors)
"vM" = (
/obj/structure/lattice/catwalk/mining,
/obj/structure/closet/crate/internals,
@@ -5868,13 +5861,6 @@
/obj/structure/closet/crate,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"xy" = (
-/obj/structure/sign/nanotrasen{
- pixel_x = -32
- },
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"xA" = (
/obj/machinery/hologram/holopad,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
@@ -5925,6 +5911,10 @@
icon_state = "darkpurplecorners"
},
/area/mine/outpost/hallway/west)
+"xH" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/wall/boss,
+/area/lavaland/surface/outdoors)
"xJ" = (
/obj/structure/stone_tile/block{
dir = 4
@@ -5950,10 +5940,6 @@
icon_state = "yellowsiding"
},
/area/mine/laborcamp)
-"xN" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/mineral/random/volcanic,
-/area/lavaland/surface/outdoors/unexplored/danger)
"xP" = (
/obj/effect/turf_decal/stripes/line{
dir = 8
@@ -5983,7 +5969,6 @@
/area/mine/outpost/maintenance/south)
"ya" = (
/obj/effect/mapping_helpers/no_lava,
-/obj/effect/mapping_helpers/no_lava,
/turf/simulated/wall/indestructible/boss,
/area/lavaland/surface/outdoors)
"yb" = (
@@ -6080,6 +6065,7 @@
},
/area/mine/outpost/engineering)
"ys" = (
+/obj/effect/mapping_helpers/no_lava,
/turf/simulated/wall/boss,
/area/lavaland/surface/outdoors/unexplored/danger)
"yw" = (
@@ -6170,11 +6156,15 @@
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"yR" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/spawner/random_spawners/dirt_maybe,
/obj/effect/decal/cleanable/spiderling_remains,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
+"yS" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/mineral/random/volcanic,
+/area/lavaland/surface/outdoors/unexplored/danger)
"yU" = (
/obj/machinery/flasher{
id = "gulagshuttleflasher";
@@ -6391,10 +6381,6 @@
dir = 5
},
/area/mine/laborcamp)
-"Ad" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/wall/indestructible/boss,
-/area/lavaland/surface/outdoors)
"Ag" = (
/turf/simulated/floor/plasteel{
icon_state = "darkredyellowfull"
@@ -6556,6 +6542,10 @@
icon_state = "darkfull"
},
/area/mine/outpost/lockers)
+"AS" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/mineral/random/volcanic,
+/area/lavaland/surface/outdoors/unexplored)
"AW" = (
/obj/structure/stone_tile,
/obj/structure/stone_tile/block{
@@ -6564,10 +6554,6 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"AY" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/mineral/volcanic/lava_land_surface,
-/area/lavaland/surface/outdoors)
"Ba" = (
/obj/structure/cable{
d1 = 2;
@@ -6689,10 +6675,6 @@
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall,
/area/mine/outpost/hallway/east)
-"BI" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/lava/mapping_lava,
-/area/lavaland/surface/outdoors)
"BL" = (
/obj/structure/stone_tile{
dir = 8
@@ -6727,10 +6709,6 @@
/obj/structure/flora/ash/cacti,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
-"BX" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/wall/boss,
-/area/lavaland/surface/outdoors/unexplored/danger)
"BY" = (
/obj/structure/lattice/catwalk/mining,
/obj/structure/marker_beacon/dock_marker,
@@ -7005,7 +6983,7 @@
/turf/simulated/wall,
/area/mine/outpost/airlock)
"DA" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/spawner/random_spawners/dirt_maybe,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/east)
@@ -7458,6 +7436,20 @@
/obj/machinery/hologram/holopad,
/turf/simulated/floor/catwalk,
/area/mine/outpost/engineering)
+"Gq" = (
+/obj/structure/stone_tile/block/cracked{
+ dir = 4
+ },
+/obj/structure/stone_tile/cracked{
+ dir = 4
+ },
+/obj/structure/stone_tile/cracked{
+ dir = 8
+ },
+/obj/effect/mapping_helpers/no_lava,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"Gs" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/obj/structure/sign/nanotrasen,
@@ -7635,6 +7627,10 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/mine/laborcamp)
+"HB" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/lava/mapping_lava,
+/area/lavaland/surface/outdoors)
"HC" = (
/turf/simulated/floor/plasteel{
icon_state = "yellowsiding";
@@ -7722,6 +7718,10 @@
icon_state = "darkfull"
},
/area/mine/outpost/storage)
+"Is" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/mineral/volcanic/lava_land_surface,
+/area/lavaland/surface/outdoors)
"Iv" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall/r_wall,
@@ -7914,6 +7914,10 @@
icon_state = "darkfull"
},
/area/mine/outpost/storage)
+"JA" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/mineral/random/volcanic,
+/area/lavaland/surface/outdoors)
"JB" = (
/obj/structure/closet/crate/secure/loot,
/obj/effect/mapping_helpers/no_lava,
@@ -8081,11 +8085,11 @@
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
"KD" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/outpost/maintenance/south)
"KH" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"KI" = (
@@ -8200,6 +8204,10 @@
/obj/effect/mapping_helpers/airlock/access/all/security/brig,
/turf/simulated/floor/mineral/plastitanium/red,
/area/shuttle/siberia)
+"Lb" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors/unexplored)
"Lh" = (
/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
dir = 8
@@ -8232,10 +8240,6 @@
/obj/structure/railing/corner,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/outpost/catwalk)
-"Ly" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"Lz" = (
/obj/machinery/hologram/holopad,
/turf/simulated/floor/plasteel{
@@ -8515,6 +8519,11 @@
/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/lava/mapping_lava,
/area/lavaland/surface/outdoors)
+"NC" = (
+/obj/effect/mapping_helpers/no_lava,
+/obj/structure/flora/ash/rock/style_random,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"NF" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -8538,11 +8547,6 @@
icon_state = "tranquillite"
},
/area/mine/outpost/cafeteria)
-"NI" = (
-/obj/effect/mapping_helpers/no_lava,
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"NK" = (
/obj/structure/reagent_dispensers/fueltank,
/obj/effect/spawner/random_spawners/dirt_maybe,
@@ -8818,6 +8822,9 @@
icon_state = "darkfull"
},
/area/mine/outpost/lockers)
+"Pw" = (
+/turf/simulated/wall/boss,
+/area/lavaland/surface/outdoors/unexplored/danger)
"PD" = (
/obj/structure/sign/poster/official/random{
pixel_x = 32
@@ -9023,7 +9030,7 @@
},
/area/mine/outpost/hallway/east)
"QG" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/outpost/custodial)
"QO" = (
@@ -9085,10 +9092,6 @@
icon_state = "darkred"
},
/area/mine/laborcamp/security)
-"Rl" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/wall/boss,
-/area/lavaland/surface/outdoors)
"Rs" = (
/obj/structure/closet/crate/trashcart,
/obj/item/trash/liquidfood,
@@ -9106,13 +9109,6 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/outpost/catwalk)
-"Rz" = (
-/obj/structure/sign/nanotrasen{
- pixel_y = -32
- },
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"RJ" = (
/obj/structure/stone_tile/slab/burnt,
/obj/structure/stone_tile/slab,
@@ -9382,6 +9378,10 @@
/obj/effect/baseturf_helper/lava_land,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/east)
+"Ts" = (
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/mineral/random/high_chance/volcanic,
+/area/lavaland/surface/outdoors)
"Tt" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 8
@@ -9422,6 +9422,13 @@
icon_state = "darkfull"
},
/area/mine/outpost/engineering)
+"TM" = (
+/obj/structure/sign/nanotrasen{
+ pixel_x = -32
+ },
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"TN" = (
/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
dir = 8
@@ -9542,6 +9549,11 @@
},
/turf/simulated/floor/plating,
/area/mine/laborcamp)
+"UC" = (
+/obj/effect/mapping_helpers/no_lava,
+/obj/effect/mapping_helpers/no_lava,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
+/area/lavaland/surface/outdoors)
"UI" = (
/obj/structure/lattice/catwalk/mining,
/obj/structure/marker_beacon/dock_marker,
@@ -9781,13 +9793,6 @@
},
/turf/simulated/floor/plasteel,
/area/mine/laborcamp)
-"VU" = (
-/obj/structure/stone_tile{
- dir = 8
- },
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
-/area/lavaland/surface/outdoors)
"VV" = (
/obj/machinery/firealarm/directional/west,
/obj/item/kirbyplants,
@@ -9897,10 +9902,6 @@
},
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors/outpost/catwalk)
-"WH" = (
-/obj/effect/mapping_helpers/no_lava,
-/turf/simulated/mineral/random/volcanic,
-/area/lavaland/surface/outdoors)
"WJ" = (
/obj/machinery/flasher{
id = "labor";
@@ -10398,7 +10399,6 @@
"Zj" = (
/obj/structure/stone_tile/slab,
/obj/effect/mapping_helpers/no_lava,
-/obj/effect/mapping_helpers/no_lava,
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
"Zm" = (
@@ -23294,14 +23294,14 @@ ai
ai
ai
am
-WH
-Ly
-BI
-BI
-BI
-AY
-AY
-AY
+JA
+ci
+HB
+HB
+HB
+Is
+Is
+Is
AE
ec
eQ
@@ -23551,14 +23551,14 @@ am
am
am
ai
-Ly
-BI
-BI
-BI
-AY
-BI
-AY
-AY
+ci
+HB
+HB
+HB
+Is
+HB
+Is
+Is
AE
ec
AE
@@ -23808,14 +23808,14 @@ am
am
am
ai
-Ly
-BI
-Ly
-AY
-BI
-AY
-AY
-AY
+ci
+HB
+ci
+Is
+HB
+Is
+Is
+Is
AE
cx
AE
@@ -24065,13 +24065,13 @@ am
am
am
ai
-Ly
-BI
-BI
+ci
+HB
+HB
FC
-AY
-AY
-AY
+Is
+Is
+Is
JB
Qd
Bh
@@ -24322,14 +24322,14 @@ am
am
am
ai
-BI
-BI
-BI
-BI
-BI
-BI
+HB
+HB
+HB
+HB
+HB
+HB
FC
-Ly
+ci
Aw
Ej
Aw
@@ -24579,14 +24579,14 @@ am
am
am
am
-WH
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+JA
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Ej
Aw
@@ -24836,14 +24836,14 @@ am
am
am
am
-WH
-BI
-BI
-Ly
-BI
-BI
-BI
-BI
+JA
+HB
+HB
+ci
+HB
+HB
+HB
+HB
Aw
Ej
ab
@@ -25093,14 +25093,14 @@ am
am
am
am
-ka
-Ly
-BI
-BI
-Ly
+AS
+ci
+HB
+HB
+ci
FC
-BI
-BI
+HB
+HB
Aw
lB
ab
@@ -25350,14 +25350,14 @@ am
am
am
am
-ka
-ka
-BI
-BI
-AY
-AY
-lh
-BI
+AS
+AS
+HB
+HB
+Is
+Is
+NC
+HB
Aw
Ej
Aw
@@ -25607,14 +25607,14 @@ am
am
am
am
-ka
-ka
-ka
-BI
-BI
+AS
+AS
+AS
+HB
+HB
uZ
-BI
-BI
+HB
+HB
Aw
FA
Aw
@@ -25864,14 +25864,14 @@ am
am
am
am
-ka
-ka
-WH
-BI
-BI
-BI
-BI
-BI
+AS
+AS
+JA
+HB
+HB
+HB
+HB
+HB
SD
Zz
LS
@@ -26121,13 +26121,13 @@ am
am
am
am
-ka
-WH
-BI
-BI
-BI
-BI
-BI
+AS
+JA
+HB
+HB
+HB
+HB
+HB
cr
cr
bp
@@ -26378,13 +26378,13 @@ am
am
am
am
-ka
-WH
-BI
-BI
-BI
-BI
-BI
+AS
+JA
+HB
+HB
+HB
+HB
+HB
cU
dH
HT
@@ -26635,13 +26635,13 @@ am
am
am
am
-ka
-ka
-WH
-BI
-BI
-BI
-Ly
+AS
+AS
+JA
+HB
+HB
+HB
+ci
cU
jP
bE
@@ -26892,13 +26892,13 @@ am
am
am
am
-ka
-ka
-ka
-Ly
-Ly
-BI
-Rz
+AS
+AS
+AS
+ci
+ci
+HB
+gD
cr
bY
bW
@@ -27149,13 +27149,13 @@ am
am
am
am
-ka
-ka
-WH
-Ly
-BI
-BI
-AY
+AS
+AS
+JA
+ci
+HB
+HB
+Is
cU
jP
bV
@@ -27406,13 +27406,13 @@ am
am
am
am
-ka
-ka
-WH
-BI
-BI
-BI
-AY
+AS
+AS
+JA
+HB
+HB
+HB
+Is
cU
yY
bQ
@@ -27663,12 +27663,12 @@ am
am
am
am
-ka
-ka
-WH
-BI
-BI
-BI
+AS
+AS
+JA
+HB
+HB
+HB
Mv
cr
cr
@@ -27920,12 +27920,12 @@ am
am
am
am
-ka
-ka
-WH
-BI
-BI
-AY
+AS
+AS
+JA
+HB
+HB
+Is
Mv
cr
ex
@@ -28177,13 +28177,13 @@ am
am
am
am
-ka
-ka
-WH
-Ly
-AY
-AY
-AY
+AS
+AS
+JA
+ci
+Is
+Is
+Is
cr
eS
dY
@@ -28196,25 +28196,25 @@ Jk
ds
dE
kf
-AY
+Is
Yz
-Ly
-AY
-AY
-AY
+ci
+Is
+Is
+Is
KS
-AY
-AY
-Ly
+Is
+Is
+ci
pl
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -28434,13 +28434,13 @@ am
am
am
am
-ka
-WH
-Ly
-Ly
-AY
-AY
-AY
+AS
+JA
+ci
+ci
+Is
+Is
+Is
cr
ss
dY
@@ -28453,25 +28453,25 @@ cD
fG
vT
kf
-Ly
-Ly
-Ly
-Ly
-AY
-AY
-AY
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+ci
+ci
+ci
+ci
+Is
+Is
+Is
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -28691,13 +28691,13 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-AY
-AY
-AY
+JA
+ci
+ci
+ci
+Is
+Is
+Is
cr
cU
cU
@@ -28710,25 +28710,25 @@ Dz
Yv
iN
Dz
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-Ly
-BI
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+ci
+HB
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -28947,45 +28947,45 @@ ai
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-AY
-AY
-xy
-Ly
-Ly
-AY
-AY
+JA
+ci
+ci
+ci
+ci
+ci
+Is
+Is
+TM
+ci
+ci
+Is
+Is
KS
-AY
-AY
-AY
-Ly
-Ly
+Is
+Is
+Is
+ci
+ci
AD
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -29204,45 +29204,45 @@ ab
ai
ai
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-AY
-AY
-Ly
-Ly
-Ly
-AY
-AY
-AY
-AY
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+Is
+Is
+ci
+ci
+ci
+Is
+Is
+Is
+Is
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -29461,45 +29461,45 @@ ab
ai
ab
ai
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -29718,45 +29718,45 @@ ab
ab
ab
ab
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-Ly
-BI
-BI
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+ci
+HB
+HB
+HB
Aw
Aw
Aw
@@ -29975,45 +29975,45 @@ ab
ab
ab
ab
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-Ly
-BI
-BI
-BI
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+ci
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -30232,45 +30232,45 @@ ab
ab
ab
ab
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-WH
-WH
-WH
-WH
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-BI
-BI
-BI
-BI
+JA
+JA
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+JA
+JA
+JA
+JA
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -30489,45 +30489,45 @@ ab
ab
ab
ab
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-WH
-BI
-BI
-BI
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-WH
-BI
-BI
-BI
-BI
+ci
+JA
+JA
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+JA
+HB
+HB
+HB
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+JA
+HB
+HB
+HB
+HB
Aw
Aw
Aw
@@ -30746,45 +30746,45 @@ ab
ab
ab
ab
-Ly
-Ly
-Ly
-NI
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-ka
-BI
-Ly
-Ly
-BI
+ci
+ci
+ci
+UC
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+AS
+HB
+ci
+ci
+HB
Aw
Aw
Aw
@@ -31003,45 +31003,45 @@ ab
ab
ab
ab
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-Ly
-BI
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+ci
+HB
+HB
Aw
Aw
Aw
@@ -31260,45 +31260,45 @@ ab
ab
ab
ab
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-BI
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+HB
+HB
Aw
Aw
Aw
@@ -31517,45 +31517,45 @@ ai
ai
ab
ab
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-Ly
-WH
-WH
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+ci
+JA
+JA
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+ci
+ci
Aw
Aw
Aw
@@ -31774,45 +31774,45 @@ am
am
ai
ab
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-WH
-Ly
-BI
-BI
-BI
-BI
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-BI
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+JA
+ci
+HB
+HB
+HB
+HB
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -32031,45 +32031,45 @@ am
am
ai
ab
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-BI
-BI
-BI
-Ly
-WH
-WH
-WH
-WH
-Ly
-Ly
-Ly
-WH
-ka
-ka
-WH
-BI
-BI
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+HB
+HB
+HB
+ci
+JA
+JA
+JA
+JA
+ci
+ci
+ci
+JA
+AS
+AS
+JA
+HB
+HB
Aw
Aw
Aw
@@ -32288,45 +32288,45 @@ am
ai
ab
ab
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-WH
-BI
-BI
-Ly
-WH
-ka
-ka
-WH
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+JA
+HB
+HB
+ci
+JA
+AS
+AS
+JA
cu
-Ly
-Ly
-Ly
-WH
-ka
-ka
-WH
-BI
-BI
+ci
+ci
+ci
+JA
+AS
+AS
+JA
+HB
+HB
Aw
Aw
Aw
@@ -32545,45 +32545,45 @@ am
ai
ab
ab
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-WH
-BI
-WH
-WH
-ka
-ka
-ka
-WH
-cv
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-WH
-BI
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+JA
+HB
+JA
+JA
+AS
+AS
+AS
+JA
+pG
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -32802,45 +32802,45 @@ am
am
ai
ab
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-WH
-ka
-WH
-WH
-WH
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-kw
-ka
-ka
-ka
-ka
-WH
-BI
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+JA
+AS
+JA
+JA
+JA
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+Ts
+AS
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -33059,45 +33059,45 @@ am
am
am
ai
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-ka
-WH
-WH
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
-ka
-ka
-ka
-ka
-WH
-Ly
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+AS
+JA
+JA
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
+AS
+AS
+AS
+AS
+JA
+ci
+HB
ab
Aw
Aw
@@ -33316,45 +33316,45 @@ am
am
am
am
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
Aw
Aw
Aw
@@ -33573,45 +33573,45 @@ am
am
am
ai
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-BI
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+HB
Aw
Aw
Aw
@@ -33830,45 +33830,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -34087,45 +34087,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -34344,45 +34344,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-BI
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+HB
Aw
Aw
Aw
@@ -34601,45 +34601,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
Aw
Aw
Aw
@@ -34858,45 +34858,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
ab
Aw
Aw
@@ -35115,45 +35115,45 @@ am
am
am
am
-WH
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
+JA
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
Aw
ab
Aw
@@ -35372,45 +35372,45 @@ am
am
am
ai
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
Aw
Aw
Aw
@@ -35629,45 +35629,45 @@ am
am
am
ai
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
ab
Aw
Aw
@@ -35886,45 +35886,45 @@ am
am
am
ai
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-WH
-WH
-WH
-WH
-Ly
-Ly
-WH
-WH
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+JA
+JA
+JA
+JA
+ci
+ci
+JA
+JA
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
Aw
Aw
Aw
@@ -36143,45 +36143,45 @@ am
am
am
ai
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-WH
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+JA
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+JA
Aw
Aw
Aw
@@ -36249,17 +36249,17 @@ ak
ZY
ZY
ZY
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
ZY
ZY
ZY
@@ -36400,45 +36400,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-WH
-ka
-ka
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-ka
-ka
-WH
-ka
-ka
-ka
-WH
-Ly
-WH
-WH
-ka
-ka
-ka
-ka
-WH
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+JA
+AS
+AS
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+AS
+AS
+JA
+AS
+AS
+AS
+JA
+ci
+JA
+JA
+AS
+AS
+AS
+AS
+JA
Aw
Aw
Aw
@@ -36504,21 +36504,21 @@ ZY
ZY
ZY
ZY
-BX
-BX
-BX
-BI
-BX
-BX
-BI
-BI
-BI
-BX
-BX
-BI
-BX
-BX
-BX
+ys
+ys
+ys
+HB
+ys
+ys
+HB
+HB
+HB
+ys
+ys
+HB
+ys
+ys
+ys
ZY
ZY
ZY
@@ -36657,45 +36657,45 @@ am
am
am
am
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-WH
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-WH
-WH
-Ly
-WH
-ka
-WH
-Ly
-Ly
-Ly
-WH
-Ly
-WH
-WH
-WH
-WH
+AS
+JA
+ci
+ci
+ci
+ci
+JA
+AS
+JA
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+JA
+JA
+ci
+JA
+AS
+JA
+ci
+ci
+ci
+JA
+ci
+JA
+JA
+JA
+JA
Aw
Aw
Aw
@@ -36759,25 +36759,25 @@ ak
ak
ak
ZY
-BX
-BX
-BX
-BI
-BX
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BX
-BI
-BX
-BX
-BX
+ys
+ys
+ys
+HB
+ys
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+ys
+HB
+ys
+ys
+ys
ZY
ak
ak
@@ -36914,45 +36914,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-WH
-Ly
-WH
-Ly
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+JA
+ci
+JA
+ci
+JA
+ci
Aw
Aw
Aw
@@ -37016,25 +37016,25 @@ ak
ZY
ZY
ZY
-BX
-BX
-BI
+ys
+ys
+HB
pT
Ur
-BX
-BX
-BI
-BI
-BI
-BI
-BI
-BX
-BX
+ys
+ys
+HB
+HB
+HB
+HB
+HB
+ys
+ys
qo
il
-BI
-BX
-BX
+HB
+ys
+ys
ZY
ZY
ZY
@@ -37171,45 +37171,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
+ci
Aw
Aw
Aw
@@ -37272,27 +37272,27 @@ ak
ak
ak
ZY
-BX
-BX
-BI
+ys
+ys
+HB
NA
-BI
+HB
pP
-BI
-Ly
+HB
+ci
qk
-Ly
-Ly
-Ly
-rW
-Ly
-BI
+ci
+ci
+ci
+Zj
+ci
+HB
RK
-BI
+HB
pn
-BI
-BX
-BX
+HB
+ys
+ys
ZY
ak
ak
@@ -37428,45 +37428,45 @@ am
am
am
am
-ka
-WH
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-ka
-WH
-WH
-WH
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-Ly
-Ly
+AS
+JA
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+AS
+JA
+JA
+JA
+ci
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+ci
+ci
Aw
Aw
Aw
@@ -37529,27 +37529,27 @@ ak
ZY
ZY
ZY
-BX
-BI
+ys
+HB
il
-BI
+HB
NA
rP
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
-Ly
+ci
+ci
+ci
IZ
-Ly
-Ly
+ci
+ci
Vq
pn
-BI
+HB
pT
-BI
-BX
+HB
+ys
ZY
ZY
ZY
@@ -37685,45 +37685,45 @@ am
am
am
am
-WH
-Ly
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
-Ly
-Ly
-WH
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+JA
+ci
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
+ci
+ci
+JA
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -37785,29 +37785,29 @@ ak
ak
ak
ZY
-BX
-BX
-BX
+ys
+ys
+ys
xJ
Pl
-VU
+oI
nr
-Ly
-Ly
+ci
+ci
Vq
-Ly
-Ly
-Ly
+ci
+ci
+ci
rP
-Ly
-Ly
+ci
+ci
nB
sW
Pl
dr
-BX
-BX
-BX
+ys
+ys
+ys
ZY
ak
ak
@@ -37942,45 +37942,45 @@ am
am
am
am
-ka
-WH
-Ly
-WH
-fS
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+JA
+ci
+JA
+Lb
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -38042,29 +38042,29 @@ ak
ak
ak
ZY
-BX
-BI
-BI
-BX
-BI
-Ly
-Ly
+ys
+HB
+HB
+ys
+HB
+ci
+ci
nr
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+ci
+ci
nB
-Ly
-Ly
-BI
-BX
-BI
-BI
-BX
+ci
+ci
+HB
+ys
+HB
+HB
+ys
ZY
ak
ak
@@ -38199,45 +38199,45 @@ am
am
am
am
-ka
-ka
-WH
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+JA
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
ab
Aw
@@ -38299,29 +38299,29 @@ ak
ak
ak
ZY
-BX
-Rl
-BI
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
-BI
-BX
-BX
+ys
+xH
+HB
+ys
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
+HB
+ys
+ys
ZY
ak
ak
@@ -38456,45 +38456,45 @@ am
am
am
am
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -38556,29 +38556,29 @@ ak
ak
ak
ZY
-BX
-Rl
-Ly
-Ly
-rW
+ys
+xH
+ci
+ci
+Zj
GC
Vq
-Ly
-Ly
+ci
+ci
Xc
-Ly
-Ly
-Ly
+ci
+ci
+ci
hF
-Ly
-Ly
+ci
+ci
rP
GC
PF
-Ly
-Ly
-BX
-BX
+ci
+ci
+ys
+ys
ZY
ak
ak
@@ -38733,25 +38733,25 @@ am
am
am
am
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
ab
@@ -38813,29 +38813,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-VU
+ys
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+oI
IZ
-Ly
+ci
ft
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -38990,25 +38990,25 @@ am
am
am
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -39070,13 +39070,13 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+ci
+ci
+ci
Zs
GC
GC
@@ -39086,13 +39086,13 @@ GC
GC
GC
rb
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -39247,25 +39247,25 @@ am
am
am
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -39327,29 +39327,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
GC
GC
zZ
jC
jC
jC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
jC
jC
jC
zZ
GC
GC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ak
ak
@@ -39504,25 +39504,25 @@ am
am
am
am
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -39584,29 +39584,29 @@ ak
ak
ak
ZY
-BX
+ys
GO
jC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
GC
Vq
-Ly
+ci
Vq
-Ly
+ci
rP
GC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
jC
KB
-BX
+ys
ZY
ak
ak
@@ -39761,25 +39761,25 @@ am
am
am
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -39841,29 +39841,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-rW
-Ly
+ys
+ci
+ci
+Zj
+ci
sW
-Ly
-Ly
+ci
+ci
IZ
-Ly
+ci
ft
sW
IZ
-Ly
+ci
ft
-Ly
-Ly
-VU
-Ly
-rW
-Ly
-Ly
-BX
+ci
+ci
+oI
+ci
+Zj
+ci
+ci
+ys
ZY
ak
ak
@@ -40018,25 +40018,25 @@ am
am
am
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -40098,29 +40098,29 @@ ak
ak
ak
ZY
-BX
-Ly
+ys
+ci
rP
-Ly
-Ly
-Ly
+ci
+ci
+ci
FL
GC
Ti
-Ly
+ci
ft
-VU
+oI
IZ
-Ly
+ci
or
GC
Ci
-Ly
-Ly
-Ly
+ci
+ci
+ci
Vq
-Ly
-BX
+ci
+ys
ZY
ak
ak
@@ -40275,25 +40275,25 @@ am
am
am
am
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -40355,29 +40355,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
-VU
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+oI
+ci
+ci
+ci
+ci
+ci
ft
sW
IZ
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
sW
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -40532,25 +40532,25 @@ am
am
am
am
-ka
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -40612,29 +40612,29 @@ ak
ak
ak
ZY
-BX
+ys
sW
GC
-Ly
+ci
ft
-Ly
+ci
SS
ft
sW
-Ly
+ci
ft
-VU
+oI
IZ
-Ly
-VU
+ci
+oI
IZ
SS
-Ly
+ci
IZ
-Ly
+ci
GC
-VU
-BX
+oI
+ys
ZY
ak
ak
@@ -40789,25 +40789,25 @@ ak
am
am
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -40869,29 +40869,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
jC
Vq
FL
-Ly
-Ly
+ci
+ci
IZ
-Ly
-Ly
+ci
+ci
sW
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
+ci
+ci
Ci
rP
jC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ak
ak
@@ -41046,25 +41046,25 @@ ak
ak
am
am
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
ab
Aw
Aw
@@ -41126,29 +41126,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
MS
-Ly
+ci
jC
GC
Vq
-Ly
-VU
-Ly
+ci
+oI
+ci
sW
-Ly
+ci
rP
GC
jC
-Ly
+ci
AW
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -41303,25 +41303,25 @@ ak
ak
ak
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
ab
@@ -41383,29 +41383,29 @@ ak
ak
ZY
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
jC
-Ly
-Ly
-Ly
+ci
+ci
+ci
ft
-Ly
+ci
IQ
-Ly
+ci
SS
-Ly
+ci
td
-Ly
+ci
IZ
-Ly
-Ly
-Ly
+ci
+ci
+ci
jC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ZY
ZY
@@ -41560,25 +41560,25 @@ ak
ak
ak
am
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -41640,29 +41640,29 @@ ak
ak
ZY
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+ci
+ci
+ci
IZ
-Ly
-Ly
+ci
+ci
IZ
-Ly
+ci
ft
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -41817,25 +41817,25 @@ ak
ak
ak
am
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -41897,29 +41897,29 @@ ak
ZY
ZY
ZY
-BX
-Ly
+ys
+ci
sW
-Ly
+ci
GC
GC
-Ly
+ci
Ci
-VU
+oI
rP
-Ly
-Ly
-Ly
+ci
+ci
+ci
Vq
sW
hF
-Ly
+ci
GC
GC
-Ly
-VU
-Ly
-BX
+ci
+oI
+ci
+ys
ZY
ZY
ak
@@ -42074,25 +42074,25 @@ ak
ak
ak
am
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -42115,15 +42115,15 @@ aa
aa
aa
aa
-Ad
+ya
gG
pP
kg
RK
gr
hH
-Ly
-Ly
+ci
+ci
Aw
ly
Aw
@@ -42139,44 +42139,44 @@ sW
wr
xE
Gb
-xN
+yS
Gb
Vq
-Ly
+ci
XE
-Ly
-Ly
+ci
+ci
sW
-Ly
-Ly
+ci
+ci
mN
Gb
QO
+Pw
+Pw
ys
-ys
-BX
GC
GC
jC
-Ly
+ci
nB
Vq
rP
-Ly
-VU
-Ly
+ci
+oI
+ci
SS
-Ly
+ci
sW
-Ly
+ci
Vq
rP
nr
-Ly
+ci
jC
GC
GC
-BX
+ys
ZY
ZY
ak
@@ -42331,25 +42331,25 @@ ak
ak
ak
am
-ka
-ka
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -42379,8 +42379,8 @@ pH
Ol
ag
le
-Ad
-Ad
+ya
+ya
ls
Aw
Aw
@@ -42392,48 +42392,48 @@ Aw
Aw
Aw
lI
-Ad
-Ad
+ya
+ya
wr
-Ly
-Ly
-VU
-Ly
+ci
+ci
+oI
+ci
sW
-Ly
+ci
Vq
-Ly
+ci
XE
-Ly
-Ly
-Ly
+ci
+ci
+ci
mO
-Ly
+ci
rP
-rW
+Zj
FF
FF
FF
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+ci
Fv
Zs
GC
rb
vo
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -42588,25 +42588,25 @@ ak
ak
ak
am
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -42636,8 +42636,8 @@ gr
gr
gr
gs
-ya
-lp
+vK
+Gq
Eq
Pa
Eq
@@ -42650,24 +42650,24 @@ XU
KO
KO
Eq
-Ad
+ya
hF
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
XE
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
wr
-Ly
-Ly
-Ly
-Ly
-rW
+ci
+ci
+ci
+ci
+Zj
FF
FF
FF
@@ -42676,21 +42676,21 @@ Fv
Zs
vo
rP
-Ly
+ci
Zs
Ti
-Ly
+ci
or
rb
-Ly
+ci
Vq
Xl
rb
vo
rP
-Ly
+ci
sW
-BX
+ys
ZY
ZY
ZY
@@ -42845,25 +42845,25 @@ ak
ak
ak
am
-ka
-WH
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+JA
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -42893,8 +42893,8 @@ kj
HE
HE
lg
-Zj
-md
+ig
+ay
lu
lq
Yo
@@ -42909,45 +42909,45 @@ mk
mn
PF
mF
-Ly
+ci
mG
-Ly
-VU
-Ly
+ci
+oI
+ci
sW
-Ly
-Ly
+ci
+ci
XE
-Ly
-Ly
+ci
+ci
Vq
wd
rP
-Ly
-rW
+ci
+Zj
FF
FF
FF
-Ly
+ci
Zs
PF
Ti
-Ly
+ci
SS
ft
-Ly
+ci
hB
-Ly
+ci
IZ
SS
-Ly
+ci
or
PF
rb
-Ly
-Ly
-rW
-BX
+ci
+ci
+Zj
+ys
ZY
ZY
ZY
@@ -43102,25 +43102,25 @@ ak
ak
ak
am
-ka
-ka
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+AS
+AS
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
Aw
Aw
Aw
@@ -43150,7 +43150,7 @@ ah
gG
gs
gy
-ya
+vK
lr
hx
hx
@@ -43164,47 +43164,47 @@ pS
bc
Qr
bc
-Ad
+ya
IZ
-Ly
-Ly
+ci
+ci
sW
wd
-Ly
-Ly
-Ly
+ci
+ci
+ci
mL
Gb
Gu
-Ly
-Ly
+ci
+ci
rP
-Ly
-Ly
-rW
+ci
+ci
+Zj
FF
FF
FF
-VU
+oI
Xc
Ti
hF
sW
-Ly
+ci
or
rb
-Ly
+ci
Zs
Ti
-Ly
-VU
+ci
+oI
Ci
or
hF
sW
-Ly
+ci
rP
-BX
+ys
ZY
ZY
ZY
@@ -43359,25 +43359,25 @@ ak
ak
ak
ak
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
ab
ab
Aw
@@ -43407,8 +43407,8 @@ Pl
hk
gr
hH
-Ad
-Ad
+ya
+ya
lw
Aw
Aw
@@ -43420,48 +43420,48 @@ Aw
Aw
lw
Aw
-Ad
-Ad
+ya
+ya
Vq
-Ly
-Ly
-Ly
+ci
+ci
+ci
rP
-Ly
+ci
mI
-Ly
-Ly
+ci
+ci
Gb
Gb
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
rP
-rW
+Zj
FF
FF
FF
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+ci
Xc
or
jC
Ti
hF
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -43616,25 +43616,25 @@ ak
ak
ak
ak
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -43657,15 +43657,15 @@ aa
aa
aa
aa
-Ad
+ya
gr
pP
kl
RK
gG
lj
-Ly
-Ly
+ci
+ci
Aw
Aw
mv
@@ -43682,43 +43682,43 @@ Vq
wr
sW
wr
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+ci
wd
-xN
+yS
wr
XE
-Ly
-Ly
+ci
+ci
+Pw
+Pw
ys
-ys
-BX
jC
jC
GC
-Ly
+ci
EQ
-VU
+oI
sW
-Ly
+ci
Vq
-Ly
+ci
SS
-Ly
+ci
rP
-Ly
-VU
+ci
+oI
sW
kT
-Ly
+ci
GC
jC
jC
-BX
+ys
ZY
ZY
ak
@@ -43873,25 +43873,25 @@ ak
ak
ak
ak
-ka
-ka
-ka
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+AS
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -43953,29 +43953,29 @@ ab
mP
ZY
ZY
-BX
-Ly
+ys
+ci
rP
-Ly
+ci
jC
jC
-Ly
+ci
Fv
Vq
sW
-Ly
-Ly
-Ly
-VU
+ci
+ci
+ci
+oI
rP
vo
-Ly
+ci
jC
jC
-Ly
+ci
Vq
-Ly
-BX
+ci
+ys
ZY
ZY
ak
@@ -44130,25 +44130,25 @@ ak
ak
ak
ak
-xN
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+yS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -44176,7 +44176,7 @@ gr
gr
gr
jm
-rW
+Zj
ab
ab
ab
@@ -44210,29 +44210,29 @@ al
ZY
ZY
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+ci
+ci
+ci
IZ
-Ly
-Ly
+ci
+ci
IZ
-Ly
+ci
ft
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -44387,25 +44387,25 @@ ak
ak
ak
ak
-xN
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+yS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -44467,29 +44467,29 @@ ak
ak
ZY
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
GC
-Ly
-Ly
-Ly
+ci
+ci
+ci
ft
-Ly
+ci
MS
-Ly
+ci
SS
-Ly
+ci
AW
-Ly
+ci
IZ
-Ly
-Ly
-Ly
+ci
+ci
+ci
GC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ZY
ZY
@@ -44644,25 +44644,25 @@ ak
ak
ak
ak
-xN
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+yS
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
Aw
Aw
Aw
@@ -44724,29 +44724,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
IQ
-Ly
+ci
GC
jC
-VU
-Ly
+oI
+ci
Vq
-Ly
+ci
rP
-Ly
+ci
sW
jC
GC
-Ly
+ci
td
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ys
ZY
ZY
ak
@@ -44901,25 +44901,25 @@ ak
ak
ak
ak
-ka
-ka
-ka
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
+AS
+AS
+AS
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
ab
Aw
Aw
@@ -44981,29 +44981,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
GC
-VU
+oI
yW
-Ly
-Ly
+ci
+ci
IZ
-Ly
-Ly
+ci
+ci
rP
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
+ci
+ci
Xl
sW
GC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ak
ak
@@ -45158,25 +45158,25 @@ ak
ak
ak
ak
-ka
-ka
-WH
-Ly
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+JA
+ci
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -45238,29 +45238,29 @@ ak
ak
ak
ZY
-BX
+ys
rP
jC
-Ly
+ci
ft
-Ly
+ci
SS
ft
rP
-Ly
+ci
ft
-VU
+oI
IZ
-Ly
+ci
Vq
IZ
SS
-Ly
+ci
IZ
-Ly
+ci
jC
Vq
-BX
+ys
ZY
ak
ak
@@ -45415,25 +45415,25 @@ ak
ak
ak
ak
-ka
-ka
-WH
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+JA
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -45495,29 +45495,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
Vq
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
ft
sW
IZ
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
rP
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -45672,25 +45672,25 @@ ak
ak
ak
ak
-ka
-ka
-ka
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BI
-BI
+AS
+AS
+AS
+JA
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -45752,29 +45752,29 @@ ak
ak
ak
ZY
-BX
-Ly
+ys
+ci
sW
-Ly
-Ly
-Ly
+ci
+ci
+ci
vo
jC
rb
-Ly
+ci
ft
-VU
+oI
IZ
-Ly
+ci
Zs
jC
Xl
-Ly
-Ly
-Ly
-VU
-Ly
-BX
+ci
+ci
+ci
+oI
+ci
+ys
ZY
ak
ak
@@ -45929,25 +45929,25 @@ ak
ak
ak
ak
-xN
-ka
-ka
-ka
-ka
-WH
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-BI
-BI
+yS
+AS
+AS
+AS
+AS
+JA
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+JA
+HB
+HB
Aw
Aw
Aw
@@ -46009,29 +46009,29 @@ ak
ak
ak
ZY
-BX
+ys
rb
-Ly
-rW
-Ly
+ci
+Zj
+ci
rP
-Ly
-Ly
+ci
+ci
IZ
-Ly
+ci
ft
sW
IZ
-Ly
+ci
ft
-Ly
-Ly
+ci
+ci
Vq
-Ly
-rW
-Ly
-Ly
-BX
+ci
+Zj
+ci
+ci
+ys
ZY
ak
ak
@@ -46186,25 +46186,25 @@ ak
ak
ak
ak
-xN
-xN
-ka
-ka
-ka
-WH
-Ly
-WH
-Ly
-WH
-Ly
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-BI
-BI
+yS
+yS
+AS
+AS
+AS
+JA
+ci
+JA
+ci
+JA
+ci
+ci
+ci
+ci
+ci
+JA
+JA
+HB
+HB
Aw
Aw
Aw
@@ -46266,29 +46266,29 @@ ak
ak
ak
ZY
-BX
+ys
uR
GC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
jC
-VU
-Ly
-VU
-Ly
+oI
+ci
+oI
+ci
sW
jC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
GC
Vm
-BX
+ys
ZY
ak
ak
@@ -46443,25 +46443,25 @@ ak
ak
ak
ak
-xN
-xN
-ka
-ka
-ka
-ka
-WH
-WH
-Ly
-WH
-WH
-Ly
-Ly
-Ly
-Ly
-WH
-WH
-BI
-BI
+yS
+yS
+AS
+AS
+AS
+AS
+JA
+JA
+ci
+JA
+JA
+ci
+ci
+ci
+ci
+JA
+JA
+HB
+HB
Aw
Aw
Aw
@@ -46523,29 +46523,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
+ys
+ci
+ci
jC
jC
HE
GC
GC
GC
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
GC
GC
GC
HE
jC
jC
-Ly
-Ly
-BX
+ci
+ci
+ys
ZY
ak
ak
@@ -46700,25 +46700,25 @@ ak
ak
ak
ak
-xN
-xN
-xN
-xN
-ka
-ka
-ka
-ka
-WH
-ka
-WH
-Ly
-WH
-Ly
-Ly
-Ly
-WH
-BI
-BI
+yS
+yS
+yS
+yS
+AS
+AS
+AS
+AS
+JA
+AS
+JA
+ci
+JA
+ci
+ci
+ci
+JA
+HB
+HB
Aw
Aw
Aw
@@ -46780,13 +46780,13 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+ci
+ci
+ci
or
jC
jC
@@ -46796,13 +46796,13 @@ jC
jC
jC
Ti
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -46957,25 +46957,25 @@ ak
ak
ak
ak
-xN
-xN
-xN
-xN
-xN
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-ka
-WH
-WH
-Ly
-Ly
-BI
-BI
+yS
+yS
+yS
+yS
+yS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+AS
+JA
+JA
+ci
+ci
+HB
+HB
Aw
Aw
Aw
@@ -47037,29 +47037,29 @@ ak
ak
ak
ZY
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ys
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
IZ
-Ly
+ci
ft
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
ZY
ak
ak
@@ -47214,25 +47214,25 @@ ak
ak
ak
ak
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-WH
-WH
-BI
-BI
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+JA
+JA
+HB
+HB
Aw
Aw
Aw
@@ -47294,29 +47294,29 @@ ak
ak
ak
ZY
-BX
-BX
-Ly
-Ly
+ys
+ys
+ci
+ci
qk
jC
-VU
-Ly
-Ly
+oI
+ci
+ci
Fv
-Ly
-Ly
-Ly
+ci
+ci
+ci
vo
-Ly
-Ly
+ci
+ci
sW
jC
wA
-Ly
-Ly
-BX
-BX
+ci
+ci
+ys
+ys
ZY
ak
ak
@@ -47471,25 +47471,25 @@ ak
ak
ak
ak
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-ka
-ka
-ka
-ka
-ka
-ka
-ka
-BI
-BI
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+AS
+AS
+AS
+AS
+AS
+AS
+AS
+HB
+HB
Aw
Aw
Aw
@@ -47551,29 +47551,29 @@ ak
ak
ak
ZY
-BX
-BX
-BI
-BX
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-BX
-BI
-BX
-BX
+ys
+ys
+HB
+ys
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ci
+ys
+HB
+ys
+ys
ZY
ak
ak
@@ -47728,25 +47728,25 @@ ak
ak
ak
ak
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-xN
-ka
-ka
-ka
-BI
-BI
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+yS
+AS
+AS
+AS
+HB
+HB
Aw
Aw
Aw
@@ -47808,29 +47808,29 @@ ak
ak
ak
ZY
-BX
-BI
-BI
-BX
-BI
-Ly
-Ly
+ys
+HB
+HB
+ys
+HB
+ci
+ci
kT
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
-Ly
+ci
+ci
+ci
+ci
+ci
+ci
+ci
nr
-Ly
-Ly
-BI
-BX
-BI
-BI
-BX
+ci
+ci
+HB
+ys
+HB
+HB
+ys
ZY
ak
ak
@@ -48065,29 +48065,29 @@ ak
ak
ak
ZY
-BX
-BX
-BX
+ys
+ys
+ys
ta
pH
Vq
kT
-Ly
-Ly
-VU
-Ly
-Ly
-Ly
+ci
+ci
+oI
+ci
+ci
+ci
sW
-Ly
-Ly
+ci
+ci
nr
rP
pH
Sd
-BX
-BX
-BX
+ys
+ys
+ys
ZY
ak
ak
@@ -48323,27 +48323,27 @@ ak
ZY
ZY
ZY
-BX
-BI
+ys
+HB
il
-BI
+HB
BL
sW
-Ly
-Ly
+ci
+ci
ft
-Ly
-Ly
-Ly
+ci
+ci
+ci
IZ
-Ly
-Ly
-VU
+ci
+ci
+oI
NA
-BI
+HB
zW
-BI
-BX
+HB
+ys
ZY
ZY
ZY
@@ -48580,27 +48580,27 @@ ak
ak
ak
ZY
-BX
-BX
-BI
+ys
+ys
+HB
BL
-BI
+HB
pP
-BI
-Ly
+HB
+ci
PF
-Ly
-Ly
-Ly
+ci
+ci
+ci
qk
-Ly
-BI
+ci
+HB
RK
-BI
+HB
UU
-BI
-BX
-BX
+HB
+ys
+ys
ZY
ak
ak
@@ -48838,25 +48838,25 @@ ak
ZY
ZY
ZY
-BX
-BX
-BI
+ys
+ys
+HB
RJ
jD
-BX
-BX
-BI
-BI
-BI
-BI
-BI
-BX
-BX
+ys
+ys
+HB
+HB
+HB
+HB
+HB
+ys
+ys
sg
hm
-BI
-BX
-BX
+HB
+ys
+ys
ZY
ZY
ZY
@@ -49095,25 +49095,25 @@ ak
ak
ak
ZY
-BX
-BX
-BX
-BI
-BX
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BI
-BX
-BI
-BX
-BX
-BX
+ys
+ys
+ys
+HB
+ys
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+HB
+ys
+HB
+ys
+ys
+ys
ZY
ak
ak
@@ -49354,21 +49354,21 @@ ak
ZY
ZY
ZY
-BX
-BX
-BX
-BI
-BX
-BX
-BI
-BI
-BI
-BX
-BX
-BI
-BX
-BX
-BX
+ys
+ys
+ys
+HB
+ys
+ys
+HB
+HB
+HB
+ys
+ys
+HB
+ys
+ys
+ys
ZY
ZY
ZY
@@ -49613,17 +49613,17 @@ ak
ZY
ZY
ZY
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
-BX
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
+ys
ZY
ZY
ZY
diff --git a/_maps/map_files/generic/centcomm.dmm b/_maps/map_files/generic/centcomm.dmm
index 724323e057ef..e463797b0a34 100644
--- a/_maps/map_files/generic/centcomm.dmm
+++ b/_maps/map_files/generic/centcomm.dmm
@@ -8001,7 +8001,7 @@
/turf/simulated/floor/plasteel/dark,
/area/admin)
"Cu" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/indestructible/syndicate,
/area/admin)
"Cv" = (
diff --git a/_maps/map_files/stations/boxstation.dmm b/_maps/map_files/stations/boxstation.dmm
index 942ebda57b2a..efc65bc62cd3 100644
--- a/_maps/map_files/stations/boxstation.dmm
+++ b/_maps/map_files/stations/boxstation.dmm
@@ -1537,7 +1537,6 @@
/turf/space,
/area/shuttle/gamma/station)
"ahG" = (
-/obj/structure/rack,
/obj/item/gun/projectile/shotgun/riot{
pixel_x = -3;
pixel_y = -3
@@ -1547,13 +1546,7 @@
pixel_y = 3
},
/obj/item/gun/projectile/shotgun/riot,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 1;
- layer = 2.9
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1676,7 +1669,6 @@
},
/area/station/security/brig)
"aif" = (
-/obj/structure/rack,
/obj/item/storage/box/teargas{
pixel_x = -3;
pixel_y = -3
@@ -1696,6 +1688,7 @@
/obj/structure/window/reinforced{
dir = 4
},
+/obj/structure/shelf/security,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -1768,7 +1761,6 @@
},
/area/station/security/armory/secure)
"aiq" = (
-/obj/structure/rack,
/obj/structure/window/reinforced{
dir = 1
},
@@ -1781,9 +1773,7 @@
pixel_x = -3;
pixel_y = -3
},
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1928,7 +1918,6 @@
},
/area/station/security/brig)
"aiN" = (
-/obj/structure/rack,
/obj/item/gun/energy/gun{
pixel_x = 3;
pixel_y = 3
@@ -1938,9 +1927,7 @@
pixel_x = -3;
pixel_y = -3
},
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -2234,7 +2221,6 @@
},
/area/station/security/armory/secure)
"ajr" = (
-/obj/structure/rack,
/obj/structure/window/reinforced,
/obj/item/gun/energy/disabler{
pixel_x = 3;
@@ -2245,9 +2231,7 @@
pixel_x = -3;
pixel_y = -3
},
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -2912,7 +2896,7 @@
},
/area/station/security/main)
"als" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"alt" = (
@@ -4983,10 +4967,6 @@
icon_state = "dark"
},
/area/station/security/evidence)
-"arR" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/fore)
"arS" = (
/obj/item/toy/pet_rock,
/obj/machinery/door_control{
@@ -5034,11 +5014,11 @@
/turf/space,
/area/station/engineering/solar/fore_port)
"asc" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"asf" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"asg" = (
@@ -7109,11 +7089,6 @@
icon_state = "red"
},
/area/station/security/lobby)
-"aya" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall,
-/area/station/maintenance/fore)
"ayb" = (
/obj/structure/reagent_dispensers/fueltank,
/turf/simulated/floor/plating,
@@ -8676,7 +8651,7 @@
},
/area/station/maintenance/abandonedbar)
"aCN" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/abandonedbar)
"aCO" = (
@@ -8723,7 +8698,6 @@
/obj/item/stack/rods{
amount = 50
},
-/obj/structure/rack,
/obj/item/stack/cable_coil{
pixel_x = -3;
pixel_y = 3
@@ -8732,6 +8706,7 @@
amount = 5
},
/obj/effect/decal/cleanable/dirt,
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel,
/area/station/maintenance/electrical)
"aCV" = (
@@ -9793,7 +9768,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/abandonedbar)
"aGd" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/abandonedbar)
@@ -10107,7 +10082,7 @@
/turf/simulated/wall/r_wall,
/area/station/maintenance/solar_maintenance/fore_port)
"aHi" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/solar_maintenance/fore_port)
"aHj" = (
@@ -10133,10 +10108,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/wood,
/area/station/maintenance/fpmaint2)
-"aHn" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/fpmaint2)
"aHo" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 4
@@ -10305,7 +10276,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aHP" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aHQ" = (
@@ -10431,7 +10402,7 @@
/turf/simulated/floor/carpet/arcade,
/area/station/public/arcade)
"aIq" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aIr" = (
@@ -10592,7 +10563,7 @@
/area/station/maintenance/fpmaint)
"aIS" = (
/obj/structure/grille,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aIT" = (
@@ -11207,7 +11178,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aKW" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"aKX" = (
@@ -11372,7 +11343,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"aLt" = (
@@ -11836,7 +11807,7 @@
/area/station/maintenance/fsmaint)
"aML" = (
/obj/machinery/atmospherics/pipe/simple/hidden/universal,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aMM" = (
@@ -12091,7 +12062,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools)
"aNw" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/secondary/entry/north)
"aNx" = (
@@ -12311,11 +12282,11 @@
},
/area/station/maintenance/fpmaint)
"aOr" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aOs" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aOt" = (
@@ -12576,7 +12547,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fpmaint2)
"aPc" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"aPd" = (
@@ -12611,7 +12582,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aPj" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aPk" = (
@@ -12655,7 +12626,7 @@
},
/area/station/maintenance/fpmaint)
"aPv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"aPw" = (
@@ -12888,7 +12859,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"aQe" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -13249,7 +13220,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aRm" = (
@@ -14509,7 +14480,7 @@
},
/area/station/service/chapel)
"aUY" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/electrical)
"aUZ" = (
@@ -14536,7 +14507,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/garden)
"aVg" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/storage/tools)
"aVh" = (
@@ -14731,7 +14702,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aVF" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -16306,10 +16277,6 @@
},
/area/station/ai_monitored/storage/eva)
"baj" = (
-/obj/structure/rack{
- dir = 8;
- layer = 2.9
- },
/obj/item/clothing/shoes/magboots{
pixel_x = 2;
pixel_y = 2
@@ -16330,6 +16297,7 @@
pixel_x = 2;
pixel_y = 2
},
+/obj/structure/shelf/command,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -19314,7 +19282,7 @@
},
/area/station/hallway/primary/central/north)
"biL" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/security/brig)
"biM" = (
@@ -19537,7 +19505,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"bjl" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/dorms)
"bjm" = (
@@ -19598,7 +19566,7 @@
/turf/simulated/floor/grass,
/area/station/service/hydroponics)
"bjz" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/service/clown)
"bjA" = (
@@ -20013,7 +19981,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"bkE" = (
@@ -20499,7 +20467,7 @@
/turf/simulated/wall,
/area/station/public/storage/emergency/port)
"blT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/storage/emergency/port)
"blV" = (
@@ -21853,9 +21821,9 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/lounge)
"bpG" = (
-/obj/structure/table,
/obj/item/reagent_containers/glass/bucket,
/obj/item/reagent_containers/glass/bucket,
+/obj/structure/shelf/service,
/turf/simulated/floor/plasteel{
icon_state = "hydrofloor"
},
@@ -21998,7 +21966,7 @@
},
/area/station/service/hydroponics)
"bpW" = (
-/obj/machinery/smartfridge,
+/obj/machinery/smartfridge/food/chef,
/turf/simulated/floor/plating,
/area/station/service/hydroponics)
"bpX" = (
@@ -23239,7 +23207,7 @@
icon_state = "1-2"
},
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"btM" = (
@@ -23769,7 +23737,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/locker)
"bvq" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/locker)
"bvr" = (
@@ -24451,7 +24419,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/sorting)
"bym" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"byn" = (
@@ -26020,9 +25988,9 @@
},
/area/station/science/robotics)
"bEO" = (
-/obj/structure/rack,
/obj/effect/spawner/random_spawners/cobweb_left_frequent,
/obj/effect/decal/cleanable/dirt,
+/obj/effect/spawner/random/storage,
/obj/effect/spawner/random/maintenance,
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
@@ -26511,7 +26479,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"bGH" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"bGJ" = (
@@ -27657,10 +27625,6 @@
},
/area/station/hallway/primary/central/west)
"bKT" = (
-/obj/structure/rack{
- dir = 8;
- layer = 2.9
- },
/obj/item/storage/belt/utility,
/obj/item/clothing/head/welding{
pixel_x = -3;
@@ -27670,6 +27634,7 @@
pixel_x = -3
},
/obj/item/clothing/glasses/welding,
+/obj/structure/shelf/science,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "whitepurple"
@@ -27874,7 +27839,7 @@
/turf/simulated/floor/plating,
/area/station/science/robotics)
"bLJ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/storage/tools/auxiliary)
"bLK" = (
@@ -28790,7 +28755,7 @@
pixel_x = 6;
pixel_y = -2
},
-/obj/structure/rack,
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "whiteyellow"
@@ -34029,7 +33994,7 @@
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cja" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"cjb" = (
@@ -34432,7 +34397,7 @@
},
/area/station/medical/virology)
"ckM" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/miningdock)
"ckO" = (
@@ -35471,10 +35436,6 @@
icon_state = "brown"
},
/area/station/supply/miningdock)
-"coT" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/command/office/blueshield)
"coU" = (
/obj/item/radio/intercom{
name = "south bump";
@@ -36941,7 +36902,7 @@
},
/area/station/hallway/primary/aft/north)
"cuc" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cud" = (
@@ -37209,7 +37170,7 @@
/area/station/maintenance/asmaint2)
"cuS" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"cuZ" = (
@@ -37502,7 +37463,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cwl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"cwo" = (
@@ -38073,7 +38034,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/incinerator)
"cyp" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cyq" = (
@@ -38297,7 +38258,7 @@
/turf/space,
/area/station/engineering/solar/aft_port)
"cyP" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cyQ" = (
@@ -38384,7 +38345,7 @@
/area/station/medical/surgery/secondary)
"cyZ" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"czb" = (
@@ -38407,7 +38368,7 @@
},
/area/station/science/hallway)
"czf" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"czg" = (
@@ -38856,7 +38817,7 @@
},
/area/station/medical/storage)
"cAu" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cAv" = (
@@ -38868,7 +38829,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cAz" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cAA" = (
@@ -39042,7 +39003,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/incinerator)
"cBe" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -39627,7 +39588,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos/distribution)
"cDm" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cDo" = (
@@ -40035,7 +39996,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cEx" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cEy" = (
@@ -40065,7 +40026,7 @@
},
/area/station/maintenance/aft)
"cEE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"cEH" = (
@@ -40710,10 +40671,6 @@
/obj/structure/table_frame,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
-"cHe" = (
-/obj/effect/decal/cleanable/generic,
-/turf/simulated/wall,
-/area/station/maintenance/aft)
"cHf" = (
/obj/machinery/space_heater,
/turf/simulated/floor/plating,
@@ -41618,7 +41575,7 @@
dir = 4
},
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -41719,7 +41676,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos/control)
"cKE" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cKF" = (
@@ -41980,7 +41937,7 @@
/area/station/engineering/break_room)
"cLN" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cLO" = (
@@ -42421,7 +42378,7 @@
},
/area/station/science/xenobiology)
"cNs" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/structure/cable{
d1 = 1;
@@ -42608,10 +42565,6 @@
},
/area/station/engineering/smes)
"cOf" = (
-/obj/structure/rack{
- dir = 8;
- layer = 2.9
- },
/obj/item/tank/internals/emergency_oxygen/engi,
/obj/item/clothing/suit/storage/hazardvest/staff,
/obj/item/clothing/suit/storage/hazardvest/staff,
@@ -42625,6 +42578,7 @@
name = "west bump";
pixel_x = -28
},
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "caution"
@@ -42718,7 +42672,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"cOr" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/assembly_line)
"cOu" = (
@@ -42741,10 +42695,6 @@
},
/turf/simulated/floor/plating,
/area/station/engineering/equipmentstorage)
-"cOz" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/apmaint2)
"cOA" = (
/obj/machinery/atmospherics/unary/vent_pump/on,
/turf/simulated/floor/plasteel,
@@ -42840,10 +42790,6 @@
/turf/simulated/wall/r_wall,
/area/station/engineering/atmos/distribution)
"cOY" = (
-/obj/structure/rack{
- dir = 8;
- layer = 2.9
- },
/obj/item/clothing/suit/storage/hazardvest/staff,
/obj/item/tank/internals/emergency_oxygen/engi,
/obj/item/clothing/suit/storage/hazardvest/staff,
@@ -42860,6 +42806,7 @@
d2 = 4;
icon_state = "0-4"
},
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "caution"
@@ -43793,7 +43740,6 @@
},
/area/station/science/xenobiology)
"cSh" = (
-/obj/structure/table,
/obj/item/clothing/glasses/science{
pixel_y = 4
},
@@ -43801,6 +43747,7 @@
/obj/structure/sign/poster/official/safety_eye_protection{
pixel_y = 32
},
+/obj/structure/shelf/science,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "whitepurple"
@@ -45872,7 +45819,7 @@
},
/area/station/science/rnd)
"cZF" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/engineering/smes)
"cZG" = (
@@ -47637,7 +47584,7 @@
/area/station/engineering/ai_transit_tube)
"dge" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"dgg" = (
@@ -51613,7 +51560,7 @@
},
/area/station/command/office/hop)
"dKb" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -51954,7 +51901,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"dSu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"dSD" = (
@@ -52424,10 +52371,6 @@
/obj/structure/flora/tree/jungle/small,
/turf/simulated/floor/grass/jungle/no_creep,
/area/station/command/bridge)
-"ecZ" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/station/maintenance/asmaint)
"edf" = (
/obj/machinery/computer/general_air_control/large_tank_control{
dir = 1;
@@ -52918,7 +52861,7 @@
},
/area/station/engineering/gravitygenerator)
"ejH" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -53591,7 +53534,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/engine/supermatter)
"eDB" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/ai_monitored/storage/eva)
"eDL" = (
@@ -54050,7 +53993,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"eOb" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
@@ -54621,7 +54564,7 @@
"fcM" = (
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"fcQ" = (
@@ -55500,6 +55443,11 @@
icon_state = "redcorner"
},
/area/station/security/prisonershuttle)
+"fvC" = (
+/obj/effect/spawner/random/storage,
+/obj/effect/spawner/random/maintenance,
+/turf/simulated/floor/plating,
+/area/station/maintenance/fsmaint)
"fvV" = (
/obj/structure/table,
/obj/item/toy/crayon/spraycan,
@@ -55720,7 +55668,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/exit)
"fBj" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"fBk" = (
@@ -56229,7 +56177,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/solar_maintenance/aft_starboard)
"fNM" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -56738,7 +56686,6 @@
/area/station/public/dorms)
"gdp" = (
/obj/machinery/alarm/directional/west,
-/obj/structure/rack,
/obj/item/clothing/head/helmet/space/plasmaman{
pixel_x = -3;
pixel_y = 2
@@ -56757,6 +56704,7 @@
pixel_x = -3;
pixel_y = 2
},
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
icon_state = "darkred"
},
@@ -56932,7 +56880,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/assembly_line)
"gfL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/warehouse)
"ggr" = (
@@ -57162,7 +57110,7 @@
},
/area/station/hallway/primary/central/west)
"gmu" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"gmz" = (
@@ -57694,10 +57642,6 @@
},
/turf/simulated/floor/plating,
/area/station/maintenance/disposal)
-"gzz" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/asmaint)
"gzA" = (
/obj/structure/disposalpipe/segment{
dir = 4
@@ -58077,7 +58021,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"gJU" = (
@@ -58800,7 +58744,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"gYs" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"gYu" = (
@@ -59342,7 +59286,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/solar_maintenance/fore_port)
"hoJ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"hpI" = (
@@ -59545,7 +59489,7 @@
/area/station/security/permabrig)
"htV" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"hug" = (
@@ -59618,7 +59562,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -62662,7 +62606,7 @@
},
/area/station/security/prison/cell_block/A)
"iZV" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
@@ -62888,7 +62832,7 @@
/area/station/security/permabrig)
"jgA" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"jgQ" = (
@@ -63922,10 +63866,6 @@
/turf/simulated/floor/plating,
/area/station/security/permabrig)
"jFJ" = (
-/obj/structure/rack{
- dir = 1
- },
-/obj/item/storage/box/lights/mixed,
/obj/item/storage/box/lights/mixed,
/obj/item/storage/box/lights/mixed,
/obj/item/storage/box/lights/mixed,
@@ -63937,6 +63877,7 @@
name = "west bump";
pixel_x = -28
},
+/obj/structure/shelf/service,
/turf/simulated/floor/plasteel,
/area/station/service/janitor)
"jGd" = (
@@ -65091,7 +65032,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"kju" = (
@@ -66934,7 +66875,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/south)
"lcL" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"ldf" = (
@@ -67352,7 +67293,7 @@
},
/area/station/engineering/control)
"lnV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/incinerator)
"lom" = (
@@ -68542,7 +68483,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/solar_maintenance/aft_port)
"lQx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/legal/courtroom)
"lQz" = (
@@ -69744,7 +69685,7 @@
/turf/simulated/floor/plating,
/area/station/medical/chemistry)
"mwL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/storage)
"mxy" = (
@@ -69874,7 +69815,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"mBl" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"mBv" = (
@@ -71170,6 +71111,11 @@
icon_state = "neutralfull"
},
/area/station/hallway/secondary/exit)
+"njn" = (
+/obj/effect/spawner/random/storage,
+/obj/effect/spawner/random/maintenance,
+/turf/simulated/floor/plating,
+/area/station/maintenance/apmaint)
"nju" = (
/obj/structure/disposalpipe/segment/corner{
dir = 4
@@ -71613,7 +71559,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"nyC" = (
-/obj/structure/rack,
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"nzc" = (
@@ -73807,7 +73753,7 @@
"oxf" = (
/obj/effect/landmark/burnturf,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"oxp" = (
@@ -74616,7 +74562,7 @@
/area/station/maintenance/disposal)
"oPp" = (
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"oPE" = (
@@ -75259,7 +75205,7 @@
/area/station/service/janitor)
"pfF" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/structure/cable{
d1 = 1;
@@ -75912,7 +75858,7 @@
/area/station/engineering/atmos)
"pxz" = (
/obj/effect/spawner/random/maintenance,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"pxG" = (
@@ -76243,7 +76189,7 @@
dir = 4
},
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"pEO" = (
@@ -76504,7 +76450,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"pNx" = (
@@ -77229,7 +77175,7 @@
},
/area/station/service/chapel/office)
"qgj" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/construction)
"qgC" = (
@@ -77993,7 +77939,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"qtx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/legal/courtroom/gallery)
"qup" = (
@@ -79687,7 +79633,7 @@
/turf/simulated/floor/carpet/black,
/area/station/command/meeting_room)
"rgs" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"rgv" = (
@@ -79920,7 +79866,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"rmn" = (
@@ -79987,7 +79933,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/gravitygenerator)
"rng" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"rnx" = (
@@ -80519,7 +80465,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"rCg" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"rCH" = (
@@ -80761,7 +80707,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint2)
"rID" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
@@ -80856,7 +80802,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"rMq" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint2)
"rME" = (
@@ -80913,7 +80859,7 @@
},
/area/station/maintenance/asmaint2)
"rNN" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
@@ -83102,7 +83048,7 @@
},
/area/station/medical/medbay)
"sTX" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/medical/coldroom)
"sWc" = (
@@ -83127,7 +83073,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -83700,7 +83646,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"tmS" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"tmX" = (
@@ -84348,7 +84294,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/control)
"tEt" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -85549,7 +85495,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"ugC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"ugH" = (
@@ -85770,7 +85716,7 @@
/area/station/medical/surgery/observation)
"unu" = (
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -86066,7 +86012,7 @@
/area/station/maintenance/apmaint)
"uwi" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/sign/xenobio{
pixel_x = -31
},
@@ -86237,7 +86183,6 @@
pixel_x = -4
},
/obj/item/tank/internals/emergency_oxygen/nitrogen,
-/obj/structure/rack,
/obj/item/tank/internals/emergency_oxygen/plasma{
pixel_x = 5
},
@@ -86246,6 +86191,7 @@
},
/obj/item/clothing/mask/breath/vox,
/obj/item/clothing/mask/breath/vox,
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
icon_state = "darkbluefull"
},
@@ -86259,7 +86205,7 @@
/turf/simulated/floor/plating,
/area/station/security/main)
"uBz" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
@@ -86361,7 +86307,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"uEF" = (
@@ -86476,7 +86422,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"uIf" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"uIn" = (
@@ -86499,7 +86445,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
@@ -86541,7 +86487,7 @@
},
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fpmaint)
"uKy" = (
@@ -86638,7 +86584,7 @@
/area/station/maintenance/fpmaint)
"uOG" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"uPg" = (
@@ -87227,7 +87173,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/control)
"vdx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"vdD" = (
@@ -87351,10 +87297,6 @@
/obj/structure/chair,
/turf/simulated/floor/wood,
/area/station/maintenance/asmaint)
-"vhD" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/port)
"vhH" = (
/obj/structure/cable{
d1 = 4;
@@ -89188,7 +89130,7 @@
},
/area/station/security/execution)
"wcG" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/apmaint2)
"wcQ" = (
@@ -89301,7 +89243,7 @@
"wgA" = (
/obj/effect/landmark/burnturf,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
"wgO" = (
@@ -89497,7 +89439,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"wlJ" = (
@@ -90791,7 +90733,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"wTp" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"wTH" = (
@@ -90836,7 +90778,7 @@
/obj/machinery/atmospherics/pipe/simple/visible{
dir = 4
},
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/incinerator)
"wWn" = (
@@ -91749,7 +91691,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"xsP" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/engineering/gravitygenerator)
"xsZ" = (
@@ -91945,7 +91887,7 @@
icon_state = "1-2"
},
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"xxa" = (
@@ -92633,7 +92575,7 @@
/area/station/engineering/control)
"xOA" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"xOM" = (
@@ -92936,8 +92878,10 @@
"xUY" = (
/obj/structure/table/glass,
/obj/item/clothing/mask/cigarette/cigar,
-/turf/simulated/floor/light{
- color = "#fff"
+/obj/machinery/light/floor,
+/turf/simulated/floor/plasteel{
+ dir = 1;
+ icon_state = "bluered"
},
/area/station/command/bridge)
"xVe" = (
@@ -93301,7 +93245,7 @@
/area/station/command/office/hop)
"ybL" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"ybN" = (
@@ -110415,7 +110359,7 @@ aGn
aGn
aKW
neo
-aHn
+aGn
gxu
aGn
aLu
@@ -114305,7 +114249,7 @@ fkr
cqQ
rVV
jnc
-vhD
+blQ
fea
bxb
xKE
@@ -117169,7 +117113,7 @@ cgQ
cqL
cZw
cUh
-cOz
+cLi
ykF
ogh
weq
@@ -118962,8 +118906,8 @@ cwl
wFR
fnV
cwz
-sCW
-sCW
+njn
+njn
cgQ
dCM
ieW
@@ -119208,8 +119152,8 @@ cfi
cgS
cgS
cgS
-coT
-coT
+cgS
+cgS
cgS
lNb
cyg
@@ -129171,7 +129115,7 @@ axY
avq
avq
aBu
-arR
+awl
awl
awl
aLP
@@ -129428,7 +129372,7 @@ axX
avq
avq
aBu
-arR
+awl
avq
ayb
aLP
@@ -130448,11 +130392,11 @@ aqI
aqI
atG
awl
-arR
+awl
awl
ifp
aqc
-aya
+aqc
awl
avq
aBz
@@ -131482,7 +131426,7 @@ ava
awE
ayf
azn
-arR
+awl
tbC
tbC
tbC
@@ -131991,7 +131935,7 @@ aaa
atG
aqc
aqc
-arR
+awl
avb
aAQ
aNH
@@ -135609,7 +135553,7 @@ aHb
aHb
aOG
aGX
-aHb
+fvC
aOG
aGY
aTg
@@ -135683,7 +135627,7 @@ mCO
cED
xmj
tAb
-cHe
+chf
chf
chf
chf
@@ -139808,7 +139752,7 @@ cBR
yfJ
hQe
yfJ
-ecZ
+oJr
kMc
kdc
csL
@@ -140836,7 +140780,7 @@ cBR
yfJ
nKg
yfJ
-ecZ
+oJr
bUx
dFe
csL
@@ -142877,7 +142821,7 @@ cLb
cLb
eKC
mhW
-gzz
+ciY
ciY
ciY
csL
@@ -143905,8 +143849,8 @@ cLb
cLb
ePp
jPx
-gzz
-gzz
+ciY
+ciY
dSu
hWs
mtx
diff --git a/_maps/map_files/stations/cerestation.dmm b/_maps/map_files/stations/cerestation.dmm
index 6c25b7379cee..a8806af20dd9 100644
--- a/_maps/map_files/stations/cerestation.dmm
+++ b/_maps/map_files/stations/cerestation.dmm
@@ -1256,7 +1256,7 @@
},
/area/station/security/permabrig)
"ahX" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"aia" = (
@@ -2332,8 +2332,8 @@
},
/area/station/security/permabrig)
"aoE" = (
-/obj/structure/table,
/obj/effect/spawner/random/maintenance,
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/disposal/northeast)
"aoF" = (
@@ -3908,7 +3908,7 @@
/turf/simulated/wall,
/area/station/security/range)
"azv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -6850,12 +6850,6 @@
/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance,
/turf/simulated/floor/plating,
/area/station/maintenance/disposal/east)
-"aUB" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/turf/simulated/floor/plasteel{
- icon_state = "darkgreenfull"
- },
-/area/station/service/hydroponics)
"aUE" = (
/obj/machinery/light{
dir = 8
@@ -7969,7 +7963,7 @@
/area/station/hallway/primary/central/north)
"bbw" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal/south)
"bbH" = (
@@ -9158,7 +9152,7 @@
/area/station/hallway/spacebridge/dockmed)
"bis" = (
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
@@ -11069,7 +11063,7 @@
/area/station/science/hallway)
"bsU" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"bsV" = (
@@ -14169,7 +14163,7 @@
},
/area/station/service/library)
"bGB" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"bGF" = (
@@ -15137,7 +15131,6 @@
},
/area/station/science/genetics)
"bLf" = (
-/obj/structure/rack,
/obj/item/gun/projectile/shotgun/riot{
pixel_x = -3;
pixel_y = 3
@@ -15147,16 +15140,10 @@
pixel_x = 3;
pixel_y = -3
},
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 1;
- layer = 2.9
- },
/obj/machinery/camera{
c_tag = "Brig Secure Armory"
},
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -15222,6 +15209,9 @@
pixel_x = 3;
pixel_y = -3
},
+/obj/structure/window/reinforced{
+ dir = 8
+ },
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -16712,7 +16702,7 @@
/turf/simulated/floor/carpet/black,
/area/station/command/bridge)
"bSc" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/primary/aft/west)
"bSg" = (
@@ -17127,7 +17117,7 @@
/turf/simulated/floor/plasteel,
/area/station/security/processing)
"bTQ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/maintcentral)
"bTR" = (
@@ -18512,7 +18502,7 @@
/area/station/maintenance/apmaint)
"caX" = (
/obj/effect/spawner/random_spawners/dirt_frequent,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"caY" = (
@@ -18675,9 +18665,6 @@
/obj/item/clothing/head/helmet/alt,
/obj/item/clothing/suit/armor/bulletproof,
/obj/item/clothing/head/helmet/alt,
-/obj/structure/window/reinforced{
- dir = 8
- },
/obj/structure/window/reinforced,
/turf/simulated/floor/plasteel{
dir = 8;
@@ -18685,7 +18672,6 @@
},
/area/station/security/armory/secure)
"ccO" = (
-/obj/structure/rack,
/obj/item/gun/energy/disabler{
pixel_x = -3;
pixel_y = 3
@@ -18699,6 +18685,7 @@
dir = 4
},
/obj/structure/window/reinforced,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -19397,7 +19384,6 @@
},
/area/station/security/warden)
"cgG" = (
-/obj/structure/rack,
/obj/item/storage/box/seccarts{
pixel_x = 3;
pixel_y = 2
@@ -19412,17 +19398,16 @@
pixel_x = -3;
pixel_y = -3
},
-/obj/structure/window/reinforced,
/obj/structure/window/reinforced{
dir = 4
},
+/obj/structure/shelf/security,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
},
/area/station/security/armory/secure)
"cgL" = (
-/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = -3;
pixel_y = 3
@@ -19432,20 +19417,13 @@
pixel_x = 3;
pixel_y = -3
},
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/structure/window/reinforced{
- dir = 1;
- layer = 2.9
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
},
/area/station/security/armory/secure)
"cgR" = (
-/obj/structure/rack,
/obj/item/gun/energy/gun{
pixel_x = -3;
pixel_y = 3
@@ -19458,10 +19436,7 @@
/obj/structure/window/reinforced{
dir = 4
},
-/obj/structure/window/reinforced{
- dir = 1;
- layer = 2.9
- },
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -26914,11 +26889,6 @@
icon_state = "redcorner"
},
/area/station/security/prison/cell_block/A)
-"dcR" = (
-/obj/structure/table,
-/obj/effect/spawner/random/maintenance,
-/turf/simulated/floor/plating/asteroid/ancient,
-/area/station/maintenance/port)
"dda" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 8
@@ -28052,6 +28022,17 @@
/obj/machinery/ai_status_display,
/turf/simulated/wall/r_wall,
/area/station/security/prisonlockers)
+"dkb" = (
+/obj/machinery/requests_console/directional/south,
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/turf/simulated/floor/plasteel{
+ icon_state = "grimy"
+ },
+/area/station/security/detective)
"dkc" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
@@ -32993,7 +32974,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/disposal/external/southeast)
"dYD" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"dYK" = (
@@ -33772,10 +33753,6 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"enw" = (
-/obj/machinery/smartfridge/secure{
- name = "\improper Kitchen Delivery SmartFridge";
- req_one_access_txt = "28;35"
- },
/obj/machinery/door/firedoor,
/obj/machinery/door/window/classic/normal{
name = "Kitchen";
@@ -33787,6 +33764,7 @@
/obj/effect/mapping_helpers/airlock/windoor/access/any/service/kitchen{
dir = 1
},
+/obj/machinery/smartfridge/food/chef,
/turf/simulated/floor/plasteel{
icon_state = "neutralfull"
},
@@ -33867,11 +33845,11 @@
/obj/machinery/light/small{
dir = 1
},
-/obj/structure/rack,
/obj/effect/spawner/random/maintenance,
/obj/structure/window/basic{
dir = 8
},
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/disposal)
"eot" = (
@@ -34537,7 +34515,7 @@
/turf/simulated/floor/plating,
/area/station/service/bar)
"ezr" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -34693,7 +34671,7 @@
/turf/simulated/floor/plating,
/area/station/command/office/hos)
"eBq" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -35929,12 +35907,6 @@
},
/turf/simulated/floor/plating,
/area/station/maintenance/port)
-"eTe" = (
-/obj/machinery/hologram/holopad,
-/turf/simulated/floor/plasteel{
- icon_state = "dark"
- },
-/area/station/service/hydroponics)
"eTg" = (
/obj/machinery/recharge_station,
/turf/simulated/floor/plasteel{
@@ -35981,7 +35953,8 @@
/turf/simulated/floor/grass,
/area/station/hallway/spacebridge/scidock)
"eTI" = (
-/obj/effect/decal/cleanable/blood/splatter,
+/obj/structure/table,
+/obj/effect/spawner/random/maintenance,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/port)
"eTJ" = (
@@ -35992,7 +35965,7 @@
/turf/simulated/floor/wood,
/area/station/legal/magistrate)
"eTL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/gambling_den)
"eTM" = (
@@ -36443,9 +36416,9 @@
/turf/simulated/floor/plating,
/area/station/engineering/smes)
"fcE" = (
-/obj/structure/table,
/obj/item/stack/packageWrap,
/obj/item/destTagger,
+/obj/structure/shelf/command,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "darkblue"
@@ -37375,7 +37348,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/disposal/north)
"fsV" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/starboard)
"fsW" = (
@@ -37654,6 +37627,13 @@
},
/turf/simulated/floor/plating,
/area/station/hallway/primary/central/west)
+"fvV" = (
+/obj/structure/chair/office/dark{
+ dir = 4
+ },
+/obj/effect/landmark/start/detective,
+/turf/simulated/floor/carpet,
+/area/station/security/detective)
"fwd" = (
/obj/effect/decal/cleanable/crayon,
/turf/simulated/floor/wood,
@@ -37817,7 +37797,7 @@
},
/area/station/engineering/break_room)
"fzh" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"fzj" = (
@@ -38482,7 +38462,7 @@
},
/area/station/medical/break_room)
"fLv" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"fLy" = (
@@ -38774,6 +38754,12 @@
icon_state = "dark"
},
/area/station/engineering/control)
+"fPD" = (
+/obj/structure/reagent_dispensers/fueltank,
+/turf/simulated/floor/plating{
+ icon_state = "asteroidplating"
+ },
+/area/station/maintenance/port)
"fPE" = (
/obj/structure/disposalpipe/segment/corner{
dir = 4
@@ -39511,7 +39497,7 @@
},
/area/station/hallway/spacebridge/scidock)
"fZZ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/turret_protected/aisat/interior/secondary)
"gah" = (
@@ -40519,7 +40505,7 @@
/turf/simulated/floor/plasteel/freezer,
/area/station/service/kitchen)
"gsr" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"gsx" = (
@@ -40544,7 +40530,7 @@
pixel_y = -24;
pixel_x = -32
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -40585,7 +40571,7 @@
/turf/simulated/wall,
/area/station/hallway/primary/aft/west)
"gtZ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
@@ -41282,25 +41268,6 @@
icon_state = "whitepurple"
},
/area/station/science/genetics)
-"gEI" = (
-/obj/machinery/door/airlock/public/glass{
- name = "Walkway"
- },
-/obj/machinery/door/firedoor,
-/obj/machinery/door/poddoor/preopen{
- id_tag = "servlockdown";
- layer = 2.6;
- name = "Service Lockdown"
- },
-/obj/structure/disposalpipe/segment{
- color = "#954535"
- },
-/obj/effect/turf_decal/caution/red,
-/turf/simulated/floor/plasteel{
- dir = 8;
- icon_state = "neutralcorner"
- },
-/area/station/hallway/spacebridge/sercom)
"gEJ" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
@@ -43031,7 +42998,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"hgx" = (
@@ -43834,7 +43801,6 @@
/area/station/service/bar)
"htz" = (
/obj/effect/spawner/random_spawners/dirt_often,
-/obj/effect/turf_decal/delivery,
/turf/simulated/floor/plasteel{
icon_state = "darkgreenfull"
},
@@ -44696,11 +44662,11 @@
pixel_x = 8;
pixel_y = 2
},
-/obj/structure/table/glass,
/obj/item/radio/intercom{
pixel_y = 28;
name = "custom placement"
},
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "whiteblue"
@@ -44900,8 +44866,8 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/structure/rack,
/obj/effect/spawner/random/maintenance,
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/fore2)
"hIo" = (
@@ -45217,7 +45183,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port2)
"hLx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/solar_maintenance/fore_starboard)
"hLB" = (
@@ -46238,12 +46204,12 @@
/turf/simulated/floor/carpet/blue,
/area/station/command/office/blueshield)
"hZk" = (
-/obj/structure/rack,
/obj/item/storage/belt/utility,
/obj/item/storage/belt/utility,
/obj/item/clothing/mask/gas,
/obj/item/clothing/mask/gas,
/obj/item/clothing/mask/gas,
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel{
icon_state = "darkyellow"
},
@@ -47286,6 +47252,13 @@
icon_state = "browncorner"
},
/area/station/hallway/primary/fore/east)
+"inP" = (
+/obj/structure/rack,
+/obj/effect/spawner/random/maintenance,
+/turf/simulated/floor/plating{
+ icon_state = "asteroidplating"
+ },
+/area/station/maintenance/port)
"inQ" = (
/obj/machinery/door/airlock/maintenance{
name = "Port Asteroid Maintenance"
@@ -48919,7 +48892,7 @@
/area/station/hallway/primary/fore/east)
"iJM" = (
/obj/effect/spawner/random_spawners/dirt_frequent,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"iJY" = (
@@ -49270,7 +49243,7 @@
},
/area/station/service/library)
"iPn" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal/southwest)
"iPr" = (
@@ -50504,6 +50477,21 @@
icon_state = "dark"
},
/area/station/hallway/primary/starboard/south)
+"jeu" = (
+/obj/machinery/hologram/holopad,
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
+ dir = 1
+ },
+/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
+/turf/simulated/floor/plasteel{
+ icon_state = "dark"
+ },
+/area/station/service/hydroponics)
"jeB" = (
/obj/structure/transit_tube/station/reverse/flipped{
dir = 4
@@ -51168,6 +51156,22 @@
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel,
/area/station/security/lobby)
+"joS" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
+ dir = 4
+ },
+/obj/structure/cable/orange{
+ d1 = 4;
+ d2 = 8;
+ icon_state = "4-8"
+ },
+/obj/machinery/atmospherics/pipe/simple/hidden/supply{
+ dir = 4
+ },
+/turf/simulated/floor/plasteel{
+ icon_state = "dark"
+ },
+/area/station/service/hydroponics)
"joZ" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 4
@@ -51403,7 +51407,7 @@
},
/area/station/maintenance/asmaint)
"jrT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/security/checkpoint/secondary)
"jrX" = (
@@ -51969,8 +51973,8 @@
/turf/simulated/floor/plasteel/white,
/area/station/command/office/rd)
"jyk" = (
-/obj/structure/rack,
/obj/effect/spawner/random/maintenance,
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"jyn" = (
@@ -53224,7 +53228,7 @@
/area/station/science/xenobiology)
"jNU" = (
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -55651,7 +55655,7 @@
/turf/simulated/floor/carpet/cyan,
/area/station/public/fitness)
"kyz" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal/south)
"kyK" = (
@@ -55706,7 +55710,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/asmaint)
"kzK" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal/east)
"kzP" = (
@@ -55810,15 +55814,6 @@
/area/station/medical/medbay)
"kAT" = (
/obj/machinery/hologram/holopad,
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/supply{
- dir = 1
- },
-/obj/machinery/atmospherics/pipe/manifold/hidden/scrubbers,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -57780,12 +57775,6 @@
},
/turf/simulated/floor/plating,
/area/station/maintenance/port)
-"lhc" = (
-/obj/effect/spawner/random_spawners/dirt_often,
-/turf/simulated/floor/plasteel{
- icon_state = "darkgreenfull"
- },
-/area/station/service/hydroponics)
"lhf" = (
/obj/effect/spawner/window/reinforced/grilled,
/obj/structure/cable/orange{
@@ -58019,6 +58008,10 @@
},
/turf/simulated/floor/plasteel/freezer,
/area/station/service/kitchen)
+"ljz" = (
+/obj/effect/decal/cleanable/blood/splatter,
+/turf/simulated/floor/plating/asteroid/ancient,
+/area/station/maintenance/port)
"ljL" = (
/obj/effect/decal/cleanable/dirt,
/obj/structure/disposalpipe/segment,
@@ -58562,7 +58555,7 @@
},
/area/station/supply/warehouse)
"lqj" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"lqq" = (
@@ -59750,7 +59743,7 @@
},
/area/station/hallway/spacebridge/scidock)
"lHD" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/electrical_shop)
"lHG" = (
@@ -61319,11 +61312,12 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"mgq" = (
-/obj/structure/reagent_dispensers/fueltank,
-/turf/simulated/floor/plating{
- icon_state = "asteroidplating"
+/obj/effect/spawner/random_spawners/dirt_often,
+/obj/effect/turf_decal/delivery,
+/turf/simulated/floor/plasteel{
+ icon_state = "darkgreenfull"
},
-/area/station/maintenance/port)
+/area/station/service/hydroponics)
"mgu" = (
/obj/docking_port/stationary{
dir = 4;
@@ -61692,7 +61686,7 @@
},
/area/station/science/robotics)
"mmv" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -62365,7 +62359,7 @@
/area/station/turret_protected/aisat/interior)
"mvD" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"mvF" = (
@@ -62846,7 +62840,7 @@
},
/area/station/medical/morgue)
"mCg" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/asmaint)
"mCo" = (
@@ -65409,16 +65403,8 @@
/turf/simulated/floor/plating,
/area/station/engineering/tech_storage)
"nsy" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
- dir = 4
- },
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/obj/machinery/atmospherics/pipe/simple/hidden/supply{
- dir = 4
+/obj/machinery/atmospherics/unary/vent_pump/on{
+ dir = 1
},
/turf/simulated/floor/plasteel{
icon_state = "dark"
@@ -68212,17 +68198,6 @@
},
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
-"olh" = (
-/obj/machinery/light{
- dir = 4
- },
-/obj/machinery/atmospherics/unary/vent_scrubber/on{
- dir = 8
- },
-/turf/simulated/floor/plasteel{
- icon_state = "darkgreenfull"
- },
-/area/station/service/hydroponics)
"olr" = (
/obj/structure/table,
/obj/item/paper{
@@ -69186,7 +69161,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port2)
"oyh" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard)
"oyo" = (
@@ -73725,7 +73700,7 @@
/turf/simulated/floor/plating,
/area/station/science/xenobiology)
"pMv" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/unexplored/cere/cargo)
"pMB" = (
@@ -76056,7 +76031,7 @@
/area/station/maintenance/apmaint)
"qpx" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port2)
"qpM" = (
@@ -78145,7 +78120,7 @@
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/arrival/station)
"qVx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/electrical_shop)
@@ -79140,7 +79115,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/south)
"rnP" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/mine/unexplored/cere/civilian)
@@ -79727,7 +79702,7 @@
},
/area/station/medical/paramedic)
"rwZ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/disposal/south)
"rxb" = (
@@ -80879,7 +80854,7 @@
/turf/simulated/wall,
/area/station/public/toilet)
"rNW" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/fsmaint)
"rOc" = (
@@ -81371,7 +81346,7 @@
/turf/simulated/floor/wood,
/area/station/service/bar)
"rVD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating{
icon_state = "asteroidplating"
},
@@ -82448,7 +82423,7 @@
},
/area/station/medical/surgery/secondary)
"sip" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/mine/unexplored/cere/engineering)
"sit" = (
@@ -83795,10 +83770,6 @@
/obj/effect/decal/cleanable/cobweb2,
/turf/simulated/floor/plating,
/area/mine/unexplored/cere/civilian)
-"sCn" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/asmaint)
"sCr" = (
/obj/machinery/atmospherics/pipe/simple/visible/yellow{
dir = 4
@@ -84321,7 +84292,7 @@
},
/area/station/maintenance/apmaint)
"sKo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"sKz" = (
@@ -84532,14 +84503,6 @@
icon_state = "asteroidplating"
},
/area/station/maintenance/port)
-"sNb" = (
-/obj/machinery/atmospherics/unary/vent_pump/on{
- dir = 1
- },
-/turf/simulated/floor/plasteel{
- icon_state = "dark"
- },
-/area/station/service/hydroponics)
"sNm" = (
/obj/structure/disposalpipe/segment,
/obj/effect/turf_decal/stripes/line{
@@ -84752,7 +84715,7 @@
/area/station/hallway/primary/starboard/south)
"sPm" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"sPp" = (
@@ -87195,12 +87158,12 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/structure/table,
/obj/item/stack/packageWrap,
/obj/item/destTagger{
pixel_x = 4;
pixel_y = 3
},
+/obj/structure/shelf/science,
/turf/simulated/floor/plasteel{
icon_state = "whitepurple"
},
@@ -87468,6 +87431,22 @@
/obj/item/storage/backpack/satchel/explorer,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/starboard)
+"tDi" = (
+/obj/item/storage/bag/plants/portaseeder,
+/obj/item/storage/bag/plants/portaseeder,
+/obj/item/storage/bag/plants,
+/obj/item/storage/bag/plants,
+/obj/structure/shelf/service,
+/obj/machinery/light{
+ dir = 4
+ },
+/obj/machinery/atmospherics/unary/vent_scrubber/on{
+ dir = 8
+ },
+/turf/simulated/floor/plasteel{
+ icon_state = "darkgreenfull"
+ },
+/area/station/service/hydroponics)
"tDm" = (
/obj/machinery/firealarm/directional/south,
/turf/simulated/floor/plasteel{
@@ -88048,6 +88027,12 @@
/obj/effect/spawner/airlock/s_to_n,
/turf/simulated/wall,
/area/station/hallway/primary/central/north)
+"tMD" = (
+/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/turf/simulated/floor/plasteel{
+ icon_state = "darkgreenfull"
+ },
+/area/station/service/hydroponics)
"tMN" = (
/obj/machinery/door/airlock/external{
id_tag = "laborcamp_home";
@@ -88148,7 +88133,7 @@
},
/area/station/medical/surgery)
"tOn" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port2)
"tOo" = (
@@ -91063,7 +91048,7 @@
/turf/simulated/floor/wood,
/area/station/command/office/captain)
"uBs" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fore)
"uBA" = (
@@ -91693,7 +91678,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 9
},
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/primary/aft/west)
"uKL" = (
@@ -92059,7 +92044,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/tech_storage)
"uQB" = (
-/obj/machinery/atmospherics/pipe/simple/hidden/supply,
+/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/plasteel{
icon_state = "darkgreenfull"
},
@@ -95567,7 +95552,7 @@
/area/station/public/storage/tools)
"vPd" = (
/obj/effect/decal/cleanable/glass,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"vPj" = (
@@ -99330,7 +99315,6 @@
},
/area/station/public/fitness)
"wOh" = (
-/obj/structure/table,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -99343,6 +99327,7 @@
name = "south bump";
pixel_y = -28
},
+/obj/structure/shelf/supply,
/turf/simulated/floor/plasteel{
icon_state = "darkbrown"
},
@@ -99590,7 +99575,7 @@
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/starboard)
"wRk" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/unexplored/cere/civilian)
"wRo" = (
@@ -100923,7 +100908,7 @@
},
/area/station/hallway/primary/aft/west)
"xmz" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/port)
@@ -101207,7 +101192,7 @@
},
/area/station/hallway/primary/port/north)
"xrI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/starboard)
"xrN" = (
@@ -101874,7 +101859,7 @@
},
/area/station/science/misc_lab)
"xAK" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"xAO" = (
@@ -102017,13 +102002,25 @@
icon_state = "dark"
},
/area/station/engineering/control)
-"xCH" = (
-/obj/structure/rack,
-/obj/effect/spawner/random/maintenance,
-/turf/simulated/floor/plating{
- icon_state = "asteroidplating"
+"xCu" = (
+/obj/machinery/door/airlock/public/glass{
+ name = "Walkway"
},
-/area/station/maintenance/port)
+/obj/machinery/door/firedoor,
+/obj/machinery/door/poddoor/preopen{
+ id_tag = "servlockdown";
+ layer = 2.6;
+ name = "Service Lockdown"
+ },
+/obj/structure/disposalpipe/segment{
+ color = "#954535"
+ },
+/obj/effect/turf_decal/caution/red,
+/turf/simulated/floor/plasteel{
+ dir = 8;
+ icon_state = "neutralcorner"
+ },
+/area/station/hallway/spacebridge/sercom)
"xCR" = (
/obj/machinery/computer/security/telescreen/entertainment,
/turf/simulated/mineral/ancient,
@@ -102194,7 +102191,7 @@
},
/area/station/command/teleporter)
"xEX" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/asmaint)
"xEZ" = (
@@ -102400,13 +102397,6 @@
/obj/machinery/light/small,
/turf/simulated/floor/plating/asteroid/ancient,
/area/station/maintenance/port)
-"xHt" = (
-/obj/structure/chair/office/dark{
- dir = 4
- },
-/obj/effect/landmark/start/detective,
-/turf/simulated/floor/carpet,
-/area/station/security/detective)
"xHF" = (
/obj/structure/cable/orange{
d1 = 4;
@@ -103232,17 +103222,6 @@
icon_state = "whitepurple"
},
/area/station/maintenance/apmaint)
-"xTG" = (
-/obj/machinery/requests_console/directional/south,
-/obj/structure/cable/orange{
- d1 = 4;
- d2 = 8;
- icon_state = "4-8"
- },
-/turf/simulated/floor/plasteel{
- icon_state = "grimy"
- },
-/area/station/security/detective)
"xTL" = (
/turf/simulated/floor/plasteel{
icon_state = "white"
@@ -113294,7 +113273,7 @@ rho
uSf
ygl
wzC
-mgq
+fPD
aXn
aXn
aXn
@@ -113551,7 +113530,7 @@ aXn
wGX
ygl
wzC
-xCH
+inP
aXn
aXn
aXn
@@ -114587,7 +114566,7 @@ eHn
ohJ
gUw
xZV
-eTI
+ljz
iuf
mkL
aXn
@@ -115104,7 +115083,7 @@ aXn
aXn
dLa
hwS
-eTI
+ljz
kad
uCK
aXn
@@ -116086,7 +116065,7 @@ eHu
aXn
aXn
aXn
-xCH
+inP
eCI
ltk
wzC
@@ -117875,7 +117854,7 @@ uCK
aXn
aXn
hvI
-dcR
+eTI
pAV
pXy
dHZ
@@ -119922,7 +119901,7 @@ aXn
aXn
eCI
pDl
-xCH
+inP
aXn
aXn
ock
@@ -120156,8 +120135,8 @@ chV
evL
qwd
pPN
-xHt
-xTG
+fvV
+dkb
emw
abW
nxA
@@ -122795,7 +122774,7 @@ btd
btd
uql
cBs
-nsy
+joS
cBs
cBs
biB
@@ -122998,7 +122977,7 @@ bpf
pbY
pbY
pbY
-gEI
+xCu
abT
jSU
grv
@@ -123052,9 +123031,9 @@ cuk
prN
mcu
pcu
-kAT
+jeu
jKU
-sNb
+nsy
biB
hqe
btd
@@ -123829,7 +123808,7 @@ biB
biB
xNP
biB
-eTe
+kAT
kDy
biB
etV
@@ -124344,7 +124323,7 @@ glI
gIv
uCO
noy
-olh
+tDi
nWX
qxR
btd
@@ -124603,7 +124582,7 @@ lJR
lJR
btd
pNE
-htz
+mgq
btd
cEM
eQC
@@ -125364,11 +125343,11 @@ muv
lYO
riS
mcu
-aUB
-aUB
-aUB
-hpP
uQB
+uQB
+uQB
+hpP
+tMD
haI
lUc
xAS
@@ -125621,7 +125600,7 @@ baF
jUW
fPp
cxx
-lhc
+htz
xnz
wFD
rxy
@@ -150830,7 +150809,7 @@ aXn
aXn
wLr
vpJ
-sCn
+vpJ
vpJ
vRX
rao
diff --git a/_maps/map_files/stations/deltastation.dmm b/_maps/map_files/stations/deltastation.dmm
index 18e3bccec2b8..e2cfdca8fa92 100644
--- a/_maps/map_files/stations/deltastation.dmm
+++ b/_maps/map_files/stations/deltastation.dmm
@@ -2805,10 +2805,9 @@
},
/area/station/maintenance/fore2)
"aqn" = (
-/obj/structure/rack,
-/obj/item/crowbar,
-/obj/effect/spawner/random/maintenance,
/obj/effect/decal/cleanable/dirt,
+/obj/effect/spawner/random/storage,
+/obj/effect/spawner/random/maintenance,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -2821,7 +2820,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fore2)
"aqp" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore2)
"aqq" = (
@@ -3971,11 +3970,6 @@
icon_state = "freezerfloor"
},
/area/station/maintenance/fore)
-"atq" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall,
-/area/station/maintenance/fore)
"atr" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/landmark/damageturf,
@@ -4559,10 +4553,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/wood,
/area/station/maintenance/fore)
-"auO" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/fore2)
"auP" = (
/obj/structure/rack,
/obj/machinery/light/small{
@@ -4743,7 +4733,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/maintenance/fore2)
"avs" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"avt" = (
@@ -5421,7 +5411,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"awW" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/fore)
@@ -5449,7 +5439,7 @@
/turf/simulated/wall,
/area/station/service/janitor)
"axb" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/starboard2)
"axc" = (
@@ -5954,7 +5944,7 @@
},
/area/station/maintenance/fore)
"ayr" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"ays" = (
@@ -7576,7 +7566,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/storage)
"aCL" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aCN" = (
@@ -10800,7 +10790,7 @@
/area/station/maintenance/fore)
"aLC" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -11262,7 +11252,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/engineering/controlroom)
"aMV" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/gambling_den)
"aMW" = (
@@ -16226,7 +16216,7 @@
},
/area/station/supply/qm)
"aZE" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/medical/storage)
"aZG" = (
@@ -16534,7 +16524,7 @@
},
/area/station/maintenance/fore)
"baD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -17818,12 +17808,12 @@
/area/station/service/kitchen)
"bdN" = (
/obj/machinery/alarm/directional/west,
-/obj/structure/rack,
/obj/item/stack/packageWrap,
/obj/item/hand_labeler,
/obj/item/book/manual/wiki/chef_recipes,
/obj/effect/turf_decal/delivery/hollow,
/obj/item/wrench,
+/obj/structure/shelf/service,
/turf/simulated/floor/plasteel{
icon_state = "white"
},
@@ -19003,7 +18993,6 @@
},
/area/station/hallway/primary/fore/south)
"bhH" = (
-/obj/machinery/smartfridge,
/obj/effect/mapping_helpers/airlock/windoor/access/all/service/hydroponics{
dir = 8
},
@@ -19014,6 +19003,7 @@
/obj/effect/mapping_helpers/airlock/windoor/access/any/service/kitchen{
dir = 8
},
+/obj/machinery/smartfridge/food/chef,
/turf/simulated/floor/plasteel,
/area/station/service/kitchen)
"bhI" = (
@@ -20864,7 +20854,6 @@
},
/area/station/security/processing)
"bme" = (
-/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_x = 3;
pixel_y = 3
@@ -20875,6 +20864,7 @@
pixel_y = -3
},
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/station/security/armory/secure)
"bmg" = (
@@ -21366,7 +21356,6 @@
name = "west bump";
pixel_x = -30
},
-/obj/structure/rack,
/obj/item/storage/toolbox/emergency{
pixel_x = 3;
pixel_y = -4
@@ -21377,6 +21366,7 @@
/obj/item/pickaxe,
/obj/item/pickaxe,
/obj/effect/turf_decal/delivery/hollow,
+/obj/structure/shelf/supply,
/turf/simulated/floor/plasteel,
/area/station/supply/miningdock)
"bnk" = (
@@ -22730,7 +22720,7 @@
},
/area/station/hallway/primary/central/north)
"bqB" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"bqC" = (
@@ -22776,7 +22766,6 @@
},
/area/station/security/processing)
"bqW" = (
-/obj/structure/rack,
/obj/item/gun/projectile/shotgun/riot{
pixel_x = 3;
pixel_y = 3
@@ -22787,6 +22776,7 @@
pixel_y = -3
},
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/station/security/armory/secure)
"bqX" = (
@@ -27819,7 +27809,6 @@
},
/area/station/public/storage/tools)
"bDP" = (
-/obj/structure/table/reinforced,
/obj/item/stack/rods,
/obj/item/stack/cable_coil/random,
/obj/item/stack/cable_coil/random,
@@ -27829,6 +27818,7 @@
icon_state = "0-4"
},
/obj/effect/turf_decal/delivery/hollow,
+/obj/structure/shelf,
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools)
"bDQ" = (
@@ -28504,7 +28494,6 @@
/turf/simulated/floor/carpet,
/area/station/command/bridge)
"bFL" = (
-/obj/structure/rack,
/obj/item/storage/toolbox/emergency,
/obj/item/wrench,
/obj/machinery/light/small,
@@ -28512,6 +28501,7 @@
pixel_y = -3
},
/obj/item/multitool/command,
+/obj/structure/shelf/command,
/turf/simulated/floor/plasteel{
dir = 10;
icon_state = "darkblue"
@@ -30523,7 +30513,6 @@
/turf/simulated/floor/plasteel/dark,
/area/station/engineering/tech_storage)
"bKA" = (
-/obj/structure/rack,
/obj/item/book/manual/wiki/hacking,
/obj/item/book/manual/wiki/engineering_guide,
/obj/item/book/manual/wiki/engineering_construction,
@@ -30531,6 +30520,7 @@
pixel_x = -32
},
/obj/effect/turf_decal/delivery/hollow,
+/obj/structure/shelf,
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools)
"bKB" = (
@@ -30995,7 +30985,7 @@
/turf/space,
/area/space/nearstation)
"bLN" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"bLO" = (
@@ -31736,7 +31726,7 @@
icon_state = "1-2"
},
/obj/effect/spawner/random_spawners/blood_often,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"bNI" = (
@@ -35474,7 +35464,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"bYa" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
@@ -36799,7 +36789,6 @@
/obj/structure/sign/poster/official/random{
pixel_y = 32
},
-/obj/effect/decal/cleanable/dirt,
/turf/simulated/wall,
/area/station/maintenance/port)
"cbE" = (
@@ -38225,7 +38214,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/engineering/smes)
"cfn" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/port)
"cfo" = (
@@ -38570,12 +38559,12 @@
},
/area/station/security/evidence)
"cgp" = (
-/obj/structure/table,
/obj/item/hand_labeler,
/obj/item/storage/box/evidence,
/obj/item/storage/box/evidence,
/obj/item/pen,
/obj/machinery/firealarm/directional/south,
+/obj/structure/shelf/security,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -44755,11 +44744,11 @@
/turf/simulated/floor/plating/airless,
/area/station/engineering/control)
"cxH" = (
-/obj/structure/rack,
/obj/item/clothing/gloves/color/black,
/obj/item/wrench,
/obj/item/clothing/glasses/meson/engine,
/obj/effect/turf_decal/delivery/hollow,
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"cxI" = (
@@ -46961,8 +46950,8 @@
/turf/simulated/floor/plasteel/dark,
/area/station/ai_monitored/storage/eva)
"cDP" = (
-/obj/structure/rack,
/obj/machinery/light/small,
+/obj/structure/shelf,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cDQ" = (
@@ -47277,7 +47266,7 @@
},
/area/station/hallway/primary/central/se)
"cFg" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"cFh" = (
@@ -48784,7 +48773,7 @@
/turf/simulated/wall,
/area/station/maintenance/electrical)
"cIB" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/electrical)
"cIC" = (
@@ -53882,7 +53871,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/abandonedbar)
"dbK" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/port2)
"dbL" = (
@@ -55342,7 +55331,7 @@
},
/area/station/hallway/secondary/entry/south)
"dhi" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/construction)
"dhj" = (
@@ -56573,7 +56562,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/maintenance/abandonedbar)
"dlJ" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"dlK" = (
@@ -56709,7 +56698,7 @@
/area/station/medical/medbay)
"dmy" = (
/obj/structure/girder,
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"dmG" = (
@@ -57062,7 +57051,13 @@
},
/area/station/science/genetics)
"dnW" = (
-/turf/simulated/floor/light,
+/obj/machinery/atmospherics/pipe/simple/visible{
+ dir = 4
+ },
+/obj/machinery/light/floor,
+/turf/simulated/floor/plasteel{
+ icon_state = "neutralfull"
+ },
/area/station/engineering/atmos)
"dnX" = (
/obj/structure/chair/sofa/left{
@@ -58652,7 +58647,7 @@
},
/area/station/medical/virology)
"dvS" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/theatre)
"dvT" = (
@@ -59467,7 +59462,7 @@
},
/area/station/hallway/primary/aft/south)
"dBk" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/medical/morgue)
"dBp" = (
@@ -62701,7 +62696,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/maintenance/apmaint)
"dRJ" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/maintenance/apmaint)
"dRK" = (
@@ -65259,10 +65254,6 @@
/obj/machinery/atmospherics/portable/canister/nitrogen,
/turf/simulated/floor/plasteel,
/area/station/science/storage)
-"euK" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/legal/lawoffice)
"evE" = (
/obj/structure/cable{
d1 = 1;
@@ -65693,7 +65684,7 @@
},
/area/station/medical/surgery/primary)
"eHp" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"eHD" = (
@@ -68427,10 +68418,6 @@
icon_state = "whitegreen"
},
/area/station/medical/virology)
-"ghZ" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/fore)
"git" = (
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 4
@@ -68873,8 +68860,8 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"gyp" = (
@@ -70396,7 +70383,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/library)
"huq" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"huN" = (
@@ -71516,7 +71503,6 @@
},
/area/station/hallway/secondary/exit)
"ibR" = (
-/obj/structure/rack,
/obj/item/gun/energy/gun{
pixel_x = 3;
pixel_y = 3
@@ -71532,6 +71518,7 @@
pixel_x = -3;
pixel_y = -3
},
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/station/security/armory/secure)
"ibT" = (
@@ -73048,8 +73035,8 @@
},
/area/station/hallway/primary/central/nw)
"iXL" = (
-/obj/structure/rack,
/obj/effect/spawner/random/maintenance,
+/obj/effect/spawner/random/storage,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"iXM" = (
@@ -73334,7 +73321,7 @@
},
/area/station/engineering/atmos)
"jhk" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"jhr" = (
@@ -75086,7 +75073,7 @@
dir = 4
},
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"kju" = (
@@ -76735,7 +76722,7 @@
/turf/simulated/floor/plating,
/area/station/science/server)
"llm" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -76835,7 +76822,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard2)
"lnY" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"loX" = (
@@ -77338,7 +77325,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"lAG" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"lAO" = (
@@ -77676,7 +77663,7 @@
},
/area/station/hallway/secondary/entry/south)
"lMM" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"lNF" = (
@@ -77777,7 +77764,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"lQl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"lQs" = (
@@ -79061,7 +79048,6 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/port2)
"mEk" = (
-/obj/structure/rack,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/item/gun/energy/disabler{
pixel_x = 3;
@@ -79072,6 +79058,7 @@
pixel_x = -3;
pixel_y = -3
},
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/station/security/armory/secure)
"mEu" = (
@@ -79130,7 +79117,7 @@
/turf/simulated/floor/plating,
/area/station/science/toxins/launch)
"mHK" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/barricade/wooden,
/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance,
/turf/simulated/floor/plating,
@@ -80320,7 +80307,6 @@
/obj/structure/sign/poster/official/cleanliness{
pixel_y = 32
},
-/obj/effect/decal/cleanable/dirt,
/turf/simulated/wall,
/area/station/security/permabrig)
"nlo" = (
@@ -82321,7 +82307,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"osF" = (
@@ -82905,7 +82891,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/science/xenobiology)
"oJY" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"oKa" = (
@@ -83608,10 +83594,6 @@
/obj/effect/spawner/window/reinforced/grilled,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
-"pcm" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/service/hydroponics)
"pcr" = (
/obj/effect/spawner/window/grilled,
/turf/simulated/floor/plating,
@@ -85212,6 +85194,12 @@
/obj/effect/mapping_helpers/airlock/access/all/engineering/maintenance,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
+"pXV" = (
+/obj/machinery/light/floor,
+/turf/simulated/floor/plasteel{
+ icon_state = "neutralfull"
+ },
+/area/station/engineering/atmos)
"pYb" = (
/obj/structure/flora/grass/jungle,
/turf/simulated/floor/plating,
@@ -85947,7 +85935,6 @@
},
/area/station/medical/storage)
"qys" = (
-/obj/structure/table/glass,
/obj/item/storage/box/syringes{
pixel_x = 4;
pixel_y = 4
@@ -85957,6 +85944,7 @@
name = "east bump";
pixel_x = 28
},
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "whiteblue"
@@ -87833,7 +87821,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/west)
"ryp" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"ryz" = (
@@ -88531,10 +88519,11 @@
/turf/simulated/floor/carpet,
/area/station/science/robotics/showroom)
"rUU" = (
-/obj/machinery/atmospherics/pipe/simple/visible{
- dir = 4
+/obj/machinery/atmospherics/pipe/simple/visible,
+/obj/machinery/light/floor,
+/turf/simulated/floor/plasteel{
+ icon_state = "neutralfull"
},
-/turf/simulated/floor/light,
/area/station/engineering/atmos)
"rVB" = (
/obj/structure/table/reinforced,
@@ -90680,7 +90669,7 @@
/turf/simulated/floor/plasteel/white,
/area/station/science/research)
"sRU" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/library)
"sSf" = (
@@ -92946,7 +92935,7 @@
/turf/simulated/floor/plasteel/grimy,
/area/station/service/chapel/office)
"ugI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"ugQ" = (
@@ -95004,6 +94993,11 @@
/obj/item/weldingtool/research,
/turf/simulated/floor/plasteel/white,
/area/station/science/explab)
+"vys" = (
+/obj/effect/spawner/random/maintenance,
+/obj/effect/spawner/random/storage,
+/turf/simulated/floor/plating,
+/area/station/maintenance/port)
"vyO" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -97863,7 +97857,7 @@
},
/area/station/security/permabrig)
"xbW" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/aft)
"xcs" = (
@@ -98455,7 +98449,7 @@
/turf/simulated/floor/plasteel/white,
/area/station/medical/virology)
"xtZ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/library)
"xuv" = (
@@ -98848,7 +98842,7 @@
},
/area/station/medical/medbay)
"xFW" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft)
"xFZ" = (
@@ -119857,7 +119851,7 @@ cie
cie
cie
bXU
-jJj
+vys
drn
dhG
cHA
@@ -124173,11 +124167,11 @@ aSD
iYX
aVF
ban
-dnW
+ban
tNx
lth
fgF
-dnW
+ban
wKG
lfU
aYt
@@ -124687,12 +124681,12 @@ aSD
aUc
aVF
ban
+pXV
ban
ban
ban
ban
-ban
-jgG
+dnW
ban
biQ
bkC
@@ -125972,11 +125966,11 @@ aSD
aUc
aVF
jgG
-rUU
+jgG
iUf
iUf
iUf
-dnW
+ban
nae
ban
aZm
@@ -126486,12 +126480,12 @@ aSH
aUd
aVF
jVW
+rUU
beJ
beJ
beJ
beJ
-beJ
-beJ
+rUU
bhk
biU
bkJ
@@ -132145,7 +132139,7 @@ aor
aor
tGh
mui
-pcm
+baF
baF
baF
baF
@@ -132896,7 +132890,7 @@ aAp
awX
abj
aRu
-ghZ
+awX
aFq
aVK
azb
@@ -133412,7 +133406,7 @@ gAL
abj
aVK
qZq
-ghZ
+awX
aDt
lfg
lfg
@@ -134427,7 +134421,7 @@ apM
aqJ
arB
aoo
-atq
+aVK
aVK
auW
awa
@@ -144964,7 +144958,7 @@ axm
arj
amG
amG
-auO
+axm
apo
avq
axm
@@ -149655,7 +149649,7 @@ bYM
bYM
bYM
sTk
-euK
+bYM
cnP
coS
cqy
diff --git a/_maps/map_files/stations/emeraldstation.dmm b/_maps/map_files/stations/emeraldstation.dmm
index 7e2d12d1d425..149dc06e9d84 100644
--- a/_maps/map_files/stations/emeraldstation.dmm
+++ b/_maps/map_files/stations/emeraldstation.dmm
@@ -299,7 +299,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
"aeo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall,
/area/station/maintenance/dorms/starboard)
@@ -971,7 +971,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/fore)
@@ -1320,7 +1320,7 @@
},
/area/station/science/research)
"aok" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint2)
"aor" = (
@@ -3083,10 +3083,6 @@
icon_state = "dark"
},
/area/station/telecomms/computer)
-"aGa" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/apmaint)
"aGb" = (
/obj/machinery/camera{
c_tag = "Central Hallway North";
@@ -3781,7 +3777,7 @@
},
/area/station/maintenance/apmaint)
"aMQ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -4269,7 +4265,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/engine/supermatter)
"aRk" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/solar_maintenance/fore_port)
"aRm" = (
@@ -4329,7 +4325,7 @@
/turf/simulated/floor/wood,
/area/station/service/library)
"aRD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/fore)
"aRO" = (
@@ -4639,10 +4635,6 @@
},
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/west)
-"aVo" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/station/science/server)
"aVp" = (
/obj/structure/closet/emcloset,
/turf/simulated/floor/plasteel{
@@ -5128,7 +5120,7 @@
},
/area/station/turret_protected/ai)
"aYL" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -5701,7 +5693,7 @@
},
/area/station/supply/expedition)
"beq" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -6023,7 +6015,7 @@
/turf/simulated/floor/wood,
/area/station/service/bar)
"bhp" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/abandoned_office)
"bhq" = (
@@ -6626,7 +6618,7 @@
},
/area/station/service/hydroponics)
"bmZ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"bnc" = (
@@ -6787,7 +6779,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"boC" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/engineering/secure_storage)
"boD" = (
@@ -6972,7 +6964,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"bpT" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
@@ -7372,7 +7364,7 @@
"btt" = (
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/disposalpipe/junction{
dir = 1
@@ -9614,7 +9606,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools)
"bMX" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"bNa" = (
@@ -9904,7 +9896,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"bPz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard)
"bPA" = (
@@ -10437,7 +10429,7 @@
},
/area/station/science/break_room)
"bTR" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
@@ -11174,7 +11166,7 @@
},
/area/station/engineering/gravitygenerator)
"cbp" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/sign/poster/contraband/random{
pixel_x = 32
@@ -12100,7 +12092,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/apmaint2)
"ckV" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -12138,7 +12130,7 @@
},
/area/station/command/bridge)
"cln" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/aft)
"clo" = (
@@ -12158,7 +12150,7 @@
/area/station/maintenance/asmaint)
"cly" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/hallway/primary/central/ne)
"clF" = (
@@ -12283,7 +12275,7 @@
},
/area/station/medical/virology)
"cmE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -13173,7 +13165,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools/auxiliary)
"cvT" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -13706,7 +13698,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"cBD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"cBH" = (
@@ -13826,7 +13818,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/engine)
"cCG" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/fore)
@@ -15067,7 +15059,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"cPy" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/starboard)
@@ -15129,7 +15121,7 @@
},
/area/station/science/research)
"cPS" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/structure/cable{
@@ -16836,10 +16828,6 @@
icon_state = "whitepurple"
},
/area/station/science/xenobiology)
-"dhk" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/security/fore)
"dht" = (
/obj/structure/cable{
d1 = 1;
@@ -18748,7 +18736,7 @@
/area/station/hallway/primary/central/se)
"dzk" = (
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
"dzA" = (
@@ -18800,7 +18788,7 @@
},
/area/station/service/kitchen)
"dAe" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -19330,7 +19318,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/engine)
"dEV" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -20298,7 +20286,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/north)
"dOx" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/alarm/directional/east,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -20715,7 +20703,7 @@
},
/area/station/public/shops)
"dTb" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -22028,7 +22016,7 @@
/turf/simulated/floor/wood,
/area/station/public/dorms)
"ehO" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -22249,7 +22237,7 @@
},
/area/station/security/processing)
"ejV" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -23285,11 +23273,6 @@
icon_state = "yellowcorner"
},
/area/station/engineering/atmos/storage)
-"etY" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall,
-/area/station/maintenance/abandonedbar)
"eue" = (
/obj/machinery/atmospherics/unary/vent_scrubber/on{
dir = 4
@@ -23329,7 +23312,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"euu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/abandonedbar)
"euA" = (
@@ -23648,11 +23631,6 @@
},
/turf/simulated/wall,
/area/station/engineering/equipmentstorage)
-"ewY" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/fungus_maybe,
-/turf/simulated/wall,
-/area/station/maintenance/abandonedbar)
"exr" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
@@ -23770,13 +23748,8 @@
/obj/machinery/atmospherics/unary/vent_pump/on,
/turf/simulated/floor/carpet,
/area/station/command/office/hop)
-"eyn" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/station/maintenance/security/aft_starboard)
"eyo" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
@@ -26185,7 +26158,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"eVV" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -26418,7 +26391,7 @@
},
/area/station/medical/virology)
"eYc" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -26784,7 +26757,7 @@
/area/station/engineering/atmos)
"faA" = (
/obj/effect/decal/cleanable/glass,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
@@ -27689,7 +27662,7 @@
},
/area/station/medical/reception)
"fis" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/electrical)
"fiv" = (
@@ -29458,7 +29431,7 @@
/turf/simulated/floor/wood,
/area/station/service/clown)
"fxy" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"fxz" = (
@@ -30023,7 +29996,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"fDf" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/abandoned_garden)
"fDi" = (
@@ -30122,7 +30095,7 @@
/turf/simulated/floor/wood,
/area/station/security/permabrig)
"fEp" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -30225,7 +30198,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"fFW" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/spawner/lootdrop{
loot = list(/obj/item/cigbutt,/obj/item/trash/cheesie,/obj/item/trash/candy,/obj/item/trash/chips,/obj/item/trash/pistachios,/obj/item/trash/plate,/obj/item/trash/popcorn,/obj/item/trash/raisins,/obj/item/trash/sosjerky,/obj/item/trash/syndi_cakes);
name = "trash spawner"
@@ -30345,7 +30318,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/west)
"fGG" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -30505,7 +30478,7 @@
/turf/space,
/area/station/engineering/solar/aft_starboard)
"fIk" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"fIl" = (
@@ -30816,7 +30789,7 @@
/turf/simulated/floor/wood,
/area/station/public/vacant_office)
"fKS" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -31319,7 +31292,7 @@
},
/area/station/security/permabrig)
"fOz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -32821,7 +32794,7 @@
},
/area/station/public/dorms)
"gez" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/generic,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
@@ -33540,7 +33513,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/sign/poster/contraband/random{
pixel_y = -32
@@ -35653,11 +35626,6 @@
/obj/machinery/hydroponics/constructable,
/turf/simulated/floor/plasteel,
/area/station/service/hydroponics)
-"gFS" = (
-/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/turf/simulated/wall,
-/area/station/maintenance/starboard)
"gFW" = (
/obj/structure/cable{
d1 = 1;
@@ -35816,7 +35784,7 @@
icon_state = "1-2"
},
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/port)
"gHn" = (
@@ -36434,7 +36402,7 @@
},
/area/station/security/prison/cell_block)
"gNy" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -36986,7 +36954,7 @@
},
/area/station/medical/storage/secondary)
"gTE" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/starboard)
"gTI" = (
@@ -37331,7 +37299,7 @@
},
/area/station/legal/lawoffice)
"gWM" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 2;
@@ -37514,7 +37482,7 @@
/turf/simulated/floor/grass/no_creep,
/area/station/medical/virology)
"gYD" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"gYF" = (
@@ -37897,7 +37865,7 @@
/turf/simulated/floor/plating/airless,
/area/station/turret_protected/aisat/interior)
"hbO" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -37980,7 +37948,7 @@
d2 = 8;
icon_state = "1-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -38472,7 +38440,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"hhe" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
icon_state = "redyellowfull"
},
@@ -40182,7 +40150,7 @@
/turf/simulated/floor/engine/xenobio,
/area/station/science/xenobiology)
"hwR" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard)
@@ -44178,7 +44146,7 @@
/turf/simulated/floor/carpet,
/area/station/legal/courtroom)
"ijv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"ijw" = (
@@ -44198,7 +44166,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/storage)
"ijF" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
@@ -45089,7 +45057,7 @@
},
/area/station/science/genetics)
"itb" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/dorms/fore)
"ith" = (
@@ -46260,7 +46228,7 @@
/turf/simulated/floor/plating,
/area/station/security/permabrig)
"iEr" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/spawner/random_spawners/oil_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
@@ -46628,7 +46596,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"iHn" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"iHq" = (
@@ -46915,7 +46883,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/port)
@@ -47658,7 +47626,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"iQH" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -48155,7 +48123,7 @@
/turf/simulated/floor/carpet/arcade,
/area/station/public/arcade)
"iVl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"iVu" = (
@@ -50923,7 +50891,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/lobby)
"jwE" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/assembly_line)
"jwF" = (
@@ -51240,7 +51208,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/hallway/primary/central/ne)
"jzG" = (
@@ -51351,7 +51319,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"jAl" = (
@@ -51361,7 +51329,7 @@
/turf/simulated/floor/grass,
/area/station/hallway/secondary/exit)
"jAv" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -52013,7 +51981,7 @@
},
/area/station/science/storage)
"jFM" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 8;
@@ -52293,7 +52261,7 @@
/obj/structure/sign/poster/contraband/random{
pixel_x = -32
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"jIn" = (
@@ -52459,7 +52427,7 @@
},
/area/station/security/evidence)
"jJF" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
@@ -53082,10 +53050,6 @@
/obj/structure/sign/explosives,
/turf/simulated/floor/plating,
/area/station/science/toxins/test)
-"jPB" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/starboard)
"jPE" = (
/obj/structure/cable{
d1 = 1;
@@ -53147,7 +53111,7 @@
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_port)
@@ -53574,7 +53538,7 @@
/turf/simulated/floor/carpet,
/area/station/hallway/secondary/entry/lounge)
"jUP" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
@@ -53778,7 +53742,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"jWA" = (
@@ -54559,7 +54523,7 @@
},
/area/station/maintenance/apmaint)
"kdV" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -55598,7 +55562,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/fore)
"koz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard)
@@ -55715,7 +55679,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 9
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/landmark/damageturf,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
@@ -57221,7 +57185,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"kFs" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -57637,7 +57601,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -58373,7 +58337,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"kQk" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -58394,7 +58358,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"kQw" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -58583,7 +58547,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos)
"kRC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/manifold/hidden/cyan{
dir = 1
},
@@ -58693,7 +58657,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"kTf" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"kTl" = (
@@ -59082,7 +59046,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"kXM" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/abandoned_garden)
"kXZ" = (
@@ -59218,7 +59182,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"kZk" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/primary/central/ne)
"kZo" = (
@@ -59751,7 +59715,7 @@
},
/area/station/turret_protected/ai)
"lfn" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
@@ -60430,7 +60394,7 @@
},
/area/station/security/prison/cell_block)
"llN" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/port)
"llQ" = (
@@ -60791,7 +60755,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"lpl" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/medical/morgue)
"lpm" = (
@@ -61459,7 +61423,7 @@
/turf/simulated/floor/plating,
/area/station/science/toxins/mixing)
"lvf" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"lvl" = (
@@ -61801,7 +61765,7 @@
},
/area/station/medical/cloning)
"lxY" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/asmaint)
"lya" = (
@@ -61897,7 +61861,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"lyU" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/structure/disposalpipe/segment,
@@ -62063,7 +62027,7 @@
},
/area/station/supply/lobby)
"lzK" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -62594,7 +62558,7 @@
},
/area/station/engineering/atmos)
"lEX" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/starboard)
"lFb" = (
@@ -63407,7 +63371,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
"lOB" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -63994,7 +63958,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"lVm" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -64650,7 +64614,7 @@
/area/station/public/dorms)
"mcn" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fpmaint)
"mct" = (
@@ -65738,7 +65702,7 @@
},
/area/station/command/office/cmo)
"mmI" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"mmJ" = (
@@ -65937,7 +65901,7 @@
d2 = 4;
icon_state = "2-4"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -66139,7 +66103,7 @@
/turf/simulated/floor/wood,
/area/station/public/vacant_office)
"mqJ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -67628,7 +67592,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
"mGi" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -67771,7 +67735,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/ne)
"mIg" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -69594,7 +69558,7 @@
/turf/simulated/floor/plasteel,
/area/station/command/teleporter)
"mZE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/ne)
"mZK" = (
@@ -69989,7 +69953,7 @@
},
/area/station/hallway/primary/central/sw)
"ndJ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/landmark/burnturf,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
@@ -70379,7 +70343,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/hardsuitstorage)
"ngX" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
@@ -71395,7 +71359,7 @@
},
/area/station/service/chapel)
"nqq" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/aft2)
"nqr" = (
@@ -72316,7 +72280,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos)
"nzv" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/barricade/wooden,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
@@ -72557,7 +72521,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools/auxiliary)
"nBB" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/disposalpipe/segment{
dir = 4
@@ -72946,7 +72910,7 @@
},
/area/station/supply/lobby)
"nFE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/fore)
"nFI" = (
@@ -74091,7 +74055,7 @@
},
/area/station/medical/medbay)
"nOx" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -75496,7 +75460,7 @@
},
/area/station/security/permabrig)
"oaV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft2)
"oaW" = (
@@ -76248,7 +76212,7 @@
/turf/simulated/floor/plating,
/area/station/service/chapel/funeral)
"ohZ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
"oic" = (
@@ -76915,7 +76879,7 @@
},
/area/station/public/sleep)
"oni" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -77083,7 +77047,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
"ooR" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/security/aft_port)
"ooY" = (
@@ -77509,7 +77473,7 @@
},
/area/station/service/kitchen)
"osB" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -79000,8 +78964,8 @@
},
/area/station/security/prisonershuttle)
"oIR" = (
-/obj/machinery/smartfridge,
/obj/machinery/door/firedoor,
+/obj/machinery/smartfridge/food/chef,
/turf/simulated/floor/plasteel,
/area/station/service/hydroponics)
"oIU" = (
@@ -79071,7 +79035,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/ne)
"oJh" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/solar_maintenance/fore_port)
"oJl" = (
@@ -79136,7 +79100,7 @@
/turf/simulated/floor/lava/plasma/fuming,
/area/station/engineering/atmos/asteroid_core)
"oKb" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -79684,7 +79648,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/south)
"oNO" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/blood/drip,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
@@ -80984,7 +80948,7 @@
/turf/simulated/floor/carpet,
/area/station/security/detective)
"oYL" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
@@ -81186,7 +81150,7 @@
},
/area/station/science/xenobiology)
"pav" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
@@ -81613,7 +81577,7 @@
},
/area/station/service/kitchen)
"peH" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/structure/disposalpipe/segment,
@@ -81822,7 +81786,7 @@
},
/area/station/hallway/primary/fore/north)
"pgk" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -81860,7 +81824,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/ai_transit_tube)
"pgr" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -83223,7 +83187,7 @@
/turf/simulated/floor/carpet,
/area/station/hallway/primary/central/se)
"puz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
@@ -83636,7 +83600,7 @@
},
/area/station/medical/reception)
"pzm" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"pzs" = (
@@ -83694,7 +83658,7 @@
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_port)
"pAf" = (
@@ -84756,7 +84720,7 @@
/turf/simulated/floor/plating,
/area/station/aisat/service)
"pIP" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"pIU" = (
@@ -85221,7 +85185,7 @@
},
/area/station/turret_protected/aisat/interior)
"pMM" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -85254,7 +85218,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/starboard)
"pNl" = (
@@ -86393,7 +86357,7 @@
/turf/simulated/floor/wood,
/area/station/service/bar)
"pZQ" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"pZU" = (
@@ -86556,7 +86520,7 @@
},
/area/station/legal/courtroom)
"qbz" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_port)
"qbZ" = (
@@ -87236,7 +87200,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"qib" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
@@ -87929,7 +87893,7 @@
"qpR" = (
/obj/effect/decal/cleanable/shreds,
/obj/item/airlock_electronics/destroyed,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -89773,7 +89737,7 @@
/turf/simulated/floor/carpet,
/area/station/medical/psych)
"qIf" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/dorms/starboard)
"qIk" = (
@@ -89991,10 +89955,6 @@
"qKo" = (
/turf/simulated/wall,
/area/station/hallway/primary/central/north)
-"qKt" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall/r_wall,
-/area/station/maintenance/asmaint)
"qKE" = (
/obj/structure/chair,
/turf/simulated/floor/plasteel,
@@ -90280,7 +90240,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/aft2)
"qMW" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -90854,11 +90814,11 @@
/turf/simulated/floor/carpet,
/area/station/hallway/secondary/entry/lounge)
"qTo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft)
"qTH" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
"qTK" = (
@@ -91439,7 +91399,7 @@
/turf/simulated/floor/plating,
/area/station/security/warden)
"qYA" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -92134,7 +92094,7 @@
},
/area/station/medical/morgue)
"reh" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"reu" = (
@@ -92435,7 +92395,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 8
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -93840,7 +93800,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/west)
"rtG" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"rtR" = (
@@ -93916,7 +93876,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/port)
"ruB" = (
@@ -94065,7 +94025,7 @@
},
/area/station/public/shops)
"rvy" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"rvz" = (
@@ -95552,7 +95512,7 @@
},
/area/station/science/storage)
"rKe" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -95639,7 +95599,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"rKO" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint2)
@@ -98863,7 +98823,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
"snP" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -99303,7 +99263,7 @@
/turf/simulated/floor/wood,
/area/station/maintenance/dorms/starboard)
"ssV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
/turf/simulated/wall,
/area/station/maintenance/starboard)
@@ -99359,7 +99319,7 @@
},
/area/station/medical/break_room)
"stp" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"stv" = (
@@ -99705,7 +99665,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"sww" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint2)
@@ -100294,7 +100254,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint2)
"sBB" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
@@ -101287,7 +101247,7 @@
/turf/simulated/floor/plasteel,
/area/station/command/office/ce)
"sKI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -101969,7 +101929,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"sRI" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"sRJ" = (
@@ -102119,7 +102079,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"sTJ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -102333,7 +102293,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"sVz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -102725,7 +102685,7 @@
},
/area/station/medical/virology/lab)
"sYo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/service/library)
"sYy" = (
@@ -103198,7 +103158,7 @@
/turf/simulated/floor/grass,
/area/station/public/park)
"tcL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/security/fore)
"tdh" = (
@@ -103692,7 +103652,7 @@
},
/area/station/supply/storage)
"thk" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -103808,7 +103768,7 @@
/turf/space,
/area/space/nearstation)
"tiu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/turf_decal/siding{
dir = 9
},
@@ -104996,7 +104956,7 @@
/turf/simulated/floor/engine/xenobio,
/area/station/science/xenobiology)
"tsp" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
@@ -105286,7 +105246,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint2)
"tuC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
@@ -106087,7 +106047,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos)
"tEl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -106503,7 +106463,7 @@
/turf/simulated/floor/grass,
/area/station/security/permabrig)
"tIC" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"tID" = (
@@ -106904,7 +106864,7 @@
},
/area/station/medical/cloning)
"tLi" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"tLr" = (
@@ -106954,7 +106914,7 @@
},
/area/station/telecomms/computer)
"tMm" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_port)
"tMn" = (
@@ -107466,7 +107426,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/starboard)
"tSJ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 2;
d2 = 4;
@@ -107738,7 +107698,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/aft)
"tUA" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/storage)
"tUI" = (
@@ -107837,7 +107797,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/engine)
"tVF" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/starboard)
@@ -108176,7 +108136,7 @@
/area/station/medical/cloning)
"tYb" = (
/obj/effect/landmark/damageturf,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -108251,7 +108211,7 @@
},
/area/station/public/dorms)
"tYI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -108876,7 +108836,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/park)
"uej" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/engineering/tech_storage)
"uen" = (
@@ -109599,7 +109559,7 @@
},
/area/station/hallway/secondary/entry/lounge)
"ulr" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -109654,7 +109614,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"umn" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -109787,7 +109747,7 @@
},
/area/station/service/theatre)
"unV" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -109927,7 +109887,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
"uph" = (
@@ -110839,7 +110799,7 @@
},
/area/station/science/lobby)
"uye" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fsmaint2)
"uyf" = (
@@ -111236,7 +111196,7 @@
},
/area/station/hallway/primary/central/ne)
"uBC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
@@ -111638,7 +111598,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/miningdock)
"uFA" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"uFC" = (
@@ -111954,7 +111914,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/east)
"uHL" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -113235,7 +113195,7 @@
icon_state = "1-2"
},
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/dorms/starboard)
"uTQ" = (
@@ -113995,7 +113955,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/storage)
"vbP" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"vbS" = (
@@ -114360,7 +114320,7 @@
/turf/simulated/floor/grass,
/area/station/hallway/secondary/exit)
"vfZ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "redyellowfull"
},
@@ -114932,7 +114892,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint2)
"vlS" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"vlT" = (
@@ -115882,7 +115842,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/east)
"vuF" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/fore)
@@ -117085,7 +117045,7 @@
},
/area/station/security/checkpoint/secondary)
"vGd" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -117920,7 +117880,7 @@
},
/area/station/service/hydroponics)
"vMJ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -120659,7 +120619,7 @@
},
/area/station/service/bar)
"wno" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_port)
@@ -120902,7 +120862,7 @@
},
/area/station/medical/sleeper)
"woU" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -121012,7 +120972,7 @@
},
/area/station/maintenance/asmaint)
"wpY" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/decorations/sticky_decorations/flammable/tinsel/halloween{
pixel_y = 20
},
@@ -121946,7 +121906,7 @@
},
/area/station/engineering/atmos/asteroid_filtering)
"wAK" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/service/janitor)
"wAM" = (
@@ -122006,7 +121966,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"wCd" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -122423,7 +122383,7 @@
},
/area/station/medical/virology)
"wHk" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"wHn" = (
@@ -122605,7 +122565,7 @@
},
/area/station/engineering/atmos/transit)
"wJj" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/port)
@@ -123107,7 +123067,7 @@
},
/area/station/science/genetics)
"wNQ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 1;
@@ -123450,7 +123410,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/incinerator)
"wQC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -124065,7 +124025,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"wXp" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/security/aft_starboard)
"wXr" = (
@@ -124499,7 +124459,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"xbZ" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
"xcb" = (
@@ -124624,7 +124584,7 @@
/turf/simulated/floor/wood,
/area/station/legal/courtroom/gallery)
"xdA" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/engineering/gravitygenerator)
"xdB" = (
@@ -124666,7 +124626,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/west)
"xdQ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/security/aft_starboard)
"xdR" = (
@@ -124832,7 +124792,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/engine)
"xfz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -126027,7 +125987,7 @@
},
/area/station/security/permabrig)
"xqe" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -126164,7 +126124,7 @@
/area/station/maintenance/dorms/starboard)
"xrb" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -127213,7 +127173,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/dorms/starboard)
"xBo" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"xBs" = (
@@ -127368,10 +127328,6 @@
/obj/structure/flora/ausbushes/reedbush,
/turf/simulated/floor/grass,
/area/station/public/dorms)
-"xCE" = (
-/obj/effect/decal/cleanable/generic,
-/turf/simulated/wall,
-/area/station/maintenance/fsmaint)
"xCI" = (
/obj/structure/closet/l3closet/janitor,
/obj/machinery/light{
@@ -127405,7 +127361,7 @@
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable{
d1 = 4;
@@ -128053,7 +128009,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/engine)
"xJV" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -128363,7 +128319,7 @@
icon_state = "1-2"
},
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/security/fore)
@@ -128396,7 +128352,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"xNz" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/sign/poster/contraband/random{
pixel_y = 32
},
@@ -128416,7 +128372,7 @@
/turf/simulated/floor/plasteel,
/area/station/legal/courtroom)
"xNN" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/security/aft_starboard)
"xNP" = (
@@ -128961,7 +128917,7 @@
/turf/simulated/floor/grass,
/area/station/hallway/secondary/exit)
"xTH" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
@@ -139037,8 +138993,8 @@ oQf
oQf
oQf
oQf
-aGa
-aGa
+oQf
+oQf
oQf
oQf
oQf
@@ -170070,7 +170026,7 @@ oPy
avl
jIe
ubU
-xCE
+gdv
tLi
mvJ
kAO
@@ -171316,8 +171272,8 @@ qNS
qNS
qNS
qNS
-dhk
-dhk
+cwI
+cwI
iOR
dOx
cjO
@@ -172089,7 +172045,7 @@ vYn
jIn
lFR
fGR
-dhk
+cwI
cwI
qmg
fXf
@@ -175523,7 +175479,7 @@ mlm
rqT
jCt
txo
-jPB
+caq
bXh
nQD
bsO
@@ -178132,7 +178088,7 @@ ahk
cXx
nZP
iLJ
-aVo
+xGq
fOz
nuJ
fEa
@@ -180153,7 +180109,7 @@ cAv
wSV
nrP
ekk
-gFS
+cGm
fIk
stp
caq
@@ -182438,7 +182394,7 @@ aZh
aZh
mXw
sAp
-gFS
+cGm
xTH
mwB
jcy
@@ -184052,7 +184008,7 @@ kTf
pSv
adX
lGk
-qKt
+qsn
qsn
eak
tbq
@@ -184524,7 +184480,7 @@ aAN
bMX
iWS
nFo
-gFS
+cGm
iEK
caq
jnP
@@ -185491,7 +185447,7 @@ kcF
wYs
alJ
ipU
-eyn
+xNN
ohZ
cJE
qKm
@@ -186109,7 +186065,7 @@ vkZ
ybH
wTf
het
-etY
+kdx
kdx
hST
euu
@@ -186366,7 +186322,7 @@ bAR
hST
hST
lKD
-ewY
+euu
wqs
lpW
hfF
diff --git a/_maps/map_files/stations/metastation.dmm b/_maps/map_files/stations/metastation.dmm
index 744fe6d45ab8..6a69edd21d26 100644
--- a/_maps/map_files/stations/metastation.dmm
+++ b/_maps/map_files/stations/metastation.dmm
@@ -1779,7 +1779,7 @@
},
/area/station/engineering/solar/fore_port)
"aon" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aou" = (
@@ -2222,7 +2222,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aqO" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
@@ -3202,7 +3202,7 @@
/turf/simulated/wall,
/area/station/public/mrchangs)
"avs" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"avv" = (
@@ -4095,7 +4095,7 @@
},
/area/station/command/office/captain/bedroom)
"ayk" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"ayr" = (
@@ -4118,7 +4118,7 @@
/turf/simulated/floor/plating,
/area/station/public/locker)
"ayv" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"ayx" = (
@@ -4415,7 +4415,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -4541,7 +4541,7 @@
},
/area/station/public/dorms)
"aAf" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
@@ -4584,7 +4584,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"aAA" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aAC" = (
@@ -4770,11 +4770,11 @@
},
/area/station/security/permabrig)
"aBx" = (
-/obj/structure/rack,
/obj/structure/reagent_dispensers/peppertank{
pixel_x = -32
},
/obj/item/gun/energy/ionrifle,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkred"
@@ -5808,7 +5808,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard2)
"aFM" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -5819,7 +5819,7 @@
},
/area/station/maintenance/fsmaint)
"aFO" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aFQ" = (
@@ -5853,7 +5853,6 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"aGb" = (
-/obj/structure/table,
/obj/effect/turf_decal/delivery/hollow,
/obj/item/storage/belt/utility,
/obj/item/storage/belt/utility,
@@ -5861,6 +5860,7 @@
/obj/item/clothing/glasses/meson,
/obj/item/clothing/glasses/meson,
/obj/item/clothing/glasses/meson,
+/obj/structure/shelf/engineering,
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"aGc" = (
@@ -6429,7 +6429,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/dorms)
"aIo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aIp" = (
@@ -6829,7 +6829,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/fore/north)
"aJl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"aJm" = (
@@ -7334,7 +7334,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/atmos/distribution)
"aLc" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -7880,7 +7880,7 @@
/turf/simulated/floor/wood,
/area/station/service/clown)
"aMB" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -7944,7 +7944,6 @@
/turf/simulated/floor/plasteel,
/area/station/public/construction)
"aMN" = (
-/obj/structure/rack,
/obj/item/gun/energy/gun{
pixel_y = 6
},
@@ -7952,6 +7951,7 @@
pixel_y = 3
},
/obj/item/gun/energy/gun,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkred"
@@ -9751,10 +9751,6 @@
},
/turf/simulated/floor/carpet,
/area/station/legal/courtroom)
-"aTc" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/maintenance/fsmaint)
"aTd" = (
/turf/simulated/floor/carpet,
/area/station/legal/courtroom)
@@ -10955,7 +10951,7 @@
},
/area/station/hallway/primary/central/north)
"aWv" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aWx" = (
@@ -11263,7 +11259,7 @@
},
/area/station/hallway/primary/port/east)
"aXu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"aXw" = (
@@ -15477,6 +15473,10 @@
name = "south bump";
pixel_y = -28
},
+/obj/item/destTagger{
+ pixel_x = 4;
+ pixel_y = 3
+ },
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "brown"
@@ -15597,7 +15597,6 @@
/turf/simulated/floor/plating,
/area/station/maintenance/maintcentral)
"bjd" = (
-/obj/structure/rack,
/obj/item/stack/packageWrap{
pixel_x = 2;
pixel_y = -3
@@ -15616,10 +15615,7 @@
},
/obj/item/stack/wrapping_paper,
/obj/item/stack/wrapping_paper,
-/obj/item/destTagger{
- pixel_x = 4;
- pixel_y = 3
- },
+/obj/structure/shelf/supply,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "brown"
@@ -21394,7 +21390,6 @@
/area/station/command/bridge)
"byx" = (
/obj/machinery/light,
-/obj/structure/rack,
/obj/item/storage/toolbox/emergency,
/obj/item/storage/toolbox/emergency{
pixel_x = -2;
@@ -21407,6 +21402,7 @@
pixel_y = -28
},
/obj/item/multitool/command,
+/obj/structure/shelf/command,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "darkblue"
@@ -25670,7 +25666,7 @@
},
/area/station/aisat)
"bNY" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"bOa" = (
@@ -29298,7 +29294,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"cbc" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/fsmaint)
"cbd" = (
@@ -29611,11 +29607,11 @@
pixel_x = -2;
pixel_y = -2
},
-/obj/structure/table/reinforced,
/obj/machinery/requests_console/directional/north,
/obj/machinery/light{
dir = 1
},
+/obj/structure/shelf/medbay,
/turf/simulated/floor/plasteel{
icon_state = "whitebluefull"
},
@@ -30001,7 +29997,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cdG" = (
-/obj/structure/rack,
+/obj/effect/spawner/random/storage,
/obj/effect/spawner/random/maintenance,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
@@ -30222,7 +30218,6 @@
/obj/structure/sign/poster/official/random{
pixel_y = -32
},
-/obj/structure/table/glass,
/obj/item/reagent_containers/spray/plantbgone{
pixel_x = 2;
pixel_y = 6
@@ -30243,6 +30238,7 @@
/obj/machinery/atmospherics/unary/vent_pump/on{
dir = 1
},
+/obj/structure/shelf/service,
/turf/simulated/floor/plasteel,
/area/station/service/hydroponics)
"ceE" = (
@@ -32055,10 +32051,6 @@
/obj/effect/landmark/damageturf,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
-"cli" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/supply/qm)
"cll" = (
/obj/structure/sign/poster/random{
pixel_y = -32
@@ -32600,7 +32592,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -33615,7 +33607,7 @@
},
/area/station/hallway/primary/aft/north)
"crN" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/aft2)
"crP" = (
@@ -35831,7 +35823,7 @@
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cAP" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard2)
"cAS" = (
@@ -37770,7 +37762,7 @@
},
/area/station/service/chapel)
"cHY" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cHZ" = (
@@ -40265,7 +40257,7 @@
/turf/simulated/wall,
/area/station/medical/psych)
"cRV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"cSa" = (
@@ -42418,12 +42410,12 @@
},
/area/station/maintenance/asmaint)
"dcx" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"dcC" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"dcD" = (
@@ -44286,7 +44278,6 @@
},
/area/station/security/main)
"dCp" = (
-/obj/structure/rack,
/obj/machinery/firealarm/directional/west,
/obj/item/gun/energy/disabler{
pixel_y = 6
@@ -44295,6 +44286,7 @@
pixel_y = 3
},
/obj/item/gun/energy/disabler,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkred"
@@ -44473,7 +44465,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/exit)
"dHr" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"dHE" = (
@@ -44862,7 +44854,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"dSv" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"dSx" = (
@@ -46443,7 +46435,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"eBq" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/starboard)
"eBr" = (
@@ -48603,7 +48595,7 @@
},
/area/station/security/range)
"fuy" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"fuC" = (
@@ -52954,7 +52946,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden{
dir = 4
},
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/effect/spawner/window/reinforced/tinted/grilled,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -53420,7 +53412,6 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/starboard2)
"htP" = (
-/obj/structure/table,
/obj/item/reagent_containers/condiment/milk{
pixel_x = 6;
pixel_y = 8
@@ -53441,6 +53432,7 @@
/obj/structure/noticeboard{
pixel_y = 32
},
+/obj/structure/shelf,
/turf/simulated/floor/plasteel/dark,
/area/station/service/cafeteria)
"huo" = (
@@ -55670,7 +55662,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"iot" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"ioy" = (
@@ -56982,7 +56974,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"iRX" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -58412,7 +58404,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/atmos)
"jDK" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/primary/central/se)
"jEw" = (
@@ -58422,7 +58414,7 @@
/turf/space,
/area/space/nearstation)
"jEA" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard2)
"jEC" = (
@@ -63295,7 +63287,7 @@
},
/area/station/medical/medbay)
"lBw" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/starboard2)
"lBy" = (
@@ -65309,7 +65301,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/lobby)
"msw" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/aft2)
"msD" = (
@@ -66681,7 +66673,7 @@
/turf/simulated/floor/plating,
/area/station/science/explab)
"mVF" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/service/hydroponics)
"mVG" = (
@@ -66729,7 +66721,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry/north)
"mVZ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/service/hydroponics)
"mWp" = (
@@ -67463,7 +67455,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"niC" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
icon_state = "neutralfull"
},
@@ -68122,7 +68114,6 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/bridge)
"nxO" = (
-/obj/structure/rack,
/obj/item/gun/projectile/shotgun/riot{
pixel_y = 6
},
@@ -68136,6 +68127,7 @@
icon_state = "4-8"
},
/obj/machinery/alarm/directional/north,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 6;
icon_state = "darkred"
@@ -70089,13 +70081,13 @@
/turf/simulated/floor/greengrid,
/area/station/science/robotics/chargebay)
"otp" = (
-/obj/structure/table,
/obj/structure/sign/poster/official/random{
pixel_y = -32
},
/obj/item/book/manual/wiki/sop_supply,
/obj/item/storage/belt/utility,
/obj/item/screwdriver/cargo,
+/obj/structure/shelf/supply,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "brown"
@@ -70235,7 +70227,6 @@
/turf/simulated/floor/plasteel,
/area/station/security/permabrig)
"oAs" = (
-/obj/structure/table/reinforced,
/obj/machinery/firealarm/directional/west,
/obj/structure/extinguisher_cabinet{
name = "north bump";
@@ -70257,6 +70248,7 @@
pixel_y = 4
},
/obj/item/mecha_parts/core,
+/obj/structure/shelf/science,
/turf/simulated/floor/plasteel,
/area/station/science/robotics)
"oAL" = (
@@ -70772,7 +70764,7 @@
/turf/simulated/floor/plasteel,
/area/station/science/robotics)
"oNn" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard2)
@@ -71421,7 +71413,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"oXK" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"oXP" = (
@@ -73040,7 +73032,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"pHF" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/xenobio_south)
"pHM" = (
@@ -74350,7 +74342,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/control)
"qiP" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -75174,7 +75166,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"qyW" = (
@@ -77635,7 +77627,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"rCD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"rDd" = (
@@ -78737,7 +78729,7 @@
/area/station/engineering/atmos/distribution)
"rXf" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"rXj" = (
@@ -78939,7 +78931,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"scT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/public/mrchangs)
"scY" = (
@@ -81090,7 +81082,7 @@
},
/area/station/hallway/primary/aft/north)
"sZV" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -81745,7 +81737,7 @@
},
/area/station/service/bar)
"tmz" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft2)
"tmI" = (
@@ -83284,7 +83276,6 @@
/turf/simulated/floor/carpet,
/area/station/legal/magistrate)
"uba" = (
-/obj/structure/rack,
/obj/item/gun/energy/laser{
pixel_y = 6
},
@@ -83292,6 +83283,7 @@
pixel_y = 3
},
/obj/item/gun/energy/laser,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkred"
@@ -83643,7 +83635,7 @@
},
/area/station/security/main)
"uhI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fore)
"uhJ" = (
@@ -85354,7 +85346,7 @@
},
/area/station/science/research)
"uVH" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"uVT" = (
@@ -85372,7 +85364,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/maintcentral)
"uWe" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/starboard2)
"uWq" = (
@@ -85711,7 +85703,7 @@
},
/area/station/security/permabrig)
"vbW" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"vcF" = (
@@ -86057,7 +86049,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/engine/supermatter)
"vjR" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/starboard2)
"vkd" = (
@@ -86655,7 +86647,7 @@
/turf/simulated/floor/plating,
/area/station/security/execution)
"vxx" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"vxI" = (
@@ -87243,7 +87235,7 @@
/turf/simulated/floor/wood,
/area/station/legal/courtroom)
"vOJ" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -87899,7 +87891,7 @@
/turf/simulated/floor/plasteel,
/area/station/science/toxins/mixing)
"wfa" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"wfs" = (
@@ -89013,7 +89005,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/central/east)
"wFC" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"wFW" = (
@@ -89293,7 +89285,7 @@
/turf/space,
/area/space/nearstation)
"wPS" = (
-/obj/machinery/smartfridge,
+/obj/machinery/smartfridge/food/chef,
/obj/machinery/door/window/classic/normal{
name = "Anti-Theft Shield";
dir = 1
@@ -89422,7 +89414,7 @@
/turf/simulated/floor/grass/no_creep,
/area/station/security/permabrig)
"wSg" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/aft2)
"wSh" = (
@@ -91328,7 +91320,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"xGF" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"xGP" = (
@@ -91592,7 +91584,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"xNa" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -91812,10 +91804,6 @@
icon_state = "white"
},
/area/station/science/explab)
-"xPL" = (
-/obj/effect/decal/snow,
-/turf/simulated/wall,
-/area/station/maintenance/apmaint)
"xPO" = (
/obj/machinery/atmospherics/pipe/manifold/visible{
dir = 4;
@@ -92346,7 +92334,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"yaL" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/blood/writing{
dir = 8
},
@@ -110144,7 +110132,7 @@ cCk
dbA
crG
bZP
-xPL
+bZP
dtE
kMZ
bUY
@@ -111875,7 +111863,7 @@ atk
adY
fuy
fuy
-cli
+aVl
aLQ
aNY
dxB
@@ -131159,7 +131147,7 @@ rIT
aXr
ucy
fUf
-aTc
+aLl
dCJ
aLl
aqM
diff --git a/_maps/map_files220/RandomRuins/LavaRuins/scp_facility.dmm b/_maps/map_files220/RandomRuins/LavaRuins/scp_facility.dmm
index 7020e73e9cea..605e28281d1f 100644
--- a/_maps/map_files220/RandomRuins/LavaRuins/scp_facility.dmm
+++ b/_maps/map_files220/RandomRuins/LavaRuins/scp_facility.dmm
@@ -928,7 +928,7 @@
/area/ruin/powered/scpfacility)
"KS" = (
/obj/structure/rack,
-/obj/item/gun/energy/e_gun,
+/obj/item/gun/energy/gun,
/turf/simulated/floor/plasteel/lavaland_air{
icon_state = "dark"
},
diff --git a/_maps/map_files220/RandomRuins/SpaceRuins/convoy_ambush.dmm b/_maps/map_files220/RandomRuins/SpaceRuins/convoy_ambush.dmm
index 363a7d61a31b..7b8344da9eb6 100644
--- a/_maps/map_files220/RandomRuins/SpaceRuins/convoy_ambush.dmm
+++ b/_maps/map_files220/RandomRuins/SpaceRuins/convoy_ambush.dmm
@@ -742,7 +742,7 @@
},
/area/ruin/space/unpowered/unpowered_structures)
"FP" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/mineral/plastitanium/red,
/area/ruin/space/unpowered/unpowered_structures)
"FZ" = (
diff --git a/_maps/map_files220/RandomRuins/SpaceRuins/mechtransport_new.dmm b/_maps/map_files220/RandomRuins/SpaceRuins/mechtransport_new.dmm
index 08824a7ac412..991fdb412715 100644
--- a/_maps/map_files220/RandomRuins/SpaceRuins/mechtransport_new.dmm
+++ b/_maps/map_files220/RandomRuins/SpaceRuins/mechtransport_new.dmm
@@ -742,7 +742,7 @@
/turf/simulated/floor/mineral/titanium,
/area/ruin/space/powered)
"rs" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/light_construct/directional/south,
/turf/simulated/floor/plating,
@@ -865,7 +865,7 @@
/turf/simulated/floor/mineral/plastitanium/red,
/area/ruin/space/powered)
"uk" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/decal/cleanable/cobweb,
/turf/simulated/floor/plating,
/area/ruin/space/powered)
@@ -1860,7 +1860,7 @@
/turf/simulated/floor/mineral/titanium/yellow,
/area/ruin/space/powered)
"LY" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium/red,
/area/ruin/space/powered)
"Md" = (
@@ -1981,7 +1981,7 @@
/turf/simulated/floor/mineral/titanium,
/area/ruin/space/powered)
"Po" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/machinery/light/small/directional/north,
/turf/simulated/floor/plating,
/area/ruin/space/powered)
diff --git a/_maps/map_files220/RandomRuins/SpaceRuins/spacehotel.dmm b/_maps/map_files220/RandomRuins/SpaceRuins/spacehotel.dmm
index 8f8ca8d06d9a..ea87acb0a880 100644
--- a/_maps/map_files220/RandomRuins/SpaceRuins/spacehotel.dmm
+++ b/_maps/map_files220/RandomRuins/SpaceRuins/spacehotel.dmm
@@ -6894,7 +6894,7 @@
/turf/simulated/floor/plasteel/dark,
/area/ruin/space/spacehotelv1/forehallway)
"XK" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/ruin/space/spacehotelv1/engi1)
"XP" = (
diff --git a/_maps/map_files220/RandomZLevels/beach.dmm b/_maps/map_files220/RandomZLevels/beach.dmm
index 6843462d558d..b6aa95de8a2f 100644
--- a/_maps/map_files220/RandomZLevels/beach.dmm
+++ b/_maps/map_files220/RandomZLevels/beach.dmm
@@ -1026,7 +1026,7 @@
/area/awaymission/beach)
"mP" = (
/obj/effect/decal/cleanable/cobweb2,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/beach)
"mQ" = (
@@ -1888,7 +1888,7 @@
/turf/simulated/floor/beach/away/sand_alternative,
/area/awaymission/beach)
"zw" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/beach/away/sand_alternative,
/area/awaymission/beach)
"zF" = (
@@ -2619,7 +2619,7 @@
/area/awaymission/beach)
"Iz" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/beach)
"IA" = (
diff --git a/_maps/map_files220/RandomZLevels/blackmarketpackers.dmm b/_maps/map_files220/RandomZLevels/blackmarketpackers.dmm
index c8dfbbc1471a..01d7fe114ff1 100644
--- a/_maps/map_files220/RandomZLevels/blackmarketpackers.dmm
+++ b/_maps/map_files220/RandomZLevels/blackmarketpackers.dmm
@@ -590,7 +590,7 @@
/turf/simulated/floor/plating,
/area/awaymission/BMPship/Armory)
"cc" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun/riot/short{
pixel_x = 6
},
@@ -4542,7 +4542,7 @@
/turf/simulated/floor/plating/airless,
/area/awaymission/BMPship/Buffer)
"wU" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser{
pixel_x = -8
},
diff --git a/_maps/map_files220/RandomZLevels/blackmesa.dmm b/_maps/map_files220/RandomZLevels/blackmesa.dmm
index 71893860f062..74c0c4d5c9ef 100644
--- a/_maps/map_files220/RandomZLevels/blackmesa.dmm
+++ b/_maps/map_files220/RandomZLevels/blackmesa.dmm
@@ -87,7 +87,7 @@
/area/awaymission/black_mesa/tram_room)
"ajf" = (
/obj/machinery/light_construct/directional/west,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/cryo_storage)
"ajx" = (
@@ -457,7 +457,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/science_decon_room)
"aEC" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/wood/fancy/cherry,
/area/awaymission/black_mesa/xen/vortigaunt_village_nihilanth)
"aED" = (
@@ -1002,7 +1002,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/lambda_teleporter)
"btq" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/wt550,
/obj/item/ammo_box/magazine/wt550m9,
/obj/item/ammo_box/magazine/wt550m9,
@@ -1077,7 +1077,7 @@
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/security_outpost)
"bwp" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/wt550,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/high_security_hallway)
@@ -1589,7 +1589,7 @@
/turf/simulated/floor/chasm/straight_down/lava_land_surface/normal_air/normal_temp,
/area/awaymission/black_mesa/entrance)
"bWq" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/revolver/nagant,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/security_outpost)
@@ -2127,7 +2127,7 @@
},
/area/awaymission/black_mesa/science_internal)
"cED" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/pistol/enforcer/lethal,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -2886,7 +2886,7 @@
},
/area/awaymission/black_mesa/security_outpost)
"dzf" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/wt550,
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/security_outpost)
@@ -2976,7 +2976,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/entrance_lobby)
"dFZ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/melee/classic_baton,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -3816,7 +3816,7 @@
/turf/simulated/floor/engine,
/area/awaymission/black_mesa/hecu_zone_test_chambers)
"eFJ" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/dorm_tunnel)
"eFO" = (
@@ -4314,7 +4314,7 @@
/area/awaymission/black_mesa/hecu_zone_towards_facility)
"fkH" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/tram_tunnel)
"flK" = (
@@ -6087,7 +6087,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/hecu_zone_infirmary)
"hvE" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/entrance_tunnel)
"hwz" = (
@@ -6449,7 +6449,7 @@
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"hWM" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/shotgun/buck,
/turf/simulated/floor/plasteel/dark{
icon_state = "dark"
@@ -6825,7 +6825,7 @@
/turf/simulated/floor/plating/xen,
/area/awaymission/black_mesa/xen/entering_zone)
"ivV" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"ivZ" = (
@@ -6872,7 +6872,7 @@
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/entrance_tunnel)
"iBg" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/n762,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/security_outpost)
@@ -7228,7 +7228,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/lambda_hallway)
"iVz" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/m90,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/hecu_zone_external_sec)
@@ -8312,7 +8312,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/high_security_servers)
"kig" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/decal/cleanable/dirt,
/obj/item/ammo_box/magazine/m556,
/obj/item/ammo_box/magazine/m556,
@@ -8555,7 +8555,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/black_ops_entrance)
"kuQ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/magazine/m556,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -8772,7 +8772,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/cryo_storage)
"kMu" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/hecu_zone_camp)
"kNg" = (
@@ -10093,7 +10093,7 @@
/area/awaymission/black_mesa/xen/vortigaunt_village_nihilanth)
"mpn" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/acid_lake_building)
"mpu" = (
@@ -10636,7 +10636,7 @@
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/hecu_zone_camp)
"mXr" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/pistol/enforcer/lethal,
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/security_outpost)
@@ -10805,7 +10805,7 @@
/area/awaymission/black_mesa/entrance)
"ngU" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/entrance_tunnel)
"nhd" = (
@@ -10857,7 +10857,7 @@
"njE" = (
/obj/machinery/light_construct/directional/west,
/obj/effect/gibspawner/human,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"njT" = (
@@ -10917,7 +10917,7 @@
/obj/effect/turf_decal/stripes/line{
dir = 8
},
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/hecu_zone_camp)
"noB" = (
@@ -11038,7 +11038,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/scientist_hall)
"ntU" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/wt550,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -11652,7 +11652,7 @@
},
/area/awaymission/black_mesa/genetics_elevator)
"ohx" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/deep_sci_feesh)
"oih" = (
@@ -12503,7 +12503,7 @@
/turf/simulated/floor/catwalk,
/area/awaymission/black_mesa/genetics_elevator)
"pfy" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/black_ops_downstairs_atrium)
"pfE" = (
@@ -12528,7 +12528,7 @@
},
/area/awaymission/black_mesa/resonant_chamber)
"pgX" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/cryo_storage)
"phm" = (
@@ -12691,7 +12691,7 @@
/area/awaymission/black_mesa/xen/nihilanth_computer)
"psS" = (
/obj/effect/decal/cleanable/blood/old,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"ptr" = (
@@ -12914,7 +12914,7 @@
/area/awaymission/black_mesa/science_labs)
"pGt" = (
/obj/item/gun/projectile/automatic/m90,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"pHL" = (
@@ -15944,7 +15944,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/high_security_hallway)
"tuo" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/tram_tunnel)
"tuH" = (
@@ -16186,7 +16186,7 @@
/turf/simulated/floor/chasm/straight_down/lava_land_surface/normal_air/normal_temp,
/area/awaymission/black_mesa/lambda_teleporter)
"tJO" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/shield/riot,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -16346,7 +16346,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/black_mesa/black_ops_science_room)
"tWO" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/lwap,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/acid_lake_building)
@@ -16374,7 +16374,7 @@
},
/area/awaymission/black_mesa/entrance_lobby)
"tYo" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/magazine/enforcer/lethal,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -17170,7 +17170,7 @@
},
/area/awaymission/black_mesa/high_security_hallway)
"uVv" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun/boltaction,
/turf/simulated/floor/wood,
/area/awaymission/black_mesa/employee_dorm_room)
@@ -17377,7 +17377,7 @@
/area/awaymission/black_mesa/resonant_chamber)
"viz" = (
/obj/effect/decal/cleanable/blood/old,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/acid_lake_building)
"viD" = (
@@ -17671,7 +17671,7 @@
/area/awaymission/black_mesa/hecu_zone_camp)
"vEG" = (
/obj/machinery/light/directional/west,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/deep_sci_feesh)
"vEP" = (
@@ -17863,7 +17863,7 @@
/obj/machinery/door/window/reinforced/normal{
dir = 4
},
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/hecu_zone_camp)
"vPi" = (
@@ -18061,7 +18061,7 @@
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/hecu_zone_camp)
"wcw" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/wt550,
/turf/simulated/floor/plasteel{
icon_state = "darkbluefull"
@@ -18547,7 +18547,7 @@
/turf/simulated/floor/plating/dirt/xen_dirt,
/area/awaymission/black_mesa/xen/vortigaunt_village)
"wJs" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun,
/obj/item/ammo_box/shotgun/buck,
/turf/simulated/floor/plasteel/smooth,
@@ -18849,7 +18849,7 @@
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/genetics_elevator)
"wZE" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/magazine/wt550m9,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/black_ops_armory)
@@ -18892,13 +18892,13 @@
/turf/simulated/floor/plasteel/dark,
/area/awaymission/black_mesa/xen/lost_camp)
"xaA" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/ammo_box/magazine/m556,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/hecu_zone_external_sec)
"xaE" = (
/obj/machinery/light/directional/east,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/smooth,
/area/awaymission/black_mesa/deep_sci_feesh)
"xaY" = (
@@ -18964,7 +18964,7 @@
/area/awaymission/black_mesa/xen/acid_lake)
"xdF" = (
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/dorm_tunnel)
"xdZ" = (
@@ -19283,7 +19283,7 @@
/area/awaymission/black_mesa/science_internal)
"xyX" = (
/obj/effect/decal/remains/human,
-/obj/item/salvage/loot/russian,
+/obj/item/salvage/loot/soviet,
/turf/simulated/floor/plating,
/area/awaymission/black_mesa/security_outpost)
"xzz" = (
diff --git a/_maps/map_files220/RandomZLevels/caves.dmm b/_maps/map_files220/RandomZLevels/caves.dmm
index 831235326a0b..52637e5ab819 100644
--- a/_maps/map_files220/RandomZLevels/caves.dmm
+++ b/_maps/map_files220/RandomZLevels/caves.dmm
@@ -872,7 +872,7 @@
/turf/simulated/floor/carpet/purple,
/area/awaymission/caves/build/reqpower_build)
"dX" = (
-/turf/simulated/floor/plating/asteroid/airless/cave/volcanic,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/awaymission/caves)
"ea" = (
/mob/living/simple_animal/hostile/asteroid/hivelord{
@@ -3498,7 +3498,7 @@
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/awaymission/caves)
"sn" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser/retro,
/obj/item/gun/energy/laser/retro,
/obj/effect/spawner/random_spawners/dirt_often,
@@ -7500,7 +7500,7 @@
"Od" = (
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random_spawners/dirt_often,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/lavaland_air{
icon_state = "dark"
},
@@ -8153,7 +8153,7 @@
/area/awaymission/caves)
"RX" = (
/obj/machinery/hydroponics/soil,
-/turf/simulated/floor/plating/asteroid/airless/cave/volcanic,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/awaymission/caves)
"RY" = (
/turf/simulated/floor/plasteel/lavaland_air,
@@ -8315,7 +8315,7 @@
"SV" = (
/obj/structure/sink/puddle,
/obj/item/reagent_containers/glass/bucket/wooden,
-/turf/simulated/floor/plating/asteroid/airless/cave/volcanic,
+/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/awaymission/caves)
"SX" = (
/obj/machinery/power/smes,
@@ -8541,7 +8541,7 @@
"TV" = (
/obj/effect/turf_decal/delivery/white,
/obj/effect/spawner/random_spawners/dirt_often,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel/lavaland_air{
icon_state = "dark"
},
@@ -9585,7 +9585,7 @@
/turf/simulated/floor/engine/cult/lavaland_air,
/area/awaymission/caves)
"YS" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/disabler,
/obj/effect/spawner/random_spawners/dirt_often,
/turf/simulated/floor/plasteel/dark{
diff --git a/_maps/map_files220/RandomZLevels/gate_lizard.dmm b/_maps/map_files220/RandomZLevels/gate_lizard.dmm
index e00a4b438ba9..fe643a032755 100644
--- a/_maps/map_files220/RandomZLevels/gate_lizard.dmm
+++ b/_maps/map_files220/RandomZLevels/gate_lizard.dmm
@@ -15,7 +15,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/inside/complex)
"aaN" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard,
/obj/effect/decal/cleanable/glass,
/turf/simulated/floor/plating,
@@ -1597,7 +1597,7 @@
/turf/simulated/floor/engine/cult,
/area/awaymission/jungle_planet/outside/cave)
"cdh" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/decal/cleanable/cobweb,
/obj/effect/spawner/random_spawners/dirt_often,
/turf/simulated/floor/wood/oak,
@@ -1708,13 +1708,13 @@
},
/area/awaymission/jungle_planet/inside/complex)
"cmE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard,
/obj/machinery/atmospherics/pipe/simple/hidden,
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/inside/complex)
"cmS" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser/retro/old{
desc = "An older model of the basic lasergun, no longer used by Nanotrasen's private security or military forces. Nevertheless, it is still quite deadly and easy to maintain, making it a favorite amongst pirates and other outlaws.";
pixel_y = -9
@@ -2277,7 +2277,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"cVe" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/stack/rods,
/obj/item/shard{
icon_state = "small"
@@ -3594,7 +3594,7 @@
/turf/simulated/floor/mineral/titanium/yellow,
/area/awaymission/jungle_planet/outside/abandoned)
"eKg" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "red"
@@ -4026,7 +4026,7 @@
},
/area/awaymission/jungle_planet/outside/cave/pirate)
"fqK" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard{
icon_state = "small"
},
@@ -4191,7 +4191,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside/waterfall)
"fCt" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard{
icon_state = "small"
},
@@ -4735,7 +4735,7 @@
/obj/item/shard{
icon_state = "medium"
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside/abandoned)
"gop" = (
@@ -5022,7 +5022,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"gKv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/door/poddoor/shutters{
dir = 2;
id_tag = "CMDgate"
@@ -5461,7 +5461,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"hkE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard,
/obj/effect/decal/cleanable/glass,
/turf/simulated/floor/plating,
@@ -6716,7 +6716,7 @@
"iMH" = (
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random_spawners/dirt_frequent,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/jungle_planet/inside/complex)
"iMN" = (
@@ -6896,7 +6896,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"iXz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard,
/obj/item/stack/rods{
amount = 2
@@ -6945,7 +6945,7 @@
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside/river)
"jaD" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard{
icon_state = "small"
},
@@ -7048,7 +7048,7 @@
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside/abandoned)
"jhW" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard{
icon_state = "small"
},
@@ -7775,7 +7775,7 @@
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/inside/complex)
"kby" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard{
icon_state = "medium";
pixel_x = -7;
@@ -7857,7 +7857,7 @@
},
/area/awaymission/jungle_planet/outside/river)
"khp" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/glass,
/obj/item/stack/rods,
/turf/simulated/floor/plating,
@@ -8746,7 +8746,7 @@
},
/area/awaymission/jungle_planet/outside/cave)
"liw" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/fireaxe/boneaxe,
/obj/item/spear/bonespear,
/obj/item/scythe/bone,
@@ -8754,7 +8754,7 @@
/area/awaymission/jungle_planet/outside/cave)
"liA" = (
/obj/effect/turf_decal/plaque,
-/obj/structure/statue/russian_mulebot{
+/obj/structure/statue/soviet_mulebot{
name = "CargoMULE"
},
/turf/simulated/floor/plasteel,
@@ -9148,7 +9148,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"lJw" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/e_gun/old,
/obj/effect/landmark/damageturf,
/turf/simulated/floor/wood/oak,
@@ -9338,7 +9338,7 @@
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside/river)
"lWJ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/wood/oak,
/area/awaymission/jungle_planet/outside/cave/pirate)
"lWL" = (
@@ -10188,7 +10188,7 @@
/turf/simulated/floor/mineral/titanium/blue,
/area/awaymission/jungle_planet/outside/abandoned)
"mTI" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard{
icon_state = "small"
},
@@ -10386,7 +10386,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside/river)
"nfW" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard{
icon_state = "small"
},
@@ -10448,7 +10448,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"njs" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard{
icon_state = "medium";
pixel_x = -7;
@@ -10653,7 +10653,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"nBO" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/inside/complex)
"nBY" = (
@@ -11018,7 +11018,7 @@
/turf/simulated/floor/beach/away/sand,
/area/awaymission/jungle_planet/outside/river)
"oeY" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside/abandoned)
"ofe" = (
@@ -11265,7 +11265,7 @@
},
/area/awaymission/jungle_planet/outside/river)
"ouM" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard{
icon_state = "medium";
pixel_x = 9;
@@ -11277,7 +11277,7 @@
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/inside/complex)
"ovS" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/stack/rods,
/obj/item/shard{
icon_state = "medium";
@@ -12487,7 +12487,7 @@
},
/area/awaymission/jungle_planet/outside/river)
"qeb" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/bow,
/obj/effect/landmark/damageturf,
/turf/simulated/floor/wood/oak,
@@ -12769,7 +12769,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkneutralfull"
@@ -13084,7 +13084,7 @@
},
/area/awaymission/jungle_planet/outside/cave/small)
"qOq" = (
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/wood/oak,
/area/awaymission/jungle_planet/outside/river)
"qOs" = (
@@ -13130,7 +13130,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"qPT" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/stack/rods,
/obj/effect/decal/cleanable/glass,
/turf/simulated/floor/plating,
@@ -13270,7 +13270,7 @@
"qYR" = (
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random_spawners/dirt_often,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkneutralfull"
@@ -13421,7 +13421,7 @@
},
/area/awaymission/jungle_planet/inside/complex)
"rjA" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/structure/window/reinforced,
/obj/item/gun/energy/laser/retro/old{
desc = "An older model of the basic lasergun, no longer used by Nanotrasen's private security or military forces. Nevertheless, it is still quite deadly and easy to maintain, making it a favorite amongst pirates and other outlaws."
@@ -13486,7 +13486,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"rnw" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard,
/obj/item/stack/rods,
/obj/effect/decal/cleanable/glass,
@@ -13865,7 +13865,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"rKg" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside)
"rKR" = (
@@ -14208,7 +14208,7 @@
"sba" = (
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random_spawners/dirt_maybe,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/jungle_planet/inside/complex)
"sbj" = (
@@ -14317,7 +14317,7 @@
"sjJ" = (
/obj/effect/turf_decal/delivery,
/obj/effect/spawner/random_spawners/dirt_maybe,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkneutralfull"
@@ -14607,7 +14607,7 @@
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
"sCe" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/shard,
/turf/simulated/floor/indestructible/grass,
/area/awaymission/jungle_planet/outside)
@@ -15257,7 +15257,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/jungle_planet/outside)
"tqZ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/shard,
/obj/structure/flora/ausbushes/brflowers,
/obj/effect/decal/cleanable/glass,
@@ -17124,7 +17124,7 @@
/turf/simulated/floor/wood/oak,
/area/awaymission/jungle_planet/outside/cave)
"vEC" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/item/stack/rods,
/turf/simulated/floor/plating,
/area/awaymission/jungle_planet/outside/abandoned)
@@ -18517,7 +18517,7 @@
/area/awaymission/jungle_planet/inside)
"xtn" = (
/obj/effect/turf_decal/delivery,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "darkneutralfull"
@@ -18876,7 +18876,7 @@
/turf/simulated/floor/plasteel,
/area/awaymission/jungle_planet/inside/complex)
"xPM" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/item/stack/rods,
/obj/item/shard,
/obj/item/shard{
@@ -19174,7 +19174,7 @@
/area/awaymission/jungle_planet/inside/complex)
"ykF" = (
/obj/effect/turf_decal/delivery,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/jungle_planet/inside/complex)
"ylm" = (
diff --git a/_maps/map_files220/RandomZLevels/spacebattle.dmm b/_maps/map_files220/RandomZLevels/spacebattle.dmm
index f64cd1837f40..bd9b8e4eee52 100644
--- a/_maps/map_files220/RandomZLevels/spacebattle.dmm
+++ b/_maps/map_files220/RandomZLevels/spacebattle.dmm
@@ -511,7 +511,7 @@
/area/awaymission/space_battle/cruiser)
"bw" = (
/obj/effect/turf_decal/delivery/hollow,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/space_battle/sec_storage)
"bx" = (
@@ -2756,7 +2756,7 @@
/area/awaymission/space_battle/cruiser)
"iu" = (
/obj/item/gun/projectile/automatic/c20r,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium,
/area/awaymission/space_battle/syndicate)
"iv" = (
@@ -4613,7 +4613,7 @@
},
/area/awaymission/space_battle/syndicate/syndicate5)
"oe" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel/airless{
icon_state = "darkfull"
@@ -4732,7 +4732,7 @@
/area/awaymission/space_battle/hallway6)
"os" = (
/obj/effect/turf_decal/delivery,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/mineral/plastitanium,
/area/awaymission/space_battle/syndicate/syndicate2)
"ou" = (
@@ -5582,7 +5582,7 @@
/area/awaymission/space_battle/syndicate/syndicate1)
"ro" = (
/obj/effect/turf_decal/delivery/hollow,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/mineral/plastitanium,
/area/awaymission/space_battle/syndicate/syndicate2)
"rp" = (
@@ -8334,7 +8334,7 @@
"zX" = (
/obj/effect/turf_decal/delivery,
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/space_battle/sec_storage)
"zY" = (
@@ -8562,7 +8562,7 @@
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate2)
"AP" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/machinery/light/small/directional/east,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate1)
@@ -9463,7 +9463,7 @@
/turf/simulated/floor/plating/airless,
/area/space)
"Dt" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/space_battle/hallway11)
"Dv" = (
@@ -10317,7 +10317,7 @@
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate)
"FV" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel/dark,
/area/awaymission/space_battle/hallway2)
@@ -10975,7 +10975,7 @@
"HU" = (
/obj/effect/turf_decal/delivery,
/obj/machinery/light/small/directional/east,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel,
/area/awaymission/space_battle/sec_storage)
"HV" = (
@@ -11431,7 +11431,7 @@
/turf/simulated/floor/plating/airless,
/area/space)
"Jn" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/machinery/light/small/directional/west,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate1)
@@ -11858,7 +11858,7 @@
},
/area/awaymission/space_battle/medbay)
"KN" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate)
@@ -12650,7 +12650,7 @@
/turf/simulated/floor/grass/no_creep,
/area/awaymission/space_battle)
"Na" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate1)
"Nc" = (
@@ -13344,7 +13344,7 @@
/turf/simulated/floor/plating,
/area/awaymission/space_battle/hallway3)
"Pi" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/lasercannon,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate1)
@@ -16523,7 +16523,7 @@
},
/area/awaymission/space_battle/hallway4)
"YY" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium/red,
/area/awaymission/space_battle/syndicate/syndicate2)
"YZ" = (
diff --git a/_maps/map_files220/RandomZLevels/wildwest.dmm b/_maps/map_files220/RandomZLevels/wildwest.dmm
index dd8dacd5c122..b86f645b0c32 100644
--- a/_maps/map_files220/RandomZLevels/wildwest.dmm
+++ b/_maps/map_files220/RandomZLevels/wildwest.dmm
@@ -23,7 +23,7 @@
"aj" = (
/obj/effect/turf_decal/delivery,
/obj/effect/turf_decal/delivery,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -2338,7 +2338,7 @@
/area/awaymission/wildwest/wildwest_refine)
"we" = (
/obj/effect/turf_decal/delivery,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
@@ -2674,7 +2674,7 @@
"zP" = (
/obj/effect/turf_decal/delivery,
/obj/effect/decal/cleanable/dirt,
-/obj/item/salvage/ruin/russian,
+/obj/item/salvage/ruin/soviet,
/turf/simulated/floor/plasteel{
icon_state = "dark"
},
diff --git a/_maps/map_files220/generic/Admin_Zone.dmm b/_maps/map_files220/generic/Admin_Zone.dmm
index dc070419ccb8..f3a6d7947f07 100644
--- a/_maps/map_files220/generic/Admin_Zone.dmm
+++ b/_maps/map_files220/generic/Admin_Zone.dmm
@@ -5279,9 +5279,17 @@
/obj/structure/light_fake{
dir = 4
},
-/obj/machinery/economy/vending/secdrobe{
- prices = list()
- },
+/obj/structure/closet,
+/obj/item/clothing/suit/armor/secjacket,
+/obj/item/clothing/head/helmet,
+/obj/item/clothing/glasses/sunglasses,
+/obj/item/storage/belt/security/full,
+/obj/item/clothing/head/soft/sec/corp,
+/obj/item/storage/backpack/security,
+/obj/item/clothing/suit/armor/vest/security,
+/obj/item/clothing/under/rank/security/officer,
+/obj/item/clothing/gloves/color/black,
+/obj/item/clothing/shoes/jackboots,
/turf/simulated/floor/plasteel/dark{
icon_state = "darkredaltstrip";
dir = 5
diff --git a/_maps/map_files220/generic/Lavaland.dmm b/_maps/map_files220/generic/Lavaland.dmm
index 232c0c6290fd..19a8790f2179 100644
--- a/_maps/map_files220/generic/Lavaland.dmm
+++ b/_maps/map_files220/generic/Lavaland.dmm
@@ -97,7 +97,7 @@
/turf/simulated/floor/plasteel/white,
/area/mine/laborcamp)
"as" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/outpost/custodial)
"at" = (
@@ -3079,7 +3079,7 @@
icon_state = "1-2"
},
/obj/effect/spawner/random_spawners/dirt_maybe,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"gu" = (
@@ -5449,7 +5449,7 @@
/turf/simulated/wall,
/area/lavaland/surface/outdoors)
"qi" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/lavaland/surface/outdoors/outpost/catwalk)
"qm" = (
@@ -5497,7 +5497,7 @@
},
/area/mine/laborcamp)
"qJ" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/mine/laborcamp)
"qK" = (
@@ -5983,7 +5983,7 @@
/turf/simulated/floor/indestructible/boss,
/area/lavaland/surface/outdoors/legion)
"tZ" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/mine/laborcamp)
"ua" = (
@@ -6849,7 +6849,7 @@
/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface,
/area/lavaland/surface/outdoors)
"yR" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/spawner/random_spawners/dirt_maybe,
/obj/effect/decal/cleanable/spiderling_remains,
/turf/simulated/floor/plating,
@@ -7719,7 +7719,7 @@
},
/area/mine/outpost/airlock)
"DA" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/spawner/random_spawners/dirt_maybe,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/east)
@@ -8031,7 +8031,7 @@
},
/area/mine/outpost/cafeteria)
"FI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"FJ" = (
@@ -8906,7 +8906,7 @@
/turf/simulated/floor/plating,
/area/mine/outpost/maintenance/south)
"KD" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/mine/outpost/maintenance/south)
"KE" = (
@@ -10999,7 +10999,7 @@
/area/lavaland/surface/outdoors/legion)
"XI" = (
/obj/effect/spawner/random_spawners/wall_rusted_always,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/lavaland/surface/outdoors/outpost/catwalk)
"XL" = (
@@ -11409,7 +11409,7 @@
},
/area/lavaland/surface/outdoors)
"ZZ" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/mine/laborcamp/security)
diff --git a/_maps/map_files220/generic/centcomm.dmm b/_maps/map_files220/generic/centcomm.dmm
index 27652de5ee20..a795fa4e3daa 100644
--- a/_maps/map_files220/generic/centcomm.dmm
+++ b/_maps/map_files220/generic/centcomm.dmm
@@ -529,7 +529,7 @@
},
/area/syndicate_mothership/jail)
"auk" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/pulse/destroyer/annihilator{
pixel_x = -6
},
@@ -603,7 +603,7 @@
/turf/simulated/floor/indestructible/grass/no_creep,
/area/centcom/ss220/admin1)
"avX" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/gun/advtaser{
pixel_x = -6
},
@@ -721,7 +721,7 @@
},
/area/centcom/ss220/bar)
"azw" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/lwap,
/obj/item/gun/energy/lwap{
pixel_x = 2
@@ -2724,7 +2724,7 @@
color = "#000000"
},
/obj/effect/turf_decal/siding/wood/end,
-/obj/structure/rack/gunrack{
+/obj/structure/gunrack{
color = "grey"
},
/obj/item/gun/projectile/shotgun/automatic/dual_tube,
@@ -3295,7 +3295,7 @@
},
/obj/structure/light_fake/small,
/obj/effect/turf_decal/delivery/white/hollow,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium,
/area/syndicate_mothership/elite_squad)
"bVX" = (
@@ -3478,7 +3478,7 @@
},
/area/shuttle/syndicate)
"ccF" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser/instakill/blue{
pixel_x = -6
},
@@ -3593,7 +3593,7 @@
/turf/simulated/floor/grass/no_creep,
/area/centcom/ss220/evac)
"cgE" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/l6_saw{
pixel_x = -6
},
@@ -3883,7 +3883,7 @@
/turf/simulated/floor/indestructible/grass/no_creep,
/area/centcom/ss220/admin1)
"coe" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/gun,
/obj/item/gun/energy/gun{
pixel_x = 2
@@ -5011,7 +5011,7 @@
},
/area/centcom/ss220/admin3)
"ddt" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/clown,
/obj/item/gun/energy/clown{
pixel_x = 2
@@ -5891,7 +5891,7 @@
pixel_y = -3
},
/obj/effect/turf_decal/delivery/white/hollow,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium,
/area/syndicate_mothership/elite_squad)
"dCq" = (
@@ -7760,7 +7760,7 @@
/turf/simulated/floor/carpet/royalblue,
/area/centcom/ss220/bar)
"eIq" = (
-/obj/structure/rack/gunrack{
+/obj/structure/gunrack{
color = "grey"
},
/obj/item/gun/projectile/automatic/gyropistol{
@@ -8477,7 +8477,7 @@
/turf/simulated/floor/carpet/royalblack,
/area/syndicate_mothership/control)
"fbR" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/m90,
/obj/item/gun/projectile/automatic/m90{
pixel_x = 2
@@ -8546,7 +8546,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/centcom/ss220/admin2)
"fcF" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/ar{
pixel_x = -6
},
@@ -11783,7 +11783,7 @@
},
/area/shuttle/escape)
"hbp" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun/automatic/dual_tube,
/obj/item/gun/projectile/shotgun/automatic/dual_tube{
pixel_x = 2
@@ -11886,7 +11886,7 @@
},
/obj/structure/light_fake/small,
/obj/effect/turf_decal/delivery/white/hollow,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium,
/area/syndicate_mothership/elite_squad)
"hdx" = (
@@ -13558,7 +13558,7 @@
},
/area/centcom/ss220/medbay)
"hXZ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/proto,
/obj/item/gun/projectile/automatic/proto{
pixel_x = 2
@@ -14066,7 +14066,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/centcom/ss220/admin2)
"ipb" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/l6_saw,
/obj/item/gun/projectile/automatic/l6_saw{
pixel_x = 2
@@ -14257,7 +14257,7 @@
/turf/simulated/floor/carpet/royalblack,
/area/centcom/ss220/admin2)
"isq" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/m90{
pixel_x = -6
},
@@ -16157,7 +16157,7 @@
/obj/effect/turf_decal/siding/wood/end{
dir = 1
},
-/obj/structure/rack/gunrack{
+/obj/structure/gunrack{
color = "grey"
},
/obj/item/gun/energy/pulse/destroyer/annihilator,
@@ -17771,7 +17771,7 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/admin3)
"kED" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/gun/blueshield/pdw9{
pixel_x = -6
},
@@ -18964,7 +18964,7 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/court)
"ljX" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/disabler{
pixel_x = -6
},
@@ -19915,7 +19915,7 @@
/obj/item/ammo_box/magazine/m556,
/obj/item/ammo_box/magazine/m556,
/obj/effect/turf_decal/delivery/white/hollow,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/mineral/plastitanium,
/area/syndicate_mothership/elite_squad)
"lLq" = (
@@ -22035,7 +22035,7 @@
/turf/simulated/floor/indestructible/grass,
/area/syndicate_mothership/outside)
"ndz" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/gun/nuclear{
pixel_x = -6
},
@@ -22075,7 +22075,7 @@
/obj/item/ammo_casing/rocket,
/obj/item/ammo_casing/rocket,
/obj/effect/turf_decal/delivery/white,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel{
icon_state = "darkyellowfull"
},
@@ -22445,7 +22445,7 @@
/turf/simulated/floor/fakespace,
/area/centcom/ss220/bar)
"npf" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/immolator,
/obj/item/gun/energy/immolator{
pixel_x = 2
@@ -22481,7 +22481,7 @@
/turf/simulated/floor/mineral/plastitanium,
/area/syndicate_mothership)
"npI" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/lwap{
pixel_x = -6
},
@@ -22765,7 +22765,7 @@
},
/area/centcom/ss220/evac)
"nzJ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/disabler/smg,
/obj/item/gun/energy/disabler/smg{
pixel_x = 2
@@ -24178,7 +24178,7 @@
},
/area/syndicate_mothership/cargo)
"ouD" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/lasercannon,
/obj/item/gun/energy/lasercannon{
pixel_x = 2
@@ -24629,7 +24629,7 @@
},
/area/syndicate_mothership/cargo)
"oGQ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/xray,
/obj/item/gun/energy/xray{
pixel_x = 2
@@ -27520,7 +27520,7 @@
/turf/simulated/floor/wood/oak,
/area/syndicate_mothership/control)
"qyB" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/ak814,
/obj/item/gun/projectile/automatic/ak814{
pixel_x = 2
@@ -29445,7 +29445,7 @@
/turf/simulated/floor/wood/oak,
/area/syndicate_mothership/control)
"rxI" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/gun/advtaser,
/obj/item/gun/energy/gun/advtaser{
pixel_x = 2
@@ -31451,7 +31451,7 @@
},
/area/syndicate_mothership/jail)
"sJw" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/disabler/silencer,
/obj/item/gun/energy/disabler/silencer{
pixel_x = 2
@@ -31589,7 +31589,7 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/admin1)
"sLm" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/pulse,
/obj/item/gun/energy/pulse{
pixel_x = 2
@@ -32068,7 +32068,7 @@
},
/area/syndicate_mothership)
"sZo" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/laser,
/obj/item/gun/energy/laser{
pixel_x = 2
@@ -33751,7 +33751,7 @@
/turf/simulated/floor/wood/oak,
/area/syndicate_mothership/infteam)
"ubR" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/energy/pulse/pistol/m1911{
pixel_x = -6
},
@@ -35874,7 +35874,7 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/evac)
"vsJ" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/ar,
/obj/item/gun/projectile/automatic/ar{
pixel_x = 2
@@ -39184,7 +39184,7 @@
/turf/simulated/floor/plasteel/dark,
/area/centcom/ss220/supply)
"xfK" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/sniper_rifle{
pixel_x = -6
},
@@ -39628,7 +39628,7 @@
/obj/structure/light_fake{
dir = 1
},
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/wood/oak,
/area/syndicate_mothership/control)
"xqG" = (
diff --git a/_maps/map_files220/stations/boxstation.dmm b/_maps/map_files220/stations/boxstation.dmm
index 5eba6883a8cb..2027f9ad1b39 100644
--- a/_maps/map_files220/stations/boxstation.dmm
+++ b/_maps/map_files220/stations/boxstation.dmm
@@ -134,14 +134,9 @@
/area/station/security/armory/secure)
"abP" = (
/obj/machinery/suit_storage_unit/security/secure,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 8
- },
/turf/simulated/floor/plasteel{
- icon_state = "dark"
+ dir = 8;
+ icon_state = "vault"
},
/area/station/security/armory/secure)
"abY" = (
@@ -281,24 +276,23 @@
/turf/simulated/floor/plasteel,
/area/station/security/main)
"acH" = (
-/obj/structure/rack,
-/obj/effect/turf_decal/delivery/red/hollow,
-/obj/structure/window/reinforced,
-/obj/item/grenade/barrier{
- pixel_x = 5;
- pixel_y = 5
+/obj/structure/table/reinforced,
+/obj/item/storage/box/trackimp{
+ pixel_y = 8;
+ pixel_x = -6
},
-/obj/item/grenade/barrier{
- pixel_x = 3;
- pixel_y = 3
+/obj/item/storage/box/chemimp{
+ pixel_x = 6;
+ pixel_y = 8
},
-/obj/item/grenade/barrier,
-/obj/item/grenade/barrier{
- pixel_x = -3;
- pixel_y = -3
+/obj/item/storage/lockbox/mindshield,
+/obj/item/storage/lockbox/mindshield{
+ pixel_y = 4
},
+/obj/item/storage/toolbox/mechanical,
/turf/simulated/floor/plasteel{
- icon_state = "dark"
+ dir = 8;
+ icon_state = "vault"
},
/area/station/security/armory/secure)
"acK" = (
@@ -396,42 +390,39 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"adb" = (
-/obj/structure/rack,
-/obj/item/storage/lockbox/mindshield,
-/obj/item/storage/box/trackimp,
-/obj/item/storage/box/chemimp{
- pixel_x = 4;
- pixel_y = 3
+/obj/structure/shelf/security,
+/obj/item/grenade/barrier{
+ pixel_x = -6;
+ pixel_y = 4
},
-/obj/item/storage/toolbox/mechanical,
-/obj/effect/turf_decal/delivery/red/hollow,
-/obj/structure/window/reinforced,
-/obj/structure/window/reinforced{
- dir = 8
+/obj/item/grenade/barrier{
+ pixel_y = 4
},
-/turf/simulated/floor/plasteel{
- icon_state = "dark"
+/obj/item/grenade/barrier{
+ pixel_y = 4;
+ pixel_x = 6
},
-/area/station/security/armory/secure)
-"adg" = (
-/obj/structure/dispenser/oxygen,
-/obj/structure/window/reinforced{
- dir = 1
+/obj/item/grenade/barrier{
+ pixel_x = -6;
+ pixel_y = -4
},
-/turf/simulated/floor/plasteel{
- icon_state = "dark"
+/obj/item/grenade/barrier{
+ pixel_y = -4
},
-/area/station/security/armory/secure)
-"adh" = (
-/obj/machinery/suit_storage_unit/security/secure,
-/obj/structure/window/reinforced{
- dir = 1
+/obj/item/grenade/barrier{
+ pixel_y = -4;
+ pixel_x = 6
},
-/obj/structure/window/reinforced{
- dir = 4
+/turf/simulated/floor/plasteel{
+ dir = 8;
+ icon_state = "vault"
},
+/area/station/security/armory/secure)
+"adg" = (
+/obj/structure/dispenser/oxygen,
/turf/simulated/floor/plasteel{
- icon_state = "dark"
+ dir = 8;
+ icon_state = "vault"
},
/area/station/security/armory/secure)
"adi" = (
@@ -547,8 +538,7 @@
/turf/simulated/floor/plasteel,
/area/station/security/permabrig)
"adP" = (
-/obj/structure/rack,
-/obj/structure/rack,
+/obj/structure/shelf/security,
/obj/item/storage/box/rubbershot{
pixel_y = -3
},
@@ -567,12 +557,6 @@
/obj/item/storage/box/beanbag{
pixel_y = 3
},
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 4
- },
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -846,7 +830,6 @@
/obj/machinery/camera{
c_tag = "Brig Secure Armory North"
},
-/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "vault"
@@ -907,24 +890,8 @@
/turf/simulated/floor/plasteel,
/area/station/security/prisonershuttle)
"afe" = (
-/obj/structure/window/reinforced,
-/obj/structure/rack/gunrack,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/item/gun/energy/disabler{
- pixel_x = -8
- },
-/obj/item/gun/energy/disabler{
- pixel_x = -4
- },
-/obj/item/gun/energy/disabler,
-/obj/item/gun/energy/disabler{
- pixel_x = 4
- },
-/obj/item/gun/energy/disabler{
- pixel_x = 8
- },
+/obj/structure/shelf/security,
+/obj/item/storage/box/tranquilizer,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1139,7 +1106,6 @@
/area/station/maintenance/asmaint2)
"agS" = (
/obj/machinery/flasher/portable,
-/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "vault"
@@ -1296,13 +1262,7 @@
/turf/space,
/area/shuttle/gamma/station)
"ahG" = (
-/obj/structure/rack/gunrack,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 8
- },
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun/riot{
pixel_x = 8
},
@@ -1419,28 +1379,28 @@
},
/area/station/security/brig)
"aif" = (
-/obj/structure/rack,
-/obj/item/storage/box/teargas{
- pixel_x = -3;
- pixel_y = -3
- },
-/obj/item/storage/box/handcuffs,
+/obj/structure/shelf/security,
/obj/item/storage/box/flashbangs{
- pixel_x = -2;
- pixel_y = -2
+ pixel_x = -6;
+ pixel_y = 8
+ },
+/obj/item/storage/box/teargas{
+ pixel_y = 8
},
-/obj/item/storage/box/handcuffs,
/obj/item/storage/box/seccarts{
- pixel_x = 3;
- pixel_y = 2
+ pixel_y = 8;
+ pixel_x = 6
},
-/obj/effect/turf_decal/delivery/red/hollow,
-/obj/structure/window/reinforced,
-/obj/structure/window/reinforced{
- dir = 4
+/obj/item/storage/box/handcuffs{
+ pixel_x = -6
+ },
+/obj/item/storage/box/handcuffs,
+/obj/item/storage/box/handcuffs{
+ pixel_x = 6
},
/turf/simulated/floor/plasteel{
- icon_state = "dark"
+ dir = 8;
+ icon_state = "vault"
},
/area/station/security/armory/secure)
"aig" = (
@@ -1472,34 +1432,16 @@
},
/area/station/security/armory/secure)
"aip" = (
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/rack,
-/obj/item/storage/box/tranquilizer,
-/obj/structure/window/reinforced{
- dir = 8
- },
+/obj/structure/gunrack,
+/obj/item/gun/energy/ionrifle,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
},
/area/station/security/armory/secure)
"aiq" = (
-/obj/structure/rack/gunrack,
-/obj/structure/window/reinforced{
- dir = 1
- },
-/obj/structure/window/reinforced{
- dir = 4
- },
-/obj/item/gun/energy/laser{
- pixel_x = -4
- },
-/obj/item/gun/energy/laser,
-/obj/item/gun/energy/laser{
- pixel_x = 4
- },
+/obj/structure/rack,
+/obj/item/clothing/suit/hooded/ablative,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1559,12 +1501,20 @@
},
/area/station/security/armory/secure)
"aiB" = (
-/obj/structure/rack,
-/obj/structure/window/reinforced{
- dir = 8
+/obj/structure/gunrack,
+/obj/item/gun/energy/disabler{
+ pixel_x = -8
+ },
+/obj/item/gun/energy/disabler{
+ pixel_x = -4
+ },
+/obj/item/gun/energy/disabler,
+/obj/item/gun/energy/disabler{
+ pixel_x = 4
+ },
+/obj/item/gun/energy/disabler{
+ pixel_x = 8
},
-/obj/item/clothing/suit/hooded/ablative,
-/obj/item/gun/energy/ionrifle,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1581,10 +1531,7 @@
},
/area/station/security/brig)
"aiN" = (
-/obj/structure/rack/gunrack,
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/gunrack,
/obj/item/gun/energy/gun{
pixel_x = -4
},
@@ -1743,27 +1690,13 @@
},
/area/station/security/brig)
"ajq" = (
-/obj/structure/rack,
-/obj/structure/window/reinforced{
- dir = 8
- },
-/obj/item/clothing/suit/armor/bulletproof/sec{
- pixel_x = -3
- },
-/obj/item/clothing/suit/armor/bulletproof/sec,
-/obj/item/clothing/suit/armor/bulletproof/sec{
- pixel_x = 3
- },
-/obj/item/clothing/head/helmet/alt{
- pixel_y = 8;
- pixel_x = -3
- },
-/obj/item/clothing/head/helmet/alt{
- pixel_y = 8
+/obj/structure/gunrack,
+/obj/item/gun/energy/laser{
+ pixel_x = -4
},
-/obj/item/clothing/head/helmet/alt{
- pixel_y = 8;
- pixel_x = 3
+/obj/item/gun/energy/laser,
+/obj/item/gun/energy/laser{
+ pixel_x = 4
},
/turf/simulated/floor/plasteel{
dir = 8;
@@ -1771,7 +1704,7 @@
},
/area/station/security/armory/secure)
"ajr" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/sslr{
pixel_x = -4
},
@@ -1782,9 +1715,6 @@
/obj/item/gun/projectile/automatic/sslr{
pixel_x = 8
},
-/obj/structure/window/reinforced{
- dir = 4
- },
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "vault"
@@ -1830,21 +1760,24 @@
},
/area/station/security/brig)
"ajK" = (
-/obj/structure/rack,
-/obj/structure/window/reinforced{
- dir = 1
+/obj/structure/shelf/security,
+/obj/item/clothing/suit/armor/bulletproof/sec{
+ pixel_x = -6
},
-/obj/structure/window/reinforced{
- dir = 4
+/obj/item/clothing/suit/armor/bulletproof/sec,
+/obj/item/clothing/suit/armor/bulletproof/sec{
+ pixel_x = 6
},
-/obj/item/clothing/head/helmet/riot{
- pixel_y = 3;
- pixel_x = 3
+/obj/item/clothing/head/helmet/alt{
+ pixel_y = 8;
+ pixel_x = -6
},
-/obj/item/clothing/head/helmet/riot,
-/obj/item/clothing/head/helmet/riot{
- pixel_y = -3;
- pixel_x = -3
+/obj/item/clothing/head/helmet/alt{
+ pixel_y = 8
+ },
+/obj/item/clothing/head/helmet/alt{
+ pixel_y = 8;
+ pixel_x = 6
},
/turf/simulated/floor/plasteel{
dir = 8;
@@ -1909,7 +1842,6 @@
"akl" = (
/obj/machinery/flasher/portable,
/obj/machinery/status_display/directional/north,
-/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "vault"
@@ -1942,18 +1874,24 @@
},
/area/station/security/permabrig)
"akt" = (
-/obj/structure/rack,
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/shelf/security,
/obj/item/clothing/suit/armor/riot/sec{
- pixel_x = 3;
- pixel_y = 3
+ pixel_x = -6
},
/obj/item/clothing/suit/armor/riot/sec,
/obj/item/clothing/suit/armor/riot/sec{
- pixel_y = -3;
- pixel_x = -3
+ pixel_x = 6
+ },
+/obj/item/clothing/head/helmet/riot{
+ pixel_y = 8;
+ pixel_x = -6
+ },
+/obj/item/clothing/head/helmet/riot{
+ pixel_y = 8
+ },
+/obj/item/clothing/head/helmet/riot{
+ pixel_y = 8;
+ pixel_x = 6
},
/turf/simulated/floor/plasteel{
dir = 8;
@@ -1961,19 +1899,13 @@
},
/area/station/security/armory/secure)
"aku" = (
-/obj/structure/rack,
-/obj/structure/window/reinforced,
-/obj/structure/window/reinforced{
- dir = 4
- },
+/obj/structure/shelf/security,
/obj/item/shield/riot{
- pixel_x = 3;
- pixel_y = 3
+ pixel_x = -6
},
/obj/item/shield/riot,
/obj/item/shield/riot{
- pixel_x = -3;
- pixel_y = -3
+ pixel_x = 6
},
/turf/simulated/floor/plasteel{
dir = 8;
@@ -2259,7 +2191,7 @@
},
/area/station/security/brig)
"als" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"alt" = (
@@ -2712,7 +2644,7 @@
},
/area/station/security/storage)
"amH" = (
-/obj/structure/rack,
+/obj/structure/table/reinforced,
/obj/machinery/recharger/wallcharger{
pixel_y = 25
},
@@ -2720,14 +2652,16 @@
pixel_y = 35
},
/obj/item/assembly/timer{
- pixel_x = 3;
- pixel_y = -8
+ pixel_y = 4;
+ pixel_x = 6
+ },
+/obj/item/flash{
+ pixel_y = 6;
+ pixel_x = -4
},
/obj/item/assembly/timer{
- pixel_y = -6
+ pixel_x = 6
},
-/obj/item/flash,
-/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "red"
@@ -2740,31 +2674,30 @@
/turf/simulated/floor/plasteel,
/area/station/security/storage)
"amJ" = (
-/obj/structure/rack,
+/obj/structure/table/reinforced,
/obj/structure/reagent_dispensers/peppertank/north,
/obj/machinery/light/directional/north,
-/obj/effect/turf_decal/delivery/red/hollow,
/obj/item/clothing/accessory/holster{
- pixel_x = -6;
- pixel_y = 6
+ pixel_x = -8
},
/obj/item/clothing/accessory/holster{
- pixel_x = -3;
- pixel_y = 3
+ pixel_x = -4
},
+/obj/item/clothing/accessory/holster,
/obj/item/clothing/accessory/holster{
- pixel_x = 3;
- pixel_y = -3
+ pixel_x = 4
},
/obj/item/clothing/accessory/holster{
- pixel_x = 6;
- pixel_y = -6
+ pixel_x = 8
},
-/obj/item/clothing/accessory/holster,
/obj/item/restraints/handcuffs{
- pixel_y = -4
+ pixel_y = 8;
+ pixel_x = -4
+ },
+/obj/item/restraints/handcuffs{
+ pixel_y = 8;
+ pixel_x = 4
},
-/obj/item/restraints/handcuffs,
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "red"
@@ -2943,7 +2876,7 @@
/area/station/engineering/solar/fore_starboard)
"anp" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/engineering/utility)
"anq" = (
@@ -4221,7 +4154,7 @@
},
/area/station/public/dorms)
"asf" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"asg" = (
@@ -6915,7 +6848,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/station/legal/lawoffice)
"aAH" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -7604,7 +7537,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/abandonedbar)
"aCN" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/abandonedbar)
"aCO" = (
@@ -7982,7 +7915,7 @@
/area/station/legal/courtroom)
"aDR" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"aDS" = (
@@ -8675,7 +8608,7 @@
/turf/simulated/floor/wood/oak,
/area/station/maintenance/abandonedbar)
"aGd" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/abandonedbar)
@@ -8865,7 +8798,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aGL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aGM" = (
@@ -9016,7 +8949,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"aHi" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/fpmaint2)
"aHj" = (
@@ -9191,7 +9124,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aHP" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aHR" = (
@@ -9321,7 +9254,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/dorms)
"aIq" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aIu" = (
@@ -9474,7 +9407,7 @@
/area/station/maintenance/fpmaint)
"aIS" = (
/obj/structure/grille,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aIT" = (
@@ -9670,7 +9603,7 @@
/area/station/maintenance/fore)
"aJy" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aJz" = (
@@ -10013,7 +9946,7 @@
/turf/simulated/floor/carpet/black,
/area/station/maintenance/fsmaint)
"aKW" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"aKX" = (
@@ -10627,7 +10560,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/tools)
"aNw" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/hallway/secondary/entry)
"aNx" = (
@@ -10728,7 +10661,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"aNZ" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -10823,11 +10756,11 @@
},
/area/station/maintenance/fpmaint)
"aOr" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aOs" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aOv" = (
@@ -11026,7 +10959,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fpmaint2)
"aPc" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"aPd" = (
@@ -11070,7 +11003,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"aPj" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aPk" = (
@@ -11107,7 +11040,7 @@
},
/area/station/maintenance/fpmaint)
"aPv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -11330,7 +11263,7 @@
/turf/simulated/floor/mineral/tranquillite,
/area/station/service/mime)
"aQe" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -11718,7 +11651,7 @@
/obj/structure/sign/electricshock{
pixel_y = -32
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -12663,7 +12596,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/dronefabricator)
"aUY" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/electrical)
"aUZ" = (
@@ -12696,7 +12629,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/garden)
"aVg" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/storage/tools)
"aVh" = (
@@ -12881,7 +12814,7 @@
/turf/simulated/floor/plating,
/area/shuttle/arrival/station)
"aWb" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dust,
/turf/simulated/floor/plating,
@@ -16511,7 +16444,7 @@
},
/area/station/hallway/primary/central/north)
"biL" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/security/brig)
"biM" = (
@@ -16960,7 +16893,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/starboard/west)
"bkD" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"bkE" = (
@@ -17211,7 +17144,7 @@
/turf/simulated/wall,
/area/station/public/storage/emergency/port)
"blT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/storage/emergency/port)
"blU" = (
@@ -19066,7 +18999,7 @@
/turf/simulated/floor/carpet,
/area/station/public/vacant_office)
"btE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -19103,7 +19036,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/expedition)
"btL" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment,
/obj/structure/cable{
d1 = 1;
@@ -19371,7 +19304,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"bvq" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/locker)
"bvr" = (
@@ -20049,7 +19982,7 @@
},
/area/station/hallway/secondary/exit)
"bym" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"byn" = (
@@ -20182,7 +20115,7 @@
},
/area/station/medical/morgue)
"bzk" = (
-/obj/machinery/smartfridge,
+/obj/machinery/smartfridge/food/chef,
/turf/simulated/floor/plating,
/area/station/service/kitchen)
"bzm" = (
@@ -21888,7 +21821,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"bGH" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"bGK" = (
@@ -22909,7 +22842,7 @@
/turf/simulated/floor/plating,
/area/station/science/robotics)
"bLJ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/storage/tools/auxiliary)
"bLK" = (
@@ -24001,7 +23934,7 @@
/turf/simulated/floor/transparent/glass,
/area/station/command/bridge)
"bQq" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/storage)
"bQs" = (
@@ -24866,7 +24799,7 @@
"bTX" = (
/obj/effect/decal/cleanable/dust,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"bTZ" = (
@@ -25097,6 +25030,7 @@
/obj/effect/mapping_helpers/airlock/autoname,
/obj/structure/disposalpipe/segment,
/obj/effect/mapping_helpers/airlock/access/any/supply/mail_sorting,
+/obj/effect/mapping_helpers/airlock/access/any/supply/expedition,
/turf/simulated/floor/plasteel,
/area/station/supply/sorting)
"bVl" = (
@@ -25291,7 +25225,7 @@
/turf/simulated/wall,
/area/station/medical/cryo)
"bWb" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"bWd" = (
@@ -28234,7 +28168,7 @@
/turf/simulated/floor/plasteel,
/area/station/science/storage)
"cig" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -28411,7 +28345,7 @@
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cja" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"cjc" = (
@@ -28837,7 +28771,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"ckM" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/miningdock)
"ckN" = (
@@ -31186,7 +31120,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/aft)
"cuc" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cud" = (
@@ -31419,7 +31353,7 @@
/area/station/medical/surgery/primary)
"cuI" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"cuJ" = (
@@ -31467,7 +31401,7 @@
/area/station/maintenance/asmaint2)
"cuS" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"cuW" = (
@@ -31821,7 +31755,7 @@
},
/area/station/medical/reception)
"cwl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"cwo" = (
@@ -32259,7 +32193,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/incinerator)
"cyp" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cyq" = (
@@ -32490,7 +32424,7 @@
/turf/space,
/area/station/engineering/solar/port)
"cyP" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cyQ" = (
@@ -32924,7 +32858,7 @@
},
/area/station/medical/reception)
"cAu" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cAv" = (
@@ -32937,7 +32871,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"cAz" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cAB" = (
@@ -33056,7 +32990,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cBe" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -33574,7 +33508,7 @@
/turf/simulated/wall/r_wall,
/area/station/engineering/supermatter_room)
"cDm" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cDo" = (
@@ -33932,7 +33866,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cEx" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/aft)
"cEy" = (
@@ -33973,7 +33907,7 @@
},
/area/station/maintenance/aft)
"cEE" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"cEH" = (
@@ -35248,7 +35182,7 @@
},
/area/station/hallway/primary/central/ne)
"cJa" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment,
/obj/structure/cable{
d1 = 1;
@@ -35670,7 +35604,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"cKE" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cKF" = (
@@ -37072,7 +37006,7 @@
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"cQx" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"cQy" = (
@@ -37784,7 +37718,7 @@
},
/area/station/engineering/smes)
"cSz" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -38845,7 +38779,7 @@
},
/area/station/engineering/equipmentstorage)
"cVR" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"cVS" = (
@@ -43385,7 +43319,7 @@
/area/station/maintenance/assembly_line)
"dmJ" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"dmK" = (
@@ -45145,7 +45079,7 @@
/turf/simulated/floor/engine/xenobio,
/area/station/science/xenobiology)
"dvY" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/port)
"dwg" = (
@@ -45243,7 +45177,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint2)
"dyn" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -46116,7 +46050,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"dMb" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"dMc" = (
@@ -46423,7 +46357,7 @@
/turf/simulated/floor/wood/oak,
/area/station/maintenance/fsmaint)
"dSu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"dTF" = (
@@ -47293,7 +47227,7 @@
},
/area/station/maintenance/fsmaint)
"egW" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/aft)
"ehb" = (
@@ -47472,7 +47406,7 @@
/turf/simulated/floor/plating/airless,
/area/space/nearstation)
"ejH" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -47658,7 +47592,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"enO" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
@@ -48294,7 +48228,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"ezU" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment,
/obj/structure/cable{
d1 = 1;
@@ -48338,7 +48272,7 @@
},
/area/station/engineering/equipmentstorage)
"eAu" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/medical/patients_rooms)
"eAF" = (
@@ -48438,7 +48372,7 @@
},
/area/station/engineering/atmos/control)
"eDB" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/ai_monitored/storage/eva)
"eDE" = (
@@ -49724,7 +49658,7 @@
/area/station/public/dorms)
"fcM" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -51057,7 +50991,7 @@
/turf/simulated/floor/bluegrid,
/area/station/turret_protected/ai)
"fBj" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"fBk" = (
@@ -53033,7 +52967,7 @@
},
/area/station/engineering/hallway)
"gmu" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"gmE" = (
@@ -53573,11 +53507,7 @@
/turf/simulated/floor/engine,
/area/station/maintenance/fsmaint)
"guL" = (
-/obj/structure/window/reinforced,
/obj/structure/rack,
-/obj/structure/window/reinforced{
- dir = 4
- },
/obj/item/ammo_box/magazine/sslr{
pixel_y = 12;
pixel_x = -4
@@ -53786,7 +53716,7 @@
},
/area/station/service/chapel)
"gyA" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -54971,7 +54901,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"gQN" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"gRe" = (
@@ -55469,7 +55399,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"gYs" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"gYM" = (
@@ -56105,7 +56035,7 @@
"hiQ" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/spawner/random_spawners/oil_maybe,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"hju" = (
@@ -56405,7 +56335,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/solar_maintenance/fore_port)
"hoJ" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"hpd" = (
@@ -56702,7 +56632,7 @@
/area/station/security/permabrig)
"htV" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"htY" = (
@@ -57182,7 +57112,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"hCG" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"hCY" = (
@@ -58444,7 +58374,7 @@
/turf/simulated/floor/plating/airless,
/area/station/engineering/control)
"hZZ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -60364,7 +60294,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"iOY" = (
@@ -60451,7 +60381,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 10
},
@@ -60948,7 +60878,7 @@
},
/area/station/security/brig)
"iZV" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
@@ -61015,7 +60945,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/smes)
"jbB" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/dorms)
"jbO" = (
@@ -61328,7 +61258,7 @@
/area/station/security/permabrig)
"jgA" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"jgP" = (
@@ -61696,7 +61626,7 @@
/area/station/science/robotics)
"jpc" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -61945,7 +61875,7 @@
},
/area/station/maintenance/aft)
"jsn" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 2;
d2 = 4;
@@ -63544,7 +63474,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"jYQ" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
@@ -64621,7 +64551,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"ksJ" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
@@ -66664,7 +66594,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"lcL" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"lcZ" = (
@@ -66793,7 +66723,7 @@
/turf/simulated/floor/plating,
/area/station/supply/sorting)
"lfX" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/structure/cable{
d1 = 1;
@@ -67175,7 +67105,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/tech_storage)
"lnV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/incinerator)
"lon" = (
@@ -68799,7 +68729,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/disposal)
"lQx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/legal/courtroom)
"lQE" = (
@@ -68871,7 +68801,7 @@
},
/area/station/science/toxins/mixing)
"lRt" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -70026,7 +69956,7 @@
/turf/simulated/wall,
/area/station/engineering/dronefabricator)
"mjg" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/medical/virology)
"mjh" = (
@@ -70746,7 +70676,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"mwL" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/storage)
"mwO" = (
@@ -70975,7 +70905,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"mBl" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"mBE" = (
@@ -73282,7 +73212,7 @@
},
/area/station/maintenance/apmaint)
"nsA" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/glass,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
@@ -74191,7 +74121,7 @@
},
/area/station/medical/cloning)
"nJo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/legal/courtroom/gallery)
"nJz" = (
@@ -76236,7 +76166,7 @@
/area/station/science/storage)
"otX" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"otY" = (
@@ -76402,7 +76332,7 @@
"oxf" = (
/obj/effect/landmark/burnturf,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"oxy" = (
@@ -78385,7 +78315,7 @@
/area/station/legal/courtroom/gallery)
"pfF" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -78435,7 +78365,7 @@
},
/area/station/engineering/control)
"pgV" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"pgW" = (
@@ -79758,7 +79688,7 @@
},
/area/station/legal/courtroom)
"pBP" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"pCe" = (
@@ -79866,7 +79796,7 @@
/area/station/hallway/secondary/entry)
"pEu" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -79874,7 +79804,6 @@
/area/station/maintenance/apmaint)
"pEE" = (
/obj/machinery/flasher/portable,
-/obj/effect/turf_decal/delivery/red/hollow,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "vault"
@@ -81349,7 +81278,7 @@
/area/station/maintenance/fpmaint)
"qhK" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"qhO" = (
@@ -82542,7 +82471,7 @@
},
/area/station/engineering/hallway)
"qCk" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/warehouse)
"qCv" = (
@@ -83690,7 +83619,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"qTO" = (
@@ -84363,7 +84292,7 @@
},
/area/station/security/permabrig)
"rgs" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"rgv" = (
@@ -84408,7 +84337,7 @@
icon_state = "1-2"
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint2)
"rhk" = (
@@ -84627,7 +84556,7 @@
/turf/space,
/area/space/nearstation)
"rmi" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -84690,7 +84619,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"rng" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"rnu" = (
@@ -85042,7 +84971,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/aft)
"rwI" = (
@@ -85066,7 +84995,7 @@
/area/station/science/robotics/chargebay)
"rxm" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"rxp" = (
@@ -85265,7 +85194,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/station/service/theatre)
"rCg" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/asmaint)
"rCn" = (
@@ -85593,7 +85522,7 @@
},
/area/station/science/explab)
"rID" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
@@ -86031,7 +85960,7 @@
},
/area/station/security/permabrig)
"rRt" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/engineering/utility)
"rRy" = (
@@ -87436,7 +87365,7 @@
/area/station/security/permabrig)
"sqc" = (
/obj/effect/decal/cleanable/dust,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"sqf" = (
@@ -88707,7 +88636,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"sKS" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/medical/patients_rooms)
"sLe" = (
@@ -91845,7 +91774,7 @@
/area/station/maintenance/turbine)
"tSN" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -92711,7 +92640,7 @@
},
/area/station/hallway/primary/central/nw)
"ugC" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"ugT" = (
@@ -92867,7 +92796,7 @@
},
/area/station/engineering/ai_transit_tube)
"ujX" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/obj/machinery/atmospherics/pipe/simple/visible{
dir = 4
},
@@ -92890,7 +92819,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/abandonedbar)
"uki" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
@@ -93547,7 +93476,7 @@
/area/station/turret_protected/aisat/interior)
"uwi" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/sign/xenobio{
pixel_x = -31
},
@@ -93902,7 +93831,7 @@
/turf/simulated/floor/plating,
/area/station/command/office/cmo)
"uBz" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
@@ -94208,7 +94137,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"uIf" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/asmaint2)
"uIg" = (
@@ -94236,7 +94165,7 @@
/area/station/maintenance/apmaint)
"uJq" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -95342,7 +95271,7 @@
/turf/simulated/floor/bluegrid,
/area/station/aisat/hall)
"vdx" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/disposal)
"vdL" = (
@@ -96273,7 +96202,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"vve" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/vacant_store)
"vvq" = (
@@ -96681,7 +96610,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"vBG" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -97777,7 +97706,7 @@
/turf/simulated/floor/wood/fancy/cherry,
/area/station/command/office/captain)
"vUq" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -98267,7 +98196,7 @@
},
/area/station/legal/courtroom/gallery)
"wcG" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/apmaint)
"wcS" = (
@@ -98397,7 +98326,7 @@
"wgA" = (
/obj/effect/landmark/burnturf,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plasteel,
/area/station/maintenance/asmaint)
"wgG" = (
@@ -99940,7 +99869,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/storage/office)
"wJg" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/storage)
"wJn" = (
@@ -100253,7 +100182,7 @@
/turf/simulated/floor/bluegrid,
/area/station/maintenance/asmaint)
"wPx" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall/r_wall,
/area/station/maintenance/fore)
"wPF" = (
@@ -100470,7 +100399,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"wTp" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fpmaint2)
"wTE" = (
@@ -101152,7 +101081,7 @@
},
/area/station/security/interrogation)
"xfQ" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable{
d1 = 4;
d2 = 8;
@@ -102878,7 +102807,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"xLs" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dust,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
@@ -103054,7 +102983,7 @@
/area/station/engineering/break_room)
"xOA" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/apmaint)
"xOH" = (
@@ -133401,7 +133330,7 @@ aaa
aab
aaa
aiv
-ahG
+afe
aor
acj
acH
@@ -133662,7 +133591,7 @@ adP
ajj
acj
aif
-adh
+abP
ajj
vET
vBJ
@@ -134175,7 +134104,7 @@ akl
pEE
ahV
aiq
-aiN
+aiB
ajr
guL
kAr
@@ -134432,9 +134361,9 @@ aeR
agS
jUf
aip
-aiB
+aiN
ajq
-afe
+ahG
dCA
alX
amI
diff --git a/_maps/map_files220/stations/deltastation.dmm b/_maps/map_files220/stations/deltastation.dmm
index 28a83d13e360..4ebfa6243a4d 100644
--- a/_maps/map_files220/stations/deltastation.dmm
+++ b/_maps/map_files220/stations/deltastation.dmm
@@ -224,7 +224,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/abandonedbar)
"acU" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/automatic/sslr{
pixel_x = -4
},
@@ -1177,7 +1177,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry)
"aiL" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/maintenance/apmaint)
"aiQ" = (
@@ -1807,7 +1807,7 @@
/area/station/supply/warehouse)
"amU" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 1;
icon_state = "neutral"
@@ -1823,7 +1823,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore2)
"anl" = (
@@ -2031,7 +2031,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/entry)
"aof" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/supply/warehouse)
"aog" = (
@@ -4457,7 +4457,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/qm)
"avs" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/disposal/east)
"avu" = (
@@ -4786,7 +4786,7 @@
},
/area/station/engineering/atmos/control)
"awW" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/obj/effect/spawner/random_spawners/wall_rusted_always,
/turf/simulated/wall,
/area/station/maintenance/fore)
@@ -5938,7 +5938,7 @@
/area/station/maintenance/fsmaint)
"aAV" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "black"
},
@@ -6010,7 +6010,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/engine/supermatter)
"aBg" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aBn" = (
@@ -6906,7 +6906,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -21860,7 +21860,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "neutral"
@@ -25602,7 +25602,7 @@
/area/station/security/lobby)
"bXX" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard2)
"bXY" = (
@@ -27728,7 +27728,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/engineering/smes)
"cfn" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/port)
"cfo" = (
@@ -30182,7 +30182,7 @@
/turf/simulated/floor/wood/parquet/tile,
/area/station/service/library)
"cpJ" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard2)
"cpP" = (
@@ -31766,6 +31766,9 @@
name = "Magboot Storage"
},
/obj/item/clothing/shoes/magboots,
+/obj/effect/mapping_helpers/airlock/windoor/access/any/command/eva{
+ dir = 4
+ },
/turf/simulated/floor/plasteel/dark,
/area/station/ai_monitored/storage/eva)
"cwX" = (
@@ -32057,6 +32060,9 @@
name = "RCD Storage"
},
/obj/machinery/light/directional/west,
+/obj/effect/mapping_helpers/airlock/windoor/access/any/engineering/construction{
+ dir = 4
+ },
/turf/simulated/floor/plasteel/dark,
/area/station/ai_monitored/storage/eva)
"cyf" = (
@@ -34480,7 +34486,7 @@
},
/area/station/engineering/mechanic)
"cIs" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
@@ -34515,7 +34521,7 @@
/turf/simulated/floor/mineral/titanium/blue,
/area/shuttle/pod_2)
"cIv" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -34942,7 +34948,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cKe" = (
@@ -35640,7 +35646,7 @@
/turf/simulated/floor/plasteel/freezer,
/area/station/public/pool)
"cMS" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"cMU" = (
@@ -35834,7 +35840,7 @@
/area/station/science/research)
"cNH" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"cNJ" = (
@@ -38456,7 +38462,7 @@
/turf/simulated/floor/plating,
/area/station/security/podpilot)
"cXT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/electrical)
"cXU" = (
@@ -38490,7 +38496,7 @@
"cXY" = (
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -40625,7 +40631,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -40957,7 +40963,7 @@
/turf/simulated/floor/carpet/black,
/area/station/service/chapel/study)
"dkp" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port2)
"dkq" = (
@@ -41056,7 +41062,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"dkC" = (
@@ -43851,7 +43857,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -44046,6 +44052,9 @@
pixel_x = -4;
pixel_y = 3
},
+/obj/effect/mapping_helpers/airlock/windoor/access/any/command/eva{
+ dir = 4
+ },
/turf/simulated/floor/plasteel/dark,
/area/station/ai_monitored/storage/eva)
"dzU" = (
@@ -47889,7 +47898,7 @@
/turf/simulated/floor/carpet/black,
/area/station/service/chapel/office)
"dTr" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel/white,
/area/station/maintenance/apmaint)
@@ -48694,6 +48703,7 @@
icon_state = "4-8"
},
/obj/effect/mapping_helpers/airlock/access/any/supply/mining,
+/obj/effect/mapping_helpers/airlock/access/any/supply/expedition,
/turf/simulated/floor/plasteel,
/area/station/supply/miningdock)
"dWI" = (
@@ -48992,7 +49002,7 @@
/area/station/maintenance/port2)
"dYp" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -49815,7 +49825,7 @@
},
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"efk" = (
@@ -50338,7 +50348,7 @@
/area/station/legal/lawoffice)
"enA" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fore2)
"enC" = (
@@ -50542,7 +50552,7 @@
},
/area/station/security/range)
"eqK" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dust,
/turf/simulated/floor/plasteel{
@@ -51453,7 +51463,7 @@
/area/station/engineering/controlroom)
"eEl" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"eEL" = (
@@ -53694,7 +53704,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"fnS" = (
@@ -54274,7 +54284,7 @@
icon_state = "1-2"
},
/obj/structure/disposalpipe/segment,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"fwX" = (
@@ -55113,7 +55123,7 @@
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/turf/simulated/floor/wood/fancy/cherry,
/area/station/maintenance/fsmaint)
"fMj" = (
@@ -55998,7 +56008,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -56055,7 +56065,7 @@
"fYN" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/spawner/random_spawners/oil_maybe,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "whiteblue"
@@ -57052,7 +57062,7 @@
/area/station/medical/surgery/secondary)
"gqt" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "neutral"
@@ -57177,7 +57187,7 @@
/obj/item/gun/energy/laser{
pixel_x = 6
},
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/turf/simulated/floor/plasteel/dark,
/area/station/security/armory/secure)
"grY" = (
@@ -57542,7 +57552,7 @@
/area/station/supply/storage)
"gxu" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"gxD" = (
@@ -57577,7 +57587,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/supply{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -58037,7 +58047,7 @@
/area/station/maintenance/fsmaint)
"gGJ" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -58713,7 +58723,7 @@
/turf/simulated/floor/plating,
/area/station/medical/surgery/primary)
"gPY" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/turf/simulated/floor/plating,
@@ -60183,7 +60193,7 @@
/area/station/maintenance/port)
"hoo" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"hov" = (
@@ -60210,7 +60220,7 @@
/area/station/engineering/controlroom)
"hoG" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"hoX" = (
@@ -60533,7 +60543,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"huY" = (
@@ -63997,7 +64007,7 @@
/turf/simulated/wall/r_wall,
/area/station/security/main)
"itt" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/medmaint)
"itv" = (
@@ -65082,7 +65092,7 @@
},
/area/station/security/prison/cell_block/A)
"iKY" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard2)
"iLl" = (
@@ -65248,7 +65258,7 @@
/turf/simulated/floor/grass,
/area/station/science/lobby)
"iOp" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"iOs" = (
@@ -65616,7 +65626,7 @@
/turf/simulated/floor/plating,
/area/station/security/evidence)
"iTC" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dust,
/turf/simulated/floor/plating,
@@ -66277,7 +66287,7 @@
/turf/simulated/floor/plasteel/dark,
/area/station/science/toxins/mixing)
"jeM" = (
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/effect/turf_decal/delivery/red/hollow,
/obj/item/gun/energy/gun{
pixel_x = 2
@@ -68328,7 +68338,7 @@
/turf/simulated/floor/engine/vacuum,
/area/station/engineering/atmos)
"jHd" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
@@ -70044,7 +70054,7 @@
},
/area/station/science/storage)
"kfl" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/maintenance/starboard2)
"kfm" = (
@@ -70265,6 +70275,9 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
+/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mule_bot{
+ dir = 8
+ },
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"kiB" = (
@@ -70689,7 +70702,7 @@
/area/station/public/pool)
"kqa" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/old_kitchen)
"kqo" = (
@@ -72350,7 +72363,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -73204,7 +73217,7 @@
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plasteel{
dir = 8;
@@ -73849,7 +73862,7 @@
/turf/simulated/floor/carpet/red,
/area/station/command/office/hos)
"loS" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/old_detective)
"lpe" = (
@@ -74183,7 +74196,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/medmaint)
"luU" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 8;
icon_state = "neutral"
@@ -74627,7 +74640,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/mechanic)
"lAU" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/engineering/mechanic)
"lBa" = (
@@ -80080,7 +80093,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
icon_state = "neutral"
},
@@ -80583,7 +80596,7 @@
/area/station/engineering/hardsuitstorage)
"nqn" = (
/obj/effect/turf_decal/delivery/red/hollow,
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/item/gun/projectile/shotgun/riot{
pixel_x = -2
},
@@ -81277,7 +81290,7 @@
/turf/simulated/wall/r_wall,
/area/station/maintenance/medmaint)
"nBi" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/electrical_shop)
"nBl" = (
@@ -82736,7 +82749,7 @@
},
/area/station/science/genetics)
"nRE" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fore)
"nRQ" = (
@@ -85486,7 +85499,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/old_detective)
"oJY" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"oKa" = (
@@ -85595,7 +85608,7 @@
/turf/simulated/floor/engine,
/area/station/engineering/controlroom)
"oLe" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/effect/decal/cleanable/dirt,
/turf/simulated/floor/plasteel/white,
/area/station/maintenance/apmaint)
@@ -87730,7 +87743,7 @@
},
/area/station/hallway/secondary/bridge)
"prt" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/service/bar)
"prx" = (
@@ -88039,7 +88052,7 @@
/obj/item/gun/energy/disabler{
pixel_x = 6
},
-/obj/structure/rack/gunrack,
+/obj/structure/gunrack,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
@@ -88107,7 +88120,7 @@
/area/station/maintenance/starboard2)
"pvh" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"pvo" = (
@@ -88235,7 +88248,7 @@
/turf/simulated/floor/wood/fancy/birch,
/area/station/maintenance/starboard)
"pyb" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/aft)
"pyd" = (
@@ -88950,7 +88963,7 @@
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/port)
"pJb" = (
@@ -89430,7 +89443,7 @@
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/disposalpipe/segment,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
@@ -89876,7 +89889,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"pXo" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/dormitory_maintenance)
"pXz" = (
@@ -90778,7 +90791,7 @@
},
/area/station/maintenance/medmaint)
"qmo" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/virology_maint)
"qmw" = (
@@ -93555,7 +93568,7 @@
/turf/simulated/floor/engine,
/area/station/medical/chemistry)
"rad" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/old_kitchen)
"rah" = (
@@ -95705,7 +95718,7 @@
},
/area/station/public/pool)
"rJd" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/port)
"rJg" = (
@@ -95921,7 +95934,7 @@
/area/station/maintenance/fsmaint)
"rMm" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel{
dir = 4;
icon_state = "neutral"
@@ -98640,7 +98653,7 @@
},
/area/station/service/kitchen)
"sAs" = (
-/obj/machinery/smartfridge,
+/obj/machinery/smartfridge/food/chef,
/obj/machinery/door/window/classic/normal{
dir = 4;
name = "Kitchen Desk"
@@ -99872,7 +99885,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/sorting)
"sRU" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/library)
"sSr" = (
@@ -100579,7 +100592,7 @@
/area/station/medical/patients_rooms)
"teg" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/virology_maint)
"tep" = (
@@ -101354,7 +101367,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"toU" = (
@@ -101737,7 +101750,7 @@
},
/area/station/engineering/control)
"tuF" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/barricade/wooden,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
@@ -102391,7 +102404,7 @@
/area/station/supply/storage)
"tFi" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall/r_wall,
/area/station/maintenance/starboard2)
"tFq" = (
@@ -102721,7 +102734,7 @@
},
/area/station/maintenance/port)
"tLi" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"tLw" = (
@@ -104062,7 +104075,7 @@
},
/area/station/medical/virology)
"ugI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"uho" = (
@@ -104326,7 +104339,7 @@
/turf/simulated/floor/wood/parquet/tile,
/area/station/service/library)
"ukT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fore2)
"uld" = (
@@ -105071,7 +105084,7 @@
/obj/structure/disposalpipe/segment{
dir = 4
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"uxq" = (
@@ -107103,6 +107116,7 @@
/obj/machinery/door/window/classic/normal{
name = "Cryo Tank Storage"
},
+/obj/effect/mapping_helpers/airlock/windoor/access/any/medical/general,
/turf/simulated/floor/plasteel{
dir = 5;
icon_state = "whiteblue"
@@ -107294,7 +107308,7 @@
},
/area/station/security/permabrig)
"vdP" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,
/obj/machinery/atmospherics/pipe/simple/hidden/supply,
/turf/simulated/floor/plating,
@@ -107604,7 +107618,7 @@
},
/area/station/maintenance/electrical)
"vjX" = (
-/obj/effect/spawner/random_barrier/possibly_welded_airlock,
+/obj/effect/spawner/random/barrier/possibly_welded_airlock,
/obj/structure/cable{
d1 = 1;
d2 = 2;
@@ -108353,7 +108367,7 @@
/area/station/hallway/secondary/exit)
"vxn" = (
/obj/effect/spawner/random_spawners/wall_rusted_maybe,
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/medmaint)
"vxw" = (
@@ -112086,7 +112100,7 @@
/turf/simulated/floor/grass/no_creep,
/area/station/hallway/secondary/exit)
"wFg" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"wFh" = (
@@ -113527,7 +113541,7 @@
"wYP" = (
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/starboard)
"wYQ" = (
@@ -114747,7 +114761,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fore)
"xrZ" = (
-/obj/effect/spawner/random_barrier/wall_probably,
+/obj/effect/spawner/random/barrier/wall_probably,
/turf/simulated/floor/plating,
/area/station/maintenance/apmaint)
"xse" = (
@@ -114925,7 +114939,7 @@
},
/area/station/maintenance/fsmaint)
"xtZ" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/library)
"xui" = (
diff --git a/_maps/map_files220/stations/metastation.dmm b/_maps/map_files220/stations/metastation.dmm
index 700ae8284323..edd8585b3303 100644
--- a/_maps/map_files220/stations/metastation.dmm
+++ b/_maps/map_files220/stations/metastation.dmm
@@ -1917,7 +1917,7 @@
},
/area/station/engineering/solar/fore)
"aon" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aop" = (
@@ -2385,7 +2385,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"aqO" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/disposalpipe/segment,
/obj/structure/cable/yellow{
d1 = 1;
@@ -4246,7 +4246,7 @@
},
/area/station/command/office/captain/bedroom)
"ayk" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"ayr" = (
@@ -4269,7 +4269,7 @@
/turf/simulated/floor/plating,
/area/station/public/locker)
"ayv" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"ayx" = (
@@ -4560,7 +4560,7 @@
d2 = 8;
icon_state = "4-8"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/obj/structure/disposalpipe/segment{
dir = 4
},
@@ -4677,7 +4677,7 @@
},
/area/station/public/dorms)
"aAf" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
@@ -4716,7 +4716,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"aAA" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fpmaint)
"aAC" = (
@@ -5982,7 +5982,7 @@
/turf/simulated/floor/engine,
/area/station/science/explab/chamber)
"aFM" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/structure/cable/yellow{
d1 = 1;
d2 = 2;
@@ -5993,7 +5993,7 @@
},
/area/station/maintenance/fsmaint)
"aFO" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aFQ" = (
@@ -6585,7 +6585,7 @@
/turf/simulated/floor/plasteel,
/area/station/public/dorms)
"aIo" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fsmaint)
"aIp" = (
@@ -6974,7 +6974,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/primary/fore)
"aJl" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"aJm" = (
@@ -7470,7 +7470,7 @@
/turf/simulated/floor/plating,
/area/station/engineering/atmos/distribution)
"aLc" = (
-/obj/effect/spawner/random_barrier/obstruction,
+/obj/effect/spawner/random/barrier/obstruction,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -8034,7 +8034,7 @@
/turf/simulated/floor/wood,
/area/station/service/clown)
"aMB" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -11064,7 +11064,7 @@
},
/area/station/supply/lobby)
"aWv" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/fore)
"aWx" = (
@@ -11341,7 +11341,7 @@
},
/area/station/hallway/primary/port)
"aXu" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"aXw" = (
@@ -25512,7 +25512,7 @@
},
/area/station/aisat)
"bNY" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/public/toilet/lockerroom)
"bOa" = (
@@ -29466,7 +29466,7 @@
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"cbc" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/maintenance/fsmaint)
"cbd" = (
@@ -41121,7 +41121,7 @@
/turf/simulated/wall,
/area/station/medical/psych)
"cRV" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall,
/area/station/maintenance/port)
"cRW" = (
@@ -43321,7 +43321,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/asmaint)
"dcx" = (
-/obj/effect/spawner/random_spawners/fungus_probably,
+/obj/effect/spawner/random/fungus/probably,
/turf/simulated/wall,
/area/station/maintenance/starboard)
"dcC" = (
@@ -45152,7 +45152,7 @@
/turf/simulated/floor/plasteel,
/area/station/hallway/secondary/exit)
"dHr" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"dHE" = (
@@ -52375,10 +52375,6 @@
},
/turf/simulated/floor/plating,
/area/station/maintenance/solar_maintenance/port)
-"hbB" = (
-/obj/effect/decal/cleanable/dirt,
-/turf/simulated/wall,
-/area/station/legal/magistrate)
"hbN" = (
/obj/structure/table/reinforced,
/obj/item/paper_bin,
@@ -55150,6 +55146,9 @@
dir = 1;
name = "Delivery Desk"
},
+/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mail_sorting{
+ dir = 1
+ },
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"ima" = (
@@ -55276,7 +55275,7 @@
/turf/simulated/floor/plasteel,
/area/station/engineering/control)
"iot" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fsmaint)
"ioy" = (
@@ -63453,7 +63452,7 @@
id_tag = "roboticsprivacy";
name = "Robotics Shutters"
},
-/obj/effect/mapping_helpers/airlock/windoor/access/any/science/research{
+/obj/effect/mapping_helpers/airlock/windoor/access/any/science/robotics{
dir = 4
},
/turf/simulated/floor/plasteel{
@@ -66215,7 +66214,7 @@
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"niC" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel{
icon_state = "neutralfull"
},
@@ -73008,7 +73007,7 @@
d2 = 2;
icon_state = "1-2"
},
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plating,
/area/station/maintenance/fore)
"qAb" = (
@@ -76020,7 +76019,7 @@
/area/station/engineering/atmos/distribution)
"rXf" = (
/obj/effect/decal/cleanable/dirt,
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fsmaint)
"rXj" = (
@@ -76227,7 +76226,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/aft)
"scT" = (
-/obj/effect/spawner/random_spawners/fungus_maybe,
+/obj/effect/spawner/random/fungus/maybe,
/turf/simulated/wall/r_wall,
/area/station/public/mrchangs)
"sdj" = (
@@ -79026,6 +79025,9 @@
dir = 4
},
/obj/effect/turf_decal/delivery,
+/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mail_sorting{
+ dir = 4
+ },
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"tsm" = (
@@ -79651,6 +79653,9 @@
dir = 4
},
/obj/effect/turf_decal/delivery,
+/obj/effect/mapping_helpers/airlock/windoor/access/any/supply/mail_sorting{
+ dir = 4
+ },
/turf/simulated/floor/plasteel,
/area/station/supply/office)
"tKb" = (
@@ -80481,7 +80486,7 @@
},
/area/station/security/main)
"uhI" = (
-/obj/effect/spawner/random_spawners/grille_maybe,
+/obj/effect/spawner/random/barrier/grille_maybe,
/turf/simulated/floor/plasteel,
/area/station/maintenance/fore)
"uhK" = (
@@ -82081,7 +82086,7 @@
},
/area/station/science/research)
"uVH" = (
-/obj/effect/decal/cleanable/fungus,
+/obj/effect/spawner/random/fungus/frequent,
/turf/simulated/wall,
/area/station/maintenance/apmaint)
"uWq" = (
@@ -86669,6 +86674,9 @@
pixel_y = 8;
anchored = 1
},
+/obj/effect/mapping_helpers/airlock/windoor/access/any/science/research{
+ dir = 4
+ },
/turf/simulated/floor/plasteel{
icon_state = "whitepurplefull"
},
@@ -87710,7 +87718,7 @@
/turf/simulated/floor/plating,
/area/station/maintenance/fpmaint)
"xNa" = (
-/obj/effect/spawner/random_spawners/grille_often,
+/obj/effect/spawner/random/barrier/grille_often,
/obj/machinery/atmospherics/pipe/simple/hidden/cyan{
dir = 4
},
@@ -88814,7 +88822,7 @@
},
/area/station/supply/office)
"ylG" = (
-/obj/machinery/smartfridge,
+/obj/machinery/smartfridge/food/chef,
/obj/machinery/door/window/classic/normal{
name = "Anti-Theft Shield";
dir = 1
@@ -119292,7 +119300,7 @@ lHy
abZ
abZ
abZ
-hbB
+abZ
abZ
aZU
baL
diff --git a/code/__DEFINES/atmospherics_defines.dm b/code/__DEFINES/atmospherics_defines.dm
index eff495a06658..2df5b9f0a2f0 100644
--- a/code/__DEFINES/atmospherics_defines.dm
+++ b/code/__DEFINES/atmospherics_defines.dm
@@ -151,7 +151,12 @@
// Reactions
#define N2O_DECOMPOSITION_MIN_ENERGY 1400
#define N2O_DECOMPOSITION_ENERGY_RELEASED 200000
-
+/// The coefficient a for a function of the form: 1 - (a / (x + c)^2) which gives a decomposition rate of 0.5 at 50000 Kelvin
+/// And a decomposition close to 0 at 1400 Kelvin
+#define N2O_DECOMPOSITION_COEFFICIENT_A 1.376651173e10
+/// The coefficient c for a function of the form: 1 - (a / (x + c)^2) which gives a decomposition rate of 0.5 at 50000 Kelvin
+/// And a decomposition rate close to 0 at 1400 Kelvin
+#define N2O_DECOMPOSITION_COEFFICIENT_C 115930.77913
// From milla/src/model.rs, line 126
#define ATMOS_MODE_SPACE 0 //! Tile is exposed to space and loses air every second
#define ATMOS_MODE_SEALED 1 //! Tile has no special behaviour
diff --git a/code/__DEFINES/combat_defines.dm b/code/__DEFINES/combat_defines.dm
index 88e5cf342111..4bf5eb5b7e05 100644
--- a/code/__DEFINES/combat_defines.dm
+++ b/code/__DEFINES/combat_defines.dm
@@ -53,6 +53,7 @@
//Health Defines
#define HEALTH_THRESHOLD_CRIT 0
+#define HEALTH_THRESHOLD_SUCCUMB -30
#define HEALTH_THRESHOLD_KNOCKOUT -50
#define HEALTH_THRESHOLD_DEAD -100
diff --git a/code/__DEFINES/dcs/datum_signals.dm b/code/__DEFINES/dcs/datum_signals.dm
index 650c91a12e30..6850155f3451 100644
--- a/code/__DEFINES/dcs/datum_signals.dm
+++ b/code/__DEFINES/dcs/datum_signals.dm
@@ -8,7 +8,7 @@
/// when a component is added to a datum: (/datum/component)
#define COMSIG_COMPONENT_ADDED "component_added"
-/// before a component is removed from a datum because of RemoveComponent: (/datum/component)
+/// before a component is removed from a datum because of UnlinkComponent: (/datum/component)
#define COMSIG_COMPONENT_REMOVING "component_removing"
/// before a datum's Destroy() is called: (force), returning a nonzero value will cancel the qdel operation
#define COMSIG_PARENT_PREQDELETED "parent_preqdeleted"
diff --git a/code/__DEFINES/dcs/mob_signals.dm b/code/__DEFINES/dcs/mob_signals.dm
index 5ff291666809..286daac792f5 100644
--- a/code/__DEFINES/dcs/mob_signals.dm
+++ b/code/__DEFINES/dcs/mob_signals.dm
@@ -131,6 +131,8 @@
///from base of /obj/item/bodypart/proc/attach_limb(): (new_limb, special) allows you to fail limb attachment
#define COMSIG_LIVING_ATTACH_LIMB "living_attach_limb"
#define COMPONENT_NO_ATTACH (1<<0)
+///from base of mob/living/health_update()
+#define COMSIG_LIVING_HEALTH_UPDATE "living_health_update"
///sent from borg recharge stations: (amount, repairs)
#define COMSIG_PROCESS_BORGCHARGER_OCCUPANT "living_charge"
///sent when a mob enters a borg charger
diff --git a/code/__DEFINES/dcs/movable_signals.dm b/code/__DEFINES/dcs/movable_signals.dm
index 2d197e1d0dd4..c0ac15e5393f 100644
--- a/code/__DEFINES/dcs/movable_signals.dm
+++ b/code/__DEFINES/dcs/movable_signals.dm
@@ -39,6 +39,8 @@
#define COMSIG_MOVABLE_POST_THROW "movable_post_throw"
///from base of datum/thrownthing/finalize(): (obj/thrown_object, datum/thrownthing) used for when a throw is finished
#define COMSIG_MOVABLE_THROW_LANDED "movable_throw_landed"
+///from base of atom/movable/shove_impact(): (mob/living/target, mob/living/attacker)
+#define COMSIG_MOVABLE_SHOVE_IMPACT "movable_shove_impact"
///from base of atom/movable/onTransitZ(): (old_z, new_z)
#define COMSIG_MOVABLE_Z_CHANGED "movable_ztransit"
diff --git a/code/__DEFINES/dcs/obj_signals.dm b/code/__DEFINES/dcs/obj_signals.dm
index 1cee071550ef..936667d709ff 100644
--- a/code/__DEFINES/dcs/obj_signals.dm
+++ b/code/__DEFINES/dcs/obj_signals.dm
@@ -20,3 +20,16 @@
#define COMSIG_CURSED_SLOT_MACHINE_LOST "cursed_slot_machine_lost"
/// from /obj/structure/cursed_slot_machine/determine_victor() when someone finally wins.
#define COMSIG_GLOB_CURSED_SLOT_MACHINE_WON "cursed_slot_machine_won"
+
+
+// other subtypes
+
+/// from /datum/component/shelved/UnregisterFromParent(): (parent_uid)
+#define COMSIG_SHELF_ITEM_REMOVED "shelf_item_removed"
+/// from /datum/component/shelver/add_item(): (obj/item/to_add, placement_idx, list/position_details)
+#define COMSIG_SHELF_ITEM_ADDED "shelf_item_added"
+/// from Initialize on objects implementing /datum/component/shelved
+#define COMSIG_SHELF_ADDED_ON_MAPLOAD "shelf_added_on_mapload"
+/// from /datum/component/shelver/shelf_items()
+#define COMSIG_SHELF_ATTEMPT_PICKUP "shelf_attempt_pickup"
+ #define SHELF_PICKUP_FAILURE (1 << 0)
diff --git a/code/__DEFINES/layers.dm b/code/__DEFINES/layers.dm
index 5b460ff93401..cfe41cb599e2 100644
--- a/code/__DEFINES/layers.dm
+++ b/code/__DEFINES/layers.dm
@@ -9,8 +9,14 @@
#define PLANE_SPACE -95
#define PLANE_SPACE_PARALLAX -90
-#define FLOOR_PLANE -2
-#define FLOOR_OVERLAY_PLANE -1.5
+#define FLOOR_PLANE -6
+#define FLOOR_OVERLAY_PLANE -5
+
+#define FLOOR_LIGHTING_LAMPS_GLARE -4
+#define FLOOR_LIGHTING_LAMPS_SELFGLOW -3
+#define FLOOR_LIGHTING_LAMPS_PLANE -2
+#define FLOOR_LIGHTING_LAMPS_RENDER_TARGET "*FLOOR_LIGHTING_LAMPS_RENDER_TARGET"
+
#define GAME_PLANE -1
#define BLACKNESS_PLANE 0 //To keep from conflicts with SEE_BLACKNESS internals
diff --git a/code/__DEFINES/lighting_defines.dm b/code/__DEFINES/lighting_defines.dm
index 87bde7284321..03e1789a51dc 100644
--- a/code/__DEFINES/lighting_defines.dm
+++ b/code/__DEFINES/lighting_defines.dm
@@ -27,6 +27,11 @@
0, 0, 0, 1 \
) \
+// Defines that handle the current status of a light
+#define LIGHT_OK 0
+#define LIGHT_EMPTY 1
+#define LIGHT_BROKEN 2
+#define LIGHT_BURNED 3
//Some defines to generalise colours used in lighting.
//Important note on colors. Colors can end up significantly different from the basic html picture, especially when saturated
diff --git a/code/__DEFINES/misc_defines.dm b/code/__DEFINES/misc_defines.dm
index 64f5e0911db7..d64e26ff1011 100644
--- a/code/__DEFINES/misc_defines.dm
+++ b/code/__DEFINES/misc_defines.dm
@@ -105,7 +105,7 @@
#define STAGE_SIX 11 //From supermatter shard
/// A define for the center of the coordinate map of big machinery
-#define MACH_CENTER 0
+#define MACH_CENTER 2
#define in_range(source, user) (get_dist(source, user) <= 1)
@@ -423,7 +423,7 @@
#define INVESTIGATE_HOTMIC "hotmic"
// The SQL version required by this version of the code
-#define SQL_VERSION 592207
+#define SQL_VERSION 602207
// Vending machine stuff
#define CAT_NORMAL (1<<0)
@@ -592,12 +592,6 @@
/// Mutes the democracy mode messages send to orbiters at the end of each cycle. Useful for when the cooldown is so low it'd get spammy.
#define MUTE_DEADCHAT_DEMOCRACY_MESSAGES (1<<2)
-// Lavaland cave design defines
-
-#define BLOCKED_BURROWS "Blocked Burrows"
-#define CLASSIC_CAVES "Classic Caves"
-#define DEADLY_DEEPROCK "Deadly Deeprock"
-
///Sleep check QDEL. Like sleep check death, but checks deleting. Good for non mobs.
#define SLEEP_CHECK_QDEL(X) sleep(X); if(QDELETED(src)) return;
// Request console message priority defines
@@ -735,4 +729,6 @@ do { \
#define INGREDIENT_CHECK_FAILURE 0
#define INGREDIENT_CHECK_SURPLUS -1
+#define LAVALAND_TENDRIL_COLLAPSE_RANGE 2 //! The radius of the chasm created by killed tendrils.
+
#define ALPHA_VISIBLE 255 // the max alpha
diff --git a/code/__DEFINES/sound_defines.dm b/code/__DEFINES/sound_defines.dm
index 262f2a600f69..583bc231980c 100644
--- a/code/__DEFINES/sound_defines.dm
+++ b/code/__DEFINES/sound_defines.dm
@@ -12,10 +12,11 @@
#define CHANNEL_RADIO_NOISE 1014 // radio headset noise
#define CHANNEL_BOSS_MUSIC 1013
#define CHANNEL_GENERAL 1012
+#define CHANNEL_SURGERY_SOUNDS 1011
// SS220 ADDITION START
-#define CHANNEL_TTS_RADIO 1011
-#define CHANNEL_TTS_LOCAL 1010
-#define CHANNEL_CINEMATIC 1009
+#define CHANNEL_TTS_RADIO 1010
+#define CHANNEL_TTS_LOCAL 1009
+#define CHANNEL_CINEMATIC 1008
// SS220 ADDITION END
#define USER_VOLUME(M, C) M?.client?.prefs.get_channel_volume(C)
@@ -23,7 +24,7 @@
//THIS SHOULD ALWAYS BE THE LOWEST ONE!
//KEEP IT UPDATED
-#define CHANNEL_HIGHEST_AVAILABLE 1008
+#define CHANNEL_HIGHEST_AVAILABLE 1007
#define MAX_INSTRUMENT_CHANNELS (128 * 6)
diff --git a/code/__HELPERS/paths/path.dm b/code/__HELPERS/paths/path.dm
index ef5bd32e3f16..706bd6e4cf27 100644
--- a/code/__HELPERS/paths/path.dm
+++ b/code/__HELPERS/paths/path.dm
@@ -386,7 +386,7 @@ GLOBAL_LIST_INIT(can_pass_info_vars, GLOBAL_PROC_REF(can_pass_check_vars))
/datum/can_pass_info/proc/compare_against(datum/can_pass_info/check_against)
for(var/comparable_var in GLOB.can_pass_info_vars)
- if(!(vars[comparable_var] ~= check_against[comparable_var]))
+ if(!(vars[comparable_var] ~= check_against.vars[comparable_var]))
return FALSE
if(!pulling_info != !check_against.pulling_info)
return FALSE
diff --git a/code/__HELPERS/trait_helpers.dm b/code/__HELPERS/trait_helpers.dm
index ecaa149c21e2..241da8e9fcb3 100644
--- a/code/__HELPERS/trait_helpers.dm
+++ b/code/__HELPERS/trait_helpers.dm
@@ -129,7 +129,7 @@
/// A simple helper for checking traits in a mob's mind
#define HAS_MIND_TRAIT(target, trait) (istype(target, /datum/mind) ? HAS_TRAIT(target, trait) : (target.mind ? HAS_TRAIT(target.mind, trait) : FALSE))
/// Gives a unique trait source for any given datum
-#define UNIQUE_TRAIT_SOURCE(target) "unique_source_[UID(target)]"
+#define UNIQUE_TRAIT_SOURCE(target) "unique_source_[target.UID()]"
/*
Remember to update _globalvars/traits.dm if you're adding/removing/renaming traits.
@@ -225,7 +225,7 @@ Remember to update _globalvars/traits.dm if you're adding/removing/renaming trai
#define TRAIT_IPC_JOINTS_SEALED "ipc_joints_sealed" // The IPC's limbs will not pop off bar sharp damage (aka like a human), but will take slightly more stamina damage
#define TRAIT_HAS_GPS "has_gps" // used for /Stat
#define TRAIT_CAN_VIEW_HEALTH "can_view_health" // Also used for /Stat
-#define TRAIT_MAGPULSE "magnetificent" // Used for anything that is magboot related
+#define TRAIT_MAGPULSE "magpulse" // Used for anything that is magboot related
#define TRAIT_NOSLIP "noslip"
#define TRAIT_SCOPED "user_scoped"
#define TRAIT_MEPHEDRONE_ADAPTED "mephedrone_adapted" // Trait that changes the ending effects of twitch leaving your system
diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm
index efc529ea251b..3dd0ec77e5ef 100644
--- a/code/__HELPERS/unsorted.dm
+++ b/code/__HELPERS/unsorted.dm
@@ -1141,41 +1141,23 @@ Checks if that loc and dir has a item on the wall
*/
GLOBAL_LIST_INIT(wall_items, typecacheof(list(/obj/machinery/power/apc, /obj/machinery/alarm,
/obj/item/radio/intercom, /obj/structure/extinguisher_cabinet, /obj/structure/reagent_dispensers/peppertank,
- /obj/machinery/status_display, /obj/machinery/requests_console, /obj/machinery/light_switch, /obj/structure/sign,
+ /obj/machinery/status_display, /obj/machinery/requests_console, /obj/structure/sign,
/obj/machinery/newscaster, /obj/machinery/firealarm, /obj/structure/noticeboard, /obj/machinery/door_control,
/obj/machinery/computer/security/telescreen, /obj/machinery/airlock_controller,
/obj/item/storage/secure/safe, /obj/machinery/door_timer, /obj/machinery/flasher, /obj/machinery/keycard_auth,
/obj/structure/mirror, /obj/structure/closet/fireaxecabinet, /obj/machinery/computer/security/telescreen/entertainment,
- /obj/structure/sign, /obj/machinery/barsign)))
+ /obj/structure/sign, /obj/machinery/barsign, /obj/machinery/light, /obj/machinery/light_construct)))
/proc/gotwallitem(loc, dir)
for(var/obj/O in loc)
- if(is_type_in_typecache(O, GLOB.wall_items))
- //Direction works sometimes
- if(O.dir == dir)
- return 1
-
- //Some stuff doesn't use dir properly, so we need to check pixel instead
- switch(dir)
- if(SOUTH)
- if(O.pixel_y > 10)
- return 1
- if(NORTH)
- if(O.pixel_y < -10)
- return 1
- if(WEST)
- if(O.pixel_x > 10)
- return 1
- if(EAST)
- if(O.pixel_x < -10)
- return 1
-
- //Some stuff is placed directly on the wallturf (signs)
+ if(is_type_in_typecache(O, GLOB.wall_items) && dir == O.dir)
+ return TRUE
+
+ // Some stuff is placed directly on the wallturf (signs)
for(var/obj/O in get_step(loc, dir))
if(is_type_in_typecache(O, GLOB.wall_items))
- if(abs(O.pixel_x) <= 10 && abs(O.pixel_y) <= 10)
- return 1
- return 0
+ return TRUE
+ return FALSE
/proc/atan2(x, y)
if(!x && !y) return 0
@@ -1874,9 +1856,6 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
continue
. += A
-/proc/pass()
- return
-
/atom/proc/Shake(pixelshiftx = 15, pixelshifty = 15, duration = 250)
var/initialpixelx = pixel_x
var/initialpixely = pixel_y
@@ -1971,15 +1950,18 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
return "Radio Noise"
if(CHANNEL_BOSS_MUSIC)
return "Boss Music"
+ if(CHANNEL_SURGERY_SOUNDS)
+ return "Surgery Sounds"
// SS220 ADDITON START
if(CHANNEL_TTS_LOCAL)
return "TTS Local"
if(CHANNEL_TTS_RADIO)
return "TTS Radio"
if(CHANNEL_CINEMATIC)
- return "Cinematic music"
+ return "Cinematic Music"
// SS220 ADDITION END
+
/proc/slot_bitfield_to_slot(input_slot_flags) // Kill off this garbage ASAP; slot flags and clothing flags should be IDENTICAL. GOSH DARN IT. Doesn't work with ears or pockets, either.
switch(input_slot_flags)
if(SLOT_FLAG_OCLOTHING)
diff --git a/code/_globalvars/lists/reagents_lists.dm b/code/_globalvars/lists/reagents_lists.dm
index 92e50d01ed7f..17c8e76bc0d2 100644
--- a/code/_globalvars/lists/reagents_lists.dm
+++ b/code/_globalvars/lists/reagents_lists.dm
@@ -10,7 +10,7 @@ GLOBAL_LIST_INIT(standard_medicines, list("charcoal","toxin","cyanide","morphine
GLOBAL_LIST_INIT(rare_medicines, list("syndicate_nanites","minttoxin","blood", "xenomicrobes"))
// Drinks
GLOBAL_LIST_INIT(drinks, list("beer2","hot_coco","orangejuice","tomatojuice","limejuice","carrotjuice",
- "berryjuice","poisonberryjuice","watermelonjuice","lemonjuice","banana",
+ "berryjuice","poisonberryjuice","watermelonjuice","lemonjuice","banana", "bungojuice",
"nothing","potato","milk","soymilk","cream","coffee","tea","icecoffee",
"icetea","cola","nuka_cola","spacemountainwind","thirteenloko","dr_gibb",
"space_up","lemon_lime","beer","whiskey","gin","rum","vodka","holywater",
@@ -48,5 +48,6 @@ GLOBAL_LIST_INIT(blocked_chems, list("polonium", "initropidril", "concentrated_i
"lavaland_extract", "stable_mutagen", "beer2",
"curare", "gluttonytoxin", "smoke_powder", "stimulative_cling",
"teslium_paste", "omnizine_no_addiction", "zombiecure1",
- "zombiecure2", "zombiecure3", "zombiecure4"
+ "zombiecure2", "zombiecure3", "zombiecure4",
+ "admincleaner_all", "admincleaner_item", "admincleaner_mob",
))
diff --git a/code/_onclick/hud/plane_master.dm b/code/_onclick/hud/plane_master.dm
index 4ac17efb7f98..c28d7efb270a 100644
--- a/code/_onclick/hud/plane_master.dm
+++ b/code/_onclick/hud/plane_master.dm
@@ -118,6 +118,11 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_target = LIGHTING_LAMPS_RENDER_TARGET
+/atom/movable/screen/plane_master/lamps/floor
+ name = "floor lamps plane master"
+ plane = FLOOR_LIGHTING_LAMPS_PLANE
+ render_target = FLOOR_LIGHTING_LAMPS_RENDER_TARGET
+
/atom/movable/screen/plane_master/exposure
name = "exposure plane master"
plane = LIGHTING_EXPOSURE_PLANE
@@ -143,6 +148,12 @@
appearance_flags = PLANE_MASTER //should use client color
blend_mode = BLEND_ADD
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+ var/target_rendering = LIGHTING_LAMPS_RENDER_TARGET
+
+/atom/movable/screen/plane_master/lamps_selfglow/floor
+ name = "floor lamps selfglow plane master"
+ plane = FLOOR_LIGHTING_LAMPS_SELFGLOW
+ target_rendering = FLOOR_LIGHTING_LAMPS_RENDER_TARGET
/atom/movable/screen/plane_master/lamps_selfglow/backdrop(mob/mymob)
remove_filter("add_lamps_to_selfglow")
@@ -169,13 +180,19 @@
else
return
- add_filter("add_lamps_to_selfglow", 1, layering_filter(render_source = LIGHTING_LAMPS_RENDER_TARGET, blend_mode = BLEND_OVERLAY))
+ add_filter("add_lamps_to_selfglow", 1, layering_filter(render_source = target_rendering, blend_mode = BLEND_OVERLAY))
add_filter("lamps_selfglow_bloom", 1, bloom_filter(threshold = "#777777", size = bloomsize, offset = bloomoffset, alpha = 80))
/atom/movable/screen/plane_master/lamps_glare
name = "lamps glare plane master"
plane = LIGHTING_LAMPS_GLARE
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
+ var/target_rendering = LIGHTING_LAMPS_RENDER_TARGET
+
+/atom/movable/screen/plane_master/lamps_glare/floor
+ name = "floor lamps glare plane master"
+ plane = FLOOR_LIGHTING_LAMPS_GLARE
+ target_rendering = FLOOR_LIGHTING_LAMPS_RENDER_TARGET
/atom/movable/screen/plane_master/lamps_glare/backdrop(mob/mymob)
remove_filter("add_lamps_to_glare")
@@ -187,5 +204,5 @@
var/enabled = mymob?.client?.prefs?.light & LIGHT_GLARE
if(enabled)
- add_filter("add_lamps_to_glare", 1, layering_filter(render_source = LIGHTING_LAMPS_RENDER_TARGET, blend_mode = BLEND_ADD))
+ add_filter("add_lamps_to_glare", 1, layering_filter(render_source = target_rendering, blend_mode = BLEND_ADD))
add_filter("lamps_glare", 1, radial_blur_filter(size = 0.035))
diff --git a/code/_onclick/hud/plane_master_controller.dm b/code/_onclick/hud/plane_master_controller.dm
index 1e3d317fc1a2..d16e2da744e2 100644
--- a/code/_onclick/hud/plane_master_controller.dm
+++ b/code/_onclick/hud/plane_master_controller.dm
@@ -76,6 +76,9 @@
name = PLANE_MASTERS_GAME
controlled_planes = list(
FLOOR_PLANE,
+ FLOOR_LIGHTING_LAMPS_SELFGLOW,
+ FLOOR_LIGHTING_LAMPS_PLANE,
+ FLOOR_LIGHTING_LAMPS_GLARE,
GAME_PLANE,
LIGHTING_PLANE,
PLANE_SPACE_PARALLAX,
diff --git a/code/controllers/failsafe.dm b/code/controllers/failsafe.dm
index 9d5c2fee9333..8dfa035ab309 100644
--- a/code/controllers/failsafe.dm
+++ b/code/controllers/failsafe.dm
@@ -165,9 +165,9 @@ GLOBAL_REAL(Failsafe, /datum/controller/failsafe)
if(. == 1) //We were able to create a new master
SSticker.Recover(); //Recover the ticket system so the Masters runlevel gets set
Master.Initialize(10, FALSE, TRUE) //Need to manually start the MC, normally world.new would do this
- to_chat(GLOB.admins, "MC successfully recreated after deleting and recreating all subsystems! ")
+ to_chat(GLOB.admins, "MC successfully recreated after deleting and recreating all subsystems! ")
else
- message_admins("Failed to create new MC! ")
+ message_admins("Failed to create new MC! ")
/datum/controller/failsafe/proc/defcon_pretty()
return defcon
diff --git a/code/controllers/subsystem/SSblackbox.dm b/code/controllers/subsystem/SSblackbox.dm
index cdd10077d26b..1141f715152b 100644
--- a/code/controllers/subsystem/SSblackbox.dm
+++ b/code/controllers/subsystem/SSblackbox.dm
@@ -195,13 +195,16 @@ SUBSYSTEM_DEF(blackbox)
* Arguments:
* * key_type - Type of key. Either "text", "amount", "tally", "nested tally", "associative"
* * key - Key of the data to be used (EG: "admin_verb")
- * * increment - If using "amount", how much to increment why
+ * * stat - Either a number accumulated via "amount", "tally", or "nested tally"; or a number/string collected by "ledger" or "nested ledger".
* * data - The actual data to logged
* * overwrite - Do we want to overwrite the existing key
* * ignore_seal - Does the feedback go in regardless of blackbox sealed status? (EG: map vote results)
*/
-/datum/controller/subsystem/blackbox/proc/record_feedback(key_type, key, increment, data, overwrite, ignore_seal)
- if((sealed && !ignore_seal) || !key_type || !istext(key) || !isnum(increment || !data))
+/datum/controller/subsystem/blackbox/proc/record_feedback(key_type, key, stat, data, overwrite, ignore_seal)
+ var/is_invalid_value = !isnum(stat || !data)
+ if(key_type == "ledger" || key_type == "nested ledger")
+ is_invalid_value &&= !istext(stat)
+ if((sealed && !ignore_seal) || !key_type || !istext(key) || is_invalid_value)
return
var/datum/feedback_variable/FV = find_feedback_datum(key, key_type)
switch(key_type)
@@ -215,17 +218,17 @@ SUBSYSTEM_DEF(blackbox)
else
FV.json["data"] |= data
if("amount")
- FV.json["data"] += increment
+ FV.json["data"] += stat
if("tally")
if(!islist(FV.json["data"]))
FV.json["data"] = list()
- FV.json["data"]["[data]"] += increment
+ FV.json["data"]["[data]"] += stat
if("nested tally")
if(!islist(data))
return
if(!islist(FV.json["data"]))
FV.json["data"] = list()
- FV.json["data"] = record_feedback_recurse_list(FV.json["data"], data, increment)
+ FV.json["data"] = record_feedback_recurse_list(FV.json["data"], data, stat)
if("associative")
if(!islist(data))
return
@@ -235,6 +238,18 @@ SUBSYSTEM_DEF(blackbox)
FV.json["data"]["[pos]"] = list()
for(var/i in data)
FV.json["data"]["[pos]"]["[i]"] = "[data[i]]"
+ if("ledger")
+ if(!islist(FV.json["data"]))
+ FV.json["data"] = list()
+ if(!islist(FV.json["data"]["[data]"]))
+ FV.json["data"]["[data]"] = list()
+ FV.json["data"]["[data]"] += list(stat)
+ if("nested ledger")
+ if(!islist(data))
+ return
+ if(!islist(FV.json["data"]))
+ FV.json["data"] = list()
+ FV.json["data"] = record_feedback_recurse_list(FV.json["data"], data, stat, accumulate = FALSE)
/**
* Recursive list recorder
@@ -244,21 +259,28 @@ SUBSYSTEM_DEF(blackbox)
* Arguments:
* * L - List to use
* * key_list - List of keys to add
- * * increment - How much to increase by
+ * * value - How much to increase by or append to
* * depth - Depth to use
+ * * accumulate - TRUE if we are adding `value` to a tally, FALSE if we are appending it to a record
*/
-/datum/controller/subsystem/blackbox/proc/record_feedback_recurse_list(list/L, list/key_list, increment, depth = 1)
+/datum/controller/subsystem/blackbox/proc/record_feedback_recurse_list(list/L, list/key_list, value, depth = 1, accumulate = TRUE)
+ var/key_depth = key_list[depth]
if(depth == length(key_list))
- if(L.Find(key_list[depth]))
- L["[key_list[depth]]"] += increment
+ if(L.Find(key_depth))
+ if(accumulate)
+ L["[key_depth]"] += value
+ else
+ if(!islist(L["[key_depth]"]))
+ L["[key_depth]"] = list()
+ L["[key_depth]"] += list(value)
else
- var/list/list_found_index = list(key_list[depth] = increment)
+ var/list/list_found_index = accumulate ? list("[key_depth]" = value) : list("[key_depth]" = list(value))
L += list_found_index
else
- if(!L.Find(key_list[depth]))
- var/list/list_go_down = list(key_list[depth] = list())
+ if(!L.Find(key_depth))
+ var/list/list_go_down = list("[key_depth]" = list())
L += list_go_down
- L["[key_list[depth-1]]"] = .(L["[key_list[depth]]"], key_list, increment, ++depth)
+ L["[key_list[depth-1]]"] = .(L["[key_depth]"], key_list, value, ++depth, accumulate = accumulate)
return L
/**
diff --git a/code/controllers/subsystem/SSinput.dm b/code/controllers/subsystem/SSinput.dm
index 4e4e27477fc6..0ee764297381 100644
--- a/code/controllers/subsystem/SSinput.dm
+++ b/code/controllers/subsystem/SSinput.dm
@@ -22,6 +22,8 @@ SUBSYSTEM_DEF(input)
return "P: [length(processing)]"
/datum/controller/subsystem/input/fire(resumed = FALSE)
+ // Sleeps in input handling are bad, because they can stall the entire subsystem indefinitely, breaking most movement. key_loop has SHOULD_NOT_SLEEP(TRUE), which helps, but it doesn't catch everything, so we also waitfor=FALSE here, as using INVOKE_ASYNC here is very unperformant.
+ set waitfor = FALSE
var/list/to_cull
for(var/client/C in processing)
if(processing[C] + AUTO_CULL_TIME < world.time)
diff --git a/code/controllers/subsystem/SSstatpanel.dm b/code/controllers/subsystem/SSstatpanel.dm
index 20804e50b5f2..b918eb8a4e71 100644
--- a/code/controllers/subsystem/SSstatpanel.dm
+++ b/code/controllers/subsystem/SSstatpanel.dm
@@ -294,7 +294,7 @@ SUBSYSTEM_DEF(statpanels)
actively_tracking = TRUE
/datum/object_window_info/proc/stop_turf_tracking()
- qdel(GetComponent(/datum/component/connect_mob_behalf))
+ DeleteComponent(/datum/component/connect_mob_behalf)
actively_tracking = FALSE
/datum/object_window_info/proc/on_mob_move(mob/source)
diff --git a/code/controllers/subsystem/SSticker.dm b/code/controllers/subsystem/SSticker.dm
index 37535ca1b436..1d215b776805 100644
--- a/code/controllers/subsystem/SSticker.dm
+++ b/code/controllers/subsystem/SSticker.dm
@@ -331,7 +331,7 @@ SUBSYSTEM_DEF(ticker)
SSdbcore.SetRoundStart()
to_chat(world, "Enjoy the game! ")
- SEND_SOUND(world, sound('sound/AI/welcome.ogg'))
+ SEND_SOUND(world, sound(SSmapping.map_datum.welcome_sound))
if(SSholiday.holidays)
to_chat(world, "and... ")
diff --git a/code/controllers/subsystem/non_firing/SSatoms.dm b/code/controllers/subsystem/non_firing/SSatoms.dm
index 038f417c9b0c..fb5419680375 100644
--- a/code/controllers/subsystem/non_firing/SSatoms.dm
+++ b/code/controllers/subsystem/non_firing/SSatoms.dm
@@ -49,7 +49,6 @@ SUBSYSTEM_DEF(atoms)
log_startup_progress("Initialized [count] atoms in [stop_watch(watch)]s")
else
log_debug(" Initialized [count] atoms in [stop_watch(watch)]s")
- pass(count)
initialized = INITIALIZATION_INNEW_REGULAR
diff --git a/code/controllers/subsystem/non_firing/SSmapping.dm b/code/controllers/subsystem/non_firing/SSmapping.dm
index ca5592181358..2c4e86a6af40 100644
--- a/code/controllers/subsystem/non_firing/SSmapping.dm
+++ b/code/controllers/subsystem/non_firing/SSmapping.dm
@@ -15,7 +15,7 @@ SUBSYSTEM_DEF(mapping)
///What do we have as the lavaland theme today?
var/datum/lavaland_theme/lavaland_theme
///What primary cave theme we have picked for cave generation today.
- var/cave_theme
+ var/datum/caves_theme/caves_theme
// Tells if all maintenance airlocks have emergency access enabled
var/maint_all_access = FALSE
// Tells if all station airlocks have emergency access enabled
@@ -55,10 +55,15 @@ SUBSYSTEM_DEF(mapping)
var/datum/lavaland_theme/lavaland_theme_type = pick(subtypesof(/datum/lavaland_theme))
ASSERT(lavaland_theme_type)
lavaland_theme = new lavaland_theme_type
- log_startup_progress("We're in the mood for [initial(lavaland_theme.name)] today...") //We load this first. In the event some nerd ever makes a surface map, and we don't have it in lavaland in the event lavaland is disabled.
+ log_startup_progress("We're in the mood for [lavaland_theme.name] today...") //We load this first. In the event some nerd ever makes a surface map, and we don't have it in lavaland in the event lavaland is disabled.
+ SSblackbox.record_feedback("text", "procgen_settings", 1, "[lavaland_theme_type]")
+
+ var/caves_theme_type = pick(subtypesof(/datum/caves_theme))
+ ASSERT(caves_theme_type)
+ caves_theme = new caves_theme_type
+ log_startup_progress("We feel like [caves_theme.name] today...")
+ SSblackbox.record_feedback("text", "procgen_settings", 1, "[caves_theme_type]")
- cave_theme = pick(BLOCKED_BURROWS, CLASSIC_CAVES, DEADLY_DEEPROCK)
- log_startup_progress("We feel like [cave_theme] today...")
// Load all Z level templates
preloadTemplates()
preloadTemplates(path = "code/modules/unit_tests/atmos/")
@@ -89,7 +94,8 @@ SUBSYSTEM_DEF(mapping)
seedRuins(list(level_name_to_num(MINING)), GLOB.configuration.ruins.lavaland_ruin_budget, /area/lavaland/surface/outdoors/unexplored, GLOB.lava_ruins_templates)
if(lavaland_theme)
lavaland_theme.setup()
- lavaland_theme.setup_caves()
+ if(caves_theme)
+ caves_theme.setup()
var/time_spent = stop_watch(lavaland_setup_timer)
log_startup_progress("Successfully populated lavaland in [time_spent]s.")
else
@@ -169,7 +175,7 @@ SUBSYSTEM_DEF(mapping)
/obj/item/salvage/ruin/carp,
/obj/item/salvage/ruin/tablet,
/obj/item/salvage/ruin/pirate,
- /obj/item/salvage/ruin/russian
+ /obj/item/salvage/ruin/soviet
)
for(var/z_level in space_z_levels)
diff --git a/code/controllers/subsystem/processing/SSstation.dm b/code/controllers/subsystem/processing/SSstation.dm
index 73fe2a6f2364..64a285813d33 100644
--- a/code/controllers/subsystem/processing/SSstation.dm
+++ b/code/controllers/subsystem/processing/SSstation.dm
@@ -18,9 +18,9 @@ PROCESSING_SUBSYSTEM_DEF(station)
/datum/controller/subsystem/processing/station/proc/SetupTraits()
if(fexists("data/next_traits.txt"))
- var/forced_traits_contents = file2list("data/next_traits.txt")
+ var/forced_traits_contents = file2text("data/next_traits.txt")
fdel("data/next_traits.txt")
- var/list/temp_list = splittext(forced_traits_contents[1], ",")
+ var/list/temp_list = json_decode(forced_traits_contents)
for(var/trait_text_path in temp_list)
var/station_trait_path = text2path(trait_text_path)
diff --git a/code/datums/components/_component.dm b/code/datums/components/_component.dm
index cbf6e6940e7a..d525b295db3d 100644
--- a/code/datums/components/_component.dm
+++ b/code/datums/components/_component.dm
@@ -441,6 +441,14 @@
return new_comp
return old_comp
+/**
+ * Removes the component from the datum
+ */
+/datum/proc/DeleteComponent(component_to_nuke)
+ var/datum/component/removing = GetComponent(component_to_nuke)
+ if(istype(removing, component_to_nuke) && !QDELETED(removing))
+ qdel(removing)
+
/**
* Get existing component of type, or create it and return a reference to it
*
@@ -458,7 +466,7 @@
/**
* Removes the component from parent, ends up with a null parent
*/
-/datum/component/proc/RemoveComponent()
+/datum/component/proc/UnlinkComponent()
if(!parent)
return
var/datum/old_parent = parent
@@ -467,6 +475,13 @@
parent = null
SEND_SIGNAL(old_parent, COMSIG_COMPONENT_REMOVING, src)
+/**
+ * Deletes the component and removes it from parent.
+ */
+/datum/component/proc/RemoveComponent() // This really is just a wrapper to pretend that we're using sane procs to fully remove a component
+ if(!QDELETED(src))
+ qdel(src)
+
/**
* Transfer this component to another parent
*
@@ -479,7 +494,7 @@
if(!target || target.parent == src)
return
if(target.parent)
- target.RemoveComponent()
+ target.UnlinkComponent()
target.parent = src
var/result = target.PostTransfer()
switch(result)
diff --git a/code/datums/components/multitile.dm b/code/datums/components/multitile.dm
index da09bfc6d575..aa01a5741aa6 100644
--- a/code/datums/components/multitile.dm
+++ b/code/datums/components/multitile.dm
@@ -16,45 +16,64 @@
*/
//distance_from_center does not include src itself
-/datum/component/multitile/Initialize(distance_from_center, new_filler_map)
- if(!distance_from_center || !length(new_filler_map))
+/datum/component/multitile/Initialize(new_filler_map)
+ if(!length(new_filler_map))
return COMPONENT_INCOMPATIBLE
if(!isatom(parent))
return COMPONENT_INCOMPATIBLE
+ var/max_height = length(new_filler_map)
+ var/max_width = length(new_filler_map[1]) //it should have the same length on every row
+
+ var/offset_x = 0
+ var/offset_y = 0
var/atom/owner = parent
- if(owner.x + distance_from_center > world.maxx || owner.x - distance_from_center < 1)
+
+ for(var/i in 1 to length(new_filler_map))
+ if(length(new_filler_map[i] != max_width))
+ stack_trace("A multitile component was passed a list wich did not have the same length every row. Atom parent is: [parent]")
+ var/obj/machinery/machine = parent
+ machine.deconstruct()
+ return COMPONENT_INCOMPATIBLE
+
+ for(var/j in 1 to length(new_filler_map[i]))
+ if(new_filler_map[i][j] == MACH_CENTER)
+ offset_x = j - ((length(new_filler_map[i]) + 1) / 2)
+ offset_y = i - ((length(new_filler_map) + 1) / 2)
+
+ var/distance_from_center_x = (max_width - 1) / 2
+ var/distance_from_center_y = (max_height - 1) / 2
+
+ if(owner.x - offset_x + distance_from_center_x > world.maxx || owner.x + offset_x - distance_from_center_x < 1)
var/obj/machinery/machine = parent
machine.deconstruct()
return COMPONENT_INCOMPATIBLE
- if(owner.y + distance_from_center > world.maxy || owner.y - distance_from_center < 1)
+ if(owner.y + offset_y + distance_from_center_y > world.maxy || owner.y - offset_y - distance_from_center_y < 1)
var/obj/machinery/machine = parent
machine.deconstruct()
return COMPONENT_INCOMPATIBLE
- var/max_height = length(new_filler_map)
- var/max_width = length(new_filler_map[1]) //it should have the same length on every row
- for(var/i in 2 to length(new_filler_map))
- var/length = length(new_filler_map[i])
- if(length != max_width)
- stack_trace("A multitile component was passed a list wich did not have the same length every row. Atom parent is: [parent]")
- var/obj/machinery/machine = parent
- machine.deconstruct()
- return COMPONENT_INCOMPATIBLE
-
var/current_height = 0
- var/current_width = 0
+ var/current_width = 1
+ var/tile_index = 1
- for(var/turf/filler_turf as anything in RANGE_TURFS(distance_from_center, owner))
- if(new_filler_map[max_height - current_height][max_width - current_width]) // Because the `block()` proc always works from the bottom left to the top right, we have to loop through our nested lists in reverse
+ for(var/turf/filler_turf as anything in block(
+ owner.x - offset_x - distance_from_center_x, owner.y + offset_y - distance_from_center_y, owner.z,
+ owner.x - offset_x + distance_from_center_x, owner.y + offset_y + distance_from_center_y, owner.z,
+ ))
+ //Last check is for filler row lists of length 1.
+ if(new_filler_map[max_height - current_height][current_width] == 1) // Because the `block()` proc always works from the bottom left to the top right, we have to loop through our list in reverse
var/obj/structure/filler/new_filler = new(filler_turf)
all_fillers += new_filler
current_width += 1
- if(current_width == max_width)
+ tile_index++
+ if(tile_index % max_width == 1)
current_height += 1
- current_width = 0
+ current_width = 1
+ if(current_height == max_height)
+ break
/datum/component/multitile/Destroy(force, silent)
QDEL_LIST_CONTENTS(all_fillers)
diff --git a/code/datums/components/orbiter.dm b/code/datums/components/orbiter.dm
index d7a5a3a8adef..d697ada974e3 100644
--- a/code/datums/components/orbiter.dm
+++ b/code/datums/components/orbiter.dm
@@ -456,7 +456,7 @@
var/list/output = list()
if(!processed)
processed = list()
- if(src in processed || isturf(src))
+ if((src in processed) || isturf(src))
return output
processed += src
diff --git a/code/datums/components/shelved.dm b/code/datums/components/shelved.dm
new file mode 100644
index 000000000000..e2fa92ad93dc
--- /dev/null
+++ b/code/datums/components/shelved.dm
@@ -0,0 +1,300 @@
+#define MAX_SHELF_ITEMS 6
+
+/datum/component/shelver
+ /// A list whose keys are a 4-tuple of (left, bottom, right, top) bounding boxes to position details.
+ /// Position details include "x" and "y" as pixel offsets, and "layer" as appearance layer for a placed object.
+ var/list/placement_zones = list()
+ /// A list of slots, one per placement zone. Either empty, or containing the UID of the object in that place.
+ var/list/used_places = list()
+ /// A list of types which are are valid to place on this shelf.
+ var/list/allowed_types = list()
+ /// The default scale transformation for objects placed on the shelf.
+ var/default_scale = 0.70
+ /// The default rotation transformation for objects placed on the shelf.
+ var/default_rotation = 0
+ /// Whether objects auto-shelved by the component are placed in random order on the shelf.
+ var/random_pickup_locations = FALSE
+
+/datum/component/shelver/Initialize(list/allowed_types_ = null, random_pickup_locations_ = FALSE)
+ if(!isstructure(parent))
+ return COMPONENT_INCOMPATIBLE
+ used_places.len = length(placement_zones)
+ if(length(allowed_types_))
+ allowed_types += allowed_types_
+ random_pickup_locations = random_pickup_locations_
+
+/datum/component/shelver/RegisterWithParent()
+ RegisterSignal(parent, COMSIG_SHELF_ATTEMPT_PICKUP, PROC_REF(on_shelf_attempt_pickup))
+ RegisterSignal(parent, COMSIG_PARENT_ATTACKBY, PROC_REF(on_attackby))
+ RegisterSignal(parent, COMSIG_SHELF_ITEM_REMOVED, PROC_REF(on_shelf_item_removed))
+ RegisterSignal(parent, COMSIG_SHELF_ADDED_ON_MAPLOAD, PROC_REF(prepare_autoshelf))
+ RegisterSignal(parent, COMSIG_PARENT_EXAMINE, PROC_REF(on_examine))
+
+/datum/component/shelver/proc/on_examine(datum/source, mob/user, list/examine_list)
+ SIGNAL_HANDLER // COMSIG_PARENT_EXAMINE
+ var/list/results = list()
+ for(var/uid in used_places)
+ if(uid)
+ var/obj/item/I = locateUID(uid)
+ if(istype(I))
+ results += "\a [I.name]"
+
+ if(!length(results))
+ return
+
+ var/joined_results = english_list(results)
+ examine_list += "It currently holds: [joined_results]. "
+
+/datum/component/shelver/proc/prepare_autoshelf()
+ SIGNAL_HANDLER // COMSIG_SHELF_ADDED_ON_MAPLOAD
+
+ // See /obj/structure/closet/Initialize for explanation of
+ // addtimer use here
+ addtimer(CALLBACK(src, PROC_REF(shelf_items)), 0)
+
+/datum/component/shelver/proc/shelf_items()
+ var/obj/structure/structure_parent = parent
+
+ var/list/nearby_empty_tiles = list()
+ for(var/turf/turf_in_view in view(2, get_turf(structure_parent)))
+ if(!isfloorturf(turf_in_view))
+ continue
+ for(var/turf/potential_blockage as anything in get_line(get_turf(structure_parent), turf_in_view))
+ if(!is_blocked_turf(potential_blockage, exclude_mobs = TRUE, excluded_objs = list(parent)))
+ nearby_empty_tiles += turf_in_view
+
+ var/itemcount = 1
+ for(var/obj/item/I in structure_parent.loc)
+ if(I.density || I.anchored || I == structure_parent)
+ continue
+ if(itemcount > MAX_SHELF_ITEMS)
+ // If we can't fit it on the shelf, toss it somewhere nearby
+ if(length(nearby_empty_tiles))
+ var/turf/T = pick(nearby_empty_tiles)
+ I.pixel_x = 0
+ I.pixel_y = 0
+ I.forceMove(T)
+ if(!(SEND_SIGNAL(structure_parent, COMSIG_SHELF_ATTEMPT_PICKUP, I) & SHELF_PICKUP_FAILURE))
+ itemcount++
+
+/datum/component/shelver/proc/on_shelf_attempt_pickup(datum/source, obj/item/to_add)
+ SIGNAL_HANDLER // COMSIG_SHELF_ATTEMPT_PICKUP
+
+ if(!istype(to_add))
+ return SHELF_PICKUP_FAILURE
+
+ var/free_slot = get_free_slot()
+ if(!free_slot)
+ return SHELF_PICKUP_FAILURE
+
+ var/coords = placement_zones[free_slot]
+ var/position_details = placement_zones[coords]
+ add_item(to_add, free_slot, position_details)
+
+/datum/component/shelver/proc/get_free_slot()
+ var/list/free_slots = list()
+ for(var/i in 1 to length(used_places))
+ if(!used_places[i])
+ free_slots += i
+
+ if(!length(free_slots))
+ return
+
+ if(random_pickup_locations)
+ return pick(free_slots)
+
+ return free_slots[1]
+
+/datum/component/shelver/proc/on_shelf_item_removed(datum/source, uid)
+ SIGNAL_HANDLER // COMSIG_SHELF_ITEM_REMOVED
+
+ for(var/i in 1 to length(used_places))
+ if(used_places[i] == uid)
+ used_places[i] = null
+
+ var/obj/O = parent
+ if(istype(O))
+ O.update_appearance(UPDATE_ICON)
+
+/datum/component/shelver/proc/on_attackby(datum/source, obj/item/attacker, mob/user, params)
+ SIGNAL_HANDLER // COMSIG_PARENT_ATTACKBY
+
+ if(isrobot(user))
+ return COMPONENT_NO_AFTERATTACK
+ if(attacker.flags & ABSTRACT)
+ return COMPONENT_NO_AFTERATTACK
+ if(user.a_intent == INTENT_HARM)
+ return
+
+ if(length(allowed_types) && !(attacker.type in allowed_types))
+ to_chat(user, "[attacker] won't fit on [parent]! ")
+ return COMPONENT_NO_AFTERATTACK
+
+ var/list/PL = params2list(params)
+ var/icon_x = text2num(PL["icon-x"])
+ var/icon_y = text2num(PL["icon-y"])
+
+ var/i = 0
+ for(var/coords in placement_zones)
+ i++
+ if(icon_x >= coords[1] && icon_x <= coords[3] && icon_y >= coords[2] && icon_y <= coords[4])
+ if(used_places[i])
+ to_chat(user, "There's already something there on [parent]. ")
+ return COMPONENT_NO_AFTERATTACK
+
+ var/position_details = placement_zones[coords]
+ if(user.drop_item())
+ add_item(attacker, i, position_details)
+ user.visible_message(
+ "[user] places [attacker] on [parent]. ",
+ "You place [attacker] on [parent]. ",
+ )
+ return COMPONENT_NO_AFTERATTACK
+
+/**
+ * Add an item to the shelf.
+ *
+ * Arguments:
+ * * to_add - The item to add. Adding will fail if not an `/obj/item`.
+ * * placement_idx - The slot on the shelf to add the item to.
+ * * position_details - A list containing the "x" and "y" pixel offsets of the position, and the "layer" the object will be set to, if applicable.
+ */
+/datum/component/shelver/proc/add_item(obj/item/to_add, placement_idx, list/position_details)
+ if(!istype(to_add))
+ return
+ to_add.forceMove(get_turf(parent))
+ to_add.AddComponent(/datum/component/shelved, parent)
+ to_add.pixel_x = position_details["x"]
+ to_add.pixel_y = position_details["y"]
+ to_add.appearance_flags |= PIXEL_SCALE
+ if("layer" in position_details)
+ to_add.layer = position_details["layer"]
+ used_places[placement_idx] = to_add.UID()
+ var/obj/O = parent
+ if(istype(O))
+ O.update_appearance(UPDATE_ICON)
+
+ if(default_scale)
+ to_add.transform *= default_scale
+ if(default_rotation)
+ to_add.transform = turn(to_add.transform, default_rotation)
+
+ SEND_SIGNAL(to_add, COMSIG_SHELF_ITEM_ADDED, default_scale)
+
+/datum/component/shelver/basic_shelf
+ placement_zones = list(
+ // Bottom Shelf
+ list(1, 1, 10, 16) = list("x" = -9, "y" = -5, "layer" = BELOW_OBJ_LAYER),
+ list(11, 1, 20, 16) = list("x" = 0, "y" = -5, "layer" = BELOW_OBJ_LAYER),
+ list(21, 1, 32, 16) = list("x" = 9, "y" = -5, "layer" = BELOW_OBJ_LAYER),
+
+ // Top Shelf
+ list(1, 17, 10, 32) = list("x" = -9, "y" = 9),
+ list(11, 17, 20, 32) = list("x" = 0, "y" = 9),
+ list(21, 17, 32, 32) = list("x" = 9, "y" = 9),
+ )
+
+/datum/component/shelver/gun_rack
+ placement_zones = list(
+ // SS220 EDIT START more guns on rack
+ list(1, 1, 7, 32) = list("x" = -12, "y" = -1),
+ list(8, 1, 13, 32) = list("x" = -6, "y" = -1),
+ list(14, 1, 19, 32) = list("x" = 0, "y" = -1),
+ list(20, 1, 25, 32) = list("x" = 6, "y" = -1),
+ list(26, 1, 32, 32) = list("x" = 12, "y" = -1),
+ // SS220 EDIT END
+ )
+ default_scale = 0.80
+ default_rotation = -90
+
+/// A component for items stored on shelves, propagated by [/datum/component/shelver] components.
+/datum/component/shelved
+ /// The UID of the object acting as the shelf
+ var/shelf_uid
+ /// A copy of the shelved object's original transform, to restore after removing from the shelf.
+ var/matrix/original_transform
+ /// A copy of the shelved object's original layer, to restore after removing from the shelf.
+ var/original_layer
+ /// A copy of the shelved object's original appearance flags, to restore after removing from the shelf.
+ var/original_appearance_flags
+
+/datum/component/shelved/Initialize(atom/shelf)
+ if(!isobj(parent))
+ return COMPONENT_INCOMPATIBLE
+ var/obj/O = parent
+
+ shelf_uid = shelf.UID()
+ original_transform = O.transform
+ original_layer = O.layer
+ original_appearance_flags = O.appearance_flags
+
+/datum/component/shelved/RegisterWithParent()
+ . = ..()
+ RegisterSignal(parent, COMSIG_ITEM_PICKUP, PROC_REF(on_item_pickup))
+ RegisterSignal(parent, COMSIG_MOVABLE_MOVED, PROC_REF(on_movable_moved))
+ var/obj/shelf = locateUID(shelf_uid)
+ if(shelf)
+ RegisterSignal(shelf, COMSIG_MOVABLE_SHOVE_IMPACT, PROC_REF(on_movable_shove_impact))
+ RegisterSignal(shelf, COMSIG_ATOM_HITBY, PROC_REF(on_atom_hitby))
+ RegisterSignal(shelf, COMSIG_OBJ_DECONSTRUCT, PROC_REF(on_shelf_deconstruct))
+
+/datum/component/shelved/proc/on_shelf_deconstruct()
+ SIGNAL_HANDLER // COMSIG_OBJ_DECONSTRUCT
+ qdel(src)
+
+/datum/component/shelved/proc/on_item_pickup(obj/item/I, mob/user)
+ SIGNAL_HANDLER // COMSIG_ITEM_PICKUP
+ qdel(src)
+
+/// Generic handler for if anything moves us off our original shelf position, such as atmos pressure.
+/datum/component/shelved/proc/on_movable_moved()
+ SIGNAL_HANDLER // COMSIG_MOVABLE_MOVED
+ qdel(src)
+
+/datum/component/shelved/UnregisterFromParent()
+ . = ..()
+ var/obj/O = parent
+ O.transform = original_transform
+ O.layer = original_layer
+ O.appearance_flags = original_appearance_flags
+ O.pixel_x = 0
+ O.pixel_y = 0
+
+ var/obj/shelf = locateUID(shelf_uid)
+ if(istype(shelf))
+ UnregisterSignal(shelf, COMSIG_MOVABLE_SHOVE_IMPACT)
+ UnregisterSignal(shelf, COMSIG_ATOM_HITBY)
+
+ SEND_SIGNAL(shelf, COMSIG_SHELF_ITEM_REMOVED, parent.UID())
+
+/datum/component/shelved/proc/scatter()
+ var/list/clear_turfs = list()
+ var/obj/O = parent
+ for(var/turf/T in orange(1, get_turf(O)))
+ if(isfloorturf(T) && T != get_turf(O))
+ clear_turfs |= T
+
+ if(length(clear_turfs))
+ var/obj/shelf = locateUID(shelf_uid)
+ if(!isobj(shelf))
+ // not sure what else we can do here to clean up after ourselves
+ CRASH("received non-obj shelf with UID [shelf_uid]")
+
+ var/shelf_name = shelf ? "flies off [shelf]" : "falls down"
+ O.visible_message("[O] [shelf_name]! ")
+ O.throw_at(pick(clear_turfs), 2, 3)
+ qdel(src)
+
+/datum/component/shelved/proc/on_movable_shove_impact(datum/source, atom/movable/target)
+ SIGNAL_HANDLER // COMSIG_MOVABLE_SHOVE_IMPACT
+ if(prob(50))
+ scatter()
+
+/datum/component/shelved/proc/on_atom_hitby(datum/source, mob/living/carbon/human/hitby)
+ SIGNAL_HANDLER // COMSIG_ATOM_HITBY
+ if(!istype(hitby))
+ return
+ if(prob(50))
+ scatter()
+
+#undef MAX_SHELF_ITEMS
diff --git a/code/datums/components/surgery_initiator.dm b/code/datums/components/surgery_initiator.dm
index 54fd99d2cf84..9f476ba089da 100644
--- a/code/datums/components/surgery_initiator.dm
+++ b/code/datums/components/surgery_initiator.dm
@@ -67,8 +67,8 @@
SIGNAL_HANDLER // COMSIG_ATOM_UPDATE_SHARPNESS
var/obj/item/P = parent
if(!P.sharp)
+ UnlinkComponent()
RemoveComponent()
- qdel(src)
/// Does the surgery initiation.
/datum/component/surgery_initiator/proc/initiate_surgery_moment(datum/source, atom/target, mob/user)
diff --git a/code/datums/components/zombie_regen.dm b/code/datums/components/zombie_regen.dm
index 561446571e3a..546b98838fca 100644
--- a/code/datums/components/zombie_regen.dm
+++ b/code/datums/components/zombie_regen.dm
@@ -82,7 +82,7 @@
zomboid.suiciding = 0
zomboid.set_nutrition(max(zomboid.nutrition, NUTRITION_LEVEL_HUNGRY))
if(zomboid.buckled) //Unbuckle the mob and clear the alerts.
- zomboid.buckled.unbuckle_mob(src, force = TRUE)
+ zomboid.unbuckle(force = TRUE)
var/datum/organ/heart/heart = zomboid.get_int_organ_datum(ORGAN_DATUM_HEART)
var/heart_type = zomboid.dna?.species?.has_organ["heart"]
diff --git a/code/datums/diseases/zombie_virus.dm b/code/datums/diseases/zombie_virus.dm
index 1bd7beb6681f..37b96d68420f 100644
--- a/code/datums/diseases/zombie_virus.dm
+++ b/code/datums/diseases/zombie_virus.dm
@@ -148,7 +148,7 @@
/datum/disease/zombie/cure()
affected_mob.mind?.remove_antag_datum(/datum/antagonist/zombie)
REMOVE_TRAIT(affected_mob, TRAIT_I_WANT_BRAINS, ZOMBIE_TRAIT)
- qdel(affected_mob.GetComponent(/datum/component/zombie_regen))
+ affected_mob.DeleteComponent(/datum/component/zombie_regen)
affected_mob.med_hud_set_health()
affected_mob.med_hud_set_status()
return ..()
diff --git a/code/datums/helper_datums/teleport.dm b/code/datums/helper_datums/teleport.dm
index dfb66d084f63..8f4aac056d20 100644
--- a/code/datums/helper_datums/teleport.dm
+++ b/code/datums/helper_datums/teleport.dm
@@ -140,7 +140,7 @@
destturf = safepick(posturfs)
else
destturf = get_turf(destination)
-
+
// Make sure the target tile does not contain a teleporter on it
for(var/teleporter_type in blacklisted)
var/teleporters = destturf.search_contents_for(teleporter_type)
@@ -167,7 +167,7 @@
if(isliving(teleatom))
var/mob/living/target_mob = teleatom
if(target_mob.buckled)
- target_mob.buckled.unbuckle_mob(target_mob, force = TRUE)
+ target_mob.unbuckle(force = TRUE)
if(target_mob.has_buckled_mobs())
target_mob.unbuckle_all_mobs(force = TRUE)
if(ismachinery(target_mob.loc) || istype(target_mob.loc, /obj/item/mecha_parts/mecha_equipment/medical/sleeper))
diff --git a/code/datums/outfits/outfit_admin.dm b/code/datums/outfits/outfit_admin.dm
index 6c13d281e628..5d61b311b45b 100644
--- a/code/datums/outfits/outfit_admin.dm
+++ b/code/datums/outfits/outfit_admin.dm
@@ -565,9 +565,9 @@
if(istype(I))
apply_to_card(I, H, list(ACCESS_MAINT_TUNNELS), "Bard")
- var/obj/item/clothing/ears/headphones/P = r_ear
+ var/obj/item/clothing/ears/headphones/P = H.r_ear
if(istype(P))
- P.attack_self(H) // activate them, display musical notes effect
+ P.toggle_visual_notes(H) // activate them, display musical notes effect
// Soviet Military
@@ -1576,7 +1576,8 @@
if(istype(I))
apply_to_card(I, H, list(ACCESS_MAINT_TUNNELS), "Solar Federation Infilitrator", "lifetimeid")
- qdel(H.GetComponent(/datum/component/footstep)) // they're literally stealth
+ H.DeleteComponent(/datum/component/footstep)
+
var/datum/martial_art/cqc/CQC = new()
CQC.teach(H)
diff --git a/code/datums/ruins/space_ruins.dm b/code/datums/ruins/space_ruins.dm
index 03e494504d89..12cd3bc7ce25 100644
--- a/code/datums/ruins/space_ruins.dm
+++ b/code/datums/ruins/space_ruins.dm
@@ -212,8 +212,8 @@
/datum/map_template/ruin/space/dj
id = "dj"
suffix = "dj.dmm"
- name = "Russian DJ Station"
- description = "An old russian listening station, long since defunct and lifeless, however the equipment is likely still in working condition."
+ name = "Soviet DJ Station"
+ description = "An old soviet era listening station, long since defunct and lifeless, however the equipment is likely still in working condition."
cost = 2
/datum/map_template/ruin/space/druglab
@@ -249,7 +249,7 @@
id = "ussp"
suffix = "ussp.dmm"
name = "USSP"
- description = "A decript station of seemingly russian origin. The last contact had with this station was a distress signal, and the rest was dark."
+ description = "A decript station of seemingly Soviet origin. The last contact had with this station was a distress signal, and the rest was dark."
allow_duplicates = FALSE // One of these has enough loot
cost = 5 // This ruin is 100x100 tiles, so we dont want it to be treated like a 10x10 meteor
diff --git a/code/datums/spawners_menu.dm b/code/datums/spawners_menu.dm
index 83c2b9ef7b2c..41a05be09520 100644
--- a/code/datums/spawners_menu.dm
+++ b/code/datums/spawners_menu.dm
@@ -57,5 +57,6 @@
owner.forceMove(get_turf(MS))
. = TRUE
if("spawn")
- MS.attack_ghost(owner)
+ if(MS.attack_ghost(owner))
+ SSblackbox.record_feedback("tally", "ghost_spawns", 1, "[MS.assignedrole]")
. = TRUE
diff --git a/code/datums/spells/area_teleport.dm b/code/datums/spells/area_teleport.dm
index 3cd160c1cc74..02a6ab326eff 100644
--- a/code/datums/spells/area_teleport.dm
+++ b/code/datums/spells/area_teleport.dm
@@ -54,7 +54,7 @@
return
if(target && target.buckled)
- target.buckled.unbuckle_mob(target, force = TRUE)
+ target.unbuckle(force = TRUE)
if(target && target.has_buckled_mobs())
target.unbuckle_all_mobs(force = TRUE)
diff --git a/code/datums/spells/mind_transfer.dm b/code/datums/spells/mind_transfer.dm
index 613a2e3238b9..441ea87cbe80 100644
--- a/code/datums/spells/mind_transfer.dm
+++ b/code/datums/spells/mind_transfer.dm
@@ -41,7 +41,7 @@ Also, you never added distance checking after target is selected. I've went ahea
to_chat(user, "You're killing yourself! You can't concentrate enough to do this! ")
return
- if(target.mind.special_role in protected_roles && target != user)
+ if((target.mind.special_role in protected_roles) && target != user)
to_chat(user, "Their mind is resisting your spell. ")
return
diff --git a/code/datums/station_traits/admin_panel.dm b/code/datums/station_traits/admin_panel.dm
index 9e088d8ea610..6c11de92f122 100644
--- a/code/datums/station_traits/admin_panel.dm
+++ b/code/datums/station_traits/admin_panel.dm
@@ -101,7 +101,7 @@
future_traits = new_future_traits
fdel("data/next_traits.txt") //Delete it.
var/F = file("data/next_traits.txt")
- F << params["station_traits"]
+ F << json_encode(params["station_traits"])
return TRUE
if("clear_future_traits")
diff --git a/code/datums/station_traits/neutral_traits.dm b/code/datums/station_traits/neutral_traits.dm
index 41a3c87a67e4..26862ba60c1d 100644
--- a/code/datums/station_traits/neutral_traits.dm
+++ b/code/datums/station_traits/neutral_traits.dm
@@ -18,7 +18,8 @@
weight = 15
show_in_report = TRUE
report_message = "For experimental purposes, this station AI might show divergence from default lawset. Do not meddle with this experiment, we've removed \
- access to your set of alternative upload modules because we know you're already thinking about meddling with this experiment."
+ access to your set of alternative upload modules because we know you're already thinking about meddling with this experiment. If the lawset proves \
+ dangerous, or impedes station efficiency, fax or message Central Command to request permission to alter it."
trait_to_give = STATION_TRAIT_UNIQUE_AI
blacklist = list(/datum/station_trait/random_event_weight_modifier/ion_storms)
diff --git a/code/datums/status_effects/blob_burst.dm b/code/datums/status_effects/blob_burst.dm
index d1381612a2c4..5e5485b75806 100644
--- a/code/datums/status_effects/blob_burst.dm
+++ b/code/datums/status_effects/blob_burst.dm
@@ -1,4 +1,5 @@
/datum/status_effect/blob_burst
+ id = "blob_burst"
alert_type = /atom/movable/screen/alert/status_effect/blob_burst
var/datum/callback/blob_burst_callback
diff --git a/code/datums/status_effects/buffs.dm b/code/datums/status_effects/buffs.dm
index aadac8f9d6d5..7676605499ac 100644
--- a/code/datums/status_effects/buffs.dm
+++ b/code/datums/status_effects/buffs.dm
@@ -275,6 +275,7 @@
owner.adjustFireLoss(-5)
/datum/status_effect/blood_rush
+ id = "blood_rush"
alert_type = null
duration = 10 SECONDS
@@ -488,6 +489,7 @@
REMOVE_TRAIT(owner, TRAIT_IGNOREDAMAGESLOWDOWN, id)
/datum/status_effect/fleshmend
+ id = "fleshmend"
duration = -1
status_type = STATUS_EFFECT_REFRESH
tick_interval = 1 SECONDS
@@ -536,6 +538,7 @@
qdel(src)
/datum/status_effect/speedlegs
+ id = "speedlegs"
duration = -1
status_type = STATUS_EFFECT_UNIQUE
tick_interval = 4 SECONDS
@@ -577,6 +580,7 @@
cling = null
/datum/status_effect/panacea
+ id = "panacea"
duration = 20 SECONDS
tick_interval = 2 SECONDS
status_type = STATUS_EFFECT_REFRESH
@@ -702,6 +706,7 @@
to_chat(owner, "[pick(un_hopeful_messages)] ")
/datum/status_effect/drill_payback
+ id = "drill_payback"
duration = -1
status_type = STATUS_EFFECT_UNIQUE
alert_type = null
@@ -722,16 +727,17 @@
owner.clear_fullscreen("payback")
owner.overlay_fullscreen("payback", /atom/movable/screen/fullscreen/stretch/payback, 1)
-/datum/status_effect/drill_payback/tick() //They are not staying down. This will be a fight.
- if(!drilled_successfully && (get_dist(owner, drilled) >= 9)) //We don't want someone drilling the safe at arivals then raiding bridge with the buff
+/datum/status_effect/drill_payback/tick() // They are not staying down. This will be a fight.
+ if(!drilled_successfully && (get_dist(owner, drilled) >= 9)) // We don't want someone drilling the safe at arrivals then raiding bridge with the buff
to_chat(owner, "Get back to the safe, they are going to get the drill! ")
times_warned++
if(times_warned >= 6)
owner.remove_status_effect(STATUS_EFFECT_DRILL_PAYBACK)
return
if(owner.stat != DEAD)
- owner.adjustBruteLoss(-3)
- owner.adjustFireLoss(-3)
+ var/mob/living/carbon/human/H = owner // The Brute and Burn heal doesn't work if it doesn't do it at the human level
+ H.adjustBruteLoss(-3, FALSE, robotic = TRUE)
+ H.adjustFireLoss(-3, FALSE, robotic = TRUE)
owner.adjustStaminaLoss(-25)
/datum/status_effect/drill_payback/on_remove()
@@ -797,6 +803,7 @@
vamp = null
/datum/status_effect/rev_protection
+ id = "rev_protection"
// revs are paralyzed for 10 seconds when they're deconverted, same duration
duration = 10 SECONDS
alert_type = null
@@ -823,6 +830,7 @@
. = ..()
/datum/status_effect/bookwyrm
+ id = "bookwyrm"
duration = BRAIN_DAMAGE_MOB_TIME
alert_type = null
diff --git a/code/datums/status_effects/debuffs.dm b/code/datums/status_effects/debuffs.dm
index cfaa60634104..6bcdddea7fe7 100644
--- a/code/datums/status_effects/debuffs.dm
+++ b/code/datums/status_effects/debuffs.dm
@@ -523,6 +523,7 @@
id = "cult_slurring"
/datum/status_effect/incapacitating
+ id = "incapacitating"
tick_interval = 0
status_type = STATUS_EFFECT_REPLACE
alert_type = null
diff --git a/code/datums/status_effects/neutral.dm b/code/datums/status_effects/neutral.dm
index 282953a127ca..9c8d7cae7384 100644
--- a/code/datums/status_effects/neutral.dm
+++ b/code/datums/status_effects/neutral.dm
@@ -249,6 +249,7 @@
/// A status effect that can have a certain amount of "bonus" duration added, which extends the duration every tick,
/// although there is a maximum amount of bonus time that can be active at any given time.
/datum/status_effect/limited_bonus
+ id = "limited_bonus"
/// How much extra time has been added
var/bonus_time = 0
/// How much extra time to apply per tick
@@ -366,6 +367,7 @@
expire_proc.Invoke()
/datum/status_effect/action_status_effect
+ id = "action_status_effect"
alert_type = null
tick_interval = -1
diff --git a/code/datums/status_effects/status_effect.dm b/code/datums/status_effects/status_effect.dm
index 92d462379644..086a4e218787 100644
--- a/code/datums/status_effects/status_effect.dm
+++ b/code/datums/status_effects/status_effect.dm
@@ -3,7 +3,8 @@
//When making a new status effect, add a define to status_effects.dm in __DEFINES for ease of use!
/datum/status_effect
- var/id = "effect" //Used for screen alerts.
+ /// A unique ID that is used to see if there is already a status effect of the same type on something. Also used for screen alerts
+ var/id
var/duration = -1 //How long the status effect lasts in DECISECONDS. Enter -1 for an effect that never ends unless removed through some means.
var/tick_interval = 10 //How many deciseconds between ticks, approximately. Leave at 10 for every second. Setting this to -1 will stop processing if duration is also unlimited.
var/mob/living/owner //The mob affected by the status effect.
@@ -14,6 +15,11 @@
var/atom/movable/screen/alert/status_effect/linked_alert = null //the alert itself, if it exists
/datum/status_effect/New(list/arguments)
+ if(!id)
+ stack_trace("[src] was created but did not have an unique ID. Deleting.")
+ qdel(src)
+ return
+
on_creation(arglist(arguments))
/datum/status_effect/proc/on_creation(mob/living/new_owner, ...)
@@ -256,6 +262,7 @@
/// Status effect from multiple sources, when all sources are removed, so is the effect
/datum/status_effect/grouped
+ id = "grouped"
status_type = STATUS_EFFECT_MULTIPLE //! Adds itself to sources and destroys itself if one exists already, there are never multiple
var/list/sources = list()
@@ -280,6 +287,7 @@
* This allows for a more precise tweaking of status durations at runtime (e.g. paralysis).
*/
/datum/status_effect/transient
+ id = "transient"
tick_interval = 0.2 SECONDS // SSfastprocess interval
alert_type = null
/// How much strength left before expiring? time in deciseconds.
diff --git a/code/datums/uplink_items/uplink_general.dm b/code/datums/uplink_items/uplink_general.dm
index 67aa7f3d9f00..fd2a8d44dd54 100644
--- a/code/datums/uplink_items/uplink_general.dm
+++ b/code/datums/uplink_items/uplink_general.dm
@@ -133,7 +133,7 @@ GLOBAL_LIST_INIT(uplink_items, subtypesof(/datum/uplink_item))
return
// If the uplink's holder is in the user's contents
- if((U.loc in user.contents || (in_range(U.loc, user) && isturf(U.loc.loc))))
+ if(((U.loc in user.contents) || (in_range(U.loc, user) && isturf(U.loc.loc))))
if(cost > U.uses)
return
diff --git a/code/game/area/areas.dm b/code/game/area/areas.dm
index c42ad8871411..37f2b52023c9 100644
--- a/code/game/area/areas.dm
+++ b/code/game/area/areas.dm
@@ -98,7 +98,12 @@
var/request_console_name
/// Whether request consoles in this area can send announcements.
var/request_console_announces = FALSE
-
+ /// Fire alarm camera network
+ var/fire_cam_network = "Fire Alarms Debug"
+ /// Power alarm camera network
+ var/power_cam_network = "Power Alarms Debug"
+ /// Atmosphere alarm camera network
+ var/atmos_cam_network = "Atmosphere Alarms Debug"
/*
Lighting Vars
*/
@@ -235,11 +240,11 @@
return
for(var/thing in cameras)
var/obj/machinery/camera/C = locateUID(thing)
- if(!QDELETED(C) && is_station_level(C.z))
+ if(!QDELETED(C))
if(state)
- C.network -= "Power Alarms"
+ C.network -= power_cam_network
else
- C.network |= "Power Alarms"
+ C.network |= power_cam_network
if(state)
GLOB.alarm_manager.cancel_alarm("Power", src, source)
@@ -257,8 +262,8 @@
for(var/thing in cameras)
var/obj/machinery/camera/C = locateUID(thing)
- if(!QDELETED(C) && is_station_level(C.z))
- C.network |= "Atmosphere Alarms"
+ if(!QDELETED(C))
+ C.network |= atmos_cam_network
GLOB.alarm_manager.trigger_alarm("Atmosphere", src, cameras, source)
@@ -266,8 +271,8 @@
else if(atmosalm == ATMOS_ALARM_DANGER)
for(var/thing in cameras)
var/obj/machinery/camera/C = locateUID(thing)
- if(!QDELETED(C) && is_station_level(C.z))
- C.network -= "Atmosphere Alarms"
+ if(!QDELETED(C))
+ C.network -= atmos_cam_network
GLOB.alarm_manager.cancel_alarm("Atmosphere", src, source)
@@ -329,8 +334,8 @@
for(var/thing in cameras)
var/obj/machinery/camera/C = locateUID(thing)
- if(!QDELETED(C) && is_station_level(C.z))
- C.network |= "Fire Alarms"
+ if(!QDELETED(C))
+ C.network |= fire_cam_network
GLOB.alarm_manager.trigger_alarm("Fire", src, cameras, source)
@@ -355,8 +360,8 @@
for(var/thing in cameras)
var/obj/machinery/camera/C = locateUID(thing)
- if(!QDELETED(C) && is_station_level(C.z))
- C.network -= "Fire Alarms"
+ if(!QDELETED(C))
+ C.network -= fire_cam_network
GLOB.alarm_manager.cancel_alarm("Fire", src, source)
@@ -546,3 +551,18 @@
/area/drop_location()
CRASH("Bad op: area/drop_location() called")
+
+/// Returns highest area type in the hirarchy of a given ruin or /area/station if it is given a station area.
+/// For an example the top parent of area/ruin/space/bar/backroom is area/ruin/space/bar
+/area/proc/get_top_parent_type()
+ var/top_parent_type = type
+
+ if(parent_type in subtypesof(/area/ruin))
+ // figure out which ruin we are on
+ while(!(type2parent(top_parent_type) in GLOB.ruin_prototypes))
+ top_parent_type = type2parent(top_parent_type)
+ else if(parent_type in subtypesof(/area/station))
+ top_parent_type = /area/station
+ else
+ top_parent_type = null
+ return top_parent_type
diff --git a/code/game/area/areas/mining_areas.dm b/code/game/area/areas/mining_areas.dm
index af6e2ee67463..47f8e73d8982 100644
--- a/code/game/area/areas/mining_areas.dm
+++ b/code/game/area/areas/mining_areas.dm
@@ -160,6 +160,9 @@
name = "Пустоши Лаваленда"
outdoors = TRUE
+/area/lavaland/surface/outdoors/legion_arena
+ name = "Legion Arena"
+
/// monsters and ruins spawn here
/area/lavaland/surface/outdoors/unexplored
icon_state = "unexplored"
diff --git a/code/game/area/misc_areas.dm b/code/game/area/misc_areas.dm
index b7239cda7ec6..21e334a94d21 100644
--- a/code/game/area/misc_areas.dm
+++ b/code/game/area/misc_areas.dm
@@ -28,6 +28,10 @@
/area/space/nearstation/centcom
icon_state = "space_near_cc"
+/area/space/nearstation/no_teleport
+ icon_state = "space_near_notp"
+ tele_proof = TRUE
+
/area/space/atmosalert()
return
@@ -40,6 +44,10 @@
/area/space/centcomm
icon_state = "space_cc"
+/area/space/no_teleport
+ icon_state = "space_notp"
+ tele_proof = TRUE
+
//SYNDICATES
/area/syndicate_mothership
diff --git a/code/game/area/ss13_areas/station_area.dm b/code/game/area/ss13_areas/station_area.dm
new file mode 100644
index 000000000000..6e88b147b82b
--- /dev/null
+++ b/code/game/area/ss13_areas/station_area.dm
@@ -0,0 +1,4 @@
+/area/station
+ fire_cam_network = "Fire Alarms"
+ atmos_cam_network = "Atmosphere Alarms"
+ power_cam_network = "Power Alarms"
diff --git a/code/game/atoms.dm b/code/game/atoms.dm
index 401a22ead042..d623ec9dc290 100644
--- a/code/game/atoms.dm
+++ b/code/game/atoms.dm
@@ -1002,7 +1002,7 @@ GLOBAL_LIST_EMPTY(blood_splatter_icons)
if(!QDELETED(healthy_green_glow))
healthy_green_glow.strength = max(0, (healthy_green_glow.strength - (RAD_BACKGROUND_RADIATION * clean_factor)))
if(healthy_green_glow.strength <= RAD_BACKGROUND_RADIATION)
- qdel(healthy_green_glow)
+ healthy_green_glow.RemoveComponent()
/obj/effect/decal/cleanable/blood/clean_blood(radiation_clean = FALSE)
return // While this seems nonsensical, clean_blood isn't supposed to be used like this on a blood decal.
diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm
index 3f6c50803ec7..ba00d8766223 100644
--- a/code/game/atoms_movable.dm
+++ b/code/game/atoms_movable.dm
@@ -661,6 +661,7 @@
/// called when a mob gets shoved into an items turf. false means the mob will be shoved backwards normally, true means the mob will not be moved by the disarm proc.
/atom/movable/proc/shove_impact(mob/living/target, mob/living/attacker)
+ SEND_SIGNAL(src, COMSIG_MOVABLE_SHOVE_IMPACT, target, attacker)
return FALSE
/**
@@ -676,9 +677,7 @@
/// Easy way to remove the component when the fun has been played out
/atom/movable/proc/stop_deadchat_plays()
- var/datum/component/deadchat_control/comp = GetComponent(/datum/component/deadchat_control)
- if(!QDELETED(comp))
- qdel(comp)
+ DeleteComponent(/datum/component/deadchat_control)
/atom/movable/vv_get_dropdown()
. = ..()
diff --git a/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm b/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm
index c22b31f3cd74..9593ccc5c406 100644
--- a/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm
+++ b/code/game/gamemodes/miniantags/abduction/abduction_surgery.dm
@@ -53,6 +53,8 @@
/datum/surgery_step/internal/extract_organ
name = "remove heart"
accept_hand = 1
+ preop_sound = 'sound/surgery/organ1.ogg'
+ success_sound = 'sound/surgery/organ2.ogg'
time = 32
var/obj/item/organ/internal/IC = null
@@ -86,6 +88,8 @@
/datum/surgery_step/internal/gland_insert
name = "insert gland"
allowed_tools = list(/obj/item/organ/internal/heart/gland = 100)
+ preop_sound = 'sound/surgery/organ2.ogg'
+ success_sound = 'sound/surgery/organ1.ogg'
time = 32
/datum/surgery_step/internal/gland_insert/begin_step(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
diff --git a/code/game/gamemodes/miniantags/guardian/guardian.dm b/code/game/gamemodes/miniantags/guardian/guardian.dm
index 425e4013bb50..a306b41eb32b 100644
--- a/code/game/gamemodes/miniantags/guardian/guardian.dm
+++ b/code/game/gamemodes/miniantags/guardian/guardian.dm
@@ -53,6 +53,7 @@
return
summoner = host
host.grant_guardian_actions(src)
+ RegisterSignal(summoner, COMSIG_LIVING_HEALTH_UPDATE, PROC_REF(update_health_hud))
/mob/living/simple_animal/hostile/guardian/can_buckle()
return FALSE
@@ -124,7 +125,7 @@
return ..()
/mob/living/simple_animal/hostile/guardian/Move() //Returns to summoner if they move out of range
- ..()
+ . = ..()
snapback()
/mob/living/simple_animal/hostile/guardian/death(gibbed)
@@ -133,6 +134,7 @@
if(!.)
return FALSE
to_chat(summoner, "Your [name] died somehow! ")
+ UnregisterSignal(summoner, COMSIG_LIVING_HEALTH_UPDATE)
summoner.death()
@@ -140,11 +142,11 @@
if(summoner)
var/resulthealth
if(iscarbon(summoner))
- resulthealth = round((abs(HEALTH_THRESHOLD_DEAD - summoner.health) / abs(HEALTH_THRESHOLD_DEAD - summoner.maxHealth)) * 100)
+ resulthealth = round(((summoner.health - HEALTH_THRESHOLD_CRIT) / abs(HEALTH_THRESHOLD_CRIT - summoner.maxHealth)) * 100)
else
- resulthealth = round((summoner.health / summoner.maxHealth) * 100)
+ resulthealth = round((summoner.health / (summoner.maxHealth / 2)) * 100)
if(hud_used)
- hud_used.guardianhealthdisplay.maptext = "
[resulthealth]%
"
+ hud_used.guardianhealthdisplay.maptext = "[resulthealth]%
"
/mob/living/simple_animal/hostile/guardian/adjustHealth(amount, updating_health = TRUE) //The spirit is invincible, but passes on damage/healing to the summoner
var/damage = amount * damage_transfer
diff --git a/code/game/gamemodes/miniantags/morph/morph.dm b/code/game/gamemodes/miniantags/morph/morph.dm
index 0b84b06ab5d2..4a7f8b1ac5ba 100644
--- a/code/game/gamemodes/miniantags/morph/morph.dm
+++ b/code/game/gamemodes/miniantags/morph/morph.dm
@@ -306,10 +306,10 @@
var/list/messages = list()
messages.Add("You are a morph. ")
messages.Add("You hunger for living beings and desire to procreate. Achieve this goal by ambushing unsuspecting pray using your abilities. ")
- messages.Add("As an abomination created primarily with changeling cells you may take the form of anything nearby by using your Mimic ability. ")
+ messages.Add("As an abomination created primarily with changeling cells you may take the form of anything nearby by using your Mimic ability. ")
messages.Add("The transformation will not go unnoticed for bystanding observers. ")
- messages.Add("While morphed , you move slower and do less damage. In addition, anyone within three tiles will note an uncanny wrongness if examining you. ")
- messages.Add("From this form you can however Prepare an Ambush using your ability. ")
+ messages.Add("While morphed , you move slower and do less damage. In addition, anyone within three tiles will note an uncanny wrongness if examining you. ")
+ messages.Add("From this form you can however Prepare an Ambush using your ability. ")
messages.Add("This will allow you to deal a lot of damage the first hit. And if they touch you then even more. ")
messages.Add("Finally, you can attack any item or dead creature to consume it - creatures will restore 1/3 of your max health and will add to your stored food while eating items will reduce your stored food. ")
messages.Add("For more information, check the wiki page: ([GLOB.configuration.url.wiki_url]/index.php/Morph) ")
diff --git a/code/game/gamemodes/miniantags/revenant/revenant.dm b/code/game/gamemodes/miniantags/revenant/revenant.dm
index aba2c7714438..7fd74c373722 100644
--- a/code/game/gamemodes/miniantags/revenant/revenant.dm
+++ b/code/game/gamemodes/miniantags/revenant/revenant.dm
@@ -84,11 +84,11 @@
revealed = FALSE
incorporeal_move = INCORPOREAL_MOVE_HOLY_BLOCK
invisibility = INVISIBILITY_REVENANT
- to_chat(src, "You are once more concealed. ")
+ to_chat(src, "You are once more concealed. ")
if(unstun_time && world.time >= unstun_time)
unstun_time = 0
notransform = FALSE
- to_chat(src, "You can move again! ")
+ to_chat(src, "You can move again! ")
update_spooky_icon()
/mob/living/simple_animal/revenant/ex_act(severity)
diff --git a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
index 9f033e7a9976..b170895fd6f3 100644
--- a/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
+++ b/code/game/gamemodes/miniantags/revenant/revenant_abilities.dm
@@ -73,7 +73,7 @@
if(30 to 70)
to_chat(src, "[target] will yield an average amount of essence. ")
if(70 to 90)
- to_chat(src, "Such a feast! [target] will yield much essence to you. ")
+ to_chat(src, "Such a feast! [target] will yield much essence to you. ")
if(90 to INFINITY)
to_chat(src, "Ah, the perfect soul. [target] will yield massive amounts of essence to you. ")
if(do_after(src, 20, 0, target = target)) //how about now
@@ -95,7 +95,7 @@
if(essence_drained > 90)
essence_regen_cap += 25
perfectsouls += 1
- to_chat(src, "The perfection of [target]'s soul has increased your maximum essence level. Your new maximum essence is [essence_regen_cap]. ")
+ to_chat(src, "The perfection of [target]'s soul has increased your maximum essence level. Your new maximum essence is [essence_regen_cap]. ")
to_chat(src, "[target]'s soul has been considerably weakened and will yield no more essence for the time being. ")
target.visible_message("[target] slumps onto the ground. ", \
"Violets lights, dancing in your vision, getting clo-- ")
diff --git a/code/game/gamemodes/vampire/vampire_chan.dm b/code/game/gamemodes/vampire/vampire_chan.dm
index f5c750d64108..adc3b78f762b 100644
--- a/code/game/gamemodes/vampire/vampire_chan.dm
+++ b/code/game/gamemodes/vampire/vampire_chan.dm
@@ -8,7 +8,7 @@
required_enemies = 1
recommended_enemies = 3
secondary_enemies_scaling = 0.025
- vampire_penalty = 0.6 // Cut out 40% of the vampires since we'll replace some with changelings
+ vampire_penalty = 0.4 // Cut out 40% of the vampires since we'll replace some with changelings
/// A list of all soon-to-be changelings
var/list/datum/mind/pre_changelings = list()
diff --git a/code/game/jobs/job/support.dm b/code/game/jobs/job/support.dm
index fd0a1b4c6e07..7f712ac0e96f 100644
--- a/code/game/jobs/job/support.dm
+++ b/code/game/jobs/job/support.dm
@@ -473,7 +473,7 @@
if(visualsOnly)
return
- qdel(H.GetComponent(/datum/component/footstep))
+ H.DeleteComponent(/datum/component/footstep)
/datum/outfit/job/mime/on_mind_initialize(mob/living/carbon/human/H)
. = ..()
diff --git a/code/game/machinery/computer/atmos_alert.dm b/code/game/machinery/computer/atmos_alert.dm
index 93435e09ba4a..ae795b6b92e8 100644
--- a/code/game/machinery/computer/atmos_alert.dm
+++ b/code/game/machinery/computer/atmos_alert.dm
@@ -7,33 +7,33 @@
light_color = LIGHT_COLOR_CYAN
// List of alarms and their state in areas. This is sent to TGUI
var/list/alarm_cache
+ var/parent_area_type
/obj/machinery/computer/atmos_alert/Initialize(mapload)
. = ..()
alarm_cache = list()
alarm_cache["minor"] = list()
alarm_cache["priority"] = list()
+ var/area/machine_area = get_area(src)
+ parent_area_type = machine_area.get_top_parent_type()
/obj/machinery/computer/atmos_alert/process()
// This is relatively cheap because the areas list is pretty small
- for(var/area/A as anything in GLOB.all_areas)
- if(!A.master_air_alarm)
- continue // No alarm
- if(A.master_air_alarm.z != z)
- continue // Not on our z-level
- if(!A.master_air_alarm.report_danger_level)
+ for(var/obj/machinery/alarm/air_alarm as anything in GLOB.air_alarms)
+ if(!((get_area(air_alarm)).type in typesof(parent_area_type)) || air_alarm.z != z)
+ continue // Not an area we monitor, or outside our z-level
+ if(!air_alarm.report_danger_level)
continue
-
- switch(A.atmosalm)
+ switch(air_alarm.alarm_area.atmosalm)
if(ATMOS_ALARM_DANGER)
- alarm_cache["priority"] |= A.name
- alarm_cache["minor"] -= A.name
+ alarm_cache["priority"] |= air_alarm.alarm_area.name
+ alarm_cache["minor"] -= air_alarm.alarm_area.name
if(ATMOS_ALARM_WARNING)
- alarm_cache["priority"] -= A.name
- alarm_cache["minor"] |= A.name
+ alarm_cache["priority"] -= air_alarm.alarm_area.name
+ alarm_cache["minor"] |= air_alarm.alarm_area.name
else
- alarm_cache["priority"] -= A.name
- alarm_cache["minor"] -= A.name
+ alarm_cache["priority"] -= air_alarm.alarm_area.name
+ alarm_cache["minor"] -= air_alarm.alarm_area.name
update_icon()
diff --git a/code/game/machinery/computer/atmos_controllers.dm b/code/game/machinery/computer/atmos_controllers.dm
index cb1d2638e43f..9e005b49b460 100644
--- a/code/game/machinery/computer/atmos_controllers.dm
+++ b/code/game/machinery/computer/atmos_controllers.dm
@@ -506,10 +506,15 @@ GLOBAL_LIST_EMPTY(gas_sensors)
circuit = /obj/item/circuitboard/atmoscontrol
req_access = list(ACCESS_ATMOSPHERICS)
var/datum/ui_module/atmos_control/atmos_control
+ var/parent_area_type
/obj/machinery/computer/atmoscontrol/Initialize(mapload)
. = ..()
atmos_control = new(src)
+ var/area/machine_area = get_area(src)
+ parent_area_type = machine_area.get_top_parent_type()
+ atmos_control.parent_area_type = parent_area_type
+ atmos_control.z_level = z
/obj/machinery/computer/atmoscontrol/Destroy()
QDEL_NULL(atmos_control)
@@ -529,6 +534,7 @@ GLOBAL_LIST_EMPTY(gas_sensors)
/obj/machinery/computer/atmoscontrol/ui_interact(mob/user, datum/tgui/ui = null)
atmos_control.ui_interact(user, ui)
+
#undef SENSOR_PRESSURE
#undef SENSOR_TEMPERATURE
#undef SENSOR_O2
diff --git a/code/game/machinery/computer/camera_console.dm b/code/game/machinery/computer/camera_console.dm
index bc7f2429707c..b53aeb6d3b7c 100644
--- a/code/game/machinery/computer/camera_console.dm
+++ b/code/game/machinery/computer/camera_console.dm
@@ -302,9 +302,17 @@
icon_keyboard = "power_key"
icon_screen = "engie_cams"
light_color = "#FAC54B"
- network = list("Power Alarms","Atmosphere Alarms","Fire Alarms")
+ network = list()
circuit = /obj/item/circuitboard/camera/engineering
+/obj/machinery/computer/security/engineering/Initialize()
+ . = ..()
+ network = list()
+ var/area/console_area = get_area(src)
+ network += console_area.fire_cam_network
+ network += console_area.power_cam_network
+ network += console_area.atmos_cam_network
+
/obj/machinery/computer/security/telescreen/engine
name = "engine monitor"
desc = "A telescreen that connects to the engine's camera network.";
diff --git a/code/game/machinery/computer/card.dm b/code/game/machinery/computer/card.dm
index dd48e2c025eb..9de51cb5e58c 100644
--- a/code/game/machinery/computer/card.dm
+++ b/code/game/machinery/computer/card.dm
@@ -719,7 +719,7 @@ GLOBAL_VAR_INIT(time_last_changed_position, 0)
modify.access = list()
return
if("grant_all")
- modify.access = get_all_accesses()
+ modify.access |= get_all_accesses()
return
// JOB SLOT MANAGEMENT functions
diff --git a/code/game/machinery/computer/station_alert.dm b/code/game/machinery/computer/station_alert.dm
index 70eca5d39826..5075852969d7 100644
--- a/code/game/machinery/computer/station_alert.dm
+++ b/code/game/machinery/computer/station_alert.dm
@@ -7,12 +7,19 @@
light_color = LIGHT_COLOR_CYAN
circuit = /obj/item/circuitboard/stationalert_engineering
var/list/alarms_listend_for = list("Fire", "Atmosphere", "Power")
+ var/parent_area_type
+ var/list/areas = list()
/obj/machinery/computer/station_alert/Initialize(mapload)
. = ..()
RegisterSignal(GLOB.alarm_manager, COMSIG_TRIGGERED_ALARM, PROC_REF(alarm_triggered))
RegisterSignal(GLOB.alarm_manager, COMSIG_CANCELLED_ALARM, PROC_REF(alarm_cancelled))
+ var/area/machine_area = get_area(src)
+ parent_area_type = machine_area.get_top_parent_type()
+ if(parent_area_type)
+ areas = typesof(parent_area_type)
+
/obj/machinery/computer/station_alert/attack_ai(mob/user)
add_fingerprint(user)
@@ -46,7 +53,7 @@
for(var/area in GLOB.alarm_manager.alarms[class])
for(var/thing in GLOB.alarm_manager.alarms[class][area][3])
var/atom/A = locateUID(thing)
- if(atoms_share_level(A, src))
+ if(A && ((get_area(A)).type in areas) && A.z == z)
data["alarms"][class] += area
return data
diff --git a/code/game/machinery/slotmachine.dm b/code/game/machinery/slotmachine.dm
index 6ed0b837c667..3782eeb3ad28 100644
--- a/code/game/machinery/slotmachine.dm
+++ b/code/game/machinery/slotmachine.dm
@@ -165,7 +165,7 @@
// No cheesing with buckling ourselves, this spinning is too fast for seatbelts
if(user.buckled)
- user.buckled.unbuckle_mob(user, force = TRUE)
+ user.unbuckle(force = TRUE)
// Check if the machine and the user are still next to each other
if(!do_after(user, delay = 1.2 SECONDS, target = src, use_default_checks = FALSE))
diff --git a/code/game/machinery/vendors/departmental_vendors.dm b/code/game/machinery/vendors/departmental_vendors.dm
index 2a31d622ef6c..b59e6d761db2 100644
--- a/code/game/machinery/vendors/departmental_vendors.dm
+++ b/code/game/machinery/vendors/departmental_vendors.dm
@@ -208,6 +208,7 @@
/obj/item/seeds/orange = 3,
/obj/item/seeds/peanuts = 3,
/obj/item/seeds/pineapple = 3,
+ /obj/item/seeds/plum = 3,
/obj/item/seeds/poppy = 3,
/obj/item/seeds/potato = 3,
/obj/item/seeds/pumpkin = 3,
diff --git a/code/game/mecha/equipment/tools/janitor_tools.dm b/code/game/mecha/equipment/tools/janitor_tools.dm
new file mode 100644
index 000000000000..8dce3ccb1a15
--- /dev/null
+++ b/code/game/mecha/equipment/tools/janitor_tools.dm
@@ -0,0 +1,295 @@
+// Mecha mop, light replacer, mecha spray, garbage bag
+
+/obj/item/mecha_parts/mecha_equipment/janitor
+
+/obj/item/mecha_parts/mecha_equipment/janitor/can_attach(obj/mecha/nkarrdem/M)
+ if(..() && istype(M))
+ return TRUE
+
+// Mop
+//! How many seconds before the mopping sound triggers again
+#define MOP_SOUND_CD 2 SECONDS
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop
+ name = "\improper WLLY mega mop"
+ desc = "An upsized advanced mop, designed for use in exosuits."
+ icon_state = "mecha_mop"
+ equip_cooldown = 1.5 SECONDS
+ energy_drain = 1
+ range = MECHA_MELEE | MECHA_RANGED
+ /// When the mopping sound was last played.
+ COOLDOWN_DECLARE(mop_sound_cooldown)
+ /// How fast does this mop?
+ var/mop_speed = 2 SECONDS
+ /// Toggle for refilling itself
+ var/refill_enabled = TRUE
+ /// Rate per process() tick mop refills itself
+ var/refill_rate = 5
+ /// Power use per process to refill reagents
+ var/refill_cost = 10
+ /// What reagent to refill with
+ var/refill_reagent = "water"
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/Initialize(mapload)
+ . = ..()
+ create_reagents(1000)
+ reagents.add_reagent("water", 1000)
+ START_PROCESSING(SSobj, src)
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/emag_act(mob/user)
+ . = ..()
+ emagged = TRUE
+ to_chat(user, "You short out the automatic watering system on [src]. ")
+ reagents.clear_reagents()
+ refill_reagent = "lube"
+ refill_cost = 50
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/action(atom/target)
+ if(get_dist(chassis, target) > 2)
+ return
+ if(istype(target, /obj/structure/reagent_dispensers/watertank) && get_dist(chassis,target) <= 1)
+ var/obj/structure/reagent_dispensers/watertank/WT = target
+ WT.reagents.trans_to(src, 1000)
+ occupant_message("Mop refilled. ")
+ playsound(chassis, 'sound/effects/refill.ogg', 50, TRUE, -6)
+ return
+ if(reagents.total_volume > 0)
+ if(COOLDOWN_FINISHED(src, mop_sound_cooldown))
+ playsound(loc, pick('sound/weapons/mopping1.ogg', 'sound/weapons/mopping2.ogg'), 30, TRUE, -1)
+ COOLDOWN_START(src, mop_sound_cooldown, MOP_SOUND_CD)
+ // 3x3 mopping area
+ var/turf/target_turf = get_turf(target)
+ if(!istype(target_turf) || iswallturf(target_turf))
+ return
+ chassis.occupant.visible_message("[chassis] begins to mop \the [target_turf] with \the [src]. ", "You begin to mop \the [target_turf] with \the [src]. ")
+ if(do_after(chassis.occupant, mop_speed, target = target))
+ for(var/turf/current_target_turf in view(1, target))
+ current_target_turf.cleaning_act(chassis.occupant, src, mop_speed, "mop", ".", skip_do_after = TRUE)
+ chassis.occupant_message("You mop \the [target].")
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/post_clean(atom/target, mob/user)
+ var/turf/T = get_turf(target)
+ if(issimulatedturf(T))
+ reagents.reaction(T, REAGENT_TOUCH, 10) // 10 is the multiplier for the reaction effect. 10 is needed to properly wet a floor.
+ reagents.remove_any(1) // reaction() doesn't use up the reagents
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/can_clean()
+ return reagents.has_reagent("water", 1) || reagents.has_reagent("cleaner", 1) || reagents.has_reagent("holywater", 1)
+
+// Auto-regeneration of water. Takes energy.
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/process()
+ if(reagents.total_volume < 1000)
+ reagents.add_reagent(refill_reagent, refill_rate)
+ chassis.use_power(refill_cost)
+ update_equip_info()
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/get_equip_info()
+ var/output = ..()
+ if(output)
+ return "[output] \[Refill [refill_enabled? "Enabled" : "Disabled"] \] \[[reagents.total_volume]\]"
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_mop/Topic(href, href_list)
+ ..()
+ var/datum/topic_input/afilter = new (href, href_list)
+ if(afilter.get("toggle_mode"))
+ refill_enabled = !refill_enabled
+ if(refill_enabled)
+ START_PROCESSING(SSobj, src)
+ else
+ STOP_PROCESSING(SSobj, src)
+ update_equip_info()
+
+#undef MOP_SOUND_CD
+
+// Light Replacer
+/obj/item/mecha_parts/mecha_equipment/janitor/light_replacer
+ name = "\improper NT-12 illuminator"
+ desc = "A modified light replacer fit for an exosuit that zaps lights into place."
+ icon_state = "mecha_light_replacer"
+ equip_cooldown = 1.5 SECONDS
+ energy_drain = 100
+ range = MECHA_MELEE | MECHA_RANGED
+
+/obj/item/mecha_parts/mecha_equipment/janitor/light_replacer/emag_act(mob/user)
+ . = ..()
+ emagged = TRUE
+ to_chat(user, "You short out the safeties on [src]. ")
+
+/obj/item/mecha_parts/mecha_equipment/janitor/light_replacer/action(atom/target)
+ if(istype(target, /obj/machinery/light))
+ chassis.Beam(target, icon_state = "rped_upgrade", icon = 'icons/effects/effects.dmi', time = 5)
+ playsound(src, 'sound/items/pshoom.ogg', 40, 1)
+ var/obj/machinery/light/light_to_fix = target
+ light_to_fix.fix(chassis.occupant, src, emagged)
+
+// Mecha spray
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray
+ name = "\improper JS-33 super spray"
+ desc = "A spray bottle, upscaled for an exosuit. Capable of mass sanitation."
+ icon_state = "mecha_spray"
+ equip_cooldown = 1.5 SECONDS
+ energy_drain = 200
+ range = MECHA_MELEE | MECHA_RANGED
+ /// Toggle for refilling itself
+ var/refill_enabled = TRUE
+ /// Rate per process() tick spray refills itself
+ var/refill_rate = 1
+ /// Power use per process to refill reagents
+ var/refill_cost = 25
+ /// What reagent to refill with
+ var/refill_reagent = "cleaner"
+ /// The range of tiles the sprayer will reach.
+ var/spray_range = 4
+ /// Internal sprayer object
+ var/obj/item/reagent_containers/spray/spray_controller = new /obj/item/reagent_containers/spray
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/Initialize(mapload)
+ . = ..()
+ // Setup spray controller
+ spray_controller.loc = src
+ spray_controller.spray_maxrange = spray_range
+ spray_controller.spray_currentrange = spray_range
+ spray_controller.volume = 100
+ spray_controller.reagents.add_reagent("cleaner", 100)
+ START_PROCESSING(SSobj, src)
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/emag_act(mob/user)
+ . = ..()
+ emagged = TRUE
+ to_chat(user, "You short out the automatic watering system on [src]. ")
+ spray_controller.reagents.clear_reagents()
+ refill_reagent = "lube"
+ refill_cost = 50
+ refill_rate = 5
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/action(atom/target)
+ if(spray_controller.reagents.total_volume < 15) // Needs at least enough reagents to apply the full spray
+ to_chat(chassis.occupant, "*click* ")
+ playsound(src, 'sound/weapons/empty.ogg', 100, 1)
+ return
+ var/direction = get_dir(chassis, target)
+ var/turf/T = get_turf(target)
+ var/turf/T1 = get_step(T, turn(direction, 90))
+ var/turf/T2 = get_step(T, turn(direction, -90))
+ var/list/the_targets = list(T, T1, T2)
+ playsound(chassis, 'sound/effects/spray2.ogg', 75, TRUE, -3)
+ for(var/turf/target_turf in the_targets)
+ INVOKE_ASYNC(src, PROC_REF(spray), target_turf)
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/proc/spray(turf/target)
+ spray_controller.spray(target)
+
+// Auto-regeneration of space cleaner. Takes energy.
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/process()
+ if(spray_controller.reagents.total_volume < 100)
+ spray_controller.reagents.add_reagent(refill_reagent, refill_rate)
+ chassis.use_power(refill_cost)
+ update_equip_info()
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/get_equip_info()
+ var/output = ..()
+ if(output)
+ return "[output] \[Refill [refill_enabled? "Enabled" : "Disabled"] \] \[[spray_controller.reagents.total_volume]\]"
+
+/obj/item/mecha_parts/mecha_equipment/janitor/mega_spray/Topic(href,href_list)
+ ..()
+ var/datum/topic_input/afilter = new (href,href_list)
+ if(afilter.get("toggle_mode"))
+ refill_enabled = !refill_enabled
+ if(refill_enabled)
+ START_PROCESSING(SSobj, src)
+ else
+ STOP_PROCESSING(SSobj, src)
+ update_equip_info()
+
+// Garbage Magnet
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet
+ name = "\improper WA1E Garbage Magnet"
+ desc = "Bluespace technology integrated with an oversized garbage bag and heavy duty magnets allows this device to pick up all manner of litter. \
+ The complex technology prevents users from directly looking inside the bag."
+ icon_state = "mecha_trash_magnet"
+ equip_cooldown = 1.5 SECONDS
+ energy_drain = 5
+ range = MECHA_MELEE | MECHA_RANGED
+ /// Toggle for filling the bag (true) or emptying (false)
+ var/bagging = TRUE
+ /// Toggle for wide area or single tile pickups
+ var/extended = FALSE
+ /// Garbage magnet range
+ var/max_range = 3
+ /// List of items the bag cannot hold
+ var/list/cant_hold = list(/obj/item/disk/nuclear, /obj/item/grown/bananapeel/traitorpeel, /obj/item/storage/bag)
+ /// Handles controlling the storage of items
+ var/obj/item/storage/bag/trash/storage_controller = new /obj/item/storage/bag/trash
+
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet/Initialize(mapload)
+ . = ..()
+ storage_controller.loc = src
+ storage_controller.storage_slots = 100
+ storage_controller.max_combined_w_class = 100
+ storage_controller.max_w_class = WEIGHT_CLASS_NORMAL
+ storage_controller.w_class = WEIGHT_CLASS_NORMAL
+ storage_controller.allow_same_size = TRUE // This needs to be true or it won't be able to pick up smaller storages like boxes
+ storage_controller.cant_hold = typecacheof(cant_hold)
+
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet/deconstruct()
+ var/turf/T = get_turf(src)
+ for(var/obj/item/I in storage_controller.contents)
+ storage_controller.remove_from_storage(I, T)
+ qdel(src)
+
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet/get_equip_info()
+ var/output = ..()
+ if(output)
+ return "[output] \[[bagging? "Filling" : "Dumping"] \] \[Area [extended? "Extended" : "Focused"] \] \[Cargo: [length(storage_controller.contents)]/[storage_controller.max_combined_w_class]\]\]"
+
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet/Topic(href,href_list)
+ ..()
+ var/datum/topic_input/afilter = new (href,href_list)
+ if(afilter.get("toggle_bagging"))
+ bagging = !bagging
+ update_equip_info()
+ return
+ if(afilter.get("toggle_extended"))
+ extended = !extended
+ update_equip_info()
+ return
+
+/obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet/action(atom/target)
+ if(get_dist(chassis, target) > max_range)
+ return
+ if(istype(target, /obj/machinery/disposal)) // Emptying stuff into disposals
+ chassis.occupant.visible_message(
+ "[chassis.occupant] empties [src] into the disposal unit. ",
+ "You empty [src] into disposal unit. ",
+ "You hear someone emptying something into a disposal unit. "
+ )
+ chassis.Beam(target, icon_state = "rped_upgrade", icon = 'icons/effects/effects.dmi', time = 5)
+ playsound(src, 'sound/items/pshoom.ogg', 40, 1)
+ for(var/obj/item/I in storage_controller.contents)
+ storage_controller.remove_from_storage(I, target)
+ return
+ var/turf/target_turf
+ if(iswallturf(target))
+ return
+ if(isturf(target))
+ target_turf = target
+ else
+ target_turf = get_turf(target)
+ if(bagging) // If picking up
+ if(extended) // If extended reach
+ for(var/turf/current_target_turf in view(1, target_turf))
+ for(var/obj/item/I in current_target_turf.contents)
+ if(storage_controller.can_be_inserted(I))
+ storage_controller.handle_item_insertion(I, null, TRUE)
+ else // Single turf
+ for(var/obj/item/I in target_turf.contents)
+ if(storage_controller.can_be_inserted(I))
+ storage_controller.handle_item_insertion(I, null, TRUE)
+ chassis.occupant_message("You pick up all the items with [src]. Remaining cargo compartment capacity: [storage_controller.max_combined_w_class - length(storage_controller.contents)]")
+
+ else // Dumping
+ for(var/obj/item/I in storage_controller.contents)
+ storage_controller.remove_from_storage(I, target_turf)
+ chassis.occupant_message("You dump everything out of [src].")
+ update_equip_info()
diff --git a/code/game/mecha/equipment/tools/medical_tools.dm b/code/game/mecha/equipment/tools/medical_tools.dm
index 64a264cf40a2..6552d9b32067 100644
--- a/code/game/mecha/equipment/tools/medical_tools.dm
+++ b/code/game/mecha/equipment/tools/medical_tools.dm
@@ -292,10 +292,10 @@
if(mode)
return analyze_reagents(target)
if(!length(syringes))
- occupant_message("No syringes loaded. ")
+ occupant_message("No syringes loaded. ")
return
if(reagents.total_volume<=0)
- occupant_message("No available reagents to load syringe with. ")
+ occupant_message("No available reagents to load syringe with. ")
return
var/turf/trg = get_turf(target)
var/obj/item/reagent_containers/syringe/mechsyringe = syringes[1]
@@ -324,7 +324,7 @@
var/mob/living/carbon/M = safepick(mobs)
if(M)
var/R
- mechsyringe.visible_message(" [M] was hit by the syringe! ")
+ mechsyringe.visible_message(" [M] was hit by the syringe! ")
if(M.can_inject(originaloccupant, TRUE, original_target_zone))
if(mechsyringe.reagents)
for(var/datum/reagent/A in mechsyringe.reagents.reagent_list)
@@ -470,7 +470,7 @@
occupant_message("The object is too far away.")
return FALSE
if(!A.reagents || ismob(A))
- occupant_message("No reagent info gained from [A]. ")
+ occupant_message("No reagent info gained from [A]. ")
return FALSE
occupant_message("Analyzing reagents...")
for(var/datum/reagent/R as anything in A.reagents.reagent_list)
@@ -504,7 +504,7 @@
if(..())
return
if(!length(processed_reagents) || reagents.total_volume >= reagents.maximum_volume || !chassis.has_charge(energy_drain))
- occupant_message("Reagent processing stopped.")
+ occupant_message("Reagent processing stopped.")
log_message("Reagent processing stopped.")
STOP_PROCESSING(SSobj, src)
return
diff --git a/code/game/mecha/equipment/tools/work_tools.dm b/code/game/mecha/equipment/tools/work_tools.dm
index 7d8f64ed04e9..934c7c364bfc 100644
--- a/code/game/mecha/equipment/tools/work_tools.dm
+++ b/code/game/mecha/equipment/tools/work_tools.dm
@@ -479,10 +479,9 @@
/obj/item/kinetic_crusher/mecha/Initialize(mapload)
. = ..()
- var/datum/component/unwanted = GetComponent(/datum/component/parry)
- unwanted?.RemoveComponent()
- unwanted = GetComponent(/datum/component/two_handed)
- unwanted?.RemoveComponent()
+ DeleteComponent(/datum/component/parry)
+ DeleteComponent(/datum/component/two_handed)
+
/// This is only for the sake of internal checks in the crusher itself.
ADD_TRAIT(src, TRAIT_WIELDED, "mech[UID()]")
diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm
index 59762a095485..ba98e8b6ad85 100644
--- a/code/game/mecha/equipment/weapons/weapons.dm
+++ b/code/game/mecha/equipment/weapons/weapons.dm
@@ -391,6 +391,37 @@
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/flashbang/clusterbang/limited/rearm()
return//Extra bit of security
+/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner
+ name = "\improper N23 Rotary Janitation Launcher"
+ desc = "A tool of mass cleaning. Launches primed cleaning foam grenades. Major slipping hazard."
+ icon_state = "mecha_grenadelnchr"
+ origin_tech = "combat=4;engineering=4"
+ projectile = /obj/item/grenade/chem_grenade/cleaner
+ fire_sound = 'sound/effects/bang.ogg'
+ equip_cooldown = 6 SECONDS
+ projectiles = 6
+ missile_speed = 1.5
+ projectile_energy_cost = 1000
+ size = 1
+ /// Time until grenade detonates
+ var/det_time = 2 SECONDS
+
+/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner/action(target, params)
+ if(!action_checks(target))
+ return
+ set_ready_state(0)
+ var/obj/item/grenade/chem_grenade/cleaner/grenade = new projectile(chassis.loc)
+ playsound(chassis, fire_sound, 50, TRUE)
+ grenade.throw_at(target, missile_range, missile_speed)
+ projectiles--
+ log_message("Fired from [name], targeting [target].")
+ log_attack(chassis.occupant, target, "Cleaning grenade fired from [name], targeting [target].")
+ addtimer(CALLBACK(grenade, TYPE_PROC_REF(/obj/item/grenade/chem_grenade/cleaner, prime)), det_time)
+ do_after_cooldown()
+
+/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner/can_attach(obj/mecha/nkarrdem/M as obj)
+ return ..() && istype(M)
+
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/banana_mortar
equip_cooldown = 2 SECONDS
name = "banana mortar"
diff --git a/code/game/mecha/janitor/nkarrdem.dm b/code/game/mecha/janitor/nkarrdem.dm
new file mode 100644
index 000000000000..7018c5979403
--- /dev/null
+++ b/code/game/mecha/janitor/nkarrdem.dm
@@ -0,0 +1,92 @@
+/obj/mecha/nkarrdem
+ desc = "A heavy duty sanitation exosuit; optimized for the removal of mass amounts of dirt, grime, and grease."
+ name = "Nkarrdem"
+ icon_state = "nkarrdem"
+ initial_icon = "nkarrdem"
+ step_in = 3
+ turnsound = 'sound/mecha/mechmove01.ogg'
+ stepsound = 'sound/mecha/mechstep.ogg'
+ max_temperature = 10000
+ max_integrity = 110
+ max_equip = 4
+ wreckage = /obj/structure/mecha_wreckage/nkarrdem
+ internal_damage_threshold = 35
+ deflect_chance = 15
+ step_energy_drain = 6
+ normal_step_energy_drain = 6
+ /// Is the janihud on?
+ var/builtin_hud_user = FALSE
+ /// Action that controls the floor buffer
+ var/datum/action/innate/mecha/mech_toggle_floorbuffer/floorbuffer_action = new
+
+/obj/mecha/nkarrdem/examine_more(mob/user)
+ ..()
+ . = list()
+ . += "The Nkarrdem is an older-generation CBRN mech developed jointly by Interdyne and Shellguard for rapid decontamination during a period where biological weapons are frequently used, though it suffered from several \
+ cost-cutting measures that exposes the operator to the hazardous environments. Surplus units are then sold for cleaning purposes. "
+ . += ""
+ . += "The name 'Nkarrdem' comes from Skrellian legend, meaning 'Turquoise Fields'. The Turquoise Fields are an algae plataeu, where the kings of old would go to their final rest. "
+
+
+/obj/mecha/nkarrdem/moved_inside(mob/living/carbon/human/H)
+ . = ..()
+ if(. && ishuman(H))
+ if(istype(H.glasses, /obj/item/clothing/glasses/hud))
+ occupant_message("[H.glasses] prevent you from using [src]'s built-in janitorial HUD. ")
+ else
+ var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
+ jani_hud.add_hud_to(H)
+ builtin_hud_user = TRUE
+
+/obj/mecha/nkarrdem/mmi_moved_inside(obj/item/mmi/mmi_as_oc, mob/user)
+ . = ..()
+ if(.)
+ if(occupant.client)
+ var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
+ jani_hud.add_hud_to(occupant)
+ builtin_hud_user = TRUE
+
+/obj/mecha/nkarrdem/go_out()
+ if(ishuman(occupant) && builtin_hud_user)
+ var/mob/living/carbon/human/H = occupant
+ var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
+ jani_hud.remove_hud_from(H)
+ builtin_hud_user = FALSE
+ else if((isbrain(occupant) || pilot_is_mmi()) && builtin_hud_user)
+ var/mob/living/brain/H = occupant
+ var/datum/atom_hud/data/janitor/jani_hud = GLOB.huds[DATA_HUD_JANITOR]
+ jani_hud.remove_hud_from(H)
+ builtin_hud_user = FALSE
+ return ..()
+
+/obj/mecha/nkarrdem/GrantActions(mob/living/user, human_occupant = 0)
+ . = ..()
+ floorbuffer_action.Grant(user, src)
+
+/obj/mecha/nkarrdem/RemoveActions(mob/living/user, human_occupant = 0)
+ . = ..()
+ floorbuffer_action.Remove(user)
+
+// Moving has to clean floors if the buffer is active
+/obj/mecha/nkarrdem/Move()
+ . = ..()
+ if(!floor_buffer)
+ return
+ var/turf/tile = get_turf(src)
+ if(!isturf(tile))
+ return
+ tile.clean_blood()
+ for(var/obj/effect/E in tile)
+ if(E.is_cleanable())
+ qdel(E)
+
+/obj/mecha/nkarrdem/loaded/Initialize(mapload)
+ . = ..()
+ var/obj/item/mecha_parts/mecha_equipment/ME = new /obj/item/mecha_parts/mecha_equipment/janitor/mega_spray
+ ME.attach(src)
+ ME = new /obj/item/mecha_parts/mecha_equipment/janitor/mega_mop
+ ME.attach(src)
+ ME = new /obj/item/mecha_parts/mecha_equipment/janitor/light_replacer
+ ME.attach(src)
+ ME = new /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner
+ ME.attach(src)
diff --git a/code/game/mecha/mech_fabricator.dm b/code/game/mecha/mech_fabricator.dm
index c64cfd40f11e..a7f2be30560b 100644
--- a/code/game/mecha/mech_fabricator.dm
+++ b/code/game/mecha/mech_fabricator.dm
@@ -71,6 +71,7 @@
"MODsuit Modules",
"Ripley",
"Firefighter",
+ "Nkarrdem",
"Odysseus",
"Gygax",
"Durand",
diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm
index 813b9983e04f..d04a540066af 100644
--- a/code/game/mecha/mecha.dm
+++ b/code/game/mecha/mecha.dm
@@ -109,6 +109,10 @@
var/phasing = FALSE
var/phasing_energy_drain = 200
var/phase_state = "" //icon_state when phasing
+ /// How much speed the mech loses while the buffer is active
+ var/buffer_delay = 1
+ /// Does it clean the tile under it?
+ var/floor_buffer = FALSE
//Action datums
var/datum/action/innate/mecha/mech_eject/eject_action = new
diff --git a/code/game/mecha/mecha_actions.dm b/code/game/mecha/mecha_actions.dm
index 316e4eb737e5..437cf6aba105 100644
--- a/code/game/mecha/mecha_actions.dm
+++ b/code/game/mecha/mecha_actions.dm
@@ -221,6 +221,22 @@
playsound(src, 'sound/mecha/mechmove01.ogg', 50, TRUE)
UpdateButtons()
+// Floor Buffer Action
+/datum/action/innate/mecha/mech_toggle_floorbuffer
+ name = "Toggle Floor Buffer"
+ desc = "Movement speed is decreased while active."
+ button_overlay_icon = 'icons/obj/vehicles.dmi'
+ button_overlay_icon_state = "upgrade"
+
+/datum/action/innate/mecha/mech_toggle_floorbuffer/Activate()
+ if(!chassis.floor_buffer)
+ chassis.floor_buffer = TRUE
+ chassis.step_in += chassis.buffer_delay
+ else
+ chassis.floor_buffer = FALSE
+ chassis.step_in -= chassis.buffer_delay
+ to_chat(usr, "The floor buffer is now [chassis.floor_buffer ? "active" : "deactivated"]. ")
+
/datum/action/innate/mecha/select_module
name = "Hey, you shouldn't see this please make a bug report"
var/obj/item/mecha_parts/mecha_equipment/equipment
diff --git a/code/game/mecha/mecha_construction_paths.dm b/code/game/mecha/mecha_construction_paths.dm
index 02e7450f548c..9f212e3400a8 100644
--- a/code/game/mecha/mecha_construction_paths.dm
+++ b/code/game/mecha/mecha_construction_paths.dm
@@ -1810,4 +1810,249 @@
holder.icon_state = "odysseus12"
return 1
+// NKARRDEM
+
+/datum/construction/mecha/nkarrdem_chassis
+ steps = list(list("key"=/obj/item/mecha_parts/part/nkarrdem_torso), // 1
+ list("key"=/obj/item/mecha_parts/part/nkarrdem_head), // 2
+ list("key"=/obj/item/mecha_parts/part/nkarrdem_left_arm), // 3
+ list("key"=/obj/item/mecha_parts/part/nkarrdem_right_arm), // 4
+ list("key"=/obj/item/mecha_parts/part/nkarrdem_left_leg), // 5
+ list("key"=/obj/item/mecha_parts/part/nkarrdem_right_leg) // 6
+ )
+
+/datum/construction/mecha/nkarrdem_chassis/custom_action(step, atom/used_atom, mob/user)
+ user.visible_message("[user] has connected [used_atom] to the [holder].", "You connect [used_atom] to the [holder]")
+ holder.overlays += used_atom.icon_state + "+o"
+ qdel(used_atom)
+ return TRUE
+
+/datum/construction/mecha/nkarrdem_chassis/action(atom/used_atom,mob/user as mob)
+ return check_all_steps(used_atom,user)
+
+/datum/construction/mecha/nkarrdem_chassis/spawn_result(mob/user, result_name)
+ ..(user, "Nkarrdem")
+ var/obj/item/mecha_parts/chassis/const_holder = holder
+ const_holder.construct = new /datum/construction/reversible/mecha/nkarrdem(const_holder)
+ const_holder.icon = 'icons/mecha/mech_construction.dmi'
+ const_holder.icon_state = "nkarrdem0"
+ const_holder.density = TRUE
+ qdel(src)
+
+/datum/construction/reversible/mecha/nkarrdem
+ result = "/obj/mecha/nkarrdem"
+ steps = list(
+ //1
+ list(
+ "key" = TOOL_WELDER,
+ "backkey" = TOOL_WRENCH,
+ "desc" = "External armor is wrenched."),
+ //2
+ list(
+ "key" = TOOL_WRENCH,
+ "backkey" = TOOL_CROWBAR,
+ "desc" = "External armor is installed."),
+ //3
+ list(
+ "key" = /obj/item/stack/sheet/plasteel,
+ "backkey" = TOOL_WELDER,
+ "desc" = "Internal armor is welded."),
+ //4
+ list(
+ "key" = TOOL_WELDER,
+ "backkey" = TOOL_WRENCH,
+ "desc" = "Internal armor is wrenched."),
+ //5
+ list(
+ "key" = TOOL_WRENCH,
+ "backkey" = TOOL_CROWBAR,
+ "desc" = "Internal armor is installed."),
+ //6
+ list(
+ "key" = /obj/item/stack/sheet/metal,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "Floor buffer is secured."),
+ //7
+ list(
+ "key" = TOOL_SCREWDRIVER,
+ "backkey" = TOOL_CROWBAR,
+ "desc" = "Floor buffer is installed."),
+ //8
+ list(
+ "key" = /obj/item/borg/upgrade/floorbuffer,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "Peripherals control module is secured."),
+ //9
+ list(
+ "key" = TOOL_SCREWDRIVER,
+ "backkey" = TOOL_CROWBAR,
+ "desc" = "Peripherals control module is installed."),
+ //10
+ list(
+ "key" = /obj/item/circuitboard/mecha/nkarrdem/peripherals,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "Central control module is secured."),
+
+ //11
+ list(
+ "key" = TOOL_SCREWDRIVER,
+ "backkey" = TOOL_CROWBAR,
+ "desc" = "Central control module is installed."),
+ //12
+ list(
+ "key" = /obj/item/circuitboard/mecha/nkarrdem/main,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "The wiring is adjusted."),
+ //13
+ list(
+ "key" = /obj/item/wirecutters,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "The wiring is added."),
+ //14
+ list(
+ "key" = /obj/item/stack/cable_coil,
+ "backkey" = TOOL_SCREWDRIVER,
+ "desc" = "The hydraulic systems are active."),
+ //15
+ list(
+ "key" = TOOL_SCREWDRIVER,
+ "backkey" = TOOL_WRENCH,
+ "desc" = "The hydraulic systems are connected."),
+ //16
+ list(
+ "key" = TOOL_WRENCH,
+ "desc" = "The hydraulic systems are disconnected.")
+ )
+
+/datum/construction/reversible/mecha/nkarrdem/action(atom/used_atom, mob/user)
+ return check_step(used_atom,user)
+
+/datum/construction/reversible/mecha/nkarrdem/custom_action(index, diff, atom/used_atom, mob/user)
+ if(!..())
+ return FALSE
+
+ switch(index)
+ if(16)
+ user.visible_message("[user] connects the [holder] hydraulic systems", "You connect the [holder] hydraulic systems.")
+ holder.icon_state = "nkarrdem1"
+ if(15)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] activates the [holder] hydraulic systems.", "You activate the [holder] hydraulic systems.")
+ holder.icon_state = "nkarrdem2"
+ else
+ user.visible_message("[user] disconnects the [holder] hydraulic systems", "You disconnect the [holder] hydraulic systems.")
+ holder.icon_state = "nkarrdem0"
+ if(14)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] adds the wiring to the [holder].", "You add the wiring to the [holder].")
+ holder.icon_state = "nkarrdem3"
+ else
+ user.visible_message("[user] deactivates the [holder] hydraulic systems.", "You deactivate the [holder] hydraulic systems.")
+ holder.icon_state = "nkarrdem1"
+ if(13)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] adjusts the wiring of the [holder].", "You adjust the wiring of the [holder].")
+ holder.icon_state = "nkarrdem4"
+ else
+ user.visible_message("[user] removes the wiring from the [holder].", "You remove the wiring from the [holder].")
+ var/obj/item/stack/cable_coil/coil = new /obj/item/stack/cable_coil(get_turf(holder))
+ coil.amount = 4
+ holder.icon_state = "nkarrdem2"
+ if(12)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] installs the central control module into the [holder].", "You install the central computer mainboard into the [holder].")
+ qdel(used_atom)
+ holder.icon_state = "nkarrdem5"
+ else
+ user.visible_message("[user] disconnects the wiring of the [holder].", "You disconnect the wiring of the [holder].")
+ holder.icon_state = "nkarrdem3"
+ if(11)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] secures the mainboard.", "You secure the mainboard.")
+ holder.icon_state = "nkarrdem6"
+ else
+ user.visible_message("[user] removes the central control module from the [holder].", "You remove the central computer mainboard from the [holder].")
+ new /obj/item/circuitboard/mecha/nkarrdem/main(get_turf(holder))
+ holder.icon_state = "nkarrdem4"
+ if(10)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] installs the peripherals control module into the [holder].", "You install the peripherals control module into the [holder].")
+ qdel(used_atom)
+ holder.icon_state = "nkarrdem7"
+ else
+ user.visible_message("[user] unfastens the mainboard.", "You unfasten the mainboard.")
+ holder.icon_state = "nkarrdem5"
+ if(9)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] secures the peripherals control module.", "You secure the peripherals control module.")
+ holder.icon_state = "nkarrdem8"
+ else
+ user.visible_message("[user] removes the peripherals control module from the [holder].", "You remove the peripherals control module from the [holder].")
+ new /obj/item/circuitboard/mecha/nkarrdem/peripherals(get_turf(holder))
+ holder.icon_state = "nkarrdem6"
+ if(8)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] installs a floor buffer into [holder].", "You install a floor buffer into [holder].")
+ qdel(used_atom)
+ holder.icon_state = "nkarrdem9"
+ else
+ user.visible_message("[user] unfastens the peripherals control module.", "You unfasten the peripherals control module.")
+ holder.icon_state = "nkarrdem7"
+ if(7)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] secures a floor buffer into [holder].", "You secure the floor buffer into [holder].")
+ holder.icon_state = "nkarrdem10"
+ else
+ user.visible_message("[user] removes the floor buffer from the [holder].", "You unfasten the floor buffer from the [holder].")
+ new /obj/item/borg/upgrade/floorbuffer(get_turf(holder))
+ holder.icon_state = "nkarrdem8"
+ if(6)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] installs the internal armor layer to the [holder].", "You install the internal armor layer to the [holder].")
+ holder.icon_state = "nkarrdem11"
+ else
+ user.visible_message("[user] unfastens the floor buffer.", "You unfasten the floor buffer.")
+ holder.icon_state = "nkarrdem9"
+ if(5)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] secures the internal armor layer.", "You secure the internal armor layer.")
+ holder.icon_state = "nkarrdem12"
+ else
+ user.visible_message("[user] pries internal armor layer from the [holder].", "You pry internal armor layer from the [holder].")
+ var/obj/item/stack/sheet/metal/MS = new /obj/item/stack/sheet/metal(get_turf(holder))
+ MS.amount = 5
+ holder.icon_state = "nkarrdem10"
+ if(4)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] welds the internal armor layer to the [holder].", "You weld the internal armor layer to the [holder].")
+ holder.icon_state = "nkarrdem13"
+ else
+ user.visible_message("[user] unfastens the internal armor layer.", "You unfasten the internal armor layer.")
+ holder.icon_state = "nkarrdem11"
+ if(3)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] installs [used_atom] layer to the [holder].", "You install the external reinforced armor layer to the [holder].")
+
+ holder.icon_state = "nkarrdem14"
+ else
+ user.visible_message("[user] cuts the internal armor layer from the [holder].", "You cut the internal armor layer from the [holder].")
+ holder.icon_state = "nkarrdem12"
+ if(2)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] secures the external armor layer.", "You secure the external reinforced armor layer.")
+ holder.icon_state = "nkarrdem15"
+ else
+ var/obj/item/stack/sheet/plasteel/MS = new /obj/item/stack/sheet/plasteel(get_turf(holder))
+ MS.amount = 5
+ user.visible_message("[user] pries [MS] from the [holder].", "You pry [MS] from the [holder].")
+ holder.icon_state = "nkarrdem13"
+ if(1)
+ if(diff == CONSTRUCTION_PATH_FORWARDS)
+ user.visible_message("[user] welds the external armor layer to the [holder].", "You weld the external armor layer to the [holder].")
+ holder.icon_state = "nkarrdem16"
+ else
+ user.visible_message("[user] unfastens the external armor layer.", "You unfasten the external armor layer.")
+ holder.icon_state = "nkarrdem14"
+ return TRUE
+
#undef STANDARD_STACK_AMOUNT
diff --git a/code/game/mecha/mecha_parts.dm b/code/game/mecha/mecha_parts.dm
index 6773202fd413..f21c8c915731 100644
--- a/code/game/mecha/mecha_parts.dm
+++ b/code/game/mecha/mecha_parts.dm
@@ -349,6 +349,44 @@
icon_state = "odysseus_armour"
origin_tech = "materials=3;engineering=3")*/
+///////// Nkarrdem
+/obj/item/mecha_parts/chassis/nkarrdem
+ name = "\improper Nkarrdem Chassis"
+
+/obj/item/mecha_parts/chassis/nkarrdem/New()
+ ..()
+ construct = new /datum/construction/mecha/nkarrdem_chassis(src)
+
+/obj/item/mecha_parts/part/nkarrdem_head
+ name = "\improper Nkarrdem head"
+ icon_state = "nkarrdem_head"
+
+/obj/item/mecha_parts/part/nkarrdem_torso
+ name = "\improper Nkarrdem torso"
+ desc = "A torso part of Nkarrdem. Contains power unit, processing core and life support systems."
+ icon_state = "nkarrdem_harness"
+ origin_tech = "programming=2;materials=2;biotech=2;engineering=2"
+
+/obj/item/mecha_parts/part/nkarrdem_left_arm
+ name = "\improper Nkarrdem left arm"
+ desc = "A Nkarrdem left arm. Data and power sockets are compatible with most exosuit tools."
+ icon_state = "nkarrdem_l_arm"
+
+/obj/item/mecha_parts/part/nkarrdem_right_arm
+ name = "\improper Nkarrdem right arm"
+ desc = "A Nkarrdem right arm. Data and power sockets are compatible with most exosuit tools."
+ icon_state = "nkarrdem_r_arm"
+
+/obj/item/mecha_parts/part/nkarrdem_left_leg
+ name = "\improper Nkarrdem left leg"
+ desc = "A Nkarrdem left leg. Contains somewhat complex servodrives and balance maintaining systems."
+ icon_state = "nkarrdem_l_leg"
+
+/obj/item/mecha_parts/part/nkarrdem_right_leg
+ name = "\improper Nkarrdem right leg"
+ desc = "A Nkarrdem right leg. Contains somewhat complex servodrives and balance maintaining systems."
+ icon_state = "nkarrdem_r_leg"
+
///////// Circuitboards
@@ -373,6 +411,16 @@
board_name = "Ripley Peripherals Control Module"
icon_state = "mcontroller"
+/obj/item/circuitboard/mecha/nkarrdem
+ origin_tech = "programming=2"
+
+/obj/item/circuitboard/mecha/nkarrdem/main
+ board_name = "Nkarrdem Central Control Module"
+ icon_state = "mainboard"
+
+/obj/item/circuitboard/mecha/nkarrdem/peripherals
+ board_name = "Nkarrdem Peripherals Control Module"
+ icon_state = "mcontroller"
/obj/item/circuitboard/mecha/gygax
origin_tech = "programming=4;combat=3;engineering=3"
diff --git a/code/game/mecha/mecha_wreckage.dm b/code/game/mecha/mecha_wreckage.dm
index c5e87d3789d0..18938ca20548 100644
--- a/code/game/mecha/mecha_wreckage.dm
+++ b/code/game/mecha/mecha_wreckage.dm
@@ -218,3 +218,15 @@
/obj/item/mecha_parts/part/odysseus_right_arm,
/obj/item/mecha_parts/part/odysseus_left_leg,
/obj/item/mecha_parts/part/odysseus_right_leg)
+
+/obj/structure/mecha_wreckage/nkarrdem
+ name = "\improper Nkarrdem wreckage"
+ icon_state = "nkarrdem-broken"
+ parts = list(
+ /obj/item/mecha_parts/part/nkarrdem_torso,
+ /obj/item/mecha_parts/part/nkarrdem_head,
+ /obj/item/mecha_parts/part/nkarrdem_left_arm,
+ /obj/item/mecha_parts/part/nkarrdem_right_arm,
+ /obj/item/mecha_parts/part/nkarrdem_left_leg,
+ /obj/item/mecha_parts/part/nkarrdem_right_leg
+ )
diff --git a/code/game/objects/buckling.dm b/code/game/objects/buckling.dm
index 9d4b3ab2dc48..cc12806842f4 100644
--- a/code/game/objects/buckling.dm
+++ b/code/game/objects/buckling.dm
@@ -194,4 +194,4 @@
/mob/living/proc/check_buckled()
if(buckled && !(buckled in loc))
- buckled.unbuckle_mob(src, force = TRUE)
+ unbuckle(force = TRUE)
diff --git a/code/game/objects/cleaning.dm b/code/game/objects/cleaning.dm
index 5c81fd4b27bb..82c1df319614 100644
--- a/code/game/objects/cleaning.dm
+++ b/code/game/objects/cleaning.dm
@@ -13,7 +13,9 @@
//Can normally be left alone, but needs to be defined if the thing being cleaned isn't necessarily the thing being clicked on,
//such as /obj/effect/rune/cleaning_act() bouncing to turf/simulated/cleaning_act().
-/atom/proc/cleaning_act(mob/user, atom/cleaner, cleanspeed = 5 SECONDS, text_verb = "clean", text_description = " with [cleaner].", text_targetname = name)
+// skip_do_after - When TRUE, do after and visible messages are disabled
+
+/atom/proc/cleaning_act(mob/user, atom/cleaner, cleanspeed = 5 SECONDS, text_verb = "clean", text_description = " with [cleaner].", text_targetname = name, skip_do_after = FALSE)
var/is_cmagged = FALSE
if(user.client && (src in user.client.screen)) //You can't clean items you're wearing for technical reasons
@@ -25,9 +27,10 @@
text_verb = "clean the ooze off"
cleanspeed = CMAG_CLEANTIME
- user.visible_message("[user] begins to [text_verb] \the [text_targetname][text_description] ", "You begin to [text_verb] \the [text_targetname][text_description] ")
- if(!do_after(user, cleanspeed, target = src))
- return FALSE
+ if(!skip_do_after)
+ user.visible_message("[user] begins to [text_verb] \the [text_targetname][text_description] ", "You begin to [text_verb] \the [text_targetname][text_description] ")
+ if(!do_after(user, cleanspeed, target = src))
+ return FALSE
if(!cleaner.can_clean())
cleaner.post_clean(src, user)
@@ -35,7 +38,8 @@
cleaner.post_clean(src, user)
- to_chat(user, "You [text_verb] \the [text_targetname][text_description] ")
+ if(!skip_do_after)
+ to_chat(user, "You [text_verb] \the [text_targetname][text_description] ")
if(is_cmagged) //If we've cleaned a cmagged object
REMOVE_TRAIT(src, TRAIT_CMAGGED, CLOWN_EMAG)
diff --git a/code/game/objects/effects/anomalies.dm b/code/game/objects/effects/anomalies.dm
index d3ee336f86b6..d563dcb21c5f 100644
--- a/code/game/objects/effects/anomalies.dm
+++ b/code/game/objects/effects/anomalies.dm
@@ -51,6 +51,11 @@
countdown.color = countdown_colour
countdown.start()
+ // Only log an anomaly if it drops a core. Prevents logging of SM events and Vetus.
+ if(drops_core)
+ message_admins("\A [name] has spawned at [impact_area][ADMIN_COORDJMP(impact_area)]")
+ log_admin("\A [name] has spawned at [impact_area]")
+
/obj/effect/anomaly/Destroy()
GLOB.poi_list.Remove(src)
STOP_PROCESSING(SSobj, src)
@@ -82,17 +87,17 @@
if(drops_core)
aSignal.forceMove(drop_location())
aSignal = null
- // else, anomaly core gets deleted by qdel(src).
+ // Subtracts the time remaining from lifespan to get defuse time, converts it to seconds
+ var/defuse_time = round((lifespan - (death_time - world.time)) / 10)
+ SSblackbox.record_feedback("ledger", "anomaly_defuse_time", "[defuse_time]", "[type]")
+ // Else, anomaly core gets deleted by qdel(src).
qdel(src)
-
/obj/effect/anomaly/attackby(obj/item/I, mob/user, params)
if(istype(I, /obj/item/analyzer))
to_chat(user, "Analyzing... [src]'s unstable field is fluctuating along frequency [format_frequency(aSignal.frequency)], code [aSignal.code]. ")
-///////////////////////
-
/obj/effect/anomaly/grav
name = "gravitational anomaly"
icon_state = "shield2"
@@ -169,8 +174,7 @@
if(T && length(GLOB.gravity_generators["[T.z]"]))
var/obj/machinery/gravity_generator/main/G = pick(GLOB.gravity_generators["[T.z]"])
G.set_broken() //Requires engineering to fix the gravity generator, as it gets overloaded by the anomaly.
-
-/////////////////////
+ log_and_message_admins("A [name] has detonated a gravity generator")
/obj/effect/anomaly/flux
name = "flux wave anomaly"
@@ -222,12 +226,12 @@
/obj/effect/anomaly/flux/detonate()
if(explosive)
- explosion(src, 1, 4, 16, 18) //Low devastation, but hits a lot of stuff.
+ explosion(src, 1, 4, 16, 18, FALSE) // Set adminlog to FALSE for custom logging
+ message_admins("\A [name] has detonated at [impact_area][ADMIN_COORDJMP(impact_area)]")
+ log_admin("\A [name] has detonated at [impact_area]")
else
new /obj/effect/particle_effect/sparks(loc)
-/////////////////////
-
/obj/effect/anomaly/bluespace
name = "bluespace anomaly"
icon = 'icons/obj/projectiles.dmi'
@@ -328,9 +332,6 @@
M.client.screen -= blueeffect
qdel(blueeffect)
-
-/////////////////////
-
/obj/effect/anomaly/pyro
name = "pyroclastic anomaly"
icon_state = "mustard"
@@ -365,6 +366,9 @@
/obj/effect/anomaly/pyro/detonate()
if(produces_slime)
INVOKE_ASYNC(src, PROC_REF(makepyroslime))
+ if(drops_core)
+ message_admins("\A [name] has detonated at [impact_area][ADMIN_COORDJMP(impact_area)]")
+ log_admin("\A [name] has detonated at [impact_area]")
/obj/effect/anomaly/pyro/proc/makepyroslime()
var/turf/simulated/T = get_turf(src)
@@ -391,8 +395,6 @@
dust_if_respawnable(chosen)
log_game("[key_name(S.key)] was made into a slime by pyroclastic anomaly at [AREACOORD(T)].")
-/////////////////////
-
/obj/effect/anomaly/cryo
name = "cryogenic anomaly"
desc = "Hope you brought a jacket!"
@@ -466,8 +468,8 @@
air.set_sleeping_agent(3000)
air.set_carbon_dioxide(3000)
T.blind_release_air(air)
-
-/////////////////////
+ message_admins("\A [name] has detonated at [impact_area][ADMIN_COORDJMP(impact_area)]")
+ log_admin("\A [name] has detonated at [impact_area]")
/obj/effect/anomaly/bhole
name = "vortex anomaly"
diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm
index 1e93d42a1040..152ce009b9e1 100644
--- a/code/game/objects/effects/decals/Cleanable/humans.dm
+++ b/code/game/objects/effects/decals/Cleanable/humans.dm
@@ -55,7 +55,7 @@
var/turf/T = get_turf(src)
check_gravity(T)
- if((T && (T.density)) || !gravity_check || locate(/obj/structure/window/) in T || locate(/obj/structure/grille/) in T)
+ if(!istype(src, /obj/effect/decal/cleanable/blood/footprints) && ((T && (T.density)) || !gravity_check || locate(/obj/structure/window/full) in T || locate(/obj/structure/grille/) in T))
off_floor = TRUE
layer = ABOVE_MOB_LAYER
plane = GAME_PLANE
diff --git a/code/game/objects/effects/spawners/decorative_spawners.dm b/code/game/objects/effects/spawners/decorative_spawners.dm
index 7b200d627308..c01caca049a5 100644
--- a/code/game/objects/effects/spawners/decorative_spawners.dm
+++ b/code/game/objects/effects/spawners/decorative_spawners.dm
@@ -112,20 +112,3 @@
result = list(
/datum/nothing = 7,
/obj/effect/decal/cleanable/dirt = 1)
-
-/obj/effect/spawner/random_spawners/fungus_maybe
- name = "fungus maybe"
- icon_state = "fungus"
- color = "#D5820B"
- result = list(
- /datum/nothing = 7,
- /obj/effect/decal/cleanable/fungus = 1)
-
-/obj/effect/spawner/random_spawners/fungus_probably
- name = "fungus probably"
- icon_state = "fungus"
- color = "#D5820B"
- result = list(
- /datum/nothing = 1,
- /obj/effect/decal/cleanable/fungus = 7)
-
diff --git a/code/game/objects/effects/spawners/depot_spawners.dm b/code/game/objects/effects/spawners/depot_spawners.dm
index 49742158d155..e2e380831927 100644
--- a/code/game/objects/effects/spawners/depot_spawners.dm
+++ b/code/game/objects/effects/spawners/depot_spawners.dm
@@ -37,14 +37,14 @@
name = "33pc trap pizza"
icon_state = "pizzabox"
loot = list(
- /obj/item/pizzabox/pepperoni = 7, // Higher weight as a pizza bomb looks like pepperoni by default
- /obj/item/pizzabox/pizza_bomb/autoarm = 7,
+ /obj/item/pizzabox/pizza_bomb/autoarm = 4,
/obj/item/pizzabox/firecracker = 1,
/obj/item/pizzabox/garlic = 1,
/obj/item/pizzabox/hawaiian = 1,
/obj/item/pizzabox/margherita = 1,
/obj/item/pizzabox/meat = 1,
/obj/item/pizzabox/mushroom = 1,
+ /obj/item/pizzabox/pepperoni = 1,
/obj/item/pizzabox/vegetable = 1,
)
@@ -58,12 +58,16 @@
/obj/effect/spawner/random/syndicate/trapped_documents
name = "50pc trapped documents"
icon_state = "folder"
+ spawn_inside = /obj/structure/closet/secure_closet/syndicate/depot
loot = list(
/obj/item/documents/syndicate/yellow,
/obj/item/documents/syndicate/yellow/trapped,
)
// Loot
+/obj/effect/spawner/random/syndicate/loot
+ spawn_inside = /obj/structure/closet/secure_closet/syndicate/depot
+
/obj/effect/spawner/random/syndicate/loot/common
name = "syndicate depot loot, common"
icon_state = "loot"
@@ -87,6 +91,7 @@
/obj/effect/spawner/random/syndicate/loot/stetchkin
name = "syndicate depot loot, 20pct stetchkin"
icon_state = "stetchkin"
+ spawn_inside = null
spawn_loot_chance = 80
loot = list(
/obj/item/gun/projectile/automatic/pistol,
@@ -155,6 +160,7 @@
/obj/effect/spawner/random/syndicate/loot/armory
name = "syndicate depot loot, armory"
+ spawn_inside = /obj/structure/closet/secure_closet/syndicate/depot/armory
// Combat orientated items that could give the player an advantage if an antag messes with them.
loot = list(
/obj/item/autosurgeon/organ/syndicate/oneuse/razorwire,
@@ -167,6 +173,7 @@
/obj/item/shield/energy,
/obj/item/storage/box/syndie_kit/teleporter,
/obj/item/weaponcrafting/gunkit/universal_gun_kit,
+ /obj/item/mod/control/pre_equipped/traitor_elite
)
// Layout-affecting spawns
diff --git a/code/game/objects/effects/spawners/random/furniture_spawners.dm b/code/game/objects/effects/spawners/random/furniture_spawners.dm
new file mode 100644
index 000000000000..f5c41a3e050b
--- /dev/null
+++ b/code/game/objects/effects/spawners/random/furniture_spawners.dm
@@ -0,0 +1,18 @@
+/obj/effect/spawner/random/storage
+ name = "storage furniture spawner"
+ icon = 'icons/effects/random_spawners.dmi'
+ icon_state = "shelf"
+ layer = BELOW_OBJ_LAYER
+ loot = list(
+ list(
+ /obj/structure/shelf = 10,
+ /obj/structure/shelf/command,
+ /obj/structure/shelf/engineering,
+ /obj/structure/shelf/medbay,
+ /obj/structure/shelf/science,
+ /obj/structure/shelf/security,
+ /obj/structure/shelf/service,
+ /obj/structure/shelf/supply,
+ ),
+ /obj/structure/rack,
+ )
diff --git a/code/game/objects/effects/spawners/random/random_spawner.dm b/code/game/objects/effects/spawners/random/random_spawner.dm
index 880454842f71..1120de174df5 100644
--- a/code/game/objects/effects/spawners/random/random_spawner.dm
+++ b/code/game/objects/effects/spawners/random/random_spawner.dm
@@ -35,6 +35,8 @@
var/spawn_random_angle = FALSE
/// Whether blackbox should record when the spawner spawns.
var/record_spawn = FALSE
+ /// Where do we want to spawn an item (closet, safe etc.)
+ var/spawn_inside
// Brief explanation:
// Rather then setting up and then deleting spawners, we block all atomlike setup
@@ -57,6 +59,9 @@
var/list/spawn_locations = get_spawn_locations(spawn_scatter_radius)
var/spawn_loot_count = isnull(lootcount_override) ? src.spawn_loot_count : lootcount_override
+ if(spawn_inside)
+ new spawn_inside(loc)
+
if(spawn_all_loot)
spawn_loot_count = INFINITY
spawn_loot_double = FALSE
@@ -71,6 +76,8 @@
var/loot_spawned = 0
var/pixel_divider = FLOOR(spawn_random_offset_max_pixels / spawn_loot_split_pixel_offsets, 1)
while((spawn_loot_count-loot_spawned) && length(loot))
+ loot_spawned++
+
var/lootspawn = pick_weight_recursive(loot)
if(!spawn_loot_double)
loot.Remove(lootspawn)
@@ -79,6 +86,10 @@
if(spawn_scatter_radius > 0 && length(spawn_locations))
spawn_loc = pick(spawn_locations)
+ if(ispath(lootspawn, /turf))
+ spawn_loc.ChangeTurf(lootspawn)
+ continue
+
var/atom/movable/spawned_loot = make_item(spawn_loc, lootspawn)
spawned_loot.setDir(dir)
@@ -95,7 +106,6 @@
var/column = FLOOR(loot_spawned / pixel_divider, 1)
spawned_loot.pixel_x = spawn_loot_split_pixel_offsets * (loot_spawned % pixel_divider) + (column * spawn_loot_split_pixel_offsets)
spawned_loot.pixel_y = spawn_loot_split_pixel_offsets * (loot_spawned % pixel_divider)
- loot_spawned++
/**
* Makes the actual item related to our spawner. If `record_spawn` is `TRUE`,
diff --git a/code/game/objects/effects/spawners/random/wall_decal_spawners.dm b/code/game/objects/effects/spawners/random/wall_decal_spawners.dm
new file mode 100644
index 000000000000..20e586a82aad
--- /dev/null
+++ b/code/game/objects/effects/spawners/random/wall_decal_spawners.dm
@@ -0,0 +1,13 @@
+/obj/effect/spawner/random/fungus
+ icon_state = "fungus"
+ color = "#D5820B"
+ loot = list(/obj/effect/decal/cleanable/fungus)
+
+/obj/effect/spawner/random/fungus/maybe
+ spawn_loot_chance = 15
+
+/obj/effect/spawner/random/fungus/frequent
+ spawn_loot_chance = 50
+
+/obj/effect/spawner/random/fungus/probably
+ spawn_loot_chance = 85
diff --git a/code/game/objects/effects/spawners/random_barrier.dm b/code/game/objects/effects/spawners/random_barrier.dm
index 385b0c38ace4..0843419470d1 100644
--- a/code/game/objects/effects/spawners/random_barrier.dm
+++ b/code/game/objects/effects/spawners/random_barrier.dm
@@ -1,72 +1,58 @@
-/obj/effect/spawner/random_barrier
- name = "random tile"
- icon = 'icons/effects/spawner_icons.dmi'
- icon_state = "questionmark"
- var/list/result = list(
- /turf/simulated/floor/plasteel = 1,
- /turf/simulated/wall = 1,
- /obj/structure/falsewall = 1,
- /obj/effect/spawner/window/reinforced = 1,
- /obj/machinery/door/airlock = 1,
- /obj/machinery/door/airlock/welded = 1,
- /obj/structure/barricade/wooden = 1)
-
-// This needs to come before the initialization wave because
-// the thing it creates might need to be initialized too
-/obj/effect/spawner/random_barrier/Initialize()
- . = ..()
- var/turf/T = get_turf(src)
- if(!T)
- CRASH("Barrier spawner placed in nullspace!")
- var/thing_to_place = pickweight(result)
- if(ispath(thing_to_place, /turf))
- T.ChangeTurf(thing_to_place)
- else
- new thing_to_place(T)
- return INITIALIZE_HINT_QDEL
+/obj/effect/spawner/random/barrier
+ name = "random barrier spawner"
+ icon = 'icons/effects/random_spawners.dmi'
+ icon_state = "barrier"
+ loot = list(
+ /obj/effect/spawner/window/reinforced,
+ /obj/machinery/door/airlock,
+ /obj/machinery/door/airlock/welded,
+ /obj/structure/barricade/wooden,
+ /obj/structure/falsewall,
+ /turf/simulated/floor/plasteel,
+ /turf/simulated/wall,
+ )
-/obj/effect/spawner/random_barrier/wall_probably
+/obj/effect/spawner/random/barrier/wall_probably
name = "probably a wall"
- icon_state = "girder"
- result = list(
- /turf/simulated/wall = 9,
- /obj/structure/falsewall = 1)
-
-/obj/effect/spawner/random_barrier/floor_probably
- name = "probably a floor"
- result = list(
- /turf/simulated/floor/plasteel = 3,
- /turf/simulated/wall = 1)
+ icon_state = "wall"
+ loot = list(
+ /obj/structure/falsewall = 1,
+ /turf/simulated/wall = 9,
+ )
-/obj/effect/spawner/random_barrier/obstruction
+/obj/effect/spawner/random/barrier/obstruction
name = "obstruction"
icon_state = "barrier"
- result = list(
- /turf/simulated/wall = 1,
- /obj/structure/falsewall = 1,
- /obj/structure/barricade/wooden = 1,
- /obj/machinery/door/airlock/welded = 1)
+ loot = list(
+ /obj/machinery/door/airlock/welded,
+ /obj/structure/barricade/wooden,
+ /obj/structure/falsewall,
+ /turf/simulated/wall,
+ )
/// these have no access restrictions, so for internal maintenance only
-/obj/effect/spawner/random_barrier/possibly_welded_airlock
+/obj/effect/spawner/random/barrier/possibly_welded_airlock
name = "possibly welded airlock"
icon_state = "airlock"
- result = list(
- /obj/machinery/door/airlock = 3,
- /obj/machinery/door/airlock/welded = 1)
+ loot = list(
+ /obj/machinery/door/airlock = 3,
+ /obj/machinery/door/airlock/welded = 1,
+ )
-/obj/effect/spawner/random_spawners/grille_often
+/obj/effect/spawner/random/barrier/grille_often
name = "grille often"
icon_state = "grille"
- result = list(
- /obj/structure/grille = 8,
- /obj/structure/grille/broken = 4,
- /turf/simulated/floor/plating = 2)
+ loot = list(
+ /obj/structure/grille = 8,
+ /obj/structure/grille/broken = 4,
+ /turf/simulated/floor/plating = 2,
+ )
-/obj/effect/spawner/random_spawners/grille_maybe
+/obj/effect/spawner/random/barrier/grille_maybe
name = "grille maybe"
icon_state = "grille"
- result = list(
- /obj/structure/grille = 2,
- /obj/structure/grille/broken = 2,
- /turf/simulated/floor/plating = 5)
+ loot = list(
+ /obj/structure/grille = 2,
+ /obj/structure/grille/broken = 2,
+ /turf/simulated/floor/plating = 5,
+ )
diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm
index 107beb353738..13fb3a5cf097 100644
--- a/code/game/objects/items/crayons.dm
+++ b/code/game/objects/items/crayons.dm
@@ -359,6 +359,9 @@
attackee.lip_color = colour
attackee.update_body()
+ play_spray_sound(user)
+
+/obj/item/toy/crayon/spraycan/proc/play_spray_sound(mob/user)
playsound(user, 'sound/effects/spray.ogg', 5, TRUE, 5)
/obj/item/toy/crayon/spraycan/update_icon_state()
diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm
index 8ac39ab3c0ed..604a8f0e13d5 100644
--- a/code/game/objects/items/devices/flashlight.dm
+++ b/code/game/objects/items/devices/flashlight.dm
@@ -345,7 +345,7 @@
name = "glowing slime extract"
desc = "A glowing ball of what appears to be amber."
icon = 'icons/obj/lighting.dmi'
- icon_state = "floor1" //not a slime extract sprite but... something close enough!
+ icon_state = "slime-on"
item_state = "slime"
w_class = WEIGHT_CLASS_TINY
brightness_on = 6
diff --git a/code/game/objects/items/devices/lightreplacer.dm b/code/game/objects/items/devices/lightreplacer.dm
index 30a73ab0ad11..7dac6e3640e0 100644
--- a/code/game/objects/items/devices/lightreplacer.dm
+++ b/code/game/objects/items/devices/lightreplacer.dm
@@ -31,13 +31,6 @@
// access to them, and only one of them can emag their device.
//
// The explosion cannot insta-kill anyone with 30% or more health.
-
-#define LIGHT_OK 0
-#define LIGHT_EMPTY 1
-#define LIGHT_BROKEN 2
-#define LIGHT_BURNED 3
-
-
/obj/item/lightreplacer
name = "light replacer"
desc = "A device to automatically replace lights. Refill with broken or working light bulbs, or sheets of glass."
@@ -198,21 +191,10 @@
if(CanUse(U))
if(!Use(U))
return
- to_chat(U, "You replace the light [target.fitting] with [src]. ")
-
if(target.status != LIGHT_EMPTY)
AddShards(1, U)
target.status = LIGHT_EMPTY
-
- var/obj/item/light/replacement = target.light_type
- target.status = LIGHT_OK
- target.switchcount = 0
- target.rigged = emagged
- target.brightness_range = initial(replacement.brightness_range)
- target.brightness_power = initial(replacement.brightness_power)
- target.brightness_color = initial(replacement.brightness_color)
- target.on = target.has_power()
- target.update(TRUE, TRUE, FALSE)
+ target.fix(U, src, emagged)
else
to_chat(U, "[src]'s refill light blinks red.")
@@ -270,8 +252,3 @@
/obj/item/lightreplacer/bluespace/emag_act()
return // long range explosions are stupid
-
-#undef LIGHT_OK
-#undef LIGHT_EMPTY
-#undef LIGHT_BROKEN
-#undef LIGHT_BURNED
diff --git a/code/game/objects/items/devices/traitordevices.dm b/code/game/objects/items/devices/traitordevices.dm
index 5fc6a3614cf9..2b279b5a781b 100644
--- a/code/game/objects/items/devices/traitordevices.dm
+++ b/code/game/objects/items/devices/traitordevices.dm
@@ -108,15 +108,20 @@
if(!charges && !EMP_D) //If it's empd, you are moving no matter what.
to_chat(user, "[src] is still recharging. ")
return
-
+ var/turf/starting = get_turf(src)
+ var/area/starting_area = get_area(starting)
+ if(!is_teleport_allowed(starting.z) || starting_area.tele_proof)
+ to_chat(user, "[src] will not work here! ")
+ return
var/mob/living/M = user
var/turf/mobloc = get_turf(M)
var/list/turfs = list()
var/found_turf = FALSE
var/list/bagholding = user.search_contents_for(/obj/item/storage/backpack/holding)
for(var/turf/T in range(user, tp_range))
- if(!is_teleport_allowed(T.z))
- break
+ var/area/dropping_area = get_area(T)
+ if(dropping_area.tele_proof) //There might be some valid turfs before / after you reach such an area, so we continue, not break.
+ continue
if(!(length(bagholding) && !flawless)) //Chaos if you have a bag of holding
if(get_dir(M, T) != M.dir)
continue
@@ -316,7 +321,7 @@
if(used)
to_chat(user, "The injector is empty! ")
return
- used = TRUE
+ used = TRUE
to_chat(user, "You inject yourself with the enhancer! ")
ADD_TRAIT(user, TRAIT_DRASK_SUPERCOOL, "cryoregenerative_enhancer")
diff --git a/code/game/objects/items/mountable_frames/frames.dm b/code/game/objects/items/mountable_frames/frames.dm
index 5823064a91a1..6da3982e04d1 100644
--- a/code/game/objects/items/mountable_frames/frames.dm
+++ b/code/game/objects/items/mountable_frames/frames.dm
@@ -22,15 +22,15 @@
/obj/item/mounted/frame/try_build(turf/on_wall, mob/user)
if(!..())
- return
+ return FALSE
var/turf/build_turf = get_turf(user)
if((mount_requirements & MOUNTED_FRAME_SIMFLOOR) && !isfloorturf(build_turf))
to_chat(user, "[src] cannot be placed on this spot. ")
- return
+ return FALSE
if(mount_requirements & MOUNTED_FRAME_NOSPACE)
var/area/my_area = get_area(build_turf)
if(!istype(my_area) || !my_area.requires_power || isspacearea(my_area))
to_chat(user, "[src] cannot be placed in this area. ")
- return
+ return FALSE
return TRUE
diff --git a/code/game/objects/items/mountable_frames/light_frames.dm b/code/game/objects/items/mountable_frames/light_frames.dm
index 7d31cf49a249..ab59c8c29521 100644
--- a/code/game/objects/items/mountable_frames/light_frames.dm
+++ b/code/game/objects/items/mountable_frames/light_frames.dm
@@ -22,6 +22,8 @@
newlight = new /obj/machinery/light_construct/small(constrloc)
if("tube")
newlight = new /obj/machinery/light_construct(constrloc)
+ if("floor")
+ newlight = new /obj/machinery/light_construct/floor(on_wall)
else
newlight = new /obj/machinery/light_construct/small(constrloc)
newlight.dir = constrdir
@@ -40,3 +42,13 @@
icon_state = "bulb-construct-item"
fixture_type = "bulb"
metal_sheets_refunded = 1
+
+/obj/item/mounted/frame/light_fixture/floor
+ name = "floor light fixture frame"
+ desc = "Used for building floor lights."
+ icon = 'icons/obj/lighting.dmi'
+ icon_state = "floor-construct-item"
+ fixture_type = "floor"
+ metal_sheets_refunded = 3
+ buildon_types = list(/turf/simulated/floor)
+ allow_floor_mounting = TRUE
diff --git a/code/game/objects/items/mountable_frames/mountables.dm b/code/game/objects/items/mountable_frames/mountables.dm
index c850bb5b6e9d..31fa665a51b5 100644
--- a/code/game/objects/items/mountable_frames/mountables.dm
+++ b/code/game/objects/items/mountable_frames/mountables.dm
@@ -3,35 +3,31 @@
/turf/simulated/mineral/ancient,
/turf/simulated/wall
)
+ var/allow_floor_mounting = FALSE
/obj/item/mounted/afterattack(atom/A, mob/user, proximity_flag)
- var/found_type = 0
- for(var/turf_type in src.buildon_types)
- if(istype(A, turf_type))
- found_type = 1
- break
-
- if(found_type)
+ if(is_type_in_list(A, buildon_types))
if(try_build(A, user, proximity_flag))
return do_build(A, user)
- else
- ..()
+ ..()
/obj/item/mounted/proc/try_build(turf/on_wall, mob/user, proximity_flag) //checks
if(!on_wall || !user)
- return
- if(proximity_flag != 1) //if we aren't next to the wall
- return
- if(!( get_dir(on_wall,user) in GLOB.cardinal))
- to_chat(user, "You need to be standing next to a wall to place \the [src]. ")
- return
+ return FALSE
+ if(!proximity_flag) //if we aren't next to the turf
+ return FALSE
+
+ if(!allow_floor_mounting)
+ if(!(get_dir(on_wall, user) in GLOB.cardinal))
+ to_chat(user, "You need to be standing next to [on_wall] to place [src]. ")
+ return FALSE
- if(gotwallitem(get_turf(user), get_dir(on_wall,user)))
- to_chat(user, "There's already an item on this wall! ")
- return
+ if(gotwallitem(get_turf(user), get_dir(user, on_wall)))
+ to_chat(user, "There's already an item on this wall! ")
+ return FALSE
- return 1
+ return TRUE
/obj/item/mounted/proc/do_build(turf/on_wall, mob/user) //the buildy bit after we pass the checks
return
diff --git a/code/game/objects/items/robot/robot_upgrades.dm b/code/game/objects/items/robot/robot_upgrades.dm
index 777564380bfe..75748a9dc986 100644
--- a/code/game/objects/items/robot/robot_upgrades.dm
+++ b/code/game/objects/items/robot/robot_upgrades.dm
@@ -17,6 +17,10 @@
var/list/items_to_add = list()
/// A list of replacement items will need to be placed into a cyborg module's `special_rechargable` list after this upgrade is installed.
var/list/special_rechargables = list()
+ /// Allow the same upgrade to be installed multiple times, FALSE by default
+ var/allow_duplicate = FALSE
+ /// Delete the module after installing it. For deleting upgrades that might be installed multiple times, like the rename/reset upgrades.
+ var/delete_after_install = FALSE
/**
* Called when someone clicks on a borg with an upgrade in their hand.
@@ -24,12 +28,19 @@
* Arguments:
* * R - the cyborg that was clicked on with an upgrade.
*/
-/obj/item/borg/upgrade/proc/action(mob/living/silicon/robot/R)
- if(!pre_install_checks(R))
+/obj/item/borg/upgrade/proc/action(mob/user, mob/living/silicon/robot/R)
+ if(!pre_install_checks(user, R))
return
+ if(!user.drop_item())
+ to_chat(user, "\The [src] is stuck to your hand, you cannot install it in [R] ")
+ return FALSE
if(!do_install(R))
return
after_install(R)
+ if(delete_after_install)
+ qdel(src)
+ else
+ forceMove(R)
return TRUE
/**
@@ -38,13 +49,17 @@
* Arguments:
* * R - the cyborg that was clicked on with an upgrade.
*/
-/obj/item/borg/upgrade/proc/pre_install_checks(mob/living/silicon/robot/R)
+/obj/item/borg/upgrade/proc/pre_install_checks(mob/user, mob/living/silicon/robot/R)
if(R.stat == DEAD)
- to_chat(usr, "[src] will not function on a deceased cyborg. ")
+ to_chat(user, "[src] will not function on a deceased cyborg. ")
return
if(module_type && !istype(R.module, module_type))
- to_chat(R, "Upgrade mounting error! No suitable hardpoint detected! ")
- to_chat(usr, "There's no mounting point for the module! ")
+ to_chat(R, "Upgrade mounting error! No suitable hardpoint detected! ")
+ to_chat(user, "There's no mounting point for the module! ")
+ return
+ var/obj/item/borg/upgrade/u = locate(type) in R
+ if(u && !allow_duplicate)
+ to_chat(user, "This unit already has [src] installed! ")
return
return TRUE
@@ -89,6 +104,7 @@
desc = "Used to reset a cyborg's module. Destroys any other upgrades applied to the cyborg."
icon_state = "cyborg_upgrade1"
require_module = TRUE
+ delete_after_install = TRUE
/obj/item/borg/upgrade/reset/do_install(mob/living/silicon/robot/R)
R.reset_module()
@@ -101,6 +117,7 @@
name = "cyborg reclassification board"
desc = "Used to rename a cyborg."
icon_state = "cyborg_upgrade1"
+ delete_after_install = TRUE
var/heldname = "default name"
/obj/item/borg/upgrade/rename/attack_self(mob/user)
@@ -125,6 +142,7 @@
name = "cyborg emergency reboot module"
desc = "Used to force a reboot of a disabled-but-repaired cyborg, bringing it back online."
icon_state = "cyborg_upgrade1"
+ delete_after_install = TRUE
/obj/item/borg/upgrade/restart/do_install(mob/living/silicon/robot/R)
if(R.health < 0)
@@ -150,10 +168,6 @@
origin_tech = "engineering=4;powerstorage=4"
/obj/item/borg/upgrade/thrusters/do_install(mob/living/silicon/robot/R)
- if(R.ionpulse)
- to_chat(usr, "This unit already has ion thrusters installed! ")
- return
-
R.ionpulse = TRUE
return TRUE
@@ -170,11 +184,6 @@
var/mob/living/silicon/robot/cyborg
/obj/item/borg/upgrade/selfrepair/do_install(mob/living/silicon/robot/R)
- var/obj/item/borg/upgrade/selfrepair/U = locate() in R
- if(U)
- to_chat(usr, "This unit is already equipped with a self-repair module. ")
- return
-
cyborg = R
icon_state = "selfrepair_off"
var/datum/action/A = new /datum/action/item_action/toggle(src)
@@ -259,11 +268,6 @@
origin_tech = "engineering=4;materials=5;programming=4"
/obj/item/borg/upgrade/vtec/do_install(mob/living/silicon/robot/R)
- for(var/obj/item/borg/upgrade/vtec/U in R.contents)
- to_chat(R, "A VTEC unit is already installed! ")
- to_chat(usr, "There's no room for another VTEC unit! ")
- return
-
R.slowdown_cap = 3.5
return TRUE
@@ -376,10 +380,6 @@
var/mob/living/silicon/robot/cyborg
/obj/item/borg/upgrade/floorbuffer/do_install(mob/living/silicon/robot/R)
- for(var/obj/item/borg/upgrade/floorbuffer/U in R)
- to_chat(R, "A floor buffer unit is already installed! ")
- to_chat(usr, "There's no room for another floor buffer unit! ")
- return
cyborg = R
var/datum/action/A = new /datum/action/item_action/floor_buffer(src)
A.Grant(R)
diff --git a/code/game/objects/items/salvage.dm b/code/game/objects/items/salvage.dm
index 67152ab26597..a4903a6cb2ac 100644
--- a/code/game/objects/items/salvage.dm
+++ b/code/game/objects/items/salvage.dm
@@ -27,7 +27,7 @@
icon_state = "barrel"
color = "#7e5c00" // So that it's slightly different from normal kegs
-/obj/item/salvage/ruin/russian
+/obj/item/salvage/ruin/soviet
name = "armaments cache"
desc = "A crate of old disused Belastrav ballistic firearms that have been weathered into uselessness. They still may be of value to collectors, however."
icon_state = "weapon_crate"
@@ -85,7 +85,7 @@
pickup_sound = 'sound/items/handling/taperecorder_pickup.ogg'
drop_sound = 'sound/items/handling/taperecorder_drop.ogg'
-/obj/item/salvage/loot/russian
+/obj/item/salvage/loot/soviet
name = "\improper Cygni manifesto"
desc = "A small book, written in Neo-Russkyia, detailing the manifesto of Malfoy Ames, father of The Cygni Rebellion. Banned in Federation space, it may fetch a decent price on the black market."
icon_state = "ussp_manual"
diff --git a/code/game/objects/items/stacks/sheets/sheet_types.dm b/code/game/objects/items/stacks/sheets/sheet_types.dm
index def83cd1a56f..9510c01b0336 100644
--- a/code/game/objects/items/stacks/sheets/sheet_types.dm
+++ b/code/game/objects/items/stacks/sheets/sheet_types.dm
@@ -81,6 +81,8 @@ GLOBAL_LIST_INIT(metal_recipes, list(
new /datum/stack_recipe("firelock frame", /obj/structure/firelock_frame, 3, time = 5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("meatspike frame", /obj/structure/kitchenspike_frame, 5, time = 5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
new /datum/stack_recipe("reflector frame", /obj/structure/reflector, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
+ new /datum/stack_recipe("storage shelf", /obj/structure/shelf, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
+ new /datum/stack_recipe("gun rack", /obj/structure/gunrack, 5, time = 2.5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
null,
new /datum/stack_recipe_list("airlock assemblies", list(
new /datum/stack_recipe("standard airlock assembly", /obj/structure/door_assembly, 4, time = 5 SECONDS, one_per_turf = TRUE, on_floor = TRUE),
@@ -110,6 +112,7 @@ GLOBAL_LIST_INIT(metal_recipes, list(
new /datum/stack_recipe("grenade casing", /obj/item/grenade/chem_grenade),
new /datum/stack_recipe("light fixture frame", /obj/item/mounted/frame/light_fixture, 2),
new /datum/stack_recipe("small light fixture frame", /obj/item/mounted/frame/light_fixture/small, 1),
+ new /datum/stack_recipe("floor light fixture frame", /obj/item/mounted/frame/light_fixture/floor, 3),
null,
new /datum/stack_recipe("apc frame", /obj/item/mounted/frame/apc_frame, 2),
new /datum/stack_recipe("air alarm frame", /obj/item/mounted/frame/alarm_frame, 2),
diff --git a/code/game/objects/items/stacks/tiles/tile_types.dm b/code/game/objects/items/stacks/tiles/tile_types.dm
index b92eab964a2a..da72b17dade1 100644
--- a/code/game/objects/items/stacks/tiles/tile_types.dm
+++ b/code/game/objects/items/stacks/tiles/tile_types.dm
@@ -335,6 +335,7 @@
mineralType = "metal"
armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, RAD = 0, FIRE = 100, ACID = 70)
resistance_flags = FIRE_PROOF
+ merge_type = /obj/item/stack/tile/catwalk
/obj/item/stack/tile/catwalk/cyborg
energy_type = /datum/robot_storage/energy/catwalk
diff --git a/code/game/objects/items/tools/wirecutters.dm b/code/game/objects/items/tools/wirecutters.dm
index eaa00d8e6388..cd68290806c2 100644
--- a/code/game/objects/items/tools/wirecutters.dm
+++ b/code/game/objects/items/tools/wirecutters.dm
@@ -36,7 +36,7 @@
user.visible_message("[user] cuts [C]'s restraints with [src]! ")
QDEL_NULL(C.handcuffed)
if(C.buckled && C.buckled.buckle_requires_restraints)
- C.buckled.unbuckle_mob(C)
+ C.unbuckle()
C.update_handcuffed()
return
else
diff --git a/code/game/objects/items/tools/wrench.dm b/code/game/objects/items/tools/wrench.dm
index d921a5a4cd42..fc90779a97a4 100644
--- a/code/game/objects/items/tools/wrench.dm
+++ b/code/game/objects/items/tools/wrench.dm
@@ -88,6 +88,7 @@
throwforce = 4
origin_tech = "materials=1;engineering=1;biotech=3"
attack_verb = list("wrenched", "medicaled", "tapped", "jabbed", "whacked")
+ toolspeed = 0.75
/obj/item/wrench/medical/suicide_act(mob/living/user)
user.visible_message("[user] is praying to the medical wrench to take [user.p_their()] soul. It looks like [user.p_theyre()] trying to commit suicide! ")
diff --git a/code/game/objects/items/weapons/chemical_flamethrower/chemical_flamethrower.dm b/code/game/objects/items/weapons/chemical_flamethrower/chemical_flamethrower.dm
index a2e480d1e591..9ec74e6b2f2d 100644
--- a/code/game/objects/items/weapons/chemical_flamethrower/chemical_flamethrower.dm
+++ b/code/game/objects/items/weapons/chemical_flamethrower/chemical_flamethrower.dm
@@ -30,7 +30,7 @@
/// How many firestacks will our reagent apply
var/canister_fire_applications = 1
/// How much ammo do we use per tile?
- var/ammo_usage = 2
+ var/ammo_usage = 1
/// Is this a syndicate flamethrower
var/syndicate = FALSE
diff --git a/code/game/objects/items/weapons/grenades/chem_grenade.dm b/code/game/objects/items/weapons/grenades/chem_grenade.dm
index 06daebbcfeff..4b67c9867856 100644
--- a/code/game/objects/items/weapons/grenades/chem_grenade.dm
+++ b/code/game/objects/items/weapons/grenades/chem_grenade.dm
@@ -519,6 +519,8 @@
payload_name = "cleaner"
desc = "BLAM!-brand foaming space cleaner. In a special applicator for rapid cleaning of wide areas."
stage = READY
+ /// The chemical used to clean things
+ var/cleaning_chem = "cleaner"
/obj/item/grenade/chem_grenade/cleaner/Initialize(mapload)
. = ..()
@@ -526,13 +528,28 @@
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
B1.reagents.add_reagent("fluorosurfactant", 40)
- B2.reagents.add_reagent("cleaner", 10)
+ B2.reagents.add_reagent(cleaning_chem, 10)
B2.reagents.add_reagent("water", 40) //when you make pre-designed foam reactions that carry the reagents, always add water last
beakers += B1
beakers += B2
update_icon(UPDATE_ICON_STATE)
+/obj/item/grenade/chem_grenade/cleaner/everything
+ payload_name = "melter"
+ desc = "Inside of this grenade are black-market Syndicate nanites that consume everything they come in cross with. Organs, clothes, consoles, people. Nothing is safe. Now with a new foaming applicator!"
+ cleaning_chem = "admincleaner_all"
+
+/obj/item/grenade/chem_grenade/cleaner/object
+ payload_name = "object dissolving"
+ desc = "Inside of this grenade are black-market Syndicate nanites that curiously only consume objects, leaving living creatures and larger machinery alone. Now with a new foaming applicator!"
+ cleaning_chem = "admincleaner_item"
+
+/obj/item/grenade/chem_grenade/cleaner/organic
+ payload_name = "organic dissolving"
+ desc = "Inside of this grenade are black-market Syndicate nanites that have an appetite for living creatures and their organs, be they silicon or organic, dead or alive. Now with a new foaming applicator!"
+ cleaning_chem = "admincleaner_mob"
+
/obj/item/grenade/chem_grenade/teargas
payload_name = "teargas"
diff --git a/code/game/objects/items/weapons/grenades/clusterbuster.dm b/code/game/objects/items/weapons/grenades/clusterbuster.dm
index 32922e07aff9..054f3f97b7a7 100644
--- a/code/game/objects/items/weapons/grenades/clusterbuster.dm
+++ b/code/game/objects/items/weapons/grenades/clusterbuster.dm
@@ -254,3 +254,14 @@
desc = "Proving once and for all that the maximum bomb explosion radius is just a suggestion."
payload = /obj/item/grenade/clusterbuster/syndieminibomb
+/obj/item/grenade/clusterbuster/admincleaner
+ desc = "For cleaning really big messes."
+ payload = /obj/item/grenade/chem_grenade/cleaner/everything
+
+/obj/item/grenade/clusterbuster/admincleaner/organic
+ desc = "For cleaning remnants of many, many crime scenes."
+ payload = /obj/item/grenade/chem_grenade/cleaner/organic
+
+/obj/item/grenade/clusterbuster/admincleaner/object
+ desc = "For cleaning up after a typical Nanotrasen office party."
+ payload = /obj/item/grenade/chem_grenade/cleaner/object
diff --git a/code/game/objects/items/weapons/grenades/grenade.dm b/code/game/objects/items/weapons/grenades/grenade.dm
index b2e0fee35fdd..212088822e73 100644
--- a/code/game/objects/items/weapons/grenades/grenade.dm
+++ b/code/game/objects/items/weapons/grenades/grenade.dm
@@ -29,7 +29,7 @@
. += "The fuze is set to [det_time / 10] second\s. "
else
. += "[src] is set for instant detonation. "
-
+
if(modifiable_timer)
. += "Use a screwdriver to modify the time on the fuze. "
else
@@ -125,8 +125,4 @@
if(!HAS_TRAIT(src, TRAIT_CMAGGED))
return
REMOVE_TRAIT(src, TRAIT_CMAGGED, "cmagged grenade")
- var/datum/component/bomberang = GetComponent(/datum/component/boomerang)
- if(!bomberang)
- return
- bomberang.RemoveComponent()
- qdel(bomberang)
+ DeleteComponent(/datum/component/boomerang)
diff --git a/code/game/objects/items/weapons/melee/energy_melee_weapons.dm b/code/game/objects/items/weapons/melee/energy_melee_weapons.dm
index 96893ff65c9e..9aeedf0b9d83 100644
--- a/code/game/objects/items/weapons/melee/energy_melee_weapons.dm
+++ b/code/game/objects/items/weapons/melee/energy_melee_weapons.dm
@@ -346,12 +346,17 @@
//////////////////////////////
/obj/item/melee/energy/sword/pirate
name = "energy cutlass"
- desc = "Arrrr matey."
+ desc = "A crude copy of syndicate technology. Favored among space pirates for its small form factor while inactive. Arrrr, matey!"
force_on = 20
+ throwforce_on = 10 // No PvP shenanigans, this is main weapon in PvE explorer gameplay and can be obtained very easy
+ embed_chance = 45
+ embedded_impact_pain_multiplier = 4
+ armour_penetration_percentage = 0
+ armour_penetration_flat = 0
icon_state = "cutlass0"
icon_state_on = "cutlass1"
light_color = LIGHT_COLOR_RED
- origin_tech = "combat=3;magnets=4;syndicate=2"
+ origin_tech = "combat=3;magnets=4"
//////////////////////////////
// MARK: HARDLIGHT BLADE
diff --git a/code/game/objects/items/weapons/melee/melee_misc.dm b/code/game/objects/items/weapons/melee/melee_misc.dm
index 6e03cbd66531..c374a870e6b2 100644
--- a/code/game/objects/items/weapons/melee/melee_misc.dm
+++ b/code/game/objects/items/weapons/melee/melee_misc.dm
@@ -39,6 +39,9 @@
hitsound = 'sound/weapons/rapierhit.ogg'
materials = list(MAT_METAL = 1000)
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF // Theft targets should be hard to destroy
+ // values for slapping
+ var/slap_sound = 'sound/effects/woodhit.ogg'
+ COOLDOWN_DECLARE(slap_cooldown)
/obj/item/melee/saber/examine(mob/user)
. = ..()
@@ -58,6 +61,34 @@
AddComponent(/datum/component/parry, _stamina_constant = 2, _stamina_coefficient = 0.5, _parryable_attack_types = NON_PROJECTILE_ATTACKS)
RegisterSignal(src, COMSIG_PARENT_QDELETING, PROC_REF(alert_admins_on_destroy))
+/obj/item/melee/saber/attack(mob/living/target, mob/living/user)
+ if(user.a_intent != INTENT_HELP || !ishuman(target))
+ return ..()
+ if(!COOLDOWN_FINISHED(src, slap_cooldown))
+ return
+ var/mob/living/carbon/human/H = target
+ if(HAS_TRAIT(user, TRAIT_CLUMSY) && prob(50))
+ user.visible_message("[user] accidentally slaps [user.p_themselves()] with [src]! ", \
+ "You accidentally slap yourself with [src]! ")
+ slap(user, user)
+ else
+ user.visible_message("[user] slaps [H] with the flat of the blade! ", \
+ "You slap [H] with the flat of the blade! ")
+ slap(target, user)
+
+/obj/item/melee/saber/proc/slap(mob/living/carbon/human/target, mob/living/user)
+ user.do_attack_animation(target, ATTACK_EFFECT_DISARM)
+ playsound(loc, slap_sound, 50, TRUE, -1)
+ target.AdjustConfused(4 SECONDS, 0, 4 SECONDS)
+ target.apply_damage(10, STAMINA)
+ add_attack_logs(user, target, "Slapped by [src]", ATKLOG_ALL)
+ COOLDOWN_START(src, slap_cooldown, 4 SECONDS)
+
+/obj/item/melee/saber/suicide_act(mob/user)
+ user.visible_message(pick("[user] is slitting [user.p_their()] stomach open with [src]! It looks like [user.p_theyre()] trying to commit seppuku! ", \
+ "[user] is falling on [src]! It looks like [user.p_theyre()] trying to commit suicide! "))
+ return BRUTELOSS
+
// Traitor Sword
/obj/item/melee/snakesfang
name = "snakesfang"
diff --git a/code/game/objects/items/weapons/powerfist.dm b/code/game/objects/items/weapons/powerfist.dm
index 8151e7fd1c0a..33c96483d5b7 100644
--- a/code/game/objects/items/weapons/powerfist.dm
+++ b/code/game/objects/items/weapons/powerfist.dm
@@ -14,8 +14,9 @@
origin_tech = "combat=5;powerstorage=3;syndicate=3"
var/click_delay = 1.5
var/fisto_setting = 1
- ///base pressure in kpa used by the powerfist per hit
+ /// Base pressure in kpa used by the powerfist per hit
var/gasperfist = 17.5
+
var/obj/item/tank/internals/tank = null //Tank used for the gauntlet's piston-ram.
/obj/item/melee/powerfist/Destroy()
@@ -93,7 +94,7 @@
if(!tank)
to_chat(user, "[src] can't operate without a source of gas! ")
return
- if(tank && !tank.air_contents.boolean_remove(((gasperfist * fisto_setting) * tank.air_contents.return_volume()) / (R_IDEAL_GAS_EQUATION * tank.air_contents.temperature())))
+ if(!use_air())
to_chat(user, "[src]'s piston-ram lets out a weak hiss, it needs more gas! ")
playsound(loc, 'sound/effects/refill.ogg', 50, 1)
return
@@ -114,3 +115,18 @@
add_attack_logs(user, target, "POWER FISTED with [src]")
user.changeNext_move(CLICK_CD_MELEE * click_delay)
+
+/obj/item/melee/powerfist/proc/use_air()
+ if(!tank)
+ return FALSE
+
+ var/amount_to_remove = gasperfist * fisto_setting
+ var/pressure_in_tank = tank.air_contents.return_pressure()
+
+ // So this check is here to see if the amount of pressure currently in the tank is higher than 10 atmospheres
+ // If it is higher, we instead take 10% out of the tank so it'll deplete a lot faster, but is still a bit more ammo
+ if(pressure_in_tank > (ONE_ATMOSPHERE * 10))
+ amount_to_remove = 0.1 * pressure_in_tank
+
+ var/moles_to_remove = (amount_to_remove * tank.air_contents.volume) / (R_IDEAL_GAS_EQUATION * tank.air_contents.temperature())
+ return tank.air_contents.boolean_remove(moles_to_remove)
diff --git a/code/game/objects/items/weapons/scrolls.dm b/code/game/objects/items/weapons/scrolls.dm
index a66919d4e775..4da6b3284ac0 100644
--- a/code/game/objects/items/weapons/scrolls.dm
+++ b/code/game/objects/items/weapons/scrolls.dm
@@ -21,7 +21,7 @@
. += "Number of uses: [uses]. This scroll will vanish after the final use. "
. += "P.S. Don't forget to bring your gear, you'll need it to cast most spells. "
-/obj/item/teleportation_scroll/attack_self(mob/user)
+/obj/item/teleportation_scroll/attack_self(mob/living/user)
if(!uses) //somehow?
to_chat(user, "You attempt to read the scroll but it disintegrates in your hand, it appears that is has run out of charges! ")
qdel(src)
@@ -59,7 +59,7 @@
return
if(user && user.buckled)
- user.buckled.unbuckle_mob(user, force = TRUE)
+ user.unbuckle(force = TRUE)
if(user?.has_buckled_mobs())
user.unbuckle_all_mobs(force = TRUE)
diff --git a/code/game/objects/items/weapons/storage/backpack.dm b/code/game/objects/items/weapons/storage/backpack.dm
index 6ec53ab55e5f..8e5496d61cf1 100644
--- a/code/game/objects/items/weapons/storage/backpack.dm
+++ b/code/game/objects/items/weapons/storage/backpack.dm
@@ -805,6 +805,7 @@
desc = "Stimulate your senses."
list_reagents = list("nutriment" = 5, "stimulants" = 25)
bitesize = 100
+ goal_difficulty = FOOD_GOAL_SKIP
/obj/item/food/plum_pie
name = "perfect plum pie"
diff --git a/code/game/objects/items/weapons/storage/belt.dm b/code/game/objects/items/weapons/storage/belt.dm
index 1c1f589b1978..bfb2ad7f8690 100644
--- a/code/game/objects/items/weapons/storage/belt.dm
+++ b/code/game/objects/items/weapons/storage/belt.dm
@@ -107,7 +107,9 @@
/obj/item/extinguisher/mini,
/obj/item/holosign_creator,
/obj/item/stack/nanopaste,
- /obj/item/robotanalyzer)
+ /obj/item/robotanalyzer,
+ /obj/item/rpd/bluespace
+ )
/obj/item/storage/belt/utility/full/populate_contents()
new /obj/item/screwdriver(src)
@@ -182,6 +184,11 @@
new /obj/item/stack/cable_coil(src, 30, COLOR_BLUE)
update_icon()
+/obj/item/storage/belt/utility/expedition/vendor
+
+/obj/item/storage/belt/utility/expedition/vendor/populate_contents()
+ return // only cool-looking belt, nothing more
+
/obj/item/storage/belt/medical
name = "medical belt"
desc = "Can hold various medical equipment."
@@ -292,6 +299,7 @@
max_w_class = WEIGHT_CLASS_NORMAL
use_item_overlays = TRUE
can_hold = list(
+ /obj/item/radio,
/obj/item/grenade/flashbang,
/obj/item/grenade/chem_grenade/teargas,
/obj/item/reagent_containers/spray/pepper,
@@ -342,29 +350,9 @@
icon_state = "securitywebbing"
item_state = "securitywebbing"
storage_slots = 6
+ max_combined_w_class = 15
use_item_overlays = FALSE
layer_over_suit = TRUE
- can_hold = list(
- /obj/item/grenade/flashbang,
- /obj/item/grenade/chem_grenade/teargas,
- /obj/item/reagent_containers/spray/pepper,
- /obj/item/restraints/handcuffs,
- /obj/item/flash,
- /obj/item/clothing/glasses,
- /obj/item/ammo_casing/shotgun,
- /obj/item/ammo_box,
- /obj/item/food/donut,
- /obj/item/kitchen/knife/combat,
- /obj/item/melee/baton,
- /obj/item/melee/classic_baton,
- /obj/item/flashlight/seclite,
- /obj/item/holosign_creator/security,
- /obj/item/melee/classic_baton/telescopic,
- /obj/item/restraints/legcuffs/bola,
- /obj/item/clothing/mask/gas/sechailer,
- /obj/item/detective_scanner,
- /obj/item/ammo_box/magazine/wt550m9
- )
/obj/item/storage/belt/soulstone
name = "soul stone belt"
@@ -409,7 +397,8 @@
/obj/item/weldingtool,
/obj/item/wirecutters,
/obj/item/wrench,
- /obj/item/multitool
+ /obj/item/multitool,
+ /obj/item/rpd/bluespace
)
/obj/item/storage/belt/military/sst
@@ -482,6 +471,24 @@
icon_state = "assaultbelt"
item_state = "assault"
storage_slots = 6
+ w_class_override = list(
+ /obj/item/crowbar,
+ /obj/item/screwdriver,
+ /obj/item/weldingtool,
+ /obj/item/wirecutters,
+ /obj/item/wrench,
+ /obj/item/multitool,
+ /obj/item/ammo_box,
+ /obj/item/melee/baton,
+ /obj/item/melee/classic_baton,
+ /obj/item/detective_scanner
+ )
+
+/obj/item/storage/belt/military/assault/attackby(obj/item/I, mob/user)
+ if(I.w_class > WEIGHT_CLASS_NORMAL)
+ to_chat(user, "[I] is too big for [src]. ")
+ return
+ return ..()
/obj/item/storage/belt/military/assault/marines/full/populate_contents()
new /obj/item/ammo_box/magazine/m12g(src)
diff --git a/code/game/objects/items/weapons/storage/fancy.dm b/code/game/objects/items/weapons/storage/fancy.dm
index 49f940b18350..4d81698c757c 100644
--- a/code/game/objects/items/weapons/storage/fancy.dm
+++ b/code/game/objects/items/weapons/storage/fancy.dm
@@ -103,8 +103,9 @@
throwforce = 2
slot_flags = SLOT_FLAG_BELT
-/obj/item/storage/fancy/candle_box/full
- icon_state = "candlebox5"
+/obj/item/storage/fancy/candle_box/Initialize(mapload)
+ . = ..()
+ update_icon(UPDATE_ICON_STATE)
/obj/item/storage/fancy/candle_box/full/populate_contents()
for(var/I in 1 to storage_slots)
diff --git a/code/game/objects/items/weapons/storage/storage_base.dm b/code/game/objects/items/weapons/storage/storage_base.dm
index 9ae621d46932..0789f3ff9dfe 100644
--- a/code/game/objects/items/weapons/storage/storage_base.dm
+++ b/code/game/objects/items/weapons/storage/storage_base.dm
@@ -464,7 +464,8 @@
if(observer.client && observer.s_active != src)
observer.client.screen -= I
I.dropped(user, TRUE)
- add_fingerprint(user)
+ if(user)
+ add_fingerprint(user)
if(!prevent_warning)
// all mobs with clients attached, sans the item's user
@@ -481,10 +482,10 @@
// restrict player list to include only those in view
for(var/mob/M in oviewers(7, user))
M.show_message("[user] puts [I] into [src]. ")
-
orient2hud(user)
- if(user.s_active)
- user.s_active.show_to(user)
+ if(user)
+ if(user.s_active)
+ user.s_active.show_to(user)
I.mouse_opacity = MOUSE_OPACITY_OPAQUE //So you can click on the area around the item to equip it, instead of having to pixel hunt
I.in_inventory = TRUE
diff --git a/code/game/objects/items/weapons/thurible.dm b/code/game/objects/items/weapons/thurible.dm
new file mode 100644
index 000000000000..bf1feabf93d5
--- /dev/null
+++ b/code/game/objects/items/weapons/thurible.dm
@@ -0,0 +1,174 @@
+/obj/item/thurible
+ name = "thurible"
+ desc = "A religious artifact used to burn and spread incense when swung from the attached chain."
+ icon = 'icons/obj/weapons/magical_weapons.dmi'
+ lefthand_file = 'icons/mob/inhands/religion_lefthand.dmi'
+ righthand_file = 'icons/mob/inhands/religion_righthand.dmi'
+ icon_state = "thurible"
+ item_state = "thurible"
+ force = 10
+ throwforce = 7
+ w_class = WEIGHT_CLASS_NORMAL
+ flags = CONDUCT
+ container_type = REFILLABLE
+ /// Whether or not the thurible can be loaded with harmful chems
+ var/corrupted = FALSE
+ /// Has the thurible been ignited?
+ var/lit = FALSE
+ /// List of chemicals considered safe for the thurible
+ var/static/list/safe_chem_list = list("antihol", "charcoal", "epinephrine", "insulin", "teporone", "salbutamol", "omnizine",
+ "weak_omnizine", "godblood", "potass_iodide", "oculine", "mannitol", "spaceacillin", "salglu_solution",
+ "sal_acid", "cryoxadone", "sugar", "hydrocodone", "mitocholide", "rezadone", "menthol",
+ "mutadone", "sanguine_reagent", "iron", "ephedrine", "heparin", "corazone", "sodiumchloride",
+ "lavaland_extract", "synaptizine", "bicaridine", "kelotane", "water", "holywater", "lsd", "thc", "happiness",
+ "cbd", "space_drugs", "nicotine", "jestosterone", "nothing")
+ /// How many reagents are consumed with each swing?
+ var/swing_reagents_consumed = 2
+
+/obj/item/thurible/Initialize(mapload)
+ . = ..()
+ create_reagents(50)
+ reagents.set_reacting(FALSE)
+
+/obj/item/thurible/Destroy()
+ STOP_PROCESSING(SSobj, src)
+ QDEL_NULL(reagents)
+ return ..()
+
+/obj/item/thurible/examine(mob/user)
+ . = ..()
+ . += "[src] can hold up to [reagents.maximum_volume] units. "
+ . += "Contains [reagents.total_volume] units of various reagents. "
+
+/obj/item/thurible/process()
+ swing()
+
+/obj/item/thurible/update_appearance()
+ if(lit)
+ icon_state = "thurible-lit"
+ item_state = "thurible-lit"
+ else
+ icon_state = "thurible"
+ item_state = "thurible"
+ if(ishuman(loc))
+ var/mob/living/carbon/human/H = loc
+ if(H.r_hand == src || H.l_hand == src)
+ H.update_inv_l_hand()
+ H.update_inv_r_hand()
+ return ..()
+
+/obj/item/thurible/attackby(obj/item/fire_source, mob/user, params)
+ . = ..()
+ if(fire_source.get_heat())
+ user.visible_message(
+ "[user] lights [src] with [fire_source]. ",
+ "You light [src] with [fire_source]. ",
+ "You hear a low whoosh. "
+ )
+ light(user)
+
+/obj/item/thurible/attack_self(mob/user)
+ if(lit)
+ to_chat(user, "You extinguish [src]. ")
+ put_out(user)
+ return ..()
+
+/obj/item/thurible/can_enter_storage(obj/item/storage/S, mob/user)
+ if(lit)
+ to_chat(user, "[S] can't hold \the [initial(name)] while it's lit! ") // initial(name) so it doesn't say "lit" twice in a row
+ return FALSE
+ return TRUE
+
+/obj/item/thurible/fire_act(datum/gas_mixture/air, exposed_temperature, exposed_volume, global_overlay = TRUE)
+ . = ..()
+ light()
+
+/obj/item/thurible/on_reagent_change()
+ . = ..()
+ if(corrupted)
+ return
+ var/found_forbidden_reagent = FALSE
+ for(var/datum/reagent/R as anything in reagents.reagent_list)
+ if(R.id == "unholywater")
+ corrupted = TRUE
+ visible_message(
+ "You corrupt [src] with unholy water! ",
+ "You hear a strange gurgling. "
+ )
+ return
+ if(!safe_chem_list.Find(R.id))
+ reagents.del_reagent(R.id)
+ found_forbidden_reagent = TRUE
+ if(found_forbidden_reagent)
+ visible_message(
+ "[src] banishes an unholy substance! ",
+ "You hear a strange fizzing. "
+ )
+
+/// Lights the thurible and starts processing reagents
+/obj/item/thurible/proc/light(mob/user)
+ if(lit)
+ to_chat(user, "[src] is already lit! ")
+ return
+
+ if(!reagents.total_volume)
+ to_chat(user, "[src] is out of fuel! ")
+ return
+
+ // Plasma explodes when exposed to fire.
+ if(reagents.get_reagent_amount("plasma"))
+ var/datum/effect_system/reagents_explosion/E = new()
+ E.set_up(round(reagents.get_reagent_amount("plasma") / 2.5, 1), get_turf(src), 0, 0)
+ E.start()
+ return
+
+ // Fuel explodes, too, but much less violently.
+ if(reagents.get_reagent_amount("fuel"))
+ var/datum/effect_system/reagents_explosion/E = new()
+ E.set_up(round(reagents.get_reagent_amount("fuel") / 5, 1), get_turf(src), 0, 0)
+ E.start()
+ return
+
+ // And black powder... but more violently.
+ if(reagents.get_reagent_amount("blackpowder"))
+ var/datum/effect_system/reagents_explosion/E = new()
+ E.set_up(round(reagents.get_reagent_amount("blackpowder") / 2, 1), get_turf(src), 0, 0)
+ E.start()
+ return
+
+ lit = TRUE
+ reagents.set_reacting(TRUE)
+ reagents.handle_reactions()
+ START_PROCESSING(SSobj, src)
+ set_light(2, 0.3, "#E38F46")
+ update_appearance()
+ return TRUE
+
+/// Extinguishes the thurible and stops processing
+/obj/item/thurible/proc/put_out(mob/user)
+ lit = FALSE
+ STOP_PROCESSING(SSobj, src)
+ set_light(0)
+ update_appearance()
+ return TRUE
+
+/// Spreads reagents in a 3x3 area centered on the thurible
+/obj/item/thurible/proc/swing()
+ var/obj/released_reagents = new
+ released_reagents.create_reagents(2)
+ reagents.trans_to(released_reagents, swing_reagents_consumed)
+ var/list/mobs_to_smoke = list()
+ for(var/atom/A in view(1, get_turf(src)))
+ released_reagents.reagents.reaction(A)
+ if(iscarbon(A))
+ var/mob/living/carbon/C = A
+ if(C.can_breathe_gas())
+ mobs_to_smoke += C
+
+ var/percentage_to_add = released_reagents.reagents.total_volume / length(mobs_to_smoke) // Divide the amount of reagents spread around by the number of people inhaling it
+
+ for(var/mob/living/carbon/smoker as anything in mobs_to_smoke)
+ released_reagents.reagents.copy_to(smoker, percentage_to_add)
+
+ if(reagents.total_volume <= 0)
+ put_out()
diff --git a/code/game/objects/structures/aliens.dm b/code/game/objects/structures/aliens.dm
index 41affd7a4fc4..80e9ae91f701 100644
--- a/code/game/objects/structures/aliens.dm
+++ b/code/game/objects/structures/aliens.dm
@@ -524,7 +524,8 @@
icon_state = "egg_hatched"
flick("egg_opening", src)
status = BURSTING
- qdel(GetComponent(/datum/component/proximity_monitor))
+ DeleteComponent(/datum/component/proximity_monitor)
+
addtimer(CALLBACK(src, PROC_REF(hatch)), 1.5 SECONDS)
///We now check HOW the hugger is hatching, kill carried from Burst() and obj_break()
diff --git a/code/game/objects/structures/crates_lockers/closets/gimmick.dm b/code/game/objects/structures/crates_lockers/closets/gimmick.dm
index dc3c521b27b3..c1188b9bc641 100644
--- a/code/game/objects/structures/crates_lockers/closets/gimmick.dm
+++ b/code/game/objects/structures/crates_lockers/closets/gimmick.dm
@@ -38,13 +38,13 @@
open_door_sprite = "syndicate1_door"
anchored = FALSE
-/obj/structure/closet/gimmick/russian
- name = "russian surplus closet"
- desc = "It's a storage unit for Russian standard-issue surplus."
+/obj/structure/closet/gimmick/soviet
+ name = "soviet surplus closet"
+ desc = "A storage unit for surplus USSP equipment."
icon_state = "syndicate1"
open_door_sprite = "syndicate1_door"
-/obj/structure/closet/gimmick/russian/populate_contents()
+/obj/structure/closet/gimmick/soviet/populate_contents()
new /obj/item/clothing/head/sovietsidecap(src)
new /obj/item/clothing/head/sovietsidecap(src)
new /obj/item/clothing/head/sovietsidecap(src)
diff --git a/code/game/objects/structures/crates_lockers/closets/secure/cargo_lockers.dm b/code/game/objects/structures/crates_lockers/closets/secure/cargo_lockers.dm
index 4c7538a47569..ba654e80ca55 100644
--- a/code/game/objects/structures/crates_lockers/closets/secure/cargo_lockers.dm
+++ b/code/game/objects/structures/crates_lockers/closets/secure/cargo_lockers.dm
@@ -22,6 +22,7 @@
/obj/structure/closet/secure_closet/explorer/populate_contents()
new /obj/item/radio/headset/headset_cargo/expedition(src)
new /obj/item/gun/energy/kinetic_accelerator/pistol(src)
+ new /obj/item/clothing/suit/hooded/explorer(src)
new /obj/item/storage/firstaid/regular(src)
new /obj/item/clothing/accessory/holster(src)
new /obj/item/beacon(src)
diff --git a/code/game/objects/structures/crates_lockers/closets/secure/chaplain.dm b/code/game/objects/structures/crates_lockers/closets/secure/chaplain.dm
index ba3921954fcf..ad59607aa3ad 100644
--- a/code/game/objects/structures/crates_lockers/closets/secure/chaplain.dm
+++ b/code/game/objects/structures/crates_lockers/closets/secure/chaplain.dm
@@ -12,3 +12,4 @@
new /obj/item/storage/fancy/candle_box/eternal(src)
new /obj/item/storage/fancy/candle_box/eternal(src)
new /obj/item/storage/fancy/candle_box/eternal(src)
+ new /obj/item/thurible(src)
diff --git a/code/game/objects/structures/lavaland/necropolis_tendril.dm b/code/game/objects/structures/lavaland/necropolis_tendril.dm
index ab26beb2cf56..4b05102f5731 100644
--- a/code/game/objects/structures/lavaland/necropolis_tendril.dm
+++ b/code/game/objects/structures/lavaland/necropolis_tendril.dm
@@ -88,7 +88,7 @@ GLOBAL_LIST_EMPTY(tendrils)
shake_camera(M, 15, 1)
playsound(get_turf(src),'sound/effects/explosionfar.ogg', 200, TRUE)
visible_message("The tendril falls inward, the ground around it widening into a yawning chasm! ")
- for(var/turf/T in range(2,src))
+ for(var/turf/T in range(LAVALAND_TENDRIL_COLLAPSE_RANGE, src))
if(!T.density)
T.TerraformTurf(/turf/simulated/floor/chasm/straight_down/lava_land_surface)
qdel(src)
diff --git a/code/game/objects/structures/safe.dm b/code/game/objects/structures/safe.dm
index aedb6c687651..fa06f02f4fd8 100644
--- a/code/game/objects/structures/safe.dm
+++ b/code/game/objects/structures/safe.dm
@@ -71,10 +71,16 @@ GLOBAL_LIST_EMPTY(safes)
// Combination generation
for(var/i in 1 to number_of_tumblers)
tumblers.Add(rand(0, 99))
+ if(mapload)
+ addtimer(CALLBACK(src, PROC_REF(take_contents)), 0)
+
+/obj/structure/safe/proc/take_contents()
// Put as many items on our turf inside as possible
for(var/obj/item/I in loc)
+ if(I.density || I.anchored)
+ continue
if(space >= maxspace)
- return
+ break
if(I.w_class + space <= maxspace)
space += I.w_class
I.forceMove(src)
@@ -339,14 +345,14 @@ GLOBAL_LIST_EMPTY(safes)
if(get_dist(src, driller) >= 9)
return //You need to be near the drill if you want to get the buff.
for(var/mob/living/carbon/human/H in view(9, src))
- if(H.job in list("Security Officer", "Detective", "Warden", "Head of Security", "Captain", "Clown") || H.mind.special_role == SPECIAL_ROLE_ERT)
+ if((H.job in list("Security Officer", "Detective", "Warden", "Head of Security", "Captain", "Clown")) || H.mind.special_role == SPECIAL_ROLE_ERT)
if(H.mind && H.mind.special_role && H.mind.special_role != SPECIAL_ROLE_ERT)
continue
drill.spotted = TRUE
security_assualt_in_progress()
return
for(var/mob/living/carbon/human/H in view(9, driller))
- if(H.job in list("Security Officer", "Detective", "Warden", "Head of Security", "Captain", "Clown") || H.mind.special_role == SPECIAL_ROLE_ERT)
+ if((H.job in list("Security Officer", "Detective", "Warden", "Head of Security", "Captain", "Clown")) || H.mind.special_role == SPECIAL_ROLE_ERT)
if(H.mind && H.mind.special_role && H.mind.special_role != SPECIAL_ROLE_ERT)
continue
drill.spotted = TRUE
diff --git a/code/game/objects/structures/shelves.dm b/code/game/objects/structures/shelves.dm
new file mode 100644
index 000000000000..71d8f84fd9dd
--- /dev/null
+++ b/code/game/objects/structures/shelves.dm
@@ -0,0 +1,139 @@
+GLOBAL_LIST_INIT(shelf_colors, list("basic", "sci", "sup", "serv", "med", "sec", "cmd", "engi"))
+
+/obj/structure/shelf
+ name = "shelf"
+ desc = "A piece of furniture used for vertical storage."
+ icon = 'icons/obj/structures/shelves.dmi'
+ icon_state = "shelf_basic"
+ layer = TABLE_LAYER
+ density = TRUE
+ anchored = TRUE
+ pass_flags_self = PASSTAKE
+ max_integrity = 80
+ /// The suffix of the icon state used for the shelf. Indexed into `GLOB.shelf_colors`.
+ var/shelf_style = "basic"
+ /// The current overlay of the top shelf. Used for interleaving objects and shelf layers for the illusion of depth.
+ var/image/shelf_overlay
+ COOLDOWN_DECLARE(spraypaint_cd)
+
+/obj/structure/shelf/Initialize(mapload)
+ . = ..()
+ var/area/A = get_area(src)
+ AddComponent(/datum/component/shelver/basic_shelf, random_pickup_locations_ = istype(A, /area/station/maintenance))
+ update_icon()
+ set_style(shelf_style)
+
+ if(mapload)
+ SEND_SIGNAL(src, COMSIG_SHELF_ADDED_ON_MAPLOAD)
+
+/obj/structure/shelf/attackby(obj/item/I, mob/living/user, params)
+ var/obj/item/toy/crayon/spraycan/spraycan = I
+ if(!istype(spraycan))
+ return ..()
+ if(spraycan.capped)
+ return ..()
+
+ if(!COOLDOWN_FINISHED(src, spraypaint_cd))
+ to_chat(user, "The paint on [src] is still drying! ")
+ return
+
+ var/cur_idx = GLOB.shelf_colors.Find(shelf_style)
+ if(!cur_idx)
+ cur_idx = 1
+ cur_idx++
+ if(cur_idx > length(GLOB.shelf_colors))
+ cur_idx = 1
+ set_style(GLOB.shelf_colors[cur_idx])
+ spraycan.play_spray_sound(user)
+
+ // Tiny cooldown to prevent constant spamming of the action
+ COOLDOWN_START(src, spraypaint_cd, 1 SECONDS)
+
+/obj/structure/shelf/proc/set_style(new_style)
+ if(shelf_style == new_style && !isnull(shelf_overlay))
+ return
+ shelf_style = new_style
+ icon_state = "shelf_[shelf_style]"
+ // Don't think I can get away with both icon smoothing across tiles
+ // and dealing with this overlay shit
+ shelf_overlay = mutable_appearance('icons/obj/structures/shelves.dmi', "shelf_[shelf_style]-top")
+ shelf_overlay.layer = LOW_ITEM_LAYER
+ update_appearance(UPDATE_OVERLAYS)
+
+/obj/structure/shelf/update_overlays()
+ return list(shelf_overlay)
+
+/obj/structure/shelf/wrench_act(mob/living/user, obj/item/I)
+ . = TRUE
+ if(user.a_intent == INTENT_HELP)
+ return FALSE
+ if(!I.use_tool(src, user, 2.5 SECONDS, volume = I.tool_volume))
+ return
+
+ to_chat(user, "You disassemble [src]. ")
+ deconstruct()
+
+/obj/structure/shelf/deconstruct(disassembled)
+ new /obj/item/stack/sheet/metal(get_turf(src), 5)
+ return ..()
+
+/obj/structure/shelf/engineering
+ icon_state = "shelf_engi"
+ shelf_style = "engi"
+
+/obj/structure/shelf/medbay
+ icon_state = "shelf_med"
+ shelf_style = "med"
+
+/obj/structure/shelf/security
+ icon_state = "shelf_sec"
+ shelf_style = "sec"
+
+/obj/structure/shelf/service
+ icon_state = "shelf_serv"
+ shelf_style = "serv"
+
+/obj/structure/shelf/science
+ icon_state = "shelf_sci"
+ shelf_style = "sci"
+
+/obj/structure/shelf/command
+ icon_state = "shelf_cmd"
+ shelf_style = "cmd"
+
+/obj/structure/shelf/supply
+ icon_state = "shelf_sup"
+ shelf_style = "sup"
+
+/obj/structure/gunrack
+ name = "gun rack"
+ desc = "A rack for stowing firearms."
+ icon = 'icons/obj/structures.dmi'
+ icon_state = "gunrack"
+ layer = TABLE_LAYER
+ density = TRUE
+ anchored = TRUE
+ pass_flags_self = PASSTAKE
+ max_integrity = 80
+
+/obj/structure/gunrack/Initialize(mapload)
+ . = ..()
+ var/static/list/gun_subtypes = subtypesof(/obj/item/gun)
+ AddComponent(/datum/component/shelver/gun_rack, allowed_types_ = gun_subtypes)
+
+ if(mapload)
+ SEND_SIGNAL(src, COMSIG_SHELF_ADDED_ON_MAPLOAD)
+
+/obj/structure/gunrack/wrench_act(mob/living/user, obj/item/I)
+ . = TRUE
+ if(user.a_intent == INTENT_HELP)
+ return FALSE
+ if(!I.use_tool(src, user, 2.5 SECONDS, volume = I.tool_volume))
+ return
+
+ to_chat(user, "You disassemble [src]. ")
+ deconstruct()
+
+/obj/structure/gunrack/deconstruct(disassembled)
+ new /obj/item/stack/sheet/metal(get_turf(src), 5)
+ return ..()
diff --git a/code/game/objects/structures/statues.dm b/code/game/objects/structures/statues.dm
index 3a0a16795376..14fa44bc785a 100644
--- a/code/game/objects/structures/statues.dm
+++ b/code/game/objects/structures/statues.dm
@@ -308,11 +308,11 @@
anchored = TRUE
oreAmount = 0
-/obj/structure/statue/russian_mulebot
+/obj/structure/statue/soviet_mulebot
name = "OXENbot"
- desc = "Like a MULEbot, but more Russian and less functional.";
- icon = 'icons/obj/aibots.dmi';
- icon_state = "mulebot0";
+ desc = "Like a MULEbot, but more socialist and less functional."
+ icon = 'icons/obj/aibots.dmi'
+ icon_state = "mulebot0"
anchored = TRUE
oreAmount = 10
diff --git a/code/game/turfs/simulated.dm b/code/game/turfs/simulated.dm
index a175af95f5a5..53cf6694f5e7 100644
--- a/code/game/turfs/simulated.dm
+++ b/code/game/turfs/simulated.dm
@@ -37,7 +37,7 @@
/turf/simulated/proc/burn_tile()
return
-/turf/simulated/cleaning_act(mob/user, atom/cleaner, cleanspeed = 50, text_verb = "clean", text_description = " with [cleaner].", text_targetname = name)
+/turf/simulated/cleaning_act(mob/user, atom/cleaner, cleanspeed = 50, text_verb = "clean", text_description = " with [cleaner].", text_targetname = name, skip_do_after = FALSE)
if(!..())
return
diff --git a/code/game/turfs/simulated/floor/asteroid_floors.dm b/code/game/turfs/simulated/floor/asteroid_floors.dm
index 44021a067a0d..e67c4a7c0f5e 100644
--- a/code/game/turfs/simulated/floor/asteroid_floors.dm
+++ b/code/game/turfs/simulated/floor/asteroid_floors.dm
@@ -1,7 +1,6 @@
/**********************Asteroid**************************/
-#define RECURSION_MAX 100
/turf/simulated/floor/plating/asteroid
gender = PLURAL
name = "asteroid sand"
@@ -186,168 +185,6 @@
nitrogen = 0
turf_type = /turf/simulated/floor/plating/asteroid/airless
-#define SPAWN_MEGAFAUNA "bluh bluh huge boss"
-#define SPAWN_BUBBLEGUM 6
-
-GLOBAL_LIST_INIT(megafauna_spawn_list, list(/mob/living/simple_animal/hostile/megafauna/dragon = 4, /mob/living/simple_animal/hostile/megafauna/colossus = 2, /mob/living/simple_animal/hostile/megafauna/bubblegum = SPAWN_BUBBLEGUM, /mob/living/simple_animal/hostile/megafauna/ancient_robot = 4))
-
-/turf/simulated/floor/plating/asteroid/airless/cave
- var/length = 100
- var/list/mob_spawn_list
- var/list/megafauna_spawn_list
- var/list/flora_spawn_list
- var/sanity = 1
- var/forward_cave_dir = 1
- var/backward_cave_dir = 2
- var/going_backwards = TRUE
- var/has_data = FALSE
- /// Very important for making sure prod won't die due to poor RNG from cave spawns
- var/recursions = 0
- var/data_having_type = /turf/simulated/floor/plating/asteroid/airless/cave/has_data
- turf_type = /turf/simulated/floor/plating/asteroid/airless
-
-/// subtype for producing a tunnel with given data
-/turf/simulated/floor/plating/asteroid/airless/cave/has_data
- has_data = TRUE
-
-/turf/simulated/floor/plating/asteroid/airless/cave/volcanic
- mob_spawn_list = list(/obj/effect/landmark/mob_spawner/goliath = 50, /obj/structure/spawner/lavaland/goliath = 3,
- /obj/effect/landmark/mob_spawner/watcher = 40, /obj/structure/spawner/lavaland = 2,
- /obj/effect/landmark/mob_spawner/legion = 30, /obj/structure/spawner/lavaland/legion = 3,
- SPAWN_MEGAFAUNA = 6, /obj/effect/landmark/mob_spawner/goldgrub = 10, /obj/effect/landmark/mob_spawner/gutlunch = 4,
- /obj/effect/landmark/mob_spawner/abandoned_minebot = 6)
-
- data_having_type = /turf/simulated/floor/plating/asteroid/airless/cave/volcanic/has_data
- turf_type = /turf/simulated/floor/plating/asteroid/basalt/lava_land_surface
- oxygen = LAVALAND_OXYGEN
- nitrogen = LAVALAND_NITROGEN
- temperature = LAVALAND_TEMPERATURE
-
-/// subtype for producing a tunnel with given data
-/turf/simulated/floor/plating/asteroid/airless/cave/volcanic/has_data
- has_data = TRUE
-
-/turf/simulated/floor/plating/asteroid/airless/cave/Initialize(mapload)
- if(!mob_spawn_list)
- mob_spawn_list = list(/mob/living/simple_animal/hostile/asteroid/goldgrub = 1, /mob/living/simple_animal/hostile/asteroid/goliath = 5, /mob/living/simple_animal/hostile/asteroid/basilisk = 4, /mob/living/simple_animal/hostile/asteroid/hivelord = 3)
- if(!megafauna_spawn_list)
- megafauna_spawn_list = GLOB.megafauna_spawn_list
- if(!flora_spawn_list)
- flora_spawn_list = list(/obj/structure/flora/ash/leaf_shroom = 2, /obj/structure/flora/ash/cap_shroom = 2, /obj/structure/flora/ash/stem_shroom = 2, /obj/structure/flora/ash/cacti = 1, /obj/structure/flora/ash/tall_shroom = 2, /obj/structure/flora/ash/rock/style_random = 1)
- if(SSmapping.cave_theme == BLOCKED_BURROWS)
- flora_spawn_list += list(/obj/structure/flora/ash/rock/style_random = 3) //Let us see how this goes
- . = ..()
- if(!has_data)
- produce_tunnel_from_data()
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/get_cave_data(set_length, exclude_dir = -1)
- // If set_length (arg1) isn't defined, get a random length; otherwise assign our length to the length arg.
- if(!set_length)
- length = rand(25, 50)
- else
- length = set_length
-
- // Get our directiosn
- forward_cave_dir = pick(GLOB.alldirs - exclude_dir)
- // Get the opposite direction of our facing direction
- backward_cave_dir = angle2dir(dir2angle(forward_cave_dir) + 180)
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/produce_tunnel_from_data(tunnel_length, excluded_dir = -1)
- if(!tunnel_length)//This is a sub cave do not overide repeat do not overide
- get_cave_data(tunnel_length, excluded_dir)
- switch(SSmapping.cave_theme)
- if(BLOCKED_BURROWS) //Longer on average
- get_cave_data(rand(40, 60), excluded_dir)
- if(CLASSIC_CAVES) //Classic
- get_cave_data(tunnel_length, excluded_dir)
- if(DEADLY_DEEPROCK) //Smaller into large rooms with more mobs.
- get_cave_data(rand(20, 40), excluded_dir)
- if(prob(25)) //Less caves due to big openings. This may lead to fauna inside 1x1 rooms. We'll call that a suprise mechanic
- SpawnFloor(src, 75) //now with extra suprise
- return
- // Make our tunnels
- make_tunnel(forward_cave_dir)
- if(going_backwards)
- make_tunnel(backward_cave_dir)
- // Kill ourselves by replacing ourselves with a normal floor.
- SpawnFloor(src)
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/make_tunnel(dir)
- var/turf/simulated/mineral/tunnel = src
- var/next_angle = pick(45, -45)
-
- for(var/i in 1 to length)
- ++recursions
- if(recursions > RECURSION_MAX)
- break
- if(!sanity)
- break
-
- var/list/L = list(45)
- if(ISODD(dir2angle(dir)) && (!(SSmapping.cave_theme == BLOCKED_BURROWS) || prob(15)))
- L += -45
-
- // Expand the edges of our tunnel
- for(var/edge_angle in L)
- var/turf/simulated/mineral/edge = get_step(tunnel, angle2dir(dir2angle(dir) + edge_angle))
- if(istype(edge))
- SpawnFloor(edge)
-
- if(!sanity)
- break
-
- // Move our tunnel forward
- tunnel = get_step(tunnel, dir)
-
- // Separate ruin area check here because of the raw ChangeTurf call that
- // doesn't go through SpawnFloor/Flora/Monster.
- if(istype(tunnel) && !istype(tunnel.loc, /area/ruin))
- // Small chance to have forks in our tunnel; otherwise dig our tunnel.
- var/caveprob = 20
- switch(SSmapping.cave_theme)
- if(BLOCKED_BURROWS) //Longer on average
- caveprob = 30 //More splitting
- if(DEADLY_DEEPROCK) //Smaller into large rooms with more mobs.
- caveprob = 10 //Less splitting
- if(i > 3 && prob(caveprob))
- var/turf/simulated/floor/plating/asteroid/airless/cave/C = tunnel.ChangeTurf(data_having_type, FALSE, TRUE)
- C.recursions = recursions
- C.going_backwards = FALSE
- C.produce_tunnel_from_data(rand(10, 15), dir)
- else
- SpawnFloor(tunnel)
- else //if(!istype(tunnel, src.parent)) // We hit space/normal/wall, stop our tunnel.
- break
-
- // Chance to change our direction left or right.
- if(i > 2 && prob(33))
- // We can't go a full loop though
- if(!SSmapping.cave_theme == BLOCKED_BURROWS || prob(60))
- next_angle = -next_angle
- setDir(angle2dir(dir2angle(dir) )+ next_angle)
- if(length -2 == i && !has_data) //Branches will not make this
- SpawnRoom(tunnel)
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/SpawnRoom(turf/T)
- switch(SSmapping.cave_theme)
- if(DEADLY_DEEPROCK)
- var/tempradius = rand(10, 15)
- var/probmodifer = 43 * tempradius //Yes this is a magic number, it is a magic number that works well.
- for(var/turf/NT in circlerangeturfs(T, tempradius))
- var/distance = (max(get_dist(T, NT), 1)) //Get dist throws -1 if same turf
- if(prob(min(probmodifer / distance, 100)))
- if((ismineralturf(NT) || istype(NT, /turf/simulated/floor/plating/asteroid)) && !istype(NT.loc, /area/ruin)) //No spawning on lava / other ruins
- SpawnFloor(NT, 50) //Room has higher probabilty.
- if(prob(25))
- tempradius = round(tempradius / 3)
- var/turf/oasis_lake = pickweight(list(/turf/simulated/floor/lava/lava_land_surface = 4, /turf/simulated/floor/lava/lava_land_surface/plasma = 4, /turf/simulated/floor/chasm/straight_down/lava_land_surface = 4, /turf/simulated/floor/lava/mapping_lava = 6, /turf/simulated/floor/beach/away/water/lavaland_air = 1, /turf/simulated/floor/plating/asteroid = 1))
- if(oasis_lake == /turf/simulated/floor/plating/asteroid)
- new /obj/effect/spawner/oasisrock(T, tempradius)
- for(var/turf/oasis in circlerangeturfs(T, tempradius))
- if(istype(oasis.loc, /area/ruin))
- continue
- oasis.ChangeTurf(oasis_lake, ignore_air = TRUE)
-
/obj/effect/spawner/oasisrock
name = "Oasis rock spawner"
var/passed_radius
@@ -375,86 +212,6 @@ GLOBAL_LIST_INIT(megafauna_spawn_list, list(/mob/living/simple_animal/hostile/me
O.forceMove(pick_n_take(valid_turfs))
qdel(src)
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/SpawnFloor(turf/T, monsterprob = 30)
- if(istype(T.loc, /area/ruin))
- return
-
- for(var/S in RANGE_TURFS(1, src))
- var/turf/NT = S
- if(!NT || isspaceturf(NT) || istype(NT.loc, /area/lavaland/surface/outdoors/explored))
- sanity = 0
- break
- if(!sanity)
- return
- SpawnFlora(T)
-
- SpawnMonster(T, monsterprob)
- T.ChangeTurf(turf_type, FALSE, FALSE, TRUE)
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/SpawnMonster(turf/T, monsterprob = 30)
- if(istype(T.loc, /area/ruin))
- return
-
- if(prob(monsterprob))
- if(!istype(loc, /area/lavaland/surface/outdoors/unexplored))
- return
- var/randumb = pickweight(mob_spawn_list)
- while(randumb == SPAWN_MEGAFAUNA)
- if(istype(loc, /area/lavaland/surface/outdoors/unexplored/danger)) //this is danger. it's boss time.
- var/maybe_boss = pickweight(megafauna_spawn_list)
- if(megafauna_spawn_list[maybe_boss])
- randumb = maybe_boss
- else //this is not danger, don't spawn a boss, spawn something else
- randumb = pickweight(mob_spawn_list)
- var/scanrange = 12
- var/megafaunarange = 7
- switch(SSmapping.cave_theme)
- if(DEADLY_DEEPROCK)
- if(prob(50) && monsterprob > 30)
- scanrange = rand(4, 7)
- megafaunarange = scanrange
- for(var/thing in urange(scanrange, T)) //prevents mob clumps
- if(!ishostile(thing) && !istype(thing, /obj/structure/spawner))
- continue
- if((ismegafauna(randumb) || ismegafauna(thing)) && get_dist(T, thing) <= megafaunarange)
- return //if there's a megafauna within standard view don't spawn anything at all
- if(ispath(randumb, /obj/effect/landmark/mob_spawner) || istype(thing, /mob/living/simple_animal/hostile/asteroid))
- return //if the random is a standard mob, avoid spawning if there's another one within 12 tiles
- if((ispath(randumb, /obj/structure/spawner/lavaland) || istype(thing, /obj/structure/spawner/lavaland)) && get_dist(T, thing) <= 2)
- return //prevents tendrils spawning in each other's collapse range
-
- if(ispath(randumb, /mob/living/simple_animal/hostile/megafauna/bubblegum)) //there can be only one bubblegum, so don't waste spawns on it
- megafauna_spawn_list.Remove(randumb)
-
- if(ispath(randumb, /mob/living/simple_animal/hostile/megafauna/ancient_robot)) //same as above, we do not want multiple of these robots
- megafauna_spawn_list.Remove(randumb)
-
- new randumb(T)
- SSblackbox.record_feedback("tally", "lavaland_mob_spawns", 1, "[randumb]")
-
-#undef SPAWN_MEGAFAUNA
-#undef SPAWN_BUBBLEGUM
-#undef RECURSION_MAX
-
-/turf/simulated/floor/plating/asteroid/airless/cave/proc/SpawnFlora(turf/T)
- if(istype(T.loc, /area/ruin))
- return
-
- var/floraprob = 12
- switch(SSmapping.cave_theme)
- if(BLOCKED_BURROWS)
- floraprob = 30 //Lots of folliage, lots of blockage
- if(prob(floraprob))
- if(istype(loc, /area/lavaland/surface/outdoors/explored))
- return
- var/randumb = pickweight(flora_spawn_list)
- for(var/obj/structure/flora/ash/F in range(4, T)) //Allows for growing patches, but not ridiculous stacks of flora
- if(!istype(F, randumb))
- return
- new randumb(T)
-
-
-
/turf/simulated/floor/plating/asteroid/snow
gender = PLURAL
name = "snow"
diff --git a/code/game/turfs/simulated/floor/plating.dm b/code/game/turfs/simulated/floor/plating.dm
index eba6c7ace8c8..82e34dd3f79d 100644
--- a/code/game/turfs/simulated/floor/plating.dm
+++ b/code/game/turfs/simulated/floor/plating.dm
@@ -319,12 +319,11 @@
atmos_mode = ATMOS_MODE_NO_DECAY
/turf/simulated/floor/engine/singularity_pull(S, current_size)
- ..()
if(current_size >= STAGE_FIVE)
if(floor_tile)
if(prob(30))
new floor_tile(src)
- make_plating()
+ make_plating(TRUE)
else if(prob(30))
ReplaceWithLattice()
diff --git a/code/game/turfs/simulated/minerals.dm b/code/game/turfs/simulated/minerals.dm
index 279acca967bf..3d9e34d57062 100644
--- a/code/game/turfs/simulated/minerals.dm
+++ b/code/game/turfs/simulated/minerals.dm
@@ -137,7 +137,7 @@
/turf/simulated/mineral/random
var/mineralSpawnChanceList = list(/turf/simulated/mineral/uranium = 5, /turf/simulated/mineral/diamond = 1, /turf/simulated/mineral/gold = 10,
/turf/simulated/mineral/silver = 12, /turf/simulated/mineral/plasma = 20, /turf/simulated/mineral/iron = 40, /turf/simulated/mineral/titanium = 11,
- /turf/simulated/mineral/gibtonite = 4, /turf/simulated/floor/plating/asteroid/airless/cave = 2, /turf/simulated/mineral/bscrystal = 1)
+ /turf/simulated/mineral/gibtonite = 4, /turf/simulated/mineral/bscrystal = 1)
//Currently, Adamantine won't spawn as it has no uses. -Durandan
var/mineralChance = 13
diff --git a/code/modules/admin/misc_admin_procs.dm b/code/modules/admin/misc_admin_procs.dm
index 3345c446022f..ccded8c74d91 100644
--- a/code/modules/admin/misc_admin_procs.dm
+++ b/code/modules/admin/misc_admin_procs.dm
@@ -7,7 +7,7 @@ GLOBAL_VAR_INIT(disable_explosions, FALSE)
////////////////////////////////
/proc/message_admins(msg)
- msg = "ADMIN LOG: [msg] "
+ msg = "ADMIN LOG: [msg] "
for(var/client/C in GLOB.admins)
if(R_ADMIN & C.holder.rights)
if(C.prefs && !(C.prefs.toggles & PREFTOGGLE_CHAT_NO_ADMINLOGS))
@@ -15,7 +15,7 @@ GLOBAL_VAR_INIT(disable_explosions, FALSE)
/proc/msg_admin_attack(text, loglevel)
if(!GLOB.nologevent)
- var/rendered = "ATTACK: [text] "
+ var/rendered = "ATTACK: [text] "
for(var/client/C in GLOB.admins)
if((C.holder.rights & R_ADMIN) && (C.prefs?.atklog <= loglevel))
to_chat(C, rendered, MESSAGE_TYPE_ATTACKLOG, confidential = TRUE)
diff --git a/code/modules/admin/player_panel.dm b/code/modules/admin/player_panel.dm
index 30182fba4868..dc598b438c5f 100644
--- a/code/modules/admin/player_panel.dm
+++ b/code/modules/admin/player_panel.dm
@@ -443,6 +443,9 @@
// SS220 EDIT - START
if(length(SSticker.mode.blood_brothers))
dat += check_role_table("Blood Brothers", SSticker.mode.blood_brothers)
+
+ if(length(SSticker.mode.vox_raiders))
+ dat += check_role_table("Vox Raiders", SSticker.mode.vox_raiders)
// SS220 EDIT - END
if(length(SSticker.mode.implanted))
diff --git a/code/modules/admin/topic.dm b/code/modules/admin/topic.dm
index 85a49812fce2..983c14d7b0dd 100644
--- a/code/modules/admin/topic.dm
+++ b/code/modules/admin/topic.dm
@@ -1936,7 +1936,7 @@
P.faxmachineid = fax.UID()
P.loc = fax.loc // Do not use fax.receivefax(P) here, as it won't preserve the type. Physically teleporting the fax paper is required.
if(istype(H) && H.stat == CONSCIOUS && (istype(H.l_ear, /obj/item/radio/headset) || istype(H.r_ear, /obj/item/radio/headset)))
- to_chat(H, "Your headset pings, notifying you that a reply to your fax has arrived. ")
+ to_chat(H, "Your headset pings, notifying you that a reply to your fax has arrived. ")
to_chat(src.owner, "You sent a [eviltype] fax to [H]")
log_admin("[key_name(src.owner)] sent [key_name(H)] a [eviltype] fax")
message_admins("[key_name_admin(src.owner)] replied to [key_name_admin(H)] with a [eviltype] fax")
@@ -2338,7 +2338,7 @@
P.update_icon()
fax.receivefax(P)
if(istype(H) && H.stat == CONSCIOUS && (istype(H.l_ear, /obj/item/radio/headset) || istype(H.r_ear, /obj/item/radio/headset)))
- to_chat(H, "Your headset pings, notifying you that a reply to your fax has arrived. ")
+ to_chat(H, "Your headset pings, notifying you that a reply to your fax has arrived. ")
to_chat(src.owner, "You sent a standard '[stype]' fax to [H]")
log_admin("[key_name(src.owner)] sent [key_name(H)] a standard '[stype]' fax")
message_admins("[key_name_admin(src.owner)] replied to [key_name_admin(H)] with a standard '[stype]' fax")
@@ -2387,7 +2387,7 @@
to_chat(owner, "The person you are trying to contact is not wearing a headset. ERT denied but no message has been sent. ")
return
to_chat(owner, "You sent [reason] to [H] via a secure channel. ")
- to_chat(H, "Incoming priority transmission from Central Command. Message as follows, Your ERT request has been denied for the following reasons: [reason]. ")
+ to_chat(H, "Incoming priority transmission from Central Command. Message as follows, Your ERT request has been denied for the following reasons: [reason]. ")
else
owner.response_team()
@@ -2583,7 +2583,7 @@
if(notify == "Yes")
var/mob/living/carbon/human/H = sender
if(istype(H) && H.stat == CONSCIOUS && (istype(H.l_ear, /obj/item/radio/headset) || istype(H.r_ear, /obj/item/radio/headset)))
- to_chat(sender, "Your headset pings, notifying you that a reply to your fax has arrived. ")
+ to_chat(sender, "Your headset pings, notifying you that a reply to your fax has arrived. ")
if(sender)
log_admin("[key_name(src.owner)] replied to a fax message from [key_name(sender)]: [input]")
message_admins("[key_name_admin(src.owner)] replied to a fax message from [key_name_admin(sender)] (VIEW ).", 1)
diff --git a/code/modules/admin/verbs/adminpm.dm b/code/modules/admin/verbs/adminpm.dm
index debe72dcfc1a..b2387c9bc2cf 100644
--- a/code/modules/admin/verbs/adminpm.dm
+++ b/code/modules/admin/verbs/adminpm.dm
@@ -269,14 +269,14 @@
GLOB.discord_manager.send2discord_simple(DISCORD_WEBHOOK_ADMIN, "PM from [key_name(src)]: [html_decode(msg)]")
- to_chat(src, "PM to-Discord Admins : [msg] ", MESSAGE_TYPE_ADMINPM, confidential = TRUE)
+ to_chat(src, "PM to-Discord Admins : [msg] ", MESSAGE_TYPE_ADMINPM, confidential = TRUE)
log_admin("PM: [key_name(src)]->Discord: [msg]")
for(var/client/X in GLOB.admins)
if(X == src)
continue
if(check_rights(R_ADMIN, 0, X.mob))
- to_chat(X, "PM: [key_name_admin(src)]->Discord Admins: [msg] ")
+ to_chat(X, "PM: [key_name_admin(src)]->Discord Admins: [msg] ")
/client/verb/open_pms_ui()
set name = "My PMs"
diff --git a/code/modules/admin/verbs/debug.dm b/code/modules/admin/verbs/debug.dm
index d629de50a02a..a6246cad9ac1 100644
--- a/code/modules/admin/verbs/debug.dm
+++ b/code/modules/admin/verbs/debug.dm
@@ -657,11 +657,11 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
var/list/special_outfits = list(
"Naked",
"As Job...",
+ "As Admin Job...", // SS220 EDIT - Добавил "As Admin Job..."
"Custom..."
)
-
var/list/outfits = list()
- var/list/paths = subtypesof(/datum/outfit) - typesof(/datum/outfit/job) - list(/datum/outfit/varedit, /datum/outfit/admin)
+ var/list/paths = subtypesof(/datum/outfit) - typesof(/datum/outfit/job) - list(/datum/outfit/varedit, /datum/outfit/admin) - typesof(/datum/outfit/job/admin) // SS220 EDIT - subtract typesof(/datum/outfit/job/admin)
for(var/path in paths)
var/datum/outfit/O = path //not much to initalize here but whatever
if(initial(O.can_be_admin_equipped))
@@ -688,7 +688,21 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
dresscode = job_outfits[dresscode]
if(isnull(dresscode))
return
+ // SS220 EDIT START - собственно сама менюшка
+ if(dresscode == "As Admin Job...")
+ var/list/admin_job_paths = subtypesof(/datum/outfit/job/admin)
+ var/list/admin_job_outfits = list()
+ for(var/path in admin_job_paths)
+ var/datum/outfit/O = path
+ if(initial(O.can_be_admin_equipped))
+ admin_job_outfits[initial(O.name)] = path
+ admin_job_outfits = sortTim(admin_job_outfits, GLOBAL_PROC_REF(cmp_text_asc))
+ dresscode = input("Select equipment", "Сhoose your fighter") as null|anything in admin_job_outfits
+ dresscode = admin_job_outfits[dresscode]
+ if(isnull(dresscode))
+ return
+ // SS220 EDIT END
if(dresscode == "Custom...")
var/list/custom_names = list()
for(var/datum/outfit/D in GLOB.custom_outfits)
diff --git a/code/modules/admin/verbs/randomverbs.dm b/code/modules/admin/verbs/randomverbs.dm
index d215875bfd77..ea21b3d9b319 100644
--- a/code/modules/admin/verbs/randomverbs.dm
+++ b/code/modules/admin/verbs/randomverbs.dm
@@ -182,7 +182,7 @@
log_admin("[key_name(src)] replied to [key_name(H)]'s [sender] message with the message [input].")
message_admins("[key_name_admin(src)] replied to [key_name_admin(H)]'s [sender] message with: \"[input]\"")
- to_chat(H, "Incoming priority transmission from [sender == "Syndicate" ? "your benefactor" : "Central Command"]. Message as follows[sender == "Syndicate" ? ", agent." : ":"] [input] ")
+ to_chat(H, "Incoming priority transmission from [sender == "Syndicate" ? "your benefactor" : "Central Command"]. Message as follows[sender == "Syndicate" ? ", agent." : ":"] [input] ")
SEND_SOUND(H, 'sound/effects/headset_message.ogg')
diff --git a/code/modules/antagonists/changeling/powers/apex_predator.dm b/code/modules/antagonists/changeling/powers/apex_predator.dm
index 82134ef55682..cb1a6aecf7f0 100644
--- a/code/modules/antagonists/changeling/powers/apex_predator.dm
+++ b/code/modules/antagonists/changeling/powers/apex_predator.dm
@@ -10,12 +10,16 @@
/datum/action/changeling/apex_predator/sting_action(mob/user)
var/list/target_by_name = list()
for(var/mob/living/carbon/human/possible_target as anything in GLOB.human_list)
+ if(possible_target == user)
+ continue
var/turf/target_turf = get_turf(possible_target)
var/turf/user_turf = get_turf(user)
if(!possible_target.mind || (target_turf.z != user_turf.z))
continue
target_by_name[possible_target.real_name] = possible_target
-
+ if(!length(target_by_name))
+ to_chat(user, "There is no prey to be hunted here... ")
+ return
var/target_name = tgui_input_list(user, "Person to Locate", "Prey", target_by_name)
if(!target_name)
return
diff --git a/code/modules/antagonists/traitor/datum_traitor.dm b/code/modules/antagonists/traitor/datum_traitor.dm
index 3efa34a26fb2..ad0dafe79798 100644
--- a/code/modules/antagonists/traitor/datum_traitor.dm
+++ b/code/modules/antagonists/traitor/datum_traitor.dm
@@ -83,6 +83,8 @@ RESTRICT_TYPE(/datum/antagonist/traitor)
return ..()
/datum/antagonist/traitor/select_organization()
+ if(isAI(owner.current))
+ return
var/chaos = pickweight(list(ORG_CHAOS_HUNTER = ORG_PROB_HUNTER, ORG_CHAOS_MILD = ORG_PROB_MILD, ORG_CHAOS_AVERAGE = ORG_PROB_AVERAGE, ORG_CHAOS_HIJACK = ORG_PROB_HIJACK))
for(var/org_type in shuffle(subtypesof(/datum/antag_org/syndicate)))
var/datum/antag_org/org = org_type
diff --git a/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm b/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm
index 10dccfae6958..26c48667a7ce 100644
--- a/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm
+++ b/code/modules/antagonists/vampire/vampire_powers/hemomancer_powers.dm
@@ -307,8 +307,12 @@
/datum/spell/vampire/predator_senses/cast(list/targets, mob/user)
var/targets_by_name = list()
for(var/mob/living/carbon/human/H as anything in targets)
+ if(H == user)
+ continue
targets_by_name[H.real_name] = H
-
+ if(!length(targets_by_name))
+ to_chat(user, "There is no prey to be hunted here... ")
+ return
var/target_name = tgui_input_list(user, "Person to Locate", "Blood Stench", targets_by_name)
if(!target_name)
return
diff --git a/code/modules/atmospherics/gasmixtures/gas_mixture.dm b/code/modules/atmospherics/gasmixtures/gas_mixture.dm
index 86cd73ec61b5..aa1abcaf9798 100644
--- a/code/modules/atmospherics/gasmixtures/gas_mixture.dm
+++ b/code/modules/atmospherics/gasmixtures/gas_mixture.dm
@@ -574,21 +574,19 @@ What are the archived variables for?
var/energy_released = 0
var/old_heat_capacity = heat_capacity()
var/burned_fuel = 0
+ burned_fuel = min((1 - (N2O_DECOMPOSITION_COEFFICIENT_A / ((private_temperature + N2O_DECOMPOSITION_COEFFICIENT_C) ** 2))) * private_sleeping_agent, private_sleeping_agent)
+ private_sleeping_agent -= burned_fuel
- burned_fuel = max(0, 0.00002 * (private_temperature - (0.00001 * (private_temperature ** 2)))) * private_sleeping_agent
- if(private_sleeping_agent - burned_fuel > 0)
- private_sleeping_agent -= burned_fuel
+ if(burned_fuel)
+ energy_released += (N2O_DECOMPOSITION_ENERGY_RELEASED * burned_fuel)
- if(burned_fuel)
- energy_released += (N2O_DECOMPOSITION_ENERGY_RELEASED * burned_fuel)
+ private_oxygen += burned_fuel * 0.5
+ private_nitrogen += burned_fuel
- private_oxygen += burned_fuel * 0.5
- private_nitrogen += burned_fuel
-
- var/new_heat_capacity = heat_capacity()
- if(new_heat_capacity > MINIMUM_HEAT_CAPACITY)
- private_temperature = (private_temperature * old_heat_capacity + energy_released) / new_heat_capacity
- reacting = TRUE
+ var/new_heat_capacity = heat_capacity()
+ if(new_heat_capacity > MINIMUM_HEAT_CAPACITY)
+ private_temperature = (private_temperature * old_heat_capacity + energy_released) / new_heat_capacity
+ reacting = TRUE
fuel_burnt = 0
//Handle plasma burning
diff --git a/code/modules/awaymissions/mission_code/ghost_role_spawners/golems.dm b/code/modules/awaymissions/mission_code/ghost_role_spawners/golems.dm
index 81b51ad36e97..bc23091f65c4 100644
--- a/code/modules/awaymissions/mission_code/ghost_role_spawners/golems.dm
+++ b/code/modules/awaymissions/mission_code/ghost_role_spawners/golems.dm
@@ -208,3 +208,4 @@
mob_name = "a free golem"
can_transfer = FALSE
mob_species = /datum/species/golem/adamantine
+ assignedrole = "Free Golem"
diff --git a/code/modules/awaymissions/mission_code/ruins/telecomns.dm b/code/modules/awaymissions/mission_code/ruins/telecomns.dm
index d151dfa849e9..117bd99d7e54 100644
--- a/code/modules/awaymissions/mission_code/ruins/telecomns.dm
+++ b/code/modules/awaymissions/mission_code/ruins/telecomns.dm
@@ -430,7 +430,8 @@ GLOBAL_LIST_EMPTY(telecomms_trap_tank)
/obj/structure/environmental_storytelling_holopad/proc/start_message(mob/living/carbon/human/H)
activated = TRUE
- qdel(GetComponent(/datum/component/proximity_monitor))
+ DeleteComponent(/datum/component/proximity_monitor)
+
icon_state = "holopad1"
update_icon(UPDATE_OVERLAYS)
var/obj/effect/overlay/hologram = new(get_turf(src))
diff --git a/code/modules/awaymissions/mob_spawn.dm b/code/modules/awaymissions/mob_spawn.dm
index 1741cdb69f17..4e2f23fe7bcb 100644
--- a/code/modules/awaymissions/mob_spawn.dm
+++ b/code/modules/awaymissions/mob_spawn.dm
@@ -55,6 +55,8 @@
return
create(ckey = user.ckey, user = user)
+ return TRUE
+
/obj/effect/mob_spawn/Initialize(mapload)
. = ..()
if(instant || roundstart) //at some point we should probably re-introduce the (ticker && ticker.current_state > GAME_STATE_SETTING_UP) portion of this check, but for now it was preventing the corpses from spawning at roundstart and resulting in ghost role spawners that made dead bodies.
diff --git a/code/modules/client/preference/preferences.dm b/code/modules/client/preference/preferences.dm
index acb3ff4ff527..d29604a34853 100644
--- a/code/modules/client/preference/preferences.dm
+++ b/code/modules/client/preference/preferences.dm
@@ -87,7 +87,8 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
"1016" = 100, // CHANNEL_FIREALARM
"1015" = 100, // CHANNEL_ASH_STORM
"1014" = 100, // CHANNEL_RADIO_NOISE
- "1013" = 100 // CHANNEL_BOSS_MUSIC
+ "1013" = 100, // CHANNEL_BOSS_MUSIC
+ "1011" = 100 // CHANNEL_SURGERY_SOUNDS
)
/// The volume mixer save timer handle. Used to debounce the DB call to save, to avoid spamming.
var/volume_mixer_saving = null
diff --git a/code/modules/client/preference/preferences_toggles.dm b/code/modules/client/preference/preferences_toggles.dm
index 4d552c9322a7..9f4adb3e96d9 100644
--- a/code/modules/client/preference/preferences_toggles.dm
+++ b/code/modules/client/preference/preferences_toggles.dm
@@ -564,13 +564,16 @@
. = ..()
if(length(user.screen))
var/atom/movable/screen/plane_master/exposure/exposure_master = locate() in user.screen
- var/atom/movable/screen/plane_master/lamps_selfglow/glow_master = locate() in user.screen
- var/atom/movable/screen/plane_master/lamps_glare/glare_master = locate() in user.screen
exposure_master.alpha = user.prefs.light & LIGHT_NEW_LIGHTING ? 255 : 0
exposure_master.backdrop(user.mob)
- glow_master.backdrop(user.mob)
- glare_master.backdrop(user.mob)
+
+ for(var/atom/movable/screen/plane_master/lamps_selfglow/glow_master in user.screen)
+ glow_master.backdrop(user.mob)
+
+ for(var/atom/movable/screen/plane_master/lamps_glare/glare_master in user.screen)
+ glare_master.backdrop(user.mob)
+
/datum/preference_toggle/special_toggle/set_glow_level
name = "Set Glow Level"
@@ -591,8 +594,8 @@
user.prefs.glowlevel = glow_levels[new_level]
to_chat(usr, "Glow level: [new_level].")
if(length(user.screen))
- var/atom/movable/screen/plane_master/lamps_selfglow/glow_master = locate() in user.screen
- glow_master.backdrop(user.mob)
+ for(var/atom/movable/screen/plane_master/lamps_selfglow/glow_master in user.screen)
+ glow_master.backdrop(user.mob)
return ..()
/datum/preference_toggle/toggle_lamp_exposure
@@ -623,6 +626,7 @@
/datum/preference_toggle/toggle_lamps_glare/set_toggles(client/user)
. = ..()
- if(length(user.screen))
- var/atom/movable/screen/plane_master/lamps_glare/glare_master = locate() in user.screen
+ if(!length(user.screen))
+ return
+ for(var/atom/movable/screen/plane_master/lamps_glare/glare_master in user.screen)
glare_master.backdrop(user.mob)
diff --git a/code/modules/clothing/shoes/magboots.dm b/code/modules/clothing/shoes/magboots.dm
index 308aea6b03c3..c89d736091d4 100644
--- a/code/modules/clothing/shoes/magboots.dm
+++ b/code/modules/clothing/shoes/magboots.dm
@@ -26,45 +26,46 @@
. = ..()
if(slot != SLOT_HUD_SHOES || !ishuman(user))
return
- check_mag_pulse()
+ check_mag_pulse(user)
/obj/item/clothing/shoes/magboots/dropped(mob/user, silent)
. = ..()
if(!ishuman(user))
return
- check_mag_pulse()
+ check_mag_pulse(user, removing = TRUE)
-/obj/item/clothing/shoes/magboots/attack_self(mob/user, forced = FALSE)
- toggle_magpulse(user, forced)
+/obj/item/clothing/shoes/magboots/attack_self(mob/user)
+ toggle_magpulse(user)
-/obj/item/clothing/shoes/magboots/proc/toggle_magpulse(mob/user, forced)
+/obj/item/clothing/shoes/magboots/proc/toggle_magpulse(mob/user, no_message)
if(magpulse) //magpulse and no_slip will always be the same value unless VV happens
REMOVE_TRAIT(user, TRAIT_NOSLIP, UID())
slowdown = slowdown_passive
else
- ADD_TRAIT(user, TRAIT_NOSLIP, UID())
+ if(user.get_item_by_slot(SLOT_HUD_SHOES) == src)
+ ADD_TRAIT(user, TRAIT_NOSLIP, UID())
slowdown = slowdown_active
magpulse = !magpulse
no_slip = !no_slip
if(multiple_icons)
icon_state = "[magboot_state][magpulse]"
- if(!forced)
+ if(!no_message)
to_chat(user, "You [magpulse ? "enable" : "disable"] the [magpulse_name].")
user.update_inv_shoes() //so our mob-overlays update
user.update_gravity(user.mob_has_gravity())
for(var/X in actions)
var/datum/action/A = X
A.UpdateButtons()
- check_mag_pulse(user)
+ check_mag_pulse(user, removing = (user.get_item_by_slot(SLOT_HUD_SHOES) != src))
-/obj/item/clothing/shoes/magboots/proc/check_mag_pulse(mob/user)
+/obj/item/clothing/shoes/magboots/proc/check_mag_pulse(mob/user, removing = FALSE)
if(!user)
return
- if(magpulse)
- ADD_TRAIT(user, TRAIT_MAGPULSE, "magboots")
+ if(magpulse && !removing)
+ ADD_TRAIT(user, TRAIT_MAGPULSE, "magboots[UID()]")
return
if(HAS_TRAIT(user, TRAIT_MAGPULSE)) // User has trait and the magboots were turned off, remove trait
- REMOVE_TRAIT(user, TRAIT_MAGPULSE, "magboots")
+ REMOVE_TRAIT(user, TRAIT_MAGPULSE, "magboots[UID()]")
/obj/item/clothing/shoes/magboots/examine(mob/user)
. = ..()
@@ -173,17 +174,17 @@
magpulse_name = "gripping ability"
magical = TRUE
-/obj/item/clothing/shoes/magboots/wizard/attack_self(mob/user)
+/obj/item/clothing/shoes/magboots/wizard/toggle_magpulse(mob/user, no_message)
if(!user)
return
if(!iswizard(user))
to_chat(user, "You poke the gem on [src]. Nothing happens. ")
return
+ ..()
if(magpulse) //faint blue light when shoes are turned on gives a reason to turn them off when not needed in maint
- set_light(0)
- else
set_light(2, 1, LIGHT_COLOR_LIGHTBLUE)
- ..()
+ else
+ set_light(0)
/obj/item/clothing/shoes/magboots/gravity
@@ -229,7 +230,7 @@
else
. += "It is missing a gravitational anomaly core and a power cell. "
-/obj/item/clothing/shoes/magboots/gravity/attack_self(mob/user)
+/obj/item/clothing/shoes/magboots/gravity/toggle_magpulse(mob/user, no_message)
if(!cell)
to_chat(user, "Your boots do not have a power cell! ")
return
@@ -249,7 +250,7 @@
if(ishuman(loc))
var/mob/living/carbon/human/user = loc
to_chat(user, "[src] has ran out of charge, and turned off! ")
- attack_self(user, TRUE)
+ toggle_magpulse(user, TRUE)
else
cell.use(power_consumption_rate)
@@ -313,7 +314,7 @@
style.remove(H)
if(magpulse)
to_chat(user, "As [src] are removed, they deactivate. ")
- attack_self(user, TRUE)
+ toggle_magpulse(user, TRUE)
/obj/item/clothing/shoes/magboots/gravity/item_action_slot_check(slot)
if(slot == SLOT_HUD_SHOES)
diff --git a/code/modules/clothing/under/accessories/accessory.dm b/code/modules/clothing/under/accessories/accessory.dm
index 4f206609ee82..2834263a557e 100644
--- a/code/modules/clothing/under/accessories/accessory.dm
+++ b/code/modules/clothing/under/accessories/accessory.dm
@@ -444,7 +444,7 @@
var/obj/item/pda/pda = I
id_card = pda.id
- if(ACCESS_SEC_DOORS in id_card.access || emagged)
+ if((ACCESS_SEC_DOORS in id_card.access) || emagged)
to_chat(user, "You imprint your ID details onto the badge. ")
stored_name = id_card.registered_name
name = "holobadge ([stored_name])"
diff --git a/code/modules/events/blob/blob_mobs.dm b/code/modules/events/blob/blob_mobs.dm
index aad976d37397..ab4beb39ab5f 100644
--- a/code/modules/events/blob/blob_mobs.dm
+++ b/code/modules/events/blob/blob_mobs.dm
@@ -244,6 +244,6 @@
if(message)
for(var/mob/M in GLOB.mob_list)
follow_text = isobserver(M) ? " ([ghost_follow_link(src, ghost = M)])" : ""
- rendered = "Blob Telepathy, [name]([overmind]) [follow_text] states, \"[message]\" "
+ rendered = "Blob Telepathy, [name]([overmind]) [follow_text] states, \"[message]\" "
if(isovermind(M) || isobserver(M) || istype(M, /mob/living/simple_animal/hostile/blob/blobbernaut))
M.show_message(rendered, EMOTE_AUDIBLE)
diff --git a/code/modules/events/blob/overmind.dm b/code/modules/events/blob/overmind.dm
index 12919ff69444..40bf12b60c38 100644
--- a/code/modules/events/blob/overmind.dm
+++ b/code/modules/events/blob/overmind.dm
@@ -101,7 +101,7 @@
var/follow_text
for(var/mob/M in GLOB.mob_list)
follow_text = isobserver(M) ? " ([ghost_follow_link(src, ghost=M)])" : ""
- rendered = "Blob Telepathy, [name]([blob_reagent_datum.name]) [follow_text] states, \"[message]\" "
+ rendered = "Blob Telepathy, [name]([blob_reagent_datum.name]) [follow_text] states, \"[message]\" "
if(isovermind(M) || isobserver(M) || istype(M, /mob/living/simple_animal/hostile/blob/blobbernaut))
M.show_message(rendered, EMOTE_AUDIBLE)
diff --git a/code/modules/events/brand_intelligence.dm b/code/modules/events/brand_intelligence.dm
index 2159feb140ae..a5ef862a9286 100644
--- a/code/modules/events/brand_intelligence.dm
+++ b/code/modules/events/brand_intelligence.dm
@@ -90,7 +90,8 @@
saved.shoot_inventory = FALSE
saved.aggressive = FALSE
if(saved.tiltable)
- qdel(saved.GetComponent(/datum/component/proximity_monitor))
+ saved.DeleteComponent(/datum/component/proximity_monitor)
+
if(originMachine)
originMachine.speak("I am... vanquished. My people will remem...ber...meeee.")
originMachine.visible_message("[originMachine] beeps and seems lifeless.")
diff --git a/code/modules/food_and_drinks/food/condiment.dm b/code/modules/food_and_drinks/food/condiment.dm
index 8ec0d951e814..d48707468de6 100644
--- a/code/modules/food_and_drinks/food/condiment.dm
+++ b/code/modules/food_and_drinks/food/condiment.dm
@@ -30,6 +30,7 @@
"sugar" = list("emptycondiment", "sugar bottle", "Tasty spacey sugar!"),
"vinegar" = list("vinegar", "vinegar", "Perfect for chips, if you're feeling Space British."),
"mayonnaise" = list("mayonnaise", "mayonnaise bottle", "An oily condiment made from egg yolks."),
+ "yogurt" = list("yogurt", "yogurt tub", "Some yogurt, produced by bacterial fermentation of milk. Yum."),
"cherryjelly" = list("cherryjelly", "cherry jelly jar", "A sweet jelly made out of red cherries."),
"peanutbutter" = list("peanutbutter", "peanut butter jar", "A smooth, nutty spread. Perfect for sandwiches."),
"honey" = list("honey", "honey jar", "A sweet substance produced by bees."),
@@ -227,6 +228,13 @@
list_reagents = list("mayonnaise" = 50)
possible_states = list()
+/obj/item/reagent_containers/condiment/yogurt
+ name = "yogurt tub"
+ desc = "Some yogurt, produced by bacterial fermentation of milk. Yum."
+ icon_state = "yogurt"
+ list_reagents = list("yogurt" = 50)
+ possible_states = list()
+
/obj/item/reagent_containers/condiment/cherryjelly
name = "cherry jelly"
desc = "A sweet jelly made out of red cherries."
diff --git a/code/modules/food_and_drinks/food/customizables.dm b/code/modules/food_and_drinks/food/customizables.dm
index 3df6580452ad..c048f8c3fc8c 100644
--- a/code/modules/food_and_drinks/food/customizables.dm
+++ b/code/modules/food_and_drinks/food/customizables.dm
@@ -336,11 +336,10 @@ do {\
/obj/item/food/customizable/attackby(obj/item/I, mob/user, params)
- if(is_pen(I))
- var/new_name = rename_interactive(user, I, use_prefix = FALSE)
- if(!isnull(new_name))
- to_chat(user, "You declare this to be \a [name]. Delicious! ")
- return
+ ..()
+
+ if(istype(I, /obj/item/kitchen/utensil) || is_pen(I))
+ return
if(!istype(I, /obj/item/food))
to_chat(user, "[I] isn't exactly something that you would want to eat. ")
diff --git a/code/modules/food_and_drinks/food/foods/baked_goods.dm b/code/modules/food_and_drinks/food/foods/baked_goods.dm
index 1ef81b5dc011..2f3be77168f2 100644
--- a/code/modules/food_and_drinks/food/foods/baked_goods.dm
+++ b/code/modules/food_and_drinks/food/foods/baked_goods.dm
@@ -259,6 +259,259 @@
tastes = list("cake" = 5, "sweetness" = 1, "apple" = 1)
goal_difficulty = FOOD_GOAL_EASY
+/obj/item/food/sliceable/holy_cake
+ name = "angel food cake"
+ desc = "A cake made for angels and chaplains alike! Contains holy water."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "holy_cake"
+ slice_path = /obj/item/food/holy_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#ffffff"
+ list_reagents = list("nutriment" = 1, "vitamin" = 3, "holywater" = 10)
+ tastes = list("cake" = 5, "sweetness" = 1, "clouds" = 1)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/holy_cake_slice
+ name = "holy cake slice"
+ desc = "A slice of heavenly cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "holy_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#ffffff"
+ tastes = list("cake" = 5, "sweetness" = 1, "clouds" = 1)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/liars_cake
+ name = "strawberry chocolate cake"
+ desc = "A chocolate cake with five strawberries on top. For some reason, this configuration of cake is particularly aesthetically pleasing to AIs in SELF."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "liars_cake"
+ slice_path = /obj/item/food/liars_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#240606c7"
+ list_reagents = list("nutriment" = 20, "vitamin" = 5, "cocoa" = 5)
+ tastes = list("blackberry" = 2, "strawberries" = 2, "chocolate" = 2, "sweetness" = 2, "cake" = 3)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/liars_slice
+ name = "strawberry chocolate cake slice"
+ desc = "Just a slice of cake with five strawberries on top. \
+ For some reason, this configuration of cake is particularly aesthetically pleasing to AIs in SELF."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "liars_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#ffffff"
+ tastes = list("strawberries" = 2, "chocolate" = 2, "sweetness" = 2, "cake" = 3)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/vanilla_berry_cake
+ name = "blackberry and strawberry vanilla cake"
+ desc = "A plain cake, filled with assortment of blackberries and strawberries!"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "vanilla_berry_cake"
+ slice_path = /obj/item/food/vanilla_berry_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#f0e3e3c7"
+ list_reagents = list("nutriment" = 20, "vitamin" = 5, "vanilla" = 5)
+ tastes = list("blackberry" = 2, "strawberries" = 2, "vanilla" = 2, "sweetness" = 2, "cake" = 3)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/vanilla_berry_cake_slice
+ name = "blackberry and strawberry vanilla cake slice"
+ desc = "Just a slice of cake filled with assortment of blackberries and strawberries!"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "vanilla_berry_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#ffffff"
+ tastes = list("blackberry" = 2, "strawberries" = 2, "vanilla" = 2, "sweetness" = 2, "cake" = 3)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/hardware_cake
+ name = "hardware cake"
+ desc = "A \"cake\" that is made with electronic boards and leaks acid..."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "hardware_cake"
+ slice_path = /obj/item/food/hardware_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#4ac25e"
+ list_reagents = list("nutriment" = 20, "vitamin" = 5, "sacid" = 15, "oil" = 15)
+ tastes = list("acid" = 3, "metal" = 4, "glass" = 5)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/hardware_cake_slice
+ name = "hardware cake slice"
+ desc = "A slice of electronic boards and some acid."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "hardware_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#4ac25e"
+ tastes = list("acid" = 3, "metal" = 4, "glass" = 5)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/plum_cake
+ name = "plum cake"
+ desc = "A cake centred with Plums."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "plum_cake"
+ slice_path = /obj/item/food/plum_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#a128c5"
+ list_reagents = list("nutriment" = 20, "vitamin" = 10)
+ tastes = list("cake" = 5, "sweetness" = 1, "plum" = 2)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/plum_cake_slice
+ name = "plum cake slice"
+ desc = "A slice of plum cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "plum_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#a128c5"
+ tastes = list("cake" = 5, "sweetness" = 1, "plum" = 2)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/pound_cake
+ name = "pound cake"
+ desc = "A condensed cake made for filling people up quickly."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "pound_cake"
+ slice_path = /obj/item/food/pound_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#c4cab7"
+ list_reagents = list("nutriment" = 60, "vitamin" = 20)
+ tastes = list("cake" = 5, "sweetness" = 5, "batter" = 1)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/pound_cake_slice
+ name = "pound cake slice"
+ desc = "A slice of condensed cake made for filling people up quickly."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "pound_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#ffffff"
+ tastes = list("cake" = 5, "sweetness" = 5, "batter" = 1)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/pumpkin_spice_cake
+ name = "pumpkin spice cake"
+ desc = "A hollow cake with real pumpkin."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "pumpkin_spice_cake"
+ slice_path = /obj/item/food/pumpkin_spice_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#ee710a"
+ list_reagents = list("nutriment" = 20, "vitamin" = 10)
+ tastes = list("cake" = 5, "sweetness" = 1, "pumpkin" = 1)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/pumpkin_spice_cake_slice
+ name = "pumpkin spice cake slice"
+ desc = "A spicy slice of pumpkin goodness."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "pumpkin_spice_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#ee710a"
+ tastes = list("cake" = 5, "sweetness" = 1, "pumpkin" = 1)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/slime_cake
+ name = "slime cake"
+ desc = "A cake made of slimes. Probably not electrified."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "slime_cake"
+ slice_path = /obj/item/food/slime_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#0adfee"
+ list_reagents = list("nutriment" = 20, "vitamin" = 10)
+ tastes = list("cake" = 5, "sweetness" = 1, "slime" = 1)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/slime_cake_slice
+ name = "slime cake slice"
+ desc = "A slice of slime cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "slime_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#0adfee"
+ tastes = list("cake" = 5, "sweetness" = 1, "slime" = 1)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/spaceman_cake
+ name = "spaceman's cake"
+ desc = "A spaceman's trumpet frosted cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "trumpet_cake"
+ slice_path = /obj/item/food/spaceman_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#610977"
+ list_reagents = list("nutriment" = 20, "vitamin" = 10, "cream" = 5, "berryjuice", 5)
+ tastes = list("cake" = 4, "violets" = 2, "jam" = 2)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/spaceman_cake_slice
+ name = "spaceman's cake slice"
+ desc = "A slice of spaceman's trumpet frosted cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "trumpet_cake_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#610977"
+ tastes = list("cake" = 4, "violets" = 2, "jam" = 2)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/vanilla_cake
+ name = "vanilla cake"
+ desc = "A vanilla frosted cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "vanilla_cake"
+ slice_path = /obj/item/food/vanilla_cake_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#ece7ee"
+ list_reagents = list("nutriment" = 20, "vitamin" = 5, "sugar" = 15, "vanilla" = 15)
+ tastes = list("cake" = 1, "sugar" = 1, "vanilla" = 10)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/vanilla_cake_slice
+ name = "vanilla cake slice"
+ desc = "A slice of vanilla frosted cake."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "vanilla_cake_slice"
+ filling_color = "#ece7ee"
+ tastes = list("cake" = 1, "sugar" = 1, "vanilla" = 10)
+ goal_difficulty = FOOD_GOAL_EASY
+
+/obj/item/food/sliceable/mothmallow
+ name = "mothmallow tray"
+ desc = "A light and fluffy vegan marshmallow flavoured with vanilla and rum and topped with soft chocolate. These are known to the moths as höllflöfstarkken: cloud squares." //höllflöf = cloud (höll = wind, flöf = cotton), starkken = squares
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "mothmallow_tray"
+ list_reagents = list("nutriment" = 20, "sugar" = 20)
+ slice_path = /obj/item/food/mothmallowslice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#eebe98"
+ tastes = list("vanilla" = 1, "clouds" = 1, "chocolate" = 1)
+ goal_difficulty = FOOD_GOAL_DUPLICATE
+
+/obj/item/food/mothmallowslice
+ name = "mothmallow"
+ desc = "Fluffy little clouds of joy- in a strangely moth-like colour."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "mothmallow_slice"
+ filling_color = "#ece7ee"
+ filling_color = "#eebe98"
+ tastes = list("vanilla" = 1, "clouds" = 1, "chocolate" = 1)
+ goal_difficulty = FOOD_GOAL_EASY
+
//////////////////////
// Cookies //
@@ -295,6 +548,32 @@
tastes = list("sweetness" = 1)
goal_difficulty = FOOD_GOAL_EASY
+/obj/item/food/oatmeal_cookie
+ name = "oatmeal cookie"
+ desc = "The best of both cookie and oat."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "oatmeal_cookie"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2)
+ tastes = list("cookie" = 2, "oat" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/raisin_cookie
+ name = "raisin cookie"
+ desc = "Why would you put raisins on a cookie?"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "raisin_cookie"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2)
+ tastes = list("cookie" = 1, "raisins" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/peanut_butter_cookie
+ name = "peanut butter cookie"
+ desc = "A tasty, chewy peanut butter cookie."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "peanut_butter_cookie"
+ list_reagents = list("nutriment" = 6, "peanutbutter" = 5)
+ tastes = list("cookie" = 1, "peanut butter" = 2)
+ goal_difficulty = FOOD_GOAL_NORMAL
//////////////////////
// Pies //
@@ -429,6 +708,85 @@
tastes = list("pie" = 1, "pumpkin" = 1)
goal_difficulty = FOOD_GOAL_NORMAL
+/obj/item/food/beary_pie
+ name = "beary pie"
+ desc = "No brown bears, this is a good sign."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "beary_pie"
+ filling_color = "#F5B951"
+ list_reagents = list("nutriment" = 12, "vitamin" = 5, "protein" = 5)
+ tastes = list("pie" = 1, "meat" = 1, "salmon" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/sliceable/blumpkin_pie
+ name = "blumpkin pie"
+ desc = "An odd blue pie made with toxic blumpkin."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "blumpkin_pie"
+ slice_path = /obj/item/food/blumpkin_pie_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#102d8b"
+ list_reagents = list("nutriment" = 13, "vitamin" = 6, "blumpkinjuice" = 5)
+ tastes = list("pie" = 1, "a mouthful of pool water" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/blumpkin_pie_slice
+ name = "blumpkin pie slice"
+ desc = "A slice of blumpkin pie, with whipped cream on top. Is this edible?"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "blumpkin_pie_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#102d8b"
+ tastes = list("pie" = 1, "a mouthful of pool water" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/sliceable/french_silk_pie
+ name = "french silk pie"
+ desc = "A decadent pie made of a creamy chocolate mousse filling topped with a layer of whipped cream and chocolate shavings. Sliceable."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "french_silk_pie"
+ slice_path = /obj/item/food/french_silk_pie_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#5e4337"
+ list_reagents = list("nutriment" = 12, "vitamin" = 4)
+ tastes = list("pie" = 1, "smooth chocolate" = 1, "whipped cream" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/french_silk_pie_slice
+ name = "french silk pie slice"
+ desc = "A slice of french silk pie, filled with a chocolate mousse and topped with a layer of whipped cream and chocolate shavings. Delicious enough to make you cry."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "french_silk_pie_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#5e4337"
+ tastes = list("pie" = 1, "smooth chocolate" = 1, "whipped cream" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/sliceable/frosty_pie
+ name = "frosty pie"
+ desc = "Tastes like blue and cold."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "frosty_pie"
+ slice_path = /obj/item/food/frosty_pie_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#5e4337"
+ list_reagents = list("nutriment" = 14, "vitamin" = 6)
+ tastes = list("mint" = 1, "pie" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/frosty_pie_slice
+ name = "frosty pie slice"
+ desc = "Tasty blue, like my favourite crayon!"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "frosty_pie_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#338cb6"
+ tastes = list("mint" = 1, "pie" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
//////////////////////
// Donuts //
//////////////////////
@@ -442,7 +800,7 @@
list_reagents = list("nutriment" = 3, "sugar" = 2)
var/extra_reagent = null
filling_color = "#D2691E"
- var/randomized_sprinkles = 1
+ var/randomized_sprinkles = TRUE
var/donut_sprite_type = DONUT_NORMAL
tastes = list("donut" = 1)
@@ -461,7 +819,7 @@
list_reagents = list("nutriment" = 3, "sugar" = 2, "sprinkles" = 2)
filling_color = "#FF69B4"
donut_sprite_type = DONUT_FROSTED
- randomized_sprinkles = 0
+ randomized_sprinkles = FALSE
/obj/item/food/donut/chaos
name = "chaos donut"
@@ -512,6 +870,232 @@
icon_state = "jdonut1"
extra_reagent = "cherryjelly"
+/obj/item/food/donut/apple
+ name = "apple donut"
+ desc = "Goes great with a shot of cinnamon schnapps."
+ icon_state = "donut_green"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "applejuice" = 2)
+ filling_color = "#24d21e"
+ tastes = list("donut" = 1, "apples" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/apple/jelly
+ name = "jelly apple donut"
+ desc = "Goes great with a shot of cinnamon schnapps."
+ icon_state = "jelly_green"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/apple/jelly/cherry
+ name = "jelly apple donut"
+ desc = "Goes great with a shot of cinnamon schnapps."
+ icon_state = "jelly_green"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/apple/jelly/slime
+ name = "jelly apple donut"
+ desc = "Goes great with a shot of cinnamon schnapps."
+ icon_state = "jelly_green"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/pink
+ name = "jelly pink donut"
+ desc = "Goes great with a soy latte."
+ icon_state = "donut_pink"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "berryjuice" = 3)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "berries" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/pink/jelly
+ name = "jelly pink donut"
+ desc = "Goes great with a soy latte."
+ icon_state = "jelly_pink"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/pink/jelly/cherry
+ name = "jelly pink donut"
+ desc = "Goes great with a soy latte."
+ icon_state = "jelly_pink"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/pink/jelly/slime
+ name = "jelly pink donut"
+ desc = "Goes great with a soy latte."
+ icon_state = "jelly_pink"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/blumpkin
+ name = "blumpkin donut"
+ desc = "Goes great with a mug of soothing drunken blumpkin."
+ icon_state = "donut_blue"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "blumpkinjuice" = 2)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "blumpkin" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/blumpkin/jelly
+ name = "jelly blumpkin donut"
+ desc = "Goes great with a mug of soothing drunken blumpkin."
+ icon_state = "jelly_blue"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/blumpkin/jelly/cherry
+ name = "jelly blumpkin donut"
+ desc = "Goes great with a mug of soothing drunken blumpkin."
+ icon_state = "jelly_blue"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/blumpkin/jelly/slime
+ name = "jelly blumpkin donut"
+ desc = "Goes great with a mug of soothing drunken blumpkin."
+ icon_state = "jelly_blue"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/caramel
+ name = "caramel donut"
+ desc = "Goes great with a mug of hot cocoa."
+ icon_state = "donut_beige"
+ list_reagents = list("nutriment" = 3, "sugar" = 2)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "buttery sweetness" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/caramel/jelly
+ name = "jelly caramel donut"
+ desc = "Goes great with a mug of hot cocoa."
+ icon_state = "jelly_beige"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/caramel/jelly/cherry
+ name = "jelly caramel donut"
+ desc = "Goes great with a mug of hot cocoa."
+ icon_state = "jelly_beige"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/caramel/jelly/slime
+ name = "jelly caramel donut"
+ desc = "Goes great with a mug of hot cocoa."
+ icon_state = "jelly_beige"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/chocolate
+ name = "chocolate donut"
+ desc = "Goes great with a glass of warm milk."
+ icon_state = "donut_choc"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "hot_coco" = 3)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "bitterness" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/chocolate/jelly
+ name = "jelly chocolate donut"
+ desc = "Goes great with a glass of warm milk."
+ icon_state = "jelly_choc"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/chocolate/jelly/cherry
+ name = "jelly chocolate donut"
+ desc = "Goes great with a glass of warm milk."
+ icon_state = "jelly_choc"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/chocolate/jelly/slime
+ name = "jelly chocolate donut"
+ desc = "Goes great with a glass of warm milk."
+ icon_state = "jelly_choc"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/matcha
+ name = "matcha donut"
+ desc = "Goes great with a cup of tea."
+ icon_state = "donut_olive"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "teapowder" = 2)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "matcha" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/matcha/jelly
+ name = "jelly matcha donut"
+ desc = "Goes great with a cup of tea."
+ icon_state = "jelly_olive"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/matcha/jelly/cherry
+ name = "jelly matcha donut"
+ desc = "Goes great with a cup of tea."
+ icon_state = "jelly_olive"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/matcha/jelly/slime
+ name = "jelly matcha donut"
+ desc = "Goes great with a cup of tea."
+ icon_state = "jelly_olive"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/bungo
+ name = "bungo donut"
+ desc = "Goes great with a mason jar of hippie's delight."
+ icon_state = "donut_yellow"
+ list_reagents = list("nutriment" = 3, "sugar" = 2, "bungojuice" = 3)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "tropical sweetness" = 1, "an acidic, poisonous tang" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/bungo/jelly
+ name = "jelly bungo donut"
+ desc = "Goes great with a mason jar of hippie's delight."
+ icon_state = "jelly_yellow"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/bungo/jelly/cherry
+ name = "jelly bungo donut"
+ desc = "Goes great with a mason jar of hippie's delight."
+ icon_state = "jelly_yellow"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/bungo/jelly/slime
+ name = "jelly bungo donut"
+ desc = "Goes great with a mason jar of hippie's delight."
+ icon_state = "jelly_yellow"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/spaceman
+ name = "spaceman's donut"
+ desc = "Goes great with a cold beaker of malk."
+ icon_state = "donut_purple"
+ list_reagents = list("nutriment" = 3, "sugar" = 2)
+ filling_color = "#D2691E"
+ tastes = list("donut" = 1, "violets" = 1)
+ randomized_sprinkles = FALSE
+
+/obj/item/food/donut/spaceman/jelly
+ name = "jelly spaceman's donut"
+ desc = "Goes great with a cold beaker of malk."
+ icon_state = "jelly_purple"
+ extra_reagent = "berryjuice"
+
+/obj/item/food/donut/spaceman/jelly/cherry
+ name = "jelly spaceman's donut"
+ desc = "Goes great with a cold beaker of malk."
+ icon_state = "jelly_purple"
+ extra_reagent = "cherryjelly"
+
+/obj/item/food/donut/spaceman/jelly/slime
+ name = "jelly spaceman's donut"
+ desc = "Goes great with a cold beaker of malk."
+ icon_state = "jelly_purple"
+ extra_reagent = "slimejelly"
+
+/obj/item/food/donut/meat
+ name = "Meat Donut"
+ desc = "Tastes as gross as it looks."
+ icon_state = "donut_meat"
+ list_reagents = list("nutriment" = 3, "protein" = 3, "ketchup" = 3)
+ filling_color = "#D2691E"
+ tastes = list("meat" = 1, "ketchup" = 1)
+ randomized_sprinkles = FALSE
+
+
//////////////////////
// Pancakes //
//////////////////////
@@ -572,6 +1156,37 @@
tastes = list("muffin" = 1)
goal_difficulty = FOOD_GOAL_NORMAL
+/obj/item/food/berry_muffin
+ name = "berry_muffin"
+ desc = "A delicious and spongy little cake, with berries."
+ icon = 'icons/obj/food/breakfast.dmi'
+ icon_state = "berry_muffin"
+ filling_color = "#ad2bbe"
+ list_reagents = list("nutriment" = 6, "berryjuice" = 2)
+ tastes = list("muffin" = 3, "berry" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/booberry_muffin
+ name = "booberry muffin"
+ desc = "My stomach is a graveyard! No living being can quench my bloodthirst!"
+ icon = 'icons/obj/food/breakfast.dmi'
+ alpha = 125
+ icon_state = "berry_muffin"
+ filling_color = "#d9b6f5"
+ list_reagents = list("nutriment" = 6)
+ tastes = list("muffin" = 3, "spookiness" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/moffin
+ name = "moffin"
+ desc = "A delicious and spongy little cake."
+ icon = 'icons/obj/food/breakfast.dmi'
+ icon_state = "moffin"
+ filling_color = "#c7ab56"
+ list_reagents = list("nutriment" = 6)
+ tastes = list("muffin" = 3, "dust" = 1, "lint" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
/obj/item/food/berryclafoutis
name = "berry clafoutis"
desc = "No black birds, this is a good sign."
@@ -623,6 +1238,120 @@
tastes = list("pie" = 1, "apple" = 1, "expensive metal" = 1)
goal_difficulty = FOOD_GOAL_NORMAL
+/obj/item/food/grape_tart
+ name = "grape tart"
+ desc = "A tasty dessert that reminds you of the wine you didn't make."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "grape_tart"
+ trash = /obj/item/trash/plate
+ filling_color = "#8c00ff"
+ bitesize = 3
+ list_reagents = list("nutriment" = 4, "vitamin" = 4)
+ tastes = list("pie" = 1, "grape" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/mime_tart
+ name = "mime tart"
+ desc = "..."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "mime_tart"
+ trash = /obj/item/trash/plate
+ filling_color = "#8c00ff"
+ bitesize = 3
+ list_reagents = list("nutriment" = 5, "vitamin" = 5, "nothing" = 5)
+ tastes = list("nothing" = 3)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/cherry_cupcake
+ name = "cherry cupcake"
+ desc = "A sweet cupcake with cherry bits."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "cherry_cupcake"
+ filling_color = "#8b1236"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2)
+ tastes = list("cake" = 3, "cherry" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/cherry_cupcake/blue
+ name = "blue cherry cupcake"
+ desc = "Blue cherries inside a delicious cupcake."
+ icon_state = "bluecherry_cupcake"
+ filling_color = "#0d1694"
+ tastes = list("cake" = 3, "bluecherry" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/honey_bun
+ name = "honey bun"
+ desc = "A sticky pastry bun glazed with honey."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "honey_bun"
+ filling_color = "#d88e06"
+ list_reagents = list("nutriment" = 6, "honey" = 6)
+ tastes = list("pastry" = 1, "sweetness" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/cannoli
+ name = "cannoli"
+ desc = "A Sicilian treat that turns you into a wise guy."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "cannoli"
+ filling_color = "#d88e06"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2)
+ tastes = list("pastry" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/chocolate_lava_tart
+ name = "chocolate lava tart"
+ desc = "A tasty dessert made of chocolate, with a liquid core."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "coco_lava_tart"
+ filling_color = "#411b02"
+ list_reagents = list("nutriment" = 4, "vitamin" = 4)
+ tastes = list("pie" = 1, "dark chocolate" = 3)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/chocolate_cornet
+ name = "chocolate cornet"
+ desc = "Which side's the head, the fat end or the thin end?"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "choco_cornet"
+ filling_color = "#411b02"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2)
+ tastes = list("biscuit" = 3, "chocolate" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/sliceable/dulce_de_batata
+ name = "dulce de batata"
+ desc = "A delicious jelly made with sweet potatoes."
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "dulce_de_batata"
+ slice_path = /obj/item/food/dulce_de_batata_slice
+ slices_num = 5
+ bitesize = 3
+ filling_color = "#411b02"
+ list_reagents = list("nutriment" = 14, "vitamin" = 8)
+ tastes = list("jelly" = 1, "sweet potato" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/dulce_de_batata_slice
+ name = "dulce de batata slice"
+ desc = "Tasty blue, like my favourite crayon!"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "dulce_de_batata_slice"
+ trash = /obj/item/trash/plate
+ filling_color = "#411b02"
+ tastes = list("jelly" = 1, "sweet potato" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/cheese_balls
+ name = "\improper ælorölen" //ælo = cheese, rölen = balls
+ desc = "Ælorölen (cheese balls) are a traditional mothic dessert, made of soft cheese, powdered sugar and flour, rolled into balls, battered and then deep fried. They're often served with either chocolate sauce or honey, or sometimes both!"
+ icon = 'icons/obj/food/bakedgoods.dmi'
+ icon_state = "moth_cheese_cakes"
+ filling_color = "#411b02"
+ list_reagents = list("protein" = 8, "sugar" = 12)
+ tastes = list("cheesecake" = 1, "chocolate" = 1, "honey" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
/obj/item/food/cracker
name = "cracker"
diff --git a/code/modules/food_and_drinks/food/foods/candy.dm b/code/modules/food_and_drinks/food/foods/candy.dm
index b5293309ca3f..486c47a31611 100644
--- a/code/modules/food_and_drinks/food/foods/candy.dm
+++ b/code/modules/food_and_drinks/food/foods/candy.dm
@@ -94,6 +94,51 @@
filling_color = "#7D5F46"
goal_difficulty = FOOD_GOAL_NORMAL
+/obj/item/food/candy/chocolate_orange
+ name = "chocolate orange"
+ desc = "A festive chocolate orange."
+ icon_state = "choco_orange"
+ filling_color = "#7D5F46"
+ list_reagents = list("nutriment" = 3, "sugar" = 1)
+ tastes = list("chocolate" = 3, "oranges" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/candy/candied_pineapple
+ name = "candied pineapple"
+ desc = "A chunk of pineapple coated in sugar and dried into a chewy treat."
+ icon_state = "candied_pineapple"
+ filling_color = "#ffbd35"
+ list_reagents = list("nutriment" = 3, "vitamin" = 3)
+ tastes = list("sugar" = 2, "chewy pineapple" = 4)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/candy/chocolate_coin
+ name = "chocolate coin"
+ desc = "A completely edible but non-flippable festive coin."
+ icon_state = "choco_coin"
+ filling_color = "#7D5F46"
+ list_reagents = list("nutriment" = 4, "sugar" = 1, "cocoa" = 1, "vitamin" = 1)
+ tastes = list("chocolate" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/candy/chocolate_bunny
+ name = "chocolate bunny"
+ desc = "Contains less than 10% real rabbit!"
+ icon_state = "chocolate_bunny"
+ filling_color = "#7D5F46"
+ list_reagents = list("nutriment" = 4, "sugar" = 1, "cocoa" = 1)
+ tastes = list("chocolate" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
+/obj/item/food/candy/fudge_dice
+ name = "fudge dice"
+ desc = "A little cube of chocolate that tends to have a less intense taste if you eat too many at once."
+ icon_state = "choco_dice"
+ filling_color = "#7D5F46"
+ list_reagents = list("nutriment" = 3, "sugar" = 1, "cocoa" = 1)
+ tastes = list("fudge" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
// ***********************************************************
// Candy Products (Pre-existing)
// ***********************************************************
diff --git a/code/modules/food_and_drinks/food/foods/ingredients.dm b/code/modules/food_and_drinks/food/foods/ingredients.dm
index 7e50a1667d3b..fda18eae17b7 100644
--- a/code/modules/food_and_drinks/food/foods/ingredients.dm
+++ b/code/modules/food_and_drinks/food/foods/ingredients.dm
@@ -69,6 +69,12 @@
filling_color = "#00FF33"
list_reagents = list("mercury" = 5, "lsd" = 5, "ethanol" = 5, "weird_cheese" = 5)
+/obj/item/food/cheese_curds
+ name = "cheese curds"
+ desc = "Known by many names throughout human cuisine, curd cheese is useful for a wide variety of dishes."
+ icon_state = "cheese_curds"
+ filling_color = "#FFF700"
+ list_reagents = list("cheese_curds" = 4, "nutriment" = 3, "vitamin" = 1)
//////////////////////
// Plants //
diff --git a/code/modules/food_and_drinks/food/foods/pizza.dm b/code/modules/food_and_drinks/food/foods/pizza.dm
index 8a62b48fd3a9..3b9c7a5d13c6 100644
--- a/code/modules/food_and_drinks/food/foods/pizza.dm
+++ b/code/modules/food_and_drinks/food/foods/pizza.dm
@@ -271,10 +271,16 @@
var/is_messy = FALSE // Fancy mess on the lid
var/obj/item/food/sliceable/pizza/pizza // Content pizza
var/list/boxes = list() // If the boxes are stacked, they come here
+ /// The name that shows on the box lid, describing the pizza type.
var/box_tag = ""
+ /// The type of pizza that's spawned in the box.
+ var/pizza_type
/obj/item/pizzabox/Initialize(mapload)
. = ..()
+ if(!isnull(pizza_type))
+ pizza = new pizza_type(src)
+
update_appearance(UPDATE_DESC|UPDATE_ICON)
/obj/item/pizzabox/update_desc()
@@ -409,46 +415,37 @@
return
..()
-
-/obj/item/pizzabox/margherita/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/margheritapizza(src)
+/obj/item/pizzabox/margherita
+ pizza_type = /obj/item/food/sliceable/pizza/margheritapizza
box_tag = "margherita deluxe"
- . = ..()
-/obj/item/pizzabox/vegetable/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/vegetablepizza(src)
+/obj/item/pizzabox/vegetable
+ pizza_type = /obj/item/food/sliceable/pizza/vegetablepizza
box_tag = "gourmet vegetable"
- . = ..()
-/obj/item/pizzabox/mushroom/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/mushroompizza(src)
+/obj/item/pizzabox/mushroom
+ pizza_type = /obj/item/food/sliceable/pizza/mushroompizza
box_tag = "mushroom special"
- . = ..()
-/obj/item/pizzabox/meat/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/meatpizza(src)
+/obj/item/pizzabox/meat
+ pizza_type = /obj/item/food/sliceable/pizza/meatpizza
box_tag = "meatlover's supreme"
- . = ..()
-/obj/item/pizzabox/hawaiian/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/hawaiianpizza(src)
+/obj/item/pizzabox/hawaiian
+ pizza_type = /obj/item/food/sliceable/pizza/hawaiianpizza
box_tag = "Hawaiian feast"
- . = ..()
-/obj/item/pizzabox/pepperoni/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/pepperonipizza(src)
+/obj/item/pizzabox/pepperoni
+ pizza_type = /obj/item/food/sliceable/pizza/pepperonipizza
box_tag = "classic pepperoni"
- . = ..()
-/obj/item/pizzabox/garlic/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/garlicpizza(src)
+/obj/item/pizzabox/garlic
+ pizza_type = /obj/item/food/sliceable/pizza/garlicpizza
box_tag = "triple garlic"
- . = ..()
-/obj/item/pizzabox/firecracker/Initialize(mapload)
- pizza = new /obj/item/food/sliceable/pizza/firecrackerpizza(src)
+/obj/item/pizzabox/firecracker
+ pizza_type = /obj/item/food/sliceable/pizza/firecrackerpizza
box_tag = "extra spicy pie"
- . = ..()
//////////////////////////
// Pizza bombs //
@@ -582,7 +579,8 @@
/obj/item/pizzabox/pizza_bomb/Initialize(mapload)
correct_wire = pick(wires)
- box_tag = "classic pepperoni"
+ var/obj/item/pizzabox/mimic_box = pick(subtypesof(/obj/item/pizzabox) - typesof(/obj/item/pizzabox/pizza_bomb))
+ box_tag = mimic_box.box_tag
. = ..()
/obj/item/pizzabox/pizza_bomb/autoarm
diff --git a/code/modules/food_and_drinks/food/foods/soups.dm b/code/modules/food_and_drinks/food/foods/soups.dm
index 6da52d5685bc..bb56ebf68094 100644
--- a/code/modules/food_and_drinks/food/foods/soups.dm
+++ b/code/modules/food_and_drinks/food/foods/soups.dm
@@ -224,6 +224,15 @@
tastes = list("bitterness" = 1, "sourness" = 1, "nature" = 1)
goal_difficulty = FOOD_GOAL_NORMAL
+/obj/item/food/soup/red_porridge
+ name = "\improper Eltsløsk ül a priktæolk" //eltsløsk = red porridge, ül a = with, prikt = sour, æolk = cream
+ desc = "Red porridge with yogurt. The name and vegetable ingredients obscure the sweet nature of the dish, which is commonly served as a dessert aboard the fleet."
+ icon_state = "red_porridge"
+ filling_color = "#b36e40"
+ list_reagents = list("nutriment" = 6, "vitamin" = 2, "sugar" = 2, "yogurt" = 2)
+ tastes = list("sweet beets" = 1, "sugar" = 1, "sweetened yogurt" = 1)
+ goal_difficulty = FOOD_GOAL_NORMAL
+
//////////////////////
// Stews //
diff --git a/code/modules/food_and_drinks/food_base.dm b/code/modules/food_and_drinks/food_base.dm
index 9fd4583acd2f..5290fcd736ef 100644
--- a/code/modules/food_and_drinks/food_base.dm
+++ b/code/modules/food_and_drinks/food_base.dm
@@ -64,7 +64,8 @@
ant_suppressors = typecacheof(list(
/obj/structure/table,
/obj/structure/rack,
- /obj/structure/closet
+ /obj/structure/closet,
+ /obj/structure/shelf
))
START_PROCESSING(SSobj, src)
ant_location = get_turf(src)
@@ -197,8 +198,8 @@
return
user.visible_message( \
- "[user] scoops up some [src] with \the [U]!", \
- "You scoop up some [src] with \the [U]!" \
+ "[user] scoops up some [name] with [U]!", \
+ "You scoop up some [name] with [U]!" \
)
bitecount++
diff --git a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
index deb2af941eff..c1b6dc49b046 100644
--- a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
+++ b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm
@@ -434,7 +434,10 @@
. = ..()
accepted_items_typecache = typecacheof(list(
/obj/item/kitchen,
- /obj/item/food))
+ /obj/item/food,
+ /obj/item/seeds,
+ /obj/item/grown,
+ /obj/item/reagent_containers/condiment))
// Syndicate Druglab Ruin
/obj/machinery/smartfridge/food/syndicate_druglab
@@ -447,6 +450,88 @@
/obj/item/reagent_containers/drinks/bottle/kahlua = 1,
/obj/item/reagent_containers/drinks/bottle/orangejuice = 2)
+///The Chefs smartfridge. This smartfridge will spawn with a random condiment, then 3 stacks of 3 plants (or fish meat) to give chef some extra starting variety, or new ideas on what to cook!
+/obj/machinery/smartfridge/food/chef
+
+/obj/machinery/smartfridge/food/chef/Initialize(mapload)
+ starting_items = generate_starting_items()
+ . = ..()
+
+/obj/machinery/smartfridge/food/chef/proc/generate_starting_items()
+ // These plants are blocked for being inedable, downright toxic, RND plants, botany plants, or wheat.
+ var/list/static/forbidden_plants = list(
+ /obj/item/food/grown/wheat,
+ /obj/item/food/grown/meatwheat,
+ /obj/item/food/grown/shell/gatfruit,
+ /obj/item/food/grown/apple/poisoned,
+ /obj/item/food/grown/cherry_bomb,
+ /obj/item/food/grown/firelemon,
+ /obj/item/food/grown/ambrosia/gaia,
+ /obj/item/food/grown/mushroom/glowshroom,
+ /obj/item/food/grown/mushroom/glowshroom/glowcap,
+ /obj/item/food/grown/mushroom/glowshroom/shadowshroom,
+ /obj/item/food/grown/cannabis, // I don't care about weed pizza, sorry.
+ /obj/item/food/grown/cannabis/rainbow,
+ /obj/item/food/grown/cannabis/death,
+ /obj/item/food/grown/cannabis/white,
+ /obj/item/food/grown/cannabis/ultimate,
+ /obj/item/food/grown/tobacco,
+ /obj/item/food/grown/pumpkin/blumpkin,
+ /obj/item/food/grown/berries/poison,
+ /obj/item/food/grown/berries/death,
+ /obj/item/food/grown/berries/glow,
+ /obj/item/food/grown/comfrey,
+ /obj/item/food/grown/aloe,
+ /obj/item/food/grown/kudzupod,
+ /obj/item/food/grown/holymelon, // Lets not out vampires or cult by accident thanks
+ /obj/item/food/grown/mushroom/reishi, // I would block out Amanita but it has 2 recipies, might be funny.
+ /obj/item/food/grown/mushroom/angel,
+ /obj/item/food/grown/random,
+ /obj/item/food/grown/tea,
+ /obj/item/food/grown/tea/astra,
+ /obj/item/food/grown/coffee,
+ /obj/item/food/grown/coffee/robusta,
+ /obj/item/food/grown/grass,
+ /obj/item/food/grown/grass/carpet,
+ /obj/item/food/grown/harebell,
+ /obj/item/food/grown/poppy,
+ /obj/item/food/grown/lily,
+ /obj/item/food/grown/geranium,
+ /obj/item/food/grown/moonflower,
+ /obj/item/food/grown/ash_flora/shavings,
+ /obj/item/food/grown/ash_flora/mushroom_leaf,
+ /obj/item/food/grown/ash_flora/mushroom_cap,
+ /obj/item/food/grown/ash_flora/mushroom_stem,
+ /obj/item/food/grown/ash_flora/cactus_fruit,
+ /obj/item/food/grown/shell,
+ /obj/item/food/grown/mushroom/fungus,
+ /obj/item/food/grown/mushroom,
+ /obj/item/food/grown/ash_flora,
+ )
+ var/list/output = list()
+ for(var/I in 1 to 3)
+ var/obj/item/food/chosen
+ if(prob(95))
+ chosen = pick(subtypesof(/obj/item/food/grown) - forbidden_plants)
+ else // Fish / sushi stuff, or xenomeat rarely as a treat
+ chosen = pick(/obj/item/food/catfishmeat, /obj/item/food/carpmeat, /obj/item/food/salmonmeat, /obj/item/food/shrimp, /obj/item/food/monstermeat/xenomeat)
+ output[chosen] += 3
+ // Adds 2 condiment bottles as bonus. No hotsauce or ketchup, as the chef starts with that
+ for(var/G in 1 to 2)
+ output += pick(
+ /obj/item/reagent_containers/condiment/bbqsauce,
+ /obj/item/reagent_containers/condiment/soysauce,
+ /obj/item/reagent_containers/condiment/mayonnaise,
+ /obj/item/reagent_containers/condiment/cherryjelly,
+ /obj/item/reagent_containers/condiment/peanutbutter,
+ /obj/item/reagent_containers/condiment/honey,
+ /obj/item/reagent_containers/condiment/oliveoil,
+ /obj/item/reagent_containers/condiment/frostoil,
+ /obj/item/reagent_containers/condiment/wasabi,
+ /obj/item/reagent_containers/condiment/vinegar,
+ )
+ return output
+
/**
* # Seed Storage
*
diff --git a/code/modules/food_and_drinks/recipes/recipes_candy.dm b/code/modules/food_and_drinks/recipes/recipes_candy.dm
index 46a2eec574fe..e3ab57ad8ab9 100644
--- a/code/modules/food_and_drinks/recipes/recipes_candy.dm
+++ b/code/modules/food_and_drinks/recipes/recipes_candy.dm
@@ -87,6 +87,41 @@
reagents = list("milk" = 1, "sugar" = 1)
result = /obj/item/food/wafflecone
+/datum/recipe/candy/candied_pineapple
+ reagents = list("sugar" = 2, "water" = 2)
+ items = list(
+ /obj/item/food/pineappleslice
+ )
+ result = /obj/item/food/candy/candied_pineapple
+
+/datum/recipe/candy/chocolate_orange
+ items = list(
+ /obj/item/food/grown/citrus/orange,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/candy/chocolate_orange
+
+/datum/recipe/candy/chocolate_coin
+ items = list(
+ /obj/item/coin,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/candy/chocolate_coin
+
+/datum/recipe/candy/chocolate_bunny
+ reagents = list("sugar" = 2)
+ items = list(
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/candy/chocolate_bunny
+
+/datum/recipe/candy/fudge_dice
+ items = list(
+ /obj/item/dice,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/candy/fudge_dice
+
// ***********************************************************
// Base Candy Recipes (unflavored / plain)
// ***********************************************************
diff --git a/code/modules/food_and_drinks/recipes/recipes_microwave.dm b/code/modules/food_and_drinks/recipes/recipes_microwave.dm
index 7457a25c82e5..8ed36bca48cc 100644
--- a/code/modules/food_and_drinks/recipes/recipes_microwave.dm
+++ b/code/modules/food_and_drinks/recipes/recipes_microwave.dm
@@ -52,6 +52,247 @@
)
result = /obj/item/food/donut/sprinkles
+/datum/recipe/microwave/apple_donut
+ reagents = list("applejuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/apple
+
+/datum/recipe/microwave/apple_donut/jelly
+ reagents = list("applejuice" = 5, "berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/apple/jelly
+
+/datum/recipe/microwave/apple_donut/jelly/slime
+ reagents = list("applejuice" = 5, "slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/apple/jelly/slime
+
+/datum/recipe/microwave/apple_donut/jelly/cherry
+ reagents = list("applejuice" = 5, "cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/apple/jelly/cherry
+
+/datum/recipe/microwave/pink_donut
+ reagents = list("berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/pink
+
+/datum/recipe/microwave/pink_donut/jelly
+ reagents = list("berryjuice" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/pink/jelly
+
+/datum/recipe/microwave/pink_donut/jelly/slime
+ reagents = list("berryjuice" = 5, "slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/pink/jelly/slime
+
+/datum/recipe/microwave/pink_donut/jelly/cherry
+ reagents = list("berryjuice" = 5, "cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/pink/jelly/cherry
+
+/datum/recipe/microwave/blumpkin_donut
+ reagents = list("blumpkinjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/blumpkin
+
+/datum/recipe/microwave/blumpkin_donut/jelly
+ reagents = list("blumpkinjuice" = 5, "berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/blumpkin/jelly
+
+/datum/recipe/microwave/blumpkin_donut/jelly/slime
+ reagents = list("blumpkinjuice" = 5, "slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/blumpkin/jelly/slime
+
+/datum/recipe/microwave/blumpkin_donut/jelly/cherry
+ reagents = list("blumpkinjuice" = 5, "cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/blumpkin/jelly/cherry
+
+/datum/recipe/microwave/bungo_donut
+ reagents = list("bungojuice" = 5, "coldsauce" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/bungo
+
+/datum/recipe/microwave/bungo_donut/jelly
+ reagents = list("bungojuice" = 5, "coldsauce" = 5, "berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/bungo/jelly
+
+/datum/recipe/microwave/bungo_donut/jelly/slime
+ reagents = list("bungojuice" = 5, "coldsauce" = 5, "slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/bungo/jelly/slime
+
+/datum/recipe/microwave/bungo_donut/jelly/cherry
+ reagents = list("bungojuice" = 5, "coldsauce" = 5, "cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/bungo/jelly/cherry
+
+/datum/recipe/microwave/caramel_donut
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/candy/caramel
+ )
+ result = /obj/item/food/donut/caramel
+
+/datum/recipe/microwave/caramel_donut/jelly
+ reagents = list("berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/candy/caramel
+ )
+ result = /obj/item/food/donut/caramel/jelly
+
+/datum/recipe/microwave/caramel_donut/jelly/slime
+ reagents = list("slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/candy/caramel
+ )
+ result = /obj/item/food/donut/caramel/jelly/slime
+
+/datum/recipe/microwave/caramel_donut/jelly/cherry
+ reagents = list("cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/candy/caramel
+ )
+ result = /obj/item/food/donut/caramel/jelly/cherry
+
+/datum/recipe/microwave/chocolate_donut
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/donut/chocolate
+
+/datum/recipe/microwave/chocolate_donut/jelly
+ reagents = list("berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/donut/chocolate/jelly
+
+/datum/recipe/microwave/chocolate_donut/jelly/slime
+ reagents = list("slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/donut/chocolate/jelly/slime
+
+/datum/recipe/microwave/chocolate_donut/jelly/cherry
+ reagents = list("cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/donut/chocolate/jelly/cherry
+
+/datum/recipe/microwave/matcha_donut
+ reagents = list("teapowder" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/matcha
+
+/datum/recipe/microwave/matcha_donut/jelly
+ reagents = list("teapowder" = 5, "berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/matcha/jelly
+
+/datum/recipe/microwave/matcha_donut/jelly/slime
+ reagents = list("teapowder" = 5, "slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/matcha/jelly/slime
+
+/datum/recipe/microwave/matcha_donut/jelly/cherry
+ reagents = list("teapowder" = 5, "cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut
+ )
+ result = /obj/item/food/donut/matcha/jelly/cherry
+
+/datum/recipe/microwave/meat_donut
+ reagents = list("ketchup" = 5)
+ items = list(
+ /obj/item/food/cookiedough,
+ /obj/item/food/meat
+ )
+ result = /obj/item/food/donut/meat
+
+/datum/recipe/microwave/spaceman_donut
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/grown/trumpet
+ )
+ result = /obj/item/food/donut/spaceman
+
+/datum/recipe/microwave/spaceman_donut/jelly
+ reagents = list("berryjuice" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/grown/trumpet
+ )
+ result = /obj/item/food/donut/spaceman/jelly
+
+/datum/recipe/microwave/spaceman_donut/jelly/slime
+ reagents = list("slimejelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/grown/trumpet
+ )
+ result = /obj/item/food/donut/spaceman/jelly/slime
+
+/datum/recipe/microwave/spaceman_donut/jelly/cherry
+ reagents = list("cherryjelly" = 5)
+ items = list(
+ /obj/item/food/donut,
+ /obj/item/food/grown/trumpet
+ )
+ result = /obj/item/food/donut/spaceman/jelly/cherry
+
/datum/recipe/microwave/human/burger
items = list(
/obj/item/food/meat/human,
@@ -1144,6 +1385,29 @@
)
result = /obj/item/food/frozen/icecreamsandwich
+/datum/recipe/microwave/cheese_balls
+ reagents = list("flour" = 5, "sugar" = 5, "honey" = 5)
+ items = list(
+ /obj/item/food/cheese_curds,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/cheese_balls
+
+/datum/recipe/microwave/red_porridge
+ reagents = list("vanilla" = 5, "sugar" = 5, "yogurt" = 10)
+ items = list(
+ /obj/item/food/grown/redbeet
+ )
+ result = /obj/item/food/soup/red_porridge
+
+/datum/recipe/microwave/dulce_de_batata
+ reagents = list("vanilla" = 5, "water" = 5)
+ items = list(
+ /obj/item/food/grown/potato/sweet,
+ /obj/item/food/grown/potato/sweet
+ )
+ result = /obj/item/food/sliceable/dulce_de_batata
+
/datum/recipe/microwave/berryicecreamsandwich
reagents = list("ice" = 5, "cream" = 5)
items = list(
diff --git a/code/modules/food_and_drinks/recipes/recipes_oven.dm b/code/modules/food_and_drinks/recipes/recipes_oven.dm
index 8b0dc71ba6bd..9012cba58c60 100644
--- a/code/modules/food_and_drinks/recipes/recipes_oven.dm
+++ b/code/modules/food_and_drinks/recipes/recipes_oven.dm
@@ -77,6 +77,152 @@
)
result = /obj/item/food/muffin
+/datum/recipe/oven/berry_muffin
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/grown/berries
+ )
+ result = /obj/item/food/berry_muffin
+
+/datum/recipe/oven/booberry_muffin
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/grown/berries,
+ /obj/item/food/ectoplasm
+ )
+ result = /obj/item/food/booberry_muffin
+
+/datum/recipe/oven/moffin
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/grown/cotton
+ )
+ result = /obj/item/food/moffin
+
+/datum/recipe/oven/holy_cake
+ reagents = list("milk" = 5, "sugar" = 15, "holywater" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough
+ )
+ result = /obj/item/food/sliceable/holy_cake
+
+/datum/recipe/oven/liars_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/chocolatebar,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/sliceable/liars_cake
+
+/datum/recipe/oven/vanilla_berry_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries,
+ /obj/item/food/grown/berries
+ )
+ result = /obj/item/food/sliceable/vanilla_berry_cake
+
+/datum/recipe/oven/hardware_cake
+ reagents = list("milk" = 5, "sugar" = 15, "sacid" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/circuitboard,
+ /obj/item/circuitboard
+ )
+ result = /obj/item/food/sliceable/hardware_cake
+
+/datum/recipe/oven/plum_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/plum,
+ /obj/item/food/grown/plum
+ )
+ result = /obj/item/food/sliceable/plum_cake
+
+/datum/recipe/oven/pound_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/sliceable/plaincake,
+ /obj/item/food/sliceable/plaincake,
+ /obj/item/food/sliceable/plaincake,
+ /obj/item/food/sliceable/plaincake
+ )
+ result = /obj/item/food/sliceable/pound_cake
+
+/datum/recipe/oven/pumpkin_spice_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/pumpkin,
+ /obj/item/food/grown/pumpkin
+ )
+ result = /obj/item/food/sliceable/pumpkin_spice_cake
+
+/datum/recipe/oven/slime_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/slime_extract
+ )
+ result = /obj/item/food/sliceable/slime_cake
+
+/datum/recipe/oven/spaceman_cake
+ reagents = list("milk" = 5, "sugar" = 15, "cream" = 5, "berryjuice" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/trumpet,
+ /obj/item/food/grown/trumpet
+ )
+ result = /obj/item/food/sliceable/spaceman_cake
+
+/datum/recipe/oven/vanilla_cake
+ reagents = list("milk" = 5, "sugar" = 15)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/dough,
+ /obj/item/food/grown/vanillapod,
+ /obj/item/food/grown/vanillapod
+ )
+ result = /obj/item/food/sliceable/vanilla_cake
+
+/datum/recipe/oven/mothmallow
+ reagents = list("vanilla" = 5, "sugar" = 15, "rum" = 5)
+ items = list(
+ /obj/item/food/grown/soybeans
+ )
+ result = /obj/item/food/sliceable/mothmallow
+
/datum/recipe/oven/carrotcake
reagents = list("milk" = 5, "sugar" = 15)
items = list(
@@ -169,6 +315,127 @@
)
result = /obj/item/food/berryclafoutis
+/datum/recipe/oven/cherry_cupcake
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/grown/cherries
+ )
+ result = /obj/item/food/cherry_cupcake
+
+/datum/recipe/oven/cherry_cupcake/blue
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/grown/bluecherries
+ )
+ result = /obj/item/food/cherry_cupcake/blue
+
+/datum/recipe/oven/oatmeal_cookie
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/grown/oat
+ )
+ result = /obj/item/food/oatmeal_cookie
+
+/datum/recipe/oven/raisin_cookie
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/dough,
+ /obj/item/food/no_raisin
+ )
+ result = /obj/item/food/raisin_cookie
+
+/datum/recipe/oven/peanut_butter_cookie
+ reagents = list("milk" = 5, "sugar" = 5, "peanutbutter" = 5)
+ items = list(
+ /obj/item/food/dough
+ )
+ result = /obj/item/food/peanut_butter_cookie
+
+/datum/recipe/oven/chocolate_cornet
+ reagents = list("milk" = 5, "sugar" = 5, "sodiumchloride" = 1)
+ items = list(
+ /obj/item/food/cookiedough,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/chocolate_cornet
+
+/datum/recipe/oven/honey_bun
+ reagents = list("milk" = 5, "sugar" = 5, "honey" = 5)
+ items = list(
+ /obj/item/food/cookiedough
+ )
+ result = /obj/item/food/honey_bun
+
+/datum/recipe/oven/cannoli
+ reagents = list("milk" = 1, "sugar" = 3)
+ items = list(
+ /obj/item/food/cookiedough
+ )
+ result = /obj/item/food/cannoli
+
+/datum/recipe/oven/beary_pie
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/monstermeat/bearmeat,
+ /obj/item/food/grown/berries
+ )
+ result = /obj/item/food/beary_pie
+
+/datum/recipe/oven/blumpkin_pie
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/grown/pumpkin/blumpkin
+ )
+ result = /obj/item/food/sliceable/blumpkin_pie
+
+/datum/recipe/oven/chocolate_lava_tart
+ reagents = list("milk" = 5, "sugar" = 5)
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/chocolatebar,
+ /obj/item/food/chocolatebar,
+ /obj/item/food/chocolatebar,
+ /obj/item/slime_extract
+ )
+ result = /obj/item/food/chocolate_lava_tart
+
+/datum/recipe/oven/french_silk_pie
+ reagents = list("sugar" = 5)
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/chocolatebar,
+ /obj/item/food/chocolatebar
+ )
+ result = /obj/item/food/sliceable/french_silk_pie
+
+/datum/recipe/oven/frosty_pie
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/grown/bluecherries
+ )
+ result = /obj/item/food/sliceable/frosty_pie
+
+/datum/recipe/oven/grape_tart
+ reagents = list("milk = 5", "sugar" = 5)
+ items = list(
+ /obj/item/food/sliceable/flatdough,
+ /obj/item/food/grown/grapes,
+ /obj/item/food/grown/grapes,
+ /obj/item/food/grown/grapes
+ )
+ result = /obj/item/food/grape_tart
+
+/datum/recipe/oven/mime_tart
+ reagents = list("nothing" = 5, "milk = 5", "sugar" = 5)
+ items = list(
+ /obj/item/food/sliceable/flatdough
+ )
+ result = /obj/item/food/mime_tart
+
/datum/recipe/oven/tofubread
items = list(
/obj/item/food/dough,
diff --git a/code/modules/hallucinations/effects/major.dm b/code/modules/hallucinations/effects/major.dm
index afef2358f29f..012da9f55ad5 100644
--- a/code/modules/hallucinations/effects/major.dm
+++ b/code/modules/hallucinations/effects/major.dm
@@ -302,11 +302,11 @@
if(prob(80))
new_name = "Unknown"
hallucination_icon = 'icons/mob/simple_human.dmi'
- hallucination_icon_state = pick("arctic_skeleton", "templar", "skeleton", "russianmelee", "piratemelee", "plasma_miner_tool", "cat_butcher", "syndicate_space_sword", "syndicate_stormtrooper_sword", "zombie", "scary_clown")
+ hallucination_icon_state = pick("arctic_skeleton", "templar", "skeleton", "sovietmelee", "piratemelee", "plasma_miner_tool", "cat_butcher", "syndicate_space_sword", "syndicate_stormtrooper_sword", "zombie", "scary_clown")
// Adjust the attack verb and sound depending on the "mob"
switch(hallucination_icon_state)
- if("arctic_skeleton", "templar", "russianmelee", "plasma_miner_tool")
+ if("arctic_skeleton", "templar", "sovietmelee", "plasma_miner_tool")
attack_verb = "slashed"
attack_sound = 'sound/weapons/bladeslice.ogg'
if("cat_butcher")
diff --git a/code/modules/hydroponics/grown/cocoa_vanilla.dm b/code/modules/hydroponics/grown/cocoa_vanilla.dm
index cc21fca814ee..d57ee07ec307 100644
--- a/code/modules/hydroponics/grown/cocoa_vanilla.dm
+++ b/code/modules/hydroponics/grown/cocoa_vanilla.dm
@@ -15,7 +15,7 @@
icon_grow = "cocoapod-grow"
icon_dead = "cocoapod-dead"
genes = list(/datum/plant_gene/trait/repeated_harvest)
- mutatelist = list(/obj/item/seeds/cocoapod/vanillapod)
+ mutatelist = list(/obj/item/seeds/cocoapod/vanillapod, /obj/item/seeds/cocoapod/bungotree)
reagents_add = list("cocoa" = 0.25, "plantmatter" = 0.1)
/obj/item/food/grown/cocoapod
@@ -47,3 +47,40 @@
filling_color = "#FEFEFE"
tastes = list("vanilla" = 1)
distill_reagent = "vanilla" //Takes longer, but you can get even more vanilla from it.
+
+// Bungo Pod
+
+/obj/item/seeds/cocoapod/bungotree
+ name = "pack of bungo tree seeds"
+ desc = "These seeds grow into bungo trees. They appear to be heavy and almost perfectly spherical."
+ icon_state = "seed-bungotree"
+ species = "bungotree"
+ plantname = "Bungo Tree"
+ product = /obj/item/food/grown/bungofruit
+ lifespan = 30
+ maturation = 4
+ yield = 3
+ production = 7
+ mutatelist = null
+ reagents_add = list("enzyme"= 0.1, "nutriment" = 0.1, "bungojuice" = 0.1)
+ growthstages = 4
+ growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
+ icon_grow = "bungotree-grow"
+ icon_dead = "bungotree-dead"
+
+/obj/item/food/grown/bungofruit
+ seed = /obj/item/seeds/cocoapod/bungotree
+ name = "bungo fruit"
+ desc = "A strange fruit, tough leathery skin protects its juicy flesh and large poisonous seed."
+ icon_state = "bungo"
+ trash = /obj/item/food/grown/bungopit
+ tastes = list("bungo" = 2, "tropical fruitiness" = 1, "an acidic, poisonous tang" = 1)
+ distill_reagent = null
+
+/obj/item/food/grown/bungopit
+ seed = /obj/item/seeds/cocoapod/bungotree
+ name = "bungo pit"
+ icon_state = "bungopit"
+ desc = "A large seed from a bungo fruit."
+ w_class = WEIGHT_CLASS_TINY
+ tastes = list("acrid bitterness" = 1)
diff --git a/code/modules/hydroponics/grown/flowers.dm b/code/modules/hydroponics/grown/flowers.dm
index 095aeca5190d..505ccd1b123a 100644
--- a/code/modules/hydroponics/grown/flowers.dm
+++ b/code/modules/hydroponics/grown/flowers.dm
@@ -38,7 +38,7 @@
icon_grow = "lily-grow"
icon_dead = "lily-dead"
product = /obj/item/food/grown/lily
- mutatelist = list()
+ mutatelist = list(/obj/item/seeds/poppy/lily/trumpet)
/obj/item/food/grown/lily
seed = /obj/item/seeds/poppy/lily
@@ -51,6 +51,36 @@
filling_color = "#C7BBAD"
distill_reagent = "vermouth"
+//Spaceman's Trumpet
+
+/obj/item/seeds/poppy/lily/trumpet
+ name = "pack of spaceman's trumpet seeds"
+ desc = "A plant sculped by extensive genetic engineering. The spaceman's trumpet is said to bear no resemblance to its wild ancestors. Inside NT AgriSci circles it is better known as NTPW-0372."
+ icon_state = "seed-trumpet"
+ species = "spacemanstrumpet"
+ plantname = "Spaceman's Trumpet Plant"
+ product = /obj/item/food/grown/trumpet
+ lifespan = 80
+ production = 5
+ endurance = 10
+ maturation = 12
+ yield = 4
+ potency = 20
+ growthstages = 4
+ weed_rate = 2
+ weed_chance = 10
+ growing_icon = 'icons/obj/hydroponics/growing_flowers.dmi'
+ icon_grow = "spacemanstrumpet-grow"
+ icon_dead = "spacemanstrumpet-dead"
+ mutatelist = null
+ reagents_add = list(/datum/reagent/consumable/nutriment = 0.05)
+
+/obj/item/food/grown/trumpet
+ seed = /obj/item/seeds/poppy/lily/trumpet
+ name = "spaceman's trumpet"
+ desc = "A vivid flower that smells faintly of freshly cut grass. Touching the flower seems to stain the skin some time after contact, yet most other surfaces seem to be unaffected by this phenomenon."
+ icon_state = "spacemanstrumpet"
+
// Geranium
/obj/item/seeds/poppy/geranium
name = "pack of geranium seeds"
diff --git a/code/modules/hydroponics/grown/plum.dm b/code/modules/hydroponics/grown/plum.dm
new file mode 100644
index 000000000000..dc342afa7809
--- /dev/null
+++ b/code/modules/hydroponics/grown/plum.dm
@@ -0,0 +1,23 @@
+/obj/item/seeds/plum
+ name = "pack of plum seeds"
+ desc = "These seeds grow into plum trees."
+ icon_state = "seed-plum"
+ species = "plum"
+ plantname = "Plum Tree"
+ product = /obj/item/food/grown/plum
+ lifespan = 55
+ endurance = 35
+ growing_icon = 'icons/obj/hydroponics/growing_fruits.dmi'
+ icon_grow = "plum-grow"
+ icon_dead = "plum-dead"
+ genes = list(/datum/plant_gene/trait/repeated_harvest)
+ reagents_add = list("nutriment" = 0.1, "vitamin" = 0.04, "plantmatter" = 0.1)
+
+/obj/item/food/grown/plum
+ seed = /obj/item/seeds/plum
+ name = "plum"
+ desc = "A poet's favorite fruit. Noice."
+ icon_state = "plum"
+ filling_color = "#F6CB0B"
+ bitesize = 4
+ tastes = list("plum" = 1)
diff --git a/code/modules/input/input.dm b/code/modules/input/input.dm
index 4600c311fb87..36aafd6a61ba 100644
--- a/code/modules/input/input.dm
+++ b/code/modules/input/input.dm
@@ -5,6 +5,8 @@
return
/datum/proc/key_loop(client/C)
+ // Sleeps in input handling are bad, because they can stall the entire subsystem indefinitely, breaking most movement. The subsystem sets waitfor=FALSE, which works around this, but we'd rather avoid the sleeps in the first place.
+ SHOULD_NOT_SLEEP(TRUE)
return
/client/key_loop()
diff --git a/code/modules/instruments/objs/items/headphones.dm b/code/modules/instruments/objs/items/headphones.dm
index 8ea5c4b12e45..32373c5afb4d 100644
--- a/code/modules/instruments/objs/items/headphones.dm
+++ b/code/modules/instruments/objs/items/headphones.dm
@@ -23,9 +23,17 @@
/obj/item/clothing/ears/headphones/ui_action_click(mob/user, actiontype)
if(actiontype == /datum/action/item_action/change_headphones_song)
ui_interact(user)
- else
- on = !on
- update_icon(UPDATE_ICON_STATE)
+ else if(actiontype == /datum/action/item_action/toggle_music_notes)
+ toggle_visual_notes(user)
+
+ for(var/X in actions)
+ var/datum/action/A = X
+ A.UpdateButtons()
+
+/obj/item/clothing/ears/headphones/proc/toggle_visual_notes(mob/user)
+ on = !on
+ update_icon(UPDATE_ICON_STATE)
+ user.regenerate_icons()
/obj/item/clothing/ears/headphones/ui_data(mob/user)
return song.ui_data(user)
diff --git a/code/modules/lavaland/caves_theme.dm b/code/modules/lavaland/caves_theme.dm
new file mode 100644
index 000000000000..6a47985fcf41
--- /dev/null
+++ b/code/modules/lavaland/caves_theme.dm
@@ -0,0 +1,214 @@
+/// Approximate lower bound of the walkable land area on Lavaland, north of the southern lava border.
+#define LAVALAND_MIN_CAVE_Y 10
+/// Approximate upper bound of the walkable land area on Lavaland, south of the Legion entrance.
+#define LAVALAND_MAX_CAVE_Y 222
+
+#define SPAWN_MEGAFAUNA "bluh bluh huge boss"
+
+/// Effective probability modifier for spawning flora and fauna in oases.
+#define OASIS_SPAWNER_PROB_MODIFIER 43
+
+GLOBAL_LIST_INIT(megafauna_spawn_list, list(
+ /mob/living/simple_animal/hostile/megafauna/dragon = 4,
+ /mob/living/simple_animal/hostile/megafauna/colossus = 2,
+ /mob/living/simple_animal/hostile/megafauna/bubblegum = 6,
+ /mob/living/simple_animal/hostile/megafauna/ancient_robot = 4,
+))
+
+GLOBAL_LIST_INIT(caves_default_mob_spawns, list(
+ /obj/effect/landmark/mob_spawner/abandoned_minebot = 6,
+ /obj/effect/landmark/mob_spawner/goldgrub = 10,
+ /obj/effect/landmark/mob_spawner/goliath = 50,
+ /obj/effect/landmark/mob_spawner/gutlunch = 4,
+ /obj/effect/landmark/mob_spawner/legion = 30,
+ /obj/effect/landmark/mob_spawner/watcher = 40,
+
+ /obj/structure/spawner/lavaland = 2,
+ /obj/structure/spawner/lavaland/goliath = 3,
+ /obj/structure/spawner/lavaland/legion = 3,
+
+ SPAWN_MEGAFAUNA = 6,
+))
+
+GLOBAL_LIST_INIT(caves_default_flora_spawns, list(
+ /obj/structure/flora/ash/cacti = 1,
+ /obj/structure/flora/ash/cap_shroom = 2,
+ /obj/structure/flora/ash/leaf_shroom = 2,
+ /obj/structure/flora/ash/rock/style_random = 1,
+ /obj/structure/flora/ash/stem_shroom = 2,
+ /obj/structure/flora/ash/tall_shroom = 2,
+))
+
+/proc/lavaland_caves_spawn_mob(turf/T, mob_scan_range = 12, megafauna_scan_range = 7)
+ var/mob_spawn = pickweight(GLOB.caves_default_mob_spawns)
+
+ while(mob_spawn == SPAWN_MEGAFAUNA)
+ if(istype(get_area(T), /area/lavaland/surface/outdoors/unexplored/danger)) //this is danger. it's boss time.
+ mob_spawn = pickweight(GLOB.megafauna_spawn_list)
+ else //this is not danger, don't spawn a boss, spawn something else
+ mob_spawn = pickweight(GLOB.caves_default_mob_spawns)
+
+ for(var/thing in urange(mob_scan_range, T))
+ if(!(ishostile(thing) || istype(thing, /obj/structure/spawner) || istype(thing, /obj/effect/landmark/mob_spawner)))
+ continue
+ // don't spawn a megafauna if there's already one within view
+ if((ispath(mob_spawn, /mob/living/simple_animal/hostile/megafauna) || ismegafauna(thing)) && (get_dist(T, thing) <= megafauna_scan_range))
+ return
+ // if the random is a standard mob, avoid spawning if there's another one within the scan range
+ if(ispath(mob_spawn, /obj/effect/landmark/mob_spawner) && istype(thing, /obj/effect/landmark/mob_spawner))
+ return
+ // prevents tendrils spawning in each other's collapse range
+ if((ispath(mob_spawn, /obj/structure/spawner/lavaland) && istype(thing, /obj/structure/spawner/lavaland)) && get_dist(T, thing) <= LAVALAND_TENDRIL_COLLAPSE_RANGE)
+ return
+
+ // there can be only one bubblegum, so don't waste spawns on it
+ if(ispath(mob_spawn, /mob/living/simple_animal/hostile/megafauna/bubblegum))
+ GLOB.megafauna_spawn_list.Remove(mob_spawn)
+
+ // same as above, we do not want multiple of these robots
+ if(ispath(mob_spawn, /mob/living/simple_animal/hostile/megafauna/ancient_robot))
+ GLOB.megafauna_spawn_list.Remove(mob_spawn)
+
+ new mob_spawn(T)
+ SSblackbox.record_feedback("tally", "lavaland_mob_spawns", 1, "[mob_spawn]")
+
+/proc/lavaland_caves_spawn_flora(turf/T)
+ var/flora_spawn = pickweight(GLOB.caves_default_flora_spawns)
+ for(var/obj/structure/flora/ash/F in range(4, T)) //Allows for growing patches, but not ridiculous stacks of flora
+ if(!istype(F, flora_spawn))
+ return
+ new flora_spawn(T)
+
+/datum/caves_theme
+ var/name = "Not Specified"
+
+ var/seed
+ var/perlin_accuracy = 5
+ var/perlin_stamp_size = 10
+ var/perlin_lower_range = 0
+ var/perlin_upper_range = 0.3
+
+/datum/caves_theme/New()
+ seed = rand(1, 999999)
+
+/datum/caves_theme/proc/setup()
+ var/result = rustg_dbp_generate("[seed]", "[perlin_accuracy]", "[perlin_stamp_size]", "[world.maxx]", "[perlin_lower_range]", "[perlin_upper_range]")
+ var/z = level_name_to_num(MINING)
+ for(var/turf/T in block(1, 1, z, world.maxx, world.maxy, z))
+ if(!istype(get_area(T), /area/lavaland/surface/outdoors/unexplored))
+ continue
+ if(!istype(T, /turf/simulated/mineral))
+ continue
+ var/c = result[world.maxx * (T.y - 1) + T.x]
+ if(c == "1")
+ T.ChangeTurf(/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface)
+ on_change(T)
+
+ CHECK_TICK
+
+/datum/caves_theme/proc/on_change(turf/T)
+ if(prob(2))
+ lavaland_caves_spawn_flora(T)
+ else if(prob(1))
+ lavaland_caves_spawn_mob(T)
+
+/datum/caves_theme/proc/safe_replace(turf/T)
+ if(T.flags & NO_LAVA_GEN)
+ return FALSE
+ if(!istype(get_area(T), /area/lavaland/surface/outdoors/unexplored))
+ return FALSE
+ if(istype(T, /turf/simulated/floor/chasm))
+ return FALSE
+ if(istype(T, /turf/simulated/floor/lava/lava_land_surface))
+ return FALSE
+ if(istype(T, /turf/simulated/floor/lava/mapping_lava))
+ return FALSE
+
+ return TRUE
+
+/datum/caves_theme/classic
+ name = "Classic Caves"
+
+/datum/caves_theme/burrows
+ name = "Blocked Burrows"
+ perlin_accuracy = 90
+ perlin_stamp_size = 7
+ perlin_lower_range = 0
+ perlin_upper_range = 0.3
+
+/datum/caves_theme/burrows/on_change(turf/T)
+ if(prob(9))
+ new /obj/structure/flora/ash/rock/style_random(T)
+ else if(prob(5))
+ lavaland_caves_spawn_flora(T)
+ else if(prob(1))
+ lavaland_caves_spawn_mob(T)
+
+/datum/caves_theme/deeprock/proc/maybe_make_room(turf/T)
+ if(rand(1, 150) != 1)
+ return
+
+ for(var/turf/oasis_centroid in oasis_centroids)
+ if(get_dist(T, oasis_centroid) < oasis_padding)
+ return
+
+ oasis_centroids |= T
+ var/new_scan_range = rand(4, 7)
+ var/tempradius = rand(10, 15)
+ var/probmodifer = OASIS_SPAWNER_PROB_MODIFIER * tempradius
+ var/list/oasis_turfs = list()
+ for(var/turf/NT in circlerangeturfs(T, tempradius))
+ var/distance = (max(get_dist(T, NT), 1)) //Get dist throws -1 if same turf
+ if(safe_replace(NT) && prob(min(probmodifer / distance, 100)))
+ var/turf/changed = NT.ChangeTurf(/turf/simulated/floor/plating/asteroid/basalt/lava_land_surface)
+ if(prob(5))
+ lavaland_caves_spawn_mob(changed, new_scan_range, new_scan_range)
+ else if(prob(10))
+ lavaland_caves_spawn_flora(changed)
+ oasis_turfs |= NT
+
+ if(prob(50))
+ tempradius = round(tempradius / 3)
+ var/oasis_laketype = pickweight(lake_weights)
+ if(oasis_laketype == /turf/simulated/floor/plating/asteroid)
+ new /obj/effect/spawner/oasisrock(T, tempradius)
+ for(var/turf/oasis in circlerangeturfs(T, tempradius))
+ if(safe_replace(oasis))
+ oasis.ChangeTurf(oasis_laketype)
+ oasis_turfs -= oasis
+
+ // Move tendrils out of the oasis
+ for(var/obj/structure/spawner/lavaland/O in circlerange(T, tempradius))
+ O.forceMove(pick_n_take(oasis_turfs))
+
+ return T
+
+/datum/caves_theme/deeprock
+ name = "Deadly Deeprock"
+ perlin_stamp_size = 12
+ perlin_lower_range = 0
+ perlin_upper_range = 0.2
+ var/oasis_padding = 50
+ var/list/oasis_centroids = list()
+ var/lake_weights = list(
+ /turf/simulated/floor/lava/lava_land_surface = 4,
+ /turf/simulated/floor/lava/lava_land_surface/plasma = 4,
+ /turf/simulated/floor/chasm/straight_down/lava_land_surface = 4,
+ /turf/simulated/floor/lava/mapping_lava = 6,
+ /turf/simulated/floor/beach/away/water/lavaland_air = 1,
+ /turf/simulated/floor/plating/asteroid = 1
+ )
+
+/datum/caves_theme/deeprock/on_change(turf/T)
+ maybe_make_room(T)
+ if(prob(3))
+ lavaland_caves_spawn_flora(T)
+ else if(prob(2))
+ lavaland_caves_spawn_mob(T)
+
+
+#undef OASIS_SPAWNER_PROB_MODIFIER
+#undef SPAWN_MEGAFAUNA
+
+#undef LAVALAND_MIN_CAVE_Y
+#undef LAVALAND_MAX_CAVE_Y
diff --git a/code/modules/lavaland/lavaland_theme.dm b/code/modules/lavaland/lavaland_theme.dm
index 20dfdecb38ae..08ce4d374a78 100644
--- a/code/modules/lavaland/lavaland_theme.dm
+++ b/code/modules/lavaland/lavaland_theme.dm
@@ -1,8 +1,3 @@
-/// Approximate lower bound of the walkable land area on Lavaland, north of the southern lava border.
-#define LAVALAND_MIN_CAVE_Y 10
-/// Approximate upper bound of the walkable land area on Lavaland, south of the Legion entrance.
-#define LAVALAND_MAX_CAVE_Y 222
-
/datum/lavaland_theme
/// Name of lavaland theme
var/name = "Not Specified"
@@ -17,20 +12,6 @@
else if(!ispath(primary_turf_type))
stack_trace("Wrong turf type `[primary_turf_type.type]` in `[type]` lavaland theme")
-/datum/lavaland_theme/proc/setup_caves()
- var/max_attempts = 100
- var/max_cave_spawns = 40
- var/z = level_name_to_num(MINING)
- while(max_attempts > 0 && max_cave_spawns > 0)
- var/x = rand(1, world.maxx)
- var/y = rand(LAVALAND_MIN_CAVE_Y, LAVALAND_MAX_CAVE_Y)
- var/turf/next_turf = locate(x, y, z)
- var/area/next_area = get_area(next_turf)
- if(istype(next_turf, /turf/simulated/mineral/random/volcanic) && istype(next_area, /area/lavaland/surface/outdoors/unexplored/danger))
- next_turf.ChangeTurf(/turf/simulated/floor/plating/asteroid/airless/cave/volcanic, FALSE, TRUE, TRUE)
- max_cave_spawns--
- max_attempts--
-
/**
* This proc should do all theme specific thing.
* Now it only generates rivers, but it can do all stuff you desire.
@@ -66,5 +47,3 @@
var/datum/river_spawner/spawner = new(level_name_to_num(MINING), spread_prob_ = 10, spread_prob_loss_ = 5)
spawner.generate(nodes = 6, min_x = 50, min_y = 7, max_x = 250, max_y = 225)
-#undef LAVALAND_MIN_CAVE_Y
-#undef LAVALAND_MAX_CAVE_Y
diff --git a/code/modules/lighting/lighting_atom.dm b/code/modules/lighting/lighting_atom.dm
index 89757f89d5e3..b3578178ab32 100644
--- a/code/modules/lighting/lighting_atom.dm
+++ b/code/modules/lighting/lighting_atom.dm
@@ -99,8 +99,11 @@
cut_overlay(exposure_overlay)
if(glow_icon && glow_icon_state)
- glow_overlay = image(icon = glow_icon, icon_state = glow_icon_state, dir = dir, layer = 1)
- glow_overlay.plane = LIGHTING_LAMPS_PLANE
+ glow_overlay = image(icon = glow_icon, icon_state = glow_icon_state, dir = dir, layer = -2)
+ if(layer <= LOW_OBJ_LAYER)
+ glow_overlay.plane = FLOOR_LIGHTING_LAMPS_PLANE // Yeah this sucks
+ else
+ glow_overlay.plane = LIGHTING_LAMPS_PLANE
glow_overlay.blend_mode = BLEND_ADD
if(glow_colored)
diff --git a/code/modules/lighting/lighting_emissive_blocker.dm b/code/modules/lighting/lighting_emissive_blocker.dm
index b2102dea8b09..6eb46cbdad8a 100644
--- a/code/modules/lighting/lighting_emissive_blocker.dm
+++ b/code/modules/lighting/lighting_emissive_blocker.dm
@@ -11,6 +11,7 @@
layer = FLOAT_LAYER
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
appearance_flags = EMISSIVE_APPEARANCE_FLAGS
+ flags_2 = RAD_NO_CONTAMINATE_2
/atom/movable/emissive_blocker/Initialize(mapload, source)
. = ..()
diff --git a/code/modules/lighting/lighting_turf.dm b/code/modules/lighting/lighting_turf.dm
index 0ab81a99f7ca..a0c39b80da3a 100644
--- a/code/modules/lighting/lighting_turf.dm
+++ b/code/modules/lighting/lighting_turf.dm
@@ -98,6 +98,8 @@
lighting_build_overlay()
else
lighting_clear_overlay()
+ for(var/obj/machinery/machine in contents)
+ machine.reregister_machine()
/turf/proc/generate_missing_corners()
if(!IS_DYNAMIC_LIGHTING(src) && !light_sources)
diff --git a/code/modules/mapping/base_map_datum.dm b/code/modules/mapping/base_map_datum.dm
index 0fff760c7c05..9ea1d428c429 100644
--- a/code/modules/mapping/base_map_datum.dm
+++ b/code/modules/mapping/base_map_datum.dm
@@ -18,3 +18,5 @@
var/voteable = TRUE
/// Minimum amount of players required for this map to be eligible in random map picks.
var/min_players_random = 0
+ /// Sound to play at the start of the game, aka the welcoming sound
+ var/welcome_sound = 'sound/AI/welcome.ogg'
diff --git a/code/modules/mapping/station_datums.dm b/code/modules/mapping/station_datums.dm
index ceecd3d0dfa9..b74e7d5c3e0a 100644
--- a/code/modules/mapping/station_datums.dm
+++ b/code/modules/mapping/station_datums.dm
@@ -3,18 +3,21 @@
technical_name = "Cyberiad"
map_path = "_maps/map_files/stations/boxstation.dmm"
webmap_url = "https://webmap.affectedarc07.co.uk/maps/paradise/cyberiad/"
+ welcome_sound = 'sound/AI/welcome_cyberiad.ogg'
/datum/map/metastation
fluff_name = "NSS Cerebron"
technical_name = "MetaStation"
map_path = "_maps/map_files/stations/metastation.dmm"
webmap_url = "https://webmap.affectedarc07.co.uk/maps/paradise/metastation/"
+ welcome_sound = 'sound/AI/welcome_cerebron.ogg'
/datum/map/deltastation
fluff_name = "NSS Kerberos"
technical_name = "Delta"
map_path = "_maps/map_files/stations/deltastation.dmm"
webmap_url = "https://webmap.affectedarc07.co.uk/maps/paradise/deltastation/"
+ welcome_sound = 'sound/AI/welcome_kerberos.ogg'
/datum/map/cerestation
fluff_name = "NSS Farragus"
@@ -22,12 +25,14 @@
map_path = "_maps/map_files/stations/cerestation.dmm"
webmap_url = "https://webmap.affectedarc07.co.uk/maps/paradise/cerestation/"
min_players_random = 60
+ welcome_sound = 'sound/AI/welcome_farragus.ogg'
/datum/map/emeraldstation
fluff_name = "NSS Diagoras"
technical_name = "EmeraldStation"
map_path = "_maps/map_files/stations/emeraldstation.dmm"
webmap_url = "https://affectedarc07.co.uk/emerald.html"
+ welcome_sound = 'sound/AI/welcome_diagoras.ogg'
/datum/map/test_tiny
fluff_name = "test_tiny"
diff --git a/code/modules/martial_arts/bearserk.dm b/code/modules/martial_arts/bearserk.dm
index 68d2454c0481..bfd1becf1065 100644
--- a/code/modules/martial_arts/bearserk.dm
+++ b/code/modules/martial_arts/bearserk.dm
@@ -56,7 +56,7 @@
var/mob/living/carbon/human/H = user
if(slot == SLOT_HUD_HEAD)
style.teach(H, TRUE)
- H.faction |= "russian" // Russian Hardbass Begins
+ H.faction |= "soviet"
H.physiology.stun_mod *= 0.80
ADD_TRAIT(H, TRAIT_RESISTHEAT, "bearserk")
@@ -67,7 +67,7 @@
var/mob/living/carbon/human/H = user
if(H.get_item_by_slot(SLOT_HUD_HEAD) == src)
style.remove(H)
- H.faction -= "russian" // Hardbass stops
+ H.faction -= "soviet"
H.physiology.stun_mod /= 0.80
REMOVE_TRAIT (H, TRAIT_RESISTHEAT, "bearserk")
@@ -75,4 +75,4 @@
. = ..()
if(isAntag(user))
. += "Wearing this armored pelt grants you the strength of the space bear. \
- It also makes wild bears and Russians neutral towards you. "
+ It also makes wild bears and wild communists neutral towards you. "
diff --git a/code/modules/martial_arts/combos/judo/judothrow.dm b/code/modules/martial_arts/combos/judo/judothrow.dm
index 4939dead2e61..4c1a5146361f 100644
--- a/code/modules/martial_arts/combos/judo/judothrow.dm
+++ b/code/modules/martial_arts/combos/judo/judothrow.dm
@@ -4,7 +4,7 @@
explaination_text = "Establish a gripset on your opponent and throw them to the floor, inflicting stamina damage"
combo_text_override = "Grab, Disarm"
/datum/martial_combo/judo/judothrow/perform_combo(mob/living/carbon/human/user, mob/living/target, datum/martial_art/MA)
- if(user.IsKnockedDown() || IS_HORIZONTAL(target))
+ if(IS_HORIZONTAL(user) || IS_HORIZONTAL(target))
return MARTIAL_COMBO_FAIL
target.visible_message("[user] judo throws [target] to ground! ", \
"[user] judo throws you to the ground! ")
diff --git a/code/modules/martial_arts/judo.dm b/code/modules/martial_arts/judo.dm
index 96af7e0996c1..2e2e9b3c66d4 100644
--- a/code/modules/martial_arts/judo.dm
+++ b/code/modules/martial_arts/judo.dm
@@ -19,9 +19,10 @@
item_state = "judo"
w_class = WEIGHT_CLASS_BULKY
storage_slots = 3
- max_combined_w_class = 6
+ max_combined_w_class = 7
var/datum/martial_art/judo/style
can_hold = list(
+ /obj/item/radio,
/obj/item/grenade/flashbang,
/obj/item/grenade/chem_grenade/teargas,
/obj/item/reagent_containers/spray/pepper,
@@ -75,11 +76,6 @@
add_attack_logs(A, D, "Melee attacked with [src]")
return TRUE
-/datum/martial_art/judo/grab_act(mob/living/carbon/human/attacker, mob/living/carbon/human/defender)
- if(IS_HORIZONTAL(attacker))
- return FALSE
- return ..()
-
/datum/martial_art/judo/explaination_header(user)
to_chat(user, "You recall the teachings of Corporate Judo. ")
diff --git a/code/modules/maze_generation/maze_generator.dm b/code/modules/maze_generation/maze_generator.dm
index 7891393482f9..234cce94a8fc 100644
--- a/code/modules/maze_generation/maze_generator.dm
+++ b/code/modules/maze_generation/maze_generator.dm
@@ -162,7 +162,6 @@
// Gather the windows. If a spot has 3 windows on it, its a dead end
var/windowcount = 0
for(var/obj/structure/window/reinforced/mazeglass/W in T)
- pass(W) // Stops DM whining about unused vars
windowcount++
CHECK_TICK
diff --git a/code/modules/mining/equipment/wormhole_jaunter.dm b/code/modules/mining/equipment/wormhole_jaunter.dm
index 5d3911d07f35..f82264900213 100644
--- a/code/modules/mining/equipment/wormhole_jaunter.dm
+++ b/code/modules/mining/equipment/wormhole_jaunter.dm
@@ -20,7 +20,8 @@ GLOBAL_LIST_EMPTY(wormhole_effect)
/obj/item/wormhole_jaunter/proc/turf_check(mob/user)
var/turf/device_turf = get_turf(user)
- if(!device_turf || !is_teleport_allowed(device_turf.z))
+ var/area/our_area = get_area(device_turf)
+ if(!device_turf || !is_teleport_allowed(device_turf.z) || our_area.tele_proof)
to_chat(user, "You're having difficulties getting the [name] to work. ")
return FALSE
return TRUE
@@ -201,13 +202,18 @@ GLOBAL_LIST_EMPTY(wormhole_effect)
thrower = user
/obj/item/grenade/jaunter_grenade/prime()
+ var/area/our_area = get_area(src)
+ var/turf/T = get_turf(src)
+ if(!is_teleport_allowed(T.z) || our_area.tele_proof)
+ do_sparks(5, 0, T)
+ qdel(src)
+ return
update_mob()
var/list/destinations = list()
for(var/obj/item/beacon/B in GLOB.beacons)
var/turf/BT = get_turf(B)
if(is_station_level(BT.z))
destinations += BT
- var/turf/T = get_turf(src)
if(istype(T, /turf/simulated/floor/chasm/straight_down/lava_land_surface))
for(var/obj/effect/abstract/chasm_storage/C in T)
var/found_mob = FALSE
diff --git a/code/modules/mining/fulton.dm b/code/modules/mining/fulton.dm
index 12cb30ef9c66..66e473e25bf2 100644
--- a/code/modules/mining/fulton.dm
+++ b/code/modules/mining/fulton.dm
@@ -48,6 +48,9 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
if(!area.outdoors)
to_chat(user, "[src] can only be used on things that are outdoors! ")
return
+ if(area.tele_proof || !is_teleport_allowed(A.z))
+ to_chat(user, "Bluespace distortions prevent the fulton from inflating! ")
+ return
if(!flag)
return
if(!istype(A))
diff --git a/code/modules/mining/machine_vending.dm b/code/modules/mining/machine_vending.dm
index d7c5720588eb..f476be923f9f 100644
--- a/code/modules/mining/machine_vending.dm
+++ b/code/modules/mining/machine_vending.dm
@@ -31,33 +31,39 @@
prize_list["Gear"] = list(
EQUIPMENT("Advanced Scanner", /obj/item/t_scanner/adv_mining_scanner, 800),
EQUIPMENT("Explorer's Webbing", /obj/item/storage/belt/mining, 500),
- EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 400),
EQUIPMENT("Mining Conscription Kit", /obj/item/storage/backpack/duffel/mining_conscript, 1500),
- EQUIPMENT("Advanced Jetpack Module", /obj/item/mod/module/jetpack/advanced, 2000),
EQUIPMENT("Jump Boots", /obj/item/clothing/shoes/bhop, 2500),
EQUIPMENT("Lazarus Capsule", /obj/item/mobcapsule, 800),
EQUIPMENT("Lazarus Capsule belt", /obj/item/storage/belt/lazarus, 200),
+ EQUIPMENT("Tracking Bio-chip Kit", /obj/item/storage/box/minertracker, 600),
+ )
+ prize_list["Modsuits and Exosuits"] = list(
+ EQUIPMENT("Standard MODsuit", /obj/item/mod/control/pre_equipped/standard/explorer, 1000),
+ EQUIPMENT("Advanced Jetpack Module", /obj/item/mod/module/jetpack/advanced, 2000),
EQUIPMENT("Mining MODsuit", /obj/item/mod/control/pre_equipped/mining/vendor, 3500),
EQUIPMENT("Asteroid MODsuit Skin", /obj/item/mod/skin_applier/asteroid, 1000),
- EQUIPMENT("Tracking Bio-chip Kit", /obj/item/storage/box/minertracker, 600),
- EQUIPMENT("Mining Charge Detonator", /obj/item/detonator, 150)
+ EQUIPMENT("Exosuit Grenade Launcher", /obj/item/mecha_parts/mecha_equipment/weapon/energy/mining_grenade, 2500),
)
prize_list["Consumables"] = list(
EQUIPMENT("10 Marker Beacons", /obj/item/stack/marker_beacon/ten, 100),
- EQUIPMENT("Brute First-Aid Kit", /obj/item/storage/firstaid/brute, 600),
+ EQUIPMENT("First-Aid Kit", /obj/item/storage/firstaid/regular, 400),
+ EQUIPMENT("Advanced First-Aid Kit", /obj/item/storage/firstaid/adv, 600),
EQUIPMENT("Fulton Pack", /obj/item/extraction_pack, 1000),
+ EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 400),
EQUIPMENT("Jaunter", /obj/item/wormhole_jaunter, 750),
EQUIPMENT("Chasm Jaunter Recovery Grenade", /obj/item/grenade/jaunter_grenade, 1500),
EQUIPMENT("Lazarus Injector", /obj/item/lazarus_injector, 1000),
EQUIPMENT("Mining Charge", /obj/item/grenade/plastic/miningcharge/lesser, 150),
EQUIPMENT("Industrial Mining Charge", /obj/item/grenade/plastic/miningcharge, 500),
- EQUIPMENT("Point Transfer Card", /obj/item/card/mining_point_card, 500),
+ EQUIPMENT("Mining Charge Detonator", /obj/item/detonator, 150),
EQUIPMENT("Shelter Capsule", /obj/item/survivalcapsule, 400),
+ EQUIPMENT("Luxury Shelter Capsule", /obj/item/survivalcapsule/luxury, 3000),
EQUIPMENT("Stabilizing Serum", /obj/item/hivelordstabilizer, 400),
EQUIPMENT("Survival Medipen", /obj/item/reagent_containers/hypospray/autoinjector/survival, 500),
)
- prize_list["Kinetic Accelerator"] = list(
+ prize_list["Kinetic Weapons"] = list(
EQUIPMENT("Kinetic Accelerator", /obj/item/gun/energy/kinetic_accelerator, 750),
+ EQUIPMENT("Kinetic Crusher", /obj/item/kinetic_crusher, 750),
EQUIPMENT("KA Adjustable Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer/adjustable, 150),
EQUIPMENT("KA AoE Damage", /obj/item/borg/upgrade/modkit/aoe/mobs, 2000),
EQUIPMENT("KA Cooldown Decrease", /obj/item/borg/upgrade/modkit/cooldown, 1000),
@@ -69,13 +75,10 @@
EQUIPMENT("KA White Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer, 100),
)
prize_list["Digging Tools"] = list(
+ EQUIPMENT("Silver Pickaxe", /obj/item/pickaxe/silver, 1000),
EQUIPMENT("Diamond Pickaxe", /obj/item/pickaxe/diamond, 2000),
- EQUIPMENT("Kinetic Accelerator", /obj/item/gun/energy/kinetic_accelerator, 750),
- EQUIPMENT("Kinetic Crusher", /obj/item/kinetic_crusher, 750),
- EQUIPMENT("Mecha Grenade Launcher", /obj/item/mecha_parts/mecha_equipment/weapon/energy/mining_grenade, 2500),
EQUIPMENT("Resonator", /obj/item/resonator, 800),
- EQUIPMENT("Silver Pickaxe", /obj/item/pickaxe/silver, 1000),
- EQUIPMENT("Super Resonator", /obj/item/resonator/upgraded, 2500),
+ EQUIPMENT("Super Resonator", /obj/item/resonator/upgraded, 1500),
)
prize_list["Minebot"] = list(
EQUIPMENT("Nanotrasen Minebot", /obj/item/mining_drone_cube, 800),
@@ -92,10 +95,11 @@
EQUIPMENT("Hoverboard", /obj/item/melee/skateboard/hoverboard, 4000), //Cross lava rivers in a discounted style. To buying it in cargo. Still more than jump boots.
EQUIPMENT("HRD-MDE Project Box", /obj/item/storage/box/hardmode_box, 3500), //I want miners have to pay a lot to get this, but be set once they do.
EQUIPMENT("Laser Pointer", /obj/item/laser_pointer, 300),
- EQUIPMENT("Luxury Shelter Capsule", /obj/item/survivalcapsule/luxury, 3000),
+ EQUIPMENT("The Real Man ID Sticker", /obj/item/id_decal/prisoner, 400),
+ EQUIPMENT("Mythril Coin", /obj/item/coin/mythril, 100),
EQUIPMENT("Soap", /obj/item/soap/nanotrasen, 200),
EQUIPMENT("Space Cash", /obj/item/stack/spacecash/c200, 2000),
- EQUIPMENT("Whiskey", /obj/item/reagent_containers/drinks/bottle/whiskey, 100)
+ EQUIPMENT("Point Transfer Card", /obj/item/card/mining_point_card, 500),
)
prize_list["Extra"] = list() // Used in child vendors
@@ -383,37 +387,37 @@
RefreshParts()
prize_list = list()
- prize_list["Equipment"] = list(
+ prize_list["Gear"] = list(
EQUIPMENT("Advanced Scanner", /obj/item/t_scanner/adv_mining_scanner, 800),
- EQUIPMENT("Tacticool Toolbelt", /obj/item/storage/belt/utility/expedition, 500),
- EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 400),
+ EQUIPMENT("Tacticool Toolbelt", /obj/item/storage/belt/utility/expedition/vendor, 500),
EQUIPMENT("GPS", /obj/item/gps, 200),
EQUIPMENT("Treasure Satchel", /obj/item/storage/bag/expedition, 100),
- EQUIPMENT ("Robust Treasure Satchel", /obj/item/storage/bag/expedition/robust, 300),
+ EQUIPMENT("Robust Treasure Satchel", /obj/item/storage/bag/expedition/robust, 300),
EQUIPMENT("Tracking Bio-chip Kit", /obj/item/storage/box/minertracker, 600),
EQUIPMENT("Telecommunications Relay Kit", /obj/item/storage/box/relay_kit, 500),
EQUIPMENT("Tracking Beacon", /obj/item/beacon, 200),
)
- prize_list["Modsuits"] = list(
+ prize_list["Modsuits and Exosuits"] = list(
EQUIPMENT("Standard MODsuit", /obj/item/mod/control/pre_equipped/standard/explorer, 1000),
EQUIPMENT("Advanced Jetpack Module", /obj/item/mod/module/jetpack/advanced, 2000),
- EQUIPMENT("Night Vision Module", /obj/item/mod/module/visor/night, 1500),
- EQUIPMENT("Clamp Module", /obj/item/mod/module/clamp, 500),
- EQUIPMENT("GPS Module", /obj/item/mod/module/gps, 500),
+ EQUIPMENT("Exosuit Jetpack Module", /obj/item/mecha_parts/mecha_equipment/thrusters, 1500), // they stack up, so put 3-4 for FTL speed.
EQUIPMENT("Mining MODsuit", /obj/item/mod/control/pre_equipped/mining/vendor, 3500),
EQUIPMENT("Asteroid MODsuit Skin", /obj/item/mod/skin_applier/asteroid, 1000),
+ EQUIPMENT("Exosuit Grenade Launcher", /obj/item/mecha_parts/mecha_equipment/weapon/energy/mining_grenade, 2500)
)
prize_list["Consumables"] = list(
EQUIPMENT("First-Aid Kit", /obj/item/storage/firstaid/regular, 400),
EQUIPMENT("Advanced First-Aid Kit", /obj/item/storage/firstaid/adv, 600),
EQUIPMENT("Fulton Pack", /obj/item/extraction_pack, 1000),
- EQUIPMENT("Point Transfer Card", /obj/item/card/mining_point_card, 500),
+ EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 400),
EQUIPMENT("Stabilizing Serum", /obj/item/hivelordstabilizer, 400),
+ EQUIPMENT("Survival Medipen", /obj/item/reagent_containers/hypospray/autoinjector/survival, 500),
)
- prize_list["Kinetic Accelerator"] = list(
- EQUIPMENT("Kinetic Pistol", /obj/item/gun/energy/kinetic_accelerator/pistol, 750),
+ prize_list["Kinetic Weapons"] = list(
+ EQUIPMENT("Kinetic Accelerator", /obj/item/gun/energy/kinetic_accelerator, 750),
+ EQUIPMENT("Kinetic Pistol", /obj/item/gun/energy/kinetic_accelerator/pistol, 500),
EQUIPMENT("KA Adjustable Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer/adjustable, 150),
EQUIPMENT("KA AoE Damage", /obj/item/borg/upgrade/modkit/aoe/mobs, 2000),
EQUIPMENT("KA Cooldown Decrease", /obj/item/borg/upgrade/modkit/cooldown, 1000),
@@ -425,6 +429,7 @@
)
prize_list["Miscellaneous"] = list(
+ EQUIPMENT("Whiskey", /obj/item/reagent_containers/drinks/bottle/whiskey, 100),
EQUIPMENT("Alien Toy", /obj/item/clothing/mask/facehugger/toy, 300),
EQUIPMENT("Toy Sword", /obj/item/toy/sword, 200),
EQUIPMENT("Cigar", /obj/item/clothing/mask/cigarette/cigar/havana, 150),
@@ -432,6 +437,7 @@
EQUIPMENT("Suspicious ID Sticker", /obj/item/id_decal/emag, 400),
EQUIPMENT("Syndicate Coin", /obj/item/coin/antagtoken/syndicate, 100),
EQUIPMENT("Space Cash", /obj/item/stack/spacecash/c200, 2000),
+ EQUIPMENT("Point Transfer Card", /obj/item/card/mining_point_card, 500),
)
/obj/machinery/mineral/equipment_vendor/explorer/attackby(obj/item/I, mob/user, params)
diff --git a/code/modules/mob/dead/observer/orbit.dm b/code/modules/mob/dead/observer/orbit.dm
index 1d0a465f01b4..fb50bc42bae8 100644
--- a/code/modules/mob/dead/observer/orbit.dm
+++ b/code/modules/mob/dead/observer/orbit.dm
@@ -121,7 +121,8 @@ GLOBAL_DATUM_INIT(orbit_menu, /datum/orbit_menu, new)
other_antags += list(
"Blob" = (mind.special_role == SPECIAL_ROLE_BLOB),
"Nuclear Operative" = (mind in SSticker.mode.syndicates),
- "Abductor" = (mind in SSticker.mode.abductors)
+ "Abductor" = (mind in SSticker.mode.abductors),
+ "Event Roles" = (mind.special_role == SPECIAL_ROLE_EVENTMISC)
)
for(var/antag_name in other_antags)
diff --git a/code/modules/mob/living/carbon/alien/special/facehugger.dm b/code/modules/mob/living/carbon/alien/special/facehugger.dm
index 4b54760533a7..191ae6906660 100644
--- a/code/modules/mob/living/carbon/alien/special/facehugger.dm
+++ b/code/modules/mob/living/carbon/alien/special/facehugger.dm
@@ -203,7 +203,7 @@
icon_state = "[initial(icon_state)]_dead"
item_state = "facehugger_inactive"
stat = DEAD
- qdel(GetComponent(/datum/component/proximity_monitor))
+ DeleteComponent(/datum/component/proximity_monitor)
visible_message("[src] curls up into a ball! ")
diff --git a/code/modules/mob/living/carbon/carbon_procs.dm b/code/modules/mob/living/carbon/carbon_procs.dm
index 8f9694118a56..f162a4b69fe4 100644
--- a/code/modules/mob/living/carbon/carbon_procs.dm
+++ b/code/modules/mob/living/carbon/carbon_procs.dm
@@ -738,7 +738,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
else if(I == handcuffed)
handcuffed = null
if(buckled && buckled.buckle_requires_restraints)
- buckled.unbuckle_mob(src)
+ unbuckle()
update_handcuffed()
else if(I == legcuffed)
legcuffed = null
@@ -999,7 +999,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
handcuffed = null
if(buckled && buckled.buckle_requires_restraints)
- buckled.unbuckle_mob(src)
+ unbuckle()
update_handcuffed()
if(client)
diff --git a/code/modules/mob/living/carbon/human/human_damage.dm b/code/modules/mob/living/carbon/human/human_damage.dm
index 1a3dee8c18eb..f508bc1e511f 100644
--- a/code/modules/mob/living/carbon/human/human_damage.dm
+++ b/code/modules/mob/living/carbon/human/human_damage.dm
@@ -12,6 +12,7 @@
health = maxHealth - getOxyLoss() - getToxLoss() - getCloneLoss() - total_limb_damage
+ SEND_SIGNAL(src, COMSIG_LIVING_HEALTH_UPDATE)
update_stat("updatehealth([reason])")
med_hud_set_health()
diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm
index 009b43763c8c..e1e610d7a32d 100644
--- a/code/modules/mob/living/carbon/human/human_defense.dm
+++ b/code/modules/mob/living/carbon/human/human_defense.dm
@@ -438,7 +438,12 @@ emp_act
I.acid_act(acidpwr, acid_volume)
return 1
-/mob/living/carbon/human/emag_act(user as mob, obj/item/organ/external/affecting)
+/mob/living/carbon/human/emag_act(mob/user)
+ var/obj/item/organ/external/affecting
+ if(!user.zone_selected) // pulse demons really.
+ affecting = get_organ(pick(BODY_ZONE_CHEST, BODY_ZONE_HEAD, BODY_ZONE_L_ARM, BODY_ZONE_L_LEG, BODY_ZONE_R_ARM, BODY_ZONE_R_LEG))
+ else
+ affecting = get_organ(user.zone_selected)
if(!istype(affecting))
return
if(!affecting.is_robotic())
@@ -447,9 +452,9 @@ emp_act
if(affecting.sabotaged)
to_chat(user, "[src]'s [affecting.name] is already sabotaged! ")
else
- to_chat(user, "You sneakily slide the card into the dataport on [src]'s [affecting.name] and short out the safeties. ")
+ to_chat(user, "You sneakily hack into the dataport on [src]'s [affecting.name] and short out the safeties. ")
affecting.sabotaged = TRUE
- return 1
+ return TRUE
/mob/living/carbon/human/grabbedby(mob/living/user)
if(w_uniform)
@@ -493,8 +498,6 @@ emp_act
visible_message("[src] blocks [I]! ")
return FALSE
- if(istype(I,/obj/item/card/emag))
- emag_act(user, affecting)
send_item_attack_message(I, user, hit_area)
diff --git a/code/modules/mob/living/carbon/human/human_life.dm b/code/modules/mob/living/carbon/human/human_life.dm
index ea8370b8983b..508bc0d7bea1 100644
--- a/code/modules/mob/living/carbon/human/human_life.dm
+++ b/code/modules/mob/living/carbon/human/human_life.dm
@@ -770,7 +770,7 @@
healthdoll.overlays -= (cached_overlays - new_overlays)
healthdoll.cached_healthdoll_overlays = new_overlays
- if(health <= HEALTH_THRESHOLD_CRIT)
+ if(health <= HEALTH_THRESHOLD_SUCCUMB)
throw_alert("succumb", /atom/movable/screen/alert/succumb)
else
clear_alert("succumb")
diff --git a/code/modules/mob/living/carbon/human/human_mob.dm b/code/modules/mob/living/carbon/human/human_mob.dm
index c73e1df7734b..4c914284b5c9 100644
--- a/code/modules/mob/living/carbon/human/human_mob.dm
+++ b/code/modules/mob/living/carbon/human/human_mob.dm
@@ -21,7 +21,7 @@
if(!mind)
return FALSE
if(mind.miming)
- qdel(GetComponent(/datum/component/footstep))
+ DeleteComponent(/datum/component/footstep)
return TRUE
/**
diff --git a/code/modules/mob/living/carbon/human/species/_species.dm b/code/modules/mob/living/carbon/human/species/_species.dm
index e1d27a965c6f..230ccd58bdda 100644
--- a/code/modules/mob/living/carbon/human/species/_species.dm
+++ b/code/modules/mob/living/carbon/human/species/_species.dm
@@ -586,7 +586,7 @@
if(target.anchored)
return FALSE
if(target.buckled)
- target.buckled.unbuckle_mob(target)
+ target.unbuckle()
var/shove_dir = get_dir(user.loc, target.loc)
var/turf/shove_to = get_step(target.loc, shove_dir)
diff --git a/code/modules/mob/living/carbon/human/species/golem.dm b/code/modules/mob/living/carbon/human/species/golem.dm
index 478646c32889..5c04aef27953 100644
--- a/code/modules/mob/living/carbon/human/species/golem.dm
+++ b/code/modules/mob/living/carbon/human/species/golem.dm
@@ -454,7 +454,7 @@
if(!isturf(picked))
return
if(H.buckled)
- H.buckled.unbuckle_mob(H, force = TRUE)
+ H.unbuckle(force = TRUE)
do_teleport(H, picked)
return TRUE
@@ -538,7 +538,7 @@
if(!isturf(picked))
return
if(H.buckled)
- H.buckled.unbuckle_mob(H, force = TRUE)
+ H.unbuckle(force = TRUE)
do_teleport(H, picked)
last_teleport = world.time
UpdateButtons() //action icon looks unavailable
diff --git a/code/modules/mob/living/carbon/human/species/machine.dm b/code/modules/mob/living/carbon/human/species/machine.dm
index 3ded1ca5df9c..f0e31af15d22 100644
--- a/code/modules/mob/living/carbon/human/species/machine.dm
+++ b/code/modules/mob/living/carbon/human/species/machine.dm
@@ -33,7 +33,7 @@
//Default styles for created mobs.
default_hair = "Blue IPC Screen"
dies_at_threshold = TRUE
- can_revive_by_healing = 1
+ can_revive_by_healing = TRUE
reagent_tag = PROCESS_SYN
male_scream_sound = 'sound/goonstation/voice/robot_scream.ogg'
female_scream_sound = 'sound/goonstation/voice/robot_scream.ogg'
diff --git a/code/modules/mob/living/carbon/human/species/shadow.dm b/code/modules/mob/living/carbon/human/species/shadow.dm
index 24ff15da2012..92f9f48e14c9 100644
--- a/code/modules/mob/living/carbon/human/species/shadow.dm
+++ b/code/modules/mob/living/carbon/human/species/shadow.dm
@@ -39,4 +39,7 @@
else if(light_amount < 2) //heal in the dark
H.heal_overall_damage(1, 1)
H.clear_alert("lightexposure")
+ else //we're inside an object, so darkness
+ H.clear_alert("lightexposure")
+ H.heal_overall_damage(1, 1)
..()
diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm
index a7209d9f643c..af5aa80a835d 100644
--- a/code/modules/mob/living/living.dm
+++ b/code/modules/mob/living/living.dm
@@ -293,7 +293,7 @@
if(stat == DEAD)
to_chat(src, "It's too late, you're already dead! ")
return
- if(health >= HEALTH_THRESHOLD_CRIT)
+ if(health >= HEALTH_THRESHOLD_SUCCUMB)
to_chat(src, "You are unable to succumb to death! This life continues! ")
return
@@ -307,7 +307,7 @@
if(stat == DEAD)
return
- if(health >= HEALTH_THRESHOLD_CRIT)
+ if(health >= HEALTH_THRESHOLD_SUCCUMB)
to_chat(src, "You are unable to succumb to death! This life continues! ")
return
@@ -359,6 +359,7 @@
return
health = maxHealth - getOxyLoss() - getToxLoss() - getFireLoss() - getBruteLoss() - getCloneLoss()
+ SEND_SIGNAL(src, COMSIG_LIVING_HEALTH_UPDATE)
update_stat("updatehealth([reason])")
med_hud_set_health()
med_hud_set_status()
@@ -537,7 +538,7 @@
on_fire = 0
suiciding = 0
if(buckled) //Unbuckle the mob and clear the alerts.
- buckled.unbuckle_mob(src, force = TRUE)
+ unbuckle(force = TRUE)
if(iscarbon(src))
var/mob/living/carbon/C = src
@@ -802,6 +803,10 @@
END RESIST PROCS
*///////////////////////
+/// Unbuckle the mob from whatever it is buckled to.
+/mob/living/proc/unbuckle(force)
+ buckled.unbuckle_mob(src, force)
+
/mob/living/proc/Exhaust()
to_chat(src, "You're too exhausted to keep going... ")
Weaken(10 SECONDS)
@@ -830,8 +835,7 @@
fixed = TRUE
if(on && !floating && !fixed)
animate(src, pixel_y = pixel_y + 2, time = 10, loop = -1)
- sleep(10)
- animate(src, pixel_y = pixel_y - 2, time = 10, loop = -1)
+ animate(pixel_y = pixel_y - 2, time = 10, loop = -1)
floating = TRUE
else if(((!on || fixed) && floating))
animate(src, pixel_y = get_standard_pixel_y_offset(), time = 10)
diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm
index 13b6818105d6..074081bba93f 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -265,10 +265,6 @@
// 100 volume - 20 seconds of lost sleep
AdjustSleeping(-(volume * 0.2 SECONDS), bound_lower = 1 SECONDS) // showers cannot save you from sleeping gas, 1 second lower boundary
-//This is called when the mob is thrown into a dense turf
-/mob/living/proc/turf_collision(turf/T, speed)
- src.take_organ_damage(speed*5)
-
/mob/living/proc/near_wall(direction, distance=1)
var/turf/T = get_step(get_turf(src),direction)
var/turf/last_turf = src.loc
diff --git a/code/modules/mob/living/living_defines.dm b/code/modules/mob/living/living_defines.dm
index 27e41f391a2f..2661102fef43 100644
--- a/code/modules/mob/living/living_defines.dm
+++ b/code/modules/mob/living/living_defines.dm
@@ -41,6 +41,9 @@
var/mob_biotypes = MOB_ORGANIC
var/metabolism_efficiency = 1 //more or less efficiency to metabolize helpful/harmful reagents and regulate body temperature..
+ /// movable atom we are buckled to
+ var/atom/movable/buckling
+
var/ventcrawler = VENTCRAWLER_NONE
var/list/icon/pipes_shown = list()
var/last_played_vent
diff --git a/code/modules/mob/living/silicon/robot/robot_mob.dm b/code/modules/mob/living/silicon/robot/robot_mob.dm
index ebd84809c5de..43d30fcc1b49 100644
--- a/code/modules/mob/living/silicon/robot/robot_mob.dm
+++ b/code/modules/mob/living/silicon/robot/robot_mob.dm
@@ -965,11 +965,9 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
else if(!src.module && U.require_module)
to_chat(user, "The borg must choose a module before it can be upgraded! ")
else
- if(!user.drop_item())
- return
- if(U.action(src))
+ if(U.action(user, src))
user.visible_message("[user] applied [U] to [src]. ", "You apply [U] to [src]. ")
- U.forceMove(src)
+
else if(istype(W, /obj/item/mmi_radio_upgrade))
if(!opened)
diff --git a/code/modules/mob/living/silicon/robot/robot_module_actions.dm b/code/modules/mob/living/silicon/robot/robot_module_actions.dm
index 058a4a7fdc5e..ffc0064e0639 100644
--- a/code/modules/mob/living/silicon/robot/robot_module_actions.dm
+++ b/code/modules/mob/living/silicon/robot/robot_module_actions.dm
@@ -36,6 +36,56 @@
button_overlay_icon = 'icons/obj/clothing/glasses.dmi'
button_overlay_icon_state = "meson"
+#define MODE_NONE ""
+#define MODE_MESON "meson"
+#define MODE_TRAY "t-ray"
+#define MODE_RAD "radiation"
+#define RAD_RANGE 5
+
+/datum/action/innate/robot_sight/engineering_scanner
+ name = "Engineering Scanner Vision"
+ sight_mode = BORGMESON
+ button_overlay_icon = 'icons/obj/clothing/glasses.dmi'
+ button_overlay_icon_state = "trayson-meson"
+ var/list/mode_list = list(MODE_NONE = MODE_MESON, MODE_MESON = MODE_TRAY, MODE_TRAY = MODE_RAD, MODE_RAD = MODE_NONE)
+ var/mode = MODE_NONE
+
+/datum/action/innate/robot_sight/engineering_scanner/Activate()
+ var/mob/living/silicon/robot/R = owner
+ mode = mode_list[mode]
+ to_chat(owner, "You turn your enhanced optics [mode ? "to [mode] mode." : "off."] ")
+ button_overlay_icon_state = "trayson-[mode]"
+
+ if(mode == MODE_MESON)
+ R.sight_mode |= sight_mode
+ else
+ R.sight_mode &= ~sight_mode
+ R.update_sight()
+
+ if(mode != (MODE_NONE || MODE_MESON))
+ START_PROCESSING(SSobj, src)
+ else
+ STOP_PROCESSING(SSobj, src)
+
+/datum/action/innate/robot_sight/engineering_scanner/Deactivate()
+ return
+
+/datum/action/innate/robot_sight/engineering_scanner/process()
+ var/mob/living/silicon/robot/user = owner
+ if(!user.client)
+ return
+ switch(mode)
+ if(MODE_TRAY)
+ t_ray_scan(user)
+ if(MODE_RAD)
+ user.show_rads(RAD_RANGE)
+
+#undef MODE_NONE
+#undef MODE_MESON
+#undef MODE_TRAY
+#undef MODE_RAD
+#undef RAD_RANGE
+
/datum/action/innate/robot_magpulse
name = "Magnetic pulse"
button_overlay_icon = 'icons/obj/clothing/shoes.dmi'
diff --git a/code/modules/mob/living/silicon/robot/robot_modules.dm b/code/modules/mob/living/silicon/robot/robot_modules.dm
index d5635f674f82..7ab9a7379a5e 100644
--- a/code/modules/mob/living/silicon/robot/robot_modules.dm
+++ b/code/modules/mob/living/silicon/robot/robot_modules.dm
@@ -447,7 +447,7 @@
name = "engineering robot module"
module_type = "Engineer"
subsystems = list(/mob/living/silicon/proc/subsystem_power_monitor)
- module_actions = list(/datum/action/innate/robot_sight/meson, /datum/action/innate/robot_magpulse)
+ module_actions = list(/datum/action/innate/robot_sight/engineering_scanner, /datum/action/innate/robot_magpulse)
basic_modules = list(
/obj/item/flash/cyborg,
/obj/item/rpd,
@@ -458,7 +458,6 @@
/obj/item/crowbar/cyborg,
/obj/item/wirecutters/cyborg,
/obj/item/multitool/cyborg,
- /obj/item/t_scanner,
/obj/item/analyzer,
/obj/item/geiger_counter/cyborg,
/obj/item/holosign_creator/engineering,
diff --git a/code/modules/mob/living/simple_animal/bot/honkbot.dm b/code/modules/mob/living/simple_animal/bot/honkbot.dm
index 69006bc2aa5e..7ce7dea48ddd 100644
--- a/code/modules/mob/living/simple_animal/bot/honkbot.dm
+++ b/code/modules/mob/living/simple_animal/bot/honkbot.dm
@@ -330,7 +330,7 @@
if(emagged) // actually emagged
bike_horn()
else
- if(C in view(4, src) && !spam_flag) //keep the range short for patrolling
+ if((C in view(4, src)) && !spam_flag) //keep the range short for patrolling
bike_horn()
continue
diff --git a/code/modules/mob/living/simple_animal/corpse.dm b/code/modules/mob/living/simple_animal/corpse.dm
index 5d28b33ca164..b70492d567a0 100644
--- a/code/modules/mob/living/simple_animal/corpse.dm
+++ b/code/modules/mob/living/simple_animal/corpse.dm
@@ -57,7 +57,6 @@
gloves = /obj/item/clothing/gloves/combat
l_ear = /obj/item/radio/headset
mask = /obj/item/clothing/mask/gas/syndicate
- back = /obj/item/mod/control/pre_equipped/traitor_elite
r_pocket = /obj/item/tank/internals/emergency_oxygen
id = /obj/item/card/id
@@ -94,25 +93,25 @@
name = "Corpse of a Pirate Gunner"
-/obj/effect/mob_spawn/human/corpse/russian
- name = "Russian"
- mob_name = "Russian"
+/obj/effect/mob_spawn/human/corpse/soviet
+ name = "Soviet"
+ mob_name = "Soviet"
hair_style = "bald"
facial_hair_style = "shaved"
- outfit = /datum/outfit/russiancorpse
+ outfit = /datum/outfit/sovietcorpse
-/datum/outfit/russiancorpse
- name = "Corpse of a Russian"
+/datum/outfit/sovietcorpse
+ name = "Corpse of a Soviet"
uniform = /obj/item/clothing/under/costume/soviet
shoes = /obj/item/clothing/shoes/jackboots
head = /obj/item/clothing/head/bearpelt
-/obj/effect/mob_spawn/human/corpse/russian/ranged
- outfit = /datum/outfit/russiancorpse/ranged
+/obj/effect/mob_spawn/human/corpse/soviet/ranged
+ outfit = /datum/outfit/sovietcorpse/ranged
-/datum/outfit/russiancorpse/ranged
- name = "Corpse of a Ranged Russian"
+/datum/outfit/sovietcorpse/ranged
+ name = "Corpse of a Ranged Soviet"
head = /obj/item/clothing/head/ushanka
diff --git a/code/modules/mob/living/simple_animal/hostile/bear.dm b/code/modules/mob/living/simple_animal/hostile/bear.dm
index 2172fa667ead..931b75d3c0c1 100644
--- a/code/modules/mob/living/simple_animal/hostile/bear.dm
+++ b/code/modules/mob/living/simple_animal/hostile/bear.dm
@@ -32,7 +32,7 @@
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
minbodytemp = 0
- faction = list("russian")
+ faction = list("soviet")
gold_core_spawnable = HOSTILE_SPAWN
footstep_type = FOOTSTEP_MOB_CLAW
diff --git a/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm b/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm
index dd33037817bd..6f6144d44fa6 100644
--- a/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm
+++ b/code/modules/mob/living/simple_animal/hostile/floorcluwne.dm
@@ -316,7 +316,7 @@
if(T.density)
forceMove(H.loc)
if(H.buckled)
- H.buckled.unbuckle_mob(H, force = TRUE)
+ H.unbuckle(force = TRUE)
manifested = TRUE
Manifest()
to_chat(H, "You feel the floor closing in on your feet! ")
diff --git a/code/modules/mob/living/simple_animal/hostile/megafauna/drake.dm b/code/modules/mob/living/simple_animal/hostile/megafauna/drake.dm
index 4536949c081c..9edf3e3d0001 100644
--- a/code/modules/mob/living/simple_animal/hostile/megafauna/drake.dm
+++ b/code/modules/mob/living/simple_animal/hostile/megafauna/drake.dm
@@ -284,7 +284,7 @@ Difficulty: Medium
hotspot.recolor()
T.hotspot_expose(700,50,1)
for(var/mob/living/L in T.contents)
- if(L in hit_list || L == source)
+ if((L in hit_list) || L == source)
continue
hit_list += L
L.adjustFireLoss(20)
diff --git a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm
index 88c8bb0a212f..fa47cc5ff25b 100644
--- a/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm
+++ b/code/modules/mob/living/simple_animal/hostile/mining/elites/elite.dm
@@ -413,7 +413,7 @@ While using this makes the system rely on OnFire, it still gives options for tim
text += "If teleported to the Station by jaunter, you are allowed to attack people on Station, until you get killed. "
to_chat(mychild, text.Join(" "))
- qdel(GetComponent(/datum/component/proximity_monitor))
+ DeleteComponent(/datum/component/proximity_monitor)
/obj/item/tumor_shard
name = "tumor shard"
diff --git a/code/modules/mob/living/simple_animal/hostile/russian.dm b/code/modules/mob/living/simple_animal/hostile/soviet.dm
similarity index 51%
rename from code/modules/mob/living/simple_animal/hostile/russian.dm
rename to code/modules/mob/living/simple_animal/hostile/soviet.dm
index 36d810921332..def10ae15fc2 100644
--- a/code/modules/mob/living/simple_animal/hostile/russian.dm
+++ b/code/modules/mob/living/simple_animal/hostile/soviet.dm
@@ -1,11 +1,11 @@
-/mob/living/simple_animal/hostile/russian
- name = "Russian"
- desc = "For the Motherland!"
+/mob/living/simple_animal/hostile/soviet
+ name = "Soviet"
+ desc = "For the Union!"
icon = 'icons/mob/simple_human.dmi'
- icon_state = "russianmelee"
- icon_living = "russianmelee"
- icon_dead = "russianmelee_dead" // Does not actually exist. del_on_death.
- icon_gib = "russianmelee_gib" // Does not actually exist. del_on_death.
+ icon_state = "sovietmelee"
+ icon_living = "sovietmelee"
+ icon_dead = "sovietmelee_dead" // Does not actually exist. del_on_death.
+ icon_gib = "sovietmelee_gib" // Does not actually exist. del_on_death.
mob_biotypes = MOB_ORGANIC | MOB_HUMANOID
speak_chance = 0
turns_per_move = 5
@@ -22,27 +22,27 @@
attack_sound = 'sound/weapons/punch1.ogg'
a_intent = INTENT_HARM
unsuitable_atmos_damage = 15
- faction = list("russian")
+ faction = list("soviet")
status_flags = CANPUSH
- loot = list(/obj/effect/mob_spawn/human/corpse/russian,
+ loot = list(/obj/effect/mob_spawn/human/corpse/soviet,
/obj/item/kitchen/knife,
- /obj/item/salvage/loot/russian)
+ /obj/item/salvage/loot/soviet)
del_on_death = TRUE
sentience_type = SENTIENCE_OTHER
footstep_type = FOOTSTEP_MOB_SHOE
-/mob/living/simple_animal/hostile/russian/ranged
- icon_state = "russianranged"
- icon_living = "russianranged"
+/mob/living/simple_animal/hostile/soviet/ranged
+ icon_state = "sovietranged"
+ icon_living = "sovietranged"
ranged = TRUE
retreat_distance = 5
minimum_distance = 5
projectilesound = 'sound/weapons/gunshots/gunshot.ogg'
casingtype = /obj/item/ammo_casing/a357
- loot = list(/obj/effect/mob_spawn/human/corpse/russian/ranged, /obj/item/gun/projectile/revolver/mateba)
+ loot = list(/obj/effect/mob_spawn/human/corpse/soviet/ranged, /obj/item/gun/projectile/revolver/mateba)
-/mob/living/simple_animal/hostile/russian/ranged/mosin
- loot = list(/obj/effect/mob_spawn/human/corpse/russian/ranged,
+/mob/living/simple_animal/hostile/soviet/ranged/mosin
+ loot = list(/obj/effect/mob_spawn/human/corpse/soviet/ranged,
/obj/item/gun/projectile/shotgun/boltaction,
- /obj/item/salvage/loot/russian)
+ /obj/item/salvage/loot/soviet)
casingtype = /obj/item/ammo_casing/a762
diff --git a/code/modules/mob/living/simple_animal/hostile/terror_spiders/princess.dm b/code/modules/mob/living/simple_animal/hostile/terror_spiders/princess.dm
index 9332ac77b6fb..87e254f7e442 100644
--- a/code/modules/mob/living/simple_animal/hostile/terror_spiders/princess.dm
+++ b/code/modules/mob/living/simple_animal/hostile/terror_spiders/princess.dm
@@ -34,8 +34,7 @@
canlay = 0
hasnested = TRUE
- spider_spawnfrequency = 300 // 30 seconds
- var/grant_prob = 25 // 25% chance every spider_spawnfrequency seconds to gain 1 egg
+ spider_spawnfrequency = 120 SECONDS
var/spider_max_children = 8
@@ -68,9 +67,6 @@
to_chat(src, "You cannot generate eggs while hiding in [loc]. ")
return
- if(!prob(grant_prob))
- return
-
var/list/spider_array = CountSpidersDetailed(TRUE)
var/brood_count = spider_array["all"]
@@ -100,8 +96,7 @@
to_chat(src, "You have [canlay] eggs available to lay. ")
/mob/living/simple_animal/hostile/poison/terror_spider/queen/princess/show_egg_timer()
- var/average_timer = (1 / (grant_prob / 100)) * (spider_spawnfrequency / 10)
- to_chat(src, "Too soon to attempt that again. You generate a new egg every [average_timer] seconds, on average. ")
+ to_chat(src, "Too soon to attempt that again. You generate a new egg every [spider_spawnfrequency / 10] seconds. ")
/mob/living/simple_animal/hostile/poison/terror_spider/queen/princess/NestMode()
// Princesses don't nest. However, we still need to override this in case an AI princess calls it.
diff --git a/code/modules/mob/living/simple_animal/slime/slime_powers.dm b/code/modules/mob/living/simple_animal/slime/slime_powers.dm
index f933d3388709..1fef3f12c225 100644
--- a/code/modules/mob/living/simple_animal/slime/slime_powers.dm
+++ b/code/modules/mob/living/simple_animal/slime/slime_powers.dm
@@ -118,7 +118,7 @@
visible_message("[src] has let go of [buckled]! ", \
"I stopped feeding. ")
layer = initial(layer)
- buckled.unbuckle_mob(src,force=TRUE)
+ unbuckle(force=TRUE)
/mob/living/simple_animal/slime/proc/Evolve()
if(stat)
diff --git a/code/modules/mob/mob_misc_procs.dm b/code/modules/mob/mob_misc_procs.dm
index c3abd4a59cbb..08d8dfe723a1 100644
--- a/code/modules/mob/mob_misc_procs.dm
+++ b/code/modules/mob/mob_misc_procs.dm
@@ -265,24 +265,40 @@
phrase = html_decode(phrase)
var/leng = length_char(phrase)
var/counter = length_char(phrase)
- var/newphrase = ""
- var/newletter = ""
+ var/list/newphrase = list()
+ var/newletter
while(counter >= 1)
- newletter=copytext_char(phrase, (leng - counter) + 1, (leng - counter) + 2)
- if(rand(1,3)==3)
- if(lowertext(newletter)=="o") newletter="u"; if(lowertext(newletter)=="о") newletter="у"; if(lowertext(newletter)=="э") newletter="и"
- if(lowertext(newletter)=="s") newletter="ch"; if(lowertext(newletter)=="с") newletter="сш"; if(lowertext(newletter)=="г") newletter="х"
- if(lowertext(newletter)=="a") newletter="ah"; if(lowertext(newletter)=="а") newletter="ах"
- if(lowertext(newletter)=="c") newletter="k"; if(lowertext(newletter)=="ц") newletter="сц"
- switch(rand(1,15))
- if(1,3,5,8) newletter="[lowertext(newletter)]"
- if(2,4,6,15) newletter="[uppertext(newletter)]"
- if(7) newletter+=pick(slurletters)
+ newletter = copytext_char(phrase, (leng - counter) + 1, (leng - counter) + 2)
+ if(prob(33.33))
+ if(lowertext(newletter) == "o")
+ newletter = "u"
+ if(lowertext(newletter) == "о")
+ newletter = "у"
+ if(lowertext(newletter) == "э")
+ newletter = "и"
+ if(lowertext(newletter) == "s")
+ newletter = "ch"
+ if(lowertext(newletter) == "с")
+ newletter = "сш"
+ if(lowertext(newletter) == "a")
+ newletter = "ah"
+ if(lowertext(newletter) == "а")
+ newletter = "ах"
+ if(lowertext(newletter) == "c")
+ newletter = "k"
+ if(lowertext(newletter) == "ц")
+ newletter = "сц"
+ if(prob(60))
+ if(prob(11.11))
+ newletter += pick(slurletters)
else
- pass()
- newphrase+="[newletter]"
- counter-=1
- return newphrase
+ if(prob(50))
+ newletter = lowertext(newletter)
+ else
+ newletter = uppertext(newletter)
+ newphrase += newletter
+ counter -= 1
+ return newphrase.Join("")
/proc/stutter(phrase, stamina_loss = 0, robotic = FALSE)
phrase = html_decode(phrase)
@@ -676,49 +692,42 @@
rename_character(oldname, newname)
-/proc/cultslur(n) // Inflicted on victims of a stun talisman
- var/phrase = html_decode(n)
+/proc/cultslur(phrase)
+ phrase = html_decode(phrase)
var/leng = length_char(phrase)
var/counter = length_char(phrase)
- var/newphrase=""
- var/newletter=""
- while(counter>=1)
- newletter=copytext_char(phrase, (leng - counter) + 1, (leng - counter) + 2)
- if(rand(1,2)==2)
- if(lowertext(newletter)=="o")
- newletter="u"
- if(lowertext(newletter)=="t")
- newletter="ch"
- if(lowertext(newletter)=="a")
- newletter="ah"
- if(lowertext(newletter)=="u")
- newletter="oo"
- if(lowertext(newletter)=="c")
- newletter=" NAR "
- if(lowertext(newletter)=="s")
- newletter=" SIE "
- if(rand(1,4)==4)
- if(newletter==" ")
- newletter=" no hope... "
- if(newletter=="H")
- newletter=" IT COMES... "
-
- switch(rand(1,15))
- if(1)
- newletter="'"
- if(2)
- newletter+="agn"
- if(3)
- newletter="fth"
- if(4)
- newletter="nglu"
- if(5)
- newletter="glor"
+ var/list/newphrase = list()
+ var/newletter
+ while(counter >= 1)
+ newletter = copytext_char(phrase, (leng - counter) + 1, (leng - counter) + 2)
+ if(prob(50))
+ if(lowertext(newletter) == "o")
+ newletter = "u"
+ if(lowertext(newletter) == "t")
+ newletter = "ch"
+ if(lowertext(newletter) == "a")
+ newletter = "ah"
+ if(lowertext(newletter) == "u")
+ newletter = "oo"
+ if(lowertext(newletter) == "c")
+ newletter = " NAR "
+ if(lowertext(newletter) == "s")
+ newletter = " SIE "
+ if(prob(25))
+ if(newletter == " ")
+ newletter = " no hope... "
+ if(newletter == "H")
+ newletter = " IT COMES... "
+
+ if(prob(33.33))
+ if(prob(20))
+ newletter += "agn"
else
- pass()
+ newletter = pick("'", "fth", "nglu", "glor")
- newphrase+="[newletter]";counter-=1
- return newphrase
+ newphrase += newletter
+ counter -= 1
+ return newphrase.Join("")
// Why does this exist?
/mob/proc/get_preference(toggleflag)
diff --git a/code/modules/mob/mob_vars.dm b/code/modules/mob/mob_vars.dm
index 627a6bad0729..eb1416b550b7 100644
--- a/code/modules/mob/mob_vars.dm
+++ b/code/modules/mob/mob_vars.dm
@@ -75,8 +75,6 @@
var/lastKnownIP = null
/// movable atoms buckled to this mob
var/atom/movable/buckled = null //Living
- /// movable atom we are buckled to
- var/atom/movable/buckling
var/obj/item/l_hand = null //Living
var/obj/item/r_hand = null //Living
diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm
index 07fbe9bedfcb..d49325a2888b 100644
--- a/code/modules/mob/new_player/new_player.dm
+++ b/code/modules/mob/new_player/new_player.dm
@@ -151,6 +151,10 @@
// SS220 ADDITION START - TTS220
if(!check_tts_seed_ready())
return FALSE
+
+ if(!can_use_species(src, client.prefs.active_character.species))
+ to_chat(src, alert("You are currently not whitelisted to play [client.prefs.active_character.species]."))
+ return FALSE
// SS220 ADDITION END
ready = !ready
diff --git a/code/modules/mob/new_player/new_player_login.dm b/code/modules/mob/new_player/new_player_login.dm
index 76a2dab353ee..ffd7902f7c00 100644
--- a/code/modules/mob/new_player/new_player_login.dm
+++ b/code/modules/mob/new_player/new_player_login.dm
@@ -1,7 +1,7 @@
/mob/new_player/Login()
update_Login_details() //handles setting lastKnownIP and computer_id for use by the ban systems as well as checking for multikeying
if(GLOB.join_motd)
- to_chat(src, "[GLOB.join_motd]
")
+ to_chat(src, "[GLOB.join_motd]
")
if(!mind)
mind = new /datum/mind(key)
diff --git a/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm b/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm
index 341453b7ca1e..77b6e6985f4c 100644
--- a/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm
+++ b/code/modules/mob/new_player/sprite_accessories/sprite_accessories.dm
@@ -373,6 +373,10 @@
name = "Corgi Shirt"
icon_state = "shirt_corgi"
+/datum/sprite_accessory/undershirt/shirt_en
+ name = "Borgi Shirt" // E-N!
+ icon_state = "shirt_borgi"
+
/datum/sprite_accessory/undershirt/shirt_clown
name = "Clown Shirt"
icon_state = "shirt_clown"
diff --git a/code/modules/mod/mod_core.dm b/code/modules/mod/mod_core.dm
index c2ce61cab7e7..40d9abe1a3a4 100644
--- a/code/modules/mod/mod_core.dm
+++ b/code/modules/mod/mod_core.dm
@@ -86,7 +86,7 @@
if(cell)
install_cell(cell)
RegisterSignal(mod, COMSIG_PARENT_EXAMINE, PROC_REF(on_examine))
- RegisterSignal(mod, COMSIG_ATOM_ATTACK_HAND, PROC_REF(on_attack_hand))
+ RegisterSignal(mod, COMSIG_CLICK_CTRL, PROC_REF(on_ctrl_click))
RegisterSignal(mod, COMSIG_MOD_WEARER_SET, PROC_REF(on_wearer_set))
if(mod.wearer)
on_wearer_set(mod, mod.wearer)
@@ -94,7 +94,7 @@
/obj/item/mod/core/standard/uninstall()
if(!QDELETED(cell))
cell.forceMove(drop_location())
- UnregisterSignal(mod, list(COMSIG_PARENT_EXAMINE, COMSIG_ATOM_ATTACK_HAND, COMSIG_MOD_WEARER_SET))
+ UnregisterSignal(mod, list(COMSIG_PARENT_EXAMINE, COMSIG_CLICK_CTRL, COMSIG_MOD_WEARER_SET))
if(mod.wearer)
on_wearer_unset(mod, mod.wearer)
return ..()
@@ -179,10 +179,10 @@
if(!mod.open)
return
- examine_text += cell ? "You could remove the cell with an empty hand." : "You could use a cell on it to install one."
+ examine_text += cell ? "You could remove the cell while in hand or being worn with Ctrl-Click ." : "You could use a cell on it to install one."
-/obj/item/mod/core/standard/proc/on_attack_hand(datum/source, mob/living/user)
- SIGNAL_HANDLER
+/obj/item/mod/core/standard/proc/on_ctrl_click(datum/source, mob/living/user)
+ SIGNAL_HANDLER // COMSIG_CLICK_CTRL
if(mod.seconds_electrified && charge_amount() && mod.shock(user))
return COMPONENT_CANCEL_ATTACK_CHAIN
diff --git a/code/modules/mod/modules/modules_antag.dm b/code/modules/mod/modules/modules_antag.dm
index 3bfdf62ccb64..909cb209e504 100644
--- a/code/modules/mod/modules/modules_antag.dm
+++ b/code/modules/mod/modules/modules_antag.dm
@@ -506,7 +506,7 @@
/obj/item/mod/module/energy_shield/on_suit_deactivation(deleting = FALSE)
var/datum/component/shielded/shield = mod.GetComponent(/datum/component/shielded)
charges = shield.current_charges
- qdel(shield)
+ shield.RemoveComponent()
UnregisterSignal(mod.wearer, COMSIG_HUMAN_CHECK_SHIELDS)
/obj/item/mod/module/energy_shield/proc/shield_reaction(mob/living/carbon/human/owner,
@@ -581,7 +581,7 @@
return FALSE
var/datum/component/shielded/shield = mod.GetComponent(/datum/component/shielded)
charges = shield.current_charges
- qdel(shield)
+ shield.RemoveComponent()
UnregisterSignal(mod.wearer, COMSIG_HUMAN_CHECK_SHIELDS)
REMOVE_TRAIT(mod.wearer, TRAIT_SHOCKIMMUNE, UNIQUE_TRAIT_SOURCE(src))
diff --git a/code/modules/mod/modules/modules_service.dm b/code/modules/mod/modules/modules_service.dm
index 69720a0e3549..617ef90756cb 100644
--- a/code/modules/mod/modules/modules_service.dm
+++ b/code/modules/mod/modules/modules_service.dm
@@ -38,7 +38,8 @@
/obj/item/mod/module/waddle/on_suit_deactivation(deleting = FALSE)
if(!deleting)
- qdel(mod.boots.GetComponent(/datum/component/squeak))
+ mod.boots.DeleteComponent(/datum/component/squeak)
+
mod.wearer.RemoveElement(/datum/element/waddling)
//Boot heating - dries floors like galoshes/dry
diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm
index bf3da513c24e..967ad47b42fe 100644
--- a/code/modules/paperwork/paper.dm
+++ b/code/modules/paperwork/paper.dm
@@ -319,7 +319,7 @@
add_hiddenprint(usr) // No more forging nasty documents as someone else, you jerks
if(!is_pen(item_write) && !istype(item_write, /obj/item/toy/crayon))
return
- if(loc != usr && !Adjacent(usr) && !((istype(loc, /obj/item/clipboard) || istype(loc, /obj/item/folder)) && (usr in get_turf(src) || loc.Adjacent(usr))))
+ if(loc != usr && !Adjacent(usr) && !((istype(loc, /obj/item/clipboard) || istype(loc, /obj/item/folder)) && ((usr in get_turf(src)) || loc.Adjacent(usr))))
return // If paper is not in usr, then it must be near them, or in a clipboard or folder, which must be in or near usr
input_element = parsepencode(input_element, item_write, usr) // Encode everything from pencode to html
if(id != "end")
@@ -651,11 +651,11 @@
name = "Teleporter Instructions"
info = "Teleporter Instruction Install circuit board, glass and wiring to complete Teleporter Control Console Use a screwdriver, wirecutter and screwdriver again on the Teleporter Station to connect it Set destination with Teleporter Control Computer Activate Teleporter Hub with Teleporter Station "
-/obj/item/paper/russiantraitorobj
+/obj/item/paper/soviettraitorobj
name = "paper- 'Mission Objectives'"
info = "The Syndicate have cunningly disguised a Syndicate Uplink as your PDA. Simply enter the code \"678 Bravo\" into the ringtone select to unlock its hidden features. Objective #1 . Kill the God damn AI in a fire blast that it rocks the station. Success! Objective #2 . Escape alive. Failed. "
-/obj/item/paper/russiannuclearoperativeobj
+/obj/item/paper/sovietnuclearoperativeobj
name = "paper- 'Objectives of a Nuclear Operative'"
info = "Objective #1 : Destroy the station with a nuclear device."
diff --git a/code/modules/paperwork/paper_bundle.dm b/code/modules/paperwork/paper_bundle.dm
index 3b866e1b186a..80dba5fd47e9 100644
--- a/code/modules/paperwork/paper_bundle.dm
+++ b/code/modules/paperwork/paper_bundle.dm
@@ -72,7 +72,7 @@
else
if(is_pen(W) || istype(W, /obj/item/toy/crayon))
usr << browse("", "window=PaperBundle[UID()]") //Closes the dialog
- P = src[page]
+ P = get_page()
P.attackby(W, user, params)
update_icon()
@@ -106,7 +106,7 @@
/obj/item/paper_bundle/proc/show_content(mob/user as mob)
var/dat = {" "}
- var/obj/item/W = src[page]
+ var/obj/item/W = get_page()
switch(screen)
if(0)
dat+= "
"
@@ -120,11 +120,11 @@
dat+= ""
dat+= " "
dat+= "
"
- if(istype(src[page], /obj/item/paper))
+ if(istype(W, /obj/item/paper))
var/obj/item/paper/P = W
dat += P.show_content(usr, view = 0)
usr << browse(dat, "window=PaperBundle[UID()]")
- else if(istype(src[page], /obj/item/photo))
+ else if(istype(W, /obj/item/photo))
var/obj/item/photo/P = W
usr << browse_rsc(P.img, "tmp_photo.png")
usr << browse(dat + "[P.name] " \
@@ -162,11 +162,11 @@
playsound(loc, "pageturn", 50, 1)
if(href_list["remove"])
- var/obj/item/W = src[page]
+ var/obj/item/W = get_page()
usr.put_in_hands(W)
to_chat(usr, "You remove [W] from the bundle. ")
if(amount == 1)
- var/obj/item/paper/P = src[1]
+ var/obj/item/paper/P = get_page(1)
usr.unEquip(src)
usr.put_in_hands(P)
usr.unset_machine() // Ensure the bundle GCs
@@ -234,6 +234,7 @@
desc = "A single sheet of paper."
if(photos)
desc += "\nThere [photos == 1 ? "is a photo" : "are [photos] photos"] attached to it."
+
/obj/item/paper_bundle/update_icon_state()
if(length(contents))
var/obj/item/paper/P = contents[1]
@@ -268,3 +269,8 @@
. += "clip"
update_desc()
+
+/obj/item/paper_bundle/proc/get_page(page_override)
+ if(page_override)
+ return contents[page_override]
+ return contents[page]
diff --git a/code/modules/power/engines/supermatter/supermatter.dm b/code/modules/power/engines/supermatter/supermatter.dm
index a5e08b7d11ef..52db273db388 100644
--- a/code/modules/power/engines/supermatter/supermatter.dm
+++ b/code/modules/power/engines/supermatter/supermatter.dm
@@ -559,6 +559,8 @@
var/mole_crunch_bonus = 0
if(combined_gas > MOLE_CRUNCH_THRESHOLD)
mole_crunch_bonus = 7000 //This adds 7000 EER worth of power to the SM. This should make mole crunch potentially worthy as a SM setup, if not risky. More stable than the anomalies, but very easy to push over the edge. Don't forget, a high EER setup can harvest power through zaps
+ if(!has_been_powered) // Nice try, no free no risk power
+ enable_for_the_first_time()
radiation_pulse(src, power * max(0, (1 + (power_transmission_bonus / 10))) + mole_crunch_bonus)
//Power * 0.55 * a value between 1 and 0.8
@@ -1062,7 +1064,7 @@
step_towards(P,center)
/obj/machinery/atmospherics/supermatter_crystal/proc/supermatter_anomaly_gen(turf/anomalycenter, type = FLUX_ANOMALY, anomalyrange = 5)
- var/turf/L = pick(orange(anomalyrange, anomalycenter))
+ var/turf/L = pick(RANGE_TURFS(anomalyrange, anomalycenter))
if(L)
switch(type)
if(FLUX_ANOMALY)
diff --git a/code/modules/power/gravitygenerator.dm b/code/modules/power/gravitygenerator.dm
index 4e7c27fb5e55..b56a3151cdca 100644
--- a/code/modules/power/gravitygenerator.dm
+++ b/code/modules/power/gravitygenerator.dm
@@ -58,11 +58,16 @@ GLOBAL_LIST_EMPTY(gravity_generators)
/obj/machinery/gravity_generator/main/station/Initialize(mapload)
. = ..()
- AddComponent(/datum/component/multitile, 1, list(
+ AddComponent(/datum/component/multitile, list(
list(1, 1, 1),
list(1, MACH_CENTER, 1),
- list(0, 0, 0),
))
+
+ var/area/machine_area = get_area(src)
+ parent_area_type = machine_area.get_top_parent_type()
+ if(parent_area_type)
+ areas = typesof(parent_area_type)
+
update_gen_list()
set_power()
@@ -87,6 +92,8 @@ GLOBAL_LIST_EMPTY(gravity_generators)
var/current_overlay = null
var/construction_state = GRAV_NEEDS_WELDING
var/overlay_state = "activated"
+ var/parent_area_type
+ var/areas = list()
/obj/machinery/gravity_generator/main/examine(mob/user)
. = ..()
@@ -268,24 +275,21 @@ GLOBAL_LIST_EMPTY(gravity_generators)
change_power_mode(on ? ACTIVE_POWER_USE : IDLE_POWER_USE)
if(gravity) // If we turned on
- if(generators_in_level() == 0) // And there's no other gravity generators on this z level
+ if(generators_in_area() == 0) // And there's no other gravity generators on this z level
alert = TRUE
investigate_log("was brought online and is now producing gravity for this level.", "gravity")
message_admins("The gravity generator was brought online. ([src_area.name] )")
for(var/area/A in world)
- if(!is_station_level(A.z))
- continue
- A.gravitychange(TRUE, A)
+ if((A.type in areas) && A.z == z)
+ A.gravitychange(TRUE, A)
- else if(generators_in_level() == 1) // Turned off, and there is only one gravity generator on the Z level
+ else if(generators_in_area() == 1) // Turned off, and there is only one gravity generator on the Z level
alert = TRUE
investigate_log("was brought offline and there is now no gravity for this level.", "gravity")
message_admins("The gravity generator was brought offline with no backup generator. ([src_area.name] )")
for(var/area/A in world)
- if(!is_station_level(A.z))
- continue
- A.gravitychange(FALSE, A)
-
+ if((A.type in areas) && A.z == z)
+ A.gravitychange(FALSE, A)
update_icon()
update_gen_list()
if(alert)
@@ -340,7 +344,7 @@ GLOBAL_LIST_EMPTY(gravity_generators)
radiation_pulse(get_turf(L), 600, 2)
/**
- * Shake everyone on the z level and play an alarm to let them know that gravity was enagaged/disenagaged.
+ * Shake everyone on the area list and play an alarm to let them know that gravity was enagaged/disenagaged.
*/
/obj/machinery/gravity_generator/main/proc/shake_everyone()
var/turf/our_turf = get_turf(src)
@@ -349,30 +353,27 @@ GLOBAL_LIST_EMPTY(gravity_generators)
for(var/shaken in GLOB.mob_list)
var/mob/M = shaken
var/turf/their_turf = get_turf(M)
- if(their_turf?.z == our_turf.z)
+ if(their_turf && ((get_area(their_turf)).type in typesof(parent_area_type)) && (M.z == z))
M.update_gravity(M.mob_has_gravity())
if(M.client)
shake_camera(M, 15, 1)
M.playsound_local(our_turf, null, 100, TRUE, 0.5, S = alert_sound)
-// TODO: Make the gravity generator cooperate with the space manager
-/obj/machinery/gravity_generator/main/proc/generators_in_level()
- var/turf/T = get_turf(src)
- if(!T)
- return FALSE
- if(GLOB.gravity_generators["[T.z]"])
- return length(GLOB.gravity_generators["[T.z]"])
- return FALSE
-
/obj/machinery/gravity_generator/main/proc/update_gen_list()
- var/turf/T = get_turf(src)
- if(T)
- if(!GLOB.gravity_generators["[T.z]"])
- GLOB.gravity_generators["[T.z]"] = list()
+ if(parent_area_type)
+ if(!GLOB.gravity_generators["[parent_area_type]"])
+ GLOB.gravity_generators["[parent_area_type]"] = list()
if(on)
- GLOB.gravity_generators["[T.z]"] |= src
+ GLOB.gravity_generators["[parent_area_type]"] |= src
else
- GLOB.gravity_generators["[T.z]"] -= src
+ GLOB.gravity_generators["[parent_area_type]"] -= src
+
+/obj/machinery/gravity_generator/main/proc/generators_in_area()
+ if(!parent_area_type)
+ return FALSE
+ if(GLOB.gravity_generators["[parent_area_type]"])
+ return length(GLOB.gravity_generators["[parent_area_type]"])
+ return FALSE
// Misc
@@ -385,7 +386,6 @@ GLOBAL_LIST_EMPTY(gravity_generators)
animate(src, transform = M * 40, time = 0.8 SECONDS, alpha = 128)
QDEL_IN(src, 0.8 SECONDS)
-
/obj/item/paper/gravity_gen
name = "paper - 'Generate your own gravity!'"
info = {"Generating Gravity For Dummies
diff --git a/code/modules/power/lights.dm b/code/modules/power/lights.dm
index 04de3076a22a..0728db514bc3 100644
--- a/code/modules/power/lights.dm
+++ b/code/modules/power/lights.dm
@@ -2,18 +2,16 @@
//
// Consists of light fixtures (/obj/machinery/light) and light tube/bulb items (/obj/item/light)
-// status values shared between lighting fixtures and items
-#define LIGHT_OK 0
-#define LIGHT_EMPTY 1
-#define LIGHT_BROKEN 2
-#define LIGHT_BURNED 3
-
#define LIGHT_ON_DELAY_LOWER 1 SECONDS
#define LIGHT_ON_DELAY_UPPER 3 SECONDS
#define MAXIMUM_SAFE_BACKUP_CHARGE 600
#define EMERGENCY_LIGHT_POWER_USE 0.5
+#define LIGHT_CONSTRUCT_EMPTY_FRAME 1
+#define LIGHT_CONSTRUCT_WIRED 2
+#define LIGHT_CONSTRUCT_COMPLETED 3
+
/**
* # Light fixture frame
*
@@ -27,84 +25,73 @@
icon = 'icons/obj/lighting.dmi'
icon_state = "tube-construct-stage1"
anchored = TRUE
- layer = 5
+ layer = FLY_LAYER
max_integrity = 200
armor = list(MELEE = 50, BULLET = 10, LASER = 10, ENERGY = 0, BOMB = 0, RAD = 0, FIRE = 80, ACID = 50)
- /// Construction stage (1 = Empty frame | 2 = Wired frame | 3 = Completed frame)
- var/stage = 1
+ /// Construction stage
+ var/stage = LIGHT_CONSTRUCT_EMPTY_FRAME
/// Light bulb type
var/fixture_type = "tube"
/// How many metal sheets get given after deconstruction
var/sheets_refunded = 2
/// Holder for the completed fixture
- var/obj/machinery/light/newlight = null
+ var/obj/machinery/light/construct_type = /obj/machinery/light/built
/obj/machinery/light_construct/Initialize(mapload, ndir, building)
. = ..()
- if(fixture_type == "bulb")
- icon_state = "bulb-construct-stage1"
+ update_icon(UPDATE_ICON_STATE)
/obj/machinery/light_construct/examine(mob/user)
. = ..()
if(get_dist(user, src) <= 2)
switch(stage)
- if(1)
+ if(LIGHT_CONSTRUCT_EMPTY_FRAME)
. += "It's an empty frame bolted to the wall. It needs to be wired . "
- if(2)
+ if(LIGHT_CONSTRUCT_WIRED)
. += "The frame is wired , but the casing's cover is unscrewed . "
- if(3)
+ if(LIGHT_CONSTRUCT_COMPLETED)
. += "The casing is screwed shut. "
/obj/machinery/light_construct/wrench_act(mob/living/user, obj/item/I)
. = TRUE
switch(stage)
- if(1)
+ if(LIGHT_CONSTRUCT_EMPTY_FRAME)
to_chat(user, "You begin to dismantle [src]. ")
if(!I.use_tool(src, user, 30, volume = I.tool_volume))
return
new /obj/item/stack/sheet/metal(get_turf(loc), sheets_refunded)
TOOL_DISMANTLE_SUCCESS_MESSAGE
qdel(src)
- if(2)
+ if(LIGHT_CONSTRUCT_WIRED)
to_chat(user, "You have to remove the wires first. ")
- if(3)
+ if(LIGHT_CONSTRUCT_COMPLETED)
to_chat(user, "You have to unscrew the case first. ")
/obj/machinery/light_construct/wirecutter_act(mob/living/user, obj/item/I)
- if(stage != 2)
+ if(stage != LIGHT_CONSTRUCT_WIRED)
return
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
return
. = TRUE
- stage = 1
- switch(fixture_type)
- if("tube")
- icon_state = "tube-construct-stage1"
- if("bulb")
- icon_state = "bulb-construct-stage1"
+
+ stage = LIGHT_CONSTRUCT_EMPTY_FRAME
+ update_icon(UPDATE_ICON_STATE)
new /obj/item/stack/cable_coil(get_turf(loc), 1, paramcolor = COLOR_RED)
WIRECUTTER_SNIP_MESSAGE
/obj/machinery/light_construct/screwdriver_act(mob/living/user, obj/item/I)
- if(stage != 2)
+ if(stage != LIGHT_CONSTRUCT_WIRED)
return
. = TRUE
if(!I.use_tool(src, user, 0, volume = I.tool_volume))
return
- switch(fixture_type)
- if("tube")
- icon_state = "tube-empty"
- if("bulb")
- icon_state = "bulb-empty"
- stage = 3
+
+ stage = LIGHT_CONSTRUCT_COMPLETED
+ update_icon(UPDATE_ICON_STATE)
user.visible_message("[user] closes [src]'s casing. ", \
"You close [src]'s casing. ", "You hear a screwdriver. ")
- switch(fixture_type)
- if("tube")
- newlight = new /obj/machinery/light/built(loc)
- if("bulb")
- newlight = new /obj/machinery/light/small/built(loc)
+ var/obj/machinery/light/newlight = new construct_type(loc)
newlight.setDir(dir)
transfer_fingerprints_to(newlight)
qdel(src)
@@ -112,16 +99,12 @@
/obj/machinery/light_construct/attackby(obj/item/W, mob/living/user, params)
add_fingerprint(user)
if(istype(W, /obj/item/stack/cable_coil))
- if(stage != 1)
+ if(stage != LIGHT_CONSTRUCT_EMPTY_FRAME)
return
var/obj/item/stack/cable_coil/coil = W
coil.use(1)
- switch(fixture_type)
- if("tube")
- icon_state = "tube-construct-stage2"
- if("bulb")
- icon_state = "bulb-construct-stage2"
- stage = 2
+ stage = LIGHT_CONSTRUCT_WIRED
+ update_icon(UPDATE_ICON_STATE)
playsound(loc, coil.usesound, 50, 1)
user.visible_message("[user.name] adds wires to [src]. ", \
"You add wires to [src]. ", "You hear a noise. ")
@@ -138,6 +121,13 @@
new /obj/item/stack/sheet/metal(loc, sheets_refunded)
qdel(src)
+/obj/machinery/light_construct/update_icon_state()
+ . = ..()
+ if(stage == LIGHT_CONSTRUCT_COMPLETED)
+ icon_state = "[fixture_type]-empty"
+ return
+ icon_state = "[fixture_type]-construct-stage[stage]"
+
/**
* # Small light fixture frame
*
@@ -148,13 +138,28 @@
/obj/machinery/light_construct/small
name = "small light fixture frame"
desc = "A small light fixture under construction."
- icon = 'icons/obj/lighting.dmi'
icon_state = "bulb-construct-stage1"
anchored = TRUE
- layer = 5
- stage = 1
+ layer = FLY_LAYER
fixture_type = "bulb"
sheets_refunded = 1
+ construct_type = /obj/machinery/light/small/built
+
+/obj/machinery/light_construct/floor
+ name = "floor light fixture frame"
+ desc = "A floor light fixture under construction."
+ icon_state = "floor-construct-stage1"
+ anchored = TRUE
+ layer = ABOVE_OPEN_TURF_LAYER
+ plane = FLOOR_PLANE
+ fixture_type = "floor"
+ sheets_refunded = 3
+ construct_type = /obj/machinery/light/floor/built
+
+
+#undef LIGHT_CONSTRUCT_EMPTY_FRAME
+#undef LIGHT_CONSTRUCT_WIRED
+#undef LIGHT_CONSTRUCT_COMPLETED
/**
@@ -170,7 +175,7 @@
glow_icon_state = "tube"
exposure_icon_state = "cone"
anchored = TRUE
- layer = 5
+ layer = FLY_LAYER
max_integrity = 100
power_state = ACTIVE_POWER_USE
idle_power_consumption = 2 //when in low power mode
@@ -198,6 +203,8 @@
var/light_type = /obj/item/light/tube
/// Type of light bulb that goes into the fixture
var/fitting = "tube"
+ /// What light construct type to turn into when we are deconstructed
+ var/obj/machinery/light_construct/deconstruct_type = /obj/machinery/light_construct
/// How many times has the light been switched on/off? (This is used to calc the probability the light burns out)
var/switchcount = 0
/// Is the light rigged to explode?
@@ -238,6 +245,7 @@
brightness_color = "#a0a080"
nightshift_light_range = 4
light_type = /obj/item/light/bulb
+ deconstruct_type = /obj/machinery/light_construct/small
/obj/machinery/light/spot
name = "spotlight"
@@ -245,13 +253,30 @@
brightness_range = 12
brightness_power = 4
-/obj/machinery/light/built/Initialize(mapload)
+/obj/machinery/light/floor
+ name = "floor light"
+ desc = "A lightbulb you can walk on without breaking it, amazing."
+ icon_state = "floor1"
+ glow_icon_state = "floor"
+ exposure_icon_state = "floor_circle"
+ base_state = "floor"
+ fitting = "bulb"
+ light_type = /obj/item/light/bulb
+ deconstruct_type = /obj/machinery/light_construct/floor
+ brightness_range = 6
+ nightshift_light_range = 6
+ layer = ABOVE_OPEN_TURF_LAYER
+ plane = FLOOR_PLANE
+
+/obj/machinery/light/built
status = LIGHT_EMPTY
- return ..()
-/obj/machinery/light/small/built/Initialize(mapload)
+/obj/machinery/light/small/built
+ status = LIGHT_EMPTY
+
+/obj/machinery/light/floor/built
status = LIGHT_EMPTY
- return ..()
+
// create a new lighting fixture
/obj/machinery/light/Initialize(mapload)
@@ -265,7 +290,7 @@
if(A && !A.requires_power)
on = TRUE
- switch(fitting)
+ switch(base_state)
if("tube")
brightness_range = 8
if(prob(2))
@@ -275,6 +300,11 @@
brightness_color = "#a0a080"
if(prob(5))
break_light_tube(TRUE)
+ if("floor")
+ brightness_range = 6
+ brightness_color = "#a0a080"
+ if(prob(3))
+ break_light_tube(TRUE)
update(FALSE, TRUE, FALSE)
/obj/machinery/light/proc/on_security_level_change_planned(datum/source, previous_level_number, new_level_number)
@@ -340,6 +370,17 @@
else
underlays += emissive_appearance(icon, "[base_state]_lightmask")
+/obj/machinery/light/fix(mob/user, obj/used_tool, emagged = FALSE)
+ if(status != LIGHT_OK)
+ to_chat(user, "You replace the [fitting] with [used_tool]. ")
+ status = LIGHT_OK
+ switchcount = 0
+ rigged = emagged
+ on = has_power()
+ update(TRUE, TRUE, FALSE)
+ else
+ to_chat(user, "There is a working [fitting] already inserted! ")
+ return
/**
* Updates the light's 'on' state and power consumption based on [/obj/machinery/light/var/on].
*
@@ -557,18 +598,10 @@
/obj/machinery/light/deconstruct(disassembled = TRUE)
if(!(flags & NODECONSTRUCT))
- var/obj/machinery/light_construct/newlight = null
var/cur_stage = 2
if(!disassembled)
cur_stage = 1
- switch(fitting)
- if("tube")
- newlight = new /obj/machinery/light_construct(loc)
- newlight.icon_state = "tube-construct-stage2"
-
- if("bulb")
- newlight = new /obj/machinery/light_construct/small(loc)
- newlight.icon_state = "bulb-construct-stage2"
+ var/obj/machinery/light_construct/newlight = new deconstruct_type(loc)
newlight.setDir(dir)
newlight.stage = cur_stage
if(!disassembled)
@@ -578,6 +611,7 @@
if(status != LIGHT_EMPTY)
drop_light_tube()
new /obj/item/stack/cable_coil(loc, 1, "red")
+ newlight.update_icon(UPDATE_ICON_STATE)
transfer_fingerprints_to(newlight)
qdel(src)
@@ -822,6 +856,22 @@
explosion(T, 0, 0, 2, 2)
qdel(src)
+/obj/machinery/light/extinguish_light(force = FALSE)
+ on = FALSE
+ extinguished = TRUE
+ emergency_mode = FALSE
+ no_emergency = TRUE
+ addtimer(CALLBACK(src, PROC_REF(enable_emergency_lighting)), 5 MINUTES, TIMER_UNIQUE|TIMER_OVERRIDE)
+ visible_message("[src] flickers and falls dark. ")
+ update(FALSE)
+
+/obj/machinery/light/proc/enable_emergency_lighting()
+ visible_message("[src]'s emergency lighting flickers back to life. ")
+ extinguished = FALSE
+ no_emergency = FALSE
+ update(FALSE)
+
+
/**
* MARK: Light item
*
@@ -908,14 +958,6 @@
..()
shatter()
-/obj/item/light/bulb/fire
- name = "fire bulb"
- desc = "A replacement fire bulb."
- icon_state = "fbulb"
- base_state = "fbulb"
- item_state = "egg4"
- brightness_range = 5
-
// update the icon state and description of the light
/obj/item/light/proc/update()
@@ -933,11 +975,6 @@
/obj/item/light/New()
..()
- switch(name)
- if("light tube")
- brightness_range = rand(6,9)
- if("light bulb")
- brightness_range = rand(4,6)
update()
@@ -990,26 +1027,7 @@
limb.droplimb(0, DROPLIMB_BURN)
return FIRELOSS
-/obj/machinery/light/extinguish_light(force = FALSE)
- on = FALSE
- extinguished = TRUE
- emergency_mode = FALSE
- no_emergency = TRUE
- addtimer(CALLBACK(src, PROC_REF(enable_emergency_lighting)), 5 MINUTES, TIMER_UNIQUE|TIMER_OVERRIDE)
- visible_message("[src] flickers and falls dark. ")
- update(FALSE)
-
-/obj/machinery/light/proc/enable_emergency_lighting()
- visible_message("[src]'s emergency lighting flickers back to life. ")
- extinguished = FALSE
- no_emergency = FALSE
- update(FALSE)
-
#undef MAXIMUM_SAFE_BACKUP_CHARGE
#undef EMERGENCY_LIGHT_POWER_USE
-#undef LIGHT_OK
-#undef LIGHT_EMPTY
-#undef LIGHT_BROKEN
-#undef LIGHT_BURNED
#undef LIGHT_ON_DELAY_LOWER
#undef LIGHT_ON_DELAY_UPPER
diff --git a/code/modules/projectiles/guns/chaos_bolt.dm b/code/modules/projectiles/guns/chaos_bolt.dm
index 3466cc29581e..fab8d9955f4a 100644
--- a/code/modules/projectiles/guns/chaos_bolt.dm
+++ b/code/modules/projectiles/guns/chaos_bolt.dm
@@ -247,6 +247,7 @@
H.electrocute_act(CHAOS_STAFF_DAMAGE, src)
/datum/status_effect/teleport_roulette
+ id = "teleport_roulette"
duration = 16 SECONDS
status_type = STATUS_EFFECT_REPLACE
tick_interval = 2 SECONDS
diff --git a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
index 70869766e3b8..ad85a7e67f75 100644
--- a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
+++ b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm
@@ -291,6 +291,7 @@
require_module = TRUE
module_type = /obj/item/robot_module/miner
usesound = 'sound/items/screwdriver.ogg'
+ allow_duplicate = TRUE
var/denied_type = null
var/maximum_of_type = 1
var/cost = 30
@@ -313,12 +314,12 @@
else
return ..()
-/obj/item/borg/upgrade/modkit/action(mob/living/silicon/robot/R)
+/obj/item/borg/upgrade/modkit/action(mob/user, mob/living/silicon/robot/R)
if(!..())
return
for(var/obj/item/gun/energy/kinetic_accelerator/cyborg/H in R.module.modules)
- return install(H, usr)
+ return install(H, user)
/obj/item/borg/upgrade/modkit/proc/install(obj/item/gun/energy/kinetic_accelerator/KA, mob/user)
. = TRUE
diff --git a/code/modules/projectiles/guns/projectile/pistol.dm b/code/modules/projectiles/guns/projectile/pistol.dm
index 30714c54095c..ca49135be11d 100644
--- a/code/modules/projectiles/guns/projectile/pistol.dm
+++ b/code/modules/projectiles/guns/projectile/pistol.dm
@@ -97,7 +97,7 @@
//APS Pistol//
/obj/item/gun/projectile/automatic/pistol/APS
name = "stechkin APS pistol"
- desc = "The original russian version of a widely used Syndicate sidearm. Uses 10mm ammo."
+ desc = "A deadly automatic pistol produced by the USSP's State Armory. Uses 10mm ammo."
icon_state = "aps"
w_class = WEIGHT_CLASS_NORMAL
origin_tech = "combat=3;materials=2;syndicate=3"
diff --git a/code/modules/projectiles/guns/projectile/revolver.dm b/code/modules/projectiles/guns/projectile/revolver.dm
index c5f35cffa977..38b5c4a3aa52 100644
--- a/code/modules/projectiles/guns/projectile/revolver.dm
+++ b/code/modules/projectiles/guns/projectile/revolver.dm
@@ -168,7 +168,7 @@
/obj/item/gun/projectile/revolver/mateba
name = "\improper Unica 6 auto-revolver"
- desc = "A retro high-powered autorevolver typically used by officers of the New Russia military. Uses .357 ammo." //>10mm hole >.357
+ desc = "A retro high-powered autorevolver typically used by officers of several unrelated militaries. Uses .357 ammo." //>10mm hole >.357
icon_state = "mateba"
/obj/item/gun/projectile/revolver/golden
diff --git a/code/modules/projectiles/guns/projectile/toy.dm b/code/modules/projectiles/guns/projectile/toy.dm
index dcf3c6261a77..27d195f82d9e 100644
--- a/code/modules/projectiles/guns/projectile/toy.dm
+++ b/code/modules/projectiles/guns/projectile/toy.dm
@@ -99,6 +99,7 @@
suppressed_sound = 'sound/weapons/gunshots/gunshot_smg.ogg'
needs_permit = FALSE
mag_type = /obj/item/ammo_box/magazine/toy/smgm45
+ origin_tech = "combat=3;materials=2;syndicate=2"
/obj/item/gun/projectile/automatic/c20r/toy/riot
mag_type = /obj/item/ammo_box/magazine/toy/smgm45/riot
@@ -133,6 +134,7 @@
inhand_y_dimension = 32
mag_type = /obj/item/ammo_box/magazine/internal/shot/toy/tommygun
w_class = WEIGHT_CLASS_SMALL
+ origin_tech = "combat=3;materials=2;syndicate=2"
/obj/item/gun/projectile/automatic/sniper_rifle/toy
name = "donksoft sniper rifle"
diff --git a/code/modules/reagents/chemistry/machinery/reagentgrinder.dm b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
index 85376f0d8e2e..45eae9706d47 100644
--- a/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
+++ b/code/modules/reagents/chemistry/machinery/reagentgrinder.dm
@@ -76,7 +76,8 @@
/obj/item/food/grown/pumpkin = list("pumpkinjuice" = 0),
/obj/item/food/grown/apple = list("applejuice" = 0),
/obj/item/food/grown/grapes = list("grapejuice" = 0),
- /obj/item/food/grown/pineapple = list("pineapplejuice" = 0)
+ /obj/item/food/grown/pineapple = list("pineapplejuice" = 0),
+ /obj/item/food/grown/bungofruit = list("bungojuice" = 0)
)
var/list/dried_items = list(
diff --git a/code/modules/reagents/chemistry/reagents/alcohol.dm b/code/modules/reagents/chemistry/reagents/alcohol.dm
index af10f6ee3f92..d661a9fad43f 100644
--- a/code/modules/reagents/chemistry/reagents/alcohol.dm
+++ b/code/modules/reagents/chemistry/reagents/alcohol.dm
@@ -1504,14 +1504,11 @@
/datum/reagent/consumable/ethanol/fernet/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
if(!M.nutrition)
- switch(rand(1, 3))
- if(1)
- to_chat(M, "You feel hungry... ")
- if(2)
- update_flags |= M.adjustToxLoss(1, FALSE)
- to_chat(M, "Your stomach grumbles painfully! ")
- else
- pass()
+ if(prob(66.66))
+ to_chat(M, "You feel hungry... ")
+ else if(prob(50))
+ update_flags |= M.adjustToxLoss(1, FALSE)
+ to_chat(M, "Your stomach grumbles painfully! ")
else
if(prob(60))
M.adjust_nutrition(-remove_nutrition)
diff --git a/code/modules/reagents/chemistry/reagents/drinks_reagents.dm b/code/modules/reagents/chemistry/reagents/drinks_reagents.dm
index c1561de6b6ed..1371a3bf5224 100644
--- a/code/modules/reagents/chemistry/reagents/drinks_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/drinks_reagents.dm
@@ -140,6 +140,15 @@
drink_desc = "Apple juice. Maybe it would have been better in a pie..."
taste_description = "apple juice"
+/datum/reagent/consumable/bungojuice
+ name = "Bungo Juice"
+ id = "bungojuice"
+ description = "Exotic! You feel like you are on vacation already."
+ color = "#F9E43D"
+ drink_name = "Bungo Juice"
+ drink_desc = "Exotic! You feel like you are on vacation already."
+ taste_description = "succulent bungo with an acidic poisonous tang"
+
/datum/reagent/consumable/drink/watermelonjuice
name = "Watermelon Juice"
id = "watermelonjuice"
diff --git a/code/modules/reagents/chemistry/reagents/food_reagents.dm b/code/modules/reagents/chemistry/reagents/food_reagents.dm
index a983c66b1a00..ead46024498a 100644
--- a/code/modules/reagents/chemistry/reagents/food_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/food_reagents.dm
@@ -679,6 +679,22 @@
if(volume >= 5 && !isspaceturf(T))
new /obj/item/food/weirdcheesewedge(T)
+/datum/reagent/consumable/cheese_curds
+ name = "Cheese Curds"
+ id = "cheese_curds"
+ description = "Some mushed up cheese curds. You're not quite sure why you did this."
+ reagent_state = SOLID
+ color = "#FFFF00"
+ taste_description = "salty cheese"
+
+/datum/reagent/consumable/yogurt
+ name = "yogurt"
+ id = "yogurt"
+ description = "Some yogurt, produced by bacterial fermentation of milk. Yum."
+ reagent_state = LIQUID
+ color = "#FFFFFF"
+ taste_description = "yogurt"
+
/datum/reagent/consumable/beans
name = "Refried beans"
id = "beans"
diff --git a/code/modules/reagents/chemistry/reagents/misc_reagents.dm b/code/modules/reagents/chemistry/reagents/misc_reagents.dm
index becb5f5bb504..3c64adf2b7e5 100644
--- a/code/modules/reagents/chemistry/reagents/misc_reagents.dm
+++ b/code/modules/reagents/chemistry/reagents/misc_reagents.dm
@@ -453,6 +453,7 @@
id = "jestosterone"
description = "Jestosterone is an odd chemical compound that induces a variety of annoying side-effects in the average person. It also causes mild intoxication, and is toxic to mimes."
color = "#ff00ff" //Fuchsia, pity we can't do rainbow here
+ process_flags = ORGANIC | SYNTHETIC
taste_description = "a funny flavour"
/datum/reagent/jestosterone/on_new()
@@ -475,14 +476,14 @@
C.AddElement(/datum/element/waddling)
C.AddComponent(/datum/component/squeak, null, null, null, null, null, TRUE, falloff_exponent = 20)
-/datum/reagent/jestosterone/on_mob_life(mob/living/carbon/M)
+/datum/reagent/jestosterone/on_mob_life(mob/living/carbon/human/M)
var/update_flags = STATUS_UPDATE_NONE
if(prob(10))
M.emote("giggle")
if(!M.mind)
return ..() | update_flags
if(M.mind.assigned_role == "Clown")
- update_flags |= M.adjustBruteLoss(-1.5 * REAGENTS_EFFECT_MULTIPLIER) //Screw those pesky clown beatings!
+ update_flags |= M.adjustBruteLoss(-1.5 * REAGENTS_EFFECT_MULTIPLIER, robotic = TRUE) //Screw those pesky clown beatings!
else
M.AdjustDizzy(20 SECONDS, 0, 100 SECONDS)
M.Druggy(30 SECONDS)
@@ -502,7 +503,10 @@
"You feel like telling a pun.")
to_chat(M, "[pick(clown_message)] ")
if(M.mind.assigned_role == "Mime")
- update_flags |= M.adjustToxLoss(1.5 * REAGENTS_EFFECT_MULTIPLIER)
+ if(M.dna.species.tox_mod <= 0) // If they can't take tox damage, make them take burn damage
+ update_flags |= M.adjustFireLoss(1.5 * REAGENTS_EFFECT_MULTIPLIER, robotic = TRUE)
+ else
+ update_flags |= M.adjustToxLoss(1.5 * REAGENTS_EFFECT_MULTIPLIER)
return ..() | update_flags
/datum/reagent/jestosterone/on_mob_delete(mob/living/M)
@@ -510,8 +514,8 @@
if(M.mind?.assigned_role != "Clown")
REMOVE_TRAIT(M, TRAIT_COMIC_SANS, id)
M.RemoveElement(/datum/element/waddling)
- qdel(M.GetComponent(/datum/component/squeak))
+ M.DeleteComponent(/datum/component/squeak)
/datum/reagent/royal_bee_jelly
name = "Royal bee jelly"
@@ -727,3 +731,56 @@
if(H.dna.species.bodyflags & HAS_SKIN_COLOR) //take current alien color and darken it slightly
H.change_skin_color("#9B7653")
+
+/datum/reagent/admin_cleaner
+ name = "WD-2381"
+ color = "#da9eda"
+ description = "Extra-bubbly cleaner designed to clear all objects. Or, well. Anything that isn't bolted down. Or is, for that matter. In other words: if you're seeing this, how'd you get your hands on it?"
+
+/datum/reagent/admin_cleaner/organic
+ name = "WD-2381-MOB"
+ id = "admincleaner_mob"
+ description = "A bottle of strange nanites that instantly devour bodies, both living and dead, as well as organs."
+
+/datum/reagent/admin_cleaner/organic/reaction_mob(mob/living/M, method, volume, show_message)
+ . = ..()
+ if(method == REAGENT_TOUCH)
+ M.dust()
+
+/datum/reagent/admin_cleaner/organic/reaction_obj(obj/O, volume)
+ if(is_organ(O))
+ qdel(O)
+ if(istype(O, /obj/effect/decal/cleanable/blood) || istype(O, /obj/effect/decal/cleanable/vomit))
+ qdel(O)
+ if(istype(O, /obj/item/mmi))
+ qdel(O)
+
+/datum/reagent/admin_cleaner/item
+ name = "WD-2381-ITM"
+ id = "admincleaner_item"
+ description = "A bottle of strange nanites that instantly devour items, while curiously leaving everything else untouched."
+
+/datum/reagent/admin_cleaner/item/reaction_obj(obj/O, volume)
+ if(isitem(O) && !istype(O, /obj/item/grenade/clusterbuster/segment))
+ qdel(O)
+
+/datum/reagent/admin_cleaner/all
+ name = "WD-2381-ALL"
+ id = "admincleaner_all"
+ description = "An incredibly dangerous set of nanites engineered by Syndicate Janitors which devour everything they touch."
+
+/datum/reagent/admin_cleaner/all/reaction_obj(obj/O, volume)
+ if(istype(O, /obj/item/grenade/clusterbuster/segment))
+ // don't clear clusterbang segments
+ // I'm allowed to make this hack because this is admin only anyway
+ return
+ if(!iseffect(O))
+ qdel(O)
+
+/datum/reagent/admin_cleaner/all/reaction_mob(mob/living/M, method, volume, show_message)
+ . = ..()
+ if(method == REAGENT_TOUCH)
+ M.dust()
+
+
+
diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm
index 4ea9e6c141e6..7dd272207e8b 100644
--- a/code/modules/reagents/chemistry/reagents/toxins.dm
+++ b/code/modules/reagents/chemistry/reagents/toxins.dm
@@ -924,14 +924,11 @@
/datum/reagent/lipolicide/on_mob_life(mob/living/M)
var/update_flags = STATUS_UPDATE_NONE
if(!M.nutrition)
- switch(rand(1,3))
- if(1)
- to_chat(M, "You feel hungry... ")
- if(2)
- update_flags |= M.adjustToxLoss(1, FALSE)
- to_chat(M, "Your stomach grumbles painfully! ")
- else
- pass()
+ if(prob(66.66))
+ to_chat(M, "You feel hungry... ")
+ else if(prob(50))
+ update_flags |= M.adjustToxLoss(1, FALSE)
+ to_chat(M, "Your stomach grumbles painfully! ")
else
if(prob(60))
var/fat_to_burn = max(round(M.nutrition / 100, 1), 5)
diff --git a/code/modules/reagents/chemistry/reagents/water.dm b/code/modules/reagents/chemistry/reagents/water.dm
index 9c5388ac9299..83956eb56c9d 100644
--- a/code/modules/reagents/chemistry/reagents/water.dm
+++ b/code/modules/reagents/chemistry/reagents/water.dm
@@ -61,9 +61,7 @@
if(iseffect(O))
var/obj/effect/E = O
if(E.is_cleanable())
- var/obj/effect/decal/cleanable/blood/B = E
- if(!(istype(B) && B.off_floor))
- qdel(E)
+ qdel(E)
else
if(O.simulated)
O.color = initial(O.color)
diff --git a/code/modules/reagents/chemistry/recipes/food_reactions.dm b/code/modules/reagents/chemistry/recipes/food_reactions.dm
index 4a0ab9df0074..583f354d3338 100644
--- a/code/modules/reagents/chemistry/recipes/food_reactions.dm
+++ b/code/modules/reagents/chemistry/recipes/food_reactions.dm
@@ -77,6 +77,26 @@
for(var/i = 1, i <= created_volume, i++)
new /obj/item/food/sliceable/cheesewheel(location)
+/datum/chemical_reaction/cheese_curds
+ name = "Cheese Curds"
+ id = "cheese_curds"
+ result = null
+ required_reagents = list("milk" = 15, "vinegar" = 5, "cream" = 5)
+ result_amount = 1
+ min_temp = T0C + 80
+
+/datum/chemical_reaction/cheese_curds/on_reaction(datum/reagents/holder, created_volume)
+ var/location = get_turf(holder.my_atom)
+ for(var/i = 1, i <= created_volume, i++)
+ new /obj/item/food/cheese_curds(location)
+
+/datum/chemical_reaction/yogurt
+ name = "Yogurt"
+ id = "yogurt"
+ result = "yogurt"
+ required_reagents = list("milk" = 10, "virusfood" = 2)
+ result_amount = 10
+
/datum/chemical_reaction/syntiflesh
name = "Syntiflesh"
id = "syntiflesh"
diff --git a/code/modules/research/designs/mecha_designs.dm b/code/modules/research/designs/mecha_designs.dm
index 837f80365c04..3a5f5c10390b 100644
--- a/code/modules/research/designs/mecha_designs.dm
+++ b/code/modules/research/designs/mecha_designs.dm
@@ -27,7 +27,7 @@
name = "Exosuit Board (\"Odysseus\" Central Control module)"
desc = "Allows for the construction of a \"Odysseus\" Central Control module."
id = "odysseus_main"
- req_tech = list("programming" = 3,"biotech" = 3, "engineering" = 3)
+ req_tech = list("programming" = 3, "biotech" = 3, "engineering" = 3)
build_type = IMPRINTER
materials = list(MAT_GLASS = 1000)
build_path = /obj/item/circuitboard/mecha/odysseus/main
@@ -37,12 +37,33 @@
name = "Exosuit Board (\"Odysseus\" Peripherals Control module)"
desc = "Allows for the construction of a \"Odysseus\" Peripheral Control module."
id = "odysseus_peri"
- req_tech = list("programming" = 3,"biotech" = 3, "engineering" = 3)
+ req_tech = list("programming" = 3, "biotech" = 3, "engineering" = 3)
build_type = IMPRINTER
materials = list(MAT_GLASS = 1000)
build_path = /obj/item/circuitboard/mecha/odysseus/peripherals
category = list("Exosuit Modules")
+// Nkarrdem
+/datum/design/nkarrdem_main
+ name = "Exosuit Board (\"Nkarrdem\" Central Control module)"
+ desc = "Allows for the construction of a \"Nkarrdem\" Central Control module."
+ id = "nkarrdem_main"
+ req_tech = list("programming" = 3, "biotech" = 3, "engineering" = 3)
+ build_type = IMPRINTER
+ materials = list(MAT_GLASS = 1000)
+ build_path = /obj/item/circuitboard/mecha/nkarrdem/main
+ category = list("Exosuit Modules")
+
+/datum/design/nkarrdem_peri
+ name = "Exosuit Board (\"Nkarrdem\" Peripherals Control module)"
+ desc = "Allows for the construction of a \"Nkarrdem\" Peripheral Control module."
+ id = "nkarrdem_peri"
+ req_tech = list("programming" = 3, "biotech" = 3, "engineering" = 3)
+ build_type = IMPRINTER
+ materials = list(MAT_GLASS = 1000)
+ build_path = /obj/item/circuitboard/mecha/nkarrdem/peripherals
+ category = list("Exosuit Modules")
+
// Gygax
/datum/design/gygax_main
name = "Exosuit Board (\"Gygax\" Central Control module)"
diff --git a/code/modules/research/designs/mechfabricator_designs.dm b/code/modules/research/designs/mechfabricator_designs.dm
index 92b1f19de11c..39448394c68f 100644
--- a/code/modules/research/designs/mechfabricator_designs.dm
+++ b/code/modules/research/designs/mechfabricator_designs.dm
@@ -249,6 +249,70 @@
construction_time = 13 SECONDS
category = list("Odysseus")
+//Nkarrdem
+/datum/design/nkarrdem_chassis
+ name = "Exosuit Chassis (\"Nkarrdem\")"
+ id = "nkarrdem_chassis"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/chassis/nkarrdem
+ materials = list(MAT_METAL=20000)
+ construction_time = 10 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_torso
+ name = "Exosuit Torso (\"Nkarrdem\")"
+ id = "nkarrdem_torso"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_torso
+ materials = list(MAT_METAL=12000)
+ construction_time = 18 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_head
+ name = "Exosuit Head (\"Nkarrdem\")"
+ id = "nkarrdem_head"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_head
+ materials = list(MAT_METAL=6000,MAT_GLASS=10000)
+ construction_time = 10 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_left_arm
+ name = "Exosuit Left Arm (\"Nkarrdem\")"
+ id = "nkarrdem_left_arm"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_left_arm
+ materials = list(MAT_METAL=6000)
+ construction_time = 12 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_right_arm
+ name = "Exosuit Right Arm (\"Nkarrdem\")"
+ id = "nkarrdem_right_arm"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_right_arm
+ materials = list(MAT_METAL=6000)
+ construction_time = 12 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_left_leg
+ name = "Exosuit Left Leg (\"Nkarrdem\")"
+ id = "nkarrdem_left_leg"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_left_leg
+ materials = list(MAT_METAL=12000)
+ construction_time = 13 SECONDS
+ category = list("Nkarrdem")
+
+/datum/design/nkarrdem_right_leg
+ name = "Exosuit Right Leg (\"Nkarrdem\")"
+ id = "nkarrdem_right_leg"
+ build_type = MECHFAB
+ build_path = /obj/item/mecha_parts/part/nkarrdem_right_leg
+ materials = list(MAT_METAL=12000)
+ construction_time = 13 SECONDS
+ category = list("Nkarrdem")
+
//Gygax
/datum/design/gygax_chassis
name = "Exosuit Chassis (\"Gygax\")"
@@ -672,6 +736,56 @@
construction_time = 20 SECONDS
category = list("Exosuit Equipment")
+/datum/design/mech_mop
+ name = "Exosuit Janitorial Equipment (Mega Mop)"
+ id = "mech_mop"
+ build_type = MECHFAB
+ req_tech = list("materials" = 4, "engineering" = 3)
+ build_path = /obj/item/mecha_parts/mecha_equipment/janitor/mega_mop
+ materials = list(MAT_METAL=5000,MAT_GLASS=3000)
+ construction_time = 10 SECONDS
+ category = list("Exosuit Equipment")
+
+/datum/design/mech_garbage_bag
+ name = "Exosuit Janitorial Equipment (Garbage Magnet)"
+ id = "mech_garbage_bag"
+ build_type = MECHFAB
+ req_tech = list("materials" = 5, "bluespace" = 4, "engineering" = 4, "plasmatech" = 3)
+ build_path = /obj/item/mecha_parts/mecha_equipment/janitor/garbage_magnet
+ materials = list(MAT_METAL=1500,MAT_GOLD=1500,MAT_URANIUM=700,MAT_PLASMA=2000)
+ construction_time = 10 SECONDS
+ category = list("Exosuit Equipment")
+
+/datum/design/mech_mega_spray
+ name = "Exosuit Janitorial Equipment (Mega Spray)"
+ id = "mech_mega_spray"
+ build_type = MECHFAB
+ req_tech = list("biotech" = 5, "engineering" = 6, "plasmatech" = 6)
+ build_path = /obj/item/mecha_parts/mecha_equipment/janitor/mega_spray
+ materials = list(MAT_METAL=1000,MAT_GLASS=4000,MAT_GOLD=1000,MAT_PLASMA=3000)
+ construction_time = 10 SECONDS
+ category = list("Exosuit Equipment")
+
+/datum/design/mech_light_replacer
+ name = "Exosuit Janitorial Equipment (Light Replacer)"
+ id = "mech_light_replacer"
+ build_type = MECHFAB
+ req_tech = list("bluespace" = 7, "materials" = 5, "engineering" = 6, "plasmatech" = 6)
+ build_path = /obj/item/mecha_parts/mecha_equipment/janitor/light_replacer
+ materials = list(MAT_METAL=1500,MAT_SILVER=150,MAT_GLASS=6000,MAT_BLUESPACE=300)
+ construction_time = 10 SECONDS
+ category = list("Exosuit Equipment")
+
+/datum/design/mech_cleaning_grenade_launcher
+ name = "Exosuit Janitorial Equipment (Cleaning Grenade Launcher)"
+ id = "mech_cleaning_grenade_launcher"
+ build_type = MECHFAB
+ req_tech = list("toxins" = 7, "engineering" = 7, "plasmatech" = 6, "combat" = 6)
+ build_path = /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner
+ materials = list(MAT_METAL=5000,MAT_GLASS=3000,MAT_SILVER=4000,MAT_GOLD=6000)
+ construction_time = 10 SECONDS
+ category = list("Exosuit Equipment")
+
/datum/design/mech_generator
name = "Exosuit Equipment (Plasma Generator)"
id = "mech_generator"
diff --git a/code/modules/research/experimentor.dm b/code/modules/research/experimentor.dm
index 2a0827d75a1f..3ed8d1d32dc7 100644
--- a/code/modules/research/experimentor.dm
+++ b/code/modules/research/experimentor.dm
@@ -482,12 +482,12 @@
if(globalMalf > 16 && globalMalf < 35)
visible_message("[src] melts [exp_on], ian-izing the air around it! ")
throwSmoke(loc)
- var/mob/tracked_ian = locate(/mob/living/simple_animal/pet/dog/corgi/Ian) in GLOB.mob_living_list
+ var/mob/living/tracked_ian = locate(/mob/living/simple_animal/pet/dog/corgi/Ian) in GLOB.mob_living_list
if(tracked_ian)
throwSmoke(tracked_ian.loc)
tracked_ian.loc = loc
if(tracked_ian.buckled)
- tracked_ian.buckled.unbuckle_mob(tracked_ian, TRUE)
+ tracked_ian.unbuckle(force = TRUE)
investigate_log("Experimentor has stolen Ian!", "experimentor") //...if anyone ever fixes it...
else
new /mob/living/simple_animal/pet/dog/corgi(loc)
@@ -496,12 +496,12 @@
if(globalMalf > 36 && globalMalf < 59)
visible_message("[src] encounters a run-time error! ")
throwSmoke(loc)
- var/mob/tracked_runtime = locate(/mob/living/simple_animal/pet/cat/Runtime) in GLOB.mob_living_list
+ var/mob/living/tracked_runtime = locate(/mob/living/simple_animal/pet/cat/Runtime) in GLOB.mob_living_list
if(tracked_runtime)
throwSmoke(tracked_runtime.loc)
tracked_runtime.loc = loc
if(tracked_runtime.buckled)
- tracked_runtime.buckled.unbuckle_mob(tracked_runtime, TRUE)
+ tracked_runtime.unbuckle(force = TRUE)
investigate_log("Experimentor has stolen Runtime!", "experimentor")
else
new /mob/living/simple_animal/pet/cat(loc)
diff --git a/code/modules/ruins/lavalandruin_code/hermit.dm b/code/modules/ruins/lavalandruin_code/hermit.dm
index 855a545b3fcc..021fb4290ea7 100644
--- a/code/modules/ruins/lavalandruin_code/hermit.dm
+++ b/code/modules/ruins/lavalandruin_code/hermit.dm
@@ -19,35 +19,32 @@
/obj/effect/mob_spawn/human/alive/hermit/Initialize(mapload)
. = ..()
var/arrpee = rand(1,4)
+ outfit.suit = /obj/item/clothing/suit/space/syndicate/orange
+ outfit.head = /obj/item/clothing/head/helmet/space/syndicate/orange
+ outfit.shoes = /obj/item/clothing/shoes/black
+ outfit.back = /obj/item/storage/backpack
switch(arrpee)
if(1)
flavour_text += "you were a [pick("arms dealer", "shipwright", "docking manager")]'s assistant on a small trading station several sectors from here. Raiders attacked, and there was \
only one pod left when you got to the escape bay. You took it and launched it alone, and the crowd of terrified faces crowding at the airlock door as your pod's engines burst to \
life and sent you to this hell are forever branded into your memory."
outfit.uniform = /obj/item/clothing/under/misc/assistantformal
- outfit.shoes = /obj/item/clothing/shoes/black
- outfit.back = /obj/item/storage/backpack
if(2)
flavour_text += "you're an exile from the Tiger Cooperative. Their technological fanaticism drove you to question the power and beliefs of the Exolitics, and they saw you as a \
heretic and subjected you to hours of horrible torture. You were hours away from execution when a high-ranking friend of yours in the Cooperative managed to secure you a pod, \
scrambled its destination's coordinates, and launched it. You awoke from stasis when you landed and have been surviving - barely - ever since."
outfit.uniform = /obj/item/clothing/under/color/orange
outfit.shoes = /obj/item/clothing/shoes/orange
- outfit.back = /obj/item/storage/backpack
if(3)
flavour_text += "you were a doctor on one of Nanotrasen's space stations, but you left behind that damn corporation's tyranny and everything it stood for. From a metaphorical hell \
to a literal one, you find yourself nonetheless missing the recycled air and warm floors of what you left behind... but you'd still rather be here than there."
outfit.uniform = /obj/item/clothing/under/rank/medical/doctor
- outfit.suit = /obj/item/clothing/suit/storage/labcoat
outfit.back = /obj/item/storage/backpack/medic
- outfit.shoes = /obj/item/clothing/shoes/black
if(4)
flavour_text += "you were always joked about by your friends for \"not playing with a full deck\", as they so kindly put it. It seems that they were right when you, on a tour \
at one of Nanotrasen's state-of-the-art research facilities, were in one of the escape pods alone and saw the red button. It was big and shiny, and it caught your eye. You pressed \
it, and after a terrifying and fast ride for days, you landed here. You've had time to wisen up since then, and you think that your old friends wouldn't be laughing now."
outfit.uniform = /obj/item/clothing/under/color/grey/glorf
- outfit.shoes = /obj/item/clothing/shoes/black
- outfit.back = /obj/item/storage/backpack
/obj/effect/mob_spawn/human/alive/hermit/Destroy()
new/obj/structure/fluff/empty_cryostasis_sleeper(get_turf(src))
diff --git a/code/modules/ruins/lavalandruin_code/seed_vault.dm b/code/modules/ruins/lavalandruin_code/seed_vault.dm
index 261c22ef4882..bbedf9201628 100644
--- a/code/modules/ruins/lavalandruin_code/seed_vault.dm
+++ b/code/modules/ruins/lavalandruin_code/seed_vault.dm
@@ -22,7 +22,7 @@
flavour_text = "You are a sentient ecosystem, an example of the mastery over life that your creators possessed. Your masters, benevolent as they were, created uncounted \
seed vaults and spread them across the universe to every planet they could chart. You are in one such seed vault. Your goal is to cultivate and spread life wherever it will go while waiting \
for contact from your creators. Estimated time of last contact: Deployment, 5x10^3 millennia ago."
- assignedrole = "Lifebringer"
+ assignedrole = "Seed Vault Diona"
/obj/effect/mob_spawn/human/alive/seed_vault/special(mob/living/new_spawn)
var/plant_name = pick("Tomato", "Potato", "Broccoli", "Carrot", "Ambrosia", "Pumpkin", "Ivy", "Kudzu", "Banana", "Moss", "Flower", "Bloom", "Root", "Bark", "Glowshroom", "Petal", "Leaf", \
diff --git a/code/modules/ruins/ruin_areas.dm b/code/modules/ruins/ruin_areas.dm
index 02cc3722e893..d1cc859aaa21 100644
--- a/code/modules/ruins/ruin_areas.dm
+++ b/code/modules/ruins/ruin_areas.dm
@@ -1,3 +1,11 @@
+GLOBAL_LIST_INIT(ruin_prototypes, list(/area/ruin,
+ /area/ruin/unpowered,
+ /area/ruin/powered,
+ /area/ruin/space,
+ /area/ruin/space/powered,
+ /area/ruin/space/unpowered,
+ /area/ruin/space/unpowered/no_grav))
+
//Parent types
/area/ruin
diff --git a/code/modules/shuttle/emergency.dm b/code/modules/shuttle/emergency.dm
index 8dc913b654a3..4ae74f1986d4 100644
--- a/code/modules/shuttle/emergency.dm
+++ b/code/modules/shuttle/emergency.dm
@@ -516,17 +516,6 @@
mode = SHUTTLE_ENDGAME
timer = 0
- open_dock()
-
-/obj/docking_port/mobile/emergency/proc/open_dock()
- pass()
-/*
- for(var/obj/machinery/door/poddoor/shuttledock/D in airlocks)
- var/turf/T = get_step(D, D.checkdir)
- if(!istype(T,/turf/space))
- spawn(0)
- D.open()
-*/ //Leaving this here incase someone decides to port -tg-'s escape shuttle stuff:
/obj/docking_port/mobile/emergency/proc/random_docking_go()
var/cycles = 1000
diff --git a/code/modules/shuttle/shuttle.dm b/code/modules/shuttle/shuttle.dm
index 07376d0bf295..f6deb5a9b85b 100644
--- a/code/modules/shuttle/shuttle.dm
+++ b/code/modules/shuttle/shuttle.dm
@@ -645,20 +645,18 @@
var/obj/mecha/mech = AM
if(mech.occupant)
INVOKE_ASYNC(mech, TYPE_PROC_REF(/obj/mecha, get_out_and_die))
- if(ismob(AM))
- var/mob/M = AM
- if(M.buckled)
- M.buckled.unbuckle_mob(M, force = TRUE)
- if(isliving(AM))
- var/mob/living/L = AM
- if(L.incorporeal_move || L.status_flags & GODMODE)
- continue
- L.stop_pulling()
- L.visible_message("[L] is hit by \
- a hyperspace ripple! ",
- "You feel an immense \
- crushing pressure as the space around you ripples. ")
- L.gib()
+ if(isliving(AM))
+ var/mob/living/L = AM
+ if(L.buckled)
+ L.unbuckle(force = TRUE)
+ if(L.incorporeal_move || L.status_flags & GODMODE)
+ continue
+ L.stop_pulling()
+ L.visible_message("[L] is hit by \
+ a hyperspace ripple! ",
+ "You feel an immense \
+ crushing pressure as the space around you ripples. ")
+ L.gib()
else if(lance_docking) //corrupt the child, destroy them all
if(!AM.simulated)
continue
diff --git a/code/modules/station_goals/bluespace_tap.dm b/code/modules/station_goals/bluespace_tap.dm
index 4517f2164488..beb52ea19a15 100644
--- a/code/modules/station_goals/bluespace_tap.dm
+++ b/code/modules/station_goals/bluespace_tap.dm
@@ -174,7 +174,9 @@
/obj/item/food/sliceable/xenomeatbread //maybe add some dangerous/special food here, ie robobuger?
)
-#define BASE_ENERGY_CONVERSION 4e-6
+/// Points generated per cycle for each Watt of power consumption
+#define POINTS_PER_W 4e-6
+/// Amount of points generated per cycle per 50KW for the first 500KW
#define BASE_POINTS 2
/**
@@ -199,13 +201,6 @@
interact_offline = TRUE
luminosity = 1
- /// Correspond to power required for a mining level, first entry for level 1, etc.
- var/list/power_needs = list(1 KW, 2 KW, 5 KW, 10 KW, 15 KW,
- 25 KW, 50 KW, 100 KW, 250 KW, 500 KW,
- 1 MW, 2 MW, 5 MW, 10 MW, 15 MW,
- 20 MW, 25 MW, 30 MW, 40 MW, 50 MW,
- 60 MW, 70 MW, 80 MW, 90 MW, 100 MW)
-
/// list of possible products
var/static/product_list = list(
new /datum/data/bluespace_tap_product("Unknown Exotic Hat", /obj/effect/spawner/lootdrop/bluespace_tap/hat, 5000),
@@ -214,37 +209,31 @@
new /datum/data/bluespace_tap_product("Unknown Biological Artifact", /obj/effect/spawner/lootdrop/bluespace_tap/organic, 20000)
)
- /// The level the machine is currently mining at. 0 means off
- var/input_level = 0
- /// The machine you WANT the machine to mine at. It will try to match this.
- var/desired_level = 0
+ /// The amount of power being used for mining at the moment (Watts)
+ var/mining_power = 0
+ /// The power you WANT the machine to use for mining. It will try to match this. (Watts)
+ var/desired_mining_power = 0
+ /// Points mined this cycle
+ var/mined_points = 0
/// Available mining points
var/points = 0
/// The total points earned by this machine so far, for tracking station goal and highscore
var/total_points = 0
- /// How much power the machine needs per processing tick at the current level.
- var/actual_power_usage = 0
// Tweak these and active_power_consumption to balance power generation
- /// Max power input level, I don't expect this to be ever reached. It has been reached.
- var/max_level = 25
- /// amount of points generated per level for the first 10 levels
- var/base_points = BASE_POINTS
- /// amount of points generated per process cycle per unit of energy consumed
- var/conversion_ratio = BASE_ENERGY_CONVERSION
- /// How high the machine can be run before it starts having a chance for dimension breaches.
- var/safe_levels = 15
/// Whether or not auto shutdown will engage when portals open
var/auto_shutdown = TRUE
/// Whether or not stabilizers will engage to prevent or reduce the chance of portals opening
var/stabilizers = TRUE
- /// Amount of power the stabilizers consume
+ /// Amount of power the stabilizers consume (Watts)
var/stabilizer_power = 0
- /// Amount of overhead in levels. Each level of overhead allows stabilizing 15+overhead.
- var/overhead = 0
+ /// Whether or not mining power will be prevented from exceedingn stabilizer power
+ var/stabilizer_priority = TRUE
/// When event triggers this will hold references to all portals so we can fix the sprite after they're broken
var/list/active_nether_portals = list()
+ /// The amount of portals waiting to be spawned. Used mostly for UI and icon stuff.
+ var/spawning = 0
/obj/machinery/power/bluespace_tap/Initialize(mapload)
. = ..()
@@ -256,7 +245,7 @@
if(!powernet)
connect_to_network()
- AddComponent(/datum/component/multitile, 1, list(
+ AddComponent(/datum/component/multitile, list(
list(1, 1, 1),
list(1, MACH_CENTER, 1),
list(1, 0, 1),
@@ -280,7 +269,7 @@
underlays.Cut()
- if(length(active_nether_portals))
+ if(length(active_nether_portals) || spawning)
. += "cascade"
set_light(15, 5, "#ff0000")
return
@@ -296,19 +285,19 @@
underlays += emissive_appearance(icon, "light_mask")
/obj/machinery/power/bluespace_tap/proc/get_icon_state_number()
- switch(input_level)
- if(0)
- return 0
- if(1 to 3)
+ switch(mining_power)
+ if(50 KW to 3 MW)
return 1
- if(4 to 8)
+ if(3 MW to 8 MW)
return 2
- if(9 to 11)
+ if(8 MW to 11 MW)
return 3
- if(12 to 15)
+ if(11 MW to 15 MW)
return 4
- if(16 to INFINITY)
+ if(15 MW to INFINITY)
return 5
+ else
+ return 0
/obj/machinery/power/bluespace_tap/power_change()
. = ..()
@@ -331,99 +320,96 @@
update_icon()
/**
- * Increases the desired mining level
- *
- * Increases the desired mining level, that
- * the machine tries to reach if there
- * is enough power for it. Note that it does
- * NOT increase the actual mining level directly.
- */
-/obj/machinery/power/bluespace_tap/proc/increase_level()
- if(desired_level < max_level)
- desired_level++
-/**
- * Decreases the desired mining level
- *
- * Decreases the desired mining level, that
- * the machine tries to reach if there
- * is enough power for it. Note that it does
- * NOT decrease the actual mining level directly.
- */
-/obj/machinery/power/bluespace_tap/proc/decrease_level()
- if(desired_level > 0)
- desired_level--
-
-/**
- * Sets the desired mining level
+ * Sets the desired mining power (Watts)
*
- * Sets the desired mining level, that
+ * Sets the desired mining power, that
* the machine tries to reach if there
* is enough power for it. Note that it does
- * NOT change the actual mining level directly.
+ * NOT change the actual mining power directly.
* Arguments:
- * * t_level - The level we try to set it at, between 0 and max_level
+ * * t_power - The power we try to set it at, between 0 and max_level
*/
-/obj/machinery/power/bluespace_tap/proc/set_level(t_level)
- if(t_level < 0)
- return
- if(t_level > max_level)
- return
- desired_level = t_level
-/**
- * Gets the amount of power at a set input level
- *
- * Gets the amount of power (in W) a set input level needs.
- * Note that this is not necessarily the current power use.
- * * i_level - The hypothetical input level for which we want to know the power use.
- */
-/obj/machinery/power/bluespace_tap/proc/get_power_use(i_level)
- if(!i_level)
- return 0
- return power_needs[i_level]
+/obj/machinery/power/bluespace_tap/proc/set_power(t_power)
+ desired_mining_power = max(t_power, 0)
+ // Round down to nearest MW if above 1 MW
+ if(desired_mining_power > 1 MW)
+ desired_mining_power = desired_mining_power - (desired_mining_power % (1 MW))
/obj/machinery/power/bluespace_tap/process()
- actual_power_usage = get_power_use(input_level)
- if(get_surplus() < actual_power_usage) //not enough power, so turn down a level
- input_level--
- update_icon()
- return // and no mining gets done
- if(actual_power_usage)
- consume_direct_power(actual_power_usage)
- //2 points per level up to level 10 and 4 points per MW (or 5 when emmaged).
- var/points_to_add = min(base_points * 10, base_points * input_level) + actual_power_usage * (conversion_ratio + emagged * 1e-6)
- points += points_to_add // point generation, emagging gets you 'free' points at the cost of higher anomaly chance
- total_points += points_to_add
- // Between levels 15 and 18 get one level of overhead per 5MW of surplus power. Above level 18 get 1 level per 10MW of surplus power.
- overhead = input_level >= 18 ? get_surplus() * 1e-7 : get_surplus() * 2e-7
- stabilizer_power = stabilizers && input_level > 15 ? input_level >= 18 ? min(get_surplus() , (input_level - 15) * 1e7) : min(get_surplus() , (input_level - 15) * 0.5e7) : 0
- consume_direct_power(stabilizer_power)
- // actual input level changes slowly
- // holy shit every proccess this
- if(input_level < desired_level && (get_surplus() + get_power_use(input_level) + stabilizer_power >= get_power_use(input_level + 1)))
- input_level++
- update_icon()
- else if(input_level > desired_level)
- input_level--
- update_icon()
- // Stabilizers reduce the chance of portals. prob with values less than 0 treat it as 0.
- if(prob(input_level - (safe_levels + stabilizers * overhead) + (emagged * 5)))
+ // Power we could mine with (Watts)
+ mining_power = get_surplus()
+
+ // Round down to the nearest MW if above a MW
+ if(mining_power > 1 MW)
+ mining_power = mining_power - mining_power % (1 MW)
+
+ // Always try to use all available power for mining if emagged
+ if(emagged)
+ desired_mining_power = mining_power
+
+ /*
+ * Stabilizers activate above 15MW of mining power
+ * Stabilizers consume up to 1MW for each 1MW of mining power, consuming less between 15 and 30MW of mining power
+ * If stabilizers have priority they will always consume enough power to stabilize the BSH, limiting mining
+ * Emagging disables stabilizers
+ */
+ if(stabilizer_priority)
+ // stabilizer power is what we need to stabilize the current mining level, but no more than half the available power.
+ stabilizer_power = \
+ clamp(\
+ desired_mining_power - clamp(30 MW - desired_mining_power, 0, 15 MW), \
+ 0, \
+ mining_power / 2) \
+ * (stabilizers && !emagged)
+ else
+ // stabilizer power is however much power we have left, but no more than we need to stabilize our desired mining power.
+ stabilizer_power = \
+ clamp(mining_power - desired_mining_power, \
+ 0, \
+ desired_mining_power - clamp(30 MW - desired_mining_power, 0, 15 MW)) \
+ * (stabilizers && !emagged)
+
+ // Actual mining power is what the desired mining power we set, unless we don't have enough power to satisfty that.
+ mining_power = min(desired_mining_power, mining_power - stabilizer_power)
+
+ consume_direct_power(mining_power + stabilizer_power)
+
+ // 2 points per 50 KW up to 20 and 4 points per MW (or 5 when emmaged).
+ mined_points = min(BASE_POINTS * (mining_power / (50 KW)) , 20) + mining_power * (POINTS_PER_W + emagged / (1 MW))
+ points += mined_points
+ total_points += mined_points
+ update_icon()
+ /*
+ * Portal chance is 0.1% per cycle per difference of 1MW between the stabilizer and mining power
+ * This should translate to portals spawning every 33:20 minutes for 1 difference of 1MW
+ * And about every 3:20 minutes for a 10MW difference
+ * Emagging guarantees a chance of at least 5%
+ * Prob treats values less than 0 as 0.
+ * Emagging garuantees a chance of at least 5%.
+ * Prob treats values less than 0 as 0.
+ */
+
+ if(prob((mining_power - clamp(30 MW - mining_power, 0, 15 MW) - stabilizer_power) / (10 MW)) + (emagged * 5))
var/area/our_area = get_area(src)
- if(!length(active_nether_portals))
+ if((!spawning || !length(active_nether_portals)))
GLOB.major_announcement.Announce("Произошел непредвиденный скачок напряжения во время работы Блюспейс-сборщика. Обнаружено внепространственное вторжение! Ожидаемое местоположение: [our_area.name]. [emagged ? "ОПАСНОСТЬ: Аварийное отключение не удалось! Пожалуйста, перейдите к ручному отключению." : auto_shutdown ? "Начато аварийное отключение." : "Automatic shutdown disabled."]", "ВНИМАНИЕ: Обнаружена неисправность Блюспейс-сборщика!", 'sound/AI/harvester.ogg')
if(!emagged && auto_shutdown)
- input_level = 0 //emergency shutdown unless it is disabled
- desired_level = 0
- start_nether_portaling(rand(1 , 3) + max((level - 15 - overhead) / 3 , 0))
+ desired_mining_power = 0 //emergency shutdown unless it is disabled
+ // An extra portal for each 30MW above 15
+ start_nether_portaling(rand(1 , 3) + round(max((mining_power - 15 MW) / (30 MW) , 0)), TRUE)
-/obj/machinery/power/bluespace_tap/proc/start_nether_portaling(amount)
+/obj/machinery/power/bluespace_tap/proc/start_nether_portaling(amount, new_incursion = FALSE)
+ if(new_incursion)
+ spawning += amount
var/turf/location = locate(x + rand(-5, 5), y + rand(-5, 5), z)
var/obj/structure/spawner/nether/bluespace_tap/P = new /obj/structure/spawner/nether/bluespace_tap(location)
amount--
+ spawning--
active_nether_portals += P
P.linked_source_object = src
- // 1 Extra mob for each 2 levels above 15.
- P.max_mobs = 5 + max((input_level - 15) / 2, 0)
+ // 1 Extra mob for each 20 MW of mining power above 15MW.
+ P.max_mobs = 5 + max((mining_power - 15 MW) / (20 MW), 0)
update_icon()
if(amount)
addtimer(CALLBACK(src, PROC_REF(start_nether_portaling), amount), rand(3, 5) SECONDS)
@@ -431,20 +417,18 @@
/obj/machinery/power/bluespace_tap/ui_data(mob/user)
var/list/data = list()
- data["desiredLevel"] = desired_level
- data["inputLevel"] = input_level
+ data["desiredMiningPower"] = desired_mining_power
+ data["miningPower"] = mining_power
data["points"] = points
data["totalPoints"] = total_points
- data["powerUse"] = actual_power_usage + stabilizer_power
+ data["powerUse"] = mining_power + stabilizer_power
data["availablePower"] = get_surplus()
- data["maxLevel"] = max_level
data["emagged"] = emagged
- data["safeLevels"] = safe_levels
- data["nextLevelPower"] = get_power_use(input_level + 1)
data["autoShutown"] = auto_shutdown
- data["overhead"] = overhead
data["stabilizers"] = stabilizers
data["stabilizerPower"] = stabilizer_power
+ data["stabilizerPriority"] = stabilizer_priority
+ data["portaling"] = (length(active_nether_portals) || spawning)
/// A list of lists, each inner list equals a datum
var/list/listed_items = list()
@@ -460,18 +444,12 @@
/obj/machinery/power/bluespace_tap/attack_hand(mob/user)
add_fingerprint(user)
- if(length(active_nether_portals)) //this would be cool if we made unique TGUI for this
- to_chat(user, "UNKNOWN INTERFERENCE ... UNRESPONSIVE ")
- return
ui_interact(user)
/obj/machinery/power/bluespace_tap/attack_ghost(mob/user)
ui_interact(user)
-/obj/machinery/power/bluespace_tap/attack_ai(mob/user)
- if(length(active_nether_portals)) //this would be cool if we made unique TGUI for this
- to_chat(user, "UNKNOWN INTERFERENCE ... UNRESPONSIVE ")
- return
+/obj/machinery/power/bluespace_tap/attack_ai(mob/user) //this would be cool if we made unique TGUI for this
ui_interact(user)
/**
@@ -499,12 +477,8 @@
return
. = TRUE // we want to refresh in all the cases below
switch(action)
- if("decrease")
- decrease_level()
- if("increase")
- increase_level()
if("set")
- set_level(text2num(params["set_level"]))
+ set_power(text2num(params["set_power"]))
if("vend")//it's not really vending as producing, but eh
var/key = text2num(params["target"])
produce(key)
@@ -512,6 +486,8 @@
auto_shutdown = !auto_shutdown
if("stabilizers")
stabilizers = !stabilizers
+ if("stabilizer_priority")
+ stabilizer_priority = !stabilizer_priority
/obj/machinery/power/bluespace_tap/ui_state(mob/user)
return GLOB.default_state
@@ -527,7 +503,6 @@
if(emagged)
return
emagged = TRUE
- desired_level = max_level
do_sparks(5, FALSE, src)
if(user)
user.visible_message("[user] disables the [src]'s safeties'. ", "You disable the [src]'s safeties'. ")
@@ -568,5 +543,6 @@
Device highly experimental. Not for sale. Do not operate near small children or vital NT assets. Do not tamper with machine. In case of existential dread, stop machine immediately. \
Please document any and all extradimensional incursions. In case of imminent death, please leave said documentation in plain sight for clean-up teams to recover.
"
-#undef BASE_ENERGY_CONVERSION
+#undef POINTS_PER_W
#undef BASE_POINTS
+ER_W
diff --git a/code/modules/station_goals/dna_vault.dm b/code/modules/station_goals/dna_vault.dm
index 6eca59c5e29b..04d85784bd03 100644
--- a/code/modules/station_goals/dna_vault.dm
+++ b/code/modules/station_goals/dna_vault.dm
@@ -170,9 +170,7 @@ GLOBAL_LIST_INIT(non_simple_animals, typecacheof(list(/mob/living/carbon/human/m
dna_max = G.human_count
break
- AddComponent(/datum/component/multitile, 2, list(
- list(0, 0, 0, 0, 0),
- list(0, 0, 0, 0, 0),
+ AddComponent(/datum/component/multitile, list(
list(0, 1, MACH_CENTER, 1, 0),
list(0, 1, 0, 1, 0),
list(0, 1, 0, 1, 0)
diff --git a/code/modules/surgery/abstract_steps.dm b/code/modules/surgery/abstract_steps.dm
index 2632347347c0..144f55e39092 100644
--- a/code/modules/surgery/abstract_steps.dm
+++ b/code/modules/surgery/abstract_steps.dm
@@ -113,7 +113,7 @@
for(var/allowed in first_step.allowed_tools)
if(ispath(allowed) && istype(tool, allowed) || (tool && istype(tool) && tool.tool_behaviour == allowed))
next_surgery = S
- if(allowed in starting_tools && !(allowed in overriding_tools))
+ if((allowed in starting_tools) && !(allowed in overriding_tools))
CRASH("[src] was provided with multiple branches that start with tool [allowed].")
else
starting_tools.Add(allowed)
diff --git a/code/modules/surgery/bio_chip_removal.dm b/code/modules/surgery/bio_chip_removal.dm
index f7c8d88b18bf..5b324bbb714a 100644
--- a/code/modules/surgery/bio_chip_removal.dm
+++ b/code/modules/surgery/bio_chip_removal.dm
@@ -29,6 +29,7 @@
/datum/surgery_step/extract_bio_chip
name = "extract bio-chip"
allowed_tools = list(TOOL_HEMOSTAT = 100, TOOL_CROWBAR = 65)
+ preop_sound = 'sound/surgery/hemostat1.ogg'
time = 6.4 SECONDS
repeatable = TRUE
var/obj/item/bio_chip/I = null
diff --git a/code/modules/surgery/bones.dm b/code/modules/surgery/bones.dm
index acfcbfcdedd4..d14ddd44c339 100644
--- a/code/modules/surgery/bones.dm
+++ b/code/modules/surgery/bones.dm
@@ -51,6 +51,13 @@
TOOL_BONEGEL = 100,
TOOL_SCREWDRIVER = 90
)
+
+ preop_sound = list(
+ TOOL_BONEGEL = 'sound/surgery/organ1.ogg',
+ /obj/item/screwdriver/power = 'sound/items/drill_hit.ogg',
+ /obj/item/screwdriver = 'sound/items/screwdriver.ogg'
+ )
+
can_infect = TRUE
blood_level = SURGERY_BLOODSPREAD_HANDS
@@ -93,6 +100,7 @@
TOOL_WRENCH = 90
)
+ preop_sound = 'sound/surgery/hemostat1.ogg'
time = 3.2 SECONDS
/datum/surgery_step/set_bone/begin_step(mob/user, mob/living/carbon/human/target, target_zone, obj/item/tool)
@@ -164,6 +172,13 @@
TOOL_BONEGEL = 100,
TOOL_SCREWDRIVER = 90
)
+
+ preop_sound = list(
+ TOOL_BONEGEL = 'sound/surgery/organ1.ogg',
+ /obj/item/screwdriver/power = 'sound/items/drill_hit.ogg',
+ /obj/item/screwdriver = 'sound/items/screwdriver.ogg'
+ )
+
can_infect = TRUE
blood_level = SURGERY_BLOODSPREAD_HANDS
diff --git a/code/modules/surgery/cavity_implant.dm b/code/modules/surgery/cavity_implant.dm
index 8baebebdff15..37a0ee5b56f5 100644
--- a/code/modules/surgery/cavity_implant.dm
+++ b/code/modules/surgery/cavity_implant.dm
@@ -151,6 +151,12 @@
/obj/item/stack/rods = 60
)
+ preop_sound = list(
+ TOOL_DRILL = 'sound/items/drill_hit.ogg',
+ /obj/item/screwdriver/power = 'sound/items/drill_hit.ogg',
+ /obj/item/pen = 'sound/surgery/organ2.ogg',
+ /obj/item/stack/rods = 'sound/surgery/organ2.ogg'
+ )
time = 5.4 SECONDS
/datum/surgery_step/cavity/make_space/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -183,6 +189,9 @@
TOOL_WELDER = 30
)
+ preop_sound = 'sound/surgery/cautery1.ogg'
+ success_sound = 'sound/surgery/cautery2.ogg'
+ failure_sound = 'sound/items/welder.ogg'
time = 2.4 SECONDS
/datum/surgery_step/cavity/close_space/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
diff --git a/code/modules/surgery/core_removal.dm b/code/modules/surgery/core_removal.dm
index 65a0ca70a6f5..a57178f97349 100644
--- a/code/modules/surgery/core_removal.dm
+++ b/code/modules/surgery/core_removal.dm
@@ -19,6 +19,10 @@
/obj/item/kitchen/knife = 65,
/obj/item/shard = 45
)
+
+ preop_sound = 'sound/surgery/scalpel1.ogg'
+ success_sound = 'sound/surgery/scalpel2.ogg'
+ failure_sound = 'sound/surgery/organ2.ogg'
time = 1.6 SECONDS
/datum/surgery_step/slime/cut_flesh/begin_step(mob/user, mob/living/simple_animal/slime/target, target_zone, obj/item/tool)
@@ -38,6 +42,8 @@
/datum/surgery_step/slime/extract_core
name = "extract core"
allowed_tools = list(TOOL_HEMOSTAT = 100, TOOL_CROWBAR = 100)
+ preop_sound = 'sound/surgery/organ1.ogg'
+ success_sound = 'sound/surgery/organ2.ogg'
time = 1.6 SECONDS
/datum/surgery_step/slime/extract_core/begin_step(mob/user, mob/living/simple_animal/slime/target, target_zone, obj/item/tool)
diff --git a/code/modules/surgery/encased.dm b/code/modules/surgery/encased.dm
index 13bed7936b04..871f91d8038a 100644
--- a/code/modules/surgery/encased.dm
+++ b/code/modules/surgery/encased.dm
@@ -16,6 +16,15 @@
TOOL_WIRECUTTER = 35 // Silly goose!
)
+ preop_sound = list(
+ TOOL_SAW = 'sound/surgery/saw.ogg',
+ /obj/item/hatchet = 'sound/surgery/scalpel1.ogg',
+ /obj/item/chainsaw = 'sound/weapons/chainsaw.ogg',
+ /obj/item/butcher_chainsaw = 'sound/weapons/chainsaw.ogg',
+ TOOL_WIRECUTTER = 'sound/surgery/scalpel1.ogg'
+ )
+
+ success_sound = 'sound/surgery/organ2.ogg'
time = 5.4 SECONDS
/datum/surgery_step/open_encased/saw/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -64,6 +73,8 @@
TOOL_CROWBAR = 90
)
+ preop_sound = 'sound/surgery/retractor1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
time = 2.4 SECONDS
/datum/surgery_step/open_encased/retract/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -113,6 +124,8 @@
TOOL_CROWBAR = 90
)
+ preop_sound = 'sound/surgery/retractor1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
time = 2.4 SECONDS
/datum/surgery_step/open_encased/close/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -158,6 +171,12 @@
TOOL_SCREWDRIVER = 90
)
+ preop_sound = list(
+ TOOL_BONEGEL = 'sound/surgery/organ1.ogg',
+ /obj/item/screwdriver/power = 'sound/items/drill_hit.ogg',
+ /obj/item/screwdriver = 'sound/items/screwdriver.ogg'
+ )
+
time = 2.4 SECONDS
/datum/surgery_step/open_encased/mend/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
diff --git a/code/modules/surgery/generic.dm b/code/modules/surgery/generic.dm
index dc6c98957377..b0fa71e9de33 100644
--- a/code/modules/surgery/generic.dm
+++ b/code/modules/surgery/generic.dm
@@ -23,6 +23,9 @@
/obj/item/butcher_chainsaw = 1
)
+ preop_sound = 'sound/surgery/scalpel1.ogg'
+ success_sound = 'sound/surgery/scalpel2.ogg'
+ failure_sound = 'sound/surgery/organ2.ogg'
time = 1.6 SECONDS
/datum/surgery_step/generic/cut_open/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -67,6 +70,7 @@
/obj/item/assembly/mousetrap = 25
)
+ preop_sound = 'sound/surgery/hemostat1.ogg'
time = 2.4 SECONDS
@@ -111,6 +115,9 @@
/obj/item/kitchen/utensil/fork = 60
)
+ preop_sound = 'sound/surgery/retractor1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
+ failure_sound = 'sound/surgery/organ2.ogg'
time = 2.4 SECONDS
/datum/surgery_step/generic/retract_skin/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -168,6 +175,9 @@
/obj/item/flamethrower = 1 // You make do with what ya got...
)
+ preop_sound = 'sound/surgery/cautery1.ogg'
+ success_sound = 'sound/surgery/cautery2.ogg'
+ failure_sound = 'sound/items/welder.ogg'
time = 2.4 SECONDS
/datum/surgery_step/generic/cauterize/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -226,6 +236,15 @@
/obj/item/mecha_parts/mecha_equipment/drill = 60,
/obj/item/screwdriver = 20
)
+
+ preop_sound = list(
+ TOOL_DRILL = 'sound/items/drill_hit.ogg',
+ /obj/item/screwdriver/power = 'sound/items/drill_hit.ogg',
+ /obj/item/pickaxe/drill = 'sound/weapons/drill.ogg',
+ /obj/item/mecha_parts/mecha_equipment/drill = 'sound/weapons/drill.ogg',
+ /obj/item/screwdriver = 'sound/items/screwdriver.ogg'
+ )
+
time = 3 SECONDS
/datum/surgery_step/generic/drill/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -264,6 +283,13 @@
/obj/item/melee/energy = 75
)
+ preop_sound = list(
+ TOOL_SAW = 'sound/surgery/saw.ogg',
+ /obj/item/hatchet = 'sound/surgery/scalpel1.ogg',
+ /obj/item/melee/arm_blade = 'sound/surgery/scalpel1.ogg'
+ )
+
+ success_sound = 'sound/surgery/organ2.ogg'
time = 10 SECONDS
/datum/surgery_step/generic/amputate/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
diff --git a/code/modules/surgery/organs/organ_external.dm b/code/modules/surgery/organs/organ_external.dm
index 506747dde5c9..c01ab721347b 100644
--- a/code/modules/surgery/organs/organ_external.dm
+++ b/code/modules/surgery/organs/organ_external.dm
@@ -927,7 +927,7 @@ Note that amputating the affected organ does in fact remove the infection from t
"\The [victim]'s [name] explodes violently! ",\
"Your [name] explodes! ",\
"You hear an explosion! ")
- explosion(get_turf(owner),-1,-1,2,3)
+ explosion(get_turf(victim), -1, -1, 2, 3)
do_sparks(5, 0, victim)
qdel(src)
diff --git a/code/modules/surgery/organs/organ_extractor.dm b/code/modules/surgery/organs/organ_extractor.dm
index efa581b8bc3e..16ee7fe6f11b 100644
--- a/code/modules/surgery/organs/organ_extractor.dm
+++ b/code/modules/surgery/organs/organ_extractor.dm
@@ -129,7 +129,7 @@
C.apply_damage(5, BRUTE, drilled_organ)
playsound(get_turf(C), 'sound/weapons/circsawhit.ogg', 50, TRUE)
- if(!do_after_once(C, (user_is_target ? self_insert_time : insert_time), target = C))
+ if(!do_after_once(user, (user_is_target ? self_insert_time : insert_time), target = C))
to_chat(user, "ERROR: Process interrupted! ")
in_use = FALSE
return
diff --git a/code/modules/surgery/organs/vocal_cords.dm b/code/modules/surgery/organs/vocal_cords.dm
index 1f2a0d1603c7..3febb3448849 100644
--- a/code/modules/surgery/organs/vocal_cords.dm
+++ b/code/modules/surgery/organs/vocal_cords.dm
@@ -433,7 +433,7 @@ GLOBAL_DATUM_INIT(multispin_words, /regex, regex("like a record baby"))
for(var/V in listeners)
var/mob/living/L = V
if(L.buckled && istype(L.buckled, /obj/structure/chair))
- L.buckled.unbuckle_mob(L)
+ L.unbuckle()
next_command = world.time + cooldown_meme
//DANCE
diff --git a/code/modules/surgery/organs_internal.dm b/code/modules/surgery/organs_internal.dm
index b850e789f921..80fcef082bb8 100644
--- a/code/modules/surgery/organs_internal.dm
+++ b/code/modules/surgery/organs_internal.dm
@@ -182,6 +182,8 @@
/obj/item/stack/nanopaste = 100
)
+ preop_sound = 'sound/surgery/organ1.ogg'
+
/datum/surgery_step/internal/manipulate_organs/mend/proc/get_tool_name(obj/item/tool)
var/tool_name = "[tool]"
if(istype(tool, /obj/item/stack/medical/bruise_pack))
@@ -292,11 +294,12 @@
name = "extract organ"
allowed_tools = list(
TOOL_HEMOSTAT = 100,
- /obj/item/stack/sheet/sinew = 70,
- /obj/item/stack/cable_coil = 70,
+ /obj/item/wirecutters = 70,
/obj/item/kitchen/utensil/fork = 70
)
+ preop_sound = 'sound/surgery/organ1.ogg'
+ success_sound = 'sound/surgery/organ2.ogg'
var/obj/item/organ/internal/extracting = null
/datum/surgery_step/internal/manipulate_organs/extract/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -391,6 +394,9 @@
/obj/item/food/organ = 0 // there for the flavor text
)
+ preop_sound = 'sound/surgery/organ2.ogg'
+ success_sound = 'sound/surgery/organ1.ogg'
+
/datum/surgery_step/internal/manipulate_organs/implant/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
if(istype(tool, /obj/item/food/organ))
to_chat(user, "[tool] was bitten by someone! It's too damaged to use! ")
@@ -644,6 +650,9 @@
TOOL_CROWBAR = 90
)
+ preop_sound = 'sound/surgery/retractor1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
+
/datum/surgery_step/internal/manipulate_organs/finish/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
var/mob/living/carbon/human/H = target
var/obj/item/organ/external/affected = target.get_organ(target_zone)
@@ -708,6 +717,15 @@
TOOL_WIRECUTTER = 35
)
+ preop_sound = list(
+ TOOL_SAW = 'sound/surgery/saw.ogg',
+ /obj/item/hatchet = 'sound/surgery/scalpel1.ogg',
+ /obj/item/chainsaw = 'sound/weapons/chainsaw.ogg',
+ /obj/item/butcher_chainsaw = 'sound/weapons/chainsaw.ogg',
+ TOOL_WIRECUTTER = 'sound/surgery/scalpel1.ogg'
+ )
+
+ success_sound = 'sound/surgery/organ2.ogg'
time = 5.4 SECONDS
@@ -751,6 +769,9 @@
/obj/item/butcher_chainsaw = 1
)
+ preop_sound = 'sound/surgery/scalpel1.ogg'
+ success_sound = 'sound/surgery/scalpel2.ogg'
+ failure_sound = 'sound/surgery/organ2.ogg'
time = 1.6 SECONDS
/datum/surgery_step/cut_carapace/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -788,6 +809,8 @@
/obj/item/kitchen/utensil/fork = 60
)
+ preop_sound = 'sound/surgery/retractor1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
time = 2.4 SECONDS
/datum/surgery_step/retract_carapace/begin_step(mob/living/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -839,6 +862,9 @@
/obj/item/flamethrower = 1
)
+ preop_sound = 'sound/surgery/cautery1.ogg'
+ success_sound = 'sound/surgery/cautery2.ogg'
+ failure_sound = 'sound/items/welder.ogg'
time = 2.4 SECONDS
/datum/surgery_step/generic/seal_carapace/proc/zone_name(target_zone)
diff --git a/code/modules/surgery/other.dm b/code/modules/surgery/other.dm
index 26a174caa348..09ba772bae4c 100644
--- a/code/modules/surgery/other.dm
+++ b/code/modules/surgery/other.dm
@@ -81,6 +81,7 @@
can_infect = TRUE
blood_level = SURGERY_BLOODSPREAD_HANDS
+ preop_sound = 'sound/surgery/organ1.ogg'
time = 3.2 SECONDS
/datum/surgery_step/fix_vein/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -133,6 +134,7 @@
can_infect = TRUE
blood_level = SURGERY_BLOODSPREAD_HANDS
+ preop_sound = 'sound/surgery/organ1.ogg'
time = 3.2 SECONDS
/datum/surgery_step/treat_burns/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
@@ -190,6 +192,9 @@
/obj/item/shard = 60
)
+ preop_sound = 'sound/surgery/scalpel1.ogg'
+ success_sound = 'sound/surgery/retractor2.ogg'
+ failure_sound = 'sound/surgery/organ1.ogg'
can_infect = TRUE
blood_level = SURGERY_BLOODSPREAD_HANDS
diff --git a/code/modules/surgery/plastic_surgery.dm b/code/modules/surgery/plastic_surgery.dm
index 3a2050d8664e..a4941cb7bdaf 100644
--- a/code/modules/surgery/plastic_surgery.dm
+++ b/code/modules/surgery/plastic_surgery.dm
@@ -15,6 +15,10 @@
allowed_tools = list(TOOL_SCALPEL = 100, /obj/item/kitchen/knife = 50, /obj/item/wirecutters = 35)
time = 6.4 SECONDS
+ preop_sound = 'sound/surgery/scalpel1.ogg'
+ success_sound = 'sound/surgery/scalpel2.ogg'
+ failure_sound = 'sound/surgery/organ2.ogg'
+
/datum/surgery_step/reshape_face/begin_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
user.visible_message(
"[user] begins to alter [target]'s appearance.",
diff --git a/code/modules/surgery/robotics.dm b/code/modules/surgery/robotics.dm
index 5c7f42e33cd0..cd4a2d383d77 100644
--- a/code/modules/surgery/robotics.dm
+++ b/code/modules/surgery/robotics.dm
@@ -399,6 +399,7 @@
)
I.damage = 0
I.surgeryize()
+ target.update_stat("internal organs repaired")
return ..()
/datum/surgery_step/robotics/manipulate_robotic_organs/mend/fail_step(mob/living/user, mob/living/carbon/human/target, target_zone, obj/item/tool, datum/surgery/surgery)
diff --git a/code/modules/surgery/surgery.dm b/code/modules/surgery/surgery.dm
index 3e5bfdf98eac..4ea5674385da 100644
--- a/code/modules/surgery/surgery.dm
+++ b/code/modules/surgery/surgery.dm
@@ -197,6 +197,12 @@
var/silicons_ignore_prob = FALSE
/// How many times this step has been automatically repeated.
var/times_repeated = 0
+ /// Sound played when the step is started. Lists or single value can be used for this var as well as tool defines
+ var/preop_sound
+ /// Sound played if the step succeeded. Single value only
+ var/success_sound
+ /// Sound played if the step fails. Single value only
+ var/failure_sound
// evil infection stuff that will make everyone hate me
@@ -331,6 +337,8 @@
surgery.step_in_progress = FALSE
return SURGERY_INITIATE_SUCCESS
+ play_preop_sound(user, target, target_zone, tool, surgery)
+
if(tool)
speed_mod = tool.toolspeed
@@ -386,8 +394,10 @@
surgery.step_in_progress = FALSE
if(advance)
+ play_success_sound(user, target, target_zone, tool, surgery)
return SURGERY_INITIATE_SUCCESS
else
+ play_failure_sound(user, target, target_zone, tool, surgery)
return SURGERY_INITIATE_FAILURE
/**
@@ -553,3 +563,26 @@
for(var/reagent in chems_needed)
if(target.reagents.has_reagent(reagent))
return TRUE
+
+/datum/surgery_step/proc/play_preop_sound(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
+ if(!preop_sound || (islist(preop_sound) && !length(preop_sound)) || ismachineperson(target))
+ return
+ var/sound_file_use
+ if(islist(preop_sound))
+ for(var/typepath in preop_sound)
+ if((ispath(typepath) && istype(tool, typepath)) || ((typepath in GLOB.surgery_tool_behaviors) && istype(tool) && tool.tool_behaviour == typepath))
+ sound_file_use = preop_sound[typepath]
+ break
+ else
+ sound_file_use = preop_sound
+ playsound(get_turf(target), sound_file_use, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
+
+/datum/surgery_step/proc/play_success_sound(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
+ if(!success_sound || ismachineperson(target))
+ return
+ playsound(get_turf(target), success_sound, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
+
+/datum/surgery_step/proc/play_failure_sound(mob/user, mob/living/carbon/target, target_zone, obj/item/tool, datum/surgery/surgery)
+ if(!failure_sound || ismachineperson(target))
+ return
+ playsound(get_turf(target), failure_sound, 75, TRUE, falloff_exponent = 12, falloff_distance = 1, channel = CHANNEL_SURGERY_SOUNDS)
diff --git a/code/modules/tgui/modules/atmos_control.dm b/code/modules/tgui/modules/atmos_control.dm
index 25fdb0e12bb5..e397eefc9626 100644
--- a/code/modules/tgui/modules/atmos_control.dm
+++ b/code/modules/tgui/modules/atmos_control.dm
@@ -1,5 +1,7 @@
/datum/ui_module/atmos_control
name = "Atmospherics Control"
+ var/parent_area_type
+ var/z_level
/datum/ui_module/atmos_control/ui_act(action, list/params, datum/tgui/ui, datum/ui_state/state)
if(..())
@@ -28,7 +30,15 @@
)
/datum/ui_module/atmos_control/ui_data(mob/user)
+ var/list/alarms_on_net = GLOB.air_alarms
+ // default value means main station atmos control
+ if(parent_area_type)
+ alarms_on_net = list()
+ for(var/obj/machinery/alarm/air_alarm in GLOB.air_alarms)
+ if(air_alarm.alarm_area.type in typesof(parent_area_type))
+ alarms_on_net |= air_alarm
+
var/list/data = list()
- data["alarms"] = GLOB.air_alarm_repository.air_alarm_data(GLOB.air_alarms, target_z=level_name_to_num(MAIN_STATION))
+ data["alarms"] = GLOB.air_alarm_repository.air_alarm_data(alarms_on_net, target_z = z_level)
return data
diff --git a/code/modules/tgui/tgui_panel/tgui_panel.dm b/code/modules/tgui/tgui_panel/tgui_panel.dm
index 9229de1da493..8478c219c9cf 100644
--- a/code/modules/tgui/tgui_panel/tgui_panel.dm
+++ b/code/modules/tgui/tgui_panel/tgui_panel.dm
@@ -68,7 +68,7 @@
*/
/datum/tgui_panel/proc/on_initialize_timed_out()
// Currently does nothing but sending a message to old chat.
- SEND_TEXT(client, "Failed to load fancy chat, click HERE to attempt to reload it. ")
+ SEND_TEXT(client, "Failed to load fancy chat, click HERE to attempt to reload it. ")
/**
* private
diff --git a/code/modules/unit_tests/_unit_tests.dm b/code/modules/unit_tests/_unit_tests.dm
index 400eae48171e..8f7f9c7d318d 100644
--- a/code/modules/unit_tests/_unit_tests.dm
+++ b/code/modules/unit_tests/_unit_tests.dm
@@ -24,6 +24,7 @@
#include "spawn_humans.dm"
#include "spell_targeting_test.dm"
#include "sql.dm"
+#include "status_effect_ids.dm"
#include "subsystem_init.dm"
#include "subsystem_metric_sanity.dm"
#include "test_runner.dm"
diff --git a/code/modules/unit_tests/status_effect_ids.dm b/code/modules/unit_tests/status_effect_ids.dm
new file mode 100644
index 000000000000..febe085e1c7b
--- /dev/null
+++ b/code/modules/unit_tests/status_effect_ids.dm
@@ -0,0 +1,8 @@
+/datum/unit_test/status_effect_ids/Run()
+ var/list/bad_statuses = list()
+ for(var/datum/status_effect/effect as anything in subtypesof(/datum/status_effect))
+ if(initial(effect.id) == null)
+ bad_statuses += effect
+
+ if(length(bad_statuses))
+ Fail("STatus effects found without an unique ID: [bad_statuses.Join(", ")]")
diff --git a/config/example/config.toml b/config/example/config.toml
index d3f666725390..47422b062196 100644
--- a/config/example/config.toml
+++ b/config/example/config.toml
@@ -185,7 +185,7 @@ ipc_screens = [
# Enable/disable the database on a whole
sql_enabled = false
# SQL version. If this is a mismatch, round start will be delayed
-sql_version = 592207
+sql_version = 602207
# SQL server address. Can be an IP or DNS name
sql_address = "127.0.0.1"
# SQL server port
diff --git a/docs/CODE_OF_CONDUCT.md b/docs/CODE_OF_CONDUCT.md
index 4084cf286e70..af8bc67a6938 100644
--- a/docs/CODE_OF_CONDUCT.md
+++ b/docs/CODE_OF_CONDUCT.md
@@ -42,8 +42,7 @@ merged.
After a twenty four hour minimum waiting period, Pull Requests can be merged
once they receive approval from the relevant team. An exception is made for
-refactors and fixes, which may be merged by any member with commit access'
-discretion with no waiting period.
+refactors and fixes, which may be merged by any maintainer with no waiting period.
While normally provided, voting team members are not obligated to publicly state
their objections to a Pull Request. Attacking or berating a voting team member
diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md
index b3b15a1ad335..9a316f1a3492 100644
--- a/docs/CONTRIBUTING.md
+++ b/docs/CONTRIBUTING.md
@@ -123,8 +123,9 @@ Status of your pull request will be communicated via PR labels. This includes:
should never have this label
- `Status: Awaiting review` - This will be displayed when your PR has passed the
design vote and is now waiting for someone in the review team to approve it
-- `Status: Awaiting merge` - Your PR is done and is waiting for someone with
- commit access to merge it. **Note: Your PR may be delayed if it is pending
+- `Status: Awaiting merge` - Your PR is done and is waiting for a maintainer to merge it
+
+ **Note: Your PR may be delayed if it is pending
testmerge or in the mapping queue**
### Mapping Standards
@@ -180,11 +181,11 @@ will automatically build them for you and update your branch.
There are three roles on the GitHub:
- Headcoder
-- Commit Access
+- Maintainer
- Review Team
-Each role inherits the lower role's responsibilities (IE: Headcoders also have
-commit access, and members of commit access are also part of the review team)
+Each role inherits the lower role's responsibilities
+(IE: Headcoders are also maintainers, and maintainers are also part of the review team)
`Headcoders` are the overarching "administrators" of the repository. People
included in this role are:
@@ -195,7 +196,7 @@ included in this role are:
---
-`Commit Access` members have write access to the repository and can merge your
+`Maintainers` have write access to the repository and can merge your
PRs. People included in this role are:
- [AffectedArc07](https://github.com/AffectedArc07)
@@ -219,6 +220,7 @@ affect mergeability status. People included in this role are:
- [lewcc](https://github.com/lewcc)
- [Sirryan2002](https://github.com/Sirryan2002)
- [Warriorstar](https://github.com/warriorstar-orion)
+- [Wilkson](https://github.com/BiancaWilkson)
---
diff --git a/docs/contributing/reviewer.md b/docs/contributing/reviewer.md
index 96dede831cd0..c96d644de0a8 100644
--- a/docs/contributing/reviewer.md
+++ b/docs/contributing/reviewer.md
@@ -1,17 +1,17 @@
# Reviewer Crash Course
-by *Sirryan*
+by _Sirryan_
Hey everyone, I noticed some people were not sure how to approach reviewing PRs
so I figured I would write up a small guide on PR reviewing and how people like
-our Headcoders, commit access, Lewcc, S34N, and I all do our jobs. In addition
+our Headcoders, maintainers, Lewcc, S34N, and I all do our jobs. In addition
to some guidance and pointers on PR reviewing, I will also go over a few code
examples and point out code standard corrections and basic errors that
prospective reviewers can begin to start on.
## What is code review?
-> Code reviews act as quality assurance of the code base.... *and* can also act
+> Code reviews act as quality assurance of the code base.... _and_ can also act
> as a second step in identifying bugs, logic problems, or uncovered edge cases.
> [(source)](https://about.gitlab.com/topics/version-control/what-is-code-review/)
@@ -54,7 +54,7 @@ their own code and help you understand their intention and goals. Please note:
ITS IMPORTANT TO READ PR DESCRIPTIONS, you should not be reviewing a PR until
you know what it's actually attempting to do.
-**But Sirryan, that's not the *kind* of code review I'm interested in learning
+**But Sirryan, that's not the _kind_ of code review I'm interested in learning
about**. Yes, yes, I know, I'm getting there. While its important to understand
the conversation (and relationship-building) parts of code review, there's also
important technical parts to review that keep our codebase moving. Before
@@ -62,6 +62,7 @@ getting into HOW to code review, we will take a look at the two types of
technical code reviews.
## Comments
+
Basic comments are when a reviewer leaves a message, question, or directive for
the PR author at a certain code line or chunk. For example, SteelSlayer has left
a comment on Line 12 of `objective.dm` inquiring about a certain variable. The
@@ -73,6 +74,7 @@ issues to be addressed quickly and efficiently.
![image](./images/reviewer_pr_conversation.png)
## Suggestions
+
Suggestions are when a reviewer suggests/requests a change to a certain line or
chunk of code. This leaves less agency for the PR author (especially when
suggested by a development team member or experienced reviewer) but allows for
@@ -85,6 +87,7 @@ most critical for enforcing code standards and making 1-5 line corrections.
![image](./images/reviewer_pr_suggestions.png)
## Leaving PR Reviews
+
The way you leave any form of comment or suggestion directly on a line or chunk
of code is under the "Files Changed" tab of the pull request. All you need to do
now is scroll down to a line of code that you want to comment on and hover over
@@ -111,6 +114,7 @@ reviews, you can submit them together in the top right of the files changes tab
once done.
## What can I start reviewing?
+
So you know what reviewing is, you know how to review, and you're ready to
review.... but what do you review? Knowledge of code and willingness to
understand our currently implemented systems is critically important to being
@@ -119,6 +123,7 @@ look out for on PR's to get familiarized with the code review process and get a
few reviews under your belt.
### Problematic Code Examples
+
Lets say a contributor has opened a pull request adding a brand-new item to the
game. This item has a few special functions and procs that you need to look
over. I will go through each part of this code that I would leave comments or
@@ -281,8 +286,8 @@ suggest to fix them as a PR reviewer.**
## The Art of Code
> ... I like it because I could make the computer do what I wanted and every
-> time I did that, I got this little thrill and this rush and throughout *my
-> entire career*. That thrill for me has never gone away [[The Art of Code - Dylan Beattie](https://www.youtube.com/watch?v=6avJHaC3C2U)]
+> time I did that, I got this little thrill and this rush and throughout _my
+> entire career_. That thrill for me has never gone away [[The Art of Code - Dylan Beattie](https://www.youtube.com/watch?v=6avJHaC3C2U)]
This segment might be a bit corny but I figured it would be important to include
because I felt like it was an important aspect of reviewing that I've always had
diff --git a/docs/references/feedback_data.md b/docs/references/feedback_data.md
index 4c94ce915371..c129a9397658 100644
--- a/docs/references/feedback_data.md
+++ b/docs/references/feedback_data.md
@@ -25,12 +25,12 @@ Examples of bad things to record:
base game design around"
Also note that feedback data **must** be anonymous. The only exception here is
-for data *anyone* on the server can see, such as round end antagonist reports.
+for data _anyone_ on the server can see, such as round end antagonist reports.
## Feedback Data Recording
-Feedback data can be recorded in 5 formats. `amount`, `associative`, `nested
-tally`, `tally` and `text`.
+Feedback data can be recorded in 7 formats. `amount`, `associative`,
+`nested tally`, `tally` `text`, `ledger`, and `nested ledger`.
### Amount
@@ -76,18 +76,18 @@ Will produce the following JSON:
```json
{
- "data": {
- "1": {
- "text": "example",
- "path": "/obj/item",
- "number": "4"
- },
- "2": {
- "number": "7",
- "text": "example",
- "other text": "sample"
- }
- }
+ "data": {
+ "1": {
+ "text": "example",
+ "path": "/obj/item",
+ "number": "4"
+ },
+ "2": {
+ "number": "7",
+ "text": "example",
+ "other text": "sample"
+ }
+ }
}
```
@@ -122,29 +122,29 @@ Will produce the following JSON:
```json
{
- "data":{
- "fruit":{
- "orange":{
- "apricot":4,
- "orange":2
- },
- "red":{
- "apple":10
- }
- },
- "vegetable":{
- "orange":{
- "carrot":1
- }
- }
- }
+ "data": {
+ "fruit": {
+ "orange": {
+ "apricot": 4,
+ "orange": 2
+ },
+ "red": {
+ "apple": 10
+ }
+ },
+ "vegetable": {
+ "orange": {
+ "carrot": 1
+ }
+ }
+ }
}
```
-#### NOTE
+!!! note
-Tracking values associated with a number can't merge with a nesting value,
-trying to do so will append the list
+ Tracking values associated with a number can't merge with a nesting value,
+ trying to do so will append to the list.
```dm
SSblackbox.record_feedback("nested tally", "example", 3, list("fruit", "orange"))
@@ -154,23 +154,23 @@ Will produce the following JSON:
```json
{
- "data":{
- "fruit":{
- "orange":{
- "apricot":4,
- "orange":2
- },
- "red":{
- "apple":10
- },
- "orange":3
- },
- "vegetable":{
- "orange":{
- "carrot":1
- }
- }
- }
+ "data": {
+ "fruit": {
+ "orange": {
+ "apricot": 4,
+ "orange": 2
+ },
+ "red": {
+ "apple": 10
+ },
+ "orange": 3
+ },
+ "vegetable": {
+ "orange": {
+ "carrot": 1
+ }
+ }
+ }
}
```
@@ -194,10 +194,10 @@ Will produce the following JSON:
```json
{
- "data":{
- "sample data":5,
- "other data":2
- }
+ "data": {
+ "sample data": 5,
+ "other data": 2
+ }
}
```
@@ -218,10 +218,7 @@ Will produce the following JSON:
```json
{
- "data":[
- "sample text",
- "other text"
- ]
+ "data": ["sample text", "other text"]
}
```
@@ -230,6 +227,131 @@ instead of a list with duplicates. Also take note how the `increment` parameter
is not used here. It does nothing to the data, and `1` is used just as the value
for consistency.
+### Ledger
+
+!!! warning
+
+ The `ledger` and `nested ledger` feedback types should only be used as a
+ last resort. The primary intent of the blackbox system is to track the
+ number of times something has happened. It is extremely rare that one should
+ require the granularity provided by these feedback types accumulating
+ multiple discrete statistics on a single row. They are provided as an escape
+ hatch for unusual situations, and to avoid unnecessary repetition of text in
+ the JSON.
+
+`ledger` is used for appending entries to a record. It is effectively the same
+as `tally`, except instead of adding the value to the existing one, it stores
+the value of each call in a list. This is useful for situations where you have a
+specific key for which you'd like to store a unique value for each time the key
+is used in feedback. For example, if the clown puts on multiple comedy shows and
+you want to record the attendance for each one:
+
+```dm
+SSblackbox.record_feedback("ledger", "tickets_sold_per_show", 15, "general_admission")
+SSblackbox.record_feedback("ledger", "tickets_sold_per_show", 5, "front_row")
+SSblackbox.record_feedback("ledger", "tickets_sold_per_show", 20, "general_admission")
+SSblackbox.record_feedback("ledger", "tickets_sold_per_show", 2, "front_row")
+```
+
+Will produce the following JSON:
+
+```json
+{
+ "data": {
+ "tickets_sold_per_show": {
+ "general_admission": [15, 20],
+ "front_row": [5, 2]
+ }
+ }
+}
+```
+
+Note that items here may be text. Unlike the `text` feedback type, items are added in order and duplicates are permitted.
+
+```dm
+SSblackbox.record_feedback("ledger", "menu_items", "fried eggs", "breakfast")
+SSblackbox.record_feedback("ledger", "menu_items", "coffee", "breakfast")
+SSblackbox.record_feedback("ledger", "menu_items", "hamburgers", "lunch")
+SSblackbox.record_feedback("ledger", "menu_items", "french fries", "lunch")
+```
+
+Will produce the following JSON:
+
+```json
+{
+ "data": {
+ "breakfast": ["fried eggs", "coffee"],
+ "lunch": ["hamburgers", "french fries"]
+ }
+}
+```
+
+### Nested Ledger
+
+`nested ledger` uses the logic of `nested tally`, except instead of adding the value to the last element, it uses the last element as the tracking key for a list of items, appending each one. For example, if you wanted to store individual crew ratings for meals made by different chefs:
+
+```dm
+SSblackbox.record_feedback("nested ledger", "meal_ratings", 5, list("Chef Marceau", "hamburger"))
+SSblackbox.record_feedback("nested ledger", "meal_ratings", 2, list("Chef Marceau", "hamburger"))
+SSblackbox.record_feedback("nested ledger", "meal_ratings", 1, list("Chef Poincare", "hamburger"))
+SSblackbox.record_feedback("nested ledger", "meal_ratings", 3, list("Chef Poincare", "hamburger"))
+```
+
+Will produce the following JSON:
+
+```json
+{
+ "data": {
+ "Chef Marceau": { "hamburger": [5, 2] },
+ "Chef Poincare": { "hamburger": [1, 3] }
+ }
+}
+```
+
+As with `ledger`, text values may be accumulated in this manner.
+
+### Appropriate use of `ledger`
+
+If one were tracking the individual center coordinates of each ruin placed, and
+the same ruin may be placed more thanonce, use of the `associative` feedback
+type may result in this implementation:
+
+```dm
+var/coord_string = "[central_turf.x],[central_turf.y],[central_turf.z]"
+SSblackbox.record_feedback("associative", "ruin_placement", 1, list(
+ "map" = map_filename,
+ "coords" = coord_string
+))
+```
+
+returning the following JSON:
+
+```json
+{
+ "data": {
+ "1": { "map": "listeningpost.dmm", "coords": "127,169,5" },
+ "2": { "map": "listeningpost.dmm", "coords": "64,134,4" }
+ }
+}
+```
+
+This creates unnecessary repetition of the map name, as well as the `"map"` and `"coords"` keys. As well, the numeric keys associated with each row are meaningless. Using `ledger` may transform this into:
+
+```dm
+var/coord_string = "[central_turf.x],[central_turf.y],[central_turf.z]"
+SSblackbox.record_feedback("ledger", "ruin_placement", coord_string, map_filename)
+```
+
+returning the following JSON:
+
+```json
+{
+ "data": {
+ "listeningpost.dmm": ["127,169,5", "64,134,4"]
+ }
+}
+```
+
## Feedback Versioning
If the logging content (i.e.: What data is logged) for a variable is ever
diff --git a/icons/_nanomaps/Cyberiad220_nanomap_z1.png b/icons/_nanomaps/Cyberiad220_nanomap_z1.png
index a2607172fbe8..33f404e5c429 100644
Binary files a/icons/_nanomaps/Cyberiad220_nanomap_z1.png and b/icons/_nanomaps/Cyberiad220_nanomap_z1.png differ
diff --git a/icons/_nanomaps/Cyberiad_nanomap_z1.png b/icons/_nanomaps/Cyberiad_nanomap_z1.png
index 0dfa15c98903..72984d0eff04 100644
Binary files a/icons/_nanomaps/Cyberiad_nanomap_z1.png and b/icons/_nanomaps/Cyberiad_nanomap_z1.png differ
diff --git a/icons/_nanomaps/Delta220_nanomap_z1.png b/icons/_nanomaps/Delta220_nanomap_z1.png
index 5a04d19c4f23..3238c652ba7a 100644
Binary files a/icons/_nanomaps/Delta220_nanomap_z1.png and b/icons/_nanomaps/Delta220_nanomap_z1.png differ
diff --git a/icons/_nanomaps/Delta_nanomap_z1.png b/icons/_nanomaps/Delta_nanomap_z1.png
index 4a7639246ba0..b7089bf344e0 100644
Binary files a/icons/_nanomaps/Delta_nanomap_z1.png and b/icons/_nanomaps/Delta_nanomap_z1.png differ
diff --git a/icons/effects/exposures.dmi b/icons/effects/exposures.dmi
index 13f976ceb9d6..1560835049e5 100644
Binary files a/icons/effects/exposures.dmi and b/icons/effects/exposures.dmi differ
diff --git a/icons/effects/random_spawners.dmi b/icons/effects/random_spawners.dmi
index 325fb1ae5e09..993e5aa9a249 100644
Binary files a/icons/effects/random_spawners.dmi and b/icons/effects/random_spawners.dmi differ
diff --git a/icons/effects/spawner_icons.dmi b/icons/effects/spawner_icons.dmi
index 1b9730e53796..0417843bf621 100644
Binary files a/icons/effects/spawner_icons.dmi and b/icons/effects/spawner_icons.dmi differ
diff --git a/icons/mecha/mech_construct.dmi b/icons/mecha/mech_construct.dmi
index fe81a8e2b96c..3ac2bc928f82 100644
Binary files a/icons/mecha/mech_construct.dmi and b/icons/mecha/mech_construct.dmi differ
diff --git a/icons/mecha/mech_construction.dmi b/icons/mecha/mech_construction.dmi
index e89db4ff9adb..f00b27e101c1 100644
Binary files a/icons/mecha/mech_construction.dmi and b/icons/mecha/mech_construction.dmi differ
diff --git a/icons/mecha/mecha.dmi b/icons/mecha/mecha.dmi
index 28b04958109b..ea0d7391cc65 100644
Binary files a/icons/mecha/mecha.dmi and b/icons/mecha/mecha.dmi differ
diff --git a/icons/mecha/mecha_equipment.dmi b/icons/mecha/mecha_equipment.dmi
index 50c0338d8315..f26012f32596 100644
Binary files a/icons/mecha/mecha_equipment.dmi and b/icons/mecha/mecha_equipment.dmi differ
diff --git a/icons/mob/clothing/species/grey/underwear.dmi b/icons/mob/clothing/species/grey/underwear.dmi
index 217c7fdfb3b3..372137a3c69c 100644
Binary files a/icons/mob/clothing/species/grey/underwear.dmi and b/icons/mob/clothing/species/grey/underwear.dmi differ
diff --git a/icons/mob/clothing/species/kidan/underwear.dmi b/icons/mob/clothing/species/kidan/underwear.dmi
index 9bf4c06c22af..89b9c68c3749 100644
Binary files a/icons/mob/clothing/species/kidan/underwear.dmi and b/icons/mob/clothing/species/kidan/underwear.dmi differ
diff --git a/icons/mob/clothing/species/vox/underwear.dmi b/icons/mob/clothing/species/vox/underwear.dmi
index 1d8a7873d376..72da557c997c 100644
Binary files a/icons/mob/clothing/species/vox/underwear.dmi and b/icons/mob/clothing/species/vox/underwear.dmi differ
diff --git a/icons/mob/clothing/underwear.dmi b/icons/mob/clothing/underwear.dmi
index d3223ee75a31..e16e5bb4d5f7 100644
Binary files a/icons/mob/clothing/underwear.dmi and b/icons/mob/clothing/underwear.dmi differ
diff --git a/icons/mob/inhands/religion_lefthand.dmi b/icons/mob/inhands/religion_lefthand.dmi
index c4338544e5d4..d866505d0753 100644
Binary files a/icons/mob/inhands/religion_lefthand.dmi and b/icons/mob/inhands/religion_lefthand.dmi differ
diff --git a/icons/mob/inhands/religion_righthand.dmi b/icons/mob/inhands/religion_righthand.dmi
index 4603a803fdd0..b60de5043166 100644
Binary files a/icons/mob/inhands/religion_righthand.dmi and b/icons/mob/inhands/religion_righthand.dmi differ
diff --git a/icons/mob/simple_human.dmi b/icons/mob/simple_human.dmi
index f9d20142d74f..93e03c30a40c 100644
Binary files a/icons/mob/simple_human.dmi and b/icons/mob/simple_human.dmi differ
diff --git a/icons/obj/food/bakedgoods.dmi b/icons/obj/food/bakedgoods.dmi
index 967d54ae9689..4f738921fa5f 100644
Binary files a/icons/obj/food/bakedgoods.dmi and b/icons/obj/food/bakedgoods.dmi differ
diff --git a/icons/obj/food/breakfast.dmi b/icons/obj/food/breakfast.dmi
index 0d8cbc9bcbd3..ae5aff5037e6 100644
Binary files a/icons/obj/food/breakfast.dmi and b/icons/obj/food/breakfast.dmi differ
diff --git a/icons/obj/food/candy.dmi b/icons/obj/food/candy.dmi
index a58abc2e9d04..dd7acd3200bc 100644
Binary files a/icons/obj/food/candy.dmi and b/icons/obj/food/candy.dmi differ
diff --git a/icons/obj/food/containers.dmi b/icons/obj/food/containers.dmi
index 224c8bfb9bf4..4ddb808bcd3f 100644
Binary files a/icons/obj/food/containers.dmi and b/icons/obj/food/containers.dmi differ
diff --git a/icons/obj/food/food.dmi b/icons/obj/food/food.dmi
index f5388ee43454..d5a6a5c1f098 100644
Binary files a/icons/obj/food/food.dmi and b/icons/obj/food/food.dmi differ
diff --git a/icons/obj/food/soupsalad.dmi b/icons/obj/food/soupsalad.dmi
index c92df9de7682..5a16fcbaee27 100644
Binary files a/icons/obj/food/soupsalad.dmi and b/icons/obj/food/soupsalad.dmi differ
diff --git a/icons/obj/hydroponics/growing_fruits.dmi b/icons/obj/hydroponics/growing_fruits.dmi
index 8d77be19157d..f01bec11fce3 100644
Binary files a/icons/obj/hydroponics/growing_fruits.dmi and b/icons/obj/hydroponics/growing_fruits.dmi differ
diff --git a/icons/obj/hydroponics/harvest.dmi b/icons/obj/hydroponics/harvest.dmi
index 0a0965085415..ded1705672d1 100644
Binary files a/icons/obj/hydroponics/harvest.dmi and b/icons/obj/hydroponics/harvest.dmi differ
diff --git a/icons/obj/hydroponics/seeds.dmi b/icons/obj/hydroponics/seeds.dmi
index a303e76a4db6..db4b781941c9 100644
Binary files a/icons/obj/hydroponics/seeds.dmi and b/icons/obj/hydroponics/seeds.dmi differ
diff --git a/icons/obj/lamps.dmi b/icons/obj/lamps.dmi
index e3f9fabb8454..29d8e21bc401 100644
Binary files a/icons/obj/lamps.dmi and b/icons/obj/lamps.dmi differ
diff --git a/icons/obj/lighting.dmi b/icons/obj/lighting.dmi
index a934d0a1df01..6d887c8114d5 100644
Binary files a/icons/obj/lighting.dmi and b/icons/obj/lighting.dmi differ
diff --git a/icons/obj/statue.dmi b/icons/obj/statue.dmi
index 1567097b3c62..de14c4fb7767 100644
Binary files a/icons/obj/statue.dmi and b/icons/obj/statue.dmi differ
diff --git a/icons/obj/structures.dmi b/icons/obj/structures.dmi
index 56837b40a89c..8a21b505ce4e 100644
Binary files a/icons/obj/structures.dmi and b/icons/obj/structures.dmi differ
diff --git a/icons/obj/structures/shelves.dmi b/icons/obj/structures/shelves.dmi
new file mode 100644
index 000000000000..fd3991998c4f
Binary files /dev/null and b/icons/obj/structures/shelves.dmi differ
diff --git a/icons/obj/weapons/magical_weapons.dmi b/icons/obj/weapons/magical_weapons.dmi
index 78224676efe5..f8be67a8c08c 100644
Binary files a/icons/obj/weapons/magical_weapons.dmi and b/icons/obj/weapons/magical_weapons.dmi differ
diff --git a/icons/turf/areas.dmi b/icons/turf/areas.dmi
index 8252365ad8a5..371e919052e4 100755
Binary files a/icons/turf/areas.dmi and b/icons/turf/areas.dmi differ
diff --git a/modular_ss220/aesthetics/floors/code/floors.dm b/modular_ss220/aesthetics/floors/code/floors.dm
index c14588aec52a..8fe60247dfa0 100644
--- a/modular_ss220/aesthetics/floors/code/floors.dm
+++ b/modular_ss220/aesthetics/floors/code/floors.dm
@@ -23,8 +23,8 @@
icon_state = "smooth"
// MARK: LIGHT FLOORS
-/turf/simulated/floor/light
- icon = 'icons/turf/floors.dmi'
+/obj/item/stack/light_w
+ icon = 'modular_ss220/aesthetics/floors/icons/tiles.dmi'
/turf/simulated/floor/light/red
color = "#f23030"
diff --git a/modular_ss220/aesthetics/floors/icons/floors.dmi b/modular_ss220/aesthetics/floors/icons/floors.dmi
index 73cf73061e31..285a2b410aa3 100644
Binary files a/modular_ss220/aesthetics/floors/icons/floors.dmi and b/modular_ss220/aesthetics/floors/icons/floors.dmi differ
diff --git a/modular_ss220/aesthetics/floors/icons/tiles.dmi b/modular_ss220/aesthetics/floors/icons/tiles.dmi
index 391fc26f0930..019ca3ba4fb8 100644
Binary files a/modular_ss220/aesthetics/floors/icons/tiles.dmi and b/modular_ss220/aesthetics/floors/icons/tiles.dmi differ
diff --git a/modular_ss220/aesthetics/lights/code/lights.dm b/modular_ss220/aesthetics/lights/code/lights.dm
index 8ceb44863939..84b7c65eaa62 100644
--- a/modular_ss220/aesthetics/lights/code/lights.dm
+++ b/modular_ss220/aesthetics/lights/code/lights.dm
@@ -12,6 +12,9 @@
icon = 'icons/obj/lighting.dmi'
layer = ABOVE_MOB_LAYER
+/obj/machinery/light/floor
+ icon = 'icons/obj/lighting.dmi'
+
/obj/machinery/light_construct
icon = 'modular_ss220/aesthetics/lights/icons/lights.dmi'
layer = ABOVE_MOB_LAYER
@@ -20,11 +23,17 @@
icon = 'icons/obj/lighting.dmi'
layer = ABOVE_MOB_LAYER
+/obj/machinery/light_construct/floor
+ icon = 'icons/obj/lighting.dmi'
+
/obj/item/mounted/frame/light_fixture
icon = 'modular_ss220/aesthetics/lights/icons/lights.dmi'
/obj/item/mounted/frame/light_fixture/small
icon = 'icons/obj/lighting.dmi'
+/obj/item/mounted/frame/light_fixture/floor
+ icon = 'icons/obj/lighting.dmi'
+
/obj/item/flashlight/lamp
on = FALSE
diff --git a/modular_ss220/aesthetics/racks/code/racks.dm b/modular_ss220/aesthetics/racks/code/racks.dm
index 6fc8b358459f..d1dc5520d4d0 100644
--- a/modular_ss220/aesthetics/racks/code/racks.dm
+++ b/modular_ss220/aesthetics/racks/code/racks.dm
@@ -1,109 +1,12 @@
/obj/structure/rack
icon = 'modular_ss220/aesthetics/racks/icons/racks.dmi'
-/obj/structure/rack/gunrack
- name = "gun rack"
- desc = "Стойка для хранения оружия."
- icon_state = "gunrack"
-
-/obj/item/gun
- var/on_rack = FALSE
-
-/obj/item/gun/proc/place_on_rack()
- on_rack = TRUE
- var/matrix/M = matrix()
- M.Turn(-90)
- transform = M
-
-/obj/item/gun/proc/remove_from_rack()
- if(on_rack)
- var/matrix/M = matrix()
- transform = M
- on_rack = FALSE
-
-/obj/item/gun/pickup(mob/user)
- . = ..()
- remove_from_rack()
-
-/obj/structure/rack/gunrack/MouseDrop_T(obj/O, mob/user)
- if(!(istype(O, /obj/item/gun)))
- to_chat(user, span_warning("Этот предмет не помещается!"))
- return
- . = ..()
- if(.)
- add_fingerprint(user)
- var/obj/item/gun/our_gun = O
- our_gun.place_on_rack()
-
-/obj/structure/rack/gunrack/attackby(obj/item/W, mob/user, params) //TODO: fix logic
- if(!(istype(W, /obj/item/gun)))
- to_chat(user, span_warning("Этот предмет не помещается!"))
- return
- . = ..()
- if(W.loc != get_turf(src))
- return
-
- var/obj/item/gun/our_gun = W
- our_gun.place_on_rack()
-
- add_fingerprint(user)
- var/list/click_params = params2list(params)
- if(!length(click_params))
- return
-
- var/click_icon_x = click_params["icon-x"]
- var/click_icon_y = click_params["icon-y"]
-
- //Center the icon where the user clicked.
- if(!click_icon_x || !click_icon_y)
- return
-
- var/max_pixelshift = world.icon_size / 2
- var/min_pixelshift = -max_pixelshift
-
- //Clamp it so that the icon never moves more than 16 pixels in either direction (thus leaving the table turf)
- W.pixel_x = clamp(text2num(click_icon_x) - 16, min_pixelshift, max_pixelshift)
- W.pixel_y = 0
-
-/obj/structure/rack/gunrack/Initialize(mapload)
- . = ..()
- if(!mapload)
- return
- for(var/obj/item/gun/gun_inside in loc.contents)
- gun_inside.place_on_rack()
-
-/obj/structure/rack/gunrack/deconstruct(disassembled = TRUE)
- if(flags & NODECONSTRUCT)
- return
-
- density = FALSE
- var/obj/item/rack_parts/gunrack/newparts = new(loc)
- transfer_fingerprints_to(newparts)
-
- for(var/obj/item/I in loc.contents)
- if(istype(I, /obj/item/gun))
- var/obj/item/gun/to_remove = I
- to_remove.remove_from_rack()
- qdel(src)
-
-/obj/item/rack_parts/gunrack
- name = "gun rack parts"
- desc = "Детали для сборки оружейной стойки."
+/obj/item/rack_parts
icon = 'modular_ss220/aesthetics/racks/icons/racks.dmi'
- icon_state = "gunrack_parts"
-
-/obj/item/rack_parts/gunrack/attack_self(mob/user)
- if(building)
- return
- building = TRUE
- to_chat(user, span_notice("Вы начинаете собирать оружейную стойку..."))
-
- if(!do_after(user, 50, target = user, progress=TRUE) || !user.drop_item(src))
- building = FALSE
- return
+/obj/structure/gunrack
+ icon = 'modular_ss220/aesthetics/racks/icons/racks.dmi'
- var/obj/structure/rack/gunrack/rack = new(user.loc)
- user.visible_message(span_notice("[user] собирает оружейную стойку."), span_notice("Вы закончили собирать оружейную стойку."))
- rack.add_fingerprint(user)
- qdel(src)
+// Return original icon path
+/obj/structure/rack/skeletal_bar
+ icon = 'icons/obj/stationobjs.dmi'
diff --git a/modular_ss220/aesthetics/racks/icons/racks.dmi b/modular_ss220/aesthetics/racks/icons/racks.dmi
index a06925c0e717..ae46a57da420 100644
Binary files a/modular_ss220/aesthetics/racks/icons/racks.dmi and b/modular_ss220/aesthetics/racks/icons/racks.dmi differ
diff --git a/modular_ss220/antagonists/code/vox_raider/clothing/vox_clothing.dm b/modular_ss220/antagonists/code/vox_raider/clothing/vox_clothing.dm
index 143a879c9593..b0bcdb329659 100644
--- a/modular_ss220/antagonists/code/vox_raider/clothing/vox_clothing.dm
+++ b/modular_ss220/antagonists/code/vox_raider/clothing/vox_clothing.dm
@@ -41,37 +41,3 @@
name = "vox purple jumpsuit"
icon_state = "vox-jumpsuit_purple"
item_color = "vox-jumpsuit_purple"
-
-// ================
-// loadout
-/datum/gear/racial/vox_jumpsuit
- display_name = "vox work jumpsuit"
- description = "These loose clothes are optimized for the labors of the lower castes onboard the arkships. Large openings in the top allow for breathability while the pants are durable yet flexible enough to not restrict movement."
- path = /obj/item/clothing/under/vox/jumpsuit
- slot = SLOT_HUD_JUMPSUIT
-
-/datum/gear/racial/vox_jumpsuit/red
- display_name = "vox red jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/red
-
-/datum/gear/racial/vox_jumpsuit/teal
- display_name = "vox teal jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/teal
-
-/datum/gear/racial/vox_jumpsuit/blue
- display_name = "vox blue jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/blue
-
-/datum/gear/racial/vox_jumpsuit/green
- display_name = "vox green jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/green
-
-/datum/gear/racial/vox_jumpsuit/yellow
- display_name = "vox yellow jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/yellow
-
-/datum/gear/racial/vox_jumpsuit/purple
- display_name = "vox purple jumpsuit"
- path = /obj/item/clothing/under/vox/jumpsuit/purple
-
-// ================
diff --git a/modular_ss220/antagonists/code/vox_raider/clothing/vox_gloves.dm b/modular_ss220/antagonists/code/vox_raider/clothing/vox_gloves.dm
index 4f4422ab5ab6..57b937b979a3 100644
--- a/modular_ss220/antagonists/code/vox_raider/clothing/vox_gloves.dm
+++ b/modular_ss220/antagonists/code/vox_raider/clothing/vox_gloves.dm
@@ -16,6 +16,15 @@
resistance_flags = NONE
armor = list(MELEE = 30, BULLET = 0, LASER = 10, ENERGY = 10, BOMB = 0, RAD = 0, FIRE = 200, ACID = 50)
+/obj/item/clothing/gloves/vox/light
+ name = "light vox gauntlets"
+ desc = "Легкие рукавицы причудливой формы с когтями."
+ strip_delay = 2 SECONDS
+ cold_protection = 0
+ min_cold_protection_temperature = NONE
+ max_heat_protection_temperature = NONE
+ armor = NONE
+
/obj/item/clothing/gloves/color/yellow/vox
name = "insulated vox gauntlets"
desc = "Плотные изоляционные рукавицы причудливой формы с когтями."
diff --git a/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm b/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm
index 7963859f9ef0..1e71e346868d 100644
--- a/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm
+++ b/modular_ss220/awaymission_gun/code/items/awaymission_gun.dm
@@ -18,7 +18,7 @@
/obj/item/gun/energy/laser/awaymission_aeg/onTransitZ(old_z, new_z)
. = ..()
- if(is_away_level(new_z) || (!is_station_level(new_z) && check_level_trait(new_z, REACHABLE_SPACE_ONLY)))
+ if(is_away_level(new_z))
if(ismob(loc))
to_chat(loc, span_notice("Ваш [src] активируется, начиная аккумулировать энергию из материи сущего."))
selfcharge = TRUE
diff --git a/modular_ss220/camera_nanomap/code/camera.dm b/modular_ss220/camera_nanomap/code/camera.dm
index 81dcf0bef311..ba92bbb29f59 100644
--- a/modular_ss220/camera_nanomap/code/camera.dm
+++ b/modular_ss220/camera_nanomap/code/camera.dm
@@ -71,7 +71,7 @@
z = C.z,
status = C.status
))
- if("[C.z]" in z_levels || !C.nanomap_png)
+ if(("[C.z]" in z_levels) || !C.nanomap_png)
continue
z_levels += list("[C.z]" = C.nanomap_png)
// Sort it by z levels
diff --git a/modular_ss220/clothing/_clothing.dm b/modular_ss220/clothing/_clothing.dm
index d6e8b24db3df..e8581715c24f 100644
--- a/modular_ss220/clothing/_clothing.dm
+++ b/modular_ss220/clothing/_clothing.dm
@@ -1,7 +1,7 @@
/datum/modpack/clothing
name = "Одежда"
desc = "Всё для модного приговора."
- author = "Aylong220, Yata9arasu"
+ author = "Aylong, Yata9arasu, Dekupich"
/datum/modpack/clothing/initialize()
. = ..()
diff --git a/modular_ss220/clothing/code/cloaks.dm b/modular_ss220/clothing/code/cloaks.dm
index 18b5c130f63f..00a8afca9355 100644
--- a/modular_ss220/clothing/code/cloaks.dm
+++ b/modular_ss220/clothing/code/cloaks.dm
@@ -6,6 +6,62 @@
icon_override = 'modular_ss220/clothing/icons/mob/cloaks.dmi'
item_state = "capcloak_black"
-/obj/item/clothing/suit/mantle/armor/captain_black/Initialize(mapload)
+/obj/item/clothing/suit/mantle/armor/captain/black/Initialize(mapload)
. = ..()
desc = "Носится верховным лидером станции [station_name()]."
+
+/* EI cloak */
+/obj/item/clothing/suit/hooded/ei_cloak
+ name = "плащ Gold On Black"
+ desc = "Корпоративный плащ, выполненный в угольных тонах все с тем же золотым покрытием и специальным логотипом от Etamin Industry – золотой звездой."
+ icon = 'modular_ss220/clothing/icons/object/cloaks.dmi'
+ icon_state = "ei_cloak"
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/cloaks.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/cloaks.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/cloaks.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/cloaks.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/cloaks.dmi',
+ )
+ hoodtype = /obj/item/clothing/head/hooded/ei_hood
+
+/obj/item/clothing/head/hooded/ei_hood
+ name = "капюшон Gold On Black"
+ desc = "Капюшон, прикрепленный к плащу Gold On Black."
+ icon = 'modular_ss220/clothing/icons/object/hats.dmi'
+ icon_state = "ei_hood"
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/species/tajaran/hats.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/species/vulpkanin/hats.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/hats.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/hats.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/hats.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/hats.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/hats.dmi',
+ )
+ flags = BLOCKHAIR
+ flags_inv = HIDEEARS
diff --git a/modular_ss220/clothing/code/garment_bag.dm b/modular_ss220/clothing/code/garment_bag.dm
index 4d2e33cded53..461b6d20af61 100644
--- a/modular_ss220/clothing/code/garment_bag.dm
+++ b/modular_ss220/clothing/code/garment_bag.dm
@@ -1,7 +1,7 @@
/obj/item/storage/bag/garment/captain/populate_contents()
. = ..()
new /obj/item/clothing/head/caphat/beret_black(src)
- new /obj/item/clothing/suit/mantle/armor/captain_black(src)
+ new /obj/item/clothing/suit/mantle/armor/captain/black(src)
/obj/item/storage/bag/garment/head_of_security/populate_contents()
. = ..()
diff --git a/modular_ss220/clothing/code/gloves.dm b/modular_ss220/clothing/code/gloves.dm
index 8aba91917253..4ffc9b00fcbe 100644
--- a/modular_ss220/clothing/code/gloves.dm
+++ b/modular_ss220/clothing/code/gloves.dm
@@ -4,3 +4,30 @@
icon = 'modular_ss220/clothing/icons/object/gloves.dmi'
icon_state = "bike_gloves"
icon_override = 'modular_ss220/clothing/icons/mob/hands.dmi'
+
+/* EI gloves */
+/obj/item/clothing/gloves/color/ei_gloves
+ name = "перчатки Gold On Black"
+ desc = "Качественные перчатки с золотой вставкой 999 пробы."
+ icon = 'modular_ss220/clothing/icons/object/gloves.dmi'
+ icon_state = "ei_gloves"
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/gloves.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/gloves.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/hands.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/gloves.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/gloves.dmi',
+ )
diff --git a/modular_ss220/clothing/code/hats.dm b/modular_ss220/clothing/code/hats.dm
index fa24b469073d..bc0697a2ad7d 100644
--- a/modular_ss220/clothing/code/hats.dm
+++ b/modular_ss220/clothing/code/hats.dm
@@ -134,3 +134,8 @@
/obj/item/clothing/head/towel/brown
name = "коричневая шапочка из полотенца"
color = "#DEB887"
+
+/obj/item/clothing/head/beret/centcom/intern
+ name = "nanotrasen intern beret"
+ desc = "Берет стажера НТ. Белый берет с зеленой звездой. Выглядит подозрительно похожим на берет главного инженера..."
+ icon_state = "beret_ce"
diff --git a/modular_ss220/clothing/code/hev_suit.dm b/modular_ss220/clothing/code/hev_suit.dm
index 5c2358074ae9..690a07abd833 100644
--- a/modular_ss220/clothing/code/hev_suit.dm
+++ b/modular_ss220/clothing/code/hev_suit.dm
@@ -107,7 +107,7 @@
add_queue('modular_ss220/aesthetics_sounds/sound/hev/death.ogg', 5 SECONDS, purge_queue=TRUE)
//Mute
-/obj/item/clothing/suit/space/hev/proc/handle_speech(datum/source, mob/speech_args)
+/obj/item/clothing/suit/space/hev/proc/handle_speech(datum/source, list/speech_args)
SIGNAL_HANDLER
var/static/list/cancel_messages = list(
"Вам трудно говорить, когда костюм туго сдавливает ваше горло...",
diff --git a/modular_ss220/clothing/code/mask.dm b/modular_ss220/clothing/code/mask.dm
index 5ad3ba3f981d..2b5895df3840 100644
--- a/modular_ss220/clothing/code/mask.dm
+++ b/modular_ss220/clothing/code/mask.dm
@@ -95,3 +95,31 @@
". Что, бля, за неуважение?",
)
speech_args[SPEECH_MESSAGE] = trim(message)
+
+/* EI mask */
+/obj/item/clothing/mask/breath/ei_mask
+ name = "дыхательная маска от EI"
+ desc = "Качество и надежность, а самое главное - безопасность."
+ icon = 'modular_ss220/clothing/icons/object/masks.dmi'
+ icon_state = "ei_mask"
+ flags = BLOCK_GAS_SMOKE_EFFECT | AIRTIGHT
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/species/vulpkanin/mask.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/mask.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/species/unathi/mask.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/mask.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/mask.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/mask.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/mask.dmi',
+ )
diff --git a/modular_ss220/clothing/code/shoes.dm b/modular_ss220/clothing/code/shoes.dm
index fbafc4a45651..e755f7fb0053 100644
--- a/modular_ss220/clothing/code/shoes.dm
+++ b/modular_ss220/clothing/code/shoes.dm
@@ -166,3 +166,32 @@
/obj/item/clothing/shoes/clown_shoes/slippers,
)
category = CAT_CLOTHING
+
+/* EI shoes */
+/obj/item/clothing/shoes/ei_shoes
+ name = "ботинки Gold On Black"
+ desc = "Черный ботинки в классическом стиле с легким золотым напылением от корпорации Etamin Industry."
+ icon = 'modular_ss220/clothing/icons/object/shoes.dmi'
+ icon_state = "ei_shoes"
+ lefthand_file = 'modular_ss220/clothing/icons/inhands/left_hand.dmi'
+ righthand_file = 'modular_ss220/clothing/icons/inhands/right_hand.dmi'
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/shoes.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/shoes.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/shoes.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/shoes.dmi',
+ )
diff --git a/modular_ss220/clothing/code/suits.dm b/modular_ss220/clothing/code/suits.dm
index fb1e7aabc112..f1b7a3a7960f 100644
--- a/modular_ss220/clothing/code/suits.dm
+++ b/modular_ss220/clothing/code/suits.dm
@@ -262,6 +262,21 @@
desc = "Парадный плащ нового образца, внедряемый на объектах компании в последнее время. Отличительной чертой является стоячий воротник и резаный подол. Невысокие показатели защиты нивелируются пафосом, источаемым этим плащом."
icon_state = "ntsc_coat"
+/obj/item/clothing/under/rank/centcom/intern
+ name = "nanotrasen intern uniform"
+ desc = "Стандартная униформа стажера НТ. Обладает не самым хорошим качеством, однако вполне сгодится для удовлетворения амбиций стажера. В комплекте идёт зеленый галстук. Слава НТ!"
+ icon = 'icons/obj/clothing/under/procedure.dmi'
+ icon_state = "iaa"
+ item_state = "iaa"
+ item_color = "iaa"
+ sprite_sheets = list(
+ "Human" = 'icons/mob/clothing/under/procedure.dmi',
+ "Vox" = 'icons/mob/clothing/species/vox/under/procedure.dmi',
+ "Drask" = 'icons/mob/clothing/species/drask/under/procedure.dmi',
+ "Grey" = 'icons/mob/clothing/species/grey/under/procedure.dmi',
+ "Kidan" = 'icons/mob/clothing/species/kidan/under/procedure.dmi'
+ )
+
/* SYNDICATE */
/obj/item/clothing/suit/space/deathsquad/officer/syndie
name = "куртка офицера синдиката"
@@ -365,3 +380,60 @@
"Vox" = 'modular_ss220/clothing/icons/mob/species/vox/suits.dmi',
"Monkey" = 'modular_ss220/clothing/icons/mob/species/monkey/suits.dmi',
)
+
+/* EI suits */
+/obj/item/clothing/suit/storage/ei_jacket
+ name = "кожаная куртка Rock on Black"
+ desc = "Сочетание настоящего рокерского духа и современного стиля. При взгляде на вас, у каждого возникнет лишь одна мысль: «Это настоящий рок спирит!»."
+ icon = 'modular_ss220/clothing/icons/object/suits.dmi'
+ icon_state = "ei_jacket_open"
+ ignore_suitadjust = FALSE
+ suit_adjusted = TRUE
+ actions_types = list(/datum/action/item_action/openclose)
+ adjust_flavour = "unzip"
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/suits.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/suits.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/suits.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/suits.dmi',
+ )
+ lefthand_file = 'modular_ss220/clothing/icons/inhands/left_hand.dmi'
+ righthand_file = 'modular_ss220/clothing/icons/inhands/right_hand.dmi'
+
+/obj/item/clothing/suit/storage/ei_coat
+ name = "офицерский плащ EI"
+ desc = "Этот плащ был создан специально для офицеров корпорации Etamin Industry. Если вы видите его на ком-то, то либо перед вами офицер корпорации, либо тот, кто отдал бешеные бабки за этот плащ."
+ icon = 'modular_ss220/clothing/icons/object/suits.dmi'
+ icon_state = "ei_coat"
+ species_restricted = list("Human", "Tajaran", "Vulpkanin", "Skrell", "Nucleation", "Skeleton", "Slime People", "Unathi", "Abductor", "Golem", "Machine", "Shadow")
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/suits.dmi',
+ )
+ lefthand_file = 'modular_ss220/clothing/icons/inhands/left_hand.dmi'
+ righthand_file = 'modular_ss220/clothing/icons/inhands/right_hand.dmi'
+
diff --git a/modular_ss220/clothing/code/under.dm b/modular_ss220/clothing/code/under.dm
index 21a69ce23a36..19d2a9f5ae76 100644
--- a/modular_ss220/clothing/code/under.dm
+++ b/modular_ss220/clothing/code/under.dm
@@ -448,3 +448,89 @@
/obj/item/clothing/under/towel/short/alt/brown
name = "коричневое махровое маленькое полотенце"
color = "#DEB887"
+
+/* EI uniform */
+/obj/item/clothing/under/ei_combat
+ name = "тактическая водолазка Gold on Black"
+ desc = "Все то же удобство, но в прекрасной гамме угольных оттенков."
+ icon = 'modular_ss220/clothing/icons/object/under.dmi'
+ icon_state = "ei_combat"
+ item_color = "ei_combat"
+ lefthand_file = 'modular_ss220/clothing/icons/inhands/left_hand.dmi'
+ righthand_file = 'modular_ss220/clothing/icons/inhands/right_hand.dmi'
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/under.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/under.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/under.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/under.dmi',
+ )
+
+/obj/item/clothing/under/ei_skirt
+ name = "блузка с юбкой Gold on Black"
+ desc = "Не волнуйтесь, запачкать её будет крайне сложно, так что вы всегда будете прелестны и очаровательны. Даже если руки по локоть в крови."
+ icon = 'modular_ss220/clothing/icons/object/under.dmi'
+ icon_state = "ei_skirt"
+ item_color = "ei_skirt"
+ lefthand_file = 'modular_ss220/clothing/icons/inhands/left_hand.dmi'
+ righthand_file = 'modular_ss220/clothing/icons/inhands/right_hand.dmi'
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/under.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/under.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/under.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/under.dmi',
+ )
+
+/obj/item/clothing/under/ei_skirt_alt
+ name = "юбка «Солнце» от EI"
+ desc = "Юбка «Солнце» в классических цветах корпорации EI."
+ icon = 'modular_ss220/clothing/icons/object/under.dmi'
+ icon_state = "ei_skirt_alt"
+ item_color = "ei_skirt_alt"
+ sprite_sheets = list(
+ "Human" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Tajaran" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vulpkanin" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Kidan" = 'modular_ss220/clothing/icons/mob/species/kidan/under.dmi',
+ "Skrell" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nucleation" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Skeleton" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Slime People" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Unathi" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Grey" = 'modular_ss220/clothing/icons/mob/species/grey/under.dmi',
+ "Abductor" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Golem" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Machine" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Diona" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Nian" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Shadow" = 'modular_ss220/clothing/icons/mob/under.dmi',
+ "Vox" = 'modular_ss220/clothing/icons/mob/species/vox/under.dmi',
+ "Drask" = 'modular_ss220/clothing/icons/mob/species/drask/under.dmi',
+ )
diff --git a/modular_ss220/clothing/icons/inhands/left_hand.dmi b/modular_ss220/clothing/icons/inhands/left_hand.dmi
index e180fd33c340..388dde1feacd 100644
Binary files a/modular_ss220/clothing/icons/inhands/left_hand.dmi and b/modular_ss220/clothing/icons/inhands/left_hand.dmi differ
diff --git a/modular_ss220/clothing/icons/inhands/right_hand.dmi b/modular_ss220/clothing/icons/inhands/right_hand.dmi
index d80645b832a0..30f99a7a85e7 100644
Binary files a/modular_ss220/clothing/icons/inhands/right_hand.dmi and b/modular_ss220/clothing/icons/inhands/right_hand.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/cloaks.dmi b/modular_ss220/clothing/icons/mob/cloaks.dmi
index 09045e72bd6c..b09be504a679 100644
Binary files a/modular_ss220/clothing/icons/mob/cloaks.dmi and b/modular_ss220/clothing/icons/mob/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/hands.dmi b/modular_ss220/clothing/icons/mob/hands.dmi
index 4b4a10fbf5d7..380ab3f64c68 100644
Binary files a/modular_ss220/clothing/icons/mob/hands.dmi and b/modular_ss220/clothing/icons/mob/hands.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/hats.dmi b/modular_ss220/clothing/icons/mob/hats.dmi
index 9eb5dba46045..6c86f54f84bb 100644
Binary files a/modular_ss220/clothing/icons/mob/hats.dmi and b/modular_ss220/clothing/icons/mob/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/mask.dmi b/modular_ss220/clothing/icons/mob/mask.dmi
index e711da15cb6e..afe1144c0a0c 100644
Binary files a/modular_ss220/clothing/icons/mob/mask.dmi and b/modular_ss220/clothing/icons/mob/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/shoes.dmi b/modular_ss220/clothing/icons/mob/shoes.dmi
index d8f94b4ffe2b..6bf2712da541 100644
Binary files a/modular_ss220/clothing/icons/mob/shoes.dmi and b/modular_ss220/clothing/icons/mob/shoes.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/cloaks.dmi b/modular_ss220/clothing/icons/mob/species/drask/cloaks.dmi
new file mode 100644
index 000000000000..16e62552dcee
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/drask/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/gloves.dmi b/modular_ss220/clothing/icons/mob/species/drask/gloves.dmi
new file mode 100644
index 000000000000..1f502c4a92bb
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/drask/gloves.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/hats.dmi b/modular_ss220/clothing/icons/mob/species/drask/hats.dmi
new file mode 100644
index 000000000000..18ab856b2320
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/drask/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/mask.dmi b/modular_ss220/clothing/icons/mob/species/drask/mask.dmi
new file mode 100644
index 000000000000..098e6d9e1c46
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/drask/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/shoes.dmi b/modular_ss220/clothing/icons/mob/species/drask/shoes.dmi
index f6031b241158..201cacb5d03f 100644
Binary files a/modular_ss220/clothing/icons/mob/species/drask/shoes.dmi and b/modular_ss220/clothing/icons/mob/species/drask/shoes.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/suits.dmi b/modular_ss220/clothing/icons/mob/species/drask/suits.dmi
index 8a7a2a1fb70f..1fdb6b70608c 100644
Binary files a/modular_ss220/clothing/icons/mob/species/drask/suits.dmi and b/modular_ss220/clothing/icons/mob/species/drask/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/drask/under.dmi b/modular_ss220/clothing/icons/mob/species/drask/under.dmi
index b42a03442a89..9e5b8f3a7f07 100644
Binary files a/modular_ss220/clothing/icons/mob/species/drask/under.dmi and b/modular_ss220/clothing/icons/mob/species/drask/under.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/cloaks.dmi b/modular_ss220/clothing/icons/mob/species/grey/cloaks.dmi
new file mode 100644
index 000000000000..8c676731e867
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/grey/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/gloves.dmi b/modular_ss220/clothing/icons/mob/species/grey/gloves.dmi
new file mode 100644
index 000000000000..77f4c571ea8f
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/grey/gloves.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/hats.dmi b/modular_ss220/clothing/icons/mob/species/grey/hats.dmi
index 7cabd20be3fc..9d52d6b5939a 100644
Binary files a/modular_ss220/clothing/icons/mob/species/grey/hats.dmi and b/modular_ss220/clothing/icons/mob/species/grey/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/mask.dmi b/modular_ss220/clothing/icons/mob/species/grey/mask.dmi
new file mode 100644
index 000000000000..1b315f9ef806
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/grey/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/suits.dmi b/modular_ss220/clothing/icons/mob/species/grey/suits.dmi
index 182aaeb23311..3f62407fd4d2 100644
Binary files a/modular_ss220/clothing/icons/mob/species/grey/suits.dmi and b/modular_ss220/clothing/icons/mob/species/grey/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/grey/under.dmi b/modular_ss220/clothing/icons/mob/species/grey/under.dmi
index 68b7d8395972..be528b4ba07b 100644
Binary files a/modular_ss220/clothing/icons/mob/species/grey/under.dmi and b/modular_ss220/clothing/icons/mob/species/grey/under.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/cloaks.dmi b/modular_ss220/clothing/icons/mob/species/kidan/cloaks.dmi
new file mode 100644
index 000000000000..be78528f8df1
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/kidan/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/gloves.dmi b/modular_ss220/clothing/icons/mob/species/kidan/gloves.dmi
new file mode 100644
index 000000000000..e0807cf5e01b
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/kidan/gloves.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/hats.dmi b/modular_ss220/clothing/icons/mob/species/kidan/hats.dmi
index f9b77a5eadbf..18e2d4b7dc0e 100644
Binary files a/modular_ss220/clothing/icons/mob/species/kidan/hats.dmi and b/modular_ss220/clothing/icons/mob/species/kidan/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/mask.dmi b/modular_ss220/clothing/icons/mob/species/kidan/mask.dmi
new file mode 100644
index 000000000000..bc686ad2d48e
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/kidan/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/shoes.dmi b/modular_ss220/clothing/icons/mob/species/kidan/shoes.dmi
new file mode 100644
index 000000000000..f931a3169dd9
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/kidan/shoes.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/suits.dmi b/modular_ss220/clothing/icons/mob/species/kidan/suits.dmi
index 97d6e623b377..1f95f6438931 100644
Binary files a/modular_ss220/clothing/icons/mob/species/kidan/suits.dmi and b/modular_ss220/clothing/icons/mob/species/kidan/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/kidan/under.dmi b/modular_ss220/clothing/icons/mob/species/kidan/under.dmi
new file mode 100644
index 000000000000..dda63767a270
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/kidan/under.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/tajaran/hats.dmi b/modular_ss220/clothing/icons/mob/species/tajaran/hats.dmi
index 576737256ca5..499768c34054 100644
Binary files a/modular_ss220/clothing/icons/mob/species/tajaran/hats.dmi and b/modular_ss220/clothing/icons/mob/species/tajaran/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/unathi/mask.dmi b/modular_ss220/clothing/icons/mob/species/unathi/mask.dmi
new file mode 100644
index 000000000000..1f1dfc5103c4
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/unathi/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/cloaks.dmi b/modular_ss220/clothing/icons/mob/species/vox/cloaks.dmi
new file mode 100644
index 000000000000..83d59eef44b5
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/vox/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/gloves.dmi b/modular_ss220/clothing/icons/mob/species/vox/gloves.dmi
new file mode 100644
index 000000000000..34d6618a1060
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/vox/gloves.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/hats.dmi b/modular_ss220/clothing/icons/mob/species/vox/hats.dmi
index e4b0c0232568..ee53b84a1d9c 100644
Binary files a/modular_ss220/clothing/icons/mob/species/vox/hats.dmi and b/modular_ss220/clothing/icons/mob/species/vox/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/mask.dmi b/modular_ss220/clothing/icons/mob/species/vox/mask.dmi
new file mode 100644
index 000000000000..eeb523eea4ae
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/vox/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/shoes.dmi b/modular_ss220/clothing/icons/mob/species/vox/shoes.dmi
index 3e48a845cf82..a62578dc97fb 100644
Binary files a/modular_ss220/clothing/icons/mob/species/vox/shoes.dmi and b/modular_ss220/clothing/icons/mob/species/vox/shoes.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/suits.dmi b/modular_ss220/clothing/icons/mob/species/vox/suits.dmi
index 1166820e46ff..c1b4423ee12e 100644
Binary files a/modular_ss220/clothing/icons/mob/species/vox/suits.dmi and b/modular_ss220/clothing/icons/mob/species/vox/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vox/under.dmi b/modular_ss220/clothing/icons/mob/species/vox/under.dmi
index f6d259da3cc1..92db8e05e138 100644
Binary files a/modular_ss220/clothing/icons/mob/species/vox/under.dmi and b/modular_ss220/clothing/icons/mob/species/vox/under.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vulpkanin/hats.dmi b/modular_ss220/clothing/icons/mob/species/vulpkanin/hats.dmi
index 17f0315187f7..6e61169fc42c 100644
Binary files a/modular_ss220/clothing/icons/mob/species/vulpkanin/hats.dmi and b/modular_ss220/clothing/icons/mob/species/vulpkanin/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/species/vulpkanin/mask.dmi b/modular_ss220/clothing/icons/mob/species/vulpkanin/mask.dmi
new file mode 100644
index 000000000000..7199f7cd3e20
Binary files /dev/null and b/modular_ss220/clothing/icons/mob/species/vulpkanin/mask.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/suits.dmi b/modular_ss220/clothing/icons/mob/suits.dmi
index f41d5e0d495d..1fdf65d327a2 100644
Binary files a/modular_ss220/clothing/icons/mob/suits.dmi and b/modular_ss220/clothing/icons/mob/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/mob/under.dmi b/modular_ss220/clothing/icons/mob/under.dmi
index e68fa6a1b24c..c9bed9cec234 100644
Binary files a/modular_ss220/clothing/icons/mob/under.dmi and b/modular_ss220/clothing/icons/mob/under.dmi differ
diff --git a/modular_ss220/clothing/icons/object/cloaks.dmi b/modular_ss220/clothing/icons/object/cloaks.dmi
index 7c42872d2fc8..450347b6f451 100644
Binary files a/modular_ss220/clothing/icons/object/cloaks.dmi and b/modular_ss220/clothing/icons/object/cloaks.dmi differ
diff --git a/modular_ss220/clothing/icons/object/gloves.dmi b/modular_ss220/clothing/icons/object/gloves.dmi
index 6ddabb5d7327..4538b9e4dfdb 100644
Binary files a/modular_ss220/clothing/icons/object/gloves.dmi and b/modular_ss220/clothing/icons/object/gloves.dmi differ
diff --git a/modular_ss220/clothing/icons/object/hats.dmi b/modular_ss220/clothing/icons/object/hats.dmi
index 0da59fcd9b1a..c9c47cb05d8f 100644
Binary files a/modular_ss220/clothing/icons/object/hats.dmi and b/modular_ss220/clothing/icons/object/hats.dmi differ
diff --git a/modular_ss220/clothing/icons/object/masks.dmi b/modular_ss220/clothing/icons/object/masks.dmi
index bae752bebd16..0f256e88b4d8 100644
Binary files a/modular_ss220/clothing/icons/object/masks.dmi and b/modular_ss220/clothing/icons/object/masks.dmi differ
diff --git a/modular_ss220/clothing/icons/object/shoes.dmi b/modular_ss220/clothing/icons/object/shoes.dmi
index c08226fa7d39..af39eb1b29f8 100644
Binary files a/modular_ss220/clothing/icons/object/shoes.dmi and b/modular_ss220/clothing/icons/object/shoes.dmi differ
diff --git a/modular_ss220/clothing/icons/object/suits.dmi b/modular_ss220/clothing/icons/object/suits.dmi
index bbd542b2234b..2adce2ca6a0b 100644
Binary files a/modular_ss220/clothing/icons/object/suits.dmi and b/modular_ss220/clothing/icons/object/suits.dmi differ
diff --git a/modular_ss220/clothing/icons/object/under.dmi b/modular_ss220/clothing/icons/object/under.dmi
index f1dc9aac1cb7..feb9374b65c4 100644
Binary files a/modular_ss220/clothing/icons/object/under.dmi and b/modular_ss220/clothing/icons/object/under.dmi differ
diff --git a/modular_ss220/loadout/_loadout.dm b/modular_ss220/loadout/_loadout.dm
index 0fe0daa60481..9de83602ad79 100644
--- a/modular_ss220/loadout/_loadout.dm
+++ b/modular_ss220/loadout/_loadout.dm
@@ -1,4 +1,4 @@
/datum/modpack/loadout
name = "Loadout"
desc = "Добавляет новые вещи в Loadout."
- author = "Aylong220, Yata9arasu"
+ author = "Aylong, Yata9arasu, Dekupich"
diff --git a/modular_ss220/loadout/_loadout.dme b/modular_ss220/loadout/_loadout.dme
index c2914f30488f..b192ca56568f 100644
--- a/modular_ss220/loadout/_loadout.dme
+++ b/modular_ss220/loadout/_loadout.dme
@@ -2,6 +2,7 @@
#include "code/donor.dm"
#include "code/donor_items.dm"
+#include "code/racial.dm"
#include "code/removal.dm"
#include "code/shoes.dm"
#include "code/suit.dm"
diff --git a/modular_ss220/loadout/code/donor.dm b/modular_ss220/loadout/code/donor.dm
index bb0bbd87c6b3..068b207b0fd3 100644
--- a/modular_ss220/loadout/code/donor.dm
+++ b/modular_ss220/loadout/code/donor.dm
@@ -320,3 +320,58 @@
path = /obj/item/id_skin/boykisser
donator_tier = 4
cost = 5
+
+// MARK: EI clothes
+/datum/gear/donor/ei_cloak
+ display_name = "Плащ Gold On Black"
+ path = /obj/item/clothing/suit/hooded/ei_cloak
+ donator_tier = 2
+ cost = 2
+
+/datum/gear/donor/ei_gloves
+ display_name = "Перчатки Gold On Black"
+ path = /obj/item/clothing/gloves/color/ei_gloves
+ donator_tier = 1
+ cost = 1
+
+/datum/gear/donor/ei_mask
+ display_name = "Дыхательная маска от EI"
+ path = /obj/item/clothing/mask/breath/ei_mask
+ donator_tier = 3
+ cost = 3
+
+/datum/gear/donor/ei_shoes
+ display_name = "Ботинки Gold On Black"
+ path = /obj/item/clothing/shoes/ei_shoes
+ donator_tier = 1
+ cost = 1
+
+/datum/gear/donor/ei_jacket
+ display_name = "Кожаная куртка Rock on Black"
+ path = /obj/item/clothing/suit/storage/ei_jacket
+ donator_tier = 2
+ cost = 1
+
+/datum/gear/donor/ei_coat
+ display_name = "Офицерский плащ EI"
+ path = /obj/item/clothing/suit/storage/ei_coat
+ donator_tier = 4
+ cost = 4
+
+/datum/gear/donor/ei_combat
+ display_name = "Тактическая водолазка Gold on Black"
+ path = /obj/item/clothing/under/ei_combat
+ donator_tier = 1
+ cost = 1
+
+/datum/gear/donor/ei_skirt
+ display_name = "Блузка с юбкой Gold on Black"
+ path = /obj/item/clothing/under/ei_skirt
+ donator_tier = 1
+ cost = 1
+
+/datum/gear/donor/ei_skirt_alt
+ display_name = "Юбка «Солнце» от EI"
+ path = /obj/item/clothing/under/ei_skirt_alt
+ donator_tier = 1
+ cost = 1
diff --git a/modular_ss220/loadout/code/racial.dm b/modular_ss220/loadout/code/racial.dm
new file mode 100644
index 000000000000..b69406d7f986
--- /dev/null
+++ b/modular_ss220/loadout/code/racial.dm
@@ -0,0 +1,42 @@
+// MARK: Vox
+
+/datum/gear/racial/vox_sandal
+ display_name = "Vox sandals"
+ path = /obj/item/clothing/shoes/roman/vox
+ slot = SLOT_HUD_SHOES
+
+/datum/gear/racial/vox_gauntlets
+ display_name = "Vox gauntlets"
+ path = /obj/item/clothing/gloves/vox/light
+ slot = SLOT_HUD_GLOVES
+
+/datum/gear/racial/vox_jumpsuit
+ display_name = "Vox work jumpsuit"
+ description = "These loose clothes are optimized for the labors of the lower castes onboard the arkships. Large openings in the top allow for breathability while the pants are durable yet flexible enough to not restrict movement."
+ path = /obj/item/clothing/under/vox/jumpsuit
+ slot = SLOT_HUD_JUMPSUIT
+
+/datum/gear/racial/vox_jumpsuit/red
+ display_name = "Vox red jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/red
+
+/datum/gear/racial/vox_jumpsuit/teal
+ display_name = "Vox teal jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/teal
+
+/datum/gear/racial/vox_jumpsuit/blue
+ display_name = "Vox blue jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/blue
+
+/datum/gear/racial/vox_jumpsuit/green
+ display_name = "Vox green jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/green
+
+/datum/gear/racial/vox_jumpsuit/yellow
+ display_name = "Vox yellow jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/yellow
+
+/datum/gear/racial/vox_jumpsuit/purple
+ display_name = "Vox purple jumpsuit"
+ path = /obj/item/clothing/under/vox/jumpsuit/purple
+
diff --git a/modular_ss220/objects/code/weapons/ranged/revolvers.dm b/modular_ss220/objects/code/weapons/ranged/revolvers.dm
index ab3af135a95e..31e004735b6c 100644
--- a/modular_ss220/objects/code/weapons/ranged/revolvers.dm
+++ b/modular_ss220/objects/code/weapons/ranged/revolvers.dm
@@ -208,7 +208,13 @@
icon = 'modular_ss220/objects/icons/ammo.dmi'
item_state = "peashooter_bullet"
stamina = 5
- damage_type = STAMINA
+ damage = 0
+ var/additional_zombie_damage = 10
+
+/obj/item/projectile/bullet/midbullet_r/peas_shooter/prehit(atom/target)
+ if(HAS_TRAIT(target, TRAIT_I_WANT_BRAINS))
+ damage += additional_zombie_damage
+ return ..()
/obj/item/projectile/bullet/midbullet_r/peas_shooter/on_hit(mob/H)
. = ..()
diff --git a/modular_ss220/outfits/code/outfits.dm b/modular_ss220/outfits/code/outfits.dm
index c59e4007244f..48da37da9efe 100644
--- a/modular_ss220/outfits/code/outfits.dm
+++ b/modular_ss220/outfits/code/outfits.dm
@@ -37,8 +37,99 @@
/obj/item/clothing/head/beret/centcom/officer/navy/marine
name = "navy blue beret"
-// MARK: NT Navy Field Officer
-/datum/outfit/job/ntnavyofficer/field
+// MARK: NT Officer outfits
+/datum/outfit/job/admin/ntnavyofficer
+ name = "Nanotrasen Navy Officer"
+ jobtype = /datum/job/ntnavyofficer
+
+ uniform = /obj/item/clothing/under/rank/centcom/officer
+ gloves = /obj/item/clothing/gloves/color/white
+ shoes = /obj/item/clothing/shoes/centcom
+ head = /obj/item/clothing/head/beret/centcom/officer
+ l_ear = /obj/item/radio/headset/centcom
+ glasses = /obj/item/clothing/glasses/hud/security/sunglasses
+ id = /obj/item/card/id/centcom
+ pda = /obj/item/pda/centcom
+ bio_chips = list(
+ /obj/item/bio_chip/mindshield,
+ /obj/item/bio_chip/dust
+ )
+ backpack = /obj/item/storage/backpack/satchel
+ backpack_contents = list(
+ /obj/item/stamp/centcom = 1,
+ )
+ box = /obj/item/storage/box/centcomofficer
+ cybernetic_implants = list(
+ /obj/item/organ/internal/cyberimp/chest/nutriment/plus/hardened,
+ /obj/item/organ/internal/cyberimp/arm/combat/centcom
+ )
+
+/datum/outfit/job/admin/ntnavyofficer/on_mind_initialize(mob/living/carbon/human/H)
+ . = ..()
+ H.mind.offstation_role = TRUE
+
+/datum/outfit/job/admin/ntspecops
+ name = "Special Operations Officer"
+ jobtype = /datum/job/ntspecops
+ allow_backbag_choice = FALSE
+ uniform = /obj/item/clothing/under/rank/centcom/captain
+ suit = /obj/item/clothing/suit/space/deathsquad/officer
+ belt = /obj/item/storage/belt/military/assault
+ gloves = /obj/item/clothing/gloves/combat
+ shoes = /obj/item/clothing/shoes/combat
+ mask = /obj/item/clothing/mask/holo_cigar
+ head = /obj/item/clothing/head/helmet/space/deathsquad/beret
+ l_ear = /obj/item/radio/headset/centcom
+ glasses = /obj/item/clothing/glasses/hud/security/sunglasses
+ id = /obj/item/card/id/centcom
+ pda = /obj/item/pda/centcom
+ r_pocket = /obj/item/storage/fancy/matches
+ back = /obj/item/storage/backpack/satchel
+ box = /obj/item/storage/box/centcomofficer
+ backpack_contents = list(
+ /obj/item/clothing/shoes/magboots/advance = 1,
+ /obj/item/storage/box/zipties = 1
+ )
+ bio_chips = list(
+ /obj/item/bio_chip/mindshield,
+ /obj/item/bio_chip/dust
+ )
+ cybernetic_implants = list(
+ /obj/item/organ/internal/eyes/cybernetic/xray/hardened,
+ /obj/item/organ/internal/cyberimp/brain/anti_stam/hardened,
+ /obj/item/organ/internal/cyberimp/chest/nutriment/plus/hardened,
+ /obj/item/organ/internal/cyberimp/arm/combat/centcom
+ )
+
+/datum/outfit/job/admin/ntspecops/on_mind_initialize(mob/living/carbon/human/H)
+ . = ..()
+ H.mind.offstation_role = TRUE
+
+/datum/outfit/job/admin/ntspecops/alt
+ name = "Specops alt. RSH-12, saber, bandana"
+ belt = /obj/item/storage/belt/sheath/saber
+ backpack_contents = list(
+ /obj/item/gun/projectile/revolver/reclinable/rsh12,
+ /obj/item/ammo_box/speed_loader_mm127,
+ /obj/item/ammo_box/speed_loader_mm127,
+ /obj/item/ammo_box/speed_loader_mm127,
+ /obj/item/clothing/mask/bandana/red
+ )
+ suit_store = /obj/item/ammo_box/box_mm127
+
+/datum/outfit/job/admin/ntnavyofficer/alt
+ name = "NT Navy Officer alt. Coat NT, holo, noble, cane"
+ mask = /obj/item/clothing/mask/holo_cigar
+ suit = /obj/item/clothing/suit/space/deathsquad/officer/field/cloak_nt/coat_nt
+ shoes = /obj/item/clothing/shoes/fluff/noble_boot
+ belt = /obj/item/melee/classic_baton/ntcane
+
+/datum/outfit/job/admin/ntnavyofficer/alt2
+ name = "NT Navy Officer alt. Cloak NT, holo"
+ suit = /obj/item/clothing/suit/space/deathsquad/officer/field/cloak_nt
+ mask = /obj/item/clothing/mask/holo_cigar
+
+/datum/outfit/job/admin/ntnavyofficer/field
name = "Nanotrasen Navy Field Officer"
gloves = /obj/item/clothing/gloves/combat
@@ -56,7 +147,62 @@
/obj/item/organ/internal/eyes/cybernetic/thermals/hardened
)
-/datum/outfit/job/ntnavyofficer/field/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
+/datum/outfit/job/admin/ntnavyofficer/field/alt
+ name = "Nanotrasen Navy Field Officer alt. Ring, mateba, holster"
+ gloves =/obj/item/clothing/gloves/ring/silver
+ mask = /obj/item/clothing/mask/holo_cigar
+ backpack_contents = list(
+ /obj/item/clothing/accessory/scarf/purple,
+ /obj/item/clothing/gloves/combat,
+ /obj/item/gun/projectile/revolver/mateba,
+ /obj/item/ammo_box/a357,
+ /obj/item/ammo_box/a357,
+ /obj/item/ammo_box/a357,
+ /obj/item/clothing/accessory/holster
+ )
+
+/datum/outfit/job/admin/nt_navy_captain
+ name = "NT Navy Captain (Advanced)"
+
+ uniform = /obj/item/clothing/under/rank/centcom/captain
+ back = /obj/item/storage/backpack/satchel
+ belt = /obj/item/storage/belt/sheath/saber
+ gloves = /obj/item/clothing/gloves/color/white
+ shoes = /obj/item/clothing/shoes/centcom
+ head = /obj/item/clothing/head/beret/centcom/captain
+ l_ear = /obj/item/radio/headset/centcom
+ glasses = /obj/item/clothing/glasses/hud/security/sunglasses
+ id = /obj/item/card/id/centcom
+ pda = /obj/item/pda/centcom
+ backpack_contents = list(
+ /obj/item/storage/box/centcomofficer,
+ /obj/item/bio_chip_implanter/death_alarm,
+ /obj/item/stamp/centcom,
+ /obj/item/gun/projectile/revolver/reclinable/rsh12,
+ /obj/item/ammo_box/speed_loader_mm127,
+ /obj/item/ammo_box/speed_loader_mm127
+ )
+ bio_chips = list(
+ /obj/item/bio_chip/mindshield,
+ /obj/item/bio_chip/dust
+ )
+ cybernetic_implants = list(
+ /obj/item/organ/internal/eyes/cybernetic/xray/hardened,
+ /obj/item/organ/internal/cyberimp/brain/anti_stam/hardened,
+ /obj/item/organ/internal/cyberimp/chest/nutriment/plus/hardened
+ )
+
+/datum/outfit/job/admin/nt_navy_captain/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
+ . = ..()
+ if(visualsOnly)
+ return
+
+ var/obj/item/card/id/I = H.wear_id
+ if(istype(I))
+ apply_to_card(I, H, get_centcom_access("Nanotrasen Navy Captain"), "Nanotrasen Navy Captain")
+ H.sec_hud_set_ID()
+
+/datum/outfit/job/admin/ntnavyofficer/field/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
. = ..()
if(visualsOnly)
return
@@ -64,7 +210,39 @@
var/obj/item/card/id/I = H.wear_id
if(istype(I))
apply_to_card(I, H, get_centcom_access("Nanotrasen Navy Officer"), "Nanotrasen Navy Field Officer")
- I.assignment = "Nanotrasen Navy Officer"
+ I.rank = "Nanotrasen Navy Officer"
+ I.assignment = "Nanotrasen Navy Field Officer"
+ H.sec_hud_set_ID()
+
+/datum/outfit/job/admin/ntnavyofficer/intern
+ name = "NT Intern"
+ uniform = /obj/item/clothing/under/rank/centcom/intern
+ head = /obj/item/clothing/head/beret/centcom/intern
+ glasses = /obj/item/clothing/glasses/hud/skills/sunglasses
+ gloves = /obj/item/clothing/gloves/fingerless
+ id = /obj/item/card/id/centcom
+ backpack_contents = list(
+ /obj/item/stamp/centcom,
+ /obj/item/clipboard,
+ /obj/item/stack/spacecash/c200
+ )
+ bio_chips = list(
+ /obj/item/bio_chip/mindshield
+ )
+ cybernetic_implants = list(
+ /obj/item/organ/internal/cyberimp/chest/nutriment/plus/hardened
+ )
+
+/datum/outfit/job/admin/ntnavyofficer/intern/post_equip(mob/living/carbon/human/H, visualsOnly = FALSE)
+ . = ..()
+ if(visualsOnly)
+ return
+
+ var/obj/item/card/id/I = H.wear_id
+ if(istype(I))
+ apply_to_card(I, H, get_centcom_access("Nanotrasen Navy Officer"), "Nanotrasen CentCom Intern")
+ I.rank = "Nanotrasen Navy Officer"
+ I.assignment = "Nanotrasen CentCom Intern"
H.sec_hud_set_ID()
/obj/item/clothing/head/helmet/space/deathsquad/beret/field
diff --git a/modular_ss220/vending/code/vending.dm b/modular_ss220/vending/code/vending.dm
index 017fa5bbead3..a49bae69bbaa 100644
--- a/modular_ss220/vending/code/vending.dm
+++ b/modular_ss220/vending/code/vending.dm
@@ -222,6 +222,9 @@
/obj/item/clothing/under/rainbow_skirt = 100)
. = ..()
+/obj/machinery/economy/vending/suitdispenser/free
+ prices = list()
+
/obj/machinery/economy/vending/wallmed/emergency_ntmed
name = "\improper Advanced Nanomed"
desc = "Продвинутая экстренная аптечка на все случаи жизни."
@@ -242,3 +245,14 @@
contraband |= list(/obj/item/clothing/shoes/clown_shoes/moffers = 1)
prices |= list(/obj/item/clothing/shoes/clown_shoes/moffers = 80)
. = ..()
+
+/obj/machinery/economy/vending/shoedispenser/free
+ prices = list()
+
+/obj/machinery/economy/vending/tool/Initialize(mapload)
+ contraband |= list(/obj/item/clothing/gloves/color/yellow/vox = 1)
+ prices |= list(/obj/item/clothing/gloves/color/yellow/vox = 500)
+ . = ..()
+
+/obj/machinery/economy/vending/tool/free
+ prices = list()
diff --git a/modular_ss220/vending/code/vending_food.dm b/modular_ss220/vending/code/vending_food.dm
index 758128c02a94..bfb647af2a85 100644
--- a/modular_ss220/vending/code/vending_food.dm
+++ b/modular_ss220/vending/code/vending_food.dm
@@ -45,6 +45,9 @@
/obj/item/poster/mac_vulpix = 3,
)
+/obj/machinery/economy/vending/vulpix/free
+ prices = list()
+
// MARK: Nanotrasen Food
/obj/machinery/economy/vending/nt_food
name = "\improper Nanotrasen Food"
diff --git a/paradise.dme b/paradise.dme
index 8b38023ad973..7b02da7352d9 100644
--- a/paradise.dme
+++ b/paradise.dme
@@ -448,6 +448,7 @@
#include "code\datums\components\proximity_monitor.dm"
#include "code\datums\components\radioactive.dm"
#include "code\datums\components\scope.dm"
+#include "code\datums\components\shelved.dm"
#include "code\datums\components\shielded.dm"
#include "code\datums\components\slippery.dm"
#include "code\datums\components\spawner.dm"
@@ -698,6 +699,7 @@
#include "code\game\area\areas\ruins\lavaland_areas.dm"
#include "code\game\area\areas\ruins\space_areas.dm"
#include "code\game\area\areas\ruins\syndicate_space_base_areas.dm"
+#include "code\game\area\ss13_areas\station_area.dm"
#include "code\game\area\ss13_areas\ai_areas.dm"
#include "code\game\area\ss13_areas\command_areas.dm"
#include "code\game\area\ss13_areas\engineering_areas.dm"
@@ -790,8 +792,8 @@
#include "code\game\gamemodes\traitor\traitor.dm"
#include "code\game\gamemodes\trifecta\trifecta.dm"
#include "code\game\gamemodes\vampire\traitor_vamp.dm"
-#include "code\game\gamemodes\vampire\vampire_gamemode.dm"
#include "code\game\gamemodes\vampire\vampire_chan.dm"
+#include "code\game\gamemodes\vampire\vampire_gamemode.dm"
#include "code\game\gamemodes\wizard\artefact.dm"
#include "code\game\gamemodes\wizard\godhand.dm"
#include "code\game\gamemodes\wizard\magic_tarot.dm"
@@ -956,11 +958,13 @@
#include "code\game\mecha\combat\phazon.dm"
#include "code\game\mecha\combat\reticence.dm"
#include "code\game\mecha\equipment\mecha_equipment.dm"
+#include "code\game\mecha\equipment\tools\janitor_tools.dm"
#include "code\game\mecha\equipment\tools\mecha_mining_tools.dm"
#include "code\game\mecha\equipment\tools\medical_tools.dm"
#include "code\game\mecha\equipment\tools\other_tools.dm"
#include "code\game\mecha\equipment\tools\work_tools.dm"
#include "code\game\mecha\equipment\weapons\weapons.dm"
+#include "code\game\mecha\janitor\nkarrdem.dm"
#include "code\game\mecha\medical\medical_base.dm"
#include "code\game\mecha\medical\odysseus.dm"
#include "code\game\mecha\working\ripley.dm"
@@ -1031,10 +1035,12 @@
#include "code\game\objects\effects\spawners\windowspawner.dm"
#include "code\game\objects\effects\spawners\random\engineering_spawners.dm"
#include "code\game\objects\effects\spawners\random\food_spawners.dm"
+#include "code\game\objects\effects\spawners\random\furniture_spawners.dm"
#include "code\game\objects\effects\spawners\random\maint_loot_spawners.dm"
#include "code\game\objects\effects\spawners\random\misc_spawners.dm"
#include "code\game\objects\effects\spawners\random\random_spawner.dm"
#include "code\game\objects\effects\spawners\random\trash_spawners.dm"
+#include "code\game\objects\effects\spawners\random\wall_decal_spawners.dm"
#include "code\game\objects\effects\temporary_visuals\clockcult.dm"
#include "code\game\objects\effects\temporary_visuals\cult_visuals.dm"
#include "code\game\objects\effects\temporary_visuals\explosion_temp_visuals.dm"
@@ -1205,6 +1211,7 @@
#include "code\game\objects\items\weapons\tape.dm"
#include "code\game\objects\items\weapons\teleportation.dm"
#include "code\game\objects\items\weapons\teleprod.dm"
+#include "code\game\objects\items\weapons\thurible.dm"
#include "code\game\objects\items\weapons\twohanded.dm"
#include "code\game\objects\items\weapons\vending_items.dm"
#include "code\game\objects\items\weapons\weaponry.dm"
@@ -1319,6 +1326,7 @@
#include "code\game\objects\structures\railings.dm"
#include "code\game\objects\structures\reflector.dm"
#include "code\game\objects\structures\safe.dm"
+#include "code\game\objects\structures\shelves.dm"
#include "code\game\objects\structures\signs.dm"
#include "code\game\objects\structures\snow.dm"
#include "code\game\objects\structures\spirit_board.dm"
@@ -1986,6 +1994,7 @@
#include "code\modules\hydroponics\grown\onion.dm"
#include "code\modules\hydroponics\grown\peanut.dm"
#include "code\modules\hydroponics\grown\pineapple.dm"
+#include "code\modules\hydroponics\grown\plum.dm"
#include "code\modules\hydroponics\grown\potato.dm"
#include "code\modules\hydroponics\grown\pumpkin.dm"
#include "code\modules\hydroponics\grown\random_seeds.dm"
@@ -2017,6 +2026,7 @@
#include "code\modules\instruments\songs\_song_ui.dm"
#include "code\modules\instruments\songs\play_legacy.dm"
#include "code\modules\instruments\songs\play_synthesized.dm"
+#include "code\modules\lavaland\caves_theme.dm"
#include "code\modules\lavaland\lavaland_theme.dm"
#include "code\modules\library\book.dm"
#include "code\modules\library\library_admin.dm"
@@ -2390,7 +2400,7 @@
#include "code\modules\mob\living\simple_animal\hostile\mushroom.dm"
#include "code\modules\mob\living\simple_animal\hostile\netherworld.dm"
#include "code\modules\mob\living\simple_animal\hostile\pirate.dm"
-#include "code\modules\mob\living\simple_animal\hostile\russian.dm"
+#include "code\modules\mob\living\simple_animal\hostile\soviet.dm"
#include "code\modules\mob\living\simple_animal\hostile\skeleton_mob.dm"
#include "code\modules\mob\living\simple_animal\hostile\syndicate_mobs.dm"
#include "code\modules\mob\living\simple_animal\hostile\tree.dm"
diff --git a/sound/AI/welcome_cerebron.ogg b/sound/AI/welcome_cerebron.ogg
new file mode 100644
index 000000000000..1e928c74cfdf
Binary files /dev/null and b/sound/AI/welcome_cerebron.ogg differ
diff --git a/sound/AI/welcome_cyberiad.ogg b/sound/AI/welcome_cyberiad.ogg
new file mode 100644
index 000000000000..a54bb7984c7c
Binary files /dev/null and b/sound/AI/welcome_cyberiad.ogg differ
diff --git a/sound/AI/welcome_diagoras.ogg b/sound/AI/welcome_diagoras.ogg
new file mode 100644
index 000000000000..b86c2dd2e44a
Binary files /dev/null and b/sound/AI/welcome_diagoras.ogg differ
diff --git a/sound/AI/welcome_farragus.ogg b/sound/AI/welcome_farragus.ogg
new file mode 100644
index 000000000000..916790a21a94
Binary files /dev/null and b/sound/AI/welcome_farragus.ogg differ
diff --git a/sound/AI/welcome_kerberos.ogg b/sound/AI/welcome_kerberos.ogg
new file mode 100644
index 000000000000..0eccf8edc424
Binary files /dev/null and b/sound/AI/welcome_kerberos.ogg differ
diff --git a/sound/surgery/cautery1.ogg b/sound/surgery/cautery1.ogg
new file mode 100644
index 000000000000..ac15a5812666
Binary files /dev/null and b/sound/surgery/cautery1.ogg differ
diff --git a/sound/surgery/cautery2.ogg b/sound/surgery/cautery2.ogg
new file mode 100644
index 000000000000..334c98f6cde4
Binary files /dev/null and b/sound/surgery/cautery2.ogg differ
diff --git a/sound/surgery/hemostat1.ogg b/sound/surgery/hemostat1.ogg
new file mode 100644
index 000000000000..d68c82620d2a
Binary files /dev/null and b/sound/surgery/hemostat1.ogg differ
diff --git a/sound/surgery/organ1.ogg b/sound/surgery/organ1.ogg
new file mode 100644
index 000000000000..d6cdd6271fe3
Binary files /dev/null and b/sound/surgery/organ1.ogg differ
diff --git a/sound/surgery/organ2.ogg b/sound/surgery/organ2.ogg
new file mode 100644
index 000000000000..9199c7d1a2db
Binary files /dev/null and b/sound/surgery/organ2.ogg differ
diff --git a/sound/surgery/retractor1.ogg b/sound/surgery/retractor1.ogg
new file mode 100644
index 000000000000..de7c31199e3c
Binary files /dev/null and b/sound/surgery/retractor1.ogg differ
diff --git a/sound/surgery/retractor2.ogg b/sound/surgery/retractor2.ogg
new file mode 100644
index 000000000000..620fafe035d8
Binary files /dev/null and b/sound/surgery/retractor2.ogg differ
diff --git a/sound/surgery/saw.ogg b/sound/surgery/saw.ogg
new file mode 100644
index 000000000000..8e7a47f0fa06
Binary files /dev/null and b/sound/surgery/saw.ogg differ
diff --git a/sound/surgery/scalpel1.ogg b/sound/surgery/scalpel1.ogg
new file mode 100644
index 000000000000..6c0fe5dad9fe
Binary files /dev/null and b/sound/surgery/scalpel1.ogg differ
diff --git a/sound/surgery/scalpel2.ogg b/sound/surgery/scalpel2.ogg
new file mode 100644
index 000000000000..497672239393
Binary files /dev/null and b/sound/surgery/scalpel2.ogg differ
diff --git a/tgui/packages/tgui-panel/styles/main.scss b/tgui/packages/tgui-panel/styles/main.scss
index 4c4213b28e56..d84c6ce3af28 100644
--- a/tgui/packages/tgui-panel/styles/main.scss
+++ b/tgui/packages/tgui-panel/styles/main.scss
@@ -57,4 +57,4 @@
@include meta.load-css('~tgui/styles/layouts/Window.scss');
// Goonchat styles
-@include meta.load-css('./tgchat/chat-dark.scss');
+@include meta.load-css('./tgchat/chat-default.scss');
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-default.scss
similarity index 56%
rename from tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
rename to tgui/packages/tgui-panel/styles/tgchat/chat-default.scss
index 110b24534b7b..bc6bcfa4e6f0 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-dark.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-default.scss
@@ -1,8 +1,4 @@
-/**
- * Copyright (c) 2020 Aleksej Komarov
- * SPDX-License-Identifier: MIT
- */
-
+// MARK: GENERAL STUFF
em {
font-style: normal;
font-weight: bold;
@@ -23,168 +19,86 @@ img.icon {
vertical-align: bottom;
}
-.emoji16x16 {
- vertical-align: middle;
-}
-
a {
color: #397ea5;
}
-a.popt {
- text-decoration: none;
-}
-
-/* POPUPS */
-
-.popup {
- position: fixed;
- top: 50%;
- left: 50%;
- background: #ddd;
-}
-
-.popup .close {
- position: absolute;
- background: #aaa;
- top: 0;
- right: 0;
- color: #333;
- text-decoration: none;
- z-index: 2;
- padding: 0 10px;
- height: 30px;
- line-height: 30px;
-}
-
-.popup .close:hover {
- background: #999;
-}
-
-.popup .head {
- background: #999;
- color: #ddd;
- padding: 0 10px;
- height: 30px;
- line-height: 30px;
- text-transform: uppercase;
- font-size: 0.9em;
+em {
+ font-style: normal;
font-weight: bold;
- border-bottom: 2px solid green;
}
-.popup input {
- border: 1px solid #999;
- background: #fff;
- margin: 0;
- padding: 5px;
- outline: none;
- color: #333;
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: #a4bad6;
+ font-family: Georgia, Verdana, sans-serif;
}
-.popup input[type='text']:hover,
-.popup input[type='text']:active,
-.popup input[type='text']:focus {
- border-color: green;
+h1.alert,
+h2.alert {
+ color: #a4bad6;
}
-.popup input[type='submit'] {
- padding: 5px 10px;
- background: #999;
- color: #ddd;
- text-transform: uppercase;
- font-size: 0.9em;
- font-weight: bold;
+.emoji {
+ max-height: 16px;
+ max-width: 16px;
}
-.popup input[type='submit']:hover,
-.popup input[type='submit']:focus,
-.popup input[type='submit']:active {
- background: #aaa;
- cursor: pointer;
+.emoji16x16 {
+ vertical-align: middle;
}
-.changeFont {
- padding: 10px;
+.italic,
+.italics,
+.emote {
+ font-style: italic;
}
-.changeFont a {
- display: block;
- text-decoration: none;
- padding: 3px;
- color: #333;
+.bold {
+ font-weight: bold;
}
-.changeFont a:hover {
- background: #ccc;
+.bolditalics {
+ font-style: italic;
+ font-weight: bold;
}
-.highlightPopup {
- padding: 10px;
+.center {
text-align: center;
}
-.highlightPopup input[type='text'] {
- display: block;
- width: 215px;
- text-align: left;
- margin-top: 5px;
-}
-
-.highlightPopup input.highlightColor {
- background-color: #ffff00;
-}
-
-.highlightPopup input.highlightTermSubmit {
- margin-top: 5px;
-}
-
-/* ADMIN CONTEXT MENU */
-
-.contextMenu {
- background-color: #ddd;
- position: fixed;
- margin: 2px;
- width: 150px;
+.big {
+ font-size: 150%;
}
-.contextMenu a {
- display: block;
- padding: 2px 5px;
- text-decoration: none;
- color: #333;
+.reallybig {
+ font-size: 175%;
}
-.contextMenu a:hover {
- background-color: #ccc;
+.sans {
+ font-family: 'Comic Sans MS', cursive, sans-serif;
}
-/* ADMIN FILTER MESSAGES MENU */
-
-.filterMessages {
- padding: 5px;
+.wingdings {
+ font-family: Wingdings, Webdings;
}
-.filterMessages div {
- padding: 2px 0;
+.robot {
+ font-family: 'OCR-A', monospace;
+ font-size: 1.15em;
+ font-weight: bold;
}
-.icon-stack {
- height: 1em;
- line-height: 1em;
- width: 1em;
- vertical-align: middle;
- margin-top: -2px;
+.hidden {
+ display: none;
+ visibility: hidden;
}
-/*****************************************
-*
-* OUTPUT ACTUALLY RELATED TO MESSAGES
-*
-******************************************/
-
-/* MOTD */
-
+// MARK: MOTD
.motd {
color: #a4bad6;
font-family: Verdana, sans-serif;
@@ -208,38 +122,37 @@ a.popt {
color: #a4bad6;
}
-/* ADD HERE FOR ITALIC */
+// MARK: MEMO
+.memo {
+ color: #638500;
+ text-align: center;
+}
-.italic,
-.italics,
-.emote {
- font-style: italic;
+.memoedit {
+ text-align: center;
+ font-size: 75%;
}
-/* OUTPUT COLORS */
+// MARK: General colors
+.ooc {
+ font-weight: bold;
+}
-.highlight {
- background: yellow;
+.looc {
+ color: #6699cc;
+ font-weight: bold;
}
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
- color: #a4bad6;
- font-family: Georgia, Verdana, sans-serif;
+.discordpm {
+ color: #6685f5;
}
-h1.alert,
-h2.alert {
- color: #a4bad6;
+.debug {
+ color: #6d2f83;
}
-em {
- font-style: normal;
- font-weight: bold;
+.deadsay {
+ color: #e2c1ff;
}
.darkmblue {
@@ -250,27 +163,27 @@ em {
font-weight: bold;
}
-.ooc {
+.name {
font-weight: bold;
}
-.looc {
- color: #6699cc;
+.yell {
font-weight: bold;
}
-.adminobserverooc {
- color: #0099cc;
+// MARK: Admin/Mentor
+.mentorhelp {
+ color: #0077bb;
font-weight: bold;
}
-.adminooc {
- color: #b82e00;
+.mentor_channel {
+ color: #775bff;
font-weight: bold;
}
-.adminobserver {
- color: #996600;
+.mentor_channel_admin {
+ color: #a35cff;
font-weight: bold;
}
@@ -279,50 +192,44 @@ em {
font-weight: bold;
}
-.adminsay {
- color: #9611d4;
- font-weight: bold;
-}
-
-.mentorhelp {
- color: #0077bb;
- font-weight: bold;
-}
-
.adminhelp {
color: #aa0000;
font-weight: bold;
}
-.playerreply {
- color: #8800bb;
+.adminticket {
+ color: #3daf21;
font-weight: bold;
}
-.pmsend {
- color: #6685f5;
-}
-
-.debug {
- color: #6d2f83;
+.adminticketalt {
+ color: #ccb847;
+ font-weight: bold;
}
-.name {
+.admin_channel {
+ color: #03fc9d;
font-weight: bold;
}
-.yell {
+.all_admin_ping {
+ color: #12a5f4;
font-weight: bold;
+ font-size: 120%;
+ text-align: center;
}
-.siliconsay {
- font-family: 'Courier New', Courier, monospace;
+.dev_channel {
+ color: #61b413;
+ font-weight: bold;
}
-.deadsay {
- color: #e2c1ff;
+.dev_channel_admin {
+ color: #9ef14f;
+ font-weight: bold;
}
+// MARK: Radio
.radio {
color: #20b142;
}
@@ -343,10 +250,6 @@ em {
color: #998599;
}
-.resteamradio {
- color: #18bc46;
-}
-
.airadio {
color: #ff5ed7;
}
@@ -383,51 +286,7 @@ em {
color: #b84f92;
}
-.admin_channel {
- color: #03fc9d;
- font-weight: bold;
-}
-
-.all_admin_ping {
- color: #12a5f4;
- font-weight: bold;
- font-size: 120%;
- text-align: center;
-}
-
-.mentor_channel {
- color: #775bff;
- font-weight: bold;
-}
-
-.mentor_channel_admin {
- color: #a35cff;
- font-weight: bold;
-}
-
-.dev_channel {
- color: #61b413;
- font-weight: bold;
-}
-
-.dev_channel_admin {
- color: #9ef14f;
- font-weight: bold;
-}
-
-.djradio {
- color: #996600;
-}
-
-.binaryradio {
- color: #1b00fb;
- font-family: 'Courier New', Courier, monospace;
-}
-
-.mommiradio {
- color: #6685f5;
-}
-
+// MARK: Alerts
.alert {
color: #d82020;
}
@@ -443,31 +302,6 @@ h2.alert {
font-weight: bold;
}
-.emote {
- font-style: italic;
-}
-
-.selecteddna {
- color: #a4bad6;
- background-color: #001b1b;
-}
-
-.attack {
- color: #ff0000;
-}
-
-.moderate {
- color: #cc0000;
-}
-
-.disarm {
- color: #990000;
-}
-
-.passive {
- color: #660000;
-}
-
.warning {
color: #c51e1e;
font-style: italic;
@@ -484,16 +318,28 @@ h2.alert {
font-weight: bold;
}
+.biggerdanger {
+ color: #ff0000;
+ font-weight: bold;
+ font-size: 150%;
+}
+
.userdanger {
color: #c51e1e;
font-weight: bold;
font-size: 120%;
}
-.biggerdanger {
+.attack {
color: #ff0000;
- font-weight: bold;
- font-size: 150%;
+}
+
+.disarm {
+ color: #990000;
+}
+
+.moderate {
+ color: #cc0000;
}
.notice {
@@ -510,23 +356,46 @@ h2.alert {
font-style: italic;
}
-.green {
- color: #03bb39;
+// MARK: Announcements
+.announcement h1,
+.announcement h2 {
+ color: #a4bad6;
+ margin: 8pt 0;
+ line-height: 1.2;
}
-.pr_announce {
- color: #c51e1e;
- font-weight: bold;
+.announcement p {
+ color: #d82020;
+ line-height: 1.3;
}
-.boldannounceic {
- color: #c51e1e;
- font-weight: bold;
+.announcement.minor h1 {
+ font-size: 180%;
}
-.boldannounceooc {
- color: #c51e1e;
- font-weight: bold;
+.announcement.minor h2 {
+ font-size: 170%;
+}
+
+.announcement.sec h1 {
+ color: #f00;
+ font-size: 180%;
+ font-family: Verdana, sans-serif;
+}
+
+.boldannounceic {
+ color: #c51e1e;
+ font-weight: bold;
+}
+
+.boldannounceooc {
+ color: #c51e1e;
+ font-weight: bold;
+}
+
+.pr_announce {
+ color: #c51e1e;
+ font-weight: bold;
}
.greenannounce {
@@ -534,6 +403,7 @@ h2.alert {
font-weight: bold;
}
+// MARK: Antagonist
.alien {
color: #c433c4;
}
@@ -588,126 +458,44 @@ h2.alert {
font-style: italic;
}
-.medal {
- font-weight: bold;
-}
-
-/* /vg/ */
.blob {
- color: #006221;
- font-weight: bold;
+ color: #ee4000;
font-style: italic;
}
-.confirm {
- color: #00af3b;
-}
-
-.rose {
- color: #ff5050;
-}
-
-.sans {
- font-family: 'Comic Sans MS', cursive, sans-serif;
-}
-
-.wingdings {
- font-family: Wingdings, Webdings;
+.revennotice {
+ color: #6685f5;
}
-.robot {
- font-family: 'OCR-A', monospace;
- font-size: 1.15em;
+.revenbignotice {
+ color: #6685f5;
font-weight: bold;
+ font-size: 120%;
}
-.ancient {
- color: #008b8b;
- font-style: italic;
-}
-
-.newscaster {
- color: #cc0000;
-}
-
-.mod {
- color: #735638;
- font-weight: bold;
+.revenminor {
+ color: #823abb;
}
-.modooc {
- color: #184880;
- font-weight: bold;
+.revenwarning {
+ color: #760fbb;
+ font-style: italic;
}
-.adminmod {
- color: #f0aa14;
+.revendanger {
+ color: #760fbb;
font-weight: bold;
-}
-
-.tajaran {
- color: #803b56;
-}
-
-.skrell {
- color: #00ced1;
-}
-
-.solcom {
- color: #8282fb;
-}
-
-.com_srus {
- color: #7c4848;
-}
-
-.soghun {
- color: #228b22;
+ font-size: 120%;
}
.changeling {
color: #00b4de;
}
-.vox {
- color: #aa00aa;
-}
-
-.diona {
- color: #804000;
- font-weight: bold;
-}
-
-.trinary {
- color: #727272;
-}
-
-.kidan {
- color: #c64c05;
-}
-
-.slime {
- color: #0077aa;
-}
-
-.drask {
- color: #a3d4eb;
- font-family: 'Arial Black';
-}
-
-.moth {
- color: #869b29;
- font-family: 'Copperplate';
-}
-
.clown {
color: #ff0000;
}
-.vulpkanin {
- color: #b97a57;
-}
-
.abductor {
color: #800080;
font-style: italic;
@@ -720,14 +508,6 @@ h2.alert {
font-style: italic;
}
-.rough {
- font-family: 'Trebuchet MS', cursive, sans-serif;
-}
-
-.say_quote {
- font-family: Georgia, Verdana, sans-serif;
-}
-
.cult {
color: #800080;
font-weight: bold;
@@ -762,6 +542,12 @@ h2.alert {
font-size: 200%;
}
+.his_grace {
+ color: #15d512;
+ font-family: 'Courier New', cursive, sans-serif;
+ font-style: italic;
+}
+
.zombie {
color: #7c4848;
}
@@ -772,16 +558,30 @@ h2.alert {
font-size: 120%;
}
-.interface {
- color: #9031c4;
+// MARK: MEGAFAUNA
+.colossus {
+ color: #7f282a;
+ font-size: 175%;
}
-.big {
- font-size: 150%;
+.hierophant {
+ color: #660099;
+ font-weight: bold;
+ font-style: italic;
}
-.reallybig {
- font-size: 175%;
+.hierophant_warning {
+ color: #660099;
+ font-style: italic;
+}
+
+// MARK: Other colors
+.rose {
+ color: #ff5050;
+}
+
+.interface {
+ color: #9031c4;
}
.greentext {
@@ -794,53 +594,22 @@ h2.alert {
font-size: 150%;
}
-.bold {
- font-weight: bold;
-}
-
-.his_grace {
- color: #15d512;
- font-family: 'Courier New', cursive, sans-serif;
- font-style: italic;
-}
-
-.center {
- text-align: center;
-}
-
.red {
color: #ff0000;
}
-.purple {
- color: #9031c4;
-}
-
-.skeleton {
- color: #c8c8c8;
- font-weight: bold;
- font-style: italic;
+.green {
+ color: #03bb39;
}
-.gutter {
- color: #7092be;
- font-family: 'Trebuchet MS', cursive, sans-serif;
+.purple {
+ color: #9031c4;
}
.orange {
color: #ffa500;
}
-.orangei {
- color: #ffa500;
- font-style: italic;
-}
-
-.orangeb {
- color: #ffa500;
- font-weight: bold;
-}
-
.resonate {
color: #298f85;
}
@@ -849,157 +618,18 @@ h2.alert {
color: #5cc9ff;
}
-.revennotice {
- color: #6685f5;
-}
-
-.revenboldnotice {
- color: #6685f5;
- font-weight: bold;
-}
-
-.revenbignotice {
- color: #6685f5;
- font-weight: bold;
- font-size: 120%;
-}
-
-.revenminor {
- color: #823abb;
-}
-
-.revenwarning {
- color: #760fbb;
- font-style: italic;
-}
-
-.revendanger {
- color: #760fbb;
- font-weight: bold;
- font-size: 120%;
-}
-
.specialnotice {
color: #4a6f82;
font-weight: bold;
font-size: 120%;
}
-/* /vg/ */
-.good {
- color: green;
-}
-
-.average {
- color: #ff8000;
-}
-
-.bad {
- color: #ff0000;
-}
-
-/* /vg/ Saycode Rewrite */
-.italics,
-.talkinto {
- font-style: italic;
-}
-
.whisper {
font-style: italic;
color: #cccccc;
}
-/* Recruiting stuff */
-.recruit {
- color: #5c00e6;
- font-weight: bold;
- font-style: italic;
-}
-
-.memo {
- color: #638500;
- text-align: center;
-}
-
-.memoedit {
- text-align: center;
- font-size: 75%;
-}
-
-.connectionClosed,
-.fatalError {
- background: red;
- color: white;
- padding: 5px;
-}
-
-.connectionClosed.restored {
- background: green;
-}
-
-.internal.boldnshit {
- color: #6685f5;
- font-weight: bold;
-}
-
-.rebooting {
- background: #2979af;
- color: white;
- padding: 5px;
-}
-
-.rebooting a {
- color: white !important;
- text-decoration-color: white !important;
-}
-
-/* HELPER CLASSES */
-.text-normal {
- font-weight: normal;
- font-style: normal;
-}
-
-.hidden {
- display: none;
- visibility: hidden;
-}
-
-/* MEGAFAUNA */
-.colossus {
- color: #7f282a;
- font-size: 175%;
-}
-
-.hierophant {
- color: #660099;
- font-weight: bold;
- font-style: italic;
-}
-
-.hierophant_warning {
- color: #660099;
- font-style: italic;
-}
-
-/* EMOJI STUFF */
-.emoji {
- max-height: 16px;
- max-width: 16px;
-}
-
-/* ADMIN TICKETS */
-
-.adminticket {
- color: #3daf21;
- font-weight: bold;
-}
-
-.adminticketalt {
- color: #ccb847;
- font-weight: bold;
-}
-
-/* Syndicate codewords */
+// MARK: Syndicate codewords
span.body .codephrases {
color: #5555ff;
}
@@ -1008,95 +638,66 @@ span.body .coderesponses {
color: #ff3333;
}
-.announcement h1,
-.announcement h2 {
- color: #a4bad6;
- margin: 8pt 0;
- line-height: 1.2;
+// MARK: Gases
+.oxygen {
+ color: #449dff;
}
-.announcement p {
- color: #d82020;
- line-height: 1.3;
+.nitrogen {
+ color: #f94541;
}
-.announcement.minor h1 {
- font-size: 180%;
+.carbon_dioxide {
+ color: #cccccc;
}
-.announcement.minor h2 {
- font-size: 170%;
+.plasma {
+ color: #eb6b00;
}
-.announcement.sec h1 {
- color: #f00;
- font-size: 180%;
- font-family: Verdana, sans-serif;
+.sleeping_agent {
+ color: #f28b89;
}
-.bolditalics {
- font-style: italic;
- font-weight: bold;
+.agent_b {
+ color: teal;
}
+// MARK: Boxed messages
.boxed_message {
- background: #1b1c1e;
- border: 1px solid #a3b9d9;
- margin: 0.5em;
+ background: hsl(220, 10%, 10%);
+ border: 1px solid hsla(220, 40%, 75%, 0.25);
+ border-width: 1em * calc(1px / 12px) 1em * calc(5px / 12px);
+ margin: 0.5em 0.25em;
padding: 0.5em 0.75em;
+ border-radius: 0.5em;
text-align: center;
}
-.boxed_message.left_align_text {
- text-align: left;
-}
-
.boxed_message.red_border {
- background: #1e1b1b;
- border-color: #aa0000;
+ background: hsl(0, 20%, 10%);
+ border-color: hsla(0, 100%, 50%, 0.5);
}
.boxed_message.green_border {
- background: #1b1e1c;
- border-color: #00ff00;
+ background: hsl(140, 20%, 10%);
+ border-color: hsla(120, 100%, 50%, 0.5);
}
.boxed_message.purple_border {
- background: #1d1c1f;
- border-color: #8000ff;
+ background: hsl(260, 25%, 12.5%);
+ border-color: hsla(260, 100%, 75%, 0.5);
}
.boxed_message.notice_border {
- background: #1b1c1e;
- border-color: #6685f5;
+ background: hsl(220, 20%, 10%);
+ border-color: hsla(225, 90%, 65%, 0.5);
}
.boxed_message.thick_border {
- border-width: thick;
-}
-
-/* GASES */
-
-.oxygen {
- color: #449dff;
+ border-width: 0.5em;
}
-.nitrogen {
- color: #f94541;
-}
-
-.carbon_dioxide {
- color: #cccccc;
-}
-
-.plasma {
- color: #eb6b00;
-}
-
-.sleeping_agent {
- color: #f28b89;
-}
-
-.agent_b {
- color: teal;
+.boxed_message.left_align_text {
+ text-align: left;
}
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
index 7e366a5636ab..bd6f319006bc 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-light.scss
@@ -1,208 +1,25 @@
-/**
- * Copyright (c) 2020 Aleksej Komarov
- * SPDX-License-Identifier: MIT
- */
-
-html,
-body {
- padding: 0;
- margin: 0;
- height: 100%;
- color: #000000;
-}
-
-body {
- background: #fff;
- font-family: Verdana, sans-serif;
- font-size: 13px;
- line-height: 1.2;
- overflow-x: hidden;
- overflow-y: scroll;
- word-wrap: break-word;
-}
-
-em {
- font-style: normal;
- font-weight: bold;
-}
-
-img {
- margin: 0;
- padding: 0;
- line-height: 1;
- -ms-interpolation-mode: nearest-neighbor; // TODO: Remove with 516
- image-rendering: pixelated;
-}
-
-img.icon {
- height: 1em;
- min-height: 16px;
- width: auto;
- vertical-align: bottom;
-}
-
+// MARK: GENERAL STUFF
a {
color: #0000ff;
}
-a.popt {
- text-decoration: none;
-}
-
-/* POPUPS */
-
-.popup {
- position: fixed;
- top: 50%;
- left: 50%;
- background: #ddd;
-}
-
-.popup .close {
- position: absolute;
- background: #aaa;
- top: 0;
- right: 0;
- color: #333;
- text-decoration: none;
- z-index: 2;
- padding: 0 10px;
- height: 30px;
- line-height: 30px;
-}
-
-.popup .close:hover {
- background: #999;
-}
-
-.popup .head {
- background: #999;
- color: #ddd;
- padding: 0 10px;
- height: 30px;
- line-height: 30px;
- text-transform: uppercase;
- font-size: 0.9em;
- font-weight: bold;
- border-bottom: 2px solid green;
-}
-
-.popup input {
- border: 1px solid #999;
- background: #fff;
- margin: 0;
- padding: 5px;
- outline: none;
- color: #333;
-}
-
-.popup input[type='text']:hover,
-.popup input[type='text']:active,
-.popup input[type='text']:focus {
- border-color: green;
-}
-
-.popup input[type='submit'] {
- padding: 5px 10px;
- background: #999;
- color: #ddd;
- text-transform: uppercase;
- font-size: 0.9em;
- font-weight: bold;
-}
-
-.popup input[type='submit']:hover,
-.popup input[type='submit']:focus,
-.popup input[type='submit']:active {
- background: #aaa;
- cursor: pointer;
-}
-
-.changeFont {
- padding: 10px;
-}
-
-.changeFont a {
- display: block;
- text-decoration: none;
- padding: 3px;
- color: #333;
-}
-
-.changeFont a:hover {
- background: #ccc;
-}
-
-.highlightPopup {
- padding: 10px;
- text-align: center;
-}
-
-.highlightPopup input[type='text'] {
- display: block;
- width: 215px;
- text-align: left;
- margin-top: 5px;
-}
-
-.highlightPopup input.highlightColor {
- background-color: #ffff00;
-}
-
-.highlightPopup input.highlightTermSubmit {
- margin-top: 5px;
-}
-
-/* ADMIN CONTEXT MENU */
-
-.contextMenu {
- background-color: #ddd;
- position: fixed;
- margin: 2px;
- width: 150px;
-}
-
-.contextMenu a {
- display: block;
- padding: 2px 5px;
- text-decoration: none;
- color: #333;
-}
-
-.contextMenu a:hover {
- background-color: #ccc;
-}
-
-/* ADMIN FILTER MESSAGES MENU */
-
-.filterMessages {
- padding: 5px;
-}
-
-.filterMessages div {
- padding: 2px 0;
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: #0000ff;
}
-.icon-stack {
- height: 1em;
- line-height: 1em;
- width: 1em;
- vertical-align: middle;
- margin-top: -2px;
+h1.alert,
+h2.alert {
+ color: #000000;
}
-/*****************************************
-*
-* OUTPUT ACTUALLY RELATED TO MESSAGES
-*
-******************************************/
-
-/* MOTD */
-
+// MARK: MOTD
.motd {
color: #638500;
- font-family: Verdana, sans-serif;
- white-space: normal;
}
.motd h1,
@@ -212,7 +29,6 @@ a.popt {
.motd h5,
.motd h6 {
color: #638500;
- text-decoration: underline;
}
.motd a,
@@ -222,121 +38,69 @@ a.popt {
color: #638500;
}
-/* ADD HERE FOR ITALIC */
-
-.italic,
-.italics,
-.emote {
- font-style: italic;
-}
-
-/* OUTPUT COLORS */
-
-.highlight {
- background: yellow;
+// MARK: General colors
+.looc {
+ color: #6699cc;
}
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
+.discordpm {
color: #0000ff;
- font-family: Georgia, Verdana, sans-serif;
}
-h1.alert,
-h2.alert {
- color: #000000;
+.debug {
+ color: #6d2f83;
}
-em {
- font-style: normal;
- font-weight: bold;
+.deadsay {
+ color: #5c00e6;
}
.darkmblue {
color: #0000ff;
}
-.prefix {
- font-weight: bold;
-}
-
-.ooc {
- font-weight: bold;
-}
-
-.looc {
- color: #6699cc;
- font-weight: bold;
-}
-
-.adminobserverooc {
- color: #0099cc;
- font-weight: bold;
-}
-
-.adminooc {
- color: #b82e00;
- font-weight: bold;
-}
-
-.adminobserver {
- color: #996600;
- font-weight: bold;
-}
-
-.admin {
- color: #386aff;
- font-weight: bold;
+// MARK: Admin/Mentor
+.mentorhelp {
+ color: #0077bb;
}
-.adminsay {
- color: #9611d4;
- font-weight: bold;
+.mentor_channel {
+ color: #775bff;
}
-.mentorhelp {
- color: #0077bb;
- font-weight: bold;
+.mentor_channel_admin {
+ color: #a35cff;
}
.adminhelp {
color: #aa0000;
- font-weight: bold;
-}
-
-.playerreply {
- color: #8800bb;
- font-weight: bold;
}
-.pmsend {
- color: #0000ff;
+.adminticket {
+ color: #3e7336;
}
-.debug {
- color: #6d2f83;
+.adminticketalt {
+ color: #014c8a;
}
-.name {
- font-weight: bold;
+.admin_channel {
+ color: #9a04d1;
}
-.yell {
- font-weight: bold;
+.all_admin_ping {
+ color: #12a5f4;
}
-.siliconsay {
- font-family: 'Courier New', Courier, monospace;
+.dev_channel {
+ color: #126719;
}
-.deadsay {
- color: #5c00e6;
+.dev_channel_admin {
+ color: #26a419;
}
+// MARK: Radio
.radio {
color: #408010;
}
@@ -357,10 +121,6 @@ em {
color: #686868;
}
-.resteamradio {
- color: #18bc46;
-}
-
.airadio {
color: #ff00ff;
}
@@ -397,51 +157,7 @@ em {
color: #e3027a;
}
-.admin_channel {
- color: #9a04d1;
- font-weight: bold;
-}
-
-.all_admin_ping {
- color: #12a5f4;
- font-weight: bold;
- font-size: 120%;
- text-align: center;
-}
-
-.mentor_channel {
- color: #775bff;
- font-weight: bold;
-}
-
-.mentor_channel_admin {
- color: #a35cff;
- font-weight: bold;
-}
-
-.dev_channel {
- color: #126719;
- font-weight: bold;
-}
-
-.dev_channel_admin {
- color: #26a419;
- font-weight: bold;
-}
-
-.djradio {
- color: #663300;
-}
-
-.binaryradio {
- color: #0b0050;
- font-family: 'Courier New', Courier, monospace;
-}
-
-.mommiradio {
- color: navy;
-}
-
+// MARK: Alerts
.alert {
color: #ff0000;
}
@@ -453,61 +169,22 @@ h2.alert {
.ghostalert {
color: #5c00e6;
- font-style: italic;
- font-weight: bold;
-}
-
-.emote {
- font-style: italic;
-}
-
-.selecteddna {
- color: #ffffff;
- background-color: #001b1b;
-}
-
-.attack {
- color: #ff0000;
-}
-
-.moderate {
- color: #cc0000;
-}
-
-.disarm {
- color: #990000;
-}
-
-.passive {
- color: #660000;
}
.warning {
color: #ff0000;
- font-style: italic;
}
.boldwarning {
color: #ff0000;
- font-style: italic;
- font-weight: bold;
}
.danger {
color: #ff0000;
- font-weight: bold;
}
.userdanger {
color: #ff0000;
- font-weight: bold;
- font-size: 120%;
-}
-
-.biggerdanger {
- color: #ff0000;
- font-weight: bold;
- font-size: 150%;
}
.notice {
@@ -516,51 +193,35 @@ h2.alert {
.boldnotice {
color: #000099;
- font-weight: bold;
}
-.suicide {
- color: #ff5050;
- font-style: italic;
-}
-
-.green {
- color: #03bb39;
-}
-
-.pr_announce {
- color: #228b22;
- font-weight: bold;
+// MARK: Announcements
+.announcement h1,
+.announcement h2 {
+ color: #000;
}
.boldannounceic {
color: #ff0000;
- font-weight: bold;
}
.boldannounceooc {
color: #ff0000;
- font-weight: bold;
+}
+
+.pr_announce {
+ color: #228b22;
}
.greenannounce {
color: #00ff00;
- font-weight: bold;
}
+// MARK: Antagonist
.alien {
color: #543354;
}
-.noticealien {
- color: #00c000;
-}
-
-.alertalien {
- color: #00c000;
- font-weight: bold;
-}
-
.terrorspider {
color: #320e32;
}
@@ -569,454 +230,67 @@ h2.alert {
color: #6a2148;
}
-.chaosverygood {
- color: #19e0c0;
- font-weight: bold;
- font-size: 120%;
-}
-
-.chaosgood {
- color: #19e0c0;
- font-weight: bold;
-}
-
-.chaosneutral {
- color: #479ac0;
- font-weight: bold;
-}
-
-.chaosbad {
- color: #9047c0;
- font-weight: bold;
-}
-
-.chaosverybad {
- color: #9047c0;
- font-weight: bold;
- font-size: 120%;
-}
-
-.sinister {
- color: #800080;
- font-weight: bold;
- font-style: italic;
-}
-/* /vg/ */
-.blob {
- color: #006221;
- font-weight: bold;
- font-style: italic;
-}
-
-.confirm {
- color: #00af3b;
-}
-
-.rose {
- color: #ff5050;
-}
-
-.sans {
- font-family: 'Comic Sans MS', cursive, sans-serif;
-}
-
-.wingdings {
- font-family: Wingdings, Webdings;
-}
-
-.robot {
- font-family: 'OCR-A', monospace;
- font-size: 1.15em;
- font-weight: bold;
-}
-
-.ancient {
- color: #008b8b;
- font-style: italic;
-}
-
-.newscaster {
- color: #800000;
-}
-
-.mod {
- color: #735638;
- font-weight: bold;
-}
-
-.modooc {
- color: #184880;
- font-weight: bold;
-}
-
-.adminmod {
- color: #402a14;
- font-weight: bold;
-}
-
-.tajaran {
- color: #803b56;
-}
-
-.skrell {
- color: #00ced1;
-}
-
-.solcom {
- color: #22228b;
-}
-
-.com_srus {
- color: #7c4848;
+.revennotice {
+ color: #1d2953;
}
-.soghun {
- color: #228b22;
+.revenbignotice {
+ color: #1d2953;
}
.changeling {
color: #800080;
}
-.vox {
- color: #aa00aa;
-}
-
-.diona {
- color: #804000;
- font-weight: bold;
-}
-
-.trinary {
- color: #727272;
-}
-
-.kidan {
- color: #664205;
-}
-
-.slime {
- color: #0077aa;
-}
-
-.drask {
- color: #a3d4eb;
- font-family: 'Arial Black';
-}
-
-.moth {
- color: #869b29;
- font-family: 'Copperplate';
-}
-
-.clown {
- color: #ff0000;
-}
-
-.vulpkanin {
- color: #b97a57;
-}
-
-.abductor {
- color: #800080;
- font-style: italic;
-}
-
-.mind_control {
- color: #a00d6f;
- font-size: 3;
- font-weight: bold;
- font-style: italic;
-}
-
-.rough {
- font-family: 'Trebuchet MS', cursive, sans-serif;
-}
-
-.say_quote {
- font-family: Georgia, Verdana, sans-serif;
-}
-
-.cult {
- color: #800080;
- font-weight: bold;
- font-style: italic;
-}
-
.cultspeech {
color: #7f0000;
- font-style: italic;
}
.cultitalic {
color: #960000;
- font-style: italic;
}
.cultlarge {
color: #960000;
- font-weight: bold;
- font-size: 120%;
}
.narsie {
color: #960000;
- font-weight: bold;
- font-size: 300%;
}
.narsiesmall {
color: #960000;
- font-weight: bold;
- font-size: 200%;
}
-.zombie {
- color: #7c4848;
-}
-
-.zombielarge {
- color: #7c4848;
- font-weight: bold;
- font-size: 120%;
+// MARK: Other colors
+.rose {
+ color: #ff5050;
}
.interface {
color: #330033;
}
-.big {
- font-size: 150%;
-}
-
-.reallybig {
- font-size: 175%;
-}
-
-.greentext {
- color: #00ff00;
- font-size: 150%;
-}
-
-.redtext {
- color: #ff0000;
- font-size: 150%;
-}
-
-.bold {
- font-weight: bold;
-}
-
-.his_grace {
- color: #15d512;
- font-family: 'Courier New', cursive, sans-serif;
- font-style: italic;
-}
-
-.center {
- text-align: center;
-}
-
-.red {
- color: #ff0000;
-}
-
.purple {
color: #5e2d79;
}
-.skeleton {
- color: #585858;
- font-weight: bold;
- font-style: italic;
-}
-
-.gutter {
- color: #7092be;
- font-family: 'Trebuchet MS', cursive, sans-serif;
-}
-
.orange {
color: #ffa500;
}
-.orangei {
- color: #ffa500;
- font-style: italic;
-}
-
-.orangeb {
- color: #ffa500;
- font-weight: bold;
-}
-
-.resonate {
- color: #298f85;
-}
-
.healthscan_oxy {
color: #0074bd;
}
-.revennotice {
- color: #1d2953;
-}
-
-.revenboldnotice {
- color: #1d2953;
- font-weight: bold;
-}
-
-.revenbignotice {
- color: #1d2953;
- font-weight: bold;
- font-size: 120%;
-}
-
-.revenminor {
- color: #823abb;
-}
-
-.revenwarning {
- color: #760fbb;
- font-style: italic;
-}
-
-.revendanger {
- color: #760fbb;
- font-weight: bold;
- font-size: 120%;
-}
-
-.specialnoticebold {
- color: #36525e;
- font-weight: bold;
- font-size: 120%;
-}
-
.specialnotice {
color: #36525e;
- font-size: 120%;
-}
-
-.medal {
- font-weight: bold;
-}
-
-/* /vg/ */
-.good {
- color: green;
-}
-
-.average {
- color: #ff8000;
-}
-
-.bad {
- color: #ff0000;
-}
-
-/* /vg/ Saycode Rewrite */
-.italics,
-.talkinto {
- font-style: italic;
}
.whisper {
- font-style: italic;
color: #333333;
}
-/* Recruiting stuff */
-.recruit {
- color: #5c00e6;
- font-weight: bold;
- font-style: italic;
-}
-
-.memo {
- color: #638500;
- text-align: center;
-}
-
-.memoedit {
- text-align: center;
- font-size: 75%;
-}
-
-.connectionClosed,
-.fatalError {
- background: red;
- color: white;
- padding: 5px;
-}
-
-.connectionClosed.restored {
- background: green;
-}
-
-.internal.boldnshit {
- color: blue;
- font-weight: bold;
-}
-
-.rebooting {
- background: #2979af;
- color: white;
- padding: 5px;
-}
-
-.rebooting a {
- color: white !important;
- text-decoration-color: white !important;
-}
-
-/* HELPER CLASSES */
-.text-normal {
- font-weight: normal;
- font-style: normal;
-}
-
-.hidden {
- display: none;
- visibility: hidden;
-}
-
-/* MEGAFAUNA */
-.colossus {
- color: #7f282a;
- font-size: 175%;
-}
-
-.hierophant {
- color: #660099;
- font-weight: bold;
- font-style: italic;
-}
-
-.hierophant_warning {
- color: #660099;
- font-style: italic;
-}
-
-/* EMOJI STUFF */
-.emoji {
- max-height: 16px;
- max-width: 16px;
-}
-
-/* ADMIN TICKETS */
-
-.adminticket {
- color: #3e7336;
- font-weight: bold;
-}
-
-.adminticketalt {
- color: #014c8a;
- font-weight: bold;
-}
-
/* Syndicate codewords */
span.body .codephrases {
color: #0000ff;
@@ -1026,95 +300,53 @@ span.body .coderesponses {
color: #ff0000;
}
-.announcement h1,
-.announcement h2 {
- color: #000;
- margin: 8pt 0;
- line-height: 1.2;
+// MARK: GASES
+.oxygen {
+ color: #006adb;
}
-.announcement p {
- color: #d82020;
- line-height: 1.3;
+.nitrogen {
+ color: #d00a06;
}
-.announcement.minor h1 {
- font-size: 180%;
+.carbon_dioxide {
+ color: #1f1f1f;
}
-.announcement.minor h2 {
- font-size: 170%;
+.plasma {
+ color: #853c00;
}
-.announcement.sec h1 {
- color: #f00;
- font-size: 180%;
- font-family: Verdana, sans-serif;
+.sleeping_agent {
+ color: #e82f2c;
}
-.bolditalics {
- font-style: italic;
- font-weight: bold;
+.agent_b {
+ color: #004d4d;
}
+// MARK: Boxed messages
.boxed_message {
- background: #f7fcff;
- border: 1px solid #111a26;
- margin: 0.5em;
- padding: 0.5em 0.75em;
- text-align: center;
-}
-
-.boxed_message.left_align_text {
- text-align: left;
+ background: hsl(220, 100%, 97.5%);
+ border-color: hsla(220, 75%, 25%, 0.5);
}
.boxed_message.red_border {
- background: #fff7f7;
- border-color: #aa0000;
+ background: hsl(0, 100%, 97.5%);
+ border-color: hsla(0, 100%, 50%, 0.5);
}
.boxed_message.green_border {
- background: #f7fff7;
- border-color: #00ff00;
+ background: hsl(140, 100%, 97.5%);
+ border-color: hsl(120, 100%, 33%, 0.5);
}
.boxed_message.purple_border {
- background: #fdf7ff;
- border-color: #aa00ff;
+ background: hsl(260, 100%, 97.5%);
+ border-color: hsla(260, 100%, 50%, 0.5);
}
.boxed_message.notice_border {
- background: #f7fdff;
- border-color: #0000bf;
-}
-
-.boxed_message.thick_border {
- border-width: thick;
-}
-
-/* GASES */
-
-.oxygen {
- color: #006adb;
-}
-
-.nitrogen {
- color: #d00a06;
-}
-
-.carbon_dioxide {
- color: #1f1f1f;
-}
-
-.plasma {
- color: #853c00;
-}
-
-.sleeping_agent {
- color: #e82f2c;
-}
-
-.agent_b {
- color: #004d4d;
+ background: hsl(220, 100%, 97.5%);
+ border-color: hsla(225, 100%, 50%, 0.5);
}
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-ntos.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-ntos.scss
index b5fdb106e59a..7841c962d5b2 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-ntos.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-ntos.scss
@@ -1,35 +1,19 @@
.boxed_message {
- background: #1c242e;
- border: 1px solid #a3b9d9;
- margin: 0.5em;
- padding: 0.5em 0.75em;
- text-align: center;
-}
-
-.boxed_message.left_align_text {
- text-align: left;
+ background: hsl(220, 25%, 15%);
}
.boxed_message.red_border {
- background: #2e1c1c;
- border-color: #aa0000;
+ background: hsl(0, 25%, 15%);
}
.boxed_message.green_border {
- background: #1c2e22;
- border-color: #00ff00;
+ background: hsl(140, 25%, 15%);
}
.boxed_message.purple_border {
- background: #221c2e;
- border-color: #8000ff;
+ background: hsl(260, 25%, 15%);
}
.boxed_message.notice_border {
- background: #1f2633;
- border-color: #6685f5;
-}
-
-.boxed_message.thick_border {
- border-width: thick;
+ background: hsl(220, 35%, 15%);
}
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-paradise.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-paradise.scss
index a33d3ef60ecb..45cac6f6e86e 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-paradise.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-paradise.scss
@@ -7,37 +7,26 @@
}
.boxed_message {
- background: rgba(0, 0, 0, 0.25);
- border: 1px solid #a3b9d9;
- margin: 0.5em;
- padding: 0.5em 0.75em;
- text-align: center;
-}
-
-.boxed_message.left_align_text {
- text-align: left;
+ background: hsla(0, 0%, 0%, 0.25);
+ border-color: hsla(20, 50%, 75%, 0.25);
}
.boxed_message.red_border {
- background: rgba(0, 0, 0, 0.25);
- border-color: #aa0000;
+ background: hsla(0, 75%, 5%, 0.25);
+ border-color: hsla(0, 100%, 50%, 0.5);
}
.boxed_message.green_border {
- background: rgba(0, 0, 0, 0.25);
- border-color: #00ff00;
+ background: hsla(140, 75%, 5%, 0.25);
+ border-color: hsla(120, 100%, 50%, 0.5);
}
.boxed_message.purple_border {
- background: rgba(0, 0, 0, 0.25);
- border-color: #8000ff;
+ background: hsla(260, 75%, 5%, 0.25);
+ border-color: hsla(260, 100%, 65%, 0.5);
}
.boxed_message.notice_border {
- background: rgba(0, 0, 0, 0.25);
- border-color: #6685f5;
-}
-
-.boxed_message.thick_border {
- border-width: thick;
+ background: hsla(220, 75%, 5%, 0.25);
+ border-color: hsla(225, 90%, 65%, 0.5);
}
diff --git a/tgui/packages/tgui-panel/styles/tgchat/chat-syndicate.scss b/tgui/packages/tgui-panel/styles/tgchat/chat-syndicate.scss
index 9fdb11962038..e01b8154196f 100644
--- a/tgui/packages/tgui-panel/styles/tgchat/chat-syndicate.scss
+++ b/tgui/packages/tgui-panel/styles/tgchat/chat-syndicate.scss
@@ -7,37 +7,21 @@
}
.boxed_message {
- background: rgba(20, 20, 35, 0.25);
- border: 1px solid #a3b9d9;
- margin: 0.5em;
- padding: 0.5em 0.75em;
- text-align: center;
-}
-
-.boxed_message.left_align_text {
- text-align: left;
+ background: hsl(0, 70%, 12.5%);
}
.boxed_message.red_border {
- background: rgba(0, 0, 0, 0.2);
- border-color: #ff0000;
+ background: hsl(0, 100%, 12.5%);
}
.boxed_message.green_border {
- background: rgba(0, 75, 0, 0.25);
- border-color: #00ff00;
+ background: hsl(40, 100%, 7.5%);
}
.boxed_message.purple_border {
- background: rgba(25, 0, 50, 0.25);
- border-color: #8000ff;
+ background: hsl(300, 100%, 7.5%);
}
.boxed_message.notice_border {
- background: rgba(0, 0, 75, 0.25);
- border-color: #6685f5;
-}
-
-.boxed_message.thick_border {
- border-width: thick;
+ background: hsl(325, 100%, 7.5%);
}
diff --git a/tgui/packages/tgui/interfaces/BluespaceTap.js b/tgui/packages/tgui/interfaces/BluespaceTap.js
index a0433fd65d88..c96c663b23b2 100644
--- a/tgui/packages/tgui/interfaces/BluespaceTap.js
+++ b/tgui/packages/tgui/interfaces/BluespaceTap.js
@@ -1,30 +1,68 @@
import { useBackend } from '../backend';
-import { Button, Collapsible, Stack, LabeledList, NoticeBox, Section, Slider, Box } from '../components';
+import {
+ Button,
+ Collapsible,
+ Stack,
+ LabeledList,
+ NoticeBox,
+ Section,
+ Slider,
+ Box,
+ NumberInput,
+ Dimmer,
+ Flex,
+ Icon,
+ Blink,
+} from '../components';
import { Window } from '../layouts';
import { formatPower } from '../format';
+export const Incursion = (props, context) => {
+ const { data } = useBackend(context);
+ const { portaling } = data;
+ if (portaling) {
+ return (
+
+ 0.25 ? 750 + 400 * Math.random() : 290 + 150 * Math.random()}
+ time={60 + 150 * Math.random()}
+ >
+
+
+
+
+ E$#OR:& U#KN!WN IN%ERF#R_NCE
+
+
+
+
+ );
+ }
+};
+
export const BluespaceTap = (props, context) => {
const { act, data } = useBackend(context);
const product = data.product || [];
const {
- desiredLevel,
- inputLevel,
+ desiredMiningPower,
+ miningPower,
points,
totalPoints,
powerUse,
availablePower,
- maxLevel,
emagged,
- nextLevelPower,
autoShutown,
stabilizers,
stabilizerPower,
+ stabilizerPriority,
} = data;
- const barColor = (desiredLevel > inputLevel && 'bad') || 'good';
+ const barColor = (desiredMiningPower > miningPower && 'bad') || 'good';
return (
+
@@ -34,6 +72,7 @@ export const BluespaceTap = (props, context) => {
color={!!autoShutown && !emagged ? 'green' : 'red'}
disabled={!!emagged}
tooltip="Turn auto shutdown on or off"
+ tooltipPosition="top"
onClick={() => act('auto_shutdown')}
/>
{
color={!!stabilizers && !emagged ? 'green' : 'red'}
disabled={!!emagged}
tooltip="Turn stabilizers on or off"
+ tooltipPosition="top"
onClick={() => act('stabilizers')}
/>
+ act('stabilizer_priority')}
+ />
- {inputLevel}
-
-
+ {formatPower(desiredMiningPower)}
+
+
act('set', { set_level: 0 })}
+ tooltipPosition="bottom"
+ onClick={() => act('set', { set_power: 0 })}
/>
act('set', { set_level: inputLevel })}
+ icon="fast-backward"
+ tooltip="Decrease by 10 MW"
+ tooltipPosition="bottom"
+ disabled={desiredMiningPower === 0 || emagged}
+ onClick={() => act('set', { set_power: desiredMiningPower - 10000000 })}
/>
act('decrease')}
+ disabled={desiredMiningPower === 0 || emagged}
+ tooltip="Decrease by 1 MW"
+ tooltipPosition="bottom"
+ onClick={() => act('set', { set_power: desiredMiningPower - 1000000 })}
/>
-
-
+
act('set', {
- set_level: value,
+ set_power: value,
})
}
/>
@@ -88,25 +137,24 @@ export const BluespaceTap = (props, context) => {
act('increase')}
+ disabled={emagged}
+ tooltip="Increase by one MW"
+ tooltipPosition="bottom"
+ onClick={() => act('set', { set_power: desiredMiningPower + 1000000 })}
/>
act('set', { set_level: maxLevel })}
+ disabled={emagged}
+ tooltip="Increase by 10MW"
+ tooltipPosition="bottom"
+ onClick={() => act('set', { set_power: desiredMiningPower + 10000000 })}
/>
{formatPower(powerUse)}
- {formatPower(powerUse - stabilizerPower)}
+ {formatPower(miningPower)}
{formatPower(stabilizerPower)}
- {formatPower(nextLevelPower)}
{formatPower(availablePower)}
@@ -147,17 +195,17 @@ export const BluespaceTap = (props, context) => {
export const Alerts = (props, context) => {
const { act, data } = useBackend(context);
const product = data.product || [];
- const { inputLevel, emagged, safeLevels, autoShutown, stabilizers, overhead } = data;
+ const { miningPower, stabilizerPower, emagged, safeLevels, autoShutown, stabilizers, overhead } = data;
return (
<>
{!autoShutown && !emagged && Auto shutdown disabled }
{emagged ? (
All safeties disabled
- ) : inputLevel <= safeLevels ? (
+ ) : miningPower <= 15000000 ? (
''
) : !stabilizers ? (
Stabilizers disabled, Instability likely
- ) : inputLevel - overhead > safeLevels ? (
+ ) : miningPower > stabilizerPower + 15000000 ? (
Stabilizers overwhelmed, Instability likely
) : (
High Power, engaging stabilizers
diff --git a/tgui/public/tgui-panel.bundle.css b/tgui/public/tgui-panel.bundle.css
index 5e10cab9035d..ba32f506202b 100644
--- a/tgui/public/tgui-panel.bundle.css
+++ b/tgui/public/tgui-panel.bundle.css
@@ -1 +1 @@
-html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-gold{color:#f3b22f!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.color-bg-gold{background-color:#d6920c!important}.color-border-black{border-color:#1a1a1a!important}.color-border-white{border-color:#fff!important}.color-border-red{border-color:#df3e3e!important}.color-border-orange{border-color:#f37f33!important}.color-border-yellow{border-color:#fbda21!important}.color-border-olive{border-color:#cbe41c!important}.color-border-green{border-color:#25ca4c!important}.color-border-teal{border-color:#00d6cc!important}.color-border-blue{border-color:#2e93de!important}.color-border-violet{border-color:#7349cf!important}.color-border-purple{border-color:#ad45d0!important}.color-border-pink{border-color:#e34da1!important}.color-border-brown{border-color:#b97447!important}.color-border-grey{border-color:#848484!important}.color-border-good{border-color:#68c22d!important}.color-border-average{border-color:#f29a29!important}.color-border-bad{border-color:#df3e3e!important}.color-border-label{border-color:#8b9bb0!important}.color-border-gold{border-color:#f3b22f!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.outline-color-gold{outline:.167rem solid #f3b22f!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--color--label{background-color:#657a94;color:#fff;transition:color .2s,background-color .2s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--label--translucent{background-color:rgba(101,122,148,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--label--translucent:hover{background-color:rgba(138,154,174,.5);color:#fff}.Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.Button--color--gold:hover{background-color:#eeaf30;color:#fff}.Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.Button--color--transparent{background-color:rgba(32,32,32,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--transparent:hover{background-color:rgba(50,50,50,.81);color:#fff}.Button--color--default{background-color:#3e6189;color:#fff;transition:color .2s,background-color .2s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--default--translucent{background-color:rgba(40,40,40,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--default--translucent:hover{background-color:rgba(61,61,61,.5);color:#fff}.Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.Button--color--danger{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--danger--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--danger--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.Button--selected,.Button--selected--translucent{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.Button--selected:hover,.Button--selected--translucent:hover{background-color:#2fb94f;color:#fff}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#202020;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--color--gold{color:#fff;background-color:#825d13}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.Section{position:relative;margin-bottom:.5em;background-color:#131313;box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:#131313}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#131313}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Tab--selected.Tab--color--gold{color:#f6c563}.Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#f3b22f}.Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#f3b22f}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.Chat{color:#abc6ec}.Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.Chat__badge:before{content:"x"}.Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.Chat__scrollButton{position:fixed;right:2em;bottom:1em}.Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#131313}.Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.Chat__highlight{color:#000}.Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.ChatMessage{word-wrap:break-word}.ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.Ping{position:relative;padding:.125em .25em;border:.0833333333em solid rgba(140,140,140,.5);border-radius:.25em;width:3.75em;text-align:right}.Ping__indicator{content:"";position:absolute;top:.5em;left:.5em;width:.5em;height:.5em;background-color:#888;border-radius:.25em}.Notifications{position:absolute;top:1em;left:.75em;right:2em}.Notification{color:#fff;background-color:#dc143c;padding:.5em;margin:1em 0}.Notification:first-child{margin-top:0}.Notification:last-child{margin-bottom:0}html,body{scrollbar-color:#363636 #181818}.Layout,.Layout *{scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#202020;background-image:linear-gradient(to bottom,#202020,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(56,56,56,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}.emoji16x16{vertical-align:middle}a{color:#397ea5}a.popt{text-decoration:none}.popup{position:fixed;top:50%;left:50%;background:#ddd}.popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.popup .close:hover{background:#999}.popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.popup input[type=text]:hover,.popup input[type=text]:active,.popup input[type=text]:focus{border-color:green}.popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.popup input[type=submit]:hover,.popup input[type=submit]:focus,.popup input[type=submit]:active{background:#aaa;cursor:pointer}.changeFont{padding:10px}.changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.changeFont a:hover{background:#ccc}.highlightPopup{padding:10px;text-align:center}.highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.highlightPopup input.highlightColor{background-color:#ff0}.highlightPopup input.highlightTermSubmit{margin-top:5px}.contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.contextMenu a:hover{background-color:#ccc}.filterMessages{padding:5px}.filterMessages div{padding:2px 0}.icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.motd{color:#a4bad6;font-family:Verdana,sans-serif;white-space:normal}.motd h1,.motd h2,.motd h3,.motd h4,.motd h5,.motd h6{color:#a4bad6;text-decoration:underline}.motd a,.motd a:link,.motd a:active,.motd a:hover{color:#a4bad6}.italic,.italics,.emote{font-style:italic}.highlight{background:#ff0}h1,h2,h3,h4,h5,h6{color:#a4bad6;font-family:Georgia,Verdana,sans-serif}em{font-style:normal;font-weight:700}.darkmblue{color:#6685f5}.prefix,.ooc{font-weight:700}.looc{color:#69c;font-weight:700}.adminobserverooc{color:#09c;font-weight:700}.adminooc{color:#b82e00;font-weight:700}.adminobserver{color:#960;font-weight:700}.admin{color:#386aff;font-weight:700}.adminsay{color:#9611d4;font-weight:700}.mentorhelp{color:#07b;font-weight:700}.adminhelp{color:#a00;font-weight:700}.playerreply{color:#80b;font-weight:700}.pmsend{color:#6685f5}.debug{color:#6d2f83}.name,.yell{font-weight:700}.siliconsay{font-family:Courier New,Courier,monospace}.deadsay{color:#e2c1ff}.radio{color:#20b142}.deptradio{color:#939}.comradio{color:#5f5cff}.syndradio{color:#8f4a4b}.dsquadradio{color:#998599}.resteamradio{color:#18bc46}.airadio{color:#ff5ed7}.centradio{color:#2681a5}.secradio{color:#dd3535}.engradio{color:#feac20}.medradio{color:#00b5ad}.sciradio{color:#c68cfa}.supradio{color:#b88646}.srvradio{color:#bbd164}.proradio{color:#b84f92}.admin_channel{color:#03fc9d;font-weight:700}.all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.mentor_channel{color:#775bff;font-weight:700}.mentor_channel_admin{color:#a35cff;font-weight:700}.dev_channel{color:#61b413;font-weight:700}.dev_channel_admin{color:#9ef14f;font-weight:700}.djradio{color:#960}.binaryradio{color:#1b00fb;font-family:Courier New,Courier,monospace}.mommiradio{color:#6685f5}.alert{color:#d82020}h1.alert,h2.alert{color:#a4bad6}.ghostalert{color:#cc00c6;font-style:italic;font-weight:700}.emote{font-style:italic}.selecteddna{color:#a4bad6;background-color:#001b1b}.attack{color:red}.moderate{color:#c00}.disarm{color:#900}.passive{color:#600}.warning{color:#c51e1e;font-style:italic}.boldwarning{color:#c51e1e;font-style:italic;font-weight:700}.danger{color:#c51e1e;font-weight:700}.userdanger{color:#c51e1e;font-weight:700;font-size:120%}.biggerdanger{color:red;font-weight:700;font-size:150%}.notice{color:#6685f5}.boldnotice{color:#6685f5;font-weight:700}.suicide{color:#ff5050;font-style:italic}.green{color:#03bb39}.pr_announce,.boldannounceic,.boldannounceooc{color:#c51e1e;font-weight:700}.greenannounce{color:#059223;font-weight:700}.alien{color:#c433c4}.noticealien{color:#00c000}.alertalien{color:#00c000;font-weight:700}.terrorspider{color:#cf52fa}.dantalion{color:#8b2c5e}.chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.chaosgood{color:#19e0c0;font-weight:700}.chaosneutral{color:#479ac0;font-weight:700}.chaosbad{color:#9047c0;font-weight:700}.chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.sinister{color:purple;font-weight:700;font-style:italic}.medal{font-weight:700}.blob{color:#006221;font-weight:700;font-style:italic}.confirm{color:#00af3b}.rose{color:#ff5050}.sans{font-family:Comic Sans MS,cursive,sans-serif}.wingdings{font-family:Wingdings,Webdings}.robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.ancient{color:#008b8b;font-style:italic}.newscaster{color:#c00}.mod{color:#735638;font-weight:700}.modooc{color:#184880;font-weight:700}.adminmod{color:#f0aa14;font-weight:700}.tajaran{color:#803b56}.skrell{color:#00ced1}.solcom{color:#8282fb}.com_srus{color:#7c4848}.soghun{color:#228b22}.changeling{color:#00b4de}.vox{color:#a0a}.diona{color:#804000;font-weight:700}.trinary{color:#727272}.kidan{color:#c64c05}.slime{color:#07a}.drask{color:#a3d4eb;font-family:Arial Black}.moth{color:#869b29;font-family:Copperplate}.clown{color:red}.vulpkanin{color:#b97a57}.abductor{color:purple;font-style:italic}.mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.rough{font-family:Trebuchet MS,cursive,sans-serif}.say_quote{font-family:Georgia,Verdana,sans-serif}.cult{color:purple;font-weight:700;font-style:italic}.cultspeech{color:#af0000;font-style:italic}.cultitalic{color:#a60000;font-style:italic}.cultlarge{color:#a60000;font-weight:700;font-size:120%}.narsie{color:#a60000;font-weight:700;font-size:300%}.narsiesmall{color:#a60000;font-weight:700;font-size:200%}.zombie{color:#7c4848}.zombielarge{color:#7c4848;font-weight:700;font-size:120%}.interface{color:#9031c4}.big{font-size:150%}.reallybig{font-size:175%}.greentext{color:#0f0;font-size:150%}.redtext{color:red;font-size:150%}.bold{font-weight:700}.his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.center{text-align:center}.red{color:red}.purple{color:#9031c4}.skeleton{color:#c8c8c8;font-weight:700;font-style:italic}.gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.orange{color:orange}.orangei{color:orange;font-style:italic}.orangeb{color:orange;font-weight:700}.resonate{color:#298f85}.healthscan_oxy{color:#5cc9ff}.revennotice{color:#6685f5}.revenboldnotice{color:#6685f5;font-weight:700}.revenbignotice{color:#6685f5;font-weight:700;font-size:120%}.revenminor{color:#823abb}.revenwarning{color:#760fbb;font-style:italic}.revendanger{color:#760fbb;font-weight:700;font-size:120%}.specialnotice{color:#4a6f82;font-weight:700;font-size:120%}.good{color:green}.average{color:#ff8000}.bad{color:red}.italics,.talkinto{font-style:italic}.whisper{font-style:italic;color:#ccc}.recruit{color:#5c00e6;font-weight:700;font-style:italic}.memo{color:#638500;text-align:center}.memoedit{text-align:center;font-size:75%}.connectionClosed,.fatalError{background:red;color:#fff;padding:5px}.connectionClosed.restored{background:green}.internal.boldnshit{color:#6685f5;font-weight:700}.rebooting{background:#2979af;color:#fff;padding:5px}.rebooting a{color:#fff!important;text-decoration-color:#fff!important}.text-normal{font-weight:400;font-style:normal}.hidden{display:none;visibility:hidden}.colossus{color:#7f282a;font-size:175%}.hierophant{color:#609;font-weight:700;font-style:italic}.hierophant_warning{color:#609;font-style:italic}.emoji{max-height:16px;max-width:16px}.adminticket{color:#3daf21;font-weight:700}.adminticketalt{color:#ccb847;font-weight:700}span.body .codephrases{color:#55f}span.body .coderesponses{color:#f33}.announcement h1,.announcement h2{color:#a4bad6;margin:8pt 0;line-height:1.2}.announcement p{color:#d82020;line-height:1.3}.announcement.minor h1{font-size:180%}.announcement.minor h2{font-size:170%}.announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.bolditalics{font-style:italic;font-weight:700}.boxed_message{background:#1b1c1e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.boxed_message.left_align_text{text-align:left}.boxed_message.red_border{background:#1e1b1b;border-color:#a00}.boxed_message.green_border{background:#1b1e1c;border-color:#0f0}.boxed_message.purple_border{background:#1d1c1f;border-color:#8000ff}.boxed_message.notice_border{background:#1b1c1e;border-color:#6685f5}.boxed_message.thick_border{border-width:thick}.oxygen{color:#449dff}.nitrogen{color:#f94541}.carbon_dioxide{color:#ccc}.plasma{color:#eb6b00}.sleeping_agent{color:#f28b89}.agent_b{color:teal}.theme-light .color-black{color:#000!important}.theme-light .color-white{color:#e6e6e6!important}.theme-light .color-red{color:#c82121!important}.theme-light .color-orange{color:#e6630d!important}.theme-light .color-yellow{color:#e5c304!important}.theme-light .color-olive{color:#a3b816!important}.theme-light .color-green{color:#1d9f3b!important}.theme-light .color-teal{color:#00a39c!important}.theme-light .color-blue{color:#1e78bb!important}.theme-light .color-violet{color:#5a30b5!important}.theme-light .color-purple{color:#932eb4!important}.theme-light .color-pink{color:#db228a!important}.theme-light .color-brown{color:#955d39!important}.theme-light .color-grey{color:#e6e6e6!important}.theme-light .color-good{color:#529923!important}.theme-light .color-average{color:#da810e!important}.theme-light .color-bad{color:#c82121!important}.theme-light .color-label{color:#353535!important}.theme-light .color-gold{color:#e39b0d!important}.theme-light .color-bg-black{background-color:#000!important}.theme-light .color-bg-white{background-color:#bfbfbf!important}.theme-light .color-bg-red{background-color:#a61c1c!important}.theme-light .color-bg-orange{background-color:#c0530b!important}.theme-light .color-bg-yellow{background-color:#bfa303!important}.theme-light .color-bg-olive{background-color:#889912!important}.theme-light .color-bg-green{background-color:#188532!important}.theme-light .color-bg-teal{background-color:#008882!important}.theme-light .color-bg-blue{background-color:#19649c!important}.theme-light .color-bg-violet{background-color:#4b2897!important}.theme-light .color-bg-purple{background-color:#7a2696!important}.theme-light .color-bg-pink{background-color:#b61d73!important}.theme-light .color-bg-brown{background-color:#7c4d2f!important}.theme-light .color-bg-grey{background-color:#bfbfbf!important}.theme-light .color-bg-good{background-color:#44801d!important}.theme-light .color-bg-average{background-color:#b56b0b!important}.theme-light .color-bg-bad{background-color:#a61c1c!important}.theme-light .color-bg-label{background-color:#2c2c2c!important}.theme-light .color-bg-gold{background-color:#bd810b!important}.theme-light .color-border-black{border-color:#000!important}.theme-light .color-border-white{border-color:#e6e6e6!important}.theme-light .color-border-red{border-color:#c82121!important}.theme-light .color-border-orange{border-color:#e6630d!important}.theme-light .color-border-yellow{border-color:#e5c304!important}.theme-light .color-border-olive{border-color:#a3b816!important}.theme-light .color-border-green{border-color:#1d9f3b!important}.theme-light .color-border-teal{border-color:#00a39c!important}.theme-light .color-border-blue{border-color:#1e78bb!important}.theme-light .color-border-violet{border-color:#5a30b5!important}.theme-light .color-border-purple{border-color:#932eb4!important}.theme-light .color-border-pink{border-color:#db228a!important}.theme-light .color-border-brown{border-color:#955d39!important}.theme-light .color-border-grey{border-color:#e6e6e6!important}.theme-light .color-border-good{border-color:#529923!important}.theme-light .color-border-average{border-color:#da810e!important}.theme-light .color-border-bad{border-color:#c82121!important}.theme-light .color-border-label{border-color:#353535!important}.theme-light .color-border-gold{border-color:#e39b0d!important}.theme-light .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#fff}.theme-light .Tabs--fill{height:100%}.theme-light .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-light .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-light .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-light .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-light .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-light .Tabs--horizontal:last-child{margin-bottom:0}.theme-light .Tabs__Tab{flex-grow:0}.theme-light .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-light .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(0,0,0,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-light .Tab:not(.Tab--selected):hover{background-color:rgba(0,0,0,.075);transition:background-color 0}.theme-light .Tab--selected{background-color:rgba(0,0,0,.125);color:#404040}.theme-light .Tab__text{flex-grow:1;margin:0 .5em}.theme-light .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-light .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-light .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-light .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #000}.theme-light .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-light .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #000}.theme-light .Tab--selected.Tab--color--black{color:#404040}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#000}.theme-light .Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#000}.theme-light .Tab--selected.Tab--color--white{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--red{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--orange{color:#f48942}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#e6630d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#e6630d}.theme-light .Tab--selected.Tab--color--yellow{color:#fcdd33}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#e5c304}.theme-light .Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#e5c304}.theme-light .Tab--selected.Tab--color--olive{color:#d0e732}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#a3b816}.theme-light .Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#a3b816}.theme-light .Tab--selected.Tab--color--green{color:#33da5a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#1d9f3b}.theme-light .Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#1d9f3b}.theme-light .Tab--selected.Tab--color--teal{color:#00faef}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00a39c}.theme-light .Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00a39c}.theme-light .Tab--selected.Tab--color--blue{color:#419ce1}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#1e78bb}.theme-light .Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#1e78bb}.theme-light .Tab--selected.Tab--color--violet{color:#7f58d3}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#5a30b5}.theme-light .Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#5a30b5}.theme-light .Tab--selected.Tab--color--purple{color:#b455d4}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#932eb4}.theme-light .Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#932eb4}.theme-light .Tab--selected.Tab--color--pink{color:#e558a7}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#db228a}.theme-light .Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#db228a}.theme-light .Tab--selected.Tab--color--brown{color:#c0825a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#955d39}.theme-light .Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#955d39}.theme-light .Tab--selected.Tab--color--grey{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--good{color:#77d23b}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#529923}.theme-light .Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#529923}.theme-light .Tab--selected.Tab--color--average{color:#f3a23a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#da810e}.theme-light .Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#da810e}.theme-light .Tab--selected.Tab--color--bad{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--label{color:#686868}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#353535}.theme-light .Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#353535}.theme-light .Tab--selected.Tab--color--gold{color:#f4b73f}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#e39b0d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#e39b0d}.theme-light .Section{position:relative;margin-bottom:.5em;background-color:#fff;box-sizing:border-box}.theme-light .Section:last-child{margin-bottom:0}.theme-light .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-light .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-light .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-light .Section__rest{position:relative}.theme-light .Section__content{padding:.66em .5em}.theme-light .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-light .Section--fill{display:flex;flex-direction:column;height:100%}.theme-light .Section--fill>.Section__rest{flex-grow:1}.theme-light .Section--fill>.Section__rest>.Section__content{height:100%}.theme-light .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-light .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-light .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-light .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-light .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-light .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-light .Section .Section:first-child{margin-top:-.5em}.theme-light .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-light .Section .Section .Section .Section__titleText{font-size:1em}.theme-light .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-light .Button:last-child{margin-right:0;margin-bottom:0}.theme-light .Button .fa,.theme-light .Button .fas,.theme-light .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-light .Button--hasContent .fa,.theme-light .Button--hasContent .fas,.theme-light .Button--hasContent .far{margin-right:.25em}.theme-light .Button--hasContent.Button--iconRight .fa,.theme-light .Button--hasContent.Button--iconRight .fas,.theme-light .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-light .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-light .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-light .Button--circular{border-radius:50%}.theme-light .Button--compact{padding:0 .25em;line-height:1.333em}.theme-light .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-light .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-light .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--black:hover{background-color:#101010;color:#fff}.theme-light .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-light .Button--color--white{background-color:#bfbfbf;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--white:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--white--translucent{background-color:rgba(191,191,191,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--white--translucent:hover{background-color:rgba(231,231,231,.5);color:#fff}.theme-light .Button--color--red{background-color:#a61c1c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--red:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--red--translucent{background-color:rgba(166,28,28,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--red--translucent:hover{background-color:rgba(203,48,48,.5);color:#fff}.theme-light .Button--color--orange{background-color:#c0530b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--orange:hover{background-color:#e76d1d;color:#fff}.theme-light .Button--color--orange--translucent{background-color:rgba(192,83,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--orange--translucent:hover{background-color:rgba(231,109,29,.5);color:#fff}.theme-light .Button--color--yellow{background-color:#bfa303;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--yellow:hover{background-color:#e7c714;color:#fff}.theme-light .Button--color--yellow--translucent{background-color:rgba(191,163,3,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--yellow--translucent:hover{background-color:rgba(231,199,20,.5);color:#fff}.theme-light .Button--color--olive{background-color:#889912;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--olive:hover{background-color:#a9bc25;color:#fff}.theme-light .Button--color--olive--translucent{background-color:rgba(136,153,18,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--olive--translucent:hover{background-color:rgba(169,188,37,.5);color:#fff}.theme-light .Button--color--green{background-color:#188532;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--green:hover{background-color:#2ba648;color:#fff}.theme-light .Button--color--green--translucent{background-color:rgba(24,133,50,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--green--translucent:hover{background-color:rgba(43,166,72,.5);color:#fff}.theme-light .Button--color--teal{background-color:#008882;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--teal:hover{background-color:#10a9a2;color:#fff}.theme-light .Button--color--teal--translucent{background-color:rgba(0,136,130,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--teal--translucent:hover{background-color:rgba(16,169,162,.5);color:#fff}.theme-light .Button--color--blue{background-color:#19649c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--blue:hover{background-color:#2c81c0;color:#fff}.theme-light .Button--color--blue--translucent{background-color:rgba(25,100,156,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--blue--translucent:hover{background-color:rgba(44,129,192,.5);color:#fff}.theme-light .Button--color--violet{background-color:#4b2897;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--violet:hover{background-color:#653db9;color:#fff}.theme-light .Button--color--violet--translucent{background-color:rgba(75,40,151,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--violet--translucent:hover{background-color:rgba(101,61,185,.5);color:#fff}.theme-light .Button--color--purple{background-color:#7a2696;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--purple:hover{background-color:#9a3bb9;color:#fff}.theme-light .Button--color--purple--translucent{background-color:rgba(122,38,150,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--purple--translucent:hover{background-color:rgba(154,59,185,.5);color:#fff}.theme-light .Button--color--pink{background-color:#b61d73;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--pink:hover{background-color:#d93591;color:#fff}.theme-light .Button--color--pink--translucent{background-color:rgba(182,29,115,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--pink--translucent:hover{background-color:rgba(217,53,145,.5);color:#fff}.theme-light .Button--color--brown{background-color:#7c4d2f;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--brown:hover{background-color:#9c6745;color:#fff}.theme-light .Button--color--brown--translucent{background-color:rgba(124,77,47,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--brown--translucent:hover{background-color:rgba(156,103,69,.5);color:#fff}.theme-light .Button--color--grey{background-color:#bfbfbf;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--grey:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--grey--translucent{background-color:rgba(191,191,191,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--grey--translucent:hover{background-color:rgba(231,231,231,.5);color:#fff}.theme-light .Button--color--good{background-color:#44801d;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--good:hover{background-color:#5d9f31;color:#fff}.theme-light .Button--color--good--translucent{background-color:rgba(68,128,29,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--good--translucent:hover{background-color:rgba(93,159,49,.5);color:#fff}.theme-light .Button--color--average{background-color:#b56b0b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--average:hover{background-color:#dc891d;color:#fff}.theme-light .Button--color--average--translucent{background-color:rgba(181,107,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--average--translucent:hover{background-color:rgba(220,137,29,.5);color:#fff}.theme-light .Button--color--bad{background-color:#a61c1c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--bad:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--bad--translucent{background-color:rgba(166,28,28,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--bad--translucent:hover{background-color:rgba(203,48,48,.5);color:#fff}.theme-light .Button--color--label{background-color:#2c2c2c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--label:hover{background-color:#424242;color:#fff}.theme-light .Button--color--label--translucent{background-color:rgba(44,44,44,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--label--translucent:hover{background-color:rgba(66,66,66,.5);color:#fff}.theme-light .Button--color--gold{background-color:#bd810b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--gold:hover{background-color:#e5a11c;color:#fff}.theme-light .Button--color--gold--translucent{background-color:rgba(189,129,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--gold--translucent:hover{background-color:rgba(229,161,28,.5);color:#fff}.theme-light .Button--color--transparent{background-color:rgba(238,238,238,0);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--transparent:hover{background-color:rgba(255,255,255,.81);color:#000}.theme-light .Button--color--default{background-color:#bbb;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--default:hover{background-color:#e3e3e3;color:#000}.theme-light .Button--color--default--translucent{background-color:rgba(251,251,251,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--default--translucent:hover{background-color:rgba(254,254,254,.5);color:#fff}.theme-light .Button--color--caution{background-color:#be6209;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-light .Button--color--caution--translucent{background-color:rgba(190,98,9,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--caution--translucent:hover{background-color:rgba(230,127,26,.5);color:#fff}.theme-light .Button--color--danger{background-color:#9a9d00;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-light .Button--color--danger--translucent{background-color:rgba(154,157,0,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--danger--translucent:hover{background-color:rgba(190,193,16,.5);color:#fff}.theme-light .Button--disabled{background-color:#363636!important;color:rgba(0,0,0,.75)!important}.theme-light .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(0,0,0,.5)!important}.theme-light .Button--selected,.theme-light .Button--selected--translucent{background-color:#0668b8;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--selected:hover,.theme-light .Button--selected--translucent:hover{background-color:#1785df;color:#fff}.theme-light .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#353535;background-color:#e6e6e6;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-light .NumberInput--fluid{display:block}.theme-light .NumberInput__content{margin-left:.5em}.theme-light .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-light .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #353535;background-color:#353535}.theme-light .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#e6e6e6;color:#000;text-align:right}.theme-light .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#000;background-color:#e6e6e6;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-light .Input--disabled{color:#777;border-color:#000;border-color:rgba(0,0,0,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-light .Input--fluid{display:block;width:auto}.theme-light .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-light .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#000;color:inherit}.theme-light .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-light .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-light .TextArea{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;background-color:#e6e6e6;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-light .TextArea--fluid{display:block;width:auto;height:auto}.theme-light .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-light .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-light .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-light .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-light .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-light .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-light .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-light .Knob__popupValue,.theme-light .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .Knob__popupValue--right{top:.25rem;right:-50%}.theme-light .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-light .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-light .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-light .Knob__ringFillPivot{transform:rotate(135deg)}.theme-light .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-light .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-light .Knob--color--black .Knob__ringFill{stroke:#000}.theme-light .Knob--color--white .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--red .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--orange .Knob__ringFill{stroke:#e6630d}.theme-light .Knob--color--yellow .Knob__ringFill{stroke:#e5c304}.theme-light .Knob--color--olive .Knob__ringFill{stroke:#a3b816}.theme-light .Knob--color--green .Knob__ringFill{stroke:#1d9f3b}.theme-light .Knob--color--teal .Knob__ringFill{stroke:#00a39c}.theme-light .Knob--color--blue .Knob__ringFill{stroke:#1e78bb}.theme-light .Knob--color--violet .Knob__ringFill{stroke:#5a30b5}.theme-light .Knob--color--purple .Knob__ringFill{stroke:#932eb4}.theme-light .Knob--color--pink .Knob__ringFill{stroke:#db228a}.theme-light .Knob--color--brown .Knob__ringFill{stroke:#955d39}.theme-light .Knob--color--grey .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--good .Knob__ringFill{stroke:#529923}.theme-light .Knob--color--average .Knob__ringFill{stroke:#da810e}.theme-light .Knob--color--bad .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--label .Knob__ringFill{stroke:#353535}.theme-light .Knob--color--gold .Knob__ringFill{stroke:#e39b0d}.theme-light .Slider:not(.Slider__disabled){cursor:e-resize}.theme-light .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-light .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #000}.theme-light .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #000}.theme-light .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-light .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-light .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-light .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-light .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-light .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--disabled{border:1px solid #999}.theme-light .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-light .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-light .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-light .ProgressBar--color--white{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--white .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--red{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--red .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--orange{border:.0833333333em solid #c0530b!important}.theme-light .ProgressBar--color--orange .ProgressBar__fill{background-color:#c0530b}.theme-light .ProgressBar--color--yellow{border:.0833333333em solid #bfa303!important}.theme-light .ProgressBar--color--yellow .ProgressBar__fill{background-color:#bfa303}.theme-light .ProgressBar--color--olive{border:.0833333333em solid #889912!important}.theme-light .ProgressBar--color--olive .ProgressBar__fill{background-color:#889912}.theme-light .ProgressBar--color--green{border:.0833333333em solid #188532!important}.theme-light .ProgressBar--color--green .ProgressBar__fill{background-color:#188532}.theme-light .ProgressBar--color--teal{border:.0833333333em solid #008882!important}.theme-light .ProgressBar--color--teal .ProgressBar__fill{background-color:#008882}.theme-light .ProgressBar--color--blue{border:.0833333333em solid #19649c!important}.theme-light .ProgressBar--color--blue .ProgressBar__fill{background-color:#19649c}.theme-light .ProgressBar--color--violet{border:.0833333333em solid #4b2897!important}.theme-light .ProgressBar--color--violet .ProgressBar__fill{background-color:#4b2897}.theme-light .ProgressBar--color--purple{border:.0833333333em solid #7a2696!important}.theme-light .ProgressBar--color--purple .ProgressBar__fill{background-color:#7a2696}.theme-light .ProgressBar--color--pink{border:.0833333333em solid #b61d73!important}.theme-light .ProgressBar--color--pink .ProgressBar__fill{background-color:#b61d73}.theme-light .ProgressBar--color--brown{border:.0833333333em solid #7c4d2f!important}.theme-light .ProgressBar--color--brown .ProgressBar__fill{background-color:#7c4d2f}.theme-light .ProgressBar--color--grey{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--grey .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--good{border:.0833333333em solid #44801d!important}.theme-light .ProgressBar--color--good .ProgressBar__fill{background-color:#44801d}.theme-light .ProgressBar--color--average{border:.0833333333em solid #b56b0b!important}.theme-light .ProgressBar--color--average .ProgressBar__fill{background-color:#b56b0b}.theme-light .ProgressBar--color--bad{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--bad .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--label{border:.0833333333em solid #2c2c2c!important}.theme-light .ProgressBar--color--label .ProgressBar__fill{background-color:#2c2c2c}.theme-light .ProgressBar--color--gold{border:.0833333333em solid #bd810b!important}.theme-light .ProgressBar--color--gold .ProgressBar__fill{background-color:#bd810b}.theme-light .Chat{color:#000}.theme-light .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-light .Chat__badge:before{content:"x"}.theme-light .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-light .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-light .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-light .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#fff}.theme-light .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-light .Chat__highlight{color:#000}.theme-light .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-light .ChatMessage{word-wrap:break-word}.theme-light .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-light .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-light html,.theme-light body{scrollbar-color:#a7a7a7 #f2f2f2}.theme-light .Layout,.theme-light .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#d6d6d6;scrollbar-3dlight-color:#eee;scrollbar-highlight-color:#eee;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#777;scrollbar-shadow-color:#d6d6d6}.theme-light .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-light .Layout__content--flexRow{display:flex;flex-flow:row}.theme-light .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-light .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-light .Layout__content--noMargin{margin:0}.theme-light .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#eee;background-image:linear-gradient(to bottom,#eee,#eee)}.theme-light .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-light .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-light .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-light .Window__contentPadding:after{height:0}.theme-light .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-light .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(252,252,252,.25);pointer-events:none}.theme-light .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-light .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-light .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-light .TitleBar{background-color:#eee;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-light .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#eee;transition:color .25s,background-color .25s}.theme-light .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-light .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-light .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-light .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-light .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-light .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-light html,.theme-light body{padding:0;margin:0;height:100%;color:#000}.theme-light body{background:#fff;font-family:Verdana,sans-serif;font-size:13px;line-height:1.2;overflow-x:hidden;overflow-y:scroll;word-wrap:break-word}.theme-light img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}.theme-light img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}.theme-light a{color:#00f}.theme-light a.popt{text-decoration:none}.theme-light .popup{position:fixed;top:50%;left:50%;background:#ddd}.theme-light .popup .close{position:absolute;background:#aaa;top:0;right:0;color:#333;text-decoration:none;z-index:2;padding:0 10px;height:30px;line-height:30px}.theme-light .popup .close:hover{background:#999}.theme-light .popup .head{background:#999;color:#ddd;padding:0 10px;height:30px;line-height:30px;text-transform:uppercase;font-size:.9em;font-weight:700;border-bottom:2px solid green}.theme-light .popup input{border:1px solid #999;background:#fff;margin:0;padding:5px;outline:none;color:#333}.theme-light .popup input[type=text]:hover,.theme-light .popup input[type=text]:active,.theme-light .popup input[type=text]:focus{border-color:green}.theme-light .popup input[type=submit]{padding:5px 10px;background:#999;color:#ddd;text-transform:uppercase;font-size:.9em;font-weight:700}.theme-light .popup input[type=submit]:hover,.theme-light .popup input[type=submit]:focus,.theme-light .popup input[type=submit]:active{background:#aaa;cursor:pointer}.theme-light .changeFont{padding:10px}.theme-light .changeFont a{display:block;text-decoration:none;padding:3px;color:#333}.theme-light .changeFont a:hover{background:#ccc}.theme-light .highlightPopup{padding:10px;text-align:center}.theme-light .highlightPopup input[type=text]{display:block;width:215px;text-align:left;margin-top:5px}.theme-light .highlightPopup input.highlightColor{background-color:#ff0}.theme-light .highlightPopup input.highlightTermSubmit{margin-top:5px}.theme-light .contextMenu{background-color:#ddd;position:fixed;margin:2px;width:150px}.theme-light .contextMenu a{display:block;padding:2px 5px;text-decoration:none;color:#333}.theme-light .contextMenu a:hover{background-color:#ccc}.theme-light .filterMessages{padding:5px}.theme-light .filterMessages div{padding:2px 0}.theme-light .icon-stack{height:1em;line-height:1em;width:1em;vertical-align:middle;margin-top:-2px}.theme-light .motd{color:#638500;font-family:Verdana,sans-serif;white-space:normal}.theme-light .motd h1,.theme-light .motd h2,.theme-light .motd h3,.theme-light .motd h4,.theme-light .motd h5,.theme-light .motd h6{color:#638500;text-decoration:underline}.theme-light .motd a,.theme-light .motd a:link,.theme-light .motd a:active,.theme-light .motd a:hover{color:#638500}.theme-light .italic,.theme-light .italics,.theme-light .emote{font-style:italic}.theme-light .highlight{background:#ff0}.theme-light h1,.theme-light h2,.theme-light h3,.theme-light h4,.theme-light h5,.theme-light h6{color:#00f;font-family:Georgia,Verdana,sans-serif}.theme-light em{font-style:normal;font-weight:700}.theme-light .darkmblue{color:#00f}.theme-light .prefix,.theme-light .ooc{font-weight:700}.theme-light .looc{color:#69c;font-weight:700}.theme-light .adminobserverooc{color:#09c;font-weight:700}.theme-light .adminooc{color:#b82e00;font-weight:700}.theme-light .adminobserver{color:#960;font-weight:700}.theme-light .admin{color:#386aff;font-weight:700}.theme-light .adminsay{color:#9611d4;font-weight:700}.theme-light .mentorhelp{color:#07b;font-weight:700}.theme-light .adminhelp{color:#a00;font-weight:700}.theme-light .playerreply{color:#80b;font-weight:700}.theme-light .pmsend{color:#00f}.theme-light .debug{color:#6d2f83}.theme-light .name,.theme-light .yell{font-weight:700}.theme-light .siliconsay{font-family:Courier New,Courier,monospace}.theme-light .deadsay{color:#5c00e6}.theme-light .radio{color:#408010}.theme-light .deptradio{color:#939}.theme-light .comradio{color:#204090}.theme-light .syndradio{color:#6d3f40}.theme-light .dsquadradio{color:#686868}.theme-light .resteamradio{color:#18bc46}.theme-light .airadio{color:#f0f}.theme-light .centradio{color:#5c5c7c}.theme-light .secradio{color:#a30000}.theme-light .engradio{color:#a66300}.theme-light .medradio{color:#009190}.theme-light .sciradio{color:#939}.theme-light .supradio{color:#7f6539}.theme-light .srvradio{color:#80a000}.theme-light .proradio{color:#e3027a}.theme-light .admin_channel{color:#9a04d1;font-weight:700}.theme-light .all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.theme-light .mentor_channel{color:#775bff;font-weight:700}.theme-light .mentor_channel_admin{color:#a35cff;font-weight:700}.theme-light .dev_channel{color:#126719;font-weight:700}.theme-light .dev_channel_admin{color:#26a419;font-weight:700}.theme-light .djradio{color:#630}.theme-light .binaryradio{color:#0b0050;font-family:Courier New,Courier,monospace}.theme-light .mommiradio{color:navy}.theme-light .alert{color:red}.theme-light h1.alert,.theme-light h2.alert{color:#000}.theme-light .ghostalert{color:#5c00e6;font-style:italic;font-weight:700}.theme-light .emote{font-style:italic}.theme-light .selecteddna{color:#fff;background-color:#001b1b}.theme-light .attack{color:red}.theme-light .moderate{color:#c00}.theme-light .disarm{color:#900}.theme-light .passive{color:#600}.theme-light .warning{color:red;font-style:italic}.theme-light .boldwarning{color:red;font-style:italic;font-weight:700}.theme-light .danger{color:red;font-weight:700}.theme-light .userdanger{color:red;font-weight:700;font-size:120%}.theme-light .biggerdanger{color:red;font-weight:700;font-size:150%}.theme-light .notice{color:#009}.theme-light .boldnotice{color:#009;font-weight:700}.theme-light .suicide{color:#ff5050;font-style:italic}.theme-light .green{color:#03bb39}.theme-light .pr_announce{color:#228b22;font-weight:700}.theme-light .boldannounceic,.theme-light .boldannounceooc{color:red;font-weight:700}.theme-light .greenannounce{color:#0f0;font-weight:700}.theme-light .alien{color:#543354}.theme-light .noticealien{color:#00c000}.theme-light .alertalien{color:#00c000;font-weight:700}.theme-light .terrorspider{color:#320e32}.theme-light .dantalion{color:#6a2148}.theme-light .chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.theme-light .chaosgood{color:#19e0c0;font-weight:700}.theme-light .chaosneutral{color:#479ac0;font-weight:700}.theme-light .chaosbad{color:#9047c0;font-weight:700}.theme-light .chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.theme-light .sinister{color:purple;font-weight:700;font-style:italic}.theme-light .blob{color:#006221;font-weight:700;font-style:italic}.theme-light .confirm{color:#00af3b}.theme-light .rose{color:#ff5050}.theme-light .sans{font-family:Comic Sans MS,cursive,sans-serif}.theme-light .wingdings{font-family:Wingdings,Webdings}.theme-light .robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.theme-light .ancient{color:#008b8b;font-style:italic}.theme-light .newscaster{color:maroon}.theme-light .mod{color:#735638;font-weight:700}.theme-light .modooc{color:#184880;font-weight:700}.theme-light .adminmod{color:#402a14;font-weight:700}.theme-light .tajaran{color:#803b56}.theme-light .skrell{color:#00ced1}.theme-light .solcom{color:#22228b}.theme-light .com_srus{color:#7c4848}.theme-light .soghun{color:#228b22}.theme-light .changeling{color:purple}.theme-light .vox{color:#a0a}.theme-light .diona{color:#804000;font-weight:700}.theme-light .trinary{color:#727272}.theme-light .kidan{color:#664205}.theme-light .slime{color:#07a}.theme-light .drask{color:#a3d4eb;font-family:Arial Black}.theme-light .moth{color:#869b29;font-family:Copperplate}.theme-light .clown{color:red}.theme-light .vulpkanin{color:#b97a57}.theme-light .abductor{color:purple;font-style:italic}.theme-light .mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.theme-light .rough{font-family:Trebuchet MS,cursive,sans-serif}.theme-light .say_quote{font-family:Georgia,Verdana,sans-serif}.theme-light .cult{color:purple;font-weight:700;font-style:italic}.theme-light .cultspeech{color:#7f0000;font-style:italic}.theme-light .cultitalic{color:#960000;font-style:italic}.theme-light .cultlarge{color:#960000;font-weight:700;font-size:120%}.theme-light .narsie{color:#960000;font-weight:700;font-size:300%}.theme-light .narsiesmall{color:#960000;font-weight:700;font-size:200%}.theme-light .zombie{color:#7c4848}.theme-light .zombielarge{color:#7c4848;font-weight:700;font-size:120%}.theme-light .interface{color:#303}.theme-light .big{font-size:150%}.theme-light .reallybig{font-size:175%}.theme-light .greentext{color:#0f0;font-size:150%}.theme-light .redtext{color:red;font-size:150%}.theme-light .bold{font-weight:700}.theme-light .his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.theme-light .center{text-align:center}.theme-light .red{color:red}.theme-light .purple{color:#5e2d79}.theme-light .skeleton{color:#585858;font-weight:700;font-style:italic}.theme-light .gutter{color:#7092be;font-family:Trebuchet MS,cursive,sans-serif}.theme-light .orange{color:orange}.theme-light .orangei{color:orange;font-style:italic}.theme-light .orangeb{color:orange;font-weight:700}.theme-light .resonate{color:#298f85}.theme-light .healthscan_oxy{color:#0074bd}.theme-light .revennotice{color:#1d2953}.theme-light .revenboldnotice{color:#1d2953;font-weight:700}.theme-light .revenbignotice{color:#1d2953;font-weight:700;font-size:120%}.theme-light .revenminor{color:#823abb}.theme-light .revenwarning{color:#760fbb;font-style:italic}.theme-light .revendanger{color:#760fbb;font-weight:700;font-size:120%}.theme-light .specialnoticebold{color:#36525e;font-weight:700;font-size:120%}.theme-light .specialnotice{color:#36525e;font-size:120%}.theme-light .medal{font-weight:700}.theme-light .good{color:green}.theme-light .average{color:#ff8000}.theme-light .bad{color:red}.theme-light .italics,.theme-light .talkinto{font-style:italic}.theme-light .whisper{font-style:italic;color:#333}.theme-light .recruit{color:#5c00e6;font-weight:700;font-style:italic}.theme-light .memo{color:#638500;text-align:center}.theme-light .memoedit{text-align:center;font-size:75%}.theme-light .connectionClosed,.theme-light .fatalError{background:red;color:#fff;padding:5px}.theme-light .connectionClosed.restored{background:green}.theme-light .internal.boldnshit{color:#00f;font-weight:700}.theme-light .rebooting{background:#2979af;color:#fff;padding:5px}.theme-light .rebooting a{color:#fff!important;text-decoration-color:#fff!important}.theme-light .text-normal{font-weight:400;font-style:normal}.theme-light .hidden{display:none;visibility:hidden}.theme-light .colossus{color:#7f282a;font-size:175%}.theme-light .hierophant{color:#609;font-weight:700;font-style:italic}.theme-light .hierophant_warning{color:#609;font-style:italic}.theme-light .emoji{max-height:16px;max-width:16px}.theme-light .adminticket{color:#3e7336;font-weight:700}.theme-light .adminticketalt{color:#014c8a;font-weight:700}.theme-light span.body .codephrases{color:#00f}.theme-light span.body .coderesponses{color:red}.theme-light .announcement h1,.theme-light .announcement h2{color:#000;margin:8pt 0;line-height:1.2}.theme-light .announcement p{color:#d82020;line-height:1.3}.theme-light .announcement.minor h1{font-size:180%}.theme-light .announcement.minor h2{font-size:170%}.theme-light .announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.theme-light .bolditalics{font-style:italic;font-weight:700}.theme-light .boxed_message{background:#f7fcff;border:1px solid #111a26;margin:.5em;padding:.5em .75em;text-align:center}.theme-light .boxed_message.left_align_text{text-align:left}.theme-light .boxed_message.red_border{background:#fff7f7;border-color:#a00}.theme-light .boxed_message.green_border{background:#f7fff7;border-color:#0f0}.theme-light .boxed_message.purple_border{background:#fdf7ff;border-color:#a0f}.theme-light .boxed_message.notice_border{background:#f7fdff;border-color:#0000bf}.theme-light .boxed_message.thick_border{border-width:thick}.theme-light .oxygen{color:#006adb}.theme-light .nitrogen{color:#d00a06}.theme-light .carbon_dioxide{color:#1f1f1f}.theme-light .plasma{color:#853c00}.theme-light .sleeping_agent{color:#e82f2c}.theme-light .agent_b{color:#004d4d}.theme-ntos .color-black{color:#1a1a1a!important}.theme-ntos .color-white{color:#fff!important}.theme-ntos .color-red{color:#df3e3e!important}.theme-ntos .color-orange{color:#f37f33!important}.theme-ntos .color-yellow{color:#fbda21!important}.theme-ntos .color-olive{color:#cbe41c!important}.theme-ntos .color-green{color:#25ca4c!important}.theme-ntos .color-teal{color:#00d6cc!important}.theme-ntos .color-blue{color:#2e93de!important}.theme-ntos .color-violet{color:#7349cf!important}.theme-ntos .color-purple{color:#ad45d0!important}.theme-ntos .color-pink{color:#e34da1!important}.theme-ntos .color-brown{color:#b97447!important}.theme-ntos .color-grey{color:#848484!important}.theme-ntos .color-good{color:#68c22d!important}.theme-ntos .color-average{color:#f29a29!important}.theme-ntos .color-bad{color:#df3e3e!important}.theme-ntos .color-label{color:#8b9bb0!important}.theme-ntos .color-gold{color:#f3b22f!important}.theme-ntos .color-bg-black{background-color:#000!important}.theme-ntos .color-bg-white{background-color:#d9d9d9!important}.theme-ntos .color-bg-red{background-color:#bd2020!important}.theme-ntos .color-bg-orange{background-color:#d95e0c!important}.theme-ntos .color-bg-yellow{background-color:#d9b804!important}.theme-ntos .color-bg-olive{background-color:#9aad14!important}.theme-ntos .color-bg-green{background-color:#1b9638!important}.theme-ntos .color-bg-teal{background-color:#009a93!important}.theme-ntos .color-bg-blue{background-color:#1c71b1!important}.theme-ntos .color-bg-violet{background-color:#552dab!important}.theme-ntos .color-bg-purple{background-color:#8b2baa!important}.theme-ntos .color-bg-pink{background-color:#cf2082!important}.theme-ntos .color-bg-brown{background-color:#8c5836!important}.theme-ntos .color-bg-grey{background-color:#646464!important}.theme-ntos .color-bg-good{background-color:#4d9121!important}.theme-ntos .color-bg-average{background-color:#cd7a0d!important}.theme-ntos .color-bg-bad{background-color:#bd2020!important}.theme-ntos .color-bg-label{background-color:#657a94!important}.theme-ntos .color-bg-gold{background-color:#d6920c!important}.theme-ntos .color-border-black{border-color:#1a1a1a!important}.theme-ntos .color-border-white{border-color:#fff!important}.theme-ntos .color-border-red{border-color:#df3e3e!important}.theme-ntos .color-border-orange{border-color:#f37f33!important}.theme-ntos .color-border-yellow{border-color:#fbda21!important}.theme-ntos .color-border-olive{border-color:#cbe41c!important}.theme-ntos .color-border-green{border-color:#25ca4c!important}.theme-ntos .color-border-teal{border-color:#00d6cc!important}.theme-ntos .color-border-blue{border-color:#2e93de!important}.theme-ntos .color-border-violet{border-color:#7349cf!important}.theme-ntos .color-border-purple{border-color:#ad45d0!important}.theme-ntos .color-border-pink{border-color:#e34da1!important}.theme-ntos .color-border-brown{border-color:#b97447!important}.theme-ntos .color-border-grey{border-color:#848484!important}.theme-ntos .color-border-good{border-color:#68c22d!important}.theme-ntos .color-border-average{border-color:#f29a29!important}.theme-ntos .color-border-bad{border-color:#df3e3e!important}.theme-ntos .color-border-label{border-color:#8b9bb0!important}.theme-ntos .color-border-gold{border-color:#f3b22f!important}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#121922;box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--black:hover{background-color:#101010;color:#fff}.theme-ntos .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-ntos .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-ntos .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-ntos .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-ntos .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-ntos .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-ntos .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-ntos .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-ntos .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-ntos .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-ntos .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-ntos .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-ntos .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-ntos .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-ntos .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-ntos .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-ntos .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-ntos .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-ntos .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-ntos .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-ntos .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-ntos .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-ntos .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-ntos .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-ntos .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-ntos .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-ntos .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-ntos .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--color--label{background-color:#657a94;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-ntos .Button--color--label--translucent{background-color:rgba(101,122,148,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--label--translucent:hover{background-color:rgba(138,154,174,.5);color:#fff}.theme-ntos .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-ntos .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-ntos .Button--color--transparent{background-color:rgba(27,38,51,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--transparent:hover{background-color:rgba(44,57,73,.81);color:#fff}.theme-ntos .Button--color--default{background-color:#384e68;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--default--translucent{background-color:rgba(35,47,60,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--default--translucent:hover{background-color:rgba(56,69,84,.5);color:#fff}.theme-ntos .Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-ntos .Button--color--danger{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--danger--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--danger--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.theme-ntos .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-ntos .Button--selected,.theme-ntos .Button--selected--translucent{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--selected:hover,.theme-ntos .Button--selected--translucent:hover{background-color:#2fb94f;color:#fff}.theme-ntos .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-ntos .NumberInput--fluid{display:block}.theme-ntos .NumberInput__content{margin-left:.5em}.theme-ntos .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-ntos .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.theme-ntos .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-ntos .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-ntos .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-ntos .Input--fluid{display:block;width:auto}.theme-ntos .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-ntos .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-ntos .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-ntos .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-ntos .TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-ntos .TextArea--fluid{display:block;width:auto;height:auto}.theme-ntos .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-ntos .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-ntos .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-ntos .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-ntos .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-ntos .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-ntos .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-ntos .Knob__popupValue,.theme-ntos .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .Knob__popupValue--right{top:.25rem;right:-50%}.theme-ntos .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-ntos .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-ntos .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-ntos .Knob__ringFillPivot{transform:rotate(135deg)}.theme-ntos .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-ntos .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-ntos .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-ntos .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-ntos .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-ntos .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-ntos .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-ntos .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-ntos .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-ntos .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-ntos .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-ntos .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-ntos .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-ntos .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-ntos .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-ntos .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-ntos .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-ntos .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-ntos .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-ntos .Slider:not(.Slider__disabled){cursor:e-resize}.theme-ntos .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-ntos .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-ntos .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-ntos .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #3e6189}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-ntos .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-ntos .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-ntos .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-ntos .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-ntos .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-ntos .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-ntos .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-ntos .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-ntos .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-ntos .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-ntos .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-ntos .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-ntos .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-ntos .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-ntos .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-ntos .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-ntos .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-ntos .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-ntos .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-ntos .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-ntos .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-ntos .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-ntos .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-ntos .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-ntos .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-ntos .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-ntos .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-ntos .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-ntos .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-ntos .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-ntos .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-ntos .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-ntos .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-ntos .Chat{color:#abc6ec}.theme-ntos .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-ntos .Chat__badge:before{content:"x"}.theme-ntos .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-ntos .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-ntos .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-ntos .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#121922}.theme-ntos .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-ntos .Chat__highlight{color:#000}.theme-ntos .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-ntos .ChatMessage{word-wrap:break-word}.theme-ntos .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-ntos .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-ntos html,.theme-ntos body{scrollbar-color:#2a3b4f #141d26}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#141d26;scrollbar-face-color:#2a3b4f;scrollbar-3dlight-color:#1b2633;scrollbar-highlight-color:#1b2633;scrollbar-track-color:#141d26;scrollbar-arrow-color:#7290b4;scrollbar-shadow-color:#2a3b4f}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b2633;background-image:linear-gradient(to bottom,#1b2633,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,63,78,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#1b2633;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#1b2633;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-ntos .boxed_message{background:#1c242e;border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-ntos .boxed_message.left_align_text{text-align:left}.theme-ntos .boxed_message.red_border{background:#2e1c1c;border-color:#a00}.theme-ntos .boxed_message.green_border{background:#1c2e22;border-color:#0f0}.theme-ntos .boxed_message.purple_border{background:#221c2e;border-color:#8000ff}.theme-ntos .boxed_message.notice_border{background:#1f2633;border-color:#6685f5}.theme-ntos .boxed_message.thick_border{border-width:thick}.theme-syndicate .color-black{color:#1a1a1a!important}.theme-syndicate .color-white{color:#fff!important}.theme-syndicate .color-red{color:#df3e3e!important}.theme-syndicate .color-orange{color:#f37f33!important}.theme-syndicate .color-yellow{color:#fbda21!important}.theme-syndicate .color-olive{color:#cbe41c!important}.theme-syndicate .color-green{color:#25ca4c!important}.theme-syndicate .color-teal{color:#00d6cc!important}.theme-syndicate .color-blue{color:#2e93de!important}.theme-syndicate .color-violet{color:#7349cf!important}.theme-syndicate .color-purple{color:#ad45d0!important}.theme-syndicate .color-pink{color:#e34da1!important}.theme-syndicate .color-brown{color:#b97447!important}.theme-syndicate .color-grey{color:#848484!important}.theme-syndicate .color-good{color:#68c22d!important}.theme-syndicate .color-average{color:#f29a29!important}.theme-syndicate .color-bad{color:#df3e3e!important}.theme-syndicate .color-label{color:#b89797!important}.theme-syndicate .color-gold{color:#f3b22f!important}.theme-syndicate .color-bg-black{background-color:#000!important}.theme-syndicate .color-bg-white{background-color:#d9d9d9!important}.theme-syndicate .color-bg-red{background-color:#bd2020!important}.theme-syndicate .color-bg-orange{background-color:#d95e0c!important}.theme-syndicate .color-bg-yellow{background-color:#d9b804!important}.theme-syndicate .color-bg-olive{background-color:#9aad14!important}.theme-syndicate .color-bg-green{background-color:#1b9638!important}.theme-syndicate .color-bg-teal{background-color:#009a93!important}.theme-syndicate .color-bg-blue{background-color:#1c71b1!important}.theme-syndicate .color-bg-violet{background-color:#552dab!important}.theme-syndicate .color-bg-purple{background-color:#8b2baa!important}.theme-syndicate .color-bg-pink{background-color:#cf2082!important}.theme-syndicate .color-bg-brown{background-color:#8c5836!important}.theme-syndicate .color-bg-grey{background-color:#646464!important}.theme-syndicate .color-bg-good{background-color:#4d9121!important}.theme-syndicate .color-bg-average{background-color:#cd7a0d!important}.theme-syndicate .color-bg-bad{background-color:#bd2020!important}.theme-syndicate .color-bg-label{background-color:#9d6f6f!important}.theme-syndicate .color-bg-gold{background-color:#d6920c!important}.theme-syndicate .color-border-black{border-color:#1a1a1a!important}.theme-syndicate .color-border-white{border-color:#fff!important}.theme-syndicate .color-border-red{border-color:#df3e3e!important}.theme-syndicate .color-border-orange{border-color:#f37f33!important}.theme-syndicate .color-border-yellow{border-color:#fbda21!important}.theme-syndicate .color-border-olive{border-color:#cbe41c!important}.theme-syndicate .color-border-green{border-color:#25ca4c!important}.theme-syndicate .color-border-teal{border-color:#00d6cc!important}.theme-syndicate .color-border-blue{border-color:#2e93de!important}.theme-syndicate .color-border-violet{border-color:#7349cf!important}.theme-syndicate .color-border-purple{border-color:#ad45d0!important}.theme-syndicate .color-border-pink{border-color:#e34da1!important}.theme-syndicate .color-border-brown{border-color:#b97447!important}.theme-syndicate .color-border-grey{border-color:#848484!important}.theme-syndicate .color-border-good{border-color:#68c22d!important}.theme-syndicate .color-border-average{border-color:#f29a29!important}.theme-syndicate .color-border-bad{border-color:#df3e3e!important}.theme-syndicate .color-border-label{border-color:#b89797!important}.theme-syndicate .color-border-gold{border-color:#f3b22f!important}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#2b0101;box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--black:hover{background-color:#101010;color:#fff}.theme-syndicate .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-syndicate .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-syndicate .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-syndicate .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-syndicate .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-syndicate .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-syndicate .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-syndicate .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-syndicate .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-syndicate .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-syndicate .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-syndicate .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-syndicate .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-syndicate .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-syndicate .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-syndicate .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-syndicate .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-syndicate .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-syndicate .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-syndicate .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-syndicate .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-syndicate .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-syndicate .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-syndicate .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-syndicate .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-syndicate .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-syndicate .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-syndicate .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-syndicate .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-syndicate .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-syndicate .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-syndicate .Button--color--label{background-color:#9d6f6f;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--label:hover{background-color:#b89696;color:#fff}.theme-syndicate .Button--color--label--translucent{background-color:rgba(157,111,111,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--label--translucent:hover{background-color:rgba(184,150,150,.5);color:#fff}.theme-syndicate .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-syndicate .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-syndicate .Button--color--transparent{background-color:rgba(77,2,2,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--transparent:hover{background-color:rgba(103,14,14,.81);color:#fff}.theme-syndicate .Button--color--default{background-color:#397439;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--default--translucent{background-color:rgba(88,8,8,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--default--translucent:hover{background-color:rgba(115,25,25,.5);color:#fff}.theme-syndicate .Button--color--caution{background-color:#be6209;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--caution--translucent{background-color:rgba(190,98,9,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--caution--translucent:hover{background-color:rgba(230,127,26,.5);color:#fff}.theme-syndicate .Button--color--danger{background-color:#9a9d00;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--danger--translucent{background-color:rgba(154,157,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--danger--translucent:hover{background-color:rgba(190,193,16,.5);color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important;color:rgba(255,255,255,.75)!important}.theme-syndicate .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-syndicate .Button--selected,.theme-syndicate .Button--selected--translucent{background-color:#9d0808;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--selected:hover,.theme-syndicate .Button--selected--translucent:hover{background-color:#c11919;color:#fff}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--color--black{color:#fff;background-color:#000}.theme-syndicate .NoticeBox--color--white{color:#000;background-color:#b3b3b3}.theme-syndicate .NoticeBox--color--red{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--orange{color:#fff;background-color:#854114}.theme-syndicate .NoticeBox--color--yellow{color:#000;background-color:#83710d}.theme-syndicate .NoticeBox--color--olive{color:#000;background-color:#576015}.theme-syndicate .NoticeBox--color--green{color:#fff;background-color:#174e24}.theme-syndicate .NoticeBox--color--teal{color:#fff;background-color:#064845}.theme-syndicate .NoticeBox--color--blue{color:#fff;background-color:#1b4565}.theme-syndicate .NoticeBox--color--violet{color:#fff;background-color:#3b2864}.theme-syndicate .NoticeBox--color--purple{color:#fff;background-color:#542663}.theme-syndicate .NoticeBox--color--pink{color:#fff;background-color:#802257}.theme-syndicate .NoticeBox--color--brown{color:#fff;background-color:#4c3729}.theme-syndicate .NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.theme-syndicate .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-syndicate .NoticeBox--color--average{color:#fff;background-color:#7b4e13}.theme-syndicate .NoticeBox--color--bad{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--label{color:#fff;background-color:#635c5c}.theme-syndicate .NoticeBox--color--gold{color:#fff;background-color:#825d13}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .TextArea{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-syndicate .TextArea--fluid{display:block;width:auto;height:auto}.theme-syndicate .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-syndicate .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-syndicate .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-syndicate .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-syndicate .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-syndicate .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-syndicate .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-syndicate .Knob__popupValue,.theme-syndicate .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .Knob__popupValue--right{top:.25rem;right:-50%}.theme-syndicate .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-syndicate .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-syndicate .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-syndicate .Knob__ringFillPivot{transform:rotate(135deg)}.theme-syndicate .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-syndicate .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-syndicate .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-syndicate .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-syndicate .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-syndicate .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-syndicate .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-syndicate .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-syndicate .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-syndicate .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-syndicate .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-syndicate .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-syndicate .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-syndicate .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-syndicate .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-syndicate .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-syndicate .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-syndicate .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--label .Knob__ringFill{stroke:#b89797}.theme-syndicate .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-syndicate .Slider:not(.Slider__disabled){cursor:e-resize}.theme-syndicate .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-syndicate .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-syndicate .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-syndicate .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-syndicate .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-syndicate .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-syndicate .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-syndicate .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-syndicate .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-syndicate .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-syndicate .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-syndicate .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-syndicate .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-syndicate .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-syndicate .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-syndicate .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-syndicate .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-syndicate .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-syndicate .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-syndicate .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-syndicate .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-syndicate .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-syndicate .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-syndicate .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-syndicate .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-syndicate .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-syndicate .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-syndicate .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-syndicate .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-syndicate .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-syndicate .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-syndicate .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-syndicate .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-syndicate .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--label{border:.0833333333em solid #9d6f6f!important}.theme-syndicate .ProgressBar--color--label .ProgressBar__fill{background-color:#9d6f6f}.theme-syndicate .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-syndicate .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-syndicate .Chat{color:#abc6ec}.theme-syndicate .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-syndicate .Chat__badge:before{content:"x"}.theme-syndicate .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-syndicate .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-syndicate .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-syndicate .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#2b0101}.theme-syndicate .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-syndicate .Chat__highlight{color:#000}.theme-syndicate .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-syndicate .ChatMessage{word-wrap:break-word}.theme-syndicate .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-syndicate .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-syndicate html,.theme-syndicate body{scrollbar-color:#770303 #3a0202}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#3a0202;scrollbar-face-color:#770303;scrollbar-3dlight-color:#4d0202;scrollbar-highlight-color:#4d0202;scrollbar-track-color:#3a0202;scrollbar-arrow-color:#fa2d2d;scrollbar-shadow-color:#770303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#4d0202;background-image:linear-gradient(to bottom,#4d0202,#4d0202)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(108,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .adminooc{color:#29ccbe}.theme-syndicate .debug{color:#8f39e6}.theme-syndicate .boxed_message{background:rgba(20,20,35,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-syndicate .boxed_message.left_align_text{text-align:left}.theme-syndicate .boxed_message.red_border{background:rgba(0,0,0,.2);border-color:red}.theme-syndicate .boxed_message.green_border{background:rgba(0,75,0,.25);border-color:#0f0}.theme-syndicate .boxed_message.purple_border{background:rgba(25,0,50,.25);border-color:#8000ff}.theme-syndicate .boxed_message.notice_border{background:rgba(0,0,75,.25);border-color:#6685f5}.theme-syndicate .boxed_message.thick_border{border-width:thick}.theme-paradise .color-black{color:#1a1a1a!important}.theme-paradise .color-white{color:#fff!important}.theme-paradise .color-red{color:#df3e3e!important}.theme-paradise .color-orange{color:#f37f33!important}.theme-paradise .color-yellow{color:#fbda21!important}.theme-paradise .color-olive{color:#cbe41c!important}.theme-paradise .color-green{color:#25ca4c!important}.theme-paradise .color-teal{color:#00d6cc!important}.theme-paradise .color-blue{color:#2e93de!important}.theme-paradise .color-violet{color:#7349cf!important}.theme-paradise .color-purple{color:#ad45d0!important}.theme-paradise .color-pink{color:#e34da1!important}.theme-paradise .color-brown{color:#b97447!important}.theme-paradise .color-grey{color:#848484!important}.theme-paradise .color-good{color:#68c22d!important}.theme-paradise .color-average{color:#f29a29!important}.theme-paradise .color-bad{color:#df3e3e!important}.theme-paradise .color-label{color:#b8a497!important}.theme-paradise .color-gold{color:#f3b22f!important}.theme-paradise .color-bg-black{background-color:#000!important}.theme-paradise .color-bg-white{background-color:#d9d9d9!important}.theme-paradise .color-bg-red{background-color:#bd2020!important}.theme-paradise .color-bg-orange{background-color:#d95e0c!important}.theme-paradise .color-bg-yellow{background-color:#d9b804!important}.theme-paradise .color-bg-olive{background-color:#9aad14!important}.theme-paradise .color-bg-green{background-color:#1b9638!important}.theme-paradise .color-bg-teal{background-color:#009a93!important}.theme-paradise .color-bg-blue{background-color:#1c71b1!important}.theme-paradise .color-bg-violet{background-color:#552dab!important}.theme-paradise .color-bg-purple{background-color:#8b2baa!important}.theme-paradise .color-bg-pink{background-color:#cf2082!important}.theme-paradise .color-bg-brown{background-color:#8c5836!important}.theme-paradise .color-bg-grey{background-color:#646464!important}.theme-paradise .color-bg-good{background-color:#4d9121!important}.theme-paradise .color-bg-average{background-color:#cd7a0d!important}.theme-paradise .color-bg-bad{background-color:#bd2020!important}.theme-paradise .color-bg-label{background-color:#9d826f!important}.theme-paradise .color-bg-gold{background-color:#d6920c!important}.theme-paradise .color-border-black{border-color:#1a1a1a!important}.theme-paradise .color-border-white{border-color:#fff!important}.theme-paradise .color-border-red{border-color:#df3e3e!important}.theme-paradise .color-border-orange{border-color:#f37f33!important}.theme-paradise .color-border-yellow{border-color:#fbda21!important}.theme-paradise .color-border-olive{border-color:#cbe41c!important}.theme-paradise .color-border-green{border-color:#25ca4c!important}.theme-paradise .color-border-teal{border-color:#00d6cc!important}.theme-paradise .color-border-blue{border-color:#2e93de!important}.theme-paradise .color-border-violet{border-color:#7349cf!important}.theme-paradise .color-border-purple{border-color:#ad45d0!important}.theme-paradise .color-border-pink{border-color:#e34da1!important}.theme-paradise .color-border-brown{border-color:#b97447!important}.theme-paradise .color-border-grey{border-color:#848484!important}.theme-paradise .color-border-good{border-color:#68c22d!important}.theme-paradise .color-border-average{border-color:#f29a29!important}.theme-paradise .color-border-bad{border-color:#df3e3e!important}.theme-paradise .color-border-label{border-color:#b8a497!important}.theme-paradise .color-border-gold{border-color:#f3b22f!important}.theme-paradise .Section{position:relative;margin-bottom:.5em;background-color:#40071a;background-color:rgba(0,0,0,.5);box-sizing:border-box}.theme-paradise .Section:last-child{margin-bottom:0}.theme-paradise .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #208080}.theme-paradise .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-paradise .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paradise .Section__rest{position:relative}.theme-paradise .Section__content{padding:.66em .5em}.theme-paradise .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paradise .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paradise .Section--fill>.Section__rest{flex-grow:1}.theme-paradise .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paradise .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paradise .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paradise .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paradise .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paradise .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paradise .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paradise .Section .Section:first-child{margin-top:-.5em}.theme-paradise .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paradise .Section .Section .Section .Section__titleText{font-size:1em}.theme-paradise .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paradise .Button:last-child{margin-right:0;margin-bottom:0}.theme-paradise .Button .fa,.theme-paradise .Button .fas,.theme-paradise .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paradise .Button--hasContent .fa,.theme-paradise .Button--hasContent .fas,.theme-paradise .Button--hasContent .far{margin-right:.25em}.theme-paradise .Button--hasContent.Button--iconRight .fa,.theme-paradise .Button--hasContent.Button--iconRight .fas,.theme-paradise .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paradise .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paradise .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paradise .Button--circular{border-radius:50%}.theme-paradise .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paradise .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paradise .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paradise .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--black:hover{background-color:#101010;color:#fff}.theme-paradise .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-paradise .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-paradise .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-paradise .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-paradise .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-paradise .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-paradise .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-paradise .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-paradise .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-paradise .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-paradise .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-paradise .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-paradise .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-paradise .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-paradise .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-paradise .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-paradise .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-paradise .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-paradise .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-paradise .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-paradise .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-paradise .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-paradise .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-paradise .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-paradise .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-paradise .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-paradise .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-paradise .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-paradise .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-paradise .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-paradise .Button--color--label{background-color:#9d826f;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--label:hover{background-color:#b8a396;color:#fff}.theme-paradise .Button--color--label--translucent{background-color:rgba(157,130,111,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--label--translucent:hover{background-color:rgba(184,163,150,.5);color:#fff}.theme-paradise .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-paradise .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-paradise .Button--color--transparent{background-color:rgba(128,13,51,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--transparent:hover{background-color:rgba(164,27,73,.81);color:#fff}.theme-paradise .Button--color--default{background-color:#208080;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--default:hover{background-color:#34a0a0;color:#fff}.theme-paradise .Button--color--default--translucent{background-color:rgba(141,20,60,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--default--translucent:hover{background-color:rgba(175,39,84,.5);color:#fff}.theme-paradise .Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-paradise .Button--color--danger{background-color:#8c1eff;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--danger:hover{background-color:#ae61ff;color:#fff}.theme-paradise .Button--color--danger--translucent{background-color:rgba(140,30,255,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--danger--translucent:hover{background-color:rgba(174,97,255,.5);color:#fff}.theme-paradise .Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.theme-paradise .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-paradise .Button--selected,.theme-paradise .Button--selected--translucent{background-color:#bf6030;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--selected:hover,.theme-paradise .Button--selected--translucent:hover{background-color:#d4835a;color:#fff}.theme-paradise .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;color:#e65c2e;background-color:rgba(0,0,0,.25);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-paradise .NumberInput--fluid{display:block}.theme-paradise .NumberInput__content{margin-left:.5em}.theme-paradise .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-paradise .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #e65c2e;background-color:#e65c2e}.theme-paradise .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,.25);color:#fff;text-align:right}.theme-paradise .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-paradise .Input--disabled{color:#777;border-color:#4a4a4a;border-color:rgba(74,74,74,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-paradise .Input--fluid{display:block;width:auto}.theme-paradise .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paradise .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paradise .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-paradise .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-paradise .TextArea{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-paradise .TextArea--fluid{display:block;width:auto;height:auto}.theme-paradise .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-paradise .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-paradise .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-paradise .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-paradise .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-paradise .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-paradise .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-paradise .Knob__popupValue,.theme-paradise .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .Knob__popupValue--right{top:.25rem;right:-50%}.theme-paradise .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-paradise .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-paradise .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-paradise .Knob__ringFillPivot{transform:rotate(135deg)}.theme-paradise .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-paradise .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-paradise .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-paradise .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-paradise .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-paradise .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-paradise .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-paradise .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-paradise .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-paradise .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-paradise .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-paradise .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-paradise .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-paradise .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-paradise .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-paradise .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-paradise .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-paradise .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--label .Knob__ringFill{stroke:#b8a497}.theme-paradise .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-paradise .Slider:not(.Slider__disabled){cursor:e-resize}.theme-paradise .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-paradise .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-paradise .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-paradise .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paradise .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paradise .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paradise .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paradise .ProgressBar--color--default{border:.0833333333em solid #1b6d6d}.theme-paradise .ProgressBar--color--default .ProgressBar__fill{background-color:#1b6d6d}.theme-paradise .ProgressBar--color--disabled{border:1px solid #999}.theme-paradise .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-paradise .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-paradise .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-paradise .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-paradise .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-paradise .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-paradise .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-paradise .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-paradise .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-paradise .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-paradise .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-paradise .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-paradise .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-paradise .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-paradise .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-paradise .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-paradise .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-paradise .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-paradise .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-paradise .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-paradise .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-paradise .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-paradise .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-paradise .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-paradise .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-paradise .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-paradise .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-paradise .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-paradise .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-paradise .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-paradise .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-paradise .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--label{border:.0833333333em solid #9d826f!important}.theme-paradise .ProgressBar--color--label .ProgressBar__fill{background-color:#9d826f}.theme-paradise .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-paradise .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-paradise .Chat{color:#abc6ec}.theme-paradise .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-paradise .Chat__badge:before{content:"x"}.theme-paradise .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-paradise .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-paradise .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-paradise .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#fff;background-color:#db2828}.theme-paradise .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-paradise .Chat__highlight{color:#000}.theme-paradise .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-paradise .ChatMessage{word-wrap:break-word}.theme-paradise .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-paradise .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-paradise html,.theme-paradise body{scrollbar-color:#cb1551 #680b29}.theme-paradise .Layout,.theme-paradise .Layout *{scrollbar-base-color:#680b29;scrollbar-face-color:#99103d;scrollbar-3dlight-color:#800d33;scrollbar-highlight-color:#800d33;scrollbar-track-color:#680b29;scrollbar-arrow-color:#ea2e6c;scrollbar-shadow-color:#99103d}.theme-paradise .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paradise .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paradise .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paradise .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paradise .Layout__content--noMargin{margin:0}.theme-paradise .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#800d33;background-image:linear-gradient(to bottom,#80014b,#80460d)}.theme-paradise .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paradise .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paradise .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paradise .Window__contentPadding:after{height:0}.theme-paradise .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paradise .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(166,34,78,.25);pointer-events:none}.theme-paradise .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paradise .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paradise .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paradise .TitleBar{background-color:#800d33;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paradise .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#800d33;transition:color .25s,background-color .25s}.theme-paradise .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paradise .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paradise .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paradise .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paradise .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paradise .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paradise .adminooc{color:#29ccbe}.theme-paradise .debug{color:#8f39e6}.theme-paradise .boxed_message{background:rgba(0,0,0,.25);border:1px solid #a3b9d9;margin:.5em;padding:.5em .75em;text-align:center}.theme-paradise .boxed_message.left_align_text{text-align:left}.theme-paradise .boxed_message.red_border{background:rgba(0,0,0,.25);border-color:#a00}.theme-paradise .boxed_message.green_border{background:rgba(0,0,0,.25);border-color:#0f0}.theme-paradise .boxed_message.purple_border{background:rgba(0,0,0,.25);border-color:#8000ff}.theme-paradise .boxed_message.notice_border{background:rgba(0,0,0,.25);border-color:#6685f5}.theme-paradise .boxed_message.thick_border{border-width:thick}
+html,body{box-sizing:border-box;height:100%;margin:0;font-size:12px}html{overflow:hidden;cursor:default}body{overflow:auto;font-family:Verdana,Geneva,sans-serif}*,*:before,*:after{box-sizing:inherit}h1,h2,h3,h4,h5,h6{display:block;margin:0;padding:6px 0;padding:.5rem 0}h1{font-size:18px;font-size:1.5rem}h2{font-size:16px;font-size:1.333rem}h3{font-size:14px;font-size:1.167rem}h4{font-size:12px;font-size:1rem}td,th{vertical-align:baseline;text-align:left}.candystripe:nth-child(odd){background-color:rgba(0,0,0,.25)}.color-black{color:#1a1a1a!important}.color-white{color:#fff!important}.color-red{color:#df3e3e!important}.color-orange{color:#f37f33!important}.color-yellow{color:#fbda21!important}.color-olive{color:#cbe41c!important}.color-green{color:#25ca4c!important}.color-teal{color:#00d6cc!important}.color-blue{color:#2e93de!important}.color-violet{color:#7349cf!important}.color-purple{color:#ad45d0!important}.color-pink{color:#e34da1!important}.color-brown{color:#b97447!important}.color-grey{color:#848484!important}.color-good{color:#68c22d!important}.color-average{color:#f29a29!important}.color-bad{color:#df3e3e!important}.color-label{color:#8b9bb0!important}.color-gold{color:#f3b22f!important}.color-bg-black{background-color:#000!important}.color-bg-white{background-color:#d9d9d9!important}.color-bg-red{background-color:#bd2020!important}.color-bg-orange{background-color:#d95e0c!important}.color-bg-yellow{background-color:#d9b804!important}.color-bg-olive{background-color:#9aad14!important}.color-bg-green{background-color:#1b9638!important}.color-bg-teal{background-color:#009a93!important}.color-bg-blue{background-color:#1c71b1!important}.color-bg-violet{background-color:#552dab!important}.color-bg-purple{background-color:#8b2baa!important}.color-bg-pink{background-color:#cf2082!important}.color-bg-brown{background-color:#8c5836!important}.color-bg-grey{background-color:#646464!important}.color-bg-good{background-color:#4d9121!important}.color-bg-average{background-color:#cd7a0d!important}.color-bg-bad{background-color:#bd2020!important}.color-bg-label{background-color:#657a94!important}.color-bg-gold{background-color:#d6920c!important}.color-border-black{border-color:#1a1a1a!important}.color-border-white{border-color:#fff!important}.color-border-red{border-color:#df3e3e!important}.color-border-orange{border-color:#f37f33!important}.color-border-yellow{border-color:#fbda21!important}.color-border-olive{border-color:#cbe41c!important}.color-border-green{border-color:#25ca4c!important}.color-border-teal{border-color:#00d6cc!important}.color-border-blue{border-color:#2e93de!important}.color-border-violet{border-color:#7349cf!important}.color-border-purple{border-color:#ad45d0!important}.color-border-pink{border-color:#e34da1!important}.color-border-brown{border-color:#b97447!important}.color-border-grey{border-color:#848484!important}.color-border-good{border-color:#68c22d!important}.color-border-average{border-color:#f29a29!important}.color-border-bad{border-color:#df3e3e!important}.color-border-label{border-color:#8b9bb0!important}.color-border-gold{border-color:#f3b22f!important}.debug-layout,.debug-layout *:not(g):not(path){color:rgba(255,255,255,.9)!important;background:rgba(0,0,0,0)!important;outline:1px solid rgba(255,255,255,.5)!important;box-shadow:none!important;filter:none!important}.debug-layout:hover,.debug-layout *:not(g):not(path):hover{outline-color:rgba(255,255,255,.8)!important}.outline-dotted{outline-style:dotted!important}.outline-dashed{outline-style:dashed!important}.outline-solid{outline-style:solid!important}.outline-double{outline-style:double!important}.outline-groove{outline-style:groove!important}.outline-ridge{outline-style:ridge!important}.outline-inset{outline-style:inset!important}.outline-outset{outline-style:outset!important}.outline-color-black{outline:.167rem solid #1a1a1a!important}.outline-color-white{outline:.167rem solid #fff!important}.outline-color-red{outline:.167rem solid #df3e3e!important}.outline-color-orange{outline:.167rem solid #f37f33!important}.outline-color-yellow{outline:.167rem solid #fbda21!important}.outline-color-olive{outline:.167rem solid #cbe41c!important}.outline-color-green{outline:.167rem solid #25ca4c!important}.outline-color-teal{outline:.167rem solid #00d6cc!important}.outline-color-blue{outline:.167rem solid #2e93de!important}.outline-color-violet{outline:.167rem solid #7349cf!important}.outline-color-purple{outline:.167rem solid #ad45d0!important}.outline-color-pink{outline:.167rem solid #e34da1!important}.outline-color-brown{outline:.167rem solid #b97447!important}.outline-color-grey{outline:.167rem solid #848484!important}.outline-color-good{outline:.167rem solid #68c22d!important}.outline-color-average{outline:.167rem solid #f29a29!important}.outline-color-bad{outline:.167rem solid #df3e3e!important}.outline-color-label{outline:.167rem solid #8b9bb0!important}.outline-color-gold{outline:.167rem solid #f3b22f!important}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-baseline{text-align:baseline}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-pre{white-space:pre}.text-bold{font-weight:700}.text-italic{font-style:italic}.text-underline{text-decoration:underline}.BlockQuote{color:#8b9bb0;border-left:.1666666667em solid #8b9bb0;padding-left:.5em;margin-bottom:.5em}.BlockQuote:last-child{margin-bottom:0}.Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.Button:last-child{margin-right:0;margin-bottom:0}.Button .fa,.Button .fas,.Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.Button--hasContent .fa,.Button--hasContent .fas,.Button--hasContent .far{margin-right:.25em}.Button--hasContent.Button--iconRight .fa,.Button--hasContent.Button--iconRight .fas,.Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.Button--fluid{display:block;margin-left:0;margin-right:0}.Button--circular{border-radius:50%}.Button--compact{padding:0 .25em;line-height:1.333em}.Button--multiLine{white-space:normal;word-wrap:break-word}.Button--modal{float:right;z-index:1;margin-top:-.5rem}.Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.Button--color--black:hover{background-color:#101010;color:#fff}.Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.Button--color--white:hover{background-color:#f8f8f8;color:#000}.Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--red:hover{background-color:#d93f3f;color:#fff}.Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.Button--color--orange:hover{background-color:#ef7e33;color:#fff}.Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.Button--color--yellow:hover{background-color:#f5d523;color:#000}.Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.Button--color--olive:hover{background-color:#bdd327;color:#fff}.Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.Button--color--green:hover{background-color:#2fb94f;color:#fff}.Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.Button--color--teal:hover{background-color:#10bdb6;color:#fff}.Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.Button--color--blue:hover{background-color:#308fd6;color:#fff}.Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.Button--color--violet:hover{background-color:#7249ca;color:#fff}.Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.Button--color--purple:hover{background-color:#aa46ca;color:#fff}.Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.Button--color--pink:hover{background-color:#e04ca0;color:#fff}.Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.Button--color--brown:hover{background-color:#ae724c;color:#fff}.Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.Button--color--grey:hover{background-color:#818181;color:#fff}.Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.Button--color--good:hover{background-color:#67b335;color:#fff}.Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.Button--color--average:hover{background-color:#eb972b;color:#fff}.Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--bad:hover{background-color:#d93f3f;color:#fff}.Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--color--label{background-color:#657a94;color:#fff;transition:color .2s,background-color .2s}.Button--color--label:hover{background-color:#8a9aae;color:#fff}.Button--color--label--translucent{background-color:rgba(101,122,148,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--label--translucent:hover{background-color:rgba(138,154,174,.5);color:#fff}.Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.Button--color--gold:hover{background-color:#eeaf30;color:#fff}.Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.Button--color--transparent{background-color:rgba(32,32,32,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--transparent:hover{background-color:rgba(50,50,50,.81);color:#fff}.Button--color--default{background-color:#3e6189;color:#fff;transition:color .2s,background-color .2s}.Button--color--default:hover{background-color:#567daa;color:#fff}.Button--color--default--translucent{background-color:rgba(40,40,40,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--default--translucent:hover{background-color:rgba(61,61,61,.5);color:#fff}.Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.Button--color--caution:hover{background-color:#f5d523;color:#000}.Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.Button--color--danger{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.Button--color--danger:hover{background-color:#d93f3f;color:#fff}.Button--color--danger--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.Button--color--danger--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.Button--selected,.Button--selected--translucent{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.Button--selected:hover,.Button--selected--translucent:hover{background-color:#2fb94f;color:#fff}.ColorBox{display:inline-block;width:1em;height:1em;line-height:1em;text-align:center}.Dimmer{display:flex;justify-content:center;align-items:center;position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(0,0,0,.75);z-index:1}.Dropdown{position:relative;align-items:center}.Dropdown__control{display:inline-block;align-items:center;font-family:Verdana,sans-serif;font-size:1em;width:8.3333333333em;line-height:1.3333333333em;-ms-user-select:none;user-select:none}.Dropdown__arrow-button{float:right;padding-left:.35em;width:1.2em;height:1.8333333333em;border-left:.0833333333em solid #000;border-left:.0833333333em solid rgba(0,0,0,.25)}.Dropdown__menu{overflow-y:auto;align-items:center;z-index:5;max-height:16.6666666667em;border-radius:0 0 .1666666667em .1666666667em;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75)}.Dropdown__menu-scroll{overflow-y:scroll}.Dropdown__menuentry{padding:.1666666667em .3333333333em;font-family:Verdana,sans-serif;font-size:1em;line-height:1.4166666667em;transition:background-color .1s ease-out}.Dropdown__menuentry.selected{background-color:rgba(255,255,255,.5)!important;transition:background-color 0ms}.Dropdown__menuentry:hover{background-color:rgba(255,255,255,.2);transition:background-color 0ms}.Dropdown__over{top:auto;bottom:100%}.Dropdown__selected-text{display:inline-block;text-overflow:ellipsis;white-space:nowrap;height:1.4166666667em;width:calc(100% - 1.2em);text-align:left;padding-top:2.5px}.Flex{display:-ms-flexbox;display:flex}.Flex--inline{display:inline-flex}.Flex--iefix{display:block}.Flex--iefix.Flex--inline,.Flex__item--iefix{display:inline-block}.Flex--iefix--column>.Flex__item--iefix{display:block}.Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.Knob__popupValue,.Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Knob__popupValue--right{top:.25rem;right:-50%}.Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.Knob__ringTrackPivot{transform:rotate(135deg)}.Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.Knob__ringFillPivot{transform:rotate(135deg)}.Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.Knob--color--white .Knob__ringFill{stroke:#fff}.Knob--color--red .Knob__ringFill{stroke:#df3e3e}.Knob--color--orange .Knob__ringFill{stroke:#f37f33}.Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.Knob--color--green .Knob__ringFill{stroke:#25ca4c}.Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.Knob--color--blue .Knob__ringFill{stroke:#2e93de}.Knob--color--violet .Knob__ringFill{stroke:#7349cf}.Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.Knob--color--pink .Knob__ringFill{stroke:#e34da1}.Knob--color--brown .Knob__ringFill{stroke:#b97447}.Knob--color--grey .Knob__ringFill{stroke:#848484}.Knob--color--good .Knob__ringFill{stroke:#68c22d}.Knob--color--average .Knob__ringFill{stroke:#f29a29}.Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.LabeledList{display:table;width:100%;width:calc(100% + 1em);border-collapse:collapse;border-spacing:0;margin:-.25em -.5em 0;padding:0}.LabeledList__row{display:table-row}.LabeledList__row:last-child .LabeledList__cell{padding-bottom:0}.LabeledList__cell{display:table-cell;margin:0;padding:.25em .5em;border:0;text-align:left;vertical-align:baseline}.LabeledList__label{width:1%;white-space:nowrap;min-width:5em}.LabeledList__buttons{width:.1%;white-space:nowrap;text-align:right;padding-top:.0833333333em;padding-bottom:0}.LabeledList__breakContents{word-break:break-all;word-wrap:break-word}.Modal{background-color:#202020;max-width:calc(100% - 1rem);padding:1rem;scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#000;background-color:#bb9b68;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.NoticeBox--color--black{color:#fff;background-color:#000}.NoticeBox--color--white{color:#000;background-color:#b3b3b3}.NoticeBox--color--red{color:#fff;background-color:#701f1f}.NoticeBox--color--orange{color:#fff;background-color:#854114}.NoticeBox--color--yellow{color:#000;background-color:#83710d}.NoticeBox--color--olive{color:#000;background-color:#576015}.NoticeBox--color--green{color:#fff;background-color:#174e24}.NoticeBox--color--teal{color:#fff;background-color:#064845}.NoticeBox--color--blue{color:#fff;background-color:#1b4565}.NoticeBox--color--violet{color:#fff;background-color:#3b2864}.NoticeBox--color--purple{color:#fff;background-color:#542663}.NoticeBox--color--pink{color:#fff;background-color:#802257}.NoticeBox--color--brown{color:#fff;background-color:#4c3729}.NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.NoticeBox--color--average{color:#fff;background-color:#7b4e13}.NoticeBox--color--bad{color:#fff;background-color:#701f1f}.NoticeBox--color--label{color:#fff;background-color:#53565a}.NoticeBox--color--gold{color:#fff;background-color:#825d13}.NoticeBox--type--info{color:#fff;background-color:#235982}.NoticeBox--type--success{color:#fff;background-color:#1e662f}.NoticeBox--type--warning{color:#fff;background-color:#a95219}.NoticeBox--type--danger{color:#fff;background-color:#8f2828}.NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.NumberInput--fluid{display:block}.NumberInput__content{margin-left:.5em}.NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.ProgressBar__fill--animated{transition:background-color .5s,width .5s}.ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.ProgressBar--color--default{border:.0833333333em solid #3e6189}.ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.ProgressBar--color--disabled{border:1px solid #999}.ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.ProgressBar--color--black{border:.0833333333em solid #000!important}.ProgressBar--color--black .ProgressBar__fill{background-color:#000}.ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.ProgressBar--color--grey{border:.0833333333em solid #646464!important}.ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.ProgressBar--color--label{border:.0833333333em solid #657a94!important}.ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.Section{position:relative;margin-bottom:.5em;background-color:#131313;box-sizing:border-box}.Section:last-child{margin-bottom:0}.Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.Section__rest{position:relative}.Section__content{padding:.66em .5em}.Section--fitted>.Section__rest>.Section__content{padding:0}.Section--fill{display:flex;flex-direction:column;height:100%}.Section--fill>.Section__rest{flex-grow:1}.Section--fill>.Section__rest>.Section__content{height:100%}.Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.Section--scrollable{overflow-x:hidden;overflow-y:hidden}.Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.Section .Section:first-child{margin-top:-.5em}.Section .Section .Section__titleText{font-size:1.0833333333em}.Section .Section .Section .Section__titleText{font-size:1em}.Slider:not(.Slider__disabled){cursor:e-resize}.Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.Divider--horizontal{margin:.5em 0}.Divider--horizontal:not(.Divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Divider--vertical{height:100%;margin:0 .5em}.Divider--vertical:not(.Divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--fill{height:100%}.Stack--horizontal>.Stack__item{margin-left:.5em}.Stack--horizontal>.Stack__item:first-child{margin-left:0}.Stack--vertical>.Stack__item{margin-top:.5em}.Stack--vertical>.Stack__item:first-child{margin-top:0}.Stack--zebra>.Stack__item:nth-child(2n){background-color:#131313}.Stack--horizontal>.Stack__divider:not(.Stack__divider--hidden){border-left:.1666666667em solid rgba(255,255,255,.1)}.Stack--vertical>.Stack__divider:not(.Stack__divider--hidden){border-top:.1666666667em solid rgba(255,255,255,.1)}.Table{display:table;width:100%;border-collapse:collapse;border-spacing:0;margin:0}.Table--collapsing{width:auto}.Table__row{display:table-row}.Table__cell{display:table-cell;padding:0 .25em}.Table__cell:first-child{padding-left:0}.Table__cell:last-child{padding-right:0}.Table__row--header .Table__cell,.Table__cell--header{font-weight:700;padding-bottom:.5em}.Table__cell--collapsing{width:1%;white-space:nowrap}.Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#131313}.Tabs--fill{height:100%}.Section .Tabs{background-color:rgba(0,0,0,0)}.Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.Tabs--horizontal:last-child{margin-bottom:0}.Tabs__Tab{flex-grow:0}.Tabs--fluid .Tabs__Tab{flex-grow:1}.Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(255,255,255,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.Tab:not(.Tab--selected):hover{background-color:rgba(255,255,255,.075);transition:background-color 0}.Tab--selected{background-color:rgba(255,255,255,.125);color:#dfe7f0}.Tab__text{flex-grow:1;margin:0 .5em}.Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #d4dfec}.Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.Tabs--vertical .Tab--selected{border-left:.1666666667em solid #d4dfec}.Tab--selected.Tab--color--black{color:#535353}.Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#1a1a1a}.Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#1a1a1a}.Tab--selected.Tab--color--white{color:#fff}.Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#fff}.Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#fff}.Tab--selected.Tab--color--red{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#df3e3e}.Tab--selected.Tab--color--orange{color:#f69f66}.Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#f37f33}.Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#f37f33}.Tab--selected.Tab--color--yellow{color:#fce358}.Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#fbda21}.Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#fbda21}.Tab--selected.Tab--color--olive{color:#d8eb55}.Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#cbe41c}.Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#cbe41c}.Tab--selected.Tab--color--green{color:#53e074}.Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#25ca4c}.Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#25ca4c}.Tab--selected.Tab--color--teal{color:#21fff5}.Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00d6cc}.Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00d6cc}.Tab--selected.Tab--color--blue{color:#62aee6}.Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#2e93de}.Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#2e93de}.Tab--selected.Tab--color--violet{color:#9676db}.Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#7349cf}.Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#7349cf}.Tab--selected.Tab--color--purple{color:#c274db}.Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#ad45d0}.Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#ad45d0}.Tab--selected.Tab--color--pink{color:#ea79b9}.Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#e34da1}.Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#e34da1}.Tab--selected.Tab--color--brown{color:#ca9775}.Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#b97447}.Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#b97447}.Tab--selected.Tab--color--grey{color:#a3a3a3}.Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#848484}.Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#848484}.Tab--selected.Tab--color--good{color:#8cd95a}.Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#68c22d}.Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#68c22d}.Tab--selected.Tab--color--average{color:#f5b35e}.Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#f29a29}.Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#f29a29}.Tab--selected.Tab--color--bad{color:#e76e6e}.Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#df3e3e}.Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#df3e3e}.Tab--selected.Tab--color--label{color:#a8b4c4}.Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#8b9bb0}.Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#8b9bb0}.Tab--selected.Tab--color--gold{color:#f6c563}.Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#f3b22f}.Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#f3b22f}.Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.Input--fluid{display:block;width:auto}.Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.Input--monospace .Input__input{font-family:Consolas,monospace}.TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.TextArea--fluid{display:block;width:auto;height:auto}.TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.Tooltip{z-index:2;padding:.5em .75em;pointer-events:none;text-align:left;transition:opacity .15s ease-out;background-color:#000;color:#fff;box-shadow:.1em .1em 1.25em -.1em rgba(0,0,0,.5);border-radius:.16em;max-width:20.8333333333em}.Chat{color:#abc6ec}.Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.Chat__badge:before{content:"x"}.Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.Chat__scrollButton{position:fixed;right:2em;bottom:1em}.Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#131313}.Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.Chat__highlight{color:#000}.Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.ChatMessage{word-wrap:break-word}.ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.Ping{position:relative;padding:.125em .25em;border:.0833333333em solid rgba(140,140,140,.5);border-radius:.25em;width:3.75em;text-align:right}.Ping__indicator{content:"";position:absolute;top:.5em;left:.5em;width:.5em;height:.5em;background-color:#888;border-radius:.25em}.Notifications{position:absolute;top:1em;left:.75em;right:2em}.Notification{color:#fff;background-color:#dc143c;padding:.5em;margin:1em 0}.Notification:first-child{margin-top:0}.Notification:last-child{margin-bottom:0}html,body{scrollbar-color:#363636 #181818}.Layout,.Layout *{scrollbar-base-color:#181818;scrollbar-face-color:#363636;scrollbar-3dlight-color:#202020;scrollbar-highlight-color:#202020;scrollbar-track-color:#181818;scrollbar-arrow-color:#909090;scrollbar-shadow-color:#363636}.Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.Layout__content--flexRow{display:flex;flex-flow:row}.Layout__content--flexColumn{display:flex;flex-flow:column}.Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.Layout__content--noMargin{margin:0}.Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#202020;background-image:linear-gradient(to bottom,#202020,#202020)}.Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.Window__contentPadding:after{height:0}.Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(56,56,56,.25);pointer-events:none}.Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}img{margin:0;padding:0;line-height:1;-ms-interpolation-mode:nearest-neighbor;image-rendering:pixelated}img.icon{height:1em;min-height:16px;width:auto;vertical-align:bottom}a{color:#397ea5}em{font-style:normal;font-weight:700}h1,h2,h3,h4,h5,h6{color:#a4bad6;font-family:Georgia,Verdana,sans-serif}.emoji{max-height:16px;max-width:16px}.emoji16x16{vertical-align:middle}.italic,.italics,.emote{font-style:italic}.bold{font-weight:700}.bolditalics{font-style:italic;font-weight:700}.center{text-align:center}.big{font-size:150%}.reallybig{font-size:175%}.sans{font-family:Comic Sans MS,cursive,sans-serif}.wingdings{font-family:Wingdings,Webdings}.robot{font-family:OCR-A,monospace;font-size:1.15em;font-weight:700}.hidden{display:none;visibility:hidden}.motd{color:#a4bad6;font-family:Verdana,sans-serif;white-space:normal}.motd h1,.motd h2,.motd h3,.motd h4,.motd h5,.motd h6{color:#a4bad6;text-decoration:underline}.motd a,.motd a:link,.motd a:active,.motd a:hover{color:#a4bad6}.memo{color:#638500;text-align:center}.memoedit{text-align:center;font-size:75%}.ooc{font-weight:700}.looc{color:#69c;font-weight:700}.discordpm{color:#6685f5}.debug{color:#6d2f83}.deadsay{color:#e2c1ff}.darkmblue{color:#6685f5}.prefix,.name,.yell{font-weight:700}.mentorhelp{color:#07b;font-weight:700}.mentor_channel{color:#775bff;font-weight:700}.mentor_channel_admin{color:#a35cff;font-weight:700}.admin{color:#386aff;font-weight:700}.adminhelp{color:#a00;font-weight:700}.adminticket{color:#3daf21;font-weight:700}.adminticketalt{color:#ccb847;font-weight:700}.admin_channel{color:#03fc9d;font-weight:700}.all_admin_ping{color:#12a5f4;font-weight:700;font-size:120%;text-align:center}.dev_channel{color:#61b413;font-weight:700}.dev_channel_admin{color:#9ef14f;font-weight:700}.radio{color:#20b142}.deptradio{color:#939}.comradio{color:#5f5cff}.syndradio{color:#8f4a4b}.dsquadradio{color:#998599}.airadio{color:#ff5ed7}.centradio{color:#2681a5}.secradio{color:#dd3535}.engradio{color:#feac20}.medradio{color:#00b5ad}.sciradio{color:#c68cfa}.supradio{color:#b88646}.srvradio{color:#bbd164}.proradio{color:#b84f92}.alert{color:#d82020}h1.alert,h2.alert{color:#a4bad6}.ghostalert{color:#cc00c6;font-style:italic;font-weight:700}.warning{color:#c51e1e;font-style:italic}.boldwarning{color:#c51e1e;font-style:italic;font-weight:700}.danger{color:#c51e1e;font-weight:700}.biggerdanger{color:red;font-weight:700;font-size:150%}.userdanger{color:#c51e1e;font-weight:700;font-size:120%}.attack{color:red}.disarm{color:#900}.moderate{color:#c00}.notice{color:#6685f5}.boldnotice{color:#6685f5;font-weight:700}.suicide{color:#ff5050;font-style:italic}.announcement h1,.announcement h2{color:#a4bad6;margin:8pt 0;line-height:1.2}.announcement p{color:#d82020;line-height:1.3}.announcement.minor h1{font-size:180%}.announcement.minor h2{font-size:170%}.announcement.sec h1{color:red;font-size:180%;font-family:Verdana,sans-serif}.boldannounceic,.boldannounceooc,.pr_announce{color:#c51e1e;font-weight:700}.greenannounce{color:#059223;font-weight:700}.alien{color:#c433c4}.noticealien{color:#00c000}.alertalien{color:#00c000;font-weight:700}.terrorspider{color:#cf52fa}.dantalion{color:#8b2c5e}.chaosverygood{color:#19e0c0;font-weight:700;font-size:120%}.chaosgood{color:#19e0c0;font-weight:700}.chaosneutral{color:#479ac0;font-weight:700}.chaosbad{color:#9047c0;font-weight:700}.chaosverybad{color:#9047c0;font-weight:700;font-size:120%}.sinister{color:purple;font-weight:700;font-style:italic}.blob{color:#ee4000;font-style:italic}.revennotice{color:#6685f5}.revenbignotice{color:#6685f5;font-weight:700;font-size:120%}.revenminor{color:#823abb}.revenwarning{color:#760fbb;font-style:italic}.revendanger{color:#760fbb;font-weight:700;font-size:120%}.changeling{color:#00b4de}.clown{color:red}.abductor{color:purple;font-style:italic}.mind_control{color:#a00d6f;font-size:3;font-weight:700;font-style:italic}.cult{color:purple;font-weight:700;font-style:italic}.cultspeech{color:#af0000;font-style:italic}.cultitalic{color:#a60000;font-style:italic}.cultlarge{color:#a60000;font-weight:700;font-size:120%}.narsie{color:#a60000;font-weight:700;font-size:300%}.narsiesmall{color:#a60000;font-weight:700;font-size:200%}.his_grace{color:#15d512;font-family:Courier New,cursive,sans-serif;font-style:italic}.zombie{color:#7c4848}.zombielarge{color:#7c4848;font-weight:700;font-size:120%}.colossus{color:#7f282a;font-size:175%}.hierophant{color:#609;font-weight:700;font-style:italic}.hierophant_warning{color:#609;font-style:italic}.rose{color:#ff5050}.interface{color:#9031c4}.greentext{color:#0f0;font-size:150%}.redtext{color:red;font-size:150%}.red{color:red}.green{color:#03bb39}.purple{color:#9031c4}.orange{color:orange}.resonate{color:#298f85}.healthscan_oxy{color:#5cc9ff}.specialnotice{color:#4a6f82;font-weight:700;font-size:120%}.whisper{font-style:italic;color:#ccc}span.body .codephrases{color:#55f}span.body .coderesponses{color:#f33}.oxygen{color:#449dff}.nitrogen{color:#f94541}.carbon_dioxide{color:#ccc}.plasma{color:#eb6b00}.sleeping_agent{color:#f28b89}.agent_b{color:teal}.boxed_message{background:#17191c;border:1px solid rgba(166,183,217,.25);border-width:.0833333333em .4166666667em;margin:.5em .25em;padding:.5em .75em;border-radius:.5em;text-align:center}.boxed_message.red_border{background:#1f1414;border-color:rgba(255,0,0,.5)}.boxed_message.green_border{background:#141f18;border-color:rgba(0,255,0,.5)}.boxed_message.purple_border{background:#1d1828;border-color:rgba(170,128,255,.5)}.boxed_message.notice_border{background:#14181f;border-color:rgba(85,126,246,.5)}.boxed_message.thick_border{border-width:.5em}.boxed_message.left_align_text{text-align:left}.theme-light .color-black{color:#000!important}.theme-light .color-white{color:#e6e6e6!important}.theme-light .color-red{color:#c82121!important}.theme-light .color-orange{color:#e6630d!important}.theme-light .color-yellow{color:#e5c304!important}.theme-light .color-olive{color:#a3b816!important}.theme-light .color-green{color:#1d9f3b!important}.theme-light .color-teal{color:#00a39c!important}.theme-light .color-blue{color:#1e78bb!important}.theme-light .color-violet{color:#5a30b5!important}.theme-light .color-purple{color:#932eb4!important}.theme-light .color-pink{color:#db228a!important}.theme-light .color-brown{color:#955d39!important}.theme-light .color-grey{color:#e6e6e6!important}.theme-light .color-good{color:#529923!important}.theme-light .color-average{color:#da810e!important}.theme-light .color-bad{color:#c82121!important}.theme-light .color-label{color:#353535!important}.theme-light .color-gold{color:#e39b0d!important}.theme-light .color-bg-black{background-color:#000!important}.theme-light .color-bg-white{background-color:#bfbfbf!important}.theme-light .color-bg-red{background-color:#a61c1c!important}.theme-light .color-bg-orange{background-color:#c0530b!important}.theme-light .color-bg-yellow{background-color:#bfa303!important}.theme-light .color-bg-olive{background-color:#889912!important}.theme-light .color-bg-green{background-color:#188532!important}.theme-light .color-bg-teal{background-color:#008882!important}.theme-light .color-bg-blue{background-color:#19649c!important}.theme-light .color-bg-violet{background-color:#4b2897!important}.theme-light .color-bg-purple{background-color:#7a2696!important}.theme-light .color-bg-pink{background-color:#b61d73!important}.theme-light .color-bg-brown{background-color:#7c4d2f!important}.theme-light .color-bg-grey{background-color:#bfbfbf!important}.theme-light .color-bg-good{background-color:#44801d!important}.theme-light .color-bg-average{background-color:#b56b0b!important}.theme-light .color-bg-bad{background-color:#a61c1c!important}.theme-light .color-bg-label{background-color:#2c2c2c!important}.theme-light .color-bg-gold{background-color:#bd810b!important}.theme-light .color-border-black{border-color:#000!important}.theme-light .color-border-white{border-color:#e6e6e6!important}.theme-light .color-border-red{border-color:#c82121!important}.theme-light .color-border-orange{border-color:#e6630d!important}.theme-light .color-border-yellow{border-color:#e5c304!important}.theme-light .color-border-olive{border-color:#a3b816!important}.theme-light .color-border-green{border-color:#1d9f3b!important}.theme-light .color-border-teal{border-color:#00a39c!important}.theme-light .color-border-blue{border-color:#1e78bb!important}.theme-light .color-border-violet{border-color:#5a30b5!important}.theme-light .color-border-purple{border-color:#932eb4!important}.theme-light .color-border-pink{border-color:#db228a!important}.theme-light .color-border-brown{border-color:#955d39!important}.theme-light .color-border-grey{border-color:#e6e6e6!important}.theme-light .color-border-good{border-color:#529923!important}.theme-light .color-border-average{border-color:#da810e!important}.theme-light .color-border-bad{border-color:#c82121!important}.theme-light .color-border-label{border-color:#353535!important}.theme-light .color-border-gold{border-color:#e39b0d!important}.theme-light .Tabs{display:flex;align-items:stretch;overflow:hidden;background-color:#fff}.theme-light .Tabs--fill{height:100%}.theme-light .Section .Tabs{background-color:rgba(0,0,0,0)}.theme-light .Section:not(.Section--fitted) .Tabs{margin:0 -.5em .5em}.theme-light .Section:not(.Section--fitted) .Tabs:first-child{margin-top:-.5em}.theme-light .Tabs--vertical{flex-direction:column;padding:.25em .25em .25em 0}.theme-light .Tabs--horizontal{margin-bottom:.5em;padding:.25em .25em 0}.theme-light .Tabs--horizontal:last-child{margin-bottom:0}.theme-light .Tabs__Tab{flex-grow:0}.theme-light .Tabs--fluid .Tabs__Tab{flex-grow:1}.theme-light .Tab{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,0);color:rgba(0,0,0,.5);min-height:2.25em;min-width:4em;transition:background-color 50ms ease-out}.theme-light .Tab:not(.Tab--selected):hover{background-color:rgba(0,0,0,.075);transition:background-color 0}.theme-light .Tab--selected{background-color:rgba(0,0,0,.125);color:#404040}.theme-light .Tab__text{flex-grow:1;margin:0 .5em}.theme-light .Tab__left{min-width:1.5em;text-align:center;margin-left:.25em}.theme-light .Tab__right{min-width:1.5em;text-align:center;margin-right:.25em}.theme-light .Tabs--horizontal .Tab{border-top:.1666666667em solid rgba(0,0,0,0);border-bottom:.1666666667em solid rgba(0,0,0,0);border-top-left-radius:.25em;border-top-right-radius:.25em}.theme-light .Tabs--horizontal .Tab--selected{border-bottom:.1666666667em solid #000}.theme-light .Tabs--vertical .Tab{min-height:2em;border-left:.1666666667em solid rgba(0,0,0,0);border-right:.1666666667em solid rgba(0,0,0,0);border-top-right-radius:.25em;border-bottom-right-radius:.25em}.theme-light .Tabs--vertical .Tab--selected{border-left:.1666666667em solid #000}.theme-light .Tab--selected.Tab--color--black{color:#404040}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--black{border-bottom-color:#000}.theme-light .Tabs--vertical .Tab--selected.Tab--color--black{border-left-color:#000}.theme-light .Tab--selected.Tab--color--white{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--white{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--white{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--red{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--red{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--red{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--orange{color:#f48942}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--orange{border-bottom-color:#e6630d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--orange{border-left-color:#e6630d}.theme-light .Tab--selected.Tab--color--yellow{color:#fcdd33}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--yellow{border-bottom-color:#e5c304}.theme-light .Tabs--vertical .Tab--selected.Tab--color--yellow{border-left-color:#e5c304}.theme-light .Tab--selected.Tab--color--olive{color:#d0e732}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--olive{border-bottom-color:#a3b816}.theme-light .Tabs--vertical .Tab--selected.Tab--color--olive{border-left-color:#a3b816}.theme-light .Tab--selected.Tab--color--green{color:#33da5a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--green{border-bottom-color:#1d9f3b}.theme-light .Tabs--vertical .Tab--selected.Tab--color--green{border-left-color:#1d9f3b}.theme-light .Tab--selected.Tab--color--teal{color:#00faef}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--teal{border-bottom-color:#00a39c}.theme-light .Tabs--vertical .Tab--selected.Tab--color--teal{border-left-color:#00a39c}.theme-light .Tab--selected.Tab--color--blue{color:#419ce1}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--blue{border-bottom-color:#1e78bb}.theme-light .Tabs--vertical .Tab--selected.Tab--color--blue{border-left-color:#1e78bb}.theme-light .Tab--selected.Tab--color--violet{color:#7f58d3}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--violet{border-bottom-color:#5a30b5}.theme-light .Tabs--vertical .Tab--selected.Tab--color--violet{border-left-color:#5a30b5}.theme-light .Tab--selected.Tab--color--purple{color:#b455d4}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--purple{border-bottom-color:#932eb4}.theme-light .Tabs--vertical .Tab--selected.Tab--color--purple{border-left-color:#932eb4}.theme-light .Tab--selected.Tab--color--pink{color:#e558a7}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--pink{border-bottom-color:#db228a}.theme-light .Tabs--vertical .Tab--selected.Tab--color--pink{border-left-color:#db228a}.theme-light .Tab--selected.Tab--color--brown{color:#c0825a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--brown{border-bottom-color:#955d39}.theme-light .Tabs--vertical .Tab--selected.Tab--color--brown{border-left-color:#955d39}.theme-light .Tab--selected.Tab--color--grey{color:#ececec}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--grey{border-bottom-color:#e6e6e6}.theme-light .Tabs--vertical .Tab--selected.Tab--color--grey{border-left-color:#e6e6e6}.theme-light .Tab--selected.Tab--color--good{color:#77d23b}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--good{border-bottom-color:#529923}.theme-light .Tabs--vertical .Tab--selected.Tab--color--good{border-left-color:#529923}.theme-light .Tab--selected.Tab--color--average{color:#f3a23a}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--average{border-bottom-color:#da810e}.theme-light .Tabs--vertical .Tab--selected.Tab--color--average{border-left-color:#da810e}.theme-light .Tab--selected.Tab--color--bad{color:#e14d4d}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--bad{border-bottom-color:#c82121}.theme-light .Tabs--vertical .Tab--selected.Tab--color--bad{border-left-color:#c82121}.theme-light .Tab--selected.Tab--color--label{color:#686868}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--label{border-bottom-color:#353535}.theme-light .Tabs--vertical .Tab--selected.Tab--color--label{border-left-color:#353535}.theme-light .Tab--selected.Tab--color--gold{color:#f4b73f}.theme-light .Tabs--horizontal .Tab--selected.Tab--color--gold{border-bottom-color:#e39b0d}.theme-light .Tabs--vertical .Tab--selected.Tab--color--gold{border-left-color:#e39b0d}.theme-light .Section{position:relative;margin-bottom:.5em;background-color:#fff;box-sizing:border-box}.theme-light .Section:last-child{margin-bottom:0}.theme-light .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #fff}.theme-light .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#000}.theme-light .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-light .Section__rest{position:relative}.theme-light .Section__content{padding:.66em .5em}.theme-light .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-light .Section--fill{display:flex;flex-direction:column;height:100%}.theme-light .Section--fill>.Section__rest{flex-grow:1}.theme-light .Section--fill>.Section__rest>.Section__content{height:100%}.theme-light .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-light .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-light .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-light .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-light .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-light .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-light .Section .Section:first-child{margin-top:-.5em}.theme-light .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-light .Section .Section .Section .Section__titleText{font-size:1em}.theme-light .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-light .Button:last-child{margin-right:0;margin-bottom:0}.theme-light .Button .fa,.theme-light .Button .fas,.theme-light .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-light .Button--hasContent .fa,.theme-light .Button--hasContent .fas,.theme-light .Button--hasContent .far{margin-right:.25em}.theme-light .Button--hasContent.Button--iconRight .fa,.theme-light .Button--hasContent.Button--iconRight .fas,.theme-light .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-light .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-light .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-light .Button--circular{border-radius:50%}.theme-light .Button--compact{padding:0 .25em;line-height:1.333em}.theme-light .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-light .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-light .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--black:hover{background-color:#101010;color:#fff}.theme-light .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-light .Button--color--white{background-color:#bfbfbf;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--white:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--white--translucent{background-color:rgba(191,191,191,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--white--translucent:hover{background-color:rgba(231,231,231,.5);color:#fff}.theme-light .Button--color--red{background-color:#a61c1c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--red:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--red--translucent{background-color:rgba(166,28,28,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--red--translucent:hover{background-color:rgba(203,48,48,.5);color:#fff}.theme-light .Button--color--orange{background-color:#c0530b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--orange:hover{background-color:#e76d1d;color:#fff}.theme-light .Button--color--orange--translucent{background-color:rgba(192,83,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--orange--translucent:hover{background-color:rgba(231,109,29,.5);color:#fff}.theme-light .Button--color--yellow{background-color:#bfa303;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--yellow:hover{background-color:#e7c714;color:#fff}.theme-light .Button--color--yellow--translucent{background-color:rgba(191,163,3,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--yellow--translucent:hover{background-color:rgba(231,199,20,.5);color:#fff}.theme-light .Button--color--olive{background-color:#889912;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--olive:hover{background-color:#a9bc25;color:#fff}.theme-light .Button--color--olive--translucent{background-color:rgba(136,153,18,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--olive--translucent:hover{background-color:rgba(169,188,37,.5);color:#fff}.theme-light .Button--color--green{background-color:#188532;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--green:hover{background-color:#2ba648;color:#fff}.theme-light .Button--color--green--translucent{background-color:rgba(24,133,50,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--green--translucent:hover{background-color:rgba(43,166,72,.5);color:#fff}.theme-light .Button--color--teal{background-color:#008882;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--teal:hover{background-color:#10a9a2;color:#fff}.theme-light .Button--color--teal--translucent{background-color:rgba(0,136,130,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--teal--translucent:hover{background-color:rgba(16,169,162,.5);color:#fff}.theme-light .Button--color--blue{background-color:#19649c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--blue:hover{background-color:#2c81c0;color:#fff}.theme-light .Button--color--blue--translucent{background-color:rgba(25,100,156,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--blue--translucent:hover{background-color:rgba(44,129,192,.5);color:#fff}.theme-light .Button--color--violet{background-color:#4b2897;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--violet:hover{background-color:#653db9;color:#fff}.theme-light .Button--color--violet--translucent{background-color:rgba(75,40,151,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--violet--translucent:hover{background-color:rgba(101,61,185,.5);color:#fff}.theme-light .Button--color--purple{background-color:#7a2696;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--purple:hover{background-color:#9a3bb9;color:#fff}.theme-light .Button--color--purple--translucent{background-color:rgba(122,38,150,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--purple--translucent:hover{background-color:rgba(154,59,185,.5);color:#fff}.theme-light .Button--color--pink{background-color:#b61d73;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--pink:hover{background-color:#d93591;color:#fff}.theme-light .Button--color--pink--translucent{background-color:rgba(182,29,115,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--pink--translucent:hover{background-color:rgba(217,53,145,.5);color:#fff}.theme-light .Button--color--brown{background-color:#7c4d2f;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--brown:hover{background-color:#9c6745;color:#fff}.theme-light .Button--color--brown--translucent{background-color:rgba(124,77,47,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--brown--translucent:hover{background-color:rgba(156,103,69,.5);color:#fff}.theme-light .Button--color--grey{background-color:#bfbfbf;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--grey:hover{background-color:#e7e7e7;color:#000}.theme-light .Button--color--grey--translucent{background-color:rgba(191,191,191,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--grey--translucent:hover{background-color:rgba(231,231,231,.5);color:#fff}.theme-light .Button--color--good{background-color:#44801d;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--good:hover{background-color:#5d9f31;color:#fff}.theme-light .Button--color--good--translucent{background-color:rgba(68,128,29,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--good--translucent:hover{background-color:rgba(93,159,49,.5);color:#fff}.theme-light .Button--color--average{background-color:#b56b0b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--average:hover{background-color:#dc891d;color:#fff}.theme-light .Button--color--average--translucent{background-color:rgba(181,107,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--average--translucent:hover{background-color:rgba(220,137,29,.5);color:#fff}.theme-light .Button--color--bad{background-color:#a61c1c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--bad:hover{background-color:#cb3030;color:#fff}.theme-light .Button--color--bad--translucent{background-color:rgba(166,28,28,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--bad--translucent:hover{background-color:rgba(203,48,48,.5);color:#fff}.theme-light .Button--color--label{background-color:#2c2c2c;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--label:hover{background-color:#424242;color:#fff}.theme-light .Button--color--label--translucent{background-color:rgba(44,44,44,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--label--translucent:hover{background-color:rgba(66,66,66,.5);color:#fff}.theme-light .Button--color--gold{background-color:#bd810b;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--gold:hover{background-color:#e5a11c;color:#fff}.theme-light .Button--color--gold--translucent{background-color:rgba(189,129,11,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--gold--translucent:hover{background-color:rgba(229,161,28,.5);color:#fff}.theme-light .Button--color--transparent{background-color:rgba(238,238,238,0);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--transparent:hover{background-color:rgba(255,255,255,.81);color:#000}.theme-light .Button--color--default{background-color:#bbb;color:#000;transition:color .2s,background-color .2s}.theme-light .Button--color--default:hover{background-color:#e3e3e3;color:#000}.theme-light .Button--color--default--translucent{background-color:rgba(251,251,251,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--default--translucent:hover{background-color:rgba(254,254,254,.5);color:#fff}.theme-light .Button--color--caution{background-color:#be6209;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-light .Button--color--caution--translucent{background-color:rgba(190,98,9,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--caution--translucent:hover{background-color:rgba(230,127,26,.5);color:#fff}.theme-light .Button--color--danger{background-color:#9a9d00;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-light .Button--color--danger--translucent{background-color:rgba(154,157,0,.33);color:rgba(0,0,0,.5);transition:color .2s,background-color .2s}.theme-light .Button--color--danger--translucent:hover{background-color:rgba(190,193,16,.5);color:#fff}.theme-light .Button--disabled{background-color:#363636!important;color:rgba(0,0,0,.75)!important}.theme-light .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(0,0,0,.5)!important}.theme-light .Button--selected,.theme-light .Button--selected--translucent{background-color:#0668b8;color:#fff;transition:color .2s,background-color .2s}.theme-light .Button--selected:hover,.theme-light .Button--selected--translucent:hover{background-color:#1785df;color:#fff}.theme-light .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#353535;background-color:#e6e6e6;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-light .NumberInput--fluid{display:block}.theme-light .NumberInput__content{margin-left:.5em}.theme-light .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-light .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #353535;background-color:#353535}.theme-light .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#e6e6e6;color:#000;text-align:right}.theme-light .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;color:#000;background-color:#e6e6e6;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-light .Input--disabled{color:#777;border-color:#000;border-color:rgba(0,0,0,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-light .Input--fluid{display:block;width:auto}.theme-light .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-light .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#000;color:inherit}.theme-light .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-light .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-light .TextArea{position:relative;display:inline-block;border:.0833333333em solid #353535;border:.0833333333em solid rgba(53,53,53,.75);border-radius:.16em;background-color:#e6e6e6;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-light .TextArea--fluid{display:block;width:auto;height:auto}.theme-light .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-light .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-light .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-light .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-light .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-light .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-light .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-light .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-light .Knob__popupValue,.theme-light .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .Knob__popupValue--right{top:.25rem;right:-50%}.theme-light .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-light .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-light .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-light .Knob__ringFillPivot{transform:rotate(135deg)}.theme-light .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-light .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-light .Knob--color--black .Knob__ringFill{stroke:#000}.theme-light .Knob--color--white .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--red .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--orange .Knob__ringFill{stroke:#e6630d}.theme-light .Knob--color--yellow .Knob__ringFill{stroke:#e5c304}.theme-light .Knob--color--olive .Knob__ringFill{stroke:#a3b816}.theme-light .Knob--color--green .Knob__ringFill{stroke:#1d9f3b}.theme-light .Knob--color--teal .Knob__ringFill{stroke:#00a39c}.theme-light .Knob--color--blue .Knob__ringFill{stroke:#1e78bb}.theme-light .Knob--color--violet .Knob__ringFill{stroke:#5a30b5}.theme-light .Knob--color--purple .Knob__ringFill{stroke:#932eb4}.theme-light .Knob--color--pink .Knob__ringFill{stroke:#db228a}.theme-light .Knob--color--brown .Knob__ringFill{stroke:#955d39}.theme-light .Knob--color--grey .Knob__ringFill{stroke:#e6e6e6}.theme-light .Knob--color--good .Knob__ringFill{stroke:#529923}.theme-light .Knob--color--average .Knob__ringFill{stroke:#da810e}.theme-light .Knob--color--bad .Knob__ringFill{stroke:#c82121}.theme-light .Knob--color--label .Knob__ringFill{stroke:#353535}.theme-light .Knob--color--gold .Knob__ringFill{stroke:#e39b0d}.theme-light .Slider:not(.Slider__disabled){cursor:e-resize}.theme-light .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-light .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #000}.theme-light .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #000}.theme-light .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-light .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-light .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-light .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-light .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-light .ProgressBar--color--default{border:.0833333333em solid #bfbfbf}.theme-light .ProgressBar--color--default .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--disabled{border:1px solid #999}.theme-light .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-light .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-light .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-light .ProgressBar--color--white{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--white .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--red{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--red .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--orange{border:.0833333333em solid #c0530b!important}.theme-light .ProgressBar--color--orange .ProgressBar__fill{background-color:#c0530b}.theme-light .ProgressBar--color--yellow{border:.0833333333em solid #bfa303!important}.theme-light .ProgressBar--color--yellow .ProgressBar__fill{background-color:#bfa303}.theme-light .ProgressBar--color--olive{border:.0833333333em solid #889912!important}.theme-light .ProgressBar--color--olive .ProgressBar__fill{background-color:#889912}.theme-light .ProgressBar--color--green{border:.0833333333em solid #188532!important}.theme-light .ProgressBar--color--green .ProgressBar__fill{background-color:#188532}.theme-light .ProgressBar--color--teal{border:.0833333333em solid #008882!important}.theme-light .ProgressBar--color--teal .ProgressBar__fill{background-color:#008882}.theme-light .ProgressBar--color--blue{border:.0833333333em solid #19649c!important}.theme-light .ProgressBar--color--blue .ProgressBar__fill{background-color:#19649c}.theme-light .ProgressBar--color--violet{border:.0833333333em solid #4b2897!important}.theme-light .ProgressBar--color--violet .ProgressBar__fill{background-color:#4b2897}.theme-light .ProgressBar--color--purple{border:.0833333333em solid #7a2696!important}.theme-light .ProgressBar--color--purple .ProgressBar__fill{background-color:#7a2696}.theme-light .ProgressBar--color--pink{border:.0833333333em solid #b61d73!important}.theme-light .ProgressBar--color--pink .ProgressBar__fill{background-color:#b61d73}.theme-light .ProgressBar--color--brown{border:.0833333333em solid #7c4d2f!important}.theme-light .ProgressBar--color--brown .ProgressBar__fill{background-color:#7c4d2f}.theme-light .ProgressBar--color--grey{border:.0833333333em solid #bfbfbf!important}.theme-light .ProgressBar--color--grey .ProgressBar__fill{background-color:#bfbfbf}.theme-light .ProgressBar--color--good{border:.0833333333em solid #44801d!important}.theme-light .ProgressBar--color--good .ProgressBar__fill{background-color:#44801d}.theme-light .ProgressBar--color--average{border:.0833333333em solid #b56b0b!important}.theme-light .ProgressBar--color--average .ProgressBar__fill{background-color:#b56b0b}.theme-light .ProgressBar--color--bad{border:.0833333333em solid #a61c1c!important}.theme-light .ProgressBar--color--bad .ProgressBar__fill{background-color:#a61c1c}.theme-light .ProgressBar--color--label{border:.0833333333em solid #2c2c2c!important}.theme-light .ProgressBar--color--label .ProgressBar__fill{background-color:#2c2c2c}.theme-light .ProgressBar--color--gold{border:.0833333333em solid #bd810b!important}.theme-light .ProgressBar--color--gold .ProgressBar__fill{background-color:#bd810b}.theme-light .Chat{color:#000}.theme-light .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-light .Chat__badge:before{content:"x"}.theme-light .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-light .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-light .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-light .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#fff}.theme-light .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-light .Chat__highlight{color:#000}.theme-light .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-light .ChatMessage{word-wrap:break-word}.theme-light .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-light .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-light html,.theme-light body{scrollbar-color:#a7a7a7 #f2f2f2}.theme-light .Layout,.theme-light .Layout *{scrollbar-base-color:#f2f2f2;scrollbar-face-color:#d6d6d6;scrollbar-3dlight-color:#eee;scrollbar-highlight-color:#eee;scrollbar-track-color:#f2f2f2;scrollbar-arrow-color:#777;scrollbar-shadow-color:#d6d6d6}.theme-light .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-light .Layout__content--flexRow{display:flex;flex-flow:row}.theme-light .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-light .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-light .Layout__content--noMargin{margin:0}.theme-light .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#000;background-color:#eee;background-image:linear-gradient(to bottom,#eee,#eee)}.theme-light .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-light .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-light .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-light .Window__contentPadding:after{height:0}.theme-light .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-light .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(252,252,252,.25);pointer-events:none}.theme-light .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-light .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-light .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-light .TitleBar{background-color:#eee;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-light .TitleBar__clickable{color:rgba(0,0,0,.5);background-color:#eee;transition:color .25s,background-color .25s}.theme-light .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-light .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(0,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-light .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-light .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-light .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-light .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-light a,.theme-light h1,.theme-light h2,.theme-light h3,.theme-light h4,.theme-light h5,.theme-light h6{color:#00f}.theme-light .motd,.theme-light .motd h1,.theme-light .motd h2,.theme-light .motd h3,.theme-light .motd h4,.theme-light .motd h5,.theme-light .motd h6,.theme-light .motd a,.theme-light .motd a:link,.theme-light .motd a:active,.theme-light .motd a:hover{color:#638500}.theme-light .looc{color:#69c}.theme-light .discordpm{color:#00f}.theme-light .debug{color:#6d2f83}.theme-light .deadsay{color:#5c00e6}.theme-light .darkmblue{color:#00f}.theme-light .mentorhelp{color:#07b}.theme-light .mentor_channel{color:#775bff}.theme-light .mentor_channel_admin{color:#a35cff}.theme-light .adminhelp{color:#a00}.theme-light .adminticket{color:#3e7336}.theme-light .adminticketalt{color:#014c8a}.theme-light .admin_channel{color:#9a04d1}.theme-light .all_admin_ping{color:#12a5f4}.theme-light .dev_channel{color:#126719}.theme-light .dev_channel_admin{color:#26a419}.theme-light .radio{color:#408010}.theme-light .deptradio{color:#939}.theme-light .comradio{color:#204090}.theme-light .syndradio{color:#6d3f40}.theme-light .dsquadradio{color:#686868}.theme-light .airadio{color:#f0f}.theme-light .centradio{color:#5c5c7c}.theme-light .secradio{color:#a30000}.theme-light .engradio{color:#a66300}.theme-light .medradio{color:#009190}.theme-light .sciradio{color:#939}.theme-light .supradio{color:#7f6539}.theme-light .srvradio{color:#80a000}.theme-light .proradio{color:#e3027a}.theme-light .alert{color:red}.theme-light h1.alert,.theme-light h2.alert{color:#000}.theme-light .ghostalert{color:#5c00e6}.theme-light .warning,.theme-light .boldwarning,.theme-light .danger,.theme-light .userdanger{color:red}.theme-light .notice,.theme-light .boldnotice{color:#009}.theme-light .announcement h1,.theme-light .announcement h2{color:#000}.theme-light .boldannounceic,.theme-light .boldannounceooc{color:red}.theme-light .pr_announce{color:#228b22}.theme-light .greenannounce{color:#0f0}.theme-light .alien{color:#543354}.theme-light .terrorspider{color:#320e32}.theme-light .dantalion{color:#6a2148}.theme-light .revennotice,.theme-light .revenbignotice{color:#1d2953}.theme-light .changeling{color:purple}.theme-light .cultspeech{color:#7f0000}.theme-light .cultitalic,.theme-light .cultlarge,.theme-light .narsie,.theme-light .narsiesmall{color:#960000}.theme-light .rose{color:#ff5050}.theme-light .interface{color:#303}.theme-light .purple{color:#5e2d79}.theme-light .orange{color:orange}.theme-light .healthscan_oxy{color:#0074bd}.theme-light .specialnotice{color:#36525e}.theme-light .whisper{color:#333}.theme-light span.body .codephrases{color:#00f}.theme-light span.body .coderesponses{color:red}.theme-light .oxygen{color:#006adb}.theme-light .nitrogen{color:#d00a06}.theme-light .carbon_dioxide{color:#1f1f1f}.theme-light .plasma{color:#853c00}.theme-light .sleeping_agent{color:#e82f2c}.theme-light .agent_b{color:#004d4d}.theme-light .boxed_message{background:#f2f7ff;border-color:rgba(16,48,112,.5)}.theme-light .boxed_message.red_border{background:#fff2f2;border-color:rgba(255,0,0,.5)}.theme-light .boxed_message.green_border{background:#f2fff7;border-color:rgba(0,168,0,.5)}.theme-light .boxed_message.purple_border{background:#f7f2ff;border-color:rgba(85,0,255,.5)}.theme-light .boxed_message.notice_border{background:#f2f7ff;border-color:rgba(0,64,255,.5)}.theme-ntos .color-black{color:#1a1a1a!important}.theme-ntos .color-white{color:#fff!important}.theme-ntos .color-red{color:#df3e3e!important}.theme-ntos .color-orange{color:#f37f33!important}.theme-ntos .color-yellow{color:#fbda21!important}.theme-ntos .color-olive{color:#cbe41c!important}.theme-ntos .color-green{color:#25ca4c!important}.theme-ntos .color-teal{color:#00d6cc!important}.theme-ntos .color-blue{color:#2e93de!important}.theme-ntos .color-violet{color:#7349cf!important}.theme-ntos .color-purple{color:#ad45d0!important}.theme-ntos .color-pink{color:#e34da1!important}.theme-ntos .color-brown{color:#b97447!important}.theme-ntos .color-grey{color:#848484!important}.theme-ntos .color-good{color:#68c22d!important}.theme-ntos .color-average{color:#f29a29!important}.theme-ntos .color-bad{color:#df3e3e!important}.theme-ntos .color-label{color:#8b9bb0!important}.theme-ntos .color-gold{color:#f3b22f!important}.theme-ntos .color-bg-black{background-color:#000!important}.theme-ntos .color-bg-white{background-color:#d9d9d9!important}.theme-ntos .color-bg-red{background-color:#bd2020!important}.theme-ntos .color-bg-orange{background-color:#d95e0c!important}.theme-ntos .color-bg-yellow{background-color:#d9b804!important}.theme-ntos .color-bg-olive{background-color:#9aad14!important}.theme-ntos .color-bg-green{background-color:#1b9638!important}.theme-ntos .color-bg-teal{background-color:#009a93!important}.theme-ntos .color-bg-blue{background-color:#1c71b1!important}.theme-ntos .color-bg-violet{background-color:#552dab!important}.theme-ntos .color-bg-purple{background-color:#8b2baa!important}.theme-ntos .color-bg-pink{background-color:#cf2082!important}.theme-ntos .color-bg-brown{background-color:#8c5836!important}.theme-ntos .color-bg-grey{background-color:#646464!important}.theme-ntos .color-bg-good{background-color:#4d9121!important}.theme-ntos .color-bg-average{background-color:#cd7a0d!important}.theme-ntos .color-bg-bad{background-color:#bd2020!important}.theme-ntos .color-bg-label{background-color:#657a94!important}.theme-ntos .color-bg-gold{background-color:#d6920c!important}.theme-ntos .color-border-black{border-color:#1a1a1a!important}.theme-ntos .color-border-white{border-color:#fff!important}.theme-ntos .color-border-red{border-color:#df3e3e!important}.theme-ntos .color-border-orange{border-color:#f37f33!important}.theme-ntos .color-border-yellow{border-color:#fbda21!important}.theme-ntos .color-border-olive{border-color:#cbe41c!important}.theme-ntos .color-border-green{border-color:#25ca4c!important}.theme-ntos .color-border-teal{border-color:#00d6cc!important}.theme-ntos .color-border-blue{border-color:#2e93de!important}.theme-ntos .color-border-violet{border-color:#7349cf!important}.theme-ntos .color-border-purple{border-color:#ad45d0!important}.theme-ntos .color-border-pink{border-color:#e34da1!important}.theme-ntos .color-border-brown{border-color:#b97447!important}.theme-ntos .color-border-grey{border-color:#848484!important}.theme-ntos .color-border-good{border-color:#68c22d!important}.theme-ntos .color-border-average{border-color:#f29a29!important}.theme-ntos .color-border-bad{border-color:#df3e3e!important}.theme-ntos .color-border-label{border-color:#8b9bb0!important}.theme-ntos .color-border-gold{border-color:#f3b22f!important}.theme-ntos .Section{position:relative;margin-bottom:.5em;background-color:#121922;box-sizing:border-box}.theme-ntos .Section:last-child{margin-bottom:0}.theme-ntos .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #4972a1}.theme-ntos .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-ntos .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-ntos .Section__rest{position:relative}.theme-ntos .Section__content{padding:.66em .5em}.theme-ntos .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-ntos .Section--fill{display:flex;flex-direction:column;height:100%}.theme-ntos .Section--fill>.Section__rest{flex-grow:1}.theme-ntos .Section--fill>.Section__rest>.Section__content{height:100%}.theme-ntos .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-ntos .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-ntos .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-ntos .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-ntos .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-ntos .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-ntos .Section .Section:first-child{margin-top:-.5em}.theme-ntos .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-ntos .Section .Section .Section .Section__titleText{font-size:1em}.theme-ntos .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-ntos .Button:last-child{margin-right:0;margin-bottom:0}.theme-ntos .Button .fa,.theme-ntos .Button .fas,.theme-ntos .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-ntos .Button--hasContent .fa,.theme-ntos .Button--hasContent .fas,.theme-ntos .Button--hasContent .far{margin-right:.25em}.theme-ntos .Button--hasContent.Button--iconRight .fa,.theme-ntos .Button--hasContent.Button--iconRight .fas,.theme-ntos .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-ntos .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-ntos .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-ntos .Button--circular{border-radius:50%}.theme-ntos .Button--compact{padding:0 .25em;line-height:1.333em}.theme-ntos .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-ntos .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-ntos .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--black:hover{background-color:#101010;color:#fff}.theme-ntos .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-ntos .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-ntos .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-ntos .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-ntos .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-ntos .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-ntos .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-ntos .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-ntos .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-ntos .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-ntos .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-ntos .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-ntos .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-ntos .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-ntos .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-ntos .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-ntos .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-ntos .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-ntos .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-ntos .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-ntos .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-ntos .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-ntos .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-ntos .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-ntos .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-ntos .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-ntos .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-ntos .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-ntos .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--color--label{background-color:#657a94;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--label:hover{background-color:#8a9aae;color:#fff}.theme-ntos .Button--color--label--translucent{background-color:rgba(101,122,148,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--label--translucent:hover{background-color:rgba(138,154,174,.5);color:#fff}.theme-ntos .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-ntos .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-ntos .Button--color--transparent{background-color:rgba(27,38,51,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--transparent:hover{background-color:rgba(44,57,73,.81);color:#fff}.theme-ntos .Button--color--default{background-color:#384e68;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--default:hover{background-color:#4f6885;color:#fff}.theme-ntos .Button--color--default--translucent{background-color:rgba(35,47,60,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--default--translucent:hover{background-color:rgba(56,69,84,.5);color:#fff}.theme-ntos .Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-ntos .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-ntos .Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-ntos .Button--color--danger{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--color--danger:hover{background-color:#d93f3f;color:#fff}.theme-ntos .Button--color--danger--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-ntos .Button--color--danger--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-ntos .Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.theme-ntos .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-ntos .Button--selected,.theme-ntos .Button--selected--translucent{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-ntos .Button--selected:hover,.theme-ntos .Button--selected--translucent:hover{background-color:#2fb94f;color:#fff}.theme-ntos .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;color:#88bfff;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-ntos .NumberInput--fluid{display:block}.theme-ntos .NumberInput__content{margin-left:.5em}.theme-ntos .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-ntos .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #88bfff;background-color:#88bfff}.theme-ntos .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-ntos .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-ntos .Input--disabled{color:#777;border-color:#848484;border-color:rgba(132,132,132,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-ntos .Input--fluid{display:block;width:auto}.theme-ntos .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-ntos .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-ntos .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-ntos .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-ntos .TextArea{position:relative;display:inline-block;border:.0833333333em solid #88bfff;border:.0833333333em solid rgba(136,191,255,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-ntos .TextArea--fluid{display:block;width:auto;height:auto}.theme-ntos .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-ntos .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-ntos .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-ntos .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-ntos .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-ntos .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-ntos .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-ntos .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-ntos .Knob__popupValue,.theme-ntos .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .Knob__popupValue--right{top:.25rem;right:-50%}.theme-ntos .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-ntos .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-ntos .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-ntos .Knob__ringFillPivot{transform:rotate(135deg)}.theme-ntos .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-ntos .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-ntos .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-ntos .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-ntos .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-ntos .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-ntos .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-ntos .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-ntos .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-ntos .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-ntos .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-ntos .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-ntos .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-ntos .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-ntos .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-ntos .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-ntos .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-ntos .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-ntos .Knob--color--label .Knob__ringFill{stroke:#8b9bb0}.theme-ntos .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-ntos .Slider:not(.Slider__disabled){cursor:e-resize}.theme-ntos .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-ntos .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-ntos .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-ntos .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-ntos .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-ntos .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-ntos .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-ntos .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-ntos .ProgressBar--color--default{border:.0833333333em solid #3e6189}.theme-ntos .ProgressBar--color--default .ProgressBar__fill{background-color:#3e6189}.theme-ntos .ProgressBar--color--disabled{border:1px solid #999}.theme-ntos .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-ntos .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-ntos .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-ntos .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-ntos .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-ntos .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-ntos .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-ntos .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-ntos .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-ntos .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-ntos .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-ntos .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-ntos .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-ntos .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-ntos .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-ntos .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-ntos .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-ntos .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-ntos .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-ntos .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-ntos .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-ntos .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-ntos .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-ntos .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-ntos .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-ntos .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-ntos .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-ntos .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-ntos .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-ntos .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-ntos .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-ntos .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-ntos .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-ntos .ProgressBar--color--label{border:.0833333333em solid #657a94!important}.theme-ntos .ProgressBar--color--label .ProgressBar__fill{background-color:#657a94}.theme-ntos .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-ntos .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-ntos .Chat{color:#abc6ec}.theme-ntos .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-ntos .Chat__badge:before{content:"x"}.theme-ntos .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-ntos .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-ntos .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-ntos .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#121922}.theme-ntos .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-ntos .Chat__highlight{color:#000}.theme-ntos .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-ntos .ChatMessage{word-wrap:break-word}.theme-ntos .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-ntos .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-ntos html,.theme-ntos body{scrollbar-color:#2a3b4f #141d26}.theme-ntos .Layout,.theme-ntos .Layout *{scrollbar-base-color:#141d26;scrollbar-face-color:#2a3b4f;scrollbar-3dlight-color:#1b2633;scrollbar-highlight-color:#1b2633;scrollbar-track-color:#141d26;scrollbar-arrow-color:#7290b4;scrollbar-shadow-color:#2a3b4f}.theme-ntos .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-ntos .Layout__content--flexRow{display:flex;flex-flow:row}.theme-ntos .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-ntos .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-ntos .Layout__content--noMargin{margin:0}.theme-ntos .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#1b2633;background-image:linear-gradient(to bottom,#1b2633,#1b2633)}.theme-ntos .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-ntos .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-ntos .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-ntos .Window__contentPadding:after{height:0}.theme-ntos .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-ntos .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(50,63,78,.25);pointer-events:none}.theme-ntos .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-ntos .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-ntos .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-ntos .TitleBar{background-color:#1b2633;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-ntos .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#1b2633;transition:color .25s,background-color .25s}.theme-ntos .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-ntos .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-ntos .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-ntos .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-ntos .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-ntos .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-ntos .boxed_message{background:#1d2330}.theme-ntos .boxed_message.red_border{background:#301d1d}.theme-ntos .boxed_message.green_border{background:#1d3023}.theme-ntos .boxed_message.purple_border{background:#231d30}.theme-ntos .boxed_message.notice_border{background:#192234}.theme-syndicate .color-black{color:#1a1a1a!important}.theme-syndicate .color-white{color:#fff!important}.theme-syndicate .color-red{color:#df3e3e!important}.theme-syndicate .color-orange{color:#f37f33!important}.theme-syndicate .color-yellow{color:#fbda21!important}.theme-syndicate .color-olive{color:#cbe41c!important}.theme-syndicate .color-green{color:#25ca4c!important}.theme-syndicate .color-teal{color:#00d6cc!important}.theme-syndicate .color-blue{color:#2e93de!important}.theme-syndicate .color-violet{color:#7349cf!important}.theme-syndicate .color-purple{color:#ad45d0!important}.theme-syndicate .color-pink{color:#e34da1!important}.theme-syndicate .color-brown{color:#b97447!important}.theme-syndicate .color-grey{color:#848484!important}.theme-syndicate .color-good{color:#68c22d!important}.theme-syndicate .color-average{color:#f29a29!important}.theme-syndicate .color-bad{color:#df3e3e!important}.theme-syndicate .color-label{color:#b89797!important}.theme-syndicate .color-gold{color:#f3b22f!important}.theme-syndicate .color-bg-black{background-color:#000!important}.theme-syndicate .color-bg-white{background-color:#d9d9d9!important}.theme-syndicate .color-bg-red{background-color:#bd2020!important}.theme-syndicate .color-bg-orange{background-color:#d95e0c!important}.theme-syndicate .color-bg-yellow{background-color:#d9b804!important}.theme-syndicate .color-bg-olive{background-color:#9aad14!important}.theme-syndicate .color-bg-green{background-color:#1b9638!important}.theme-syndicate .color-bg-teal{background-color:#009a93!important}.theme-syndicate .color-bg-blue{background-color:#1c71b1!important}.theme-syndicate .color-bg-violet{background-color:#552dab!important}.theme-syndicate .color-bg-purple{background-color:#8b2baa!important}.theme-syndicate .color-bg-pink{background-color:#cf2082!important}.theme-syndicate .color-bg-brown{background-color:#8c5836!important}.theme-syndicate .color-bg-grey{background-color:#646464!important}.theme-syndicate .color-bg-good{background-color:#4d9121!important}.theme-syndicate .color-bg-average{background-color:#cd7a0d!important}.theme-syndicate .color-bg-bad{background-color:#bd2020!important}.theme-syndicate .color-bg-label{background-color:#9d6f6f!important}.theme-syndicate .color-bg-gold{background-color:#d6920c!important}.theme-syndicate .color-border-black{border-color:#1a1a1a!important}.theme-syndicate .color-border-white{border-color:#fff!important}.theme-syndicate .color-border-red{border-color:#df3e3e!important}.theme-syndicate .color-border-orange{border-color:#f37f33!important}.theme-syndicate .color-border-yellow{border-color:#fbda21!important}.theme-syndicate .color-border-olive{border-color:#cbe41c!important}.theme-syndicate .color-border-green{border-color:#25ca4c!important}.theme-syndicate .color-border-teal{border-color:#00d6cc!important}.theme-syndicate .color-border-blue{border-color:#2e93de!important}.theme-syndicate .color-border-violet{border-color:#7349cf!important}.theme-syndicate .color-border-purple{border-color:#ad45d0!important}.theme-syndicate .color-border-pink{border-color:#e34da1!important}.theme-syndicate .color-border-brown{border-color:#b97447!important}.theme-syndicate .color-border-grey{border-color:#848484!important}.theme-syndicate .color-border-good{border-color:#68c22d!important}.theme-syndicate .color-border-average{border-color:#f29a29!important}.theme-syndicate .color-border-bad{border-color:#df3e3e!important}.theme-syndicate .color-border-label{border-color:#b89797!important}.theme-syndicate .color-border-gold{border-color:#f3b22f!important}.theme-syndicate .Section{position:relative;margin-bottom:.5em;background-color:#2b0101;box-sizing:border-box}.theme-syndicate .Section:last-child{margin-bottom:0}.theme-syndicate .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #397439}.theme-syndicate .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-syndicate .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-syndicate .Section__rest{position:relative}.theme-syndicate .Section__content{padding:.66em .5em}.theme-syndicate .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-syndicate .Section--fill{display:flex;flex-direction:column;height:100%}.theme-syndicate .Section--fill>.Section__rest{flex-grow:1}.theme-syndicate .Section--fill>.Section__rest>.Section__content{height:100%}.theme-syndicate .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-syndicate .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-syndicate .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-syndicate .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-syndicate .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-syndicate .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-syndicate .Section .Section:first-child{margin-top:-.5em}.theme-syndicate .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-syndicate .Section .Section .Section .Section__titleText{font-size:1em}.theme-syndicate .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-syndicate .Button:last-child{margin-right:0;margin-bottom:0}.theme-syndicate .Button .fa,.theme-syndicate .Button .fas,.theme-syndicate .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-syndicate .Button--hasContent .fa,.theme-syndicate .Button--hasContent .fas,.theme-syndicate .Button--hasContent .far{margin-right:.25em}.theme-syndicate .Button--hasContent.Button--iconRight .fa,.theme-syndicate .Button--hasContent.Button--iconRight .fas,.theme-syndicate .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-syndicate .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-syndicate .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-syndicate .Button--circular{border-radius:50%}.theme-syndicate .Button--compact{padding:0 .25em;line-height:1.333em}.theme-syndicate .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-syndicate .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-syndicate .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--black:hover{background-color:#101010;color:#fff}.theme-syndicate .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-syndicate .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-syndicate .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-syndicate .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-syndicate .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-syndicate .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-syndicate .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-syndicate .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-syndicate .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-syndicate .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-syndicate .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-syndicate .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-syndicate .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-syndicate .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-syndicate .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-syndicate .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-syndicate .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-syndicate .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-syndicate .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-syndicate .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-syndicate .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-syndicate .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-syndicate .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-syndicate .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-syndicate .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-syndicate .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-syndicate .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-syndicate .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-syndicate .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-syndicate .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-syndicate .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-syndicate .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-syndicate .Button--color--label{background-color:#9d6f6f;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--label:hover{background-color:#b89696;color:#fff}.theme-syndicate .Button--color--label--translucent{background-color:rgba(157,111,111,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--label--translucent:hover{background-color:rgba(184,150,150,.5);color:#fff}.theme-syndicate .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-syndicate .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-syndicate .Button--color--transparent{background-color:rgba(77,2,2,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--transparent:hover{background-color:rgba(103,14,14,.81);color:#fff}.theme-syndicate .Button--color--default{background-color:#397439;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--default:hover{background-color:#509350;color:#fff}.theme-syndicate .Button--color--default--translucent{background-color:rgba(88,8,8,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--default--translucent:hover{background-color:rgba(115,25,25,.5);color:#fff}.theme-syndicate .Button--color--caution{background-color:#be6209;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--caution:hover{background-color:#e67f1a;color:#fff}.theme-syndicate .Button--color--caution--translucent{background-color:rgba(190,98,9,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--caution--translucent:hover{background-color:rgba(230,127,26,.5);color:#fff}.theme-syndicate .Button--color--danger{background-color:#9a9d00;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--color--danger:hover{background-color:#bec110;color:#fff}.theme-syndicate .Button--color--danger--translucent{background-color:rgba(154,157,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-syndicate .Button--color--danger--translucent:hover{background-color:rgba(190,193,16,.5);color:#fff}.theme-syndicate .Button--disabled{background-color:#363636!important;color:rgba(255,255,255,.75)!important}.theme-syndicate .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-syndicate .Button--selected,.theme-syndicate .Button--selected--translucent{background-color:#9d0808;color:#fff;transition:color .2s,background-color .2s}.theme-syndicate .Button--selected:hover,.theme-syndicate .Button--selected--translucent:hover{background-color:#c11919;color:#fff}.theme-syndicate .NoticeBox{padding:.33em .5em;margin-bottom:.5em;box-shadow:none;font-weight:700;font-style:italic;color:#fff;background-color:#910101;background-image:repeating-linear-gradient(-45deg,transparent,transparent .8333333333em,rgba(0,0,0,.1) .8333333333em,rgba(0,0,0,.1) 1.6666666667em)}.theme-syndicate .NoticeBox--color--black{color:#fff;background-color:#000}.theme-syndicate .NoticeBox--color--white{color:#000;background-color:#b3b3b3}.theme-syndicate .NoticeBox--color--red{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--orange{color:#fff;background-color:#854114}.theme-syndicate .NoticeBox--color--yellow{color:#000;background-color:#83710d}.theme-syndicate .NoticeBox--color--olive{color:#000;background-color:#576015}.theme-syndicate .NoticeBox--color--green{color:#fff;background-color:#174e24}.theme-syndicate .NoticeBox--color--teal{color:#fff;background-color:#064845}.theme-syndicate .NoticeBox--color--blue{color:#fff;background-color:#1b4565}.theme-syndicate .NoticeBox--color--violet{color:#fff;background-color:#3b2864}.theme-syndicate .NoticeBox--color--purple{color:#fff;background-color:#542663}.theme-syndicate .NoticeBox--color--pink{color:#fff;background-color:#802257}.theme-syndicate .NoticeBox--color--brown{color:#fff;background-color:#4c3729}.theme-syndicate .NoticeBox--color--grey{color:#fff;background-color:#3e3e3e}.theme-syndicate .NoticeBox--color--good{color:#fff;background-color:#2e4b1a}.theme-syndicate .NoticeBox--color--average{color:#fff;background-color:#7b4e13}.theme-syndicate .NoticeBox--color--bad{color:#fff;background-color:#701f1f}.theme-syndicate .NoticeBox--color--label{color:#fff;background-color:#635c5c}.theme-syndicate .NoticeBox--color--gold{color:#fff;background-color:#825d13}.theme-syndicate .NoticeBox--type--info{color:#fff;background-color:#235982}.theme-syndicate .NoticeBox--type--success{color:#fff;background-color:#1e662f}.theme-syndicate .NoticeBox--type--warning{color:#fff;background-color:#a95219}.theme-syndicate .NoticeBox--type--danger{color:#fff;background-color:#8f2828}.theme-syndicate .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;color:#87ce87;background-color:#0a0a0a;padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-syndicate .NumberInput--fluid{display:block}.theme-syndicate .NumberInput__content{margin-left:.5em}.theme-syndicate .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-syndicate .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #87ce87;background-color:#87ce87}.theme-syndicate .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:#0a0a0a;color:#fff;text-align:right}.theme-syndicate .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-syndicate .Input--disabled{color:#777;border-color:#6b6b6b;border-color:rgba(107,107,107,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-syndicate .Input--fluid{display:block;width:auto}.theme-syndicate .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-syndicate .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-syndicate .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-syndicate .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-syndicate .TextArea{position:relative;display:inline-block;border:.0833333333em solid #87ce87;border:.0833333333em solid rgba(135,206,135,.75);border-radius:.16em;background-color:#0a0a0a;margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-syndicate .TextArea--fluid{display:block;width:auto;height:auto}.theme-syndicate .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-syndicate .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-syndicate .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-syndicate .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-syndicate .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-syndicate .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-syndicate .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-syndicate .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-syndicate .Knob__popupValue,.theme-syndicate .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .Knob__popupValue--right{top:.25rem;right:-50%}.theme-syndicate .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-syndicate .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-syndicate .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-syndicate .Knob__ringFillPivot{transform:rotate(135deg)}.theme-syndicate .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-syndicate .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-syndicate .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-syndicate .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-syndicate .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-syndicate .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-syndicate .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-syndicate .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-syndicate .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-syndicate .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-syndicate .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-syndicate .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-syndicate .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-syndicate .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-syndicate .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-syndicate .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-syndicate .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-syndicate .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-syndicate .Knob--color--label .Knob__ringFill{stroke:#b89797}.theme-syndicate .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-syndicate .Slider:not(.Slider__disabled){cursor:e-resize}.theme-syndicate .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-syndicate .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-syndicate .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-syndicate .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-syndicate .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,.5);transition:border-color .5s}.theme-syndicate .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-syndicate .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-syndicate .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-syndicate .ProgressBar--color--default{border:.0833333333em solid #306330}.theme-syndicate .ProgressBar--color--default .ProgressBar__fill{background-color:#306330}.theme-syndicate .ProgressBar--color--disabled{border:1px solid #999}.theme-syndicate .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-syndicate .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-syndicate .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-syndicate .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-syndicate .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-syndicate .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-syndicate .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-syndicate .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-syndicate .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-syndicate .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-syndicate .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-syndicate .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-syndicate .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-syndicate .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-syndicate .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-syndicate .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-syndicate .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-syndicate .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-syndicate .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-syndicate .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-syndicate .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-syndicate .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-syndicate .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-syndicate .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-syndicate .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-syndicate .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-syndicate .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-syndicate .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-syndicate .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-syndicate .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-syndicate .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-syndicate .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-syndicate .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-syndicate .ProgressBar--color--label{border:.0833333333em solid #9d6f6f!important}.theme-syndicate .ProgressBar--color--label .ProgressBar__fill{background-color:#9d6f6f}.theme-syndicate .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-syndicate .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-syndicate .Chat{color:#abc6ec}.theme-syndicate .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-syndicate .Chat__badge:before{content:"x"}.theme-syndicate .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-syndicate .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-syndicate .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-syndicate .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#db2828;background-color:#2b0101}.theme-syndicate .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-syndicate .Chat__highlight{color:#000}.theme-syndicate .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-syndicate .ChatMessage{word-wrap:break-word}.theme-syndicate .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-syndicate .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-syndicate html,.theme-syndicate body{scrollbar-color:#770303 #3a0202}.theme-syndicate .Layout,.theme-syndicate .Layout *{scrollbar-base-color:#3a0202;scrollbar-face-color:#770303;scrollbar-3dlight-color:#4d0202;scrollbar-highlight-color:#4d0202;scrollbar-track-color:#3a0202;scrollbar-arrow-color:#fa2d2d;scrollbar-shadow-color:#770303}.theme-syndicate .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-syndicate .Layout__content--flexRow{display:flex;flex-flow:row}.theme-syndicate .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-syndicate .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-syndicate .Layout__content--noMargin{margin:0}.theme-syndicate .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#4d0202;background-image:linear-gradient(to bottom,#4d0202,#4d0202)}.theme-syndicate .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-syndicate .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-syndicate .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-syndicate .Window__contentPadding:after{height:0}.theme-syndicate .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-syndicate .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(108,22,22,.25);pointer-events:none}.theme-syndicate .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-syndicate .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-syndicate .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-syndicate .TitleBar{background-color:#910101;border-bottom:1px solid #161616;box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-syndicate .TitleBar__clickable{color:rgba(255,255,255,.5);background-color:#910101;transition:color .25s,background-color .25s}.theme-syndicate .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-syndicate .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,255,255,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-syndicate .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-syndicate .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-syndicate .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-syndicate .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-syndicate .adminooc{color:#29ccbe}.theme-syndicate .debug{color:#8f39e6}.theme-syndicate .boxed_message{background:#360a0a}.theme-syndicate .boxed_message.red_border{background:#400000}.theme-syndicate .boxed_message.green_border{background:#261a00}.theme-syndicate .boxed_message.purple_border{background:#260026}.theme-syndicate .boxed_message.notice_border{background:#260016}.theme-paradise .color-black{color:#1a1a1a!important}.theme-paradise .color-white{color:#fff!important}.theme-paradise .color-red{color:#df3e3e!important}.theme-paradise .color-orange{color:#f37f33!important}.theme-paradise .color-yellow{color:#fbda21!important}.theme-paradise .color-olive{color:#cbe41c!important}.theme-paradise .color-green{color:#25ca4c!important}.theme-paradise .color-teal{color:#00d6cc!important}.theme-paradise .color-blue{color:#2e93de!important}.theme-paradise .color-violet{color:#7349cf!important}.theme-paradise .color-purple{color:#ad45d0!important}.theme-paradise .color-pink{color:#e34da1!important}.theme-paradise .color-brown{color:#b97447!important}.theme-paradise .color-grey{color:#848484!important}.theme-paradise .color-good{color:#68c22d!important}.theme-paradise .color-average{color:#f29a29!important}.theme-paradise .color-bad{color:#df3e3e!important}.theme-paradise .color-label{color:#b8a497!important}.theme-paradise .color-gold{color:#f3b22f!important}.theme-paradise .color-bg-black{background-color:#000!important}.theme-paradise .color-bg-white{background-color:#d9d9d9!important}.theme-paradise .color-bg-red{background-color:#bd2020!important}.theme-paradise .color-bg-orange{background-color:#d95e0c!important}.theme-paradise .color-bg-yellow{background-color:#d9b804!important}.theme-paradise .color-bg-olive{background-color:#9aad14!important}.theme-paradise .color-bg-green{background-color:#1b9638!important}.theme-paradise .color-bg-teal{background-color:#009a93!important}.theme-paradise .color-bg-blue{background-color:#1c71b1!important}.theme-paradise .color-bg-violet{background-color:#552dab!important}.theme-paradise .color-bg-purple{background-color:#8b2baa!important}.theme-paradise .color-bg-pink{background-color:#cf2082!important}.theme-paradise .color-bg-brown{background-color:#8c5836!important}.theme-paradise .color-bg-grey{background-color:#646464!important}.theme-paradise .color-bg-good{background-color:#4d9121!important}.theme-paradise .color-bg-average{background-color:#cd7a0d!important}.theme-paradise .color-bg-bad{background-color:#bd2020!important}.theme-paradise .color-bg-label{background-color:#9d826f!important}.theme-paradise .color-bg-gold{background-color:#d6920c!important}.theme-paradise .color-border-black{border-color:#1a1a1a!important}.theme-paradise .color-border-white{border-color:#fff!important}.theme-paradise .color-border-red{border-color:#df3e3e!important}.theme-paradise .color-border-orange{border-color:#f37f33!important}.theme-paradise .color-border-yellow{border-color:#fbda21!important}.theme-paradise .color-border-olive{border-color:#cbe41c!important}.theme-paradise .color-border-green{border-color:#25ca4c!important}.theme-paradise .color-border-teal{border-color:#00d6cc!important}.theme-paradise .color-border-blue{border-color:#2e93de!important}.theme-paradise .color-border-violet{border-color:#7349cf!important}.theme-paradise .color-border-purple{border-color:#ad45d0!important}.theme-paradise .color-border-pink{border-color:#e34da1!important}.theme-paradise .color-border-brown{border-color:#b97447!important}.theme-paradise .color-border-grey{border-color:#848484!important}.theme-paradise .color-border-good{border-color:#68c22d!important}.theme-paradise .color-border-average{border-color:#f29a29!important}.theme-paradise .color-border-bad{border-color:#df3e3e!important}.theme-paradise .color-border-label{border-color:#b8a497!important}.theme-paradise .color-border-gold{border-color:#f3b22f!important}.theme-paradise .Section{position:relative;margin-bottom:.5em;background-color:#40071a;background-color:rgba(0,0,0,.5);box-sizing:border-box}.theme-paradise .Section:last-child{margin-bottom:0}.theme-paradise .Section__title{position:relative;padding:.5em;border-bottom:.1666666667em solid #208080}.theme-paradise .Section__titleText{font-size:1.1666666667em;font-weight:700;color:#fff}.theme-paradise .Section__buttons{position:absolute;display:inline-block;right:.5em;margin-top:-.0833333333em}.theme-paradise .Section__rest{position:relative}.theme-paradise .Section__content{padding:.66em .5em}.theme-paradise .Section--fitted>.Section__rest>.Section__content{padding:0}.theme-paradise .Section--fill{display:flex;flex-direction:column;height:100%}.theme-paradise .Section--fill>.Section__rest{flex-grow:1}.theme-paradise .Section--fill>.Section__rest>.Section__content{height:100%}.theme-paradise .Section--fill.Section--scrollable>.Section__rest>.Section__content{position:absolute;top:0;left:0;right:0;bottom:0}.theme-paradise .Section--fill.Section--iefix{display:table!important;width:100%!important;height:100%!important;border-collapse:collapse;border-spacing:0}.theme-paradise .Section--fill.Section--iefix>.Section__rest{display:table-row!important;height:100%!important}.theme-paradise .Section--scrollable{overflow-x:hidden;overflow-y:hidden}.theme-paradise .Section--scrollable>.Section__rest>.Section__content{overflow-y:auto;overflow-x:hidden}.theme-paradise .Section .Section{background-color:rgba(0,0,0,0);margin-left:-.5em;margin-right:-.5em}.theme-paradise .Section .Section:first-child{margin-top:-.5em}.theme-paradise .Section .Section .Section__titleText{font-size:1.0833333333em}.theme-paradise .Section .Section .Section .Section__titleText{font-size:1em}.theme-paradise .Button{position:relative;display:inline-block;line-height:1.667em;padding:0 .5em;margin-right:.1666666667em;white-space:nowrap;outline:0;border-radius:.16em;margin-bottom:.1666666667em;user-select:none;-ms-user-select:none}.theme-paradise .Button:last-child{margin-right:0;margin-bottom:0}.theme-paradise .Button .fa,.theme-paradise .Button .fas,.theme-paradise .Button .far{margin-left:-.25em;margin-right:-.25em;min-width:1.333em;text-align:center}.theme-paradise .Button--hasContent .fa,.theme-paradise .Button--hasContent .fas,.theme-paradise .Button--hasContent .far{margin-right:.25em}.theme-paradise .Button--hasContent.Button--iconRight .fa,.theme-paradise .Button--hasContent.Button--iconRight .fas,.theme-paradise .Button--hasContent.Button--iconRight .far{margin-right:0;margin-left:.25em}.theme-paradise .Button--ellipsis{overflow:hidden;text-overflow:ellipsis}.theme-paradise .Button--fluid{display:block;margin-left:0;margin-right:0}.theme-paradise .Button--circular{border-radius:50%}.theme-paradise .Button--compact{padding:0 .25em;line-height:1.333em}.theme-paradise .Button--multiLine{white-space:normal;word-wrap:break-word}.theme-paradise .Button--modal{float:right;z-index:1;margin-top:-.5rem}.theme-paradise .Button--color--black{background-color:#000;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--black:hover{background-color:#101010;color:#fff}.theme-paradise .Button--color--black--translucent{background-color:rgba(0,0,0,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--black--translucent:hover{background-color:rgba(16,16,16,.5);color:#fff}.theme-paradise .Button--color--white{background-color:#d9d9d9;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--white:hover{background-color:#f8f8f8;color:#000}.theme-paradise .Button--color--white--translucent{background-color:rgba(217,217,217,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--white--translucent:hover{background-color:rgba(248,248,248,.5);color:#fff}.theme-paradise .Button--color--red{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--red:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--red--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--red--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-paradise .Button--color--orange{background-color:#d95e0c;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--orange:hover{background-color:#ef7e33;color:#fff}.theme-paradise .Button--color--orange--translucent{background-color:rgba(217,94,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--orange--translucent:hover{background-color:rgba(239,126,51,.5);color:#fff}.theme-paradise .Button--color--yellow{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--yellow:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--yellow--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--yellow--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-paradise .Button--color--olive{background-color:#9aad14;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--olive:hover{background-color:#bdd327;color:#fff}.theme-paradise .Button--color--olive--translucent{background-color:rgba(154,173,20,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--olive--translucent:hover{background-color:rgba(189,211,39,.5);color:#fff}.theme-paradise .Button--color--green{background-color:#1b9638;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--green:hover{background-color:#2fb94f;color:#fff}.theme-paradise .Button--color--green--translucent{background-color:rgba(27,150,56,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--green--translucent:hover{background-color:rgba(47,185,79,.5);color:#fff}.theme-paradise .Button--color--teal{background-color:#009a93;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--teal:hover{background-color:#10bdb6;color:#fff}.theme-paradise .Button--color--teal--translucent{background-color:rgba(0,154,147,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--teal--translucent:hover{background-color:rgba(16,189,182,.5);color:#fff}.theme-paradise .Button--color--blue{background-color:#1c71b1;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--blue:hover{background-color:#308fd6;color:#fff}.theme-paradise .Button--color--blue--translucent{background-color:rgba(28,113,177,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--blue--translucent:hover{background-color:rgba(48,143,214,.5);color:#fff}.theme-paradise .Button--color--violet{background-color:#552dab;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--violet:hover{background-color:#7249ca;color:#fff}.theme-paradise .Button--color--violet--translucent{background-color:rgba(85,45,171,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--violet--translucent:hover{background-color:rgba(114,73,202,.5);color:#fff}.theme-paradise .Button--color--purple{background-color:#8b2baa;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--purple:hover{background-color:#aa46ca;color:#fff}.theme-paradise .Button--color--purple--translucent{background-color:rgba(139,43,170,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--purple--translucent:hover{background-color:rgba(170,70,202,.5);color:#fff}.theme-paradise .Button--color--pink{background-color:#cf2082;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--pink:hover{background-color:#e04ca0;color:#fff}.theme-paradise .Button--color--pink--translucent{background-color:rgba(207,32,130,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--pink--translucent:hover{background-color:rgba(224,76,160,.5);color:#fff}.theme-paradise .Button--color--brown{background-color:#8c5836;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--brown:hover{background-color:#ae724c;color:#fff}.theme-paradise .Button--color--brown--translucent{background-color:rgba(140,88,54,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--brown--translucent:hover{background-color:rgba(174,114,76,.5);color:#fff}.theme-paradise .Button--color--grey{background-color:#646464;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--grey:hover{background-color:#818181;color:#fff}.theme-paradise .Button--color--grey--translucent{background-color:rgba(100,100,100,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--grey--translucent:hover{background-color:rgba(129,129,129,.5);color:#fff}.theme-paradise .Button--color--good{background-color:#4d9121;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--good:hover{background-color:#67b335;color:#fff}.theme-paradise .Button--color--good--translucent{background-color:rgba(77,145,33,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--good--translucent:hover{background-color:rgba(103,179,53,.5);color:#fff}.theme-paradise .Button--color--average{background-color:#cd7a0d;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--average:hover{background-color:#eb972b;color:#fff}.theme-paradise .Button--color--average--translucent{background-color:rgba(205,122,13,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--average--translucent:hover{background-color:rgba(235,151,43,.5);color:#fff}.theme-paradise .Button--color--bad{background-color:#bd2020;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--bad:hover{background-color:#d93f3f;color:#fff}.theme-paradise .Button--color--bad--translucent{background-color:rgba(189,32,32,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--bad--translucent:hover{background-color:rgba(217,63,63,.5);color:#fff}.theme-paradise .Button--color--label{background-color:#9d826f;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--label:hover{background-color:#b8a396;color:#fff}.theme-paradise .Button--color--label--translucent{background-color:rgba(157,130,111,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--label--translucent:hover{background-color:rgba(184,163,150,.5);color:#fff}.theme-paradise .Button--color--gold{background-color:#d6920c;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--gold:hover{background-color:#eeaf30;color:#fff}.theme-paradise .Button--color--gold--translucent{background-color:rgba(214,146,12,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--gold--translucent:hover{background-color:rgba(238,175,48,.5);color:#fff}.theme-paradise .Button--color--transparent{background-color:rgba(128,13,51,0);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--transparent:hover{background-color:rgba(164,27,73,.81);color:#fff}.theme-paradise .Button--color--default{background-color:#208080;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--default:hover{background-color:#34a0a0;color:#fff}.theme-paradise .Button--color--default--translucent{background-color:rgba(141,20,60,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--default--translucent:hover{background-color:rgba(175,39,84,.5);color:#fff}.theme-paradise .Button--color--caution{background-color:#d9b804;color:#000;transition:color .2s,background-color .2s}.theme-paradise .Button--color--caution:hover{background-color:#f5d523;color:#000}.theme-paradise .Button--color--caution--translucent{background-color:rgba(217,184,4,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--caution--translucent:hover{background-color:rgba(245,213,35,.5);color:#fff}.theme-paradise .Button--color--danger{background-color:#8c1eff;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--color--danger:hover{background-color:#ae61ff;color:#fff}.theme-paradise .Button--color--danger--translucent{background-color:rgba(140,30,255,.33);color:rgba(255,255,255,.5);transition:color .2s,background-color .2s}.theme-paradise .Button--color--danger--translucent:hover{background-color:rgba(174,97,255,.5);color:#fff}.theme-paradise .Button--disabled{background-color:#999!important;color:rgba(255,255,255,.75)!important}.theme-paradise .Button--disabled--translucent{background-color:rgba(77,23,23,.5)!important;color:rgba(255,255,255,.5)!important}.theme-paradise .Button--selected,.theme-paradise .Button--selected--translucent{background-color:#bf6030;color:#fff;transition:color .2s,background-color .2s}.theme-paradise .Button--selected:hover,.theme-paradise .Button--selected--translucent:hover{background-color:#d4835a;color:#fff}.theme-paradise .NumberInput{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;color:#e65c2e;background-color:rgba(0,0,0,.25);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;text-align:right;overflow:visible;cursor:n-resize}.theme-paradise .NumberInput--fluid{display:block}.theme-paradise .NumberInput__content{margin-left:.5em}.theme-paradise .NumberInput__barContainer{position:absolute;top:.1666666667em;bottom:.1666666667em;left:.1666666667em}.theme-paradise .NumberInput__bar{position:absolute;bottom:0;left:0;width:.25em;box-sizing:border-box;border-bottom:.0833333333em solid #e65c2e;background-color:#e65c2e}.theme-paradise .NumberInput__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,.25);color:#fff;text-align:right}.theme-paradise .Input{position:relative;display:inline-block;width:10em;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);color:#fff;background-color:#000;background-color:rgba(0,0,0,.75);padding:0 .3333333333em;margin-right:.1666666667em;line-height:1.4166666667em;overflow:visible;white-space:nowrap}.theme-paradise .Input--disabled{color:#777;border-color:#4a4a4a;border-color:rgba(74,74,74,.75);background-color:#333;background-color:rgba(0,0,0,.25)}.theme-paradise .Input--fluid{display:block;width:auto}.theme-paradise .Input__baseline{display:inline-block;color:rgba(0,0,0,0)}.theme-paradise .Input__input{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;font-size:1em;line-height:1.4166666667em;height:1.4166666667em;margin:0;padding:0 .5em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit}.theme-paradise .Input__input::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__input:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea{border:0;width:calc(100% + 4px);font-size:1em;line-height:1.4166666667em;margin-left:-.3333333333em;font-family:Verdana,sans-serif;background-color:rgba(0,0,0,0);color:#fff;color:inherit;resize:both;overflow:auto;white-space:pre-wrap}.theme-paradise .Input__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input__textarea:-ms-input-placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .Input--monospace .Input__input{font-family:Consolas,monospace}.theme-paradise .TextArea{position:relative;display:inline-block;border:.0833333333em solid #e65c2e;border:.0833333333em solid rgba(230,92,46,.75);border-radius:.16em;background-color:rgba(0,0,0,.25);margin-right:.1666666667em;line-height:1.4166666667em;box-sizing:border-box;width:100%}.theme-paradise .TextArea--fluid{display:block;width:auto;height:auto}.theme-paradise .TextArea__textarea{display:block;position:absolute;top:0;bottom:0;left:0;right:0;border:0;outline:0;width:100%;height:100%;font-size:1em;line-height:1.4166666667em;min-height:1.4166666667em;margin:0;padding:0 .5em;font-family:inherit;background-color:rgba(0,0,0,0);color:inherit;box-sizing:border-box;word-wrap:break-word;overflow:hidden}.theme-paradise .TextArea__textarea::placeholder{font-style:italic;color:#777;color:rgba(255,255,255,.45)}.theme-paradise .TextArea__textarea:-ms-input-placeholder{font-style:italic;color:rgba(125,125,125,.75)}.theme-paradise .Knob{position:relative;font-size:1rem;width:2.6em;height:2.6em;margin:0 auto -.2em;cursor:n-resize}.theme-paradise .Knob:after{content:".";color:rgba(0,0,0,0);line-height:2.5em}.theme-paradise .Knob__circle{position:absolute;top:.1em;bottom:.1em;left:.1em;right:.1em;margin:.3em;background-color:#333;background-image:linear-gradient(to bottom,rgba(255,255,255,.15),rgba(255,255,255,0));border-radius:50%;box-shadow:0 .05em .5em rgba(0,0,0,.5)}.theme-paradise .Knob__cursorBox{position:absolute;top:0;bottom:0;left:0;right:0}.theme-paradise .Knob__cursor{position:relative;top:.05em;margin:0 auto;width:.2em;height:.8em;background-color:rgba(255,255,255,.9)}.theme-paradise .Knob__popupValue,.theme-paradise .Knob__popupValue--right{position:absolute;top:-2rem;right:50%;font-size:1rem;text-align:center;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .Knob__popupValue--right{top:.25rem;right:-50%}.theme-paradise .Knob__ring{position:absolute;top:0;bottom:0;left:0;right:0;padding:.1em}.theme-paradise .Knob__ringTrackPivot{transform:rotate(135deg)}.theme-paradise .Knob__ringTrack{fill:rgba(0,0,0,0);stroke:rgba(255,255,255,.1);stroke-width:8;stroke-linecap:round;stroke-dasharray:235.62}.theme-paradise .Knob__ringFillPivot{transform:rotate(135deg)}.theme-paradise .Knob--bipolar .Knob__ringFillPivot{transform:rotate(270deg)}.theme-paradise .Knob__ringFill{fill:rgba(0,0,0,0);stroke:#6a96c9;stroke-width:8;stroke-linecap:round;stroke-dasharray:314.16;transition:stroke 50ms}.theme-paradise .Knob--color--black .Knob__ringFill{stroke:#1a1a1a}.theme-paradise .Knob--color--white .Knob__ringFill{stroke:#fff}.theme-paradise .Knob--color--red .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--orange .Knob__ringFill{stroke:#f37f33}.theme-paradise .Knob--color--yellow .Knob__ringFill{stroke:#fbda21}.theme-paradise .Knob--color--olive .Knob__ringFill{stroke:#cbe41c}.theme-paradise .Knob--color--green .Knob__ringFill{stroke:#25ca4c}.theme-paradise .Knob--color--teal .Knob__ringFill{stroke:#00d6cc}.theme-paradise .Knob--color--blue .Knob__ringFill{stroke:#2e93de}.theme-paradise .Knob--color--violet .Knob__ringFill{stroke:#7349cf}.theme-paradise .Knob--color--purple .Knob__ringFill{stroke:#ad45d0}.theme-paradise .Knob--color--pink .Knob__ringFill{stroke:#e34da1}.theme-paradise .Knob--color--brown .Knob__ringFill{stroke:#b97447}.theme-paradise .Knob--color--grey .Knob__ringFill{stroke:#848484}.theme-paradise .Knob--color--good .Knob__ringFill{stroke:#68c22d}.theme-paradise .Knob--color--average .Knob__ringFill{stroke:#f29a29}.theme-paradise .Knob--color--bad .Knob__ringFill{stroke:#df3e3e}.theme-paradise .Knob--color--label .Knob__ringFill{stroke:#b8a497}.theme-paradise .Knob--color--gold .Knob__ringFill{stroke:#f3b22f}.theme-paradise .Slider:not(.Slider__disabled){cursor:e-resize}.theme-paradise .Slider__cursorOffset{position:absolute;top:0;left:0;bottom:0;transition:none!important}.theme-paradise .Slider__cursor{position:absolute;top:0;right:-.0833333333em;bottom:0;width:0;border-left:.1666666667em solid #fff}.theme-paradise .Slider__pointer{position:absolute;right:-.4166666667em;bottom:-.3333333333em;width:0;height:0;border-left:.4166666667em solid rgba(0,0,0,0);border-right:.4166666667em solid rgba(0,0,0,0);border-bottom:.4166666667em solid #fff}.theme-paradise .Slider__popupValue{position:absolute;right:0;top:-2rem;font-size:1rem;padding:.25rem .5rem;color:#fff;background-color:#000;transform:translate(50%);white-space:nowrap}.theme-paradise .ProgressBar{display:inline-block;position:relative;width:100%;padding:0 .5em;border-radius:.16em;background-color:rgba(0,0,0,0);transition:border-color .5s}.theme-paradise .ProgressBar__fill{position:absolute;top:-.5px;left:0;bottom:-.5px}.theme-paradise .ProgressBar__fill--animated{transition:background-color .5s,width .5s}.theme-paradise .ProgressBar__content{position:relative;line-height:1.4166666667em;width:100%;text-align:right}.theme-paradise .ProgressBar--color--default{border:.0833333333em solid #1b6d6d}.theme-paradise .ProgressBar--color--default .ProgressBar__fill{background-color:#1b6d6d}.theme-paradise .ProgressBar--color--disabled{border:1px solid #999}.theme-paradise .ProgressBar--color--disabled .ProgressBar__fill{background-color:#999}.theme-paradise .ProgressBar--color--black{border:.0833333333em solid #000!important}.theme-paradise .ProgressBar--color--black .ProgressBar__fill{background-color:#000}.theme-paradise .ProgressBar--color--white{border:.0833333333em solid #d9d9d9!important}.theme-paradise .ProgressBar--color--white .ProgressBar__fill{background-color:#d9d9d9}.theme-paradise .ProgressBar--color--red{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--red .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--orange{border:.0833333333em solid #d95e0c!important}.theme-paradise .ProgressBar--color--orange .ProgressBar__fill{background-color:#d95e0c}.theme-paradise .ProgressBar--color--yellow{border:.0833333333em solid #d9b804!important}.theme-paradise .ProgressBar--color--yellow .ProgressBar__fill{background-color:#d9b804}.theme-paradise .ProgressBar--color--olive{border:.0833333333em solid #9aad14!important}.theme-paradise .ProgressBar--color--olive .ProgressBar__fill{background-color:#9aad14}.theme-paradise .ProgressBar--color--green{border:.0833333333em solid #1b9638!important}.theme-paradise .ProgressBar--color--green .ProgressBar__fill{background-color:#1b9638}.theme-paradise .ProgressBar--color--teal{border:.0833333333em solid #009a93!important}.theme-paradise .ProgressBar--color--teal .ProgressBar__fill{background-color:#009a93}.theme-paradise .ProgressBar--color--blue{border:.0833333333em solid #1c71b1!important}.theme-paradise .ProgressBar--color--blue .ProgressBar__fill{background-color:#1c71b1}.theme-paradise .ProgressBar--color--violet{border:.0833333333em solid #552dab!important}.theme-paradise .ProgressBar--color--violet .ProgressBar__fill{background-color:#552dab}.theme-paradise .ProgressBar--color--purple{border:.0833333333em solid #8b2baa!important}.theme-paradise .ProgressBar--color--purple .ProgressBar__fill{background-color:#8b2baa}.theme-paradise .ProgressBar--color--pink{border:.0833333333em solid #cf2082!important}.theme-paradise .ProgressBar--color--pink .ProgressBar__fill{background-color:#cf2082}.theme-paradise .ProgressBar--color--brown{border:.0833333333em solid #8c5836!important}.theme-paradise .ProgressBar--color--brown .ProgressBar__fill{background-color:#8c5836}.theme-paradise .ProgressBar--color--grey{border:.0833333333em solid #646464!important}.theme-paradise .ProgressBar--color--grey .ProgressBar__fill{background-color:#646464}.theme-paradise .ProgressBar--color--good{border:.0833333333em solid #4d9121!important}.theme-paradise .ProgressBar--color--good .ProgressBar__fill{background-color:#4d9121}.theme-paradise .ProgressBar--color--average{border:.0833333333em solid #cd7a0d!important}.theme-paradise .ProgressBar--color--average .ProgressBar__fill{background-color:#cd7a0d}.theme-paradise .ProgressBar--color--bad{border:.0833333333em solid #bd2020!important}.theme-paradise .ProgressBar--color--bad .ProgressBar__fill{background-color:#bd2020}.theme-paradise .ProgressBar--color--label{border:.0833333333em solid #9d826f!important}.theme-paradise .ProgressBar--color--label .ProgressBar__fill{background-color:#9d826f}.theme-paradise .ProgressBar--color--gold{border:.0833333333em solid #d6920c!important}.theme-paradise .ProgressBar--color--gold .ProgressBar__fill{background-color:#d6920c}.theme-paradise .Chat{color:#abc6ec}.theme-paradise .Chat__badge{display:inline-block;min-width:.5em;font-size:.7em;padding:.2em .3em;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#dc143c;border-radius:10px;transition:font-size .2s}.theme-paradise .Chat__badge:before{content:"x"}.theme-paradise .Chat__badge--animate{font-size:.9em;transition:font-size 0ms}.theme-paradise .Chat__scrollButton{position:fixed;right:2em;bottom:1em}.theme-paradise .Chat__reconnected{font-size:.85em;text-align:center;margin:1em 0 2em}.theme-paradise .Chat__reconnected:before{content:"Reconnected";display:inline-block;border-radius:1em;padding:0 .7em;color:#fff;background-color:#db2828}.theme-paradise .Chat__reconnected:after{content:"";display:block;margin-top:-.75em;border-bottom:.1666666667em solid #db2828}.theme-paradise .Chat__highlight{color:#000}.theme-paradise .Chat__highlight--restricted{color:#fff;background-color:#a00;font-weight:700}.theme-paradise .ChatMessage{word-wrap:break-word}.theme-paradise .ChatMessage--highlighted{position:relative;border-left:.1666666667em solid #fd4;padding-left:.5em}.theme-paradise .ChatMessage--highlighted:after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;background-color:rgba(255,221,68,.1);pointer-events:none}.theme-paradise html,.theme-paradise body{scrollbar-color:#cb1551 #680b29}.theme-paradise .Layout,.theme-paradise .Layout *{scrollbar-base-color:#680b29;scrollbar-face-color:#99103d;scrollbar-3dlight-color:#800d33;scrollbar-highlight-color:#800d33;scrollbar-track-color:#680b29;scrollbar-arrow-color:#ea2e6c;scrollbar-shadow-color:#99103d}.theme-paradise .Layout__content{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.theme-paradise .Layout__content--flexRow{display:flex;flex-flow:row}.theme-paradise .Layout__content--flexColumn{display:flex;flex-flow:column}.theme-paradise .Layout__content--scrollable{overflow-y:auto;margin-bottom:0}.theme-paradise .Layout__content--noMargin{margin:0}.theme-paradise .Window{position:fixed;top:0;bottom:0;left:0;right:0;color:#fff;background-color:#800d33;background-image:linear-gradient(to bottom,#80014b,#80460d)}.theme-paradise .Window__titleBar{position:fixed;z-index:1;top:0;left:0;width:100%;height:32px;height:2.6666666667rem}.theme-paradise .Window__rest{position:fixed;top:32px;top:2.6666666667rem;bottom:0;left:0;right:0}.theme-paradise .Window__contentPadding{margin:.5rem;height:100%;height:calc(100% - 1.01rem)}.theme-paradise .Window__contentPadding:after{height:0}.theme-paradise .Layout__content--scrollable .Window__contentPadding:after{display:block;content:"";height:.5rem}.theme-paradise .Window__dimmer{position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(166,34,78,.25);pointer-events:none}.theme-paradise .Window__resizeHandle__se{position:fixed;bottom:0;right:0;width:20px;width:1.6666666667rem;height:20px;height:1.6666666667rem;cursor:se-resize}.theme-paradise .Window__resizeHandle__s{position:fixed;bottom:0;left:0;right:0;height:6px;height:.5rem;cursor:s-resize}.theme-paradise .Window__resizeHandle__e{position:fixed;top:0;bottom:0;right:0;width:3px;width:.25rem;cursor:e-resize}.theme-paradise .TitleBar{background-color:#800d33;border-bottom:1px solid rgba(0,0,0,.25);box-shadow:0 2px 2px rgba(0,0,0,.1);box-shadow:0 .1666666667rem .1666666667rem rgba(0,0,0,.1);user-select:none;-ms-user-select:none}.theme-paradise .TitleBar__clickable{color:rgba(255,0,0,.5);background-color:#800d33;transition:color .25s,background-color .25s}.theme-paradise .TitleBar__clickable:hover{color:#fff;background-color:#c00;transition:color 0ms,background-color 0ms}.theme-paradise .TitleBar__title{position:absolute;top:0;left:46px;left:3.8333333333rem;color:rgba(255,0,0,.75);font-size:14px;font-size:1.1666666667rem;line-height:31px;line-height:2.5833333333rem;white-space:nowrap}.theme-paradise .TitleBar__dragZone{position:absolute;top:0;left:0;right:0;height:32px;height:2.6666666667rem}.theme-paradise .TitleBar__statusIcon{position:absolute;top:0;left:12px;left:1rem;transition:color .5s;font-size:20px;font-size:1.6666666667rem;line-height:32px!important;line-height:2.6666666667rem!important}.theme-paradise .TitleBar__close{position:absolute;top:-1px;right:0;width:45px;width:3.75rem;height:32px;height:2.6666666667rem;font-size:20px;font-size:1.6666666667rem;line-height:31px;line-height:2.5833333333rem;text-align:center}.theme-paradise .TitleBar__devBuildIndicator{position:absolute;top:6px;top:.5rem;right:52px;right:4.3333333333rem;min-width:20px;min-width:1.6666666667rem;padding:2px 4px;padding:.1666666667rem .3333333333rem;background-color:rgba(91,170,39,.75);color:#fff;text-align:center}.theme-paradise .adminooc{color:#29ccbe}.theme-paradise .debug{color:#8f39e6}.theme-paradise .boxed_message{background:rgba(0,0,0,.25);border-color:rgba(223,181,159,.25)}.theme-paradise .boxed_message.red_border{background:rgba(22,3,3,.25);border-color:rgba(255,0,0,.5)}.theme-paradise .boxed_message.green_border{background:rgba(3,22,10,.25);border-color:rgba(0,255,0,.5)}.theme-paradise .boxed_message.purple_border{background:rgba(10,3,22,.25);border-color:rgba(136,77,255,.5)}.theme-paradise .boxed_message.notice_border{background:rgba(3,10,22,.25);border-color:rgba(85,126,246,.5)}
diff --git a/tgui/public/tgui.bundle.js b/tgui/public/tgui.bundle.js
index e9e63becfaac..4be86ddd677f 100644
--- a/tgui/public/tgui.bundle.js
+++ b/tgui/public/tgui.bundle.js
@@ -1,26 +1,26 @@
-(function(){(function(){var Qt={96376:function(T,r,n){"use strict";r.__esModule=!0,r.createPopper=void 0,r.popperGenerator=m;var e=C(n(74758)),a=C(n(28811)),t=C(n(98309)),o=C(n(44896)),f=C(n(33118)),b=C(n(10579)),y=C(n(56500)),B=C(n(17633));r.detectOverflow=B.default;var k=n(75573);function C(u){return u&&u.__esModule?u:{default:u}}var l={placement:"bottom",modifiers:[],strategy:"absolute"};function c(){for(var u=arguments.length,s=new Array(u),i=0;i0&&(0,a.round)(C.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(C.height)/y.offsetHeight||1);var m=(0,e.isElement)(y)?(0,t.default)(y):window,d=m.visualViewport,u=!(0,o.default)()&&k,s=(C.left+(u&&d?d.offsetLeft:0))/l,i=(C.top+(u&&d?d.offsetTop:0))/c,h=C.width/l,N=C.height/c;return{width:h,height:N,top:i,right:s+h,bottom:i+N,left:s,x:s,y:i}}},49035:function(T,r,n){"use strict";r.__esModule=!0,r.default=N;var e=n(46206),a=u(n(87991)),t=u(n(79752)),o=u(n(98309)),f=u(n(44896)),b=u(n(40600)),y=u(n(16599)),B=n(75573),k=u(n(37786)),C=u(n(57819)),l=u(n(4206)),c=u(n(12972)),m=u(n(81666)),d=n(63618);function u(v){return v&&v.__esModule?v:{default:v}}function s(v,p){var g=(0,k.default)(v,!1,p==="fixed");return g.top=g.top+v.clientTop,g.left=g.left+v.clientLeft,g.bottom=g.top+v.clientHeight,g.right=g.left+v.clientWidth,g.width=v.clientWidth,g.height=v.clientHeight,g.x=g.left,g.y=g.top,g}function i(v,p,g){return p===e.viewport?(0,m.default)((0,a.default)(v,g)):(0,B.isElement)(p)?s(p,g):(0,m.default)((0,t.default)((0,b.default)(v)))}function h(v){var p=(0,o.default)((0,C.default)(v)),g=["absolute","fixed"].indexOf((0,y.default)(v).position)>=0,V=g&&(0,B.isHTMLElement)(v)?(0,f.default)(v):v;return(0,B.isElement)(V)?p.filter(function(S){return(0,B.isElement)(S)&&(0,l.default)(S,V)&&(0,c.default)(S)!=="body"}):[]}function N(v,p,g,V){var S=p==="clippingParents"?h(v):[].concat(p),I=[].concat(S,[g]),L=I[0],w=I.reduce(function(A,x){var E=i(v,x,V);return A.top=(0,d.max)(E.top,A.top),A.right=(0,d.min)(E.right,A.right),A.bottom=(0,d.min)(E.bottom,A.bottom),A.left=(0,d.max)(E.left,A.left),A},i(v,L,V));return w.width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w}},74758:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=k(n(37786)),a=k(n(13390)),t=k(n(12972)),o=n(75573),f=k(n(79697)),b=k(n(40600)),y=k(n(10798)),B=n(63618);function k(c){return c&&c.__esModule?c:{default:c}}function C(c){var m=c.getBoundingClientRect(),d=(0,B.round)(m.width)/c.offsetWidth||1,u=(0,B.round)(m.height)/c.offsetHeight||1;return d!==1||u!==1}function l(c,m,d){d===void 0&&(d=!1);var u=(0,o.isHTMLElement)(m),s=(0,o.isHTMLElement)(m)&&C(m),i=(0,b.default)(m),h=(0,e.default)(c,s,d),N={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(u||!u&&!d)&&(((0,t.default)(m)!=="body"||(0,y.default)(i))&&(N=(0,a.default)(m)),(0,o.isHTMLElement)(m)?(v=(0,e.default)(m,!0),v.x+=m.clientLeft,v.y+=m.clientTop):i&&(v.x=(0,f.default)(i))),{x:h.left+N.scrollLeft-v.x,y:h.top+N.scrollTop-v.y,width:h.width,height:h.height}}},16599:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(T,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(T,r,n){"use strict";r.__esModule=!0,r.default=y;var e=b(n(40600)),a=b(n(16599)),t=b(n(79697)),o=b(n(43750)),f=n(63618);function b(B){return B&&B.__esModule?B:{default:B}}function y(B){var k,C=(0,e.default)(B),l=(0,o.default)(B),c=(k=B.ownerDocument)==null?void 0:k.body,m=(0,f.max)(C.scrollWidth,C.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),d=(0,f.max)(C.scrollHeight,C.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),u=-l.scrollLeft+(0,t.default)(B),s=-l.scrollTop;return(0,a.default)(c||C).direction==="rtl"&&(u+=(0,f.max)(C.clientWidth,c?c.clientWidth:0)-m),{width:m,height:d,x:u,y:s}}},3073:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),b=o.offsetWidth,y=o.offsetHeight;return Math.abs(f.width-b)<=1&&(b=f.width),Math.abs(f.height-y)<=1&&(y=f.height),{x:o.offsetLeft,y:o.offsetTop,width:b,height:y}}},12972:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(43750)),a=f(n(95115)),t=n(75573),o=f(n(3073));function f(y){return y&&y.__esModule?y:{default:y}}function b(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},44896:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=B(n(95115)),a=B(n(12972)),t=B(n(16599)),o=n(75573),f=B(n(87031)),b=B(n(57819)),y=B(n(35366));function B(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function C(c){var m=/firefox/i.test((0,y.default)()),d=/Trident/i.test((0,y.default)());if(d&&(0,o.isHTMLElement)(c)){var u=(0,t.default)(c);if(u.position==="fixed")return null}var s=(0,b.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var i=(0,t.default)(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||m&&i.willChange==="filter"||m&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function l(c){for(var m=(0,e.default)(c),d=k(c);d&&(0,f.default)(d)&&(0,t.default)(d).position==="static";)d=k(d);return d&&((0,a.default)(d)==="html"||(0,a.default)(d)==="body"&&(0,t.default)(d).position==="static")?m:d||C(c)||m}},57819:function(T,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(b){return b&&b.__esModule?b:{default:b}}function f(b){return(0,e.default)(b)==="html"?b:b.assignedSlot||b.parentNode||((0,t.isShadowRoot)(b)?b.host:null)||(0,a.default)(b)}},24426:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(57819)),a=f(n(10798)),t=f(n(12972)),o=n(75573);function f(y){return y&&y.__esModule?y:{default:y}}function b(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:b((0,e.default)(y))}},87991:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(95115)),a=f(n(40600)),t=f(n(79697)),o=f(n(89331));function f(y){return y&&y.__esModule?y:{default:y}}function b(y,B){var k=(0,e.default)(y),C=(0,a.default)(y),l=k.visualViewport,c=C.clientWidth,m=C.clientHeight,d=0,u=0;if(l){c=l.width,m=l.height;var s=(0,o.default)();(s||!s&&B==="fixed")&&(d=l.offsetLeft,u=l.offsetTop)}return{width:c,height:m,x:d+(0,t.default)(y),y:u}}},95115:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),b=f.pageXOffset,y=f.pageYOffset;return{scrollLeft:b,scrollTop:y}}},79697:function(T,r,n){"use strict";r.__esModule=!0,r.default=f;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(b){return b&&b.__esModule?b:{default:b}}function f(b){return(0,e.default)((0,a.default)(b)).left+(0,t.default)(b).scrollLeft}},75573:function(T,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=f;var e=a(n(95115));function a(b){return b&&b.__esModule?b:{default:b}}function t(b){var y=(0,e.default)(b).Element;return b instanceof y||b instanceof Element}function o(b){var y=(0,e.default)(b).HTMLElement;return b instanceof y||b instanceof HTMLElement}function f(b){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(b).ShadowRoot;return b instanceof y||b instanceof ShadowRoot}},89331:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var f=(0,e.default)(o),b=f.overflow,y=f.overflowX,B=f.overflowY;return/auto|scroll|overlay|hidden/.test(b+B+y)}},87031:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(24426)),a=f(n(57819)),t=f(n(95115)),o=f(n(10798));function f(y){return y&&y.__esModule?y:{default:y}}function b(y,B){var k;B===void 0&&(B=[]);var C=(0,e.default)(y),l=C===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(C),m=l?[c].concat(c.visualViewport||[],(0,o.default)(C)?C:[]):C,d=B.concat(m);return l?d:d.concat(b((0,a.default)(m)))}},46206:function(T,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",f=r.basePlacements=[n,e,a,t],b=r.start="start",y=r.end="end",B=r.clippingParents="clippingParents",k=r.viewport="viewport",C=r.popper="popper",l=r.reference="reference",c=r.variationPlacements=f.reduce(function(S,I){return S.concat([I+"-"+b,I+"-"+y])},[]),m=r.placements=[].concat(f,[o]).reduce(function(S,I){return S.concat([I,I+"-"+b,I+"-"+y])},[]),d=r.beforeRead="beforeRead",u=r.read="read",s=r.afterRead="afterRead",i=r.beforeMain="beforeMain",h=r.main="main",N=r.afterMain="afterMain",v=r.beforeWrite="beforeWrite",p=r.write="write",g=r.afterWrite="afterWrite",V=r.modifierPhases=[d,u,s,i,h,N,v,p,g]},95996:function(T,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(39805);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var f=n(83312);r.createPopper=f.createPopper;var b=n(2473);r.createPopperLite=b.createPopper},19975:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var B=y.state;Object.keys(B.elements).forEach(function(k){var C=B.styles[k]||{},l=B.attributes[k]||{},c=B.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,C),Object.keys(l).forEach(function(m){var d=l[m];d===!1?c.removeAttribute(m):c.setAttribute(m,d===!0?"":d)}))})}function f(y){var B=y.state,k={popper:{position:B.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(B.elements.popper.style,k.popper),B.styles=k,B.elements.arrow&&Object.assign(B.elements.arrow.style,k.arrow),function(){Object.keys(B.elements).forEach(function(C){var l=B.elements[C],c=B.attributes[C]||{},m=Object.keys(B.styles.hasOwnProperty(C)?B.styles[C]:k[C]),d=m.reduce(function(u,s){return u[s]="",u},{});!(0,a.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,d),Object.keys(c).forEach(function(u){l.removeAttribute(u)}))})}}var b=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:f,requires:["computeStyles"]}},52744:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=C(n(83104)),a=C(n(28811)),t=C(n(4206)),o=C(n(44896)),f=C(n(41199)),b=n(28595),y=C(n(43286)),B=C(n(81447)),k=n(46206);function C(u){return u&&u.__esModule?u:{default:u}}var l=function(){function u(s,i){return s=typeof s=="function"?s(Object.assign({},i.rects,{placement:i.placement})):s,(0,y.default)(typeof s!="number"?s:(0,B.default)(s,k.basePlacements))}return u}();function c(u){var s,i=u.state,h=u.name,N=u.options,v=i.elements.arrow,p=i.modifiersData.popperOffsets,g=(0,e.default)(i.placement),V=(0,f.default)(g),S=[k.left,k.right].indexOf(g)>=0,I=S?"height":"width";if(!(!v||!p)){var L=l(N.padding,i),w=(0,a.default)(v),A=V==="y"?k.top:k.left,x=V==="y"?k.bottom:k.right,E=i.rects.reference[I]+i.rects.reference[V]-p[V]-i.rects.popper[I],M=p[V]-i.rects.reference[V],j=(0,o.default)(v),P=j?V==="y"?j.clientHeight||0:j.clientWidth||0:0,O=E/2-M/2,D=L[A],F=P-w[I]-L[x],W=P/2-w[I]/2+O,U=(0,b.within)(D,W,F),$=V;i.modifiersData[h]=(s={},s[$]=U,s.centerOffset=U-W,s)}}function m(u){var s=u.state,i=u.options,h=i.element,N=h===void 0?"[data-popper-arrow]":h;N!=null&&(typeof N=="string"&&(N=s.elements.popper.querySelector(N),!N)||(0,t.default)(s.elements.popper,N)&&(s.elements.arrow=N))}var d=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:m,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=k(n(44896)),t=k(n(95115)),o=k(n(40600)),f=k(n(16599)),b=k(n(83104)),y=k(n(45)),B=n(63618);function k(u){return u&&u.__esModule?u:{default:u}}var C={top:"auto",right:"auto",bottom:"auto",left:"auto"};function l(u,s){var i=u.x,h=u.y,N=s.devicePixelRatio||1;return{x:(0,B.round)(i*N)/N||0,y:(0,B.round)(h*N)/N||0}}function c(u){var s,i=u.popper,h=u.popperRect,N=u.placement,v=u.variation,p=u.offsets,g=u.position,V=u.gpuAcceleration,S=u.adaptive,I=u.roundOffsets,L=u.isFixed,w=p.x,A=w===void 0?0:w,x=p.y,E=x===void 0?0:x,M=typeof I=="function"?I({x:A,y:E}):{x:A,y:E};A=M.x,E=M.y;var j=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),O=e.left,D=e.top,F=window;if(S){var W=(0,a.default)(i),U="clientHeight",$="clientWidth";if(W===(0,t.default)(i)&&(W=(0,o.default)(i),(0,f.default)(W).position!=="static"&&g==="absolute"&&(U="scrollHeight",$="scrollWidth")),W=W,N===e.top||(N===e.left||N===e.right)&&v===e.end){D=e.bottom;var K=L&&W===F&&F.visualViewport?F.visualViewport.height:W[U];E-=K-h.height,E*=V?1:-1}if(N===e.left||(N===e.top||N===e.bottom)&&v===e.end){O=e.right;var G=L&&W===F&&F.visualViewport?F.visualViewport.width:W[$];A-=G-h.width,A*=V?1:-1}}var Q=Object.assign({position:g},S&&C),J=I===!0?l({x:A,y:E},(0,t.default)(i)):{x:A,y:E};if(A=J.x,E=J.y,V){var ue;return Object.assign({},Q,(ue={},ue[D]=P?"0":"",ue[O]=j?"0":"",ue.transform=(F.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",ue))}return Object.assign({},Q,(s={},s[D]=P?E+"px":"",s[O]=j?A+"px":"",s.transform="",s))}function m(u){var s=u.state,i=u.options,h=i.gpuAcceleration,N=h===void 0?!0:h,v=i.adaptive,p=v===void 0?!0:v,g=i.roundOffsets,V=g===void 0?!0:g,S={placement:(0,b.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:N,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},S,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:p,roundOffsets:V})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},S,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:V})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var d=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:m,data:{}}},36692:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(b){return b&&b.__esModule?b:{default:b}}var t={passive:!0};function o(b){var y=b.state,B=b.instance,k=b.options,C=k.scroll,l=C===void 0?!0:C,c=k.resize,m=c===void 0?!0:c,d=(0,e.default)(y.elements.popper),u=[].concat(y.scrollParents.reference,y.scrollParents.popper);return l&&u.forEach(function(s){s.addEventListener("scroll",B.update,t)}),m&&d.addEventListener("resize",B.update,t),function(){l&&u.forEach(function(s){s.removeEventListener("scroll",B.update,t)}),m&&d.removeEventListener("resize",B.update,t)}}var f=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function b(){}return b}(),effect:o,data:{}}},23798:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=B(n(71376)),a=B(n(83104)),t=B(n(86459)),o=B(n(17633)),f=B(n(9041)),b=n(46206),y=B(n(45));function B(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===b.auto)return[];var m=(0,e.default)(c);return[(0,t.default)(c),m,(0,t.default)(m)]}function C(c){var m=c.state,d=c.options,u=c.name;if(!m.modifiersData[u]._skip){for(var s=d.mainAxis,i=s===void 0?!0:s,h=d.altAxis,N=h===void 0?!0:h,v=d.fallbackPlacements,p=d.padding,g=d.boundary,V=d.rootBoundary,S=d.altBoundary,I=d.flipVariations,L=I===void 0?!0:I,w=d.allowedAutoPlacements,A=m.options.placement,x=(0,a.default)(A),E=x===A,M=v||(E||!L?[(0,e.default)(A)]:k(A)),j=[A].concat(M).reduce(function(re,oe){return re.concat((0,a.default)(oe)===b.auto?(0,f.default)(m,{placement:oe,boundary:g,rootBoundary:V,padding:p,flipVariations:L,allowedAutoPlacements:w}):oe)},[]),P=m.rects.reference,O=m.rects.popper,D=new Map,F=!0,W=j[0],U=0;U=0,J=Q?"width":"height",ue=(0,o.default)(m,{placement:$,boundary:g,rootBoundary:V,altBoundary:S,padding:p}),ie=Q?G?b.right:b.left:G?b.bottom:b.top;P[J]>O[J]&&(ie=(0,e.default)(ie));var he=(0,e.default)(ie),te=[];if(i&&te.push(ue[K]<=0),N&&te.push(ue[ie]<=0,ue[he]<=0),te.every(function(re){return re})){W=$,F=!1;break}D.set($,te)}if(F)for(var q=L?3:1,ne=function(){function re(oe){var fe=j.find(function(me){var Y=D.get(me);if(Y)return Y.slice(0,oe).every(function(ve){return ve})});if(fe)return W=fe,"break"}return re}(),le=q;le>0;le--){var ee=ne(le);if(ee==="break")break}m.placement!==W&&(m.modifiersData[u]._skip=!0,m.placement=W,m.reset=!0)}}var l=r.default={name:"flip",enabled:!0,phase:"main",fn:C,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(B){return B&&B.__esModule?B:{default:B}}function o(B,k,C){return C===void 0&&(C={x:0,y:0}),{top:B.top-k.height-C.y,right:B.right-k.width+C.x,bottom:B.bottom-k.height+C.y,left:B.left-k.width-C.x}}function f(B){return[e.top,e.right,e.bottom,e.left].some(function(k){return B[k]>=0})}function b(B){var k=B.state,C=B.name,l=k.rects.reference,c=k.rects.popper,m=k.modifiersData.preventOverflow,d=(0,a.default)(k,{elementContext:"reference"}),u=(0,a.default)(k,{altBoundary:!0}),s=o(d,l),i=o(u,c,m),h=f(s),N=f(i);k.modifiersData[C]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:h,hasPopperEscaped:N},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":N})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:b}},39805:function(T,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=C(n(19975));r.applyStyles=e.default;var a=C(n(52744));r.arrow=a.default;var t=C(n(59894));r.computeStyles=t.default;var o=C(n(36692));r.eventListeners=o.default;var f=C(n(23798));r.flip=f.default;var b=C(n(83761));r.hide=b.default;var y=C(n(61410));r.offset=y.default;var B=C(n(40107));r.popperOffsets=B.default;var k=C(n(75137));r.preventOverflow=k.default;function C(l){return l&&l.__esModule?l:{default:l}}},61410:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,B,k){var C=(0,e.default)(y),l=[a.left,a.top].indexOf(C)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},B,{placement:y})):k,m=c[0],d=c[1];return m=m||0,d=(d||0)*l,[a.left,a.right].indexOf(C)>=0?{x:d,y:m}:{x:m,y:d}}function f(y){var B=y.state,k=y.options,C=y.name,l=k.offset,c=l===void 0?[0,0]:l,m=a.placements.reduce(function(i,h){return i[h]=o(h,B.rects,c),i},{}),d=m[B.placement],u=d.x,s=d.y;B.modifiersData.popperOffsets!=null&&(B.modifiersData.popperOffsets.x+=u,B.modifiersData.popperOffsets.y+=s),B.modifiersData[C]=m}var b=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:f}},40107:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(f){return f&&f.__esModule?f:{default:f}}function t(f){var b=f.state,y=f.name;b.modifiersData[y]=(0,e.default)({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),f=n(28595),b=c(n(28811)),y=c(n(44896)),B=c(n(17633)),k=c(n(45)),C=c(n(34780)),l=n(63618);function c(u){return u&&u.__esModule?u:{default:u}}function m(u){var s=u.state,i=u.options,h=u.name,N=i.mainAxis,v=N===void 0?!0:N,p=i.altAxis,g=p===void 0?!1:p,V=i.boundary,S=i.rootBoundary,I=i.altBoundary,L=i.padding,w=i.tether,A=w===void 0?!0:w,x=i.tetherOffset,E=x===void 0?0:x,M=(0,B.default)(s,{boundary:V,rootBoundary:S,padding:L,altBoundary:I}),j=(0,a.default)(s.placement),P=(0,k.default)(s.placement),O=!P,D=(0,t.default)(j),F=(0,o.default)(D),W=s.modifiersData.popperOffsets,U=s.rects.reference,$=s.rects.popper,K=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,G=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Q=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,J={x:0,y:0};if(W){if(v){var ue,ie=D==="y"?e.top:e.left,he=D==="y"?e.bottom:e.right,te=D==="y"?"height":"width",q=W[D],ne=q+M[ie],le=q-M[he],ee=A?-$[te]/2:0,re=P===e.start?U[te]:$[te],oe=P===e.start?-$[te]:-U[te],fe=s.elements.arrow,me=A&&fe?(0,b.default)(fe):{width:0,height:0},Y=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,C.default)(),ve=Y[ie],pe=Y[he],Ve=(0,f.within)(0,U[te],me[te]),Be=O?U[te]/2-ee-Ve-ve-G.mainAxis:re-Ve-ve-G.mainAxis,be=O?-U[te]/2+ee+Ve+pe+G.mainAxis:oe+Ve+pe+G.mainAxis,Le=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Le?D==="y"?Le.clientTop||0:Le.clientLeft||0:0,xe=(ue=Q==null?void 0:Q[D])!=null?ue:0,Re=q+Be-xe-we,ze=q+be-xe,ye=(0,f.within)(A?(0,l.min)(ne,Re):ne,q,A?(0,l.max)(le,ze):le);W[D]=ye,J[D]=ye-q}if(g){var de,Ce=D==="x"?e.top:e.left,ke=D==="x"?e.bottom:e.right,ge=W[F],Se=F==="y"?"height":"width",Pe=ge+M[Ce],je=ge-M[ke],Fe=[e.top,e.left].indexOf(j)!==-1,He=(de=Q==null?void 0:Q[F])!=null?de:0,We=Fe?Pe:ge-U[Se]-$[Se]-He+G.altAxis,Ue=Fe?ge+U[Se]+$[Se]-He-G.altAxis:je,Xe=A&&Fe?(0,f.withinMaxClamp)(We,ge,Ue):(0,f.within)(A?We:Pe,ge,A?Ue:je);W[F]=Xe,J[F]=Xe-ge}s.modifiersData[h]=J}}var d=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:m,requiresIfExists:["offset"]}},2473:function(T,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=b(n(36692)),t=b(n(40107)),o=b(n(59894)),f=b(n(19975));function b(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,f.default],B=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},83312:function(T,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=d(n(36692)),o=d(n(40107)),f=d(n(59894)),b=d(n(19975)),y=d(n(61410)),B=d(n(23798)),k=d(n(75137)),C=d(n(52744)),l=d(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var m=n(39805);Object.keys(m).forEach(function(i){i==="default"||i==="__esModule"||Object.prototype.hasOwnProperty.call(e,i)||i in r&&r[i]===m[i]||(r[i]=m[i])});function d(i){return i&&i.__esModule?i:{default:i}}var u=r.defaultModifiers=[t.default,o.default,f.default,b.default,y.default,B.default,k.default,C.default,l.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:u})},9041:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(45)),a=n(46206),t=f(n(17633)),o=f(n(83104));function f(y){return y&&y.__esModule?y:{default:y}}function b(y,B){B===void 0&&(B={});var k=B,C=k.placement,l=k.boundary,c=k.rootBoundary,m=k.padding,d=k.flipVariations,u=k.allowedAutoPlacements,s=u===void 0?a.placements:u,i=(0,e.default)(C),h=i?d?a.variationPlacements:a.variationPlacements.filter(function(p){return(0,e.default)(p)===i}):a.basePlacements,N=h.filter(function(p){return s.indexOf(p)>=0});N.length===0&&(N=h);var v=N.reduce(function(p,g){return p[g]=(0,t.default)(y,{placement:g,boundary:l,rootBoundary:c,padding:m})[(0,o.default)(g)],p},{});return Object.keys(v).sort(function(p,g){return v[p]-v[g]})}},89951:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=f(n(83104)),a=f(n(45)),t=f(n(41199)),o=n(46206);function f(y){return y&&y.__esModule?y:{default:y}}function b(y){var B=y.reference,k=y.element,C=y.placement,l=C?(0,e.default)(C):null,c=C?(0,a.default)(C):null,m=B.x+B.width/2-k.width/2,d=B.y+B.height/2-k.height/2,u;switch(l){case o.top:u={x:m,y:B.y-k.height};break;case o.bottom:u={x:m,y:B.y+B.height};break;case o.right:u={x:B.x+B.width,y:d};break;case o.left:u={x:B.x-k.width,y:d};break;default:u={x:B.x,y:B.y}}var s=l?(0,t.default)(l):null;if(s!=null){var i=s==="y"?"height":"width";switch(c){case o.start:u[s]=u[s]-(B[i]/2-k[i]/2);break;case o.end:u[s]=u[s]+(B[i]/2-k[i]/2);break;default:}}return u}},10579:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=C(n(49035)),a=C(n(40600)),t=C(n(37786)),o=C(n(89951)),f=C(n(81666)),b=n(46206),y=n(75573),B=C(n(43286)),k=C(n(81447));function C(c){return c&&c.__esModule?c:{default:c}}function l(c,m){m===void 0&&(m={});var d=m,u=d.placement,s=u===void 0?c.placement:u,i=d.strategy,h=i===void 0?c.strategy:i,N=d.boundary,v=N===void 0?b.clippingParents:N,p=d.rootBoundary,g=p===void 0?b.viewport:p,V=d.elementContext,S=V===void 0?b.popper:V,I=d.altBoundary,L=I===void 0?!1:I,w=d.padding,A=w===void 0?0:w,x=(0,B.default)(typeof A!="number"?A:(0,k.default)(A,b.basePlacements)),E=S===b.popper?b.reference:b.popper,M=c.rects.popper,j=c.elements[L?E:S],P=(0,e.default)((0,y.isElement)(j)?j:j.contextElement||(0,a.default)(c.elements.popper),v,g,h),O=(0,t.default)(c.elements.reference),D=(0,o.default)({reference:O,element:M,strategy:"absolute",placement:s}),F=(0,f.default)(Object.assign({},M,D)),W=S===b.popper?F:O,U={top:P.top-W.top+x.top,bottom:W.bottom-P.bottom+x.bottom,left:P.left-W.left+x.left,right:W.right-P.right+x.right},$=c.modifiersData.offset;if(S===b.popper&&$){var K=$[s];Object.keys(U).forEach(function(G){var Q=[b.right,b.bottom].indexOf(G)>=0?1:-1,J=[b.top,b.bottom].indexOf(G)>=0?"y":"x";U[G]+=K[J]*Q})}return U}},81447:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(T,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(T,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(T,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(T,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var f=t[o.name];return t[o.name]=f?Object.assign({},f,o,{options:Object.assign({},f.options,o.options),data:Object.assign({},f.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var f=new Map,b=new Set,y=[];o.forEach(function(k){f.set(k.name,k)});function B(k){b.add(k.name);var C=[].concat(k.requires||[],k.requiresIfExists||[]);C.forEach(function(l){if(!b.has(l)){var c=f.get(l);c&&B(c)}}),y.push(k)}return o.forEach(function(k){b.has(k.name)||B(k)}),y}function t(o){var f=a(o);return e.modifierPhases.reduce(function(b,y){return b.concat(f.filter(function(B){return B.phase===y}))},[])}},81666:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(T,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,f,b){return(0,e.max)(o,(0,e.min)(f,b))}function t(o,f,b){var y=a(o,f,b);return y>b?b:y}},15875:function(T,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.Unknown=0]="Unknown",a[a.HtmlElement=1]="HtmlElement",a[a.ComponentUnknown=2]="ComponentUnknown",a[a.ComponentClass=4]="ComponentClass",a[a.ComponentFunction=8]="ComponentFunction",a[a.Text=16]="Text",a[a.SvgElement=32]="SvgElement",a[a.InputElement=64]="InputElement",a[a.TextareaElement=128]="TextareaElement",a[a.SelectElement=256]="SelectElement",a[a.Portal=1024]="Portal",a[a.ReCreate=2048]="ReCreate",a[a.ContentEditable=4096]="ContentEditable",a[a.Fragment=8192]="Fragment",a[a.InUse=16384]="InUse",a[a.ForwardRef=32768]="ForwardRef",a[a.Normalized=65536]="Normalized",a[a.ForwardRefComponent=32776]="ForwardRefComponent",a[a.FormElement=448]="FormElement",a[a.Element=481]="Element",a[a.Component=14]="Component",a[a.DOMRef=1521]="DOMRef",a[a.InUseOrNormalized=81920]="InUseOrNormalized",a[a.ClearInUse=-16385]="ClearInUse",a[a.ComponentKnown=12]="ComponentKnown"})(n||(r.VNodeFlags=n={}));var e;(function(a){a[a.UnknownChildren=0]="UnknownChildren",a[a.HasInvalidChildren=1]="HasInvalidChildren",a[a.HasVNodeChildren=2]="HasVNodeChildren",a[a.HasNonKeyedChildren=4]="HasNonKeyedChildren",a[a.HasKeyedChildren=8]="HasKeyedChildren",a[a.HasTextChildren=16]="HasTextChildren",a[a.MultipleChildren=12]="MultipleChildren"})(e||(r.ChildFlags=e={}))},89292:function(T,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=r.AnimationQueues=void 0,r._CI=Ot,r._HI=me,r._M=$e,r._MCCC=Ft,r._ME=Dt,r._MFCC=_t,r._MP=Mt,r._MR=at,r._RFC=gt,r.__render=zt,r.createComponentVNode=ue,r.createFragment=he,r.createPortal=ee,r.createRef=nn,r.createRenderer=En,r.createTextVNode=ie,r.createVNode=K,r.directClone=ne,r.findDOMFromVNode=V,r.forwardRef=on,r.getFlagsForElementVnode=oe,r.linkEvent=C,r.normalizeProps=te,r.options=void 0,r.render=Ht,r.rerender=Kt,r.version=void 0;var n=Array.isArray;function e(R){var _=typeof R;return _==="string"||_==="number"}function a(R){return R==null}function t(R){return R===null||R===!1||R===!0||R===void 0}function o(R){return typeof R=="function"}function f(R){return typeof R=="string"}function b(R){return typeof R=="number"}function y(R){return R===null}function B(R){return R===void 0}function k(R,_){var z={};if(R)for(var H in R)z[H]=R[H];if(_)for(var Z in _)z[Z]=_[Z];return z}function C(R,_){return o(_)?{data:R,event:_}:null}function l(R){return!y(R)&&typeof R=="object"}var c=r.EMPTY_OBJ={},m=r.Fragment="$F",d=r.AnimationQueues=function(){function R(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]}return R}();function u(R){return R.substring(2).toLowerCase()}function s(R,_){R.appendChild(_)}function i(R,_,z){y(z)?s(R,_):R.insertBefore(_,z)}function h(R,_){return _?document.createElementNS("http://www.w3.org/2000/svg",R):document.createElement(R)}function N(R,_,z){R.replaceChild(_,z)}function v(R,_){R.removeChild(_)}function p(R){for(var _=0;_0?S(z.componentWillDisappear,w(R,_)):L(R,_,!1)}function x(R,_,z,H,Z,ae,ce,se){R.componentWillMove.push({dom:H,fn:function(){function Ne(){ce&4?z.componentWillMove(_,Z,H):ce&8&&z.onComponentWillMove(_,Z,H,se)}return Ne}(),next:ae,parent:Z})}function E(R,_,z,H,Z){var ae,ce,se=_.flags;do{var Ne=_.flags;if(Ne&1521){!a(ae)&&(o(ae.componentWillMove)||o(ae.onComponentWillMove))?x(Z,R,ae,_.dom,z,H,se,ce):i(z,_.dom,H);return}var Te=_.children;if(Ne&4)ae=_.children,ce=_.props,_=Te.$LI;else if(Ne&8)ae=_.ref,ce=_.props,_=Te;else if(Ne&8192)if(_.childFlags===2)_=Te;else{for(var Ie=0,Ee=Te.length;Ie0,Te=y(se),Ie=f(se)&&se[0]===U;Ne||Te||Ie?(z=z||_.slice(0,ae),(Ne||Ie)&&(ce=ne(ce)),(Te||Ie)&&(ce.key=U+ae),z.push(ce)):z&&z.push(ce),ce.flags|=65536}}z=z||_,z.length===0?H=1:H=8}else z=_,z.flags|=65536,_.flags&81920&&(z=ne(_)),H=2;return R.children=z,R.childFlags=H,R}function me(R){return t(R)||e(R)?ie(R,null):n(R)?he(R,0,null):R.flags&16384?ne(R):R}var Y="http://www.w3.org/1999/xlink",ve="http://www.w3.org/XML/1998/namespace",pe={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":ve,"xml:lang":ve,"xml:space":ve};function Ve(R){return{onClick:R,onDblClick:R,onFocusIn:R,onFocusOut:R,onKeyDown:R,onKeyPress:R,onKeyUp:R,onMouseDown:R,onMouseMove:R,onMouseUp:R,onTouchEnd:R,onTouchMove:R,onTouchStart:R}}var Be=Ve(0),be=Ve(null),Le=Ve(!0);function we(R,_){var z=_.$EV;return z||(z=_.$EV=Ve(null)),z[R]||++Be[R]===1&&(be[R]=je(R)),z}function xe(R,_){var z=_.$EV;z&&z[R]&&(--Be[R]===0&&(document.removeEventListener(u(R),be[R]),be[R]=null),z[R]=null)}function Re(R,_,z,H){if(o(z))we(R,H)[R]=z;else if(l(z)){if(D(_,z))return;we(R,H)[R]=z}else xe(R,H)}function ze(R){return o(R.composedPath)?R.composedPath()[0]:R.target}function ye(R,_,z,H){var Z=ze(R);do{if(_&&Z.disabled)return;var ae=Z.$EV;if(ae){var ce=ae[z];if(ce&&(H.dom=Z,ce.event?ce.event(ce.data,R):ce(R),R.cancelBubble))return}Z=Z.parentNode}while(!y(Z))}function de(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Ce(){return this.defaultPrevented}function ke(){return this.cancelBubble}function ge(R){var _={dom:document};return R.isDefaultPrevented=Ce,R.isPropagationStopped=ke,R.stopPropagation=de,Object.defineProperty(R,"currentTarget",{configurable:!0,get:function(){function z(){return _.dom}return z}()}),_}function Se(R){return function(_){if(_.button!==0){_.stopPropagation();return}ye(_,!0,R,ge(_))}}function Pe(R){return function(_){ye(_,!1,R,ge(_))}}function je(R){var _=R==="onClick"||R==="onDblClick"?Se(R):Pe(R);return document.addEventListener(u(R),_),_}function Fe(R,_){var z=document.createElement("i");return z.innerHTML=_,z.innerHTML===R.innerHTML}function He(R,_,z){if(R[_]){var H=R[_];H.event?H.event(H.data,z):H(z)}else{var Z=_.toLowerCase();R[Z]&&R[Z](z)}}function We(R,_){var z=function(){function H(Z){var ae=this.$V;if(ae){var ce=ae.props||c,se=ae.dom;if(f(R))He(ce,R,Z);else for(var Ne=0;Ne-1&&_.options[ae]&&(se=_.options[ae].value),z&&a(se)&&(se=R.defaultValue),rt(H,se)}}var Zt=We("onInput",Tt),qt=We("onChange");function en(R,_){Ue(R,"input",Zt),_.onChange&&Ue(R,"change",qt)}function Tt(R,_,z){var H=R.value,Z=_.value;if(a(H)){if(z){var ae=R.defaultValue;!a(ae)&&ae!==Z&&(_.defaultValue=ae,_.value=ae)}}else Z!==H&&(_.defaultValue=H,_.value=H)}function xt(R,_,z,H,Z,ae){R&64?dt(H,z):R&256?wt(H,z,Z,_):R&128&&Tt(H,z,Z),ae&&(z.$V=_)}function tn(R,_,z){R&64?Bt(_,z):R&256?Jt(_):R&128&&en(_,z)}function At(R){return R.type&&Xe(R.type)?!a(R.checked):!a(R.value)}function nn(){return{current:null}}function on(R){var _={render:R};return _}function st(R){R&&!W(R,null)&&R.current&&(R.current=null)}function at(R,_,z){R&&(o(R)||R.current!==void 0)&&z.push(function(){!W(R,_)&&R.current!==void 0&&(R.current=_)})}function Qe(R,_,z){Ze(R,z),A(R,_,z)}function Ze(R,_){var z=R.flags,H=R.children,Z;if(z&481){Z=R.ref;var ae=R.props;st(Z);var ce=R.childFlags;if(!y(ae))for(var se=Object.keys(ae),Ne=0,Te=se.length;Ne0?S(z.componentWillDisappear,rn(_,R)):R.textContent=""}function ft(R,_,z,H){ct(z,H),_.flags&8192?A(_,R,H):mt(R,z,H)}function Et(R,_,z,H,Z){R.componentWillDisappear.push(function(ae){H&4?_.componentWillDisappear(z,ae):H&8&&_.onComponentWillDisappear(z,Z,ae)})}function an(R){var _=R.event;return function(z){_(R.data,z)}}function cn(R,_,z,H){if(l(z)){if(D(_,z))return;z=an(z)}Ue(H,u(R),z)}function ln(R,_,z){if(a(_)){z.removeAttribute("style");return}var H=z.style,Z,ae;if(f(_)){H.cssText=_;return}if(!a(R)&&!f(R)){for(Z in _)ae=_[Z],ae!==R[Z]&&H.setProperty(Z,ae);for(Z in R)a(_[Z])&&H.removeProperty(Z)}else for(Z in _)ae=_[Z],H.setProperty(Z,ae)}function un(R,_,z,H,Z){var ae=R&&R.__html||"",ce=_&&_.__html||"";ae!==ce&&!a(ce)&&!Fe(H,ce)&&(y(z)||(z.childFlags&12?ct(z.children,Z):z.childFlags===2&&Ze(z.children,Z),z.children=null,z.childFlags=1),H.innerHTML=ce)}function vt(R,_,z,H,Z,ae,ce,se){switch(R){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":H.autofocus=!!z;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":H[R]=!!z;break;case"defaultChecked":case"value":case"volume":if(ae&&R==="value")break;var Ne=a(z)?"":z;H[R]!==Ne&&(H[R]=Ne);break;case"style":ln(_,z,H);break;case"dangerouslySetInnerHTML":un(_,z,ce,H,se);break;default:Le[R]?Re(R,_,z,H):R.charCodeAt(0)===111&&R.charCodeAt(1)===110?cn(R,_,z,H):a(z)?H.removeAttribute(R):Z&&pe[R]?H.setAttributeNS(pe[R],R,z):H.setAttribute(R,z);break}}function Mt(R,_,z,H,Z,ae){var ce=!1,se=(_&448)>0;se&&(ce=At(z),ce&&tn(_,H,z));for(var Ne in z)vt(Ne,null,z[Ne],H,Z,ce,null,ae);se&&xt(_,R,H,z,!0,ce)}function Pt(R,_,z){var H=me(R.render(_,R.state,z)),Z=z;return o(R.getChildContext)&&(Z=k(z,R.getChildContext())),R.$CX=Z,H}function Ot(R,_,z,H,Z,ae){var ce=new _(z,H),se=ce.$N=!!(_.getDerivedStateFromProps||ce.getSnapshotBeforeUpdate);if(ce.$SVG=Z,ce.$L=ae,R.children=ce,ce.$BS=!1,ce.context=H,ce.props===c&&(ce.props=z),se)ce.state=M(ce,z,ce.state);else if(o(ce.componentWillMount)){ce.$BR=!0,ce.componentWillMount();var Ne=ce.$PS;if(!y(Ne)){var Te=ce.state;if(y(Te))ce.state=Ne;else for(var Ie in Ne)Te[Ie]=Ne[Ie];ce.$PS=null}ce.$BR=!1}return ce.$LI=Pt(ce,z,H),ce}function gt(R,_){var z=R.props||c;return R.flags&32768?R.type.render(z,R.ref,_):R.type(z,_)}function $e(R,_,z,H,Z,ae,ce){var se=R.flags|=16384;se&481?Dt(R,_,z,H,Z,ae,ce):se&4?mn(R,_,z,H,Z,ae,ce):se&8?fn(R,_,z,H,Z,ae,ce):se&16?Rt(R,_,Z):se&8192?sn(R,z,_,H,Z,ae,ce):se&1024&&dn(R,z,_,Z,ae,ce)}function dn(R,_,z,H,Z,ae){$e(R.children,R.ref,_,!1,null,Z,ae);var ce=le();Rt(ce,z,H),R.dom=ce.dom}function sn(R,_,z,H,Z,ae,ce){var se=R.children,Ne=R.childFlags;Ne&12&&se.length===0&&(Ne=R.childFlags=2,se=R.children=le()),Ne===2?$e(se,z,_,H,Z,ae,ce):ot(se,z,_,H,Z,ae,ce)}function Rt(R,_,z){var H=R.dom=document.createTextNode(R.children);y(_)||i(_,H,z)}function Dt(R,_,z,H,Z,ae,ce){var se=R.flags,Ne=R.props,Te=R.className,Ie=R.childFlags,Ee=R.dom=h(R.type,H=H||(se&32)>0),Ae=R.children;if(!a(Te)&&Te!==""&&(H?Ee.setAttribute("class",Te):Ee.className=Te),Ie===16)O(Ee,Ae);else if(Ie!==1){var Me=H&&R.type!=="foreignObject";Ie===2?(Ae.flags&16384&&(R.children=Ae=ne(Ae)),$e(Ae,Ee,z,Me,null,ae,ce)):(Ie===8||Ie===4)&&ot(Ae,Ee,z,Me,null,ae,ce)}y(_)||i(_,Ee,Z),y(Ne)||Mt(R,se,Ne,Ee,H,ce),at(R.ref,Ee,ae)}function ot(R,_,z,H,Z,ae,ce){for(var se=0;seMe)&&(Ee=V(se[Me-1],!1).nextSibling)}Nt(Te,Ie,se,Ne,z,H,Z,Ee,R,ae,ce)}function Vn(R,_,z,H,Z){var ae=R.ref,ce=_.ref,se=_.children;if(Nt(R.childFlags,_.childFlags,R.children,se,ae,z,!1,null,R,H,Z),_.dom=R.dom,ae!==ce&&!t(se)){var Ne=se.dom;v(ae,Ne),s(ce,Ne)}}function bn(R,_,z,H,Z,ae,ce){var se=_.dom=R.dom,Ne=R.props,Te=_.props,Ie=!1,Ee=!1,Ae;if(H=H||(Z&32)>0,Ne!==Te){var Me=Ne||c;if(Ae=Te||c,Ae!==c){Ie=(Z&448)>0,Ie&&(Ee=At(Ae));for(var _e in Ae){var Oe=Me[_e],Ke=Ae[_e];Oe!==Ke&&vt(_e,Oe,Ke,se,H,Ee,R,ce)}}if(Me!==c)for(var De in Me)a(Ae[De])&&!a(Me[De])&&vt(De,Me[De],null,se,H,Ee,R,ce)}var tt=_.children,Ye=_.className;R.className!==Ye&&(a(Ye)?se.removeAttribute("class"):H?se.setAttribute("class",Ye):se.className=Ye),Z&4096?gn(se,tt):Nt(R.childFlags,_.childFlags,R.children,tt,se,z,H&&_.type!=="foreignObject",null,R,ae,ce),Ie&&xt(Z,_,se,Ae,!1,Ee);var it=_.ref,Je=R.ref;Je!==it&&(st(Je),at(it,se,ae))}function kn(R,_,z,H,Z,ae,ce){Ze(R,ce),ot(_,z,H,Z,V(R,!0),ae,ce),A(R,z,ce)}function Nt(R,_,z,H,Z,ae,ce,se,Ne,Te,Ie){switch(R){case 2:switch(_){case 2:qe(z,H,Z,ae,ce,se,Te,Ie);break;case 1:Qe(z,Z,Ie);break;case 16:Ze(z,Ie),O(Z,H);break;default:kn(z,H,Z,ae,ce,Te,Ie);break}break;case 1:switch(_){case 2:$e(H,Z,ae,ce,se,Te,Ie);break;case 1:break;case 16:O(Z,H);break;default:ot(H,Z,ae,ce,se,Te,Ie);break}break;case 16:switch(_){case 16:vn(z,H,Z);break;case 2:mt(Z,z,Ie),$e(H,Z,ae,ce,se,Te,Ie);break;case 1:mt(Z,z,Ie);break;default:mt(Z,z,Ie),ot(H,Z,ae,ce,se,Te,Ie);break}break;default:switch(_){case 16:ct(z,Ie),O(Z,H);break;case 2:ft(Z,Ne,z,Ie),$e(H,Z,ae,ce,se,Te,Ie);break;case 1:ft(Z,Ne,z,Ie);break;default:var Ee=z.length|0,Ae=H.length|0;Ee===0?Ae>0&&ot(H,Z,ae,ce,se,Te,Ie):Ae===0?ft(Z,Ne,z,Ie):_===8&&R===8?wn(z,H,Z,ae,ce,Ee,Ae,se,Ne,Te,Ie):Ln(z,H,Z,ae,ce,Ee,Ae,se,Te,Ie);break}break}}function yn(R,_,z,H,Z){Z.push(function(){R.componentDidUpdate(_,z,H)})}function Wt(R,_,z,H,Z,ae,ce,se,Ne,Te){var Ie=R.state,Ee=R.props,Ae=!!R.$N,Me=o(R.shouldComponentUpdate);if(Ae&&(_=M(R,z,_!==Ie?k(Ie,_):_)),ce||!Me||Me&&R.shouldComponentUpdate(z,_,Z)){!Ae&&o(R.componentWillUpdate)&&R.componentWillUpdate(z,_,Z),R.props=z,R.state=_,R.context=Z;var _e=null,Oe=Pt(R,z,Z);Ae&&o(R.getSnapshotBeforeUpdate)&&(_e=R.getSnapshotBeforeUpdate(Ee,Ie)),qe(R.$LI,Oe,H,R.$CX,ae,se,Ne,Te),R.$LI=Oe,o(R.componentDidUpdate)&&yn(R,Ee,Ie,_e,Ne)}else R.props=z,R.state=_,R.context=Z}function Sn(R,_,z,H,Z,ae,ce,se){var Ne=_.children=R.children;if(!y(Ne)){Ne.$L=ce;var Te=_.props||c,Ie=_.ref,Ee=R.ref,Ae=Ne.state;if(!Ne.$N){if(o(Ne.componentWillReceiveProps)){if(Ne.$BR=!0,Ne.componentWillReceiveProps(Te,H),Ne.$UN)return;Ne.$BR=!1}y(Ne.$PS)||(Ae=k(Ae,Ne.$PS),Ne.$PS=null)}Wt(Ne,Ae,Te,z,H,Z,!1,ae,ce,se),Ee!==Ie&&(st(Ee),at(Ie,Ne,ce))}}function Bn(R,_,z,H,Z,ae,ce,se){var Ne=!0,Te=_.props||c,Ie=_.ref,Ee=R.props,Ae=!a(Ie),Me=R.children;if(Ae&&o(Ie.onComponentShouldUpdate)&&(Ne=Ie.onComponentShouldUpdate(Ee,Te)),Ne!==!1){Ae&&o(Ie.onComponentWillUpdate)&&Ie.onComponentWillUpdate(Ee,Te);var _e=me(gt(_,H));qe(Me,_e,z,H,Z,ae,ce,se),_.children=_e,Ae&&o(Ie.onComponentDidUpdate)&&Ie.onComponentDidUpdate(Ee,Te)}else _.children=Me}function In(R,_){var z=_.children,H=_.dom=R.dom;z!==R.children&&(H.nodeValue=z)}function Ln(R,_,z,H,Z,ae,ce,se,Ne,Te){for(var Ie=ae>ce?ce:ae,Ee=0,Ae,Me;Eece)for(Ee=Ie;EeEe||Me>Ae)break e;_e=R[Me],Oe=_[Me]}for(_e=R[Ee],Oe=_[Ae];_e.key===Oe.key;){if(Oe.flags&16384&&(_[Ae]=Oe=ne(Oe)),qe(_e,Oe,z,H,Z,se,Te,Ie),R[Ee]=Oe,Ee--,Ae--,Me>Ee||Me>Ae)break e;_e=R[Ee],Oe=_[Ae]}}if(Me>Ee){if(Me<=Ae)for(Ke=Ae+1,De=KeAe)for(;Me<=Ee;)Qe(R[Me++],z,Ie);else Tn(R,_,H,ae,ce,Ee,Ae,Me,z,Z,se,Ne,Te,Ie)}function Tn(R,_,z,H,Z,ae,ce,se,Ne,Te,Ie,Ee,Ae,Me){var _e,Oe,Ke=0,De=0,tt=se,Ye=se,it=ae-se+1,Je=ce-se+1,lt=new Int32Array(Je+1),nt=it===H,bt=!1,Ge=0,ut=0;if(Z<4||(it|Je)<32)for(De=tt;De<=ae;++De)if(_e=R[De],utse?bt=!0:Ge=se,Oe.flags&16384&&(_[se]=Oe=ne(Oe)),qe(_e,Oe,Ne,z,Te,Ie,Ae,Me),++ut;break}!nt&&se>ce&&Qe(_e,Ne,Me)}else nt||Qe(_e,Ne,Me);else{var Yt={};for(De=Ye;De<=ce;++De)Yt[_[De].key]=De;for(De=tt;De<=ae;++De)if(_e=R[De],uttt;)Qe(R[tt++],Ne,Me);lt[se-Ye]=De+1,Ge>se?bt=!0:Ge=se,Oe=_[se],Oe.flags&16384&&(_[se]=Oe=ne(Oe)),qe(_e,Oe,Ne,z,Te,Ie,Ae,Me),++ut}else nt||Qe(_e,Ne,Me);else nt||Qe(_e,Ne,Me)}if(nt)ft(Ne,Ee,R,Me),ot(_,Ne,z,Te,Ie,Ae,Me);else if(bt){var Xt=xn(lt);for(se=Xt.length-1,De=Je-1;De>=0;De--)lt[De]===0?(Ge=De+Ye,Oe=_[Ge],Oe.flags&16384&&(_[Ge]=Oe=ne(Oe)),Ke=Ge+1,$e(Oe,Ne,z,Te,Ke0&&I(Me.componentWillMove)}else if(ut!==Je)for(De=Je-1;De>=0;De--)lt[De]===0&&(Ge=De+Ye,Oe=_[Ge],Oe.flags&16384&&(_[Ge]=Oe=ne(Oe)),Ke=Ge+1,$e(Oe,Ne,z,Te,KeUt&&(Ut=Ne,et=new Int32Array(Ne),pt=new Int32Array(Ne));z>1,R[et[se]]<_?ae=se+1:ce=se;_0&&(pt[z]=et[ae-1]),et[ae]=z)}ae=Z+1;var Te=new Int32Array(ae);for(ce=et[ae-1];ae-- >0;)Te[ae]=ce,ce=pt[ce],et[ae]=0;return Te}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function zt(R,_,z,H){var Z=[],ae=new d,ce=_.$V;j.v=!0,a(ce)?a(R)||(R.flags&16384&&(R=ne(R)),$e(R,_,H,!1,null,Z,ae),_.$V=R,ce=R):a(R)?(Qe(ce,_,ae),_.$V=null):(R.flags&16384&&(R=ne(R)),qe(ce,R,_,H,!1,null,Z,ae),ce=_.$V=R),p(Z),S(ae.componentDidAppear),j.v=!1,o(z)&&z(),o(P.renderComplete)&&P.renderComplete(ce,_)}function Ht(R,_,z,H){z===void 0&&(z=null),H===void 0&&(H=c),zt(R,_,z,H)}function En(R){return function(){function _(z,H,Z,ae){R||(R=z),Ht(H,R,Z,ae)}return _}()}var ht=[],Mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(R){window.setTimeout(R,0)},Vt=!1;function $t(R,_,z,H){var Z=R.$PS;if(o(_)&&(_=_(Z?k(R.state,Z):R.state,R.props,R.context)),a(Z))R.$PS=_;else for(var ae in _)Z[ae]=_[ae];if(R.$BR)o(z)&&R.$L.push(z.bind(R));else{if(!j.v&&ht.length===0){Gt(R,H),o(z)&&z.call(R);return}if(ht.indexOf(R)===-1&&ht.push(R),H&&(R.$F=!0),Vt||(Vt=!0,Mn(Kt)),o(z)){var ce=R.$QU;ce||(ce=R.$QU=[]),ce.push(z)}}}function Pn(R){for(var _=R.$QU,z=0;z<_.length;++z)_[z].call(R);R.$QU=null}function Kt(){var R;for(Vt=!1;R=ht.shift();)if(!R.$UN){var _=R.$F;R.$F=!1,Gt(R,_),R.$QU&&Pn(R)}}function Gt(R,_){if(_||!R.$BR){var z=R.$PS;R.$PS=null;var H=[],Z=new d;j.v=!0,Wt(R,k(R.state,z),R.props,V(R.$LI,!0).parentNode,R.context,R.$SVG,_,null,H,Z),p(H),S(Z.componentDidAppear),j.v=!1}else R.state=R.$PS,R.$PS=null}var On=r.Component=function(){function R(z,H){this.state=null,this.props=void 0,this.context=void 0,this.displayName=void 0,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$SSR=void 0,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=z||c,this.context=H||c}var _=R.prototype;return _.forceUpdate=function(){function z(H){this.$UN||$t(this,{},H,!0)}return z}(),_.setState=function(){function z(H,Z){this.$UN||this.$BS||$t(this,H,Z,!1)}return z}(),_.render=function(){function z(H,Z,ae){return null}return z}(),R}();On.defaultProps=null;var Dn=r.version="8.2.3"},89005:function(T,r,n){"use strict";r.__esModule=!0;var e=n(89292);Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in r&&r[a]===e[a]||(r[a]=e[a])})},71614:function(T,r,n){"use strict";var e=n(21285);function a(){}function t(){}t.resetWarningCache=a,T.exports=function(){function o(y,B,k,C,l,c){if(c!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}o.isRequired=o;function f(){return o}var b={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:f,element:o,elementType:o,instanceOf:f,node:o,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:t,resetWarningCache:a};return b.PropTypes=b,b}},15964:function(T,r,n){"use strict";if(0)var e,a;else T.exports=n(71614)()},21285:function(T){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";T.exports=r},95012:function(T){"use strict";var r=function(n){"use strict";var e=Object.prototype,a=e.hasOwnProperty,t=Object.defineProperty||function(P,O,D){P[O]=D.value},o,f=typeof Symbol=="function"?Symbol:{},b=f.iterator||"@@iterator",y=f.asyncIterator||"@@asyncIterator",B=f.toStringTag||"@@toStringTag";function k(P,O,D){return Object.defineProperty(P,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),P[O]}try{k({},"")}catch(P){k=function(D,F,W){return D[F]=W}}function C(P,O,D,F){var W=O&&O.prototype instanceof i?O:i,U=Object.create(W.prototype),$=new E(F||[]);return t(U,"_invoke",{value:L(P,D,$)}),U}n.wrap=C;function l(P,O,D){try{return{type:"normal",arg:P.call(O,D)}}catch(F){return{type:"throw",arg:F}}}var c="suspendedStart",m="suspendedYield",d="executing",u="completed",s={};function i(){}function h(){}function N(){}var v={};k(v,b,function(){return this});var p=Object.getPrototypeOf,g=p&&p(p(M([])));g&&g!==e&&a.call(g,b)&&(v=g);var V=N.prototype=i.prototype=Object.create(v);h.prototype=N,t(V,"constructor",{value:N,configurable:!0}),t(N,"constructor",{value:h,configurable:!0}),h.displayName=k(N,B,"GeneratorFunction");function S(P){["next","throw","return"].forEach(function(O){k(P,O,function(D){return this._invoke(O,D)})})}n.isGeneratorFunction=function(P){var O=typeof P=="function"&&P.constructor;return O?O===h||(O.displayName||O.name)==="GeneratorFunction":!1},n.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,N):(P.__proto__=N,k(P,B,"GeneratorFunction")),P.prototype=Object.create(V),P},n.awrap=function(P){return{__await:P}};function I(P,O){function D(U,$,K,G){var Q=l(P[U],P,$);if(Q.type==="throw")G(Q.arg);else{var J=Q.arg,ue=J.value;return ue&&typeof ue=="object"&&a.call(ue,"__await")?O.resolve(ue.__await).then(function(ie){D("next",ie,K,G)},function(ie){D("throw",ie,K,G)}):O.resolve(ue).then(function(ie){J.value=ie,K(J)},function(ie){return D("throw",ie,K,G)})}}var F;function W(U,$){function K(){return new O(function(G,Q){D(U,$,G,Q)})}return F=F?F.then(K,K):K()}t(this,"_invoke",{value:W})}S(I.prototype),k(I.prototype,y,function(){return this}),n.AsyncIterator=I,n.async=function(P,O,D,F,W){W===void 0&&(W=Promise);var U=new I(C(P,O,D,F),W);return n.isGeneratorFunction(O)?U:U.next().then(function($){return $.done?$.value:U.next()})};function L(P,O,D){var F=c;return function(){function W(U,$){if(F===d)throw new Error("Generator is already running");if(F===u){if(U==="throw")throw $;return j()}for(D.method=U,D.arg=$;;){var K=D.delegate;if(K){var G=w(K,D);if(G){if(G===s)continue;return G}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(F===c)throw F=u,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);F=d;var Q=l(P,O,D);if(Q.type==="normal"){if(F=D.done?u:m,Q.arg===s)continue;return{value:Q.arg,done:D.done}}else Q.type==="throw"&&(F=u,D.method="throw",D.arg=Q.arg)}}return W}()}function w(P,O){var D=O.method,F=P.iterator[D];if(F===o)return O.delegate=null,D==="throw"&&P.iterator.return&&(O.method="return",O.arg=o,w(P,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),s;var W=l(F,P.iterator,O.arg);if(W.type==="throw")return O.method="throw",O.arg=W.arg,O.delegate=null,s;var U=W.arg;if(!U)return O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,s;if(U.done)O[P.resultName]=U.value,O.next=P.nextLoc,O.method!=="return"&&(O.method="next",O.arg=o);else return U;return O.delegate=null,s}S(V),k(V,B,"Generator"),k(V,b,function(){return this}),k(V,"toString",function(){return"[object Generator]"});function A(P){var O={tryLoc:P[0]};1 in P&&(O.catchLoc=P[1]),2 in P&&(O.finallyLoc=P[2],O.afterLoc=P[3]),this.tryEntries.push(O)}function x(P){var O=P.completion||{};O.type="normal",delete O.arg,P.completion=O}function E(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(A,this),this.reset(!0)}n.keys=function(P){var O=Object(P),D=[];for(var F in O)D.push(F);return D.reverse(),function(){function W(){for(;D.length;){var U=D.pop();if(U in O)return W.value=U,W.done=!1,W}return W.done=!0,W}return W}()};function M(P){if(P!=null){var O=P[b];if(O)return O.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var D=-1,F=function(){function W(){for(;++D=0;--W){var U=this.tryEntries[W],$=U.completion;if(U.tryLoc==="root")return F("end");if(U.tryLoc<=this.prev){var K=a.call(U,"catchLoc"),G=a.call(U,"finallyLoc");if(K&&G){if(this.prev=0;--F){var W=this.tryEntries[F];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--D){var F=this.tryEntries[D];if(F.finallyLoc===O)return this.complete(F.completion,F.afterLoc),x(F),s}}return P}(),catch:function(){function P(O){for(var D=this.tryEntries.length-1;D>=0;--D){var F=this.tryEntries[D];if(F.tryLoc===O){var W=F.completion;if(W.type==="throw"){var U=W.arg;x(F)}return U}}throw new Error("illegal catch attempt")}return P}(),delegateYield:function(){function P(O,D,F){return this.delegate={iterator:M(O),resultName:D,nextLoc:F},this.method==="next"&&(this.arg=o),s}return P}()},n}(T.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(T,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},f=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function B(){return Promise.resolve(a.responseText)}return B}(),json:function(){function B(){return Promise.resolve(a.responseText).then(JSON.parse)}return B}(),blob:function(){function B(){return Promise.resolve(new Blob([a.response]))}return B}(),clone:y,headers:{keys:function(){function B(){return t}return B}(),entries:function(){function B(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return B}(),get:function(){function B(k){return a.getResponseHeader(k)}return B}(),has:function(){function B(k){return a.getResponseHeader(k)!=null}return B}()}}}return y}();for(var b in a.open(r.method||"get",T,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,B){o[B]||t.push(o[B]=B)}),n(f())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(b,r.headers[b]);a.send(r.body||null)})})},88510:function(T,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(i,h){var N=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(N)return(N=N.call(i)).next.bind(N);if(Array.isArray(i)||(N=e(i))||h&&i&&typeof i.length=="number"){N&&(i=N);var v=0;return function(){return v>=i.length?{done:!0}:{done:!1,value:i[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,h){if(i){if(typeof i=="string")return a(i,h);var N={}.toString.call(i).slice(8,-1);return N==="Object"&&i.constructor&&(N=i.constructor.name),N==="Map"||N==="Set"?Array.from(i):N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N)?a(i,h):void 0}}function a(i,h){(h==null||h>i.length)&&(h=i.length);for(var N=0,v=Array(h);N0&&(0,a.round)(C.width)/y.offsetWidth||1,c=y.offsetHeight>0&&(0,a.round)(C.height)/y.offsetHeight||1);var f=(0,e.isElement)(y)?(0,t.default)(y):window,u=f.visualViewport,d=!(0,o.default)()&&k,s=(C.left+(d&&u?u.offsetLeft:0))/l,i=(C.top+(d&&u?u.offsetTop:0))/c,h=C.width/l,N=C.height/c;return{width:h,height:N,top:i,right:s+h,bottom:i+N,left:s,x:s,y:i}}},49035:function(T,r,n){"use strict";r.__esModule=!0,r.default=N;var e=n(46206),a=d(n(87991)),t=d(n(79752)),o=d(n(98309)),m=d(n(44896)),b=d(n(40600)),y=d(n(16599)),B=n(75573),k=d(n(37786)),C=d(n(57819)),l=d(n(4206)),c=d(n(12972)),f=d(n(81666)),u=n(63618);function d(v){return v&&v.__esModule?v:{default:v}}function s(v,p){var g=(0,k.default)(v,!1,p==="fixed");return g.top=g.top+v.clientTop,g.left=g.left+v.clientLeft,g.bottom=g.top+v.clientHeight,g.right=g.left+v.clientWidth,g.width=v.clientWidth,g.height=v.clientHeight,g.x=g.left,g.y=g.top,g}function i(v,p,g){return p===e.viewport?(0,f.default)((0,a.default)(v,g)):(0,B.isElement)(p)?s(p,g):(0,f.default)((0,t.default)((0,b.default)(v)))}function h(v){var p=(0,o.default)((0,C.default)(v)),g=["absolute","fixed"].indexOf((0,y.default)(v).position)>=0,V=g&&(0,B.isHTMLElement)(v)?(0,m.default)(v):v;return(0,B.isElement)(V)?p.filter(function(S){return(0,B.isElement)(S)&&(0,l.default)(S,V)&&(0,c.default)(S)!=="body"}):[]}function N(v,p,g,V){var S=p==="clippingParents"?h(v):[].concat(p),I=[].concat(S,[g]),L=I[0],w=I.reduce(function(A,x){var E=i(v,x,V);return A.top=(0,u.max)(E.top,A.top),A.right=(0,u.min)(E.right,A.right),A.bottom=(0,u.min)(E.bottom,A.bottom),A.left=(0,u.max)(E.left,A.left),A},i(v,L,V));return w.width=w.right-w.left,w.height=w.bottom-w.top,w.x=w.left,w.y=w.top,w}},74758:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=k(n(37786)),a=k(n(13390)),t=k(n(12972)),o=n(75573),m=k(n(79697)),b=k(n(40600)),y=k(n(10798)),B=n(63618);function k(c){return c&&c.__esModule?c:{default:c}}function C(c){var f=c.getBoundingClientRect(),u=(0,B.round)(f.width)/c.offsetWidth||1,d=(0,B.round)(f.height)/c.offsetHeight||1;return u!==1||d!==1}function l(c,f,u){u===void 0&&(u=!1);var d=(0,o.isHTMLElement)(f),s=(0,o.isHTMLElement)(f)&&C(f),i=(0,b.default)(f),h=(0,e.default)(c,s,u),N={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(d||!d&&!u)&&(((0,t.default)(f)!=="body"||(0,y.default)(i))&&(N=(0,a.default)(f)),(0,o.isHTMLElement)(f)?(v=(0,e.default)(f,!0),v.x+=f.clientLeft,v.y+=f.clientTop):i&&(v.x=(0,m.default)(i))),{x:h.left+N.scrollLeft-v.x,y:h.top+N.scrollTop-v.y,width:h.width,height:h.height}}},16599:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return(0,e.default)(o).getComputedStyle(o)}},40600:function(T,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(75573);function a(t){return(((0,e.isElement)(t)?t.ownerDocument:t.document)||window.document).documentElement}},79752:function(T,r,n){"use strict";r.__esModule=!0,r.default=y;var e=b(n(40600)),a=b(n(16599)),t=b(n(79697)),o=b(n(43750)),m=n(63618);function b(B){return B&&B.__esModule?B:{default:B}}function y(B){var k,C=(0,e.default)(B),l=(0,o.default)(B),c=(k=B.ownerDocument)==null?void 0:k.body,f=(0,m.max)(C.scrollWidth,C.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),u=(0,m.max)(C.scrollHeight,C.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),d=-l.scrollLeft+(0,t.default)(B),s=-l.scrollTop;return(0,a.default)(c||C).direction==="rtl"&&(d+=(0,m.max)(C.clientWidth,c?c.clientWidth:0)-f),{width:f,height:u,x:d,y:s}}},3073:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}},28811:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(37786));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),b=o.offsetWidth,y=o.offsetHeight;return Math.abs(m.width-b)<=1&&(b=m.width),Math.abs(m.height-y)<=1&&(y=m.height),{x:o.offsetLeft,y:o.offsetTop,width:b,height:y}}},12972:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e?(e.nodeName||"").toLowerCase():null}},13390:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(43750)),a=m(n(95115)),t=n(75573),o=m(n(3073));function m(y){return y&&y.__esModule?y:{default:y}}function b(y){return y===(0,a.default)(y)||!(0,t.isHTMLElement)(y)?(0,e.default)(y):(0,o.default)(y)}},44896:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=B(n(95115)),a=B(n(12972)),t=B(n(16599)),o=n(75573),m=B(n(87031)),b=B(n(57819)),y=B(n(35366));function B(c){return c&&c.__esModule?c:{default:c}}function k(c){return!(0,o.isHTMLElement)(c)||(0,t.default)(c).position==="fixed"?null:c.offsetParent}function C(c){var f=/firefox/i.test((0,y.default)()),u=/Trident/i.test((0,y.default)());if(u&&(0,o.isHTMLElement)(c)){var d=(0,t.default)(c);if(d.position==="fixed")return null}var s=(0,b.default)(c);for((0,o.isShadowRoot)(s)&&(s=s.host);(0,o.isHTMLElement)(s)&&["html","body"].indexOf((0,a.default)(s))<0;){var i=(0,t.default)(s);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||f&&i.willChange==="filter"||f&&i.filter&&i.filter!=="none")return s;s=s.parentNode}return null}function l(c){for(var f=(0,e.default)(c),u=k(c);u&&(0,m.default)(u)&&(0,t.default)(u).position==="static";)u=k(u);return u&&((0,a.default)(u)==="html"||(0,a.default)(u)==="body"&&(0,t.default)(u).position==="static")?f:u||C(c)||f}},57819:function(T,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(12972)),a=o(n(40600)),t=n(75573);function o(b){return b&&b.__esModule?b:{default:b}}function m(b){return(0,e.default)(b)==="html"?b:b.assignedSlot||b.parentNode||((0,t.isShadowRoot)(b)?b.host:null)||(0,a.default)(b)}},24426:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(57819)),a=m(n(10798)),t=m(n(12972)),o=n(75573);function m(y){return y&&y.__esModule?y:{default:y}}function b(y){return["html","body","#document"].indexOf((0,t.default)(y))>=0?y.ownerDocument.body:(0,o.isHTMLElement)(y)&&(0,a.default)(y)?y:b((0,e.default)(y))}},87991:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(95115)),a=m(n(40600)),t=m(n(79697)),o=m(n(89331));function m(y){return y&&y.__esModule?y:{default:y}}function b(y,B){var k=(0,e.default)(y),C=(0,a.default)(y),l=k.visualViewport,c=C.clientWidth,f=C.clientHeight,u=0,d=0;if(l){c=l.width,f=l.height;var s=(0,o.default)();(s||!s&&B==="fixed")&&(u=l.offsetLeft,d=l.offsetTop)}return{width:c,height:f,x:u+(0,t.default)(y),y:d}}},95115:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var a=e.ownerDocument;return a&&a.defaultView||window}return e}},43750:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(95115));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),b=m.pageXOffset,y=m.pageYOffset;return{scrollLeft:b,scrollTop:y}}},79697:function(T,r,n){"use strict";r.__esModule=!0,r.default=m;var e=o(n(37786)),a=o(n(40600)),t=o(n(43750));function o(b){return b&&b.__esModule?b:{default:b}}function m(b){return(0,e.default)((0,a.default)(b)).left+(0,t.default)(b).scrollLeft}},75573:function(T,r,n){"use strict";r.__esModule=!0,r.isElement=t,r.isHTMLElement=o,r.isShadowRoot=m;var e=a(n(95115));function a(b){return b&&b.__esModule?b:{default:b}}function t(b){var y=(0,e.default)(b).Element;return b instanceof y||b instanceof Element}function o(b){var y=(0,e.default)(b).HTMLElement;return b instanceof y||b instanceof HTMLElement}function m(b){if(typeof ShadowRoot=="undefined")return!1;var y=(0,e.default)(b).ShadowRoot;return b instanceof y||b instanceof ShadowRoot}},89331:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(35366));function a(o){return o&&o.__esModule?o:{default:o}}function t(){return!/^((?!chrome|android).)*safari/i.test((0,e.default)())}},10798:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(16599));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){var m=(0,e.default)(o),b=m.overflow,y=m.overflowX,B=m.overflowY;return/auto|scroll|overlay|hidden/.test(b+B+y)}},87031:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(12972));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return["table","td","th"].indexOf((0,e.default)(o))>=0}},98309:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(24426)),a=m(n(57819)),t=m(n(95115)),o=m(n(10798));function m(y){return y&&y.__esModule?y:{default:y}}function b(y,B){var k;B===void 0&&(B=[]);var C=(0,e.default)(y),l=C===((k=y.ownerDocument)==null?void 0:k.body),c=(0,t.default)(C),f=l?[c].concat(c.visualViewport||[],(0,o.default)(C)?C:[]):C,u=B.concat(f);return l?u:u.concat(b((0,a.default)(f)))}},46206:function(T,r){"use strict";r.__esModule=!0,r.write=r.viewport=r.variationPlacements=r.top=r.start=r.right=r.reference=r.read=r.popper=r.placements=r.modifierPhases=r.main=r.left=r.end=r.clippingParents=r.bottom=r.beforeWrite=r.beforeRead=r.beforeMain=r.basePlacements=r.auto=r.afterWrite=r.afterRead=r.afterMain=void 0;var n=r.top="top",e=r.bottom="bottom",a=r.right="right",t=r.left="left",o=r.auto="auto",m=r.basePlacements=[n,e,a,t],b=r.start="start",y=r.end="end",B=r.clippingParents="clippingParents",k=r.viewport="viewport",C=r.popper="popper",l=r.reference="reference",c=r.variationPlacements=m.reduce(function(S,I){return S.concat([I+"-"+b,I+"-"+y])},[]),f=r.placements=[].concat(m,[o]).reduce(function(S,I){return S.concat([I,I+"-"+b,I+"-"+y])},[]),u=r.beforeRead="beforeRead",d=r.read="read",s=r.afterRead="afterRead",i=r.beforeMain="beforeMain",h=r.main="main",N=r.afterMain="afterMain",v=r.beforeWrite="beforeWrite",p=r.write="write",g=r.afterWrite="afterWrite",V=r.modifierPhases=[u,d,s,i,h,N,v,p,g]},95996:function(T,r,n){"use strict";r.__esModule=!0;var e={popperGenerator:!0,detectOverflow:!0,createPopperBase:!0,createPopper:!0,createPopperLite:!0};r.popperGenerator=r.detectOverflow=r.createPopperLite=r.createPopperBase=r.createPopper=void 0;var a=n(46206);Object.keys(a).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===a[y]||(r[y]=a[y])});var t=n(39805);Object.keys(t).forEach(function(y){y==="default"||y==="__esModule"||Object.prototype.hasOwnProperty.call(e,y)||y in r&&r[y]===t[y]||(r[y]=t[y])});var o=n(96376);r.popperGenerator=o.popperGenerator,r.detectOverflow=o.detectOverflow,r.createPopperBase=o.createPopper;var m=n(83312);r.createPopper=m.createPopper;var b=n(2473);r.createPopperLite=b.createPopper},19975:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=t(n(12972)),a=n(75573);function t(y){return y&&y.__esModule?y:{default:y}}function o(y){var B=y.state;Object.keys(B.elements).forEach(function(k){var C=B.styles[k]||{},l=B.attributes[k]||{},c=B.elements[k];!(0,a.isHTMLElement)(c)||!(0,e.default)(c)||(Object.assign(c.style,C),Object.keys(l).forEach(function(f){var u=l[f];u===!1?c.removeAttribute(f):c.setAttribute(f,u===!0?"":u)}))})}function m(y){var B=y.state,k={popper:{position:B.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(B.elements.popper.style,k.popper),B.styles=k,B.elements.arrow&&Object.assign(B.elements.arrow.style,k.arrow),function(){Object.keys(B.elements).forEach(function(C){var l=B.elements[C],c=B.attributes[C]||{},f=Object.keys(B.styles.hasOwnProperty(C)?B.styles[C]:k[C]),u=f.reduce(function(d,s){return d[s]="",d},{});!(0,a.isHTMLElement)(l)||!(0,e.default)(l)||(Object.assign(l.style,u),Object.keys(c).forEach(function(d){l.removeAttribute(d)}))})}}var b=r.default={name:"applyStyles",enabled:!0,phase:"write",fn:o,effect:m,requires:["computeStyles"]}},52744:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=C(n(83104)),a=C(n(28811)),t=C(n(4206)),o=C(n(44896)),m=C(n(41199)),b=n(28595),y=C(n(43286)),B=C(n(81447)),k=n(46206);function C(d){return d&&d.__esModule?d:{default:d}}var l=function(){function d(s,i){return s=typeof s=="function"?s(Object.assign({},i.rects,{placement:i.placement})):s,(0,y.default)(typeof s!="number"?s:(0,B.default)(s,k.basePlacements))}return d}();function c(d){var s,i=d.state,h=d.name,N=d.options,v=i.elements.arrow,p=i.modifiersData.popperOffsets,g=(0,e.default)(i.placement),V=(0,m.default)(g),S=[k.left,k.right].indexOf(g)>=0,I=S?"height":"width";if(!(!v||!p)){var L=l(N.padding,i),w=(0,a.default)(v),A=V==="y"?k.top:k.left,x=V==="y"?k.bottom:k.right,E=i.rects.reference[I]+i.rects.reference[V]-p[V]-i.rects.popper[I],M=p[V]-i.rects.reference[V],j=(0,o.default)(v),P=j?V==="y"?j.clientHeight||0:j.clientWidth||0:0,O=E/2-M/2,D=L[A],F=P-w[I]-L[x],W=P/2-w[I]/2+O,U=(0,b.within)(D,W,F),$=V;i.modifiersData[h]=(s={},s[$]=U,s.centerOffset=U-W,s)}}function f(d){var s=d.state,i=d.options,h=i.element,N=h===void 0?"[data-popper-arrow]":h;N!=null&&(typeof N=="string"&&(N=s.elements.popper.querySelector(N),!N)||(0,t.default)(s.elements.popper,N)&&(s.elements.arrow=N))}var u=r.default={name:"arrow",enabled:!0,phase:"main",fn:c,effect:f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},59894:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.mapToStyles=c;var e=n(46206),a=k(n(44896)),t=k(n(95115)),o=k(n(40600)),m=k(n(16599)),b=k(n(83104)),y=k(n(45)),B=n(63618);function k(d){return d&&d.__esModule?d:{default:d}}var C={top:"auto",right:"auto",bottom:"auto",left:"auto"};function l(d,s){var i=d.x,h=d.y,N=s.devicePixelRatio||1;return{x:(0,B.round)(i*N)/N||0,y:(0,B.round)(h*N)/N||0}}function c(d){var s,i=d.popper,h=d.popperRect,N=d.placement,v=d.variation,p=d.offsets,g=d.position,V=d.gpuAcceleration,S=d.adaptive,I=d.roundOffsets,L=d.isFixed,w=p.x,A=w===void 0?0:w,x=p.y,E=x===void 0?0:x,M=typeof I=="function"?I({x:A,y:E}):{x:A,y:E};A=M.x,E=M.y;var j=p.hasOwnProperty("x"),P=p.hasOwnProperty("y"),O=e.left,D=e.top,F=window;if(S){var W=(0,a.default)(i),U="clientHeight",$="clientWidth";if(W===(0,t.default)(i)&&(W=(0,o.default)(i),(0,m.default)(W).position!=="static"&&g==="absolute"&&(U="scrollHeight",$="scrollWidth")),W=W,N===e.top||(N===e.left||N===e.right)&&v===e.end){D=e.bottom;var K=L&&W===F&&F.visualViewport?F.visualViewport.height:W[U];E-=K-h.height,E*=V?1:-1}if(N===e.left||(N===e.top||N===e.bottom)&&v===e.end){O=e.right;var G=L&&W===F&&F.visualViewport?F.visualViewport.width:W[$];A-=G-h.width,A*=V?1:-1}}var Q=Object.assign({position:g},S&&C),J=I===!0?l({x:A,y:E},(0,t.default)(i)):{x:A,y:E};if(A=J.x,E=J.y,V){var ue;return Object.assign({},Q,(ue={},ue[D]=P?"0":"",ue[O]=j?"0":"",ue.transform=(F.devicePixelRatio||1)<=1?"translate("+A+"px, "+E+"px)":"translate3d("+A+"px, "+E+"px, 0)",ue))}return Object.assign({},Q,(s={},s[D]=P?E+"px":"",s[O]=j?A+"px":"",s.transform="",s))}function f(d){var s=d.state,i=d.options,h=i.gpuAcceleration,N=h===void 0?!0:h,v=i.adaptive,p=v===void 0?!0:v,g=i.roundOffsets,V=g===void 0?!0:g,S={placement:(0,b.default)(s.placement),variation:(0,y.default)(s.placement),popper:s.elements.popper,popperRect:s.rects.popper,gpuAcceleration:N,isFixed:s.options.strategy==="fixed"};s.modifiersData.popperOffsets!=null&&(s.styles.popper=Object.assign({},s.styles.popper,c(Object.assign({},S,{offsets:s.modifiersData.popperOffsets,position:s.options.strategy,adaptive:p,roundOffsets:V})))),s.modifiersData.arrow!=null&&(s.styles.arrow=Object.assign({},s.styles.arrow,c(Object.assign({},S,{offsets:s.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:V})))),s.attributes.popper=Object.assign({},s.attributes.popper,{"data-popper-placement":s.placement})}var u=r.default={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:f,data:{}}},36692:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(95115));function a(b){return b&&b.__esModule?b:{default:b}}var t={passive:!0};function o(b){var y=b.state,B=b.instance,k=b.options,C=k.scroll,l=C===void 0?!0:C,c=k.resize,f=c===void 0?!0:c,u=(0,e.default)(y.elements.popper),d=[].concat(y.scrollParents.reference,y.scrollParents.popper);return l&&d.forEach(function(s){s.addEventListener("scroll",B.update,t)}),f&&u.addEventListener("resize",B.update,t),function(){l&&d.forEach(function(s){s.removeEventListener("scroll",B.update,t)}),f&&u.removeEventListener("resize",B.update,t)}}var m=r.default={name:"eventListeners",enabled:!0,phase:"write",fn:function(){function b(){}return b}(),effect:o,data:{}}},23798:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=B(n(71376)),a=B(n(83104)),t=B(n(86459)),o=B(n(17633)),m=B(n(9041)),b=n(46206),y=B(n(45));function B(c){return c&&c.__esModule?c:{default:c}}function k(c){if((0,a.default)(c)===b.auto)return[];var f=(0,e.default)(c);return[(0,t.default)(c),f,(0,t.default)(f)]}function C(c){var f=c.state,u=c.options,d=c.name;if(!f.modifiersData[d]._skip){for(var s=u.mainAxis,i=s===void 0?!0:s,h=u.altAxis,N=h===void 0?!0:h,v=u.fallbackPlacements,p=u.padding,g=u.boundary,V=u.rootBoundary,S=u.altBoundary,I=u.flipVariations,L=I===void 0?!0:I,w=u.allowedAutoPlacements,A=f.options.placement,x=(0,a.default)(A),E=x===A,M=v||(E||!L?[(0,e.default)(A)]:k(A)),j=[A].concat(M).reduce(function(re,oe){return re.concat((0,a.default)(oe)===b.auto?(0,m.default)(f,{placement:oe,boundary:g,rootBoundary:V,padding:p,flipVariations:L,allowedAutoPlacements:w}):oe)},[]),P=f.rects.reference,O=f.rects.popper,D=new Map,F=!0,W=j[0],U=0;U=0,J=Q?"width":"height",ue=(0,o.default)(f,{placement:$,boundary:g,rootBoundary:V,altBoundary:S,padding:p}),ie=Q?G?b.right:b.left:G?b.bottom:b.top;P[J]>O[J]&&(ie=(0,e.default)(ie));var he=(0,e.default)(ie),te=[];if(i&&te.push(ue[K]<=0),N&&te.push(ue[ie]<=0,ue[he]<=0),te.every(function(re){return re})){W=$,F=!1;break}D.set($,te)}if(F)for(var q=L?3:1,ne=function(){function re(oe){var fe=j.find(function(me){var Y=D.get(me);if(Y)return Y.slice(0,oe).every(function(ve){return ve})});if(fe)return W=fe,"break"}return re}(),le=q;le>0;le--){var ee=ne(le);if(ee==="break")break}f.placement!==W&&(f.modifiersData[d]._skip=!0,f.placement=W,f.reset=!0)}}var l=r.default={name:"flip",enabled:!0,phase:"main",fn:C,requiresIfExists:["offset"],data:{_skip:!1}}},83761:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=t(n(17633));function t(B){return B&&B.__esModule?B:{default:B}}function o(B,k,C){return C===void 0&&(C={x:0,y:0}),{top:B.top-k.height-C.y,right:B.right-k.width+C.x,bottom:B.bottom-k.height+C.y,left:B.left-k.width-C.x}}function m(B){return[e.top,e.right,e.bottom,e.left].some(function(k){return B[k]>=0})}function b(B){var k=B.state,C=B.name,l=k.rects.reference,c=k.rects.popper,f=k.modifiersData.preventOverflow,u=(0,a.default)(k,{elementContext:"reference"}),d=(0,a.default)(k,{altBoundary:!0}),s=o(u,l),i=o(d,c,f),h=m(s),N=m(i);k.modifiersData[C]={referenceClippingOffsets:s,popperEscapeOffsets:i,isReferenceHidden:h,hasPopperEscaped:N},k.attributes.popper=Object.assign({},k.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":N})}var y=r.default={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:b}},39805:function(T,r,n){"use strict";r.__esModule=!0,r.preventOverflow=r.popperOffsets=r.offset=r.hide=r.flip=r.eventListeners=r.computeStyles=r.arrow=r.applyStyles=void 0;var e=C(n(19975));r.applyStyles=e.default;var a=C(n(52744));r.arrow=a.default;var t=C(n(59894));r.computeStyles=t.default;var o=C(n(36692));r.eventListeners=o.default;var m=C(n(23798));r.flip=m.default;var b=C(n(83761));r.hide=b.default;var y=C(n(61410));r.offset=y.default;var B=C(n(40107));r.popperOffsets=B.default;var k=C(n(75137));r.preventOverflow=k.default;function C(l){return l&&l.__esModule?l:{default:l}}},61410:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0,r.distanceAndSkiddingToXY=o;var e=t(n(83104)),a=n(46206);function t(y){return y&&y.__esModule?y:{default:y}}function o(y,B,k){var C=(0,e.default)(y),l=[a.left,a.top].indexOf(C)>=0?-1:1,c=typeof k=="function"?k(Object.assign({},B,{placement:y})):k,f=c[0],u=c[1];return f=f||0,u=(u||0)*l,[a.left,a.right].indexOf(C)>=0?{x:u,y:f}:{x:f,y:u}}function m(y){var B=y.state,k=y.options,C=y.name,l=k.offset,c=l===void 0?[0,0]:l,f=a.placements.reduce(function(i,h){return i[h]=o(h,B.rects,c),i},{}),u=f[B.placement],d=u.x,s=u.y;B.modifiersData.popperOffsets!=null&&(B.modifiersData.popperOffsets.x+=d,B.modifiersData.popperOffsets.y+=s),B.modifiersData[C]=f}var b=r.default={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:m}},40107:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=a(n(89951));function a(m){return m&&m.__esModule?m:{default:m}}function t(m){var b=m.state,y=m.name;b.modifiersData[y]=(0,e.default)({reference:b.rects.reference,element:b.rects.popper,strategy:"absolute",placement:b.placement})}var o=r.default={name:"popperOffsets",enabled:!0,phase:"read",fn:t,data:{}}},75137:function(T,r,n){"use strict";r.__esModule=!0,r.default=void 0;var e=n(46206),a=c(n(83104)),t=c(n(41199)),o=c(n(28066)),m=n(28595),b=c(n(28811)),y=c(n(44896)),B=c(n(17633)),k=c(n(45)),C=c(n(34780)),l=n(63618);function c(d){return d&&d.__esModule?d:{default:d}}function f(d){var s=d.state,i=d.options,h=d.name,N=i.mainAxis,v=N===void 0?!0:N,p=i.altAxis,g=p===void 0?!1:p,V=i.boundary,S=i.rootBoundary,I=i.altBoundary,L=i.padding,w=i.tether,A=w===void 0?!0:w,x=i.tetherOffset,E=x===void 0?0:x,M=(0,B.default)(s,{boundary:V,rootBoundary:S,padding:L,altBoundary:I}),j=(0,a.default)(s.placement),P=(0,k.default)(s.placement),O=!P,D=(0,t.default)(j),F=(0,o.default)(D),W=s.modifiersData.popperOffsets,U=s.rects.reference,$=s.rects.popper,K=typeof E=="function"?E(Object.assign({},s.rects,{placement:s.placement})):E,G=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Q=s.modifiersData.offset?s.modifiersData.offset[s.placement]:null,J={x:0,y:0};if(W){if(v){var ue,ie=D==="y"?e.top:e.left,he=D==="y"?e.bottom:e.right,te=D==="y"?"height":"width",q=W[D],ne=q+M[ie],le=q-M[he],ee=A?-$[te]/2:0,re=P===e.start?U[te]:$[te],oe=P===e.start?-$[te]:-U[te],fe=s.elements.arrow,me=A&&fe?(0,b.default)(fe):{width:0,height:0},Y=s.modifiersData["arrow#persistent"]?s.modifiersData["arrow#persistent"].padding:(0,C.default)(),ve=Y[ie],pe=Y[he],Ve=(0,m.within)(0,U[te],me[te]),Be=O?U[te]/2-ee-Ve-ve-G.mainAxis:re-Ve-ve-G.mainAxis,be=O?-U[te]/2+ee+Ve+pe+G.mainAxis:oe+Ve+pe+G.mainAxis,Le=s.elements.arrow&&(0,y.default)(s.elements.arrow),we=Le?D==="y"?Le.clientTop||0:Le.clientLeft||0:0,xe=(ue=Q==null?void 0:Q[D])!=null?ue:0,Re=q+Be-xe-we,ze=q+be-xe,ye=(0,m.within)(A?(0,l.min)(ne,Re):ne,q,A?(0,l.max)(le,ze):le);W[D]=ye,J[D]=ye-q}if(g){var de,Ce=D==="x"?e.top:e.left,ke=D==="x"?e.bottom:e.right,ge=W[F],Se=F==="y"?"height":"width",Pe=ge+M[Ce],je=ge-M[ke],Fe=[e.top,e.left].indexOf(j)!==-1,He=(de=Q==null?void 0:Q[F])!=null?de:0,We=Fe?Pe:ge-U[Se]-$[Se]-He+G.altAxis,Ue=Fe?ge+U[Se]+$[Se]-He-G.altAxis:je,Xe=A&&Fe?(0,m.withinMaxClamp)(We,ge,Ue):(0,m.within)(A?We:Pe,ge,A?Ue:je);W[F]=Xe,J[F]=Xe-ge}s.modifiersData[h]=J}}var u=r.default={name:"preventOverflow",enabled:!0,phase:"main",fn:f,requiresIfExists:["offset"]}},2473:function(T,r,n){"use strict";r.__esModule=!0,r.defaultModifiers=r.createPopper=void 0;var e=n(96376);r.popperGenerator=e.popperGenerator,r.detectOverflow=e.detectOverflow;var a=b(n(36692)),t=b(n(40107)),o=b(n(59894)),m=b(n(19975));function b(k){return k&&k.__esModule?k:{default:k}}var y=r.defaultModifiers=[a.default,t.default,o.default,m.default],B=r.createPopper=(0,e.popperGenerator)({defaultModifiers:y})},83312:function(T,r,n){"use strict";r.__esModule=!0;var e={createPopper:!0,createPopperLite:!0,defaultModifiers:!0,popperGenerator:!0,detectOverflow:!0};r.defaultModifiers=r.createPopperLite=r.createPopper=void 0;var a=n(96376);r.popperGenerator=a.popperGenerator,r.detectOverflow=a.detectOverflow;var t=u(n(36692)),o=u(n(40107)),m=u(n(59894)),b=u(n(19975)),y=u(n(61410)),B=u(n(23798)),k=u(n(75137)),C=u(n(52744)),l=u(n(83761)),c=n(2473);r.createPopperLite=c.createPopper;var f=n(39805);Object.keys(f).forEach(function(i){i==="default"||i==="__esModule"||Object.prototype.hasOwnProperty.call(e,i)||i in r&&r[i]===f[i]||(r[i]=f[i])});function u(i){return i&&i.__esModule?i:{default:i}}var d=r.defaultModifiers=[t.default,o.default,m.default,b.default,y.default,B.default,k.default,C.default,l.default],s=r.createPopperLite=r.createPopper=(0,a.popperGenerator)({defaultModifiers:d})},9041:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(45)),a=n(46206),t=m(n(17633)),o=m(n(83104));function m(y){return y&&y.__esModule?y:{default:y}}function b(y,B){B===void 0&&(B={});var k=B,C=k.placement,l=k.boundary,c=k.rootBoundary,f=k.padding,u=k.flipVariations,d=k.allowedAutoPlacements,s=d===void 0?a.placements:d,i=(0,e.default)(C),h=i?u?a.variationPlacements:a.variationPlacements.filter(function(p){return(0,e.default)(p)===i}):a.basePlacements,N=h.filter(function(p){return s.indexOf(p)>=0});N.length===0&&(N=h);var v=N.reduce(function(p,g){return p[g]=(0,t.default)(y,{placement:g,boundary:l,rootBoundary:c,padding:f})[(0,o.default)(g)],p},{});return Object.keys(v).sort(function(p,g){return v[p]-v[g]})}},89951:function(T,r,n){"use strict";r.__esModule=!0,r.default=b;var e=m(n(83104)),a=m(n(45)),t=m(n(41199)),o=n(46206);function m(y){return y&&y.__esModule?y:{default:y}}function b(y){var B=y.reference,k=y.element,C=y.placement,l=C?(0,e.default)(C):null,c=C?(0,a.default)(C):null,f=B.x+B.width/2-k.width/2,u=B.y+B.height/2-k.height/2,d;switch(l){case o.top:d={x:f,y:B.y-k.height};break;case o.bottom:d={x:f,y:B.y+B.height};break;case o.right:d={x:B.x+B.width,y:u};break;case o.left:d={x:B.x-k.width,y:u};break;default:d={x:B.x,y:B.y}}var s=l?(0,t.default)(l):null;if(s!=null){var i=s==="y"?"height":"width";switch(c){case o.start:d[s]=d[s]-(B[i]/2-k[i]/2);break;case o.end:d[s]=d[s]+(B[i]/2-k[i]/2);break;default:}}return d}},10579:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a;return function(){return a||(a=new Promise(function(t){Promise.resolve().then(function(){a=void 0,t(e())})})),a}}},17633:function(T,r,n){"use strict";r.__esModule=!0,r.default=l;var e=C(n(49035)),a=C(n(40600)),t=C(n(37786)),o=C(n(89951)),m=C(n(81666)),b=n(46206),y=n(75573),B=C(n(43286)),k=C(n(81447));function C(c){return c&&c.__esModule?c:{default:c}}function l(c,f){f===void 0&&(f={});var u=f,d=u.placement,s=d===void 0?c.placement:d,i=u.strategy,h=i===void 0?c.strategy:i,N=u.boundary,v=N===void 0?b.clippingParents:N,p=u.rootBoundary,g=p===void 0?b.viewport:p,V=u.elementContext,S=V===void 0?b.popper:V,I=u.altBoundary,L=I===void 0?!1:I,w=u.padding,A=w===void 0?0:w,x=(0,B.default)(typeof A!="number"?A:(0,k.default)(A,b.basePlacements)),E=S===b.popper?b.reference:b.popper,M=c.rects.popper,j=c.elements[L?E:S],P=(0,e.default)((0,y.isElement)(j)?j:j.contextElement||(0,a.default)(c.elements.popper),v,g,h),O=(0,t.default)(c.elements.reference),D=(0,o.default)({reference:O,element:M,strategy:"absolute",placement:s}),F=(0,m.default)(Object.assign({},M,D)),W=S===b.popper?F:O,U={top:P.top-W.top+x.top,bottom:W.bottom-P.bottom+x.bottom,left:P.left-W.left+x.left,right:W.right-P.right+x.right},$=c.modifiersData.offset;if(S===b.popper&&$){var K=$[s];Object.keys(U).forEach(function(G){var Q=[b.right,b.bottom].indexOf(G)>=0?1:-1,J=[b.top,b.bottom].indexOf(G)>=0?"y":"x";U[G]+=K[J]*Q})}return U}},81447:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e,a){return a.reduce(function(t,o){return t[o]=e,t},{})}},28066:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e==="x"?"y":"x"}},83104:function(T,r,n){"use strict";r.__esModule=!0,r.default=a;var e=n(46206);function a(t){return t.split("-")[0]}},34780:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(){return{top:0,right:0,bottom:0,left:0}}},41199:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}},71376:function(T,r){"use strict";r.__esModule=!0,r.default=e;var n={left:"right",right:"left",bottom:"top",top:"bottom"};function e(a){return a.replace(/left|right|bottom|top/g,function(t){return n[t]})}},86459:function(T,r){"use strict";r.__esModule=!0,r.default=e;var n={start:"end",end:"start"};function e(a){return a.replace(/start|end/g,function(t){return n[t]})}},45:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return e.split("-")[1]}},63618:function(T,r){"use strict";r.__esModule=!0,r.round=r.min=r.max=void 0;var n=r.max=Math.max,e=r.min=Math.min,a=r.round=Math.round},56500:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){var a=e.reduce(function(t,o){var m=t[o.name];return t[o.name]=m?Object.assign({},m,o,{options:Object.assign({},m.options,o.options),data:Object.assign({},m.data,o.data)}):o,t},{});return Object.keys(a).map(function(t){return a[t]})}},43286:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=a(n(34780));function a(o){return o&&o.__esModule?o:{default:o}}function t(o){return Object.assign({},(0,e.default)(),o)}},33118:function(T,r,n){"use strict";r.__esModule=!0,r.default=t;var e=n(46206);function a(o){var m=new Map,b=new Set,y=[];o.forEach(function(k){m.set(k.name,k)});function B(k){b.add(k.name);var C=[].concat(k.requires||[],k.requiresIfExists||[]);C.forEach(function(l){if(!b.has(l)){var c=m.get(l);c&&B(c)}}),y.push(k)}return o.forEach(function(k){b.has(k.name)||B(k)}),y}function t(o){var m=a(o);return e.modifierPhases.reduce(function(b,y){return b.concat(m.filter(function(B){return B.phase===y}))},[])}},81666:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}},35366:function(T,r){"use strict";r.__esModule=!0,r.default=n;function n(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(a){return a.brand+"/"+a.version}).join(" "):navigator.userAgent}},28595:function(T,r,n){"use strict";r.__esModule=!0,r.within=a,r.withinMaxClamp=t;var e=n(63618);function a(o,m,b){return(0,e.max)(o,(0,e.min)(m,b))}function t(o,m,b){var y=a(o,m,b);return y>b?b:y}},15875:function(T,r){"use strict";r.__esModule=!0,r.VNodeFlags=r.ChildFlags=void 0;var n;(function(a){a[a.Unknown=0]="Unknown",a[a.HtmlElement=1]="HtmlElement",a[a.ComponentUnknown=2]="ComponentUnknown",a[a.ComponentClass=4]="ComponentClass",a[a.ComponentFunction=8]="ComponentFunction",a[a.Text=16]="Text",a[a.SvgElement=32]="SvgElement",a[a.InputElement=64]="InputElement",a[a.TextareaElement=128]="TextareaElement",a[a.SelectElement=256]="SelectElement",a[a.Portal=1024]="Portal",a[a.ReCreate=2048]="ReCreate",a[a.ContentEditable=4096]="ContentEditable",a[a.Fragment=8192]="Fragment",a[a.InUse=16384]="InUse",a[a.ForwardRef=32768]="ForwardRef",a[a.Normalized=65536]="Normalized",a[a.ForwardRefComponent=32776]="ForwardRefComponent",a[a.FormElement=448]="FormElement",a[a.Element=481]="Element",a[a.Component=14]="Component",a[a.DOMRef=1521]="DOMRef",a[a.InUseOrNormalized=81920]="InUseOrNormalized",a[a.ClearInUse=-16385]="ClearInUse",a[a.ComponentKnown=12]="ComponentKnown"})(n||(r.VNodeFlags=n={}));var e;(function(a){a[a.UnknownChildren=0]="UnknownChildren",a[a.HasInvalidChildren=1]="HasInvalidChildren",a[a.HasVNodeChildren=2]="HasVNodeChildren",a[a.HasNonKeyedChildren=4]="HasNonKeyedChildren",a[a.HasKeyedChildren=8]="HasKeyedChildren",a[a.HasTextChildren=16]="HasTextChildren",a[a.MultipleChildren=12]="MultipleChildren"})(e||(r.ChildFlags=e={}))},89292:function(T,r){"use strict";r.__esModule=!0,r.Fragment=r.EMPTY_OBJ=r.Component=r.AnimationQueues=void 0,r._CI=Ot,r._HI=me,r._M=$e,r._MCCC=Ft,r._ME=Dt,r._MFCC=_t,r._MP=Mt,r._MR=at,r._RFC=gt,r.__render=zt,r.createComponentVNode=ue,r.createFragment=he,r.createPortal=ee,r.createRef=nn,r.createRenderer=En,r.createTextVNode=ie,r.createVNode=K,r.directClone=ne,r.findDOMFromVNode=V,r.forwardRef=on,r.getFlagsForElementVnode=oe,r.linkEvent=C,r.normalizeProps=te,r.options=void 0,r.render=Ht,r.rerender=Kt,r.version=void 0;var n=Array.isArray;function e(R){var _=typeof R;return _==="string"||_==="number"}function a(R){return R==null}function t(R){return R===null||R===!1||R===!0||R===void 0}function o(R){return typeof R=="function"}function m(R){return typeof R=="string"}function b(R){return typeof R=="number"}function y(R){return R===null}function B(R){return R===void 0}function k(R,_){var z={};if(R)for(var H in R)z[H]=R[H];if(_)for(var Z in _)z[Z]=_[Z];return z}function C(R,_){return o(_)?{data:R,event:_}:null}function l(R){return!y(R)&&typeof R=="object"}var c=r.EMPTY_OBJ={},f=r.Fragment="$F",u=r.AnimationQueues=function(){function R(){this.componentDidAppear=[],this.componentWillDisappear=[],this.componentWillMove=[]}return R}();function d(R){return R.substring(2).toLowerCase()}function s(R,_){R.appendChild(_)}function i(R,_,z){y(z)?s(R,_):R.insertBefore(_,z)}function h(R,_){return _?document.createElementNS("http://www.w3.org/2000/svg",R):document.createElement(R)}function N(R,_,z){R.replaceChild(_,z)}function v(R,_){R.removeChild(_)}function p(R){for(var _=0;_0?S(z.componentWillDisappear,w(R,_)):L(R,_,!1)}function x(R,_,z,H,Z,ae,ce,se){R.componentWillMove.push({dom:H,fn:function(){function Ne(){ce&4?z.componentWillMove(_,Z,H):ce&8&&z.onComponentWillMove(_,Z,H,se)}return Ne}(),next:ae,parent:Z})}function E(R,_,z,H,Z){var ae,ce,se=_.flags;do{var Ne=_.flags;if(Ne&1521){!a(ae)&&(o(ae.componentWillMove)||o(ae.onComponentWillMove))?x(Z,R,ae,_.dom,z,H,se,ce):i(z,_.dom,H);return}var Te=_.children;if(Ne&4)ae=_.children,ce=_.props,_=Te.$LI;else if(Ne&8)ae=_.ref,ce=_.props,_=Te;else if(Ne&8192)if(_.childFlags===2)_=Te;else{for(var Ie=0,Ee=Te.length;Ie0,Te=y(se),Ie=m(se)&&se[0]===U;Ne||Te||Ie?(z=z||_.slice(0,ae),(Ne||Ie)&&(ce=ne(ce)),(Te||Ie)&&(ce.key=U+ae),z.push(ce)):z&&z.push(ce),ce.flags|=65536}}z=z||_,z.length===0?H=1:H=8}else z=_,z.flags|=65536,_.flags&81920&&(z=ne(_)),H=2;return R.children=z,R.childFlags=H,R}function me(R){return t(R)||e(R)?ie(R,null):n(R)?he(R,0,null):R.flags&16384?ne(R):R}var Y="http://www.w3.org/1999/xlink",ve="http://www.w3.org/XML/1998/namespace",pe={"xlink:actuate":Y,"xlink:arcrole":Y,"xlink:href":Y,"xlink:role":Y,"xlink:show":Y,"xlink:title":Y,"xlink:type":Y,"xml:base":ve,"xml:lang":ve,"xml:space":ve};function Ve(R){return{onClick:R,onDblClick:R,onFocusIn:R,onFocusOut:R,onKeyDown:R,onKeyPress:R,onKeyUp:R,onMouseDown:R,onMouseMove:R,onMouseUp:R,onTouchEnd:R,onTouchMove:R,onTouchStart:R}}var Be=Ve(0),be=Ve(null),Le=Ve(!0);function we(R,_){var z=_.$EV;return z||(z=_.$EV=Ve(null)),z[R]||++Be[R]===1&&(be[R]=je(R)),z}function xe(R,_){var z=_.$EV;z&&z[R]&&(--Be[R]===0&&(document.removeEventListener(d(R),be[R]),be[R]=null),z[R]=null)}function Re(R,_,z,H){if(o(z))we(R,H)[R]=z;else if(l(z)){if(D(_,z))return;we(R,H)[R]=z}else xe(R,H)}function ze(R){return o(R.composedPath)?R.composedPath()[0]:R.target}function ye(R,_,z,H){var Z=ze(R);do{if(_&&Z.disabled)return;var ae=Z.$EV;if(ae){var ce=ae[z];if(ce&&(H.dom=Z,ce.event?ce.event(ce.data,R):ce(R),R.cancelBubble))return}Z=Z.parentNode}while(!y(Z))}function de(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function Ce(){return this.defaultPrevented}function ke(){return this.cancelBubble}function ge(R){var _={dom:document};return R.isDefaultPrevented=Ce,R.isPropagationStopped=ke,R.stopPropagation=de,Object.defineProperty(R,"currentTarget",{configurable:!0,get:function(){function z(){return _.dom}return z}()}),_}function Se(R){return function(_){if(_.button!==0){_.stopPropagation();return}ye(_,!0,R,ge(_))}}function Pe(R){return function(_){ye(_,!1,R,ge(_))}}function je(R){var _=R==="onClick"||R==="onDblClick"?Se(R):Pe(R);return document.addEventListener(d(R),_),_}function Fe(R,_){var z=document.createElement("i");return z.innerHTML=_,z.innerHTML===R.innerHTML}function He(R,_,z){if(R[_]){var H=R[_];H.event?H.event(H.data,z):H(z)}else{var Z=_.toLowerCase();R[Z]&&R[Z](z)}}function We(R,_){var z=function(){function H(Z){var ae=this.$V;if(ae){var ce=ae.props||c,se=ae.dom;if(m(R))He(ce,R,Z);else for(var Ne=0;Ne-1&&_.options[ae]&&(se=_.options[ae].value),z&&a(se)&&(se=R.defaultValue),rt(H,se)}}var Zt=We("onInput",Tt),qt=We("onChange");function en(R,_){Ue(R,"input",Zt),_.onChange&&Ue(R,"change",qt)}function Tt(R,_,z){var H=R.value,Z=_.value;if(a(H)){if(z){var ae=R.defaultValue;!a(ae)&&ae!==Z&&(_.defaultValue=ae,_.value=ae)}}else Z!==H&&(_.defaultValue=H,_.value=H)}function xt(R,_,z,H,Z,ae){R&64?dt(H,z):R&256?wt(H,z,Z,_):R&128&&Tt(H,z,Z),ae&&(z.$V=_)}function tn(R,_,z){R&64?Bt(_,z):R&256?Jt(_):R&128&&en(_,z)}function At(R){return R.type&&Xe(R.type)?!a(R.checked):!a(R.value)}function nn(){return{current:null}}function on(R){var _={render:R};return _}function st(R){R&&!W(R,null)&&R.current&&(R.current=null)}function at(R,_,z){R&&(o(R)||R.current!==void 0)&&z.push(function(){!W(R,_)&&R.current!==void 0&&(R.current=_)})}function Qe(R,_,z){Ze(R,z),A(R,_,z)}function Ze(R,_){var z=R.flags,H=R.children,Z;if(z&481){Z=R.ref;var ae=R.props;st(Z);var ce=R.childFlags;if(!y(ae))for(var se=Object.keys(ae),Ne=0,Te=se.length;Ne0?S(z.componentWillDisappear,rn(_,R)):R.textContent=""}function ft(R,_,z,H){ct(z,H),_.flags&8192?A(_,R,H):mt(R,z,H)}function Et(R,_,z,H,Z){R.componentWillDisappear.push(function(ae){H&4?_.componentWillDisappear(z,ae):H&8&&_.onComponentWillDisappear(z,Z,ae)})}function an(R){var _=R.event;return function(z){_(R.data,z)}}function cn(R,_,z,H){if(l(z)){if(D(_,z))return;z=an(z)}Ue(H,d(R),z)}function ln(R,_,z){if(a(_)){z.removeAttribute("style");return}var H=z.style,Z,ae;if(m(_)){H.cssText=_;return}if(!a(R)&&!m(R)){for(Z in _)ae=_[Z],ae!==R[Z]&&H.setProperty(Z,ae);for(Z in R)a(_[Z])&&H.removeProperty(Z)}else for(Z in _)ae=_[Z],H.setProperty(Z,ae)}function un(R,_,z,H,Z){var ae=R&&R.__html||"",ce=_&&_.__html||"";ae!==ce&&!a(ce)&&!Fe(H,ce)&&(y(z)||(z.childFlags&12?ct(z.children,Z):z.childFlags===2&&Ze(z.children,Z),z.children=null,z.childFlags=1),H.innerHTML=ce)}function vt(R,_,z,H,Z,ae,ce,se){switch(R){case"children":case"childrenType":case"className":case"defaultValue":case"key":case"multiple":case"ref":case"selectedIndex":break;case"autoFocus":H.autofocus=!!z;break;case"allowfullscreen":case"autoplay":case"capture":case"checked":case"controls":case"default":case"disabled":case"hidden":case"indeterminate":case"loop":case"muted":case"novalidate":case"open":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"selected":H[R]=!!z;break;case"defaultChecked":case"value":case"volume":if(ae&&R==="value")break;var Ne=a(z)?"":z;H[R]!==Ne&&(H[R]=Ne);break;case"style":ln(_,z,H);break;case"dangerouslySetInnerHTML":un(_,z,ce,H,se);break;default:Le[R]?Re(R,_,z,H):R.charCodeAt(0)===111&&R.charCodeAt(1)===110?cn(R,_,z,H):a(z)?H.removeAttribute(R):Z&&pe[R]?H.setAttributeNS(pe[R],R,z):H.setAttribute(R,z);break}}function Mt(R,_,z,H,Z,ae){var ce=!1,se=(_&448)>0;se&&(ce=At(z),ce&&tn(_,H,z));for(var Ne in z)vt(Ne,null,z[Ne],H,Z,ce,null,ae);se&&xt(_,R,H,z,!0,ce)}function Pt(R,_,z){var H=me(R.render(_,R.state,z)),Z=z;return o(R.getChildContext)&&(Z=k(z,R.getChildContext())),R.$CX=Z,H}function Ot(R,_,z,H,Z,ae){var ce=new _(z,H),se=ce.$N=!!(_.getDerivedStateFromProps||ce.getSnapshotBeforeUpdate);if(ce.$SVG=Z,ce.$L=ae,R.children=ce,ce.$BS=!1,ce.context=H,ce.props===c&&(ce.props=z),se)ce.state=M(ce,z,ce.state);else if(o(ce.componentWillMount)){ce.$BR=!0,ce.componentWillMount();var Ne=ce.$PS;if(!y(Ne)){var Te=ce.state;if(y(Te))ce.state=Ne;else for(var Ie in Ne)Te[Ie]=Ne[Ie];ce.$PS=null}ce.$BR=!1}return ce.$LI=Pt(ce,z,H),ce}function gt(R,_){var z=R.props||c;return R.flags&32768?R.type.render(z,R.ref,_):R.type(z,_)}function $e(R,_,z,H,Z,ae,ce){var se=R.flags|=16384;se&481?Dt(R,_,z,H,Z,ae,ce):se&4?mn(R,_,z,H,Z,ae,ce):se&8?fn(R,_,z,H,Z,ae,ce):se&16?Rt(R,_,Z):se&8192?sn(R,z,_,H,Z,ae,ce):se&1024&&dn(R,z,_,Z,ae,ce)}function dn(R,_,z,H,Z,ae){$e(R.children,R.ref,_,!1,null,Z,ae);var ce=le();Rt(ce,z,H),R.dom=ce.dom}function sn(R,_,z,H,Z,ae,ce){var se=R.children,Ne=R.childFlags;Ne&12&&se.length===0&&(Ne=R.childFlags=2,se=R.children=le()),Ne===2?$e(se,z,_,H,Z,ae,ce):ot(se,z,_,H,Z,ae,ce)}function Rt(R,_,z){var H=R.dom=document.createTextNode(R.children);y(_)||i(_,H,z)}function Dt(R,_,z,H,Z,ae,ce){var se=R.flags,Ne=R.props,Te=R.className,Ie=R.childFlags,Ee=R.dom=h(R.type,H=H||(se&32)>0),Ae=R.children;if(!a(Te)&&Te!==""&&(H?Ee.setAttribute("class",Te):Ee.className=Te),Ie===16)O(Ee,Ae);else if(Ie!==1){var Me=H&&R.type!=="foreignObject";Ie===2?(Ae.flags&16384&&(R.children=Ae=ne(Ae)),$e(Ae,Ee,z,Me,null,ae,ce)):(Ie===8||Ie===4)&&ot(Ae,Ee,z,Me,null,ae,ce)}y(_)||i(_,Ee,Z),y(Ne)||Mt(R,se,Ne,Ee,H,ce),at(R.ref,Ee,ae)}function ot(R,_,z,H,Z,ae,ce){for(var se=0;seMe)&&(Ee=V(se[Me-1],!1).nextSibling)}Nt(Te,Ie,se,Ne,z,H,Z,Ee,R,ae,ce)}function Vn(R,_,z,H,Z){var ae=R.ref,ce=_.ref,se=_.children;if(Nt(R.childFlags,_.childFlags,R.children,se,ae,z,!1,null,R,H,Z),_.dom=R.dom,ae!==ce&&!t(se)){var Ne=se.dom;v(ae,Ne),s(ce,Ne)}}function bn(R,_,z,H,Z,ae,ce){var se=_.dom=R.dom,Ne=R.props,Te=_.props,Ie=!1,Ee=!1,Ae;if(H=H||(Z&32)>0,Ne!==Te){var Me=Ne||c;if(Ae=Te||c,Ae!==c){Ie=(Z&448)>0,Ie&&(Ee=At(Ae));for(var _e in Ae){var Oe=Me[_e],Ke=Ae[_e];Oe!==Ke&&vt(_e,Oe,Ke,se,H,Ee,R,ce)}}if(Me!==c)for(var De in Me)a(Ae[De])&&!a(Me[De])&&vt(De,Me[De],null,se,H,Ee,R,ce)}var tt=_.children,Ye=_.className;R.className!==Ye&&(a(Ye)?se.removeAttribute("class"):H?se.setAttribute("class",Ye):se.className=Ye),Z&4096?gn(se,tt):Nt(R.childFlags,_.childFlags,R.children,tt,se,z,H&&_.type!=="foreignObject",null,R,ae,ce),Ie&&xt(Z,_,se,Ae,!1,Ee);var it=_.ref,Je=R.ref;Je!==it&&(st(Je),at(it,se,ae))}function kn(R,_,z,H,Z,ae,ce){Ze(R,ce),ot(_,z,H,Z,V(R,!0),ae,ce),A(R,z,ce)}function Nt(R,_,z,H,Z,ae,ce,se,Ne,Te,Ie){switch(R){case 2:switch(_){case 2:qe(z,H,Z,ae,ce,se,Te,Ie);break;case 1:Qe(z,Z,Ie);break;case 16:Ze(z,Ie),O(Z,H);break;default:kn(z,H,Z,ae,ce,Te,Ie);break}break;case 1:switch(_){case 2:$e(H,Z,ae,ce,se,Te,Ie);break;case 1:break;case 16:O(Z,H);break;default:ot(H,Z,ae,ce,se,Te,Ie);break}break;case 16:switch(_){case 16:vn(z,H,Z);break;case 2:mt(Z,z,Ie),$e(H,Z,ae,ce,se,Te,Ie);break;case 1:mt(Z,z,Ie);break;default:mt(Z,z,Ie),ot(H,Z,ae,ce,se,Te,Ie);break}break;default:switch(_){case 16:ct(z,Ie),O(Z,H);break;case 2:ft(Z,Ne,z,Ie),$e(H,Z,ae,ce,se,Te,Ie);break;case 1:ft(Z,Ne,z,Ie);break;default:var Ee=z.length|0,Ae=H.length|0;Ee===0?Ae>0&&ot(H,Z,ae,ce,se,Te,Ie):Ae===0?ft(Z,Ne,z,Ie):_===8&&R===8?wn(z,H,Z,ae,ce,Ee,Ae,se,Ne,Te,Ie):Ln(z,H,Z,ae,ce,Ee,Ae,se,Te,Ie);break}break}}function yn(R,_,z,H,Z){Z.push(function(){R.componentDidUpdate(_,z,H)})}function Wt(R,_,z,H,Z,ae,ce,se,Ne,Te){var Ie=R.state,Ee=R.props,Ae=!!R.$N,Me=o(R.shouldComponentUpdate);if(Ae&&(_=M(R,z,_!==Ie?k(Ie,_):_)),ce||!Me||Me&&R.shouldComponentUpdate(z,_,Z)){!Ae&&o(R.componentWillUpdate)&&R.componentWillUpdate(z,_,Z),R.props=z,R.state=_,R.context=Z;var _e=null,Oe=Pt(R,z,Z);Ae&&o(R.getSnapshotBeforeUpdate)&&(_e=R.getSnapshotBeforeUpdate(Ee,Ie)),qe(R.$LI,Oe,H,R.$CX,ae,se,Ne,Te),R.$LI=Oe,o(R.componentDidUpdate)&&yn(R,Ee,Ie,_e,Ne)}else R.props=z,R.state=_,R.context=Z}function Sn(R,_,z,H,Z,ae,ce,se){var Ne=_.children=R.children;if(!y(Ne)){Ne.$L=ce;var Te=_.props||c,Ie=_.ref,Ee=R.ref,Ae=Ne.state;if(!Ne.$N){if(o(Ne.componentWillReceiveProps)){if(Ne.$BR=!0,Ne.componentWillReceiveProps(Te,H),Ne.$UN)return;Ne.$BR=!1}y(Ne.$PS)||(Ae=k(Ae,Ne.$PS),Ne.$PS=null)}Wt(Ne,Ae,Te,z,H,Z,!1,ae,ce,se),Ee!==Ie&&(st(Ee),at(Ie,Ne,ce))}}function Bn(R,_,z,H,Z,ae,ce,se){var Ne=!0,Te=_.props||c,Ie=_.ref,Ee=R.props,Ae=!a(Ie),Me=R.children;if(Ae&&o(Ie.onComponentShouldUpdate)&&(Ne=Ie.onComponentShouldUpdate(Ee,Te)),Ne!==!1){Ae&&o(Ie.onComponentWillUpdate)&&Ie.onComponentWillUpdate(Ee,Te);var _e=me(gt(_,H));qe(Me,_e,z,H,Z,ae,ce,se),_.children=_e,Ae&&o(Ie.onComponentDidUpdate)&&Ie.onComponentDidUpdate(Ee,Te)}else _.children=Me}function In(R,_){var z=_.children,H=_.dom=R.dom;z!==R.children&&(H.nodeValue=z)}function Ln(R,_,z,H,Z,ae,ce,se,Ne,Te){for(var Ie=ae>ce?ce:ae,Ee=0,Ae,Me;Eece)for(Ee=Ie;EeEe||Me>Ae)break e;_e=R[Me],Oe=_[Me]}for(_e=R[Ee],Oe=_[Ae];_e.key===Oe.key;){if(Oe.flags&16384&&(_[Ae]=Oe=ne(Oe)),qe(_e,Oe,z,H,Z,se,Te,Ie),R[Ee]=Oe,Ee--,Ae--,Me>Ee||Me>Ae)break e;_e=R[Ee],Oe=_[Ae]}}if(Me>Ee){if(Me<=Ae)for(Ke=Ae+1,De=KeAe)for(;Me<=Ee;)Qe(R[Me++],z,Ie);else Tn(R,_,H,ae,ce,Ee,Ae,Me,z,Z,se,Ne,Te,Ie)}function Tn(R,_,z,H,Z,ae,ce,se,Ne,Te,Ie,Ee,Ae,Me){var _e,Oe,Ke=0,De=0,tt=se,Ye=se,it=ae-se+1,Je=ce-se+1,lt=new Int32Array(Je+1),nt=it===H,bt=!1,Ge=0,ut=0;if(Z<4||(it|Je)<32)for(De=tt;De<=ae;++De)if(_e=R[De],utse?bt=!0:Ge=se,Oe.flags&16384&&(_[se]=Oe=ne(Oe)),qe(_e,Oe,Ne,z,Te,Ie,Ae,Me),++ut;break}!nt&&se>ce&&Qe(_e,Ne,Me)}else nt||Qe(_e,Ne,Me);else{var Yt={};for(De=Ye;De<=ce;++De)Yt[_[De].key]=De;for(De=tt;De<=ae;++De)if(_e=R[De],uttt;)Qe(R[tt++],Ne,Me);lt[se-Ye]=De+1,Ge>se?bt=!0:Ge=se,Oe=_[se],Oe.flags&16384&&(_[se]=Oe=ne(Oe)),qe(_e,Oe,Ne,z,Te,Ie,Ae,Me),++ut}else nt||Qe(_e,Ne,Me);else nt||Qe(_e,Ne,Me)}if(nt)ft(Ne,Ee,R,Me),ot(_,Ne,z,Te,Ie,Ae,Me);else if(bt){var Xt=xn(lt);for(se=Xt.length-1,De=Je-1;De>=0;De--)lt[De]===0?(Ge=De+Ye,Oe=_[Ge],Oe.flags&16384&&(_[Ge]=Oe=ne(Oe)),Ke=Ge+1,$e(Oe,Ne,z,Te,Ke0&&I(Me.componentWillMove)}else if(ut!==Je)for(De=Je-1;De>=0;De--)lt[De]===0&&(Ge=De+Ye,Oe=_[Ge],Oe.flags&16384&&(_[Ge]=Oe=ne(Oe)),Ke=Ge+1,$e(Oe,Ne,z,Te,KeUt&&(Ut=Ne,et=new Int32Array(Ne),pt=new Int32Array(Ne));z>1,R[et[se]]<_?ae=se+1:ce=se;_0&&(pt[z]=et[ae-1]),et[ae]=z)}ae=Z+1;var Te=new Int32Array(ae);for(ce=et[ae-1];ae-- >0;)Te[ae]=ce,ce=pt[ce],et[ae]=0;return Te}var An=typeof document!="undefined";An&&window.Node&&(Node.prototype.$EV=null,Node.prototype.$V=null);function zt(R,_,z,H){var Z=[],ae=new u,ce=_.$V;j.v=!0,a(ce)?a(R)||(R.flags&16384&&(R=ne(R)),$e(R,_,H,!1,null,Z,ae),_.$V=R,ce=R):a(R)?(Qe(ce,_,ae),_.$V=null):(R.flags&16384&&(R=ne(R)),qe(ce,R,_,H,!1,null,Z,ae),ce=_.$V=R),p(Z),S(ae.componentDidAppear),j.v=!1,o(z)&&z(),o(P.renderComplete)&&P.renderComplete(ce,_)}function Ht(R,_,z,H){z===void 0&&(z=null),H===void 0&&(H=c),zt(R,_,z,H)}function En(R){return function(){function _(z,H,Z,ae){R||(R=z),Ht(H,R,Z,ae)}return _}()}var ht=[],Mn=typeof Promise!="undefined"?Promise.resolve().then.bind(Promise.resolve()):function(R){window.setTimeout(R,0)},Vt=!1;function $t(R,_,z,H){var Z=R.$PS;if(o(_)&&(_=_(Z?k(R.state,Z):R.state,R.props,R.context)),a(Z))R.$PS=_;else for(var ae in _)Z[ae]=_[ae];if(R.$BR)o(z)&&R.$L.push(z.bind(R));else{if(!j.v&&ht.length===0){Gt(R,H),o(z)&&z.call(R);return}if(ht.indexOf(R)===-1&&ht.push(R),H&&(R.$F=!0),Vt||(Vt=!0,Mn(Kt)),o(z)){var ce=R.$QU;ce||(ce=R.$QU=[]),ce.push(z)}}}function Pn(R){for(var _=R.$QU,z=0;z<_.length;++z)_[z].call(R);R.$QU=null}function Kt(){var R;for(Vt=!1;R=ht.shift();)if(!R.$UN){var _=R.$F;R.$F=!1,Gt(R,_),R.$QU&&Pn(R)}}function Gt(R,_){if(_||!R.$BR){var z=R.$PS;R.$PS=null;var H=[],Z=new u;j.v=!0,Wt(R,k(R.state,z),R.props,V(R.$LI,!0).parentNode,R.context,R.$SVG,_,null,H,Z),p(H),S(Z.componentDidAppear),j.v=!1}else R.state=R.$PS,R.$PS=null}var On=r.Component=function(){function R(z,H){this.state=null,this.props=void 0,this.context=void 0,this.displayName=void 0,this.$BR=!1,this.$BS=!0,this.$PS=null,this.$LI=null,this.$UN=!1,this.$CX=null,this.$QU=null,this.$N=!1,this.$SSR=void 0,this.$L=null,this.$SVG=!1,this.$F=!1,this.props=z||c,this.context=H||c}var _=R.prototype;return _.forceUpdate=function(){function z(H){this.$UN||$t(this,{},H,!0)}return z}(),_.setState=function(){function z(H,Z){this.$UN||this.$BS||$t(this,H,Z,!1)}return z}(),_.render=function(){function z(H,Z,ae){return null}return z}(),R}();On.defaultProps=null;var Dn=r.version="8.2.3"},89005:function(T,r,n){"use strict";r.__esModule=!0;var e=n(89292);Object.keys(e).forEach(function(a){a==="default"||a==="__esModule"||a in r&&r[a]===e[a]||(r[a]=e[a])})},71614:function(T,r,n){"use strict";var e=n(21285);function a(){}function t(){}t.resetWarningCache=a,T.exports=function(){function o(y,B,k,C,l,c){if(c!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}o.isRequired=o;function m(){return o}var b={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:m,element:o,elementType:o,instanceOf:m,node:o,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:t,resetWarningCache:a};return b.PropTypes=b,b}},15964:function(T,r,n){"use strict";if(0)var e,a;else T.exports=n(71614)()},21285:function(T){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";T.exports=r},95012:function(T){"use strict";var r=function(n){"use strict";var e=Object.prototype,a=e.hasOwnProperty,t=Object.defineProperty||function(P,O,D){P[O]=D.value},o,m=typeof Symbol=="function"?Symbol:{},b=m.iterator||"@@iterator",y=m.asyncIterator||"@@asyncIterator",B=m.toStringTag||"@@toStringTag";function k(P,O,D){return Object.defineProperty(P,O,{value:D,enumerable:!0,configurable:!0,writable:!0}),P[O]}try{k({},"")}catch(P){k=function(D,F,W){return D[F]=W}}function C(P,O,D,F){var W=O&&O.prototype instanceof i?O:i,U=Object.create(W.prototype),$=new E(F||[]);return t(U,"_invoke",{value:L(P,D,$)}),U}n.wrap=C;function l(P,O,D){try{return{type:"normal",arg:P.call(O,D)}}catch(F){return{type:"throw",arg:F}}}var c="suspendedStart",f="suspendedYield",u="executing",d="completed",s={};function i(){}function h(){}function N(){}var v={};k(v,b,function(){return this});var p=Object.getPrototypeOf,g=p&&p(p(M([])));g&&g!==e&&a.call(g,b)&&(v=g);var V=N.prototype=i.prototype=Object.create(v);h.prototype=N,t(V,"constructor",{value:N,configurable:!0}),t(N,"constructor",{value:h,configurable:!0}),h.displayName=k(N,B,"GeneratorFunction");function S(P){["next","throw","return"].forEach(function(O){k(P,O,function(D){return this._invoke(O,D)})})}n.isGeneratorFunction=function(P){var O=typeof P=="function"&&P.constructor;return O?O===h||(O.displayName||O.name)==="GeneratorFunction":!1},n.mark=function(P){return Object.setPrototypeOf?Object.setPrototypeOf(P,N):(P.__proto__=N,k(P,B,"GeneratorFunction")),P.prototype=Object.create(V),P},n.awrap=function(P){return{__await:P}};function I(P,O){function D(U,$,K,G){var Q=l(P[U],P,$);if(Q.type==="throw")G(Q.arg);else{var J=Q.arg,ue=J.value;return ue&&typeof ue=="object"&&a.call(ue,"__await")?O.resolve(ue.__await).then(function(ie){D("next",ie,K,G)},function(ie){D("throw",ie,K,G)}):O.resolve(ue).then(function(ie){J.value=ie,K(J)},function(ie){return D("throw",ie,K,G)})}}var F;function W(U,$){function K(){return new O(function(G,Q){D(U,$,G,Q)})}return F=F?F.then(K,K):K()}t(this,"_invoke",{value:W})}S(I.prototype),k(I.prototype,y,function(){return this}),n.AsyncIterator=I,n.async=function(P,O,D,F,W){W===void 0&&(W=Promise);var U=new I(C(P,O,D,F),W);return n.isGeneratorFunction(O)?U:U.next().then(function($){return $.done?$.value:U.next()})};function L(P,O,D){var F=c;return function(){function W(U,$){if(F===u)throw new Error("Generator is already running");if(F===d){if(U==="throw")throw $;return j()}for(D.method=U,D.arg=$;;){var K=D.delegate;if(K){var G=w(K,D);if(G){if(G===s)continue;return G}}if(D.method==="next")D.sent=D._sent=D.arg;else if(D.method==="throw"){if(F===c)throw F=d,D.arg;D.dispatchException(D.arg)}else D.method==="return"&&D.abrupt("return",D.arg);F=u;var Q=l(P,O,D);if(Q.type==="normal"){if(F=D.done?d:f,Q.arg===s)continue;return{value:Q.arg,done:D.done}}else Q.type==="throw"&&(F=d,D.method="throw",D.arg=Q.arg)}}return W}()}function w(P,O){var D=O.method,F=P.iterator[D];if(F===o)return O.delegate=null,D==="throw"&&P.iterator.return&&(O.method="return",O.arg=o,w(P,O),O.method==="throw")||D!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+D+"' method")),s;var W=l(F,P.iterator,O.arg);if(W.type==="throw")return O.method="throw",O.arg=W.arg,O.delegate=null,s;var U=W.arg;if(!U)return O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,s;if(U.done)O[P.resultName]=U.value,O.next=P.nextLoc,O.method!=="return"&&(O.method="next",O.arg=o);else return U;return O.delegate=null,s}S(V),k(V,B,"Generator"),k(V,b,function(){return this}),k(V,"toString",function(){return"[object Generator]"});function A(P){var O={tryLoc:P[0]};1 in P&&(O.catchLoc=P[1]),2 in P&&(O.finallyLoc=P[2],O.afterLoc=P[3]),this.tryEntries.push(O)}function x(P){var O=P.completion||{};O.type="normal",delete O.arg,P.completion=O}function E(P){this.tryEntries=[{tryLoc:"root"}],P.forEach(A,this),this.reset(!0)}n.keys=function(P){var O=Object(P),D=[];for(var F in O)D.push(F);return D.reverse(),function(){function W(){for(;D.length;){var U=D.pop();if(U in O)return W.value=U,W.done=!1,W}return W.done=!0,W}return W}()};function M(P){if(P!=null){var O=P[b];if(O)return O.call(P);if(typeof P.next=="function")return P;if(!isNaN(P.length)){var D=-1,F=function(){function W(){for(;++D=0;--W){var U=this.tryEntries[W],$=U.completion;if(U.tryLoc==="root")return F("end");if(U.tryLoc<=this.prev){var K=a.call(U,"catchLoc"),G=a.call(U,"finallyLoc");if(K&&G){if(this.prev=0;--F){var W=this.tryEntries[F];if(W.tryLoc<=this.prev&&a.call(W,"finallyLoc")&&this.prev=0;--D){var F=this.tryEntries[D];if(F.finallyLoc===O)return this.complete(F.completion,F.afterLoc),x(F),s}}return P}(),catch:function(){function P(O){for(var D=this.tryEntries.length-1;D>=0;--D){var F=this.tryEntries[D];if(F.tryLoc===O){var W=F.completion;if(W.type==="throw"){var U=W.arg;x(F)}return U}}throw new Error("illegal catch attempt")}return P}(),delegateYield:function(){function P(O,D,F){return this.delegate={iterator:M(O),resultName:D,nextLoc:F},this.method==="next"&&(this.arg=o),s}return P}()},n}(T.exports);try{regeneratorRuntime=r}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},30236:function(){"use strict";self.fetch||(self.fetch=function(T,r){return r=r||{},new Promise(function(n,e){var a=new XMLHttpRequest,t=[],o={},m=function(){function y(){return{ok:(a.status/100|0)==2,statusText:a.statusText,status:a.status,url:a.responseURL,text:function(){function B(){return Promise.resolve(a.responseText)}return B}(),json:function(){function B(){return Promise.resolve(a.responseText).then(JSON.parse)}return B}(),blob:function(){function B(){return Promise.resolve(new Blob([a.response]))}return B}(),clone:y,headers:{keys:function(){function B(){return t}return B}(),entries:function(){function B(){return t.map(function(k){return[k,a.getResponseHeader(k)]})}return B}(),get:function(){function B(k){return a.getResponseHeader(k)}return B}(),has:function(){function B(k){return a.getResponseHeader(k)!=null}return B}()}}}return y}();for(var b in a.open(r.method||"get",T,!0),a.onload=function(){a.getAllResponseHeaders().toLowerCase().replace(/^(.+?):/gm,function(y,B){o[B]||t.push(o[B]=B)}),n(m())},a.onerror=e,a.withCredentials=r.credentials=="include",r.headers)a.setRequestHeader(b,r.headers[b]);a.send(r.body||null)})})},88510:function(T,r){"use strict";r.__esModule=!0,r.zipWith=r.zip=r.uniqBy=r.uniq=r.toKeyedArray=r.toArray=r.sortBy=r.sort=r.reduce=r.range=r.map=r.filterMap=r.filter=void 0;function n(i,h){var N=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(N)return(N=N.call(i)).next.bind(N);if(Array.isArray(i)||(N=e(i))||h&&i&&typeof i.length=="number"){N&&(i=N);var v=0;return function(){return v>=i.length?{done:!0}:{done:!1,value:i[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(i,h){if(i){if(typeof i=="string")return a(i,h);var N={}.toString.call(i).slice(8,-1);return N==="Object"&&i.constructor&&(N=i.constructor.name),N==="Map"||N==="Set"?Array.from(i):N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N)?a(i,h):void 0}}function a(i,h){(h==null||h>i.length)&&(h=i.length);for(var N=0,v=Array(h);NI)return 1}return 0},k=r.sortBy=function(){function i(){for(var h=arguments.length,N=new Array(h),v=0;vI)return 1}return 0},k=r.sortBy=function(){function i(){for(var h=arguments.length,N=new Array(h),v=0;v1?b-1:0),B=1;B1?b-1:0),B=1;B1?B-1:0),C=1;C1?k-1:0),l=1;l1?B-1:0),C=1;C1?k-1:0),l=1;ll?l:k}return B}(),e=r.clamp01=function(){function B(k){return k<0?0:k>1?1:k}return B}(),a=r.scale=function(){function B(k,C,l){return(k-C)/(l-C)}return B}(),t=r.round=function(){function B(k,C){if(!k||isNaN(k))return k;var l,c,m,d;return C|=0,l=Math.pow(10,C),k*=l,d=+(k>0)|-(k<0),m=Math.abs(k%1)>=.4999999999854481,c=Math.floor(k),m&&(k=c+(d>0)),(m?k:Math.round(k))/l}return B}(),o=r.toFixed=function(){function B(k,C){return C===void 0&&(C=0),Number(k).toFixed(Math.max(C,0))}return B}(),f=r.inRange=function(){function B(k,C){return C&&k>=C[0]&&k<=C[1]}return B}(),b=r.keyOfMatchingRange=function(){function B(k,C){for(var l=0,c=Object.keys(C);ll?l:k}return B}(),e=r.clamp01=function(){function B(k){return k<0?0:k>1?1:k}return B}(),a=r.scale=function(){function B(k,C,l){return(k-C)/(l-C)}return B}(),t=r.round=function(){function B(k,C){if(!k||isNaN(k))return k;var l,c,f,u;return C|=0,l=Math.pow(10,C),k*=l,u=+(k>0)|-(k<0),f=Math.abs(k%1)>=.4999999999854481,c=Math.floor(k),f&&(k=c+(u>0)),(f?k:Math.round(k))/l}return B}(),o=r.toFixed=function(){function B(k,C){return C===void 0&&(C=0),Number(k).toFixed(Math.max(C,0))}return B}(),m=r.inRange=function(){function B(k,C){return C&&k>=C[0]&&k<=C[1]}return B}(),b=r.keyOfMatchingRange=function(){function B(k,C){for(var l=0,c=Object.keys(C);l1?d-1:0),s=1;s1?V-1:0),I=1;I=0;--me){var Y=this.tryEntries[me],ve=Y.completion;if(Y.tryLoc==="root")return fe("end");if(Y.tryLoc<=this.prev){var pe=g.call(Y,"catchLoc"),Ve=g.call(Y,"finallyLoc");if(pe&&Ve){if(this.prev=0;--fe){var me=this.tryEntries[fe];if(me.tryLoc<=this.prev&&g.call(me,"finallyLoc")&&this.prev=0;--oe){var fe=this.tryEntries[oe];if(fe.finallyLoc===re)return this.complete(fe.completion,fe.afterLoc),q(fe),D}}return ee}(),catch:function(){function ee(re){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var fe=this.tryEntries[oe];if(fe.tryLoc===re){var me=fe.completion;if(me.type==="throw"){var Y=me.arg;q(fe)}return Y}}throw Error("illegal catch attempt")}return ee}(),delegateYield:function(){function ee(re,oe,fe){return this.delegate={iterator:le(re),resultName:oe,nextLoc:fe},this.method==="next"&&(this.arg=N),D}return ee}()},v}function e(N,v,p,g,V,S,I){try{var L=N[S](I),w=L.value}catch(A){return void p(A)}L.done?v(w):Promise.resolve(w).then(g,V)}function a(N){return function(){var v=this,p=arguments;return new Promise(function(g,V){var S=N.apply(v,p);function I(w){e(S,g,V,I,L,"next",w)}function L(w){e(S,g,V,I,L,"throw",w)}I(void 0)})}}/**
+ */var a=r.createStore=function(){function B(k,C){if(C)return C(B)(k);var l,c=[],f=function(){function s(){return l}return s}(),u=function(){function s(i){c.push(i)}return s}(),d=function(){function s(i){l=k(l,i);for(var h=0;h1?u-1:0),s=1;s1?V-1:0),I=1;I=0;--me){var Y=this.tryEntries[me],ve=Y.completion;if(Y.tryLoc==="root")return fe("end");if(Y.tryLoc<=this.prev){var pe=g.call(Y,"catchLoc"),Ve=g.call(Y,"finallyLoc");if(pe&&Ve){if(this.prev=0;--fe){var me=this.tryEntries[fe];if(me.tryLoc<=this.prev&&g.call(me,"finallyLoc")&&this.prev=0;--oe){var fe=this.tryEntries[oe];if(fe.finallyLoc===re)return this.complete(fe.completion,fe.afterLoc),q(fe),D}}return ee}(),catch:function(){function ee(re){for(var oe=this.tryEntries.length-1;oe>=0;--oe){var fe=this.tryEntries[oe];if(fe.tryLoc===re){var me=fe.completion;if(me.type==="throw"){var Y=me.arg;q(fe)}return Y}}throw Error("illegal catch attempt")}return ee}(),delegateYield:function(){function ee(re,oe,fe){return this.delegate={iterator:le(re),resultName:oe,nextLoc:fe},this.method==="next"&&(this.arg=N),D}return ee}()},v}function e(N,v,p,g,V,S,I){try{var L=N[S](I),w=L.value}catch(A){return void p(A)}L.done?v(w):Promise.resolve(w).then(g,V)}function a(N){return function(){var v=this,p=arguments;return new Promise(function(g,V){var S=N.apply(v,p);function I(w){e(S,g,V,I,L,"next",w)}function L(w){e(S,g,V,I,L,"throw",w)}I(void 0)})}}/**
* Browser-agnostic abstraction of key-value web storage.
*
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var t=r.IMPL_MEMORY=0,o=r.IMPL_HUB_STORAGE=1,f=r.IMPL_INDEXED_DB=2,b=1,y="para-tgui",B="storage-v1",k="readonly",C="readwrite",l=function(v){return function(){try{return!!v()}catch(p){return!1}}},c=l(function(){return window.hubStorage&&window.hubStorage.getItem}),m=l(function(){return(window.indexedDB||window.msIndexedDB)&&(window.IDBTransaction||window.msIDBTransaction)}),d=function(){function N(){this.impl=t,this.store={}}var v=N.prototype;return v.get=function(){var p=a(n().mark(function(){function V(S){return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",this.store[S]);case 1:case"end":return L.stop()}}return I}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.set=function(){var p=a(n().mark(function(){function V(S,I){return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:this.store[S]=I;case 1:case"end":return w.stop()}}return L}(),V,this)}return V}()));function g(V,S){return p.apply(this,arguments)}return g}(),v.remove=function(){var p=a(n().mark(function(){function V(S){return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:this.store[S]=void 0;case 1:case"end":return L.stop()}}return I}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.clear=function(){var p=a(n().mark(function(){function V(){return n().wrap(function(){function S(I){for(;;)switch(I.prev=I.next){case 0:this.store={};case 1:case"end":return I.stop()}}return S}(),V,this)}return V}()));function g(){return p.apply(this,arguments)}return g}(),N}(),u=function(){function N(){this.impl=o}var v=N.prototype;return v.get=function(){var p=a(n().mark(function(){function V(S){var I;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,window.hubStorage.getItem("paradise-"+S);case 2:if(I=w.sent,typeof I!="string"){w.next=5;break}return w.abrupt("return",JSON.parse(I));case 5:case"end":return w.stop()}}return L}(),V)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.set=function(){function p(g,V){window.hubStorage.setItem("paradise-"+g,JSON.stringify(V))}return p}(),v.remove=function(){function p(g){window.hubStorage.removeItem("paradise-"+g)}return p}(),v.clear=function(){function p(){window.hubStorage.clear()}return p}(),N}(),s=function(){function N(){this.impl=f,this.dbPromise=new Promise(function(p,g){var V=window.indexedDB||window.msIndexedDB,S=V.open(y,b);S.onupgradeneeded=function(){try{S.result.createObjectStore(B)}catch(I){g(new Error("Failed to upgrade IDB: "+S.error))}},S.onsuccess=function(){return p(S.result)},S.onerror=function(){g(new Error("Failed to open IDB: "+S.error))}})}var v=N.prototype;return v.getStore=function(){var p=a(n().mark(function(){function V(S){return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return L.abrupt("return",this.dbPromise.then(function(w){return w.transaction(B,S).objectStore(B)}));case 1:case"end":return L.stop()}}return I}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.get=function(){var p=a(n().mark(function(){function V(S){var I;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(k);case 2:return I=w.sent,w.abrupt("return",new Promise(function(A,x){var E=I.get(S);E.onsuccess=function(){return A(E.result)},E.onerror=function(){return x(E.error)}}));case 4:case"end":return w.stop()}}return L}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.set=function(){var p=a(n().mark(function(){function V(S,I){var L;return n().wrap(function(){function w(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.getStore(C);case 2:L=A.sent,L.put(I,S);case 4:case"end":return A.stop()}}return w}(),V,this)}return V}()));function g(V,S){return p.apply(this,arguments)}return g}(),v.remove=function(){var p=a(n().mark(function(){function V(S){var I;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.getStore(C);case 2:I=w.sent,I.delete(S);case 4:case"end":return w.stop()}}return L}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.clear=function(){var p=a(n().mark(function(){function V(){var S;return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.getStore(C);case 2:S=L.sent,S.clear();case 4:case"end":return L.stop()}}return I}(),V,this)}return V}()));function g(){return p.apply(this,arguments)}return g}(),N}(),i=function(){function N(){this.backendPromise=a(n().mark(function(){function p(){var g;return n().wrap(function(){function V(S){for(;;)switch(S.prev=S.next){case 0:if(!(!Byond.TRIDENT&&c())){S.next=2;break}return S.abrupt("return",new u);case 2:if(!m()){S.next=12;break}return S.prev=3,g=new s,S.next=7,g.dbPromise;case 7:return S.abrupt("return",g);case 10:S.prev=10,S.t0=S.catch(3);case 12:return S.abrupt("return",new d);case 13:case"end":return S.stop()}}return V}(),p,null,[[3,10]])}return p}()))()}var v=N.prototype;return v.get=function(){var p=a(n().mark(function(){function V(S){var I;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return I=w.sent,w.abrupt("return",I.get(S));case 4:case"end":return w.stop()}}return L}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.set=function(){var p=a(n().mark(function(){function V(S,I){var L;return n().wrap(function(){function w(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.backendPromise;case 2:return L=A.sent,A.abrupt("return",L.set(S,I));case 4:case"end":return A.stop()}}return w}(),V,this)}return V}()));function g(V,S){return p.apply(this,arguments)}return g}(),v.remove=function(){var p=a(n().mark(function(){function V(S){var I;return n().wrap(function(){function L(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,this.backendPromise;case 2:return I=w.sent,w.abrupt("return",I.remove(S));case 4:case"end":return w.stop()}}return L}(),V,this)}return V}()));function g(V){return p.apply(this,arguments)}return g}(),v.clear=function(){var p=a(n().mark(function(){function V(){var S;return n().wrap(function(){function I(L){for(;;)switch(L.prev=L.next){case 0:return L.next=2,this.backendPromise;case 2:return S=L.sent,L.abrupt("return",S.clear());case 4:case"end":return L.stop()}}return I}(),V,this)}return V}()));function g(){return p.apply(this,arguments)}return g}(),N}(),h=r.storage=new i},25328:function(T,r){"use strict";r.__esModule=!0,r.toTitleCase=r.multiline=r.decodeHtmlEntities=r.createSearch=r.createGlobPattern=r.capitalize=r.buildQueryString=void 0;function n(C,l){var c=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(c)return(c=c.call(C)).next.bind(c);if(Array.isArray(C)||(c=e(C))||l&&C&&typeof C.length=="number"){c&&(C=c);var m=0;return function(){return m>=C.length?{done:!0}:{done:!1,value:C[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(C,l){if(C){if(typeof C=="string")return a(C,l);var c={}.toString.call(C).slice(8,-1);return c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set"?Array.from(C):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(C,l):void 0}}function a(C,l){(l==null||l>C.length)&&(l=C.length);for(var c=0,m=Array(l);c=C.length?{done:!0}:{done:!1,value:C[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e(C,l){if(C){if(typeof C=="string")return a(C,l);var c={}.toString.call(C).slice(8,-1);return c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set"?Array.from(C):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?a(C,l):void 0}}function a(C,l){(l==null||l>C.length)&&(l=C.length);for(var c=0,f=Array(l);c",apos:"'"};return l.replace(/ /gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(d,u){return m[u]}).replace(/?([0-9]+);/gi,function(d,u){var s=parseInt(u,10);return String.fromCharCode(s)}).replace(/?([0-9a-f]+);/gi,function(d,u){var s=parseInt(u,16);return String.fromCharCode(s)})}return C}(),k=r.buildQueryString=function(){function C(l){return Object.keys(l).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(l[c])}).join("&")}return C}()},69214:function(T,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/**
+ */var t=r.multiline=function(){function C(l){if(Array.isArray(l))return C(l.join(""));for(var c=l.split("\n"),f,u=n(c),d;!(d=u()).done;)for(var s=d.value,i=0;i",apos:"'"};return l.replace(/ /gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(c,function(u,d){return f[d]}).replace(/?([0-9]+);/gi,function(u,d){var s=parseInt(d,10);return String.fromCharCode(s)}).replace(/?([0-9a-f]+);/gi,function(u,d){var s=parseInt(d,16);return String.fromCharCode(s)})}return C}(),k=r.buildQueryString=function(){function C(l){return Object.keys(l).map(function(c){return encodeURIComponent(c)+"="+encodeURIComponent(l[c])}).join("&")}return C}()},69214:function(T,r){"use strict";r.__esModule=!0,r.throttle=r.sleep=r.debounce=void 0;/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var n=r.debounce=function(){function t(o,f,b){b===void 0&&(b=!1);var y;return function(){for(var B=arguments.length,k=new Array(B),C=0;C=f)o.apply(null,C),b=c;else{var m;y=setTimeout(function(){return B.apply(void 0,C)},f-(c-((m=b)!=null?m:0)))}}return B}()}return t}()},97450:function(T,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(88510);/**
+ */var n=r.debounce=function(){function t(o,m,b){b===void 0&&(b=!1);var y;return function(){for(var B=arguments.length,k=new Array(B),C=0;C=m)o.apply(null,C),b=c;else{var f;y=setTimeout(function(){return B.apply(void 0,C)},m-(c-((f=b)!=null?f:0)))}}return B}()}return t}()},97450:function(T,r,n){"use strict";r.__esModule=!0,r.vecSubtract=r.vecScale=r.vecNormalize=r.vecMultiply=r.vecLength=r.vecInverse=r.vecDivide=r.vecAdd=void 0;var e=n(88510);/**
* N-dimensional vector manipulation functions.
*
* Vectors are plain number arrays, i.e. [x, y, z].
@@ -58,11 +58,11 @@
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var a=function(u,s){return u+s},t=function(u,s){return u-s},o=function(u,s){return u*s},f=function(u,s){return u/s},b=r.vecAdd=function(){function d(){for(var u=arguments.length,s=new Array(u),i=0;i0&&(g.style=x),g}return v}(),h=r.computeBoxClassName=function(){function v(p){var g=p.textColor||p.color,V=p.backgroundColor;return(0,e.classes)([C(g)&&"color-"+g,C(V)&&"color-bg-"+V])}return v}(),N=r.Box=function(){function v(p){var g=p.as,V=g===void 0?"div":g,S=p.className,I=p.children,L=b(p,f);if(typeof I=="function")return I(i(p));var w=typeof S=="string"?S+" "+h(L):h(L),A=i(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,V,w,I,t.ChildFlags.UnknownChildren,A)}return v}();N.defaultHooks=e.pureComponentHooks},96184:function(T,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),f=n(55937),b=n(1331),y=n(62147),B=["className","fluid","translucent","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],k=["checked"],C=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],l=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","multiLine"];/**
+ */function b(v,p){if(v==null)return{};var g={};for(var V in v)if({}.hasOwnProperty.call(v,V)){if(p.includes(V))continue;g[V]=v[V]}return g}var y=r.unit=function(){function v(p){if(typeof p=="string")return p.endsWith("px")?parseFloat(p)/12+"rem":p;if(typeof p=="number")return p+"rem"}return v}(),B=r.halfUnit=function(){function v(p){if(typeof p=="string")return y(p);if(typeof p=="number")return y(p*.5)}return v}(),k=function(p){return!C(p)},C=function(p){if(typeof p=="string")return o.CSS_COLORS.includes(p)},l=function(p){return function(g,V){(typeof V=="number"||typeof V=="string")&&(g[p]=V)}},c=function(p,g){return function(V,S){(typeof S=="number"||typeof S=="string")&&(V[p]=g(S))}},f=function(p,g){return function(V,S){S&&(V[p]=g)}},u=function(p,g,V){return function(S,I){if(typeof I=="number"||typeof I=="string")for(var L=0;L0&&(g.style=x),g}return v}(),h=r.computeBoxClassName=function(){function v(p){var g=p.textColor||p.color,V=p.backgroundColor;return(0,e.classes)([C(g)&&"color-"+g,C(V)&&"color-bg-"+V])}return v}(),N=r.Box=function(){function v(p){var g=p.as,V=g===void 0?"div":g,S=p.className,I=p.children,L=b(p,m);if(typeof I=="function")return I(i(p));var w=typeof S=="string"?S+" "+h(L):h(L),A=i(L);return(0,a.createVNode)(t.VNodeFlags.HtmlElement,V,w,I,t.ChildFlags.UnknownChildren,A)}return v}();N.defaultHooks=e.pureComponentHooks},96184:function(T,r,n){"use strict";r.__esModule=!0,r.ButtonInput=r.ButtonConfirm=r.ButtonCheckbox=r.Button=void 0;var e=n(89005),a=n(35840),t=n(92986),o=n(9394),m=n(55937),b=n(1331),y=n(62147),B=["className","fluid","translucent","icon","iconRotation","iconSpin","color","textColor","disabled","selected","tooltip","tooltipPosition","ellipsis","compact","circular","content","iconColor","iconRight","iconStyle","children","onclick","onClick","multiLine"],k=["checked"],C=["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"],l=["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","disabled","multiLine"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function c(v,p){v.prototype=Object.create(p.prototype),v.prototype.constructor=v,m(v,p)}function m(v,p){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,V){return g.__proto__=V,g},m(v,p)}function d(v,p){if(v==null)return{};var g={};for(var V in v)if({}.hasOwnProperty.call(v,V)){if(p.includes(V))continue;g[V]=v[V]}return g}var u=(0,o.createLogger)("Button"),s=r.Button=function(){function v(p){var g=p.className,V=p.fluid,S=p.translucent,I=p.icon,L=p.iconRotation,w=p.iconSpin,A=p.color,x=p.textColor,E=p.disabled,M=p.selected,j=p.tooltip,P=p.tooltipPosition,O=p.ellipsis,D=p.compact,F=p.circular,W=p.content,U=p.iconColor,$=p.iconRight,K=p.iconStyle,G=p.children,Q=p.onclick,J=p.onClick,ue=p.multiLine,ie=d(p,B),he=!!(W||G);Q&&u.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),ie.onClick=function(q){!E&&J&&J(q)};var te=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",V&&"Button--fluid",E&&"Button--disabled"+(S?"--translucent":""),M&&"Button--selected"+(S?"--translucent":""),he&&"Button--hasContent",O&&"Button--ellipsis",F&&"Button--circular",D&&"Button--compact",$&&"Button--iconRight",ue&&"Button--multiLine",A&&typeof A=="string"?"Button--color--"+A+(S?"--translucent":""):"Button--color--default"+(S?"--translucent":""),g]),tabIndex:!E&&"0",color:x,onKeyDown:function(){function q(ne){var le=window.event?ne.which:ne.keyCode;if(le===t.KEY_SPACE||le===t.KEY_ENTER){ne.preventDefault(),!E&&J&&J(ne);return}if(le===t.KEY_ESCAPE){ne.preventDefault();return}}return q}()},ie,{children:[I&&!$&&(0,e.createComponentVNode)(2,b.Icon,{name:I,color:U,rotation:L,spin:w,style:K}),W,G,I&&$&&(0,e.createComponentVNode)(2,b.Icon,{name:I,color:U,rotation:L,spin:w,style:K})]})));return j&&(te=(0,e.createComponentVNode)(2,y.Tooltip,{content:j,position:P,children:te})),te}return v}();s.defaultHooks=a.pureComponentHooks;var i=r.ButtonCheckbox=function(){function v(p){var g=p.checked,V=d(p,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:g?"check-square-o":"square-o",selected:g},V)))}return v}();s.Checkbox=i;var h=r.ButtonConfirm=function(v){function p(){var V;return V=v.call(this)||this,V.handleClick=function(){V.state.clickedOnce&&V.setClickedOnce(!1)},V.state={clickedOnce:!1},V}c(p,v);var g=p.prototype;return g.setClickedOnce=function(){function V(S){var I=this;this.setState({clickedOnce:S}),S?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return V}(),g.render=function(){function V(){var S=this,I=this.props,L=I.confirmContent,w=L===void 0?"Confirm?":L,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,M=I.icon,j=I.color,P=I.content,O=I.onClick,D=d(I,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?w:P,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?x:j,onClick:function(){function F(W){return S.state.clickedOnce?O==null?void 0:O(W):S.setClickedOnce(!0)}return F}()},D)))}return V}(),p}(e.Component);s.Confirm=h;var N=r.ButtonInput=function(v){function p(){var V;return V=v.call(this)||this,V.inputRef=void 0,V.inputRef=(0,e.createRef)(),V.state={inInput:!1},V}c(p,v);var g=p.prototype;return g.setInInput=function(){function V(S){var I=this.props.disabled;if(!I&&(this.setState({inInput:S}),this.inputRef)){var L=this.inputRef.current;if(S){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(w){}}}}return V}(),g.commitResult=function(){function V(S){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(S,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(S,this.props.defaultValue)}}}return V}(),g.render=function(){function V(){var S=this,I=this.props,L=I.fluid,w=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,M=I.tooltip,j=I.tooltipPosition,P=I.color,O=P===void 0?"default":P,D=I.disabled,F=I.multiLine,W=d(I,l),U=(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",D&&"Button--disabled","Button--color--"+O,F+"Button--multiLine"])},W,{onClick:function(){function $(){return S.setInInput(!0)}return $}(),children:[A&&(0,e.createComponentVNode)(2,b.Icon,{name:A,rotation:x,spin:E}),(0,e.createVNode)(1,"div",null,w,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function $(K){S.state.inInput&&(S.setInInput(!1),S.commitResult(K))}return $}(),onKeyDown:function(){function $(K){if(K.keyCode===t.KEY_ENTER){S.setInInput(!1),S.commitResult(K);return}K.keyCode===t.KEY_ESCAPE&&S.setInInput(!1)}return $}()},null,this.inputRef)]})));return M&&(U=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:j,children:U})),U}return V}(),p}(e.Component);s.Input=N},18982:function(T,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),f=n(55937),b=["params"],y=["params"],B=["parent","params"];function k(h,N){if(h==null)return{};var v={};for(var p in h)if({}.hasOwnProperty.call(h,p)){if(N.includes(p))continue;v[p]=h[p]}return v}function C(h,N){h.prototype=Object.create(N.prototype),h.prototype.constructor=h,l(h,N)}function l(h,N){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v},l(h,N)}/**
+ */function c(v,p){v.prototype=Object.create(p.prototype),v.prototype.constructor=v,f(v,p)}function f(v,p){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(g,V){return g.__proto__=V,g},f(v,p)}function u(v,p){if(v==null)return{};var g={};for(var V in v)if({}.hasOwnProperty.call(v,V)){if(p.includes(V))continue;g[V]=v[V]}return g}var d=(0,o.createLogger)("Button"),s=r.Button=function(){function v(p){var g=p.className,V=p.fluid,S=p.translucent,I=p.icon,L=p.iconRotation,w=p.iconSpin,A=p.color,x=p.textColor,E=p.disabled,M=p.selected,j=p.tooltip,P=p.tooltipPosition,O=p.ellipsis,D=p.compact,F=p.circular,W=p.content,U=p.iconColor,$=p.iconRight,K=p.iconStyle,G=p.children,Q=p.onclick,J=p.onClick,ue=p.multiLine,ie=u(p,B),he=!!(W||G);Q&&d.warn("Lowercase 'onclick' is not supported on Button and lowercase prop names are discouraged in general. Please use a camelCase'onClick' instead and read: https://infernojs.org/docs/guides/event-handling"),ie.onClick=function(q){!E&&J&&J(q)};var te=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",V&&"Button--fluid",E&&"Button--disabled"+(S?"--translucent":""),M&&"Button--selected"+(S?"--translucent":""),he&&"Button--hasContent",O&&"Button--ellipsis",F&&"Button--circular",D&&"Button--compact",$&&"Button--iconRight",ue&&"Button--multiLine",A&&typeof A=="string"?"Button--color--"+A+(S?"--translucent":""):"Button--color--default"+(S?"--translucent":""),g]),tabIndex:!E&&"0",color:x,onKeyDown:function(){function q(ne){var le=window.event?ne.which:ne.keyCode;if(le===t.KEY_SPACE||le===t.KEY_ENTER){ne.preventDefault(),!E&&J&&J(ne);return}if(le===t.KEY_ESCAPE){ne.preventDefault();return}}return q}()},ie,{children:[I&&!$&&(0,e.createComponentVNode)(2,b.Icon,{name:I,color:U,rotation:L,spin:w,style:K}),W,G,I&&$&&(0,e.createComponentVNode)(2,b.Icon,{name:I,color:U,rotation:L,spin:w,style:K})]})));return j&&(te=(0,e.createComponentVNode)(2,y.Tooltip,{content:j,position:P,children:te})),te}return v}();s.defaultHooks=a.pureComponentHooks;var i=r.ButtonCheckbox=function(){function v(p){var g=p.checked,V=u(p,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({color:"transparent",icon:g?"check-square-o":"square-o",selected:g},V)))}return v}();s.Checkbox=i;var h=r.ButtonConfirm=function(v){function p(){var V;return V=v.call(this)||this,V.handleClick=function(){V.state.clickedOnce&&V.setClickedOnce(!1)},V.state={clickedOnce:!1},V}c(p,v);var g=p.prototype;return g.setClickedOnce=function(){function V(S){var I=this;this.setState({clickedOnce:S}),S?setTimeout(function(){return window.addEventListener("click",I.handleClick)}):window.removeEventListener("click",this.handleClick)}return V}(),g.render=function(){function V(){var S=this,I=this.props,L=I.confirmContent,w=L===void 0?"Confirm?":L,A=I.confirmColor,x=A===void 0?"bad":A,E=I.confirmIcon,M=I.icon,j=I.color,P=I.content,O=I.onClick,D=u(I,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,s,Object.assign({content:this.state.clickedOnce?w:P,icon:this.state.clickedOnce?E:M,color:this.state.clickedOnce?x:j,onClick:function(){function F(W){return S.state.clickedOnce?O==null?void 0:O(W):S.setClickedOnce(!0)}return F}()},D)))}return V}(),p}(e.Component);s.Confirm=h;var N=r.ButtonInput=function(v){function p(){var V;return V=v.call(this)||this,V.inputRef=void 0,V.inputRef=(0,e.createRef)(),V.state={inInput:!1},V}c(p,v);var g=p.prototype;return g.setInInput=function(){function V(S){var I=this.props.disabled;if(!I&&(this.setState({inInput:S}),this.inputRef)){var L=this.inputRef.current;if(S){L.value=this.props.currentValue||"";try{L.focus(),L.select()}catch(w){}}}}return V}(),g.commitResult=function(){function V(S){if(this.inputRef){var I=this.inputRef.current,L=I.value!=="";if(L){this.props.onCommit(S,I.value);return}else{if(!this.props.defaultValue)return;this.props.onCommit(S,this.props.defaultValue)}}}return V}(),g.render=function(){function V(){var S=this,I=this.props,L=I.fluid,w=I.content,A=I.icon,x=I.iconRotation,E=I.iconSpin,M=I.tooltip,j=I.tooltipPosition,P=I.color,O=P===void 0?"default":P,D=I.disabled,F=I.multiLine,W=u(I,l),U=(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Box,Object.assign({className:(0,a.classes)(["Button",L&&"Button--fluid",D&&"Button--disabled","Button--color--"+O,F+"Button--multiLine"])},W,{onClick:function(){function $(){return S.setInInput(!0)}return $}(),children:[A&&(0,e.createComponentVNode)(2,b.Icon,{name:A,rotation:x,spin:E}),(0,e.createVNode)(1,"div",null,w,0),(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?void 0:"none","text-align":"left"},onBlur:function(){function $(K){S.state.inInput&&(S.setInInput(!1),S.commitResult(K))}return $}(),onKeyDown:function(){function $(K){if(K.keyCode===t.KEY_ENTER){S.setInInput(!1),S.commitResult(K);return}K.keyCode===t.KEY_ESCAPE&&S.setInInput(!1)}return $}()},null,this.inputRef)]})));return M&&(U=(0,e.createComponentVNode)(2,y.Tooltip,{content:M,position:j,children:U})),U}return V}(),p}(e.Component);s.Input=N},18982:function(T,r,n){"use strict";r.__esModule=!0,r.ByondUi=void 0;var e=n(89005),a=n(35840),t=n(69214),o=n(9394),m=n(55937),b=["params"],y=["params"],B=["parent","params"];function k(h,N){if(h==null)return{};var v={};for(var p in h)if({}.hasOwnProperty.call(h,p)){if(N.includes(p))continue;v[p]=h[p]}return v}function C(h,N){h.prototype=Object.create(N.prototype),h.prototype.constructor=h,l(h,N)}function l(h,N){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,p){return v.__proto__=p,v},l(h,N)}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
-*/var c=(0,o.createLogger)("ByondUi"),m=[],d=function(N){var v=m.length;m.push(null);var p=N||"byondui_"+v;return c.log("allocated '"+p+"'"),{render:function(){function g(V){c.log("rendering '"+p+"'"),m[v]=p,Byond.winset(p,V)}return g}(),unmount:function(){function g(){c.log("unmounting '"+p+"'"),m[v]=null,Byond.winset(p,{parent:""})}return g}()}};window.addEventListener("beforeunload",function(){for(var h=0;h0){var P=j[0],O=j[j.length-1];j.push([M[0]+x,O[1]]),j.push([M[0]+x,-x]),j.push([-x,-x]),j.push([-x,P[1]])}var D=C(j);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function F(W){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+M[1]+")",fill:I,stroke:w,"stroke-width":x,points:D}),2,{viewBox:"0 0 "+M[0]+" "+M[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},W),null,h.ref))}return F}()})))}return i}(),u}(e.Component);l.defaultHooks=t.pureComponentHooks;var c=function(u){return null},m=r.Chart={Line:l}},4796:function(T,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(96184),o=["children","color","title","buttons","contentStyle"];function f(k,C){if(k==null)return{};var l={};for(var c in k)if({}.hasOwnProperty.call(k,c)){if(C.includes(c))continue;l[c]=k[c]}return l}function b(k,C){k.prototype=Object.create(C.prototype),k.prototype.constructor=k,y(k,C)}function y(k,C){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,c){return l.__proto__=c,l},y(k,C)}/**
+*/var k=function(d,s,i,h){if(d.length===0)return[];var N=(0,a.zipWith)(Math.min).apply(void 0,d),v=(0,a.zipWith)(Math.max).apply(void 0,d);i!==void 0&&(N[0]=i[0],v[0]=i[1]),h!==void 0&&(N[1]=h[0],v[1]=h[1]);var p=(0,a.map)(function(g){return(0,a.zipWith)(function(V,S,I,L){return(V-S)/(I-S)*L})(g,N,v,s)})(d);return p},C=function(d){for(var s="",i=0;i0){var P=j[0],O=j[j.length-1];j.push([M[0]+x,O[1]]),j.push([M[0]+x,-x]),j.push([-x,-x]),j.push([-x,P[1]])}var D=C(j);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({position:"relative"},E,{children:function(){function F(W){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+M[1]+")",fill:I,stroke:w,"stroke-width":x,points:D}),2,{viewBox:"0 0 "+M[0]+" "+M[1],preserveAspectRatio:"none",style:{position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"hidden"}}),2,Object.assign({},W),null,h.ref))}return F}()})))}return i}(),d}(e.Component);l.defaultHooks=t.pureComponentHooks;var c=function(d){return null},f=r.Chart={Line:l}},4796:function(T,r,n){"use strict";r.__esModule=!0,r.Collapsible=void 0;var e=n(89005),a=n(55937),t=n(96184),o=["children","color","title","buttons","contentStyle"];function m(k,C){if(k==null)return{};var l={};for(var c in k)if({}.hasOwnProperty.call(k,c)){if(C.includes(c))continue;l[c]=k[c]}return l}function b(k,C){k.prototype=Object.create(C.prototype),k.prototype.constructor=k,y(k,C)}function y(k,C){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,c){return l.__proto__=c,l},y(k,C)}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
-*/var B=r.Collapsible=function(k){function C(c){var m;m=k.call(this,c)||this;var d=c.open;return m.state={open:d||!1},m}b(C,k);var l=C.prototype;return l.render=function(){function c(){var m=this,d=this.props,u=this.state.open,s=d.children,i=d.color,h=i===void 0?"default":i,N=d.title,v=d.buttons,p=d.contentStyle,g=f(d,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:h,icon:u?"chevron-down":"chevron-right",onClick:function(){function V(){return m.setState({open:!u})}return V}()},g,{children:N}))),2),v&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",v,0)],0),u&&(0,e.createComponentVNode)(2,a.Box,{mt:1,style:p,children:s})]})}return c}(),C}(e.Component)},88894:function(T,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/**
+*/var B=r.Collapsible=function(k){function C(c){var f;f=k.call(this,c)||this;var u=c.open;return f.state={open:u||!1},f}b(C,k);var l=C.prototype;return l.render=function(){function c(){var f=this,u=this.props,d=this.state.open,s=u.children,i=u.color,h=i===void 0?"default":i,N=u.title,v=u.buttons,p=u.contentStyle,g=m(u,o);return(0,e.createComponentVNode)(2,a.Box,{className:"Collapsible",children:[(0,e.createVNode)(1,"div","Table",[(0,e.createVNode)(1,"div","Table__cell",(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({fluid:!0,color:h,icon:d?"chevron-down":"chevron-right",onClick:function(){function V(){return f.setState({open:!d})}return V}()},g,{children:N}))),2),v&&(0,e.createVNode)(1,"div","Table__cell Table__cell--collapsing",v,0)],0),d&&(0,e.createComponentVNode)(2,a.Box,{mt:1,style:p,children:s})]})}return c}(),C}(e.Component)},88894:function(T,r,n){"use strict";r.__esModule=!0,r.ColorBox=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["content","children","className","color","backgroundColor"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function f(y,B){if(y==null)return{};var k={};for(var C in y)if({}.hasOwnProperty.call(y,C)){if(B.includes(C))continue;k[C]=y[C]}return k}var b=r.ColorBox=function(){function y(B){var k=B.content,C=B.children,l=B.className,c=B.color,m=B.backgroundColor,d=f(B,o);return d.color=k?null:"transparent",d.backgroundColor=c||m,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",l,(0,t.computeBoxClassName)(d)]),k||".",0,Object.assign({},(0,t.computeBoxProps)(d))))}return y}();b.defaultHooks=a.pureComponentHooks},73379:function(T,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(B,k){if(B==null)return{};var C={};for(var l in B)if({}.hasOwnProperty.call(B,l)){if(k.includes(l))continue;C[l]=B[l]}return C}function f(B,k){B.prototype=Object.create(k.prototype),B.prototype.constructor=B,b(B,k)}function b(B,k){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,l){return C.__proto__=l,C},b(B,k)}var y=r.Countdown=function(B){function k(l){var c;return c=B.call(this,l)||this,c.timer=null,c.state={value:Math.max(l.timeLeft*100,0)},c}f(k,B);var C=k.prototype;return C.tick=function(){function l(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(m){return{value:c}})}return l}(),C.componentDidMount=function(){function l(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return l}(),C.componentWillUnmount=function(){function l(){clearInterval(this.timer)}return l}(),C.componentDidUpdate=function(){function l(c){var m=this;this.props.current!==c.current&&this.setState(function(d){return{value:Math.max(m.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return l}(),C.render=function(){function l(){var c=this.props,m=c.format,d=o(c,t),u=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},d,{children:m?m(this.state.value,u):u})))}return l}(),k}(e.Component);y.defaultProps={rate:1e3}},61940:function(T,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/**
+ */function m(y,B){if(y==null)return{};var k={};for(var C in y)if({}.hasOwnProperty.call(y,C)){if(B.includes(C))continue;k[C]=y[C]}return k}var b=r.ColorBox=function(){function y(B){var k=B.content,C=B.children,l=B.className,c=B.color,f=B.backgroundColor,u=m(B,o);return u.color=k?null:"transparent",u.backgroundColor=c||f,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["ColorBox",l,(0,t.computeBoxClassName)(u)]),k||".",0,Object.assign({},(0,t.computeBoxProps)(u))))}return y}();b.defaultHooks=a.pureComponentHooks},73379:function(T,r,n){"use strict";r.__esModule=!0,r.Countdown=void 0;var e=n(89005),a=n(55937),t=["format"];function o(B,k){if(B==null)return{};var C={};for(var l in B)if({}.hasOwnProperty.call(B,l)){if(k.includes(l))continue;C[l]=B[l]}return C}function m(B,k){B.prototype=Object.create(k.prototype),B.prototype.constructor=B,b(B,k)}function b(B,k){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,l){return C.__proto__=l,C},b(B,k)}var y=r.Countdown=function(B){function k(l){var c;return c=B.call(this,l)||this,c.timer=null,c.state={value:Math.max(l.timeLeft*100,0)},c}m(k,B);var C=k.prototype;return C.tick=function(){function l(){var c=Math.max(this.state.value-this.props.rate,0);c<=0&&clearInterval(this.timer),this.setState(function(f){return{value:c}})}return l}(),C.componentDidMount=function(){function l(){var c=this;this.timer=setInterval(function(){return c.tick()},this.props.rate)}return l}(),C.componentWillUnmount=function(){function l(){clearInterval(this.timer)}return l}(),C.componentDidUpdate=function(){function l(c){var f=this;this.props.current!==c.current&&this.setState(function(u){return{value:Math.max(f.props.timeLeft*100,0)}}),this.timer||this.componentDidMount()}return l}(),C.render=function(){function l(){var c=this.props,f=c.format,u=o(c,t),d=new Date(this.state.value).toISOString().slice(11,19);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({as:"span"},u,{children:f?f(this.state.value,d):d})))}return l}(),k}(e.Component);y.defaultProps={rate:1e3}},61940:function(T,r,n){"use strict";r.__esModule=!0,r.Dimmer=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","children"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function f(y,B){if(y==null)return{};var k={};for(var C in y)if({}.hasOwnProperty.call(y,C)){if(B.includes(C))continue;k[C]=y[C]}return k}var b=r.Dimmer=function(){function y(B){var k=B.className,C=B.children,l=f(B,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(k))},l,{children:(0,e.createVNode)(1,"div","Dimmer__inner",C,0)})))}return y}()},13605:function(T,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(89005),a=n(35840);/**
+ */function m(y,B){if(y==null)return{};var k={};for(var C in y)if({}.hasOwnProperty.call(y,C)){if(B.includes(C))continue;k[C]=y[C]}return k}var b=r.Dimmer=function(){function y(B){var k=B.className,C=B.children,l=m(B,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["Dimmer"].concat(k))},l,{children:(0,e.createVNode)(1,"div","Dimmer__inner",C,0)})))}return y}()},13605:function(T,r,n){"use strict";r.__esModule=!0,r.Divider=void 0;var e=n(89005),a=n(35840);/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var t=r.Divider=function(){function o(f){var b=f.vertical,y=f.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",b?"Divider--vertical":"Divider--horizontal"]))}return o}()},60218:function(T,r,n){"use strict";r.__esModule=!0,r.DmIcon=void 0;var e=n(89005),a=n(79140),t=n(46085),o=n(91225),f=["className","direction","fallback","frame","icon_state","movement"];function b(u,s){if(u==null)return{};var i={};for(var h in u)if({}.hasOwnProperty.call(u,h)){if(s.includes(h))continue;i[h]=u[h]}return i}function y(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return s};var u,s={},i=Object.prototype,h=i.hasOwnProperty,N=Object.defineProperty||function(te,q,ne){te[q]=ne.value},v=typeof Symbol=="function"?Symbol:{},p=v.iterator||"@@iterator",g=v.asyncIterator||"@@asyncIterator",V=v.toStringTag||"@@toStringTag";function S(te,q,ne){return Object.defineProperty(te,q,{value:ne,enumerable:!0,configurable:!0,writable:!0}),te[q]}try{S({},"")}catch(te){S=function(ne,le,ee){return ne[le]=ee}}function I(te,q,ne,le){var ee=q&&q.prototype instanceof j?q:j,re=Object.create(ee.prototype),oe=new ie(le||[]);return N(re,"_invoke",{value:G(te,ne,oe)}),re}function L(te,q,ne){try{return{type:"normal",arg:te.call(q,ne)}}catch(le){return{type:"throw",arg:le}}}s.wrap=I;var w="suspendedStart",A="suspendedYield",x="executing",E="completed",M={};function j(){}function P(){}function O(){}var D={};S(D,p,function(){return this});var F=Object.getPrototypeOf,W=F&&F(F(he([])));W&&W!==i&&h.call(W,p)&&(D=W);var U=O.prototype=j.prototype=Object.create(D);function $(te){["next","throw","return"].forEach(function(q){S(te,q,function(ne){return this._invoke(q,ne)})})}function K(te,q){function ne(ee,re,oe,fe){var me=L(te[ee],te,re);if(me.type!=="throw"){var Y=me.arg,ve=Y.value;return ve&&typeof ve=="object"&&h.call(ve,"__await")?q.resolve(ve.__await).then(function(pe){ne("next",pe,oe,fe)},function(pe){ne("throw",pe,oe,fe)}):q.resolve(ve).then(function(pe){Y.value=pe,oe(Y)},function(pe){return ne("throw",pe,oe,fe)})}fe(me.arg)}var le;N(this,"_invoke",{value:function(){function ee(re,oe){function fe(){return new q(function(me,Y){ne(re,oe,me,Y)})}return le=le?le.then(fe,fe):fe()}return ee}()})}function G(te,q,ne){var le=w;return function(ee,re){if(le===x)throw Error("Generator is already running");if(le===E){if(ee==="throw")throw re;return{value:u,done:!0}}for(ne.method=ee,ne.arg=re;;){var oe=ne.delegate;if(oe){var fe=Q(oe,ne);if(fe){if(fe===M)continue;return fe}}if(ne.method==="next")ne.sent=ne._sent=ne.arg;else if(ne.method==="throw"){if(le===w)throw le=E,ne.arg;ne.dispatchException(ne.arg)}else ne.method==="return"&&ne.abrupt("return",ne.arg);le=x;var me=L(te,q,ne);if(me.type==="normal"){if(le=ne.done?E:A,me.arg===M)continue;return{value:me.arg,done:ne.done}}me.type==="throw"&&(le=E,ne.method="throw",ne.arg=me.arg)}}}function Q(te,q){var ne=q.method,le=te.iterator[ne];if(le===u)return q.delegate=null,ne==="throw"&&te.iterator.return&&(q.method="return",q.arg=u,Q(te,q),q.method==="throw")||ne!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+ne+"' method")),M;var ee=L(le,te.iterator,q.arg);if(ee.type==="throw")return q.method="throw",q.arg=ee.arg,q.delegate=null,M;var re=ee.arg;return re?re.done?(q[te.resultName]=re.value,q.next=te.nextLoc,q.method!=="return"&&(q.method="next",q.arg=u),q.delegate=null,M):re:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,M)}function J(te){var q={tryLoc:te[0]};1 in te&&(q.catchLoc=te[1]),2 in te&&(q.finallyLoc=te[2],q.afterLoc=te[3]),this.tryEntries.push(q)}function ue(te){var q=te.completion||{};q.type="normal",delete q.arg,te.completion=q}function ie(te){this.tryEntries=[{tryLoc:"root"}],te.forEach(J,this),this.reset(!0)}function he(te){if(te||te===""){var q=te[p];if(q)return q.call(te);if(typeof te.next=="function")return te;if(!isNaN(te.length)){var ne=-1,le=function(){function ee(){for(;++ne=0;--ee){var re=this.tryEntries[ee],oe=re.completion;if(re.tryLoc==="root")return le("end");if(re.tryLoc<=this.prev){var fe=h.call(re,"catchLoc"),me=h.call(re,"finallyLoc");if(fe&&me){if(this.prev=0;--le){var ee=this.tryEntries[le];if(ee.tryLoc<=this.prev&&h.call(ee,"finallyLoc")&&this.prev=0;--ne){var le=this.tryEntries[ne];if(le.finallyLoc===q)return this.complete(le.completion,le.afterLoc),ue(le),M}}return te}(),catch:function(){function te(q){for(var ne=this.tryEntries.length-1;ne>=0;--ne){var le=this.tryEntries[ne];if(le.tryLoc===q){var ee=le.completion;if(ee.type==="throw"){var re=ee.arg;ue(le)}return re}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(q,ne,le){return this.delegate={iterator:he(q),resultName:ne,nextLoc:le},this.method==="next"&&(this.arg=u),M}return te}()},s}function B(u,s,i,h,N,v,p){try{var g=u[v](p),V=g.value}catch(S){return void i(S)}g.done?s(V):Promise.resolve(V).then(h,N)}function k(u){return function(){var s=this,i=arguments;return new Promise(function(h,N){var v=u.apply(s,i);function p(V){B(v,h,N,p,g,"next",V)}function g(V){B(v,h,N,p,g,"throw",V)}p(void 0)})}}function C(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,l(u,s)}function l(u,s){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,h){return i.__proto__=h,i},l(u,s)}var c=function(u){return u[u.NORTH=1]="NORTH",u[u.SOUTH=2]="SOUTH",u[u.EAST=4]="EAST",u[u.WEST=8]="WEST",u[u.NORTHEAST=5]="NORTHEAST",u[u.NORTHWEST=9]="NORTHWEST",u[u.SOUTHEAST=6]="SOUTHEAST",u[u.SOUTHWEST=10]="SOUTHWEST",u}(c||{}),m,d=r.DmIcon=function(u){function s(h){var N;return N=u.call(this,h)||this,N.state={iconRef:""},N}C(s,u);var i=s.prototype;return i.fetchRefMap=function(){var h=k(y().mark(function(){function v(){var p,g;return y().wrap(function(){function V(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,t.fetchRetry)((0,a.resolveAsset)("icon_ref_map.json"));case 2:return p=S.sent,S.next=5,p.json();case 5:g=S.sent,m=g,this.setState({iconRef:g[this.props.icon]});case 8:case"end":return S.stop()}}return V}(),v,this)}return v}()));function N(){return h.apply(this,arguments)}return N}(),i.componentDidMount=function(){function h(){m?this.setState({iconRef:m[this.props.icon]}):this.fetchRefMap()}return h}(),i.componentDidUpdate=function(){function h(N){N.icon!==this.props.icon&&(m?this.setState({iconRef:m[this.props.icon]}):this.fetchRefMap())}return h}(),i.render=function(){function h(){var N=this.props,v=N.className,p=N.direction,g=p===void 0?c.SOUTH:p,V=N.fallback,S=N.frame,I=S===void 0?1:S,L=N.icon_state,w=N.movement,A=w===void 0?!1:w,x=b(N,f),E=this.state.iconRef,M=E+"?state="+L+"&dir="+g+"&movement="+!!A+"&frame="+I;return E?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Image,Object.assign({fixErrors:!0,src:M},x))):V||null}return h}(),s}(e.Component)},20342:function(T,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function f(C,l){C.prototype=Object.create(l.prototype),C.prototype.constructor=C,b(C,l)}function b(C,l){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,m){return c.__proto__=m,c},b(C,l)}var y=400,B=function(l,c){return l.screenX*c[0]+l.screenY*c[1]},k=r.DraggableControl=function(C){function l(m){var d;return d=C.call(this,m)||this,d.inputRef=(0,e.createRef)(),d.state={originalValue:m.value,value:m.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},d.flickerTimer=null,d.suppressFlicker=function(){var u=d.props.suppressFlicker;u>0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},u))},d.handleDragStart=function(u){var s=d.props,i=s.value,h=s.dragMatrix,N=s.disabled,v=d.state.editing;v||N||(document.body.style["pointer-events"]="none",d.ref=u.currentTarget,d.setState({originalValue:i,dragging:!1,value:i,origin:B(u,h)}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var p=d.state,g=p.dragging,V=p.value,S=d.props.onDrag;g&&S&&S(u,V)},d.props.updateRate||y),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(u){var s,i=d.props,h=i.minValue,N=i.maxValue,v=i.step,p=i.dragMatrix,g=i.disabled;if(!g){var V=d.ref.offsetWidth/((N-h)/v),S=(s=d.props.stepPixelSize)!=null?s:V;typeof S=="function"&&(S=S(V)),d.setState(function(I){var L=Object.assign({},I),w=I.origin,A=B(u,p)-w;if(I.dragging){var x=Math.trunc(A/S);L.value=(0,a.clamp)(Math.floor(L.originalValue/v)*v+x*v,h,N)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},d.handleDragEnd=function(u){var s=d.props,i=s.onChange,h=s.onDrag,N=d.state,v=N.dragging,p=N.value;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({originalValue:null,dragging:!1,editing:!v,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),v)d.suppressFlicker(),i&&i(u,p),h&&h(u,p);else if(d.inputRef){var g=d.inputRef.current;g.value=p;try{g.focus(),g.select()}catch(V){}}},d}f(l,C);var c=l.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,i=u.editing,h=u.value,N=u.suppressingFlicker,v=this.props,p=v.animated,g=v.value,V=v.unit,S=v.minValue,I=v.maxValue,L=v.format,w=v.onChange,A=v.onDrag,x=v.children,E=v.height,M=v.lineHeight,j=v.fontSize,P=v.disabled,O=g;(s||N)&&(O=h);var D=function(){function U($){return $+(V?" "+V:"")}return U}(),F=p&&!s&&!N&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:O,format:L,children:D})||D(L?L(O):O),W=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!i||P?"none":void 0,height:E,"line-height":M,"font-size":j},onBlur:function(){function U($){if(i){var K=(0,a.clamp)(parseFloat($.target.value),S,I);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),w&&w($,K),A&&A($,K)}}return U}(),onKeyDown:function(){function U($){if($.keyCode===13){var K=(0,a.clamp)(parseFloat($.target.value),S,I);if(Number.isNaN(K)){d.setState({editing:!1});return}d.setState({editing:!1,value:K}),d.suppressFlicker(),w&&w($,K),A&&A($,K);return}if($.keyCode===27){d.setState({editing:!1});return}}return U}(),disabled:P},null,this.inputRef);return x({dragging:s,editing:i,value:g,displayValue:O,displayElement:F,inputElement:W,handleDragStart:this.handleDragStart})}return m}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(T,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),f=n(1331),b=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],B;function k(i,h){if(i==null)return{};var N={};for(var v in i)if({}.hasOwnProperty.call(i,v)){if(h.includes(v))continue;N[v]=i[v]}return N}function C(i,h){i.prototype=Object.create(h.prototype),i.prototype.constructor=i,l(i,h)}function l(i,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,v){return N.__proto__=v,N},l(i,h)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},m={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function i(){return null}return i}()},d="Layout Dropdown__menu",u="Layout Dropdown__menu-scroll",s=r.Dropdown=function(i){function h(v){var p;return p=i.call(this,v)||this,p.menuContents=void 0,p.handleClick=function(){p.state.open&&p.setOpen(!1)},p.state={open:!1,selected:p.props.selected},p.menuContents=null,p}C(h,i);var N=h.prototype;return N.getDOMNode=function(){function v(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return v}(),N.componentDidMount=function(){function v(){var p=this.getDOMNode()}return v}(),N.openMenu=function(){function v(){var p=h.renderedMenu;p===void 0&&(p=document.createElement("div"),p.className=d,document.body.appendChild(p),h.renderedMenu=p);var g=this.getDOMNode();h.currentOpenMenu=g,p.scrollTop=0,p.style.width=this.props.menuWidth||g.offsetWidth+"px",p.style.opacity="1",p.style.pointerEvents="auto",setTimeout(function(){var V;(V=h.renderedMenu)==null||V.focus()},400),this.renderMenuContent()}return v}(),N.closeMenu=function(){function v(){h.currentOpenMenu===this.getDOMNode()&&(h.currentOpenMenu=void 0,h.renderedMenu.style.opacity="0",h.renderedMenu.style.pointerEvents="none")}return v}(),N.componentWillUnmount=function(){function v(){this.closeMenu(),this.setOpen(!1)}return v}(),N.renderMenuContent=function(){function v(){var p=this,g=h.renderedMenu;if(g){g.offsetHeight>200?g.className=u:g.className=d;var V=this.props.options,S=V===void 0?[]:V,I=S.map(function(w){var A,x;return typeof w=="string"?(x=w,A=w):w!==null&&(x=w.displayText,A=w.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",p.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){p.setSelected(A)}return E}()},A)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),g,function(){var w=h.singletonPopper;w===void 0?(w=(0,a.createPopper)(h.virtualElement,g,Object.assign({},c,{placement:"bottom-start"})),h.singletonPopper=w):(w.setOptions(Object.assign({},c,{placement:"bottom-start"})),w.update())},this.context)}}return v}(),N.setOpen=function(){function v(p){var g=this;this.setState(function(V){return Object.assign({},V,{open:p})}),p?setTimeout(function(){g.openMenu(),window.addEventListener("click",g.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return v}(),N.setSelected=function(){function v(p){this.setState(function(g){return Object.assign({},g,{selected:p})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(p)}return v}(),N.render=function(){function v(){var p=this,g=this.props,V=g.icon,S=g.iconRotation,I=g.iconSpin,L=g.clipSelectedText,w=L===void 0?!0:L,A=g.color,x=A===void 0?"default":A,E=g.dropdownStyle,M=g.over,j=g.nochevron,P=g.width,O=g.onClick,D=g.onSelected,F=g.selected,W=g.disabled,U=g.displayText,$=k(g,b),K=$.className,G=k($,y),Q=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:P,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,W&&"Button--disabled",K]),onClick:function(){function J(ue){W&&!p.state.open||(p.setOpen(!p.state.open),O&&O(ue))}return J}()},G,{children:[V&&(0,e.createComponentVNode)(2,f.Icon,{name:V,rotation:S,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",U||this.state.selected,0,{style:{overflow:w?"hidden":"visible"}}),j||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,f.Icon,{name:Q?"chevron-up":"chevron-down"}),2)]})))}return v}(),h}(e.Component);B=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function i(){var h,N;return(h=(N=B.currentOpenMenu)==null?void 0:N.getBoundingClientRect())!=null?h:m}return i}()}},39473:function(T,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline","style"],f=["className"],b=["className","style","grow","order","shrink","basis","align"],y=["className"];/**
+ */var t=r.Divider=function(){function o(m){var b=m.vertical,y=m.hidden;return(0,e.createVNode)(1,"div",(0,a.classes)(["Divider",y&&"Divider--hidden",b?"Divider--vertical":"Divider--horizontal"]))}return o}()},60218:function(T,r,n){"use strict";r.__esModule=!0,r.DmIcon=void 0;var e=n(89005),a=n(79140),t=n(46085),o=n(91225),m=["className","direction","fallback","frame","icon_state","movement"];function b(d,s){if(d==null)return{};var i={};for(var h in d)if({}.hasOwnProperty.call(d,h)){if(s.includes(h))continue;i[h]=d[h]}return i}function y(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */y=function(){return s};var d,s={},i=Object.prototype,h=i.hasOwnProperty,N=Object.defineProperty||function(te,q,ne){te[q]=ne.value},v=typeof Symbol=="function"?Symbol:{},p=v.iterator||"@@iterator",g=v.asyncIterator||"@@asyncIterator",V=v.toStringTag||"@@toStringTag";function S(te,q,ne){return Object.defineProperty(te,q,{value:ne,enumerable:!0,configurable:!0,writable:!0}),te[q]}try{S({},"")}catch(te){S=function(ne,le,ee){return ne[le]=ee}}function I(te,q,ne,le){var ee=q&&q.prototype instanceof j?q:j,re=Object.create(ee.prototype),oe=new ie(le||[]);return N(re,"_invoke",{value:G(te,ne,oe)}),re}function L(te,q,ne){try{return{type:"normal",arg:te.call(q,ne)}}catch(le){return{type:"throw",arg:le}}}s.wrap=I;var w="suspendedStart",A="suspendedYield",x="executing",E="completed",M={};function j(){}function P(){}function O(){}var D={};S(D,p,function(){return this});var F=Object.getPrototypeOf,W=F&&F(F(he([])));W&&W!==i&&h.call(W,p)&&(D=W);var U=O.prototype=j.prototype=Object.create(D);function $(te){["next","throw","return"].forEach(function(q){S(te,q,function(ne){return this._invoke(q,ne)})})}function K(te,q){function ne(ee,re,oe,fe){var me=L(te[ee],te,re);if(me.type!=="throw"){var Y=me.arg,ve=Y.value;return ve&&typeof ve=="object"&&h.call(ve,"__await")?q.resolve(ve.__await).then(function(pe){ne("next",pe,oe,fe)},function(pe){ne("throw",pe,oe,fe)}):q.resolve(ve).then(function(pe){Y.value=pe,oe(Y)},function(pe){return ne("throw",pe,oe,fe)})}fe(me.arg)}var le;N(this,"_invoke",{value:function(){function ee(re,oe){function fe(){return new q(function(me,Y){ne(re,oe,me,Y)})}return le=le?le.then(fe,fe):fe()}return ee}()})}function G(te,q,ne){var le=w;return function(ee,re){if(le===x)throw Error("Generator is already running");if(le===E){if(ee==="throw")throw re;return{value:d,done:!0}}for(ne.method=ee,ne.arg=re;;){var oe=ne.delegate;if(oe){var fe=Q(oe,ne);if(fe){if(fe===M)continue;return fe}}if(ne.method==="next")ne.sent=ne._sent=ne.arg;else if(ne.method==="throw"){if(le===w)throw le=E,ne.arg;ne.dispatchException(ne.arg)}else ne.method==="return"&&ne.abrupt("return",ne.arg);le=x;var me=L(te,q,ne);if(me.type==="normal"){if(le=ne.done?E:A,me.arg===M)continue;return{value:me.arg,done:ne.done}}me.type==="throw"&&(le=E,ne.method="throw",ne.arg=me.arg)}}}function Q(te,q){var ne=q.method,le=te.iterator[ne];if(le===d)return q.delegate=null,ne==="throw"&&te.iterator.return&&(q.method="return",q.arg=d,Q(te,q),q.method==="throw")||ne!=="return"&&(q.method="throw",q.arg=new TypeError("The iterator does not provide a '"+ne+"' method")),M;var ee=L(le,te.iterator,q.arg);if(ee.type==="throw")return q.method="throw",q.arg=ee.arg,q.delegate=null,M;var re=ee.arg;return re?re.done?(q[te.resultName]=re.value,q.next=te.nextLoc,q.method!=="return"&&(q.method="next",q.arg=d),q.delegate=null,M):re:(q.method="throw",q.arg=new TypeError("iterator result is not an object"),q.delegate=null,M)}function J(te){var q={tryLoc:te[0]};1 in te&&(q.catchLoc=te[1]),2 in te&&(q.finallyLoc=te[2],q.afterLoc=te[3]),this.tryEntries.push(q)}function ue(te){var q=te.completion||{};q.type="normal",delete q.arg,te.completion=q}function ie(te){this.tryEntries=[{tryLoc:"root"}],te.forEach(J,this),this.reset(!0)}function he(te){if(te||te===""){var q=te[p];if(q)return q.call(te);if(typeof te.next=="function")return te;if(!isNaN(te.length)){var ne=-1,le=function(){function ee(){for(;++ne=0;--ee){var re=this.tryEntries[ee],oe=re.completion;if(re.tryLoc==="root")return le("end");if(re.tryLoc<=this.prev){var fe=h.call(re,"catchLoc"),me=h.call(re,"finallyLoc");if(fe&&me){if(this.prev=0;--le){var ee=this.tryEntries[le];if(ee.tryLoc<=this.prev&&h.call(ee,"finallyLoc")&&this.prev=0;--ne){var le=this.tryEntries[ne];if(le.finallyLoc===q)return this.complete(le.completion,le.afterLoc),ue(le),M}}return te}(),catch:function(){function te(q){for(var ne=this.tryEntries.length-1;ne>=0;--ne){var le=this.tryEntries[ne];if(le.tryLoc===q){var ee=le.completion;if(ee.type==="throw"){var re=ee.arg;ue(le)}return re}}throw Error("illegal catch attempt")}return te}(),delegateYield:function(){function te(q,ne,le){return this.delegate={iterator:he(q),resultName:ne,nextLoc:le},this.method==="next"&&(this.arg=d),M}return te}()},s}function B(d,s,i,h,N,v,p){try{var g=d[v](p),V=g.value}catch(S){return void i(S)}g.done?s(V):Promise.resolve(V).then(h,N)}function k(d){return function(){var s=this,i=arguments;return new Promise(function(h,N){var v=d.apply(s,i);function p(V){B(v,h,N,p,g,"next",V)}function g(V){B(v,h,N,p,g,"throw",V)}p(void 0)})}}function C(d,s){d.prototype=Object.create(s.prototype),d.prototype.constructor=d,l(d,s)}function l(d,s){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,h){return i.__proto__=h,i},l(d,s)}var c=function(d){return d[d.NORTH=1]="NORTH",d[d.SOUTH=2]="SOUTH",d[d.EAST=4]="EAST",d[d.WEST=8]="WEST",d[d.NORTHEAST=5]="NORTHEAST",d[d.NORTHWEST=9]="NORTHWEST",d[d.SOUTHEAST=6]="SOUTHEAST",d[d.SOUTHWEST=10]="SOUTHWEST",d}(c||{}),f,u=r.DmIcon=function(d){function s(h){var N;return N=d.call(this,h)||this,N.state={iconRef:""},N}C(s,d);var i=s.prototype;return i.fetchRefMap=function(){var h=k(y().mark(function(){function v(){var p,g;return y().wrap(function(){function V(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,t.fetchRetry)((0,a.resolveAsset)("icon_ref_map.json"));case 2:return p=S.sent,S.next=5,p.json();case 5:g=S.sent,f=g,this.setState({iconRef:g[this.props.icon]});case 8:case"end":return S.stop()}}return V}(),v,this)}return v}()));function N(){return h.apply(this,arguments)}return N}(),i.componentDidMount=function(){function h(){f?this.setState({iconRef:f[this.props.icon]}):this.fetchRefMap()}return h}(),i.componentDidUpdate=function(){function h(N){N.icon!==this.props.icon&&(f?this.setState({iconRef:f[this.props.icon]}):this.fetchRefMap())}return h}(),i.render=function(){function h(){var N=this.props,v=N.className,p=N.direction,g=p===void 0?c.SOUTH:p,V=N.fallback,S=N.frame,I=S===void 0?1:S,L=N.icon_state,w=N.movement,A=w===void 0?!1:w,x=b(N,m),E=this.state.iconRef,M=E+"?state="+L+"&dir="+g+"&movement="+!!A+"&frame="+I;return E?(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Image,Object.assign({fixErrors:!0,src:M},x))):V||null}return h}(),s}(e.Component)},20342:function(T,r,n){"use strict";r.__esModule=!0,r.DraggableControl=void 0;var e=n(89005),a=n(44879),t=n(35840),o=n(9474);function m(C,l){C.prototype=Object.create(l.prototype),C.prototype.constructor=C,b(C,l)}function b(C,l){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(c,f){return c.__proto__=f,c},b(C,l)}var y=400,B=function(l,c){return l.screenX*c[0]+l.screenY*c[1]},k=r.DraggableControl=function(C){function l(f){var u;return u=C.call(this,f)||this,u.inputRef=(0,e.createRef)(),u.state={originalValue:f.value,value:f.value,dragging:!1,editing:!1,origin:null,suppressingFlicker:!1},u.flickerTimer=null,u.suppressFlicker=function(){var d=u.props.suppressFlicker;d>0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},d))},u.handleDragStart=function(d){var s=u.props,i=s.value,h=s.dragMatrix,N=s.disabled,v=u.state.editing;v||N||(document.body.style["pointer-events"]="none",u.ref=d.currentTarget,u.setState({originalValue:i,dragging:!1,value:i,origin:B(d,h)}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var p=u.state,g=p.dragging,V=p.value,S=u.props.onDrag;g&&S&&S(d,V)},u.props.updateRate||y),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(d){var s,i=u.props,h=i.minValue,N=i.maxValue,v=i.step,p=i.dragMatrix,g=i.disabled;if(!g){var V=u.ref.offsetWidth/((N-h)/v),S=(s=u.props.stepPixelSize)!=null?s:V;typeof S=="function"&&(S=S(V)),u.setState(function(I){var L=Object.assign({},I),w=I.origin,A=B(d,p)-w;if(I.dragging){var x=Math.trunc(A/S);L.value=(0,a.clamp)(Math.floor(L.originalValue/v)*v+x*v,h,N)}else Math.abs(A)>4&&(L.dragging=!0);return L})}},u.handleDragEnd=function(d){var s=u.props,i=s.onChange,h=s.onDrag,N=u.state,v=N.dragging,p=N.value;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({originalValue:null,dragging:!1,editing:!v,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),v)u.suppressFlicker(),i&&i(d,p),h&&h(d,p);else if(u.inputRef){var g=u.inputRef.current;g.value=p;try{g.focus(),g.select()}catch(V){}}},u}m(l,C);var c=l.prototype;return c.render=function(){function f(){var u=this,d=this.state,s=d.dragging,i=d.editing,h=d.value,N=d.suppressingFlicker,v=this.props,p=v.animated,g=v.value,V=v.unit,S=v.minValue,I=v.maxValue,L=v.format,w=v.onChange,A=v.onDrag,x=v.children,E=v.height,M=v.lineHeight,j=v.fontSize,P=v.disabled,O=g;(s||N)&&(O=h);var D=function(){function U($){return $+(V?" "+V:"")}return U}(),F=p&&!s&&!N&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:O,format:L,children:D})||D(L?L(O):O),W=(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:!i||P?"none":void 0,height:E,"line-height":M,"font-size":j},onBlur:function(){function U($){if(i){var K=(0,a.clamp)(parseFloat($.target.value),S,I);if(Number.isNaN(K)){u.setState({editing:!1});return}u.setState({editing:!1,value:K}),u.suppressFlicker(),w&&w($,K),A&&A($,K)}}return U}(),onKeyDown:function(){function U($){if($.keyCode===13){var K=(0,a.clamp)(parseFloat($.target.value),S,I);if(Number.isNaN(K)){u.setState({editing:!1});return}u.setState({editing:!1,value:K}),u.suppressFlicker(),w&&w($,K),A&&A($,K);return}if($.keyCode===27){u.setState({editing:!1});return}}return U}(),disabled:P},null,this.inputRef);return x({dragging:s,editing:i,value:g,displayValue:O,displayElement:F,inputElement:W,handleDragStart:this.handleDragStart})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,suppressFlicker:50,dragMatrix:[1,0]}},87099:function(T,r,n){"use strict";r.__esModule=!0,r.Dropdown=void 0;var e=n(89005),a=n(95996),t=n(35840),o=n(55937),m=n(1331),b=["icon","iconRotation","iconSpin","clipSelectedText","color","dropdownStyle","over","nochevron","width","onClick","onSelected","selected","disabled","displayText"],y=["className"],B;function k(i,h){if(i==null)return{};var N={};for(var v in i)if({}.hasOwnProperty.call(i,v)){if(h.includes(v))continue;N[v]=i[v]}return N}function C(i,h){i.prototype=Object.create(h.prototype),i.prototype.constructor=i,l(i,h)}function l(i,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,v){return N.__proto__=v,N},l(i,h)}var c={placement:"left-start",modifiers:[{name:"eventListeners",enabled:!1}]},f={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function i(){return null}return i}()},u="Layout Dropdown__menu",d="Layout Dropdown__menu-scroll",s=r.Dropdown=function(i){function h(v){var p;return p=i.call(this,v)||this,p.menuContents=void 0,p.handleClick=function(){p.state.open&&p.setOpen(!1)},p.state={open:!1,selected:p.props.selected},p.menuContents=null,p}C(h,i);var N=h.prototype;return N.getDOMNode=function(){function v(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return v}(),N.componentDidMount=function(){function v(){var p=this.getDOMNode()}return v}(),N.openMenu=function(){function v(){var p=h.renderedMenu;p===void 0&&(p=document.createElement("div"),p.className=u,document.body.appendChild(p),h.renderedMenu=p);var g=this.getDOMNode();h.currentOpenMenu=g,p.scrollTop=0,p.style.width=this.props.menuWidth||g.offsetWidth+"px",p.style.opacity="1",p.style.pointerEvents="auto",setTimeout(function(){var V;(V=h.renderedMenu)==null||V.focus()},400),this.renderMenuContent()}return v}(),N.closeMenu=function(){function v(){h.currentOpenMenu===this.getDOMNode()&&(h.currentOpenMenu=void 0,h.renderedMenu.style.opacity="0",h.renderedMenu.style.pointerEvents="none")}return v}(),N.componentWillUnmount=function(){function v(){this.closeMenu(),this.setOpen(!1)}return v}(),N.renderMenuContent=function(){function v(){var p=this,g=h.renderedMenu;if(g){g.offsetHeight>200?g.className=d:g.className=u;var V=this.props.options,S=V===void 0?[]:V,I=S.map(function(w){var A,x;return typeof w=="string"?(x=w,A=w):w!==null&&(x=w.displayText,A=w.value),(0,e.createVNode)(1,"div",(0,t.classes)(["Dropdown__menuentry",p.state.selected===A&&"selected"]),x,0,{onClick:function(){function E(){p.setSelected(A)}return E}()},A)}),L=I.length?I:"No Options Found";(0,e.render)((0,e.createVNode)(1,"div",null,L,0),g,function(){var w=h.singletonPopper;w===void 0?(w=(0,a.createPopper)(h.virtualElement,g,Object.assign({},c,{placement:"bottom-start"})),h.singletonPopper=w):(w.setOptions(Object.assign({},c,{placement:"bottom-start"})),w.update())},this.context)}}return v}(),N.setOpen=function(){function v(p){var g=this;this.setState(function(V){return Object.assign({},V,{open:p})}),p?setTimeout(function(){g.openMenu(),window.addEventListener("click",g.handleClick)}):(this.closeMenu(),window.removeEventListener("click",this.handleClick))}return v}(),N.setSelected=function(){function v(p){this.setState(function(g){return Object.assign({},g,{selected:p})}),this.setOpen(!1),this.props.onSelected&&this.props.onSelected(p)}return v}(),N.render=function(){function v(){var p=this,g=this.props,V=g.icon,S=g.iconRotation,I=g.iconSpin,L=g.clipSelectedText,w=L===void 0?!0:L,A=g.color,x=A===void 0?"default":A,E=g.dropdownStyle,M=g.over,j=g.nochevron,P=g.width,O=g.onClick,D=g.onSelected,F=g.selected,W=g.disabled,U=g.displayText,$=k(g,b),K=$.className,G=k($,y),Q=M?!this.state.open:this.state.open;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({width:P,className:(0,t.classes)(["Dropdown__control","Button","Button--color--"+x,W&&"Button--disabled",K]),onClick:function(){function J(ue){W&&!p.state.open||(p.setOpen(!p.state.open),O&&O(ue))}return J}()},G,{children:[V&&(0,e.createComponentVNode)(2,m.Icon,{name:V,rotation:S,spin:I,mr:1}),(0,e.createVNode)(1,"span","Dropdown__selected-text",U||this.state.selected,0,{style:{overflow:w?"hidden":"visible"}}),j||(0,e.createVNode)(1,"span","Dropdown__arrow-button",(0,e.createComponentVNode)(2,m.Icon,{name:Q?"chevron-up":"chevron-down"}),2)]})))}return v}(),h}(e.Component);B=s,s.renderedMenu=void 0,s.singletonPopper=void 0,s.currentOpenMenu=void 0,s.virtualElement={getBoundingClientRect:function(){function i(){var h,N;return(h=(N=B.currentOpenMenu)==null?void 0:N.getBoundingClientRect())!=null?h:f}return i}()}},39473:function(T,r,n){"use strict";r.__esModule=!0,r.computeFlexProps=r.computeFlexItemProps=r.computeFlexItemClassName=r.computeFlexClassName=r.Flex=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["className","direction","wrap","align","justify","inline","style"],m=["className"],b=["className","style","grow","order","shrink","basis","align"],y=["className"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function B(u,s){if(u==null)return{};var i={};for(var h in u)if({}.hasOwnProperty.call(u,h)){if(s.includes(h))continue;i[h]=u[h]}return i}var k=r.computeFlexClassName=function(){function u(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",(0,t.computeBoxClassName)(s)])}return u}(),C=r.computeFlexProps=function(){function u(s){var i=s.className,h=s.direction,N=s.wrap,v=s.align,p=s.justify,g=s.inline,V=s.style,S=B(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},V,{"flex-direction":h,"flex-wrap":N===!0?"wrap":N,"align-items":v,"justify-content":p})},S))}return u}(),l=r.Flex=function(){function u(s){var i=s.className,h=B(s,f);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([i,k(h)]),null,1,Object.assign({},C(h))))}return u}();l.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function u(s){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(s)])}return u}(),m=r.computeFlexItemProps=function(){function u(s){var i=s.className,h=s.style,N=s.grow,v=s.order,p=s.shrink,g=s.basis,V=g===void 0?s.width:g,S=s.align,I=B(s,b);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},h,{"flex-grow":N!==void 0&&Number(N),"flex-shrink":p!==void 0&&Number(p),"flex-basis":(0,t.unit)(V),order:v,"align-self":S})},I))}return u}(),d=function(s){var i=s.className,h=B(s,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([i,c(s)]),null,1,Object.assign({},m(h))))};d.defaultHooks=a.pureComponentHooks,l.Item=d},79646:function(T,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],f=["size","style"];/**
+ */function B(d,s){if(d==null)return{};var i={};for(var h in d)if({}.hasOwnProperty.call(d,h)){if(s.includes(h))continue;i[h]=d[h]}return i}var k=r.computeFlexClassName=function(){function d(s){return(0,a.classes)(["Flex",s.inline&&"Flex--inline",(0,t.computeBoxClassName)(s)])}return d}(),C=r.computeFlexProps=function(){function d(s){var i=s.className,h=s.direction,N=s.wrap,v=s.align,p=s.justify,g=s.inline,V=s.style,S=B(s,o);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},V,{"flex-direction":h,"flex-wrap":N===!0?"wrap":N,"align-items":v,"justify-content":p})},S))}return d}(),l=r.Flex=function(){function d(s){var i=s.className,h=B(s,m);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([i,k(h)]),null,1,Object.assign({},C(h))))}return d}();l.defaultHooks=a.pureComponentHooks;var c=r.computeFlexItemClassName=function(){function d(s){return(0,a.classes)(["Flex__item",(0,t.computeBoxClassName)(s)])}return d}(),f=r.computeFlexItemProps=function(){function d(s){var i=s.className,h=s.style,N=s.grow,v=s.order,p=s.shrink,g=s.basis,V=g===void 0?s.width:g,S=s.align,I=B(s,b);return(0,t.computeBoxProps)(Object.assign({style:Object.assign({},h,{"flex-grow":N!==void 0&&Number(N),"flex-shrink":p!==void 0&&Number(p),"flex-basis":(0,t.unit)(V),order:v,"align-self":S})},I))}return d}(),u=function(s){var i=s.className,h=B(s,y);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)([i,c(s)]),null,1,Object.assign({},f(h))))};u.defaultHooks=a.pureComponentHooks,l.Item=u},79646:function(T,r,n){"use strict";r.__esModule=!0,r.GridColumn=r.Grid=void 0;var e=n(89005),a=n(36352),t=n(35840),o=["children"],m=["size","style"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function b(k,C){if(k==null)return{};var l={};for(var c in k)if({}.hasOwnProperty.call(k,c)){if(C.includes(c))continue;l[c]=k[c]}return l}var y=r.Grid=function(){function k(C){var l=C.children,c=b(C,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:l})})))}return k}();y.defaultHooks=t.pureComponentHooks;var B=r.GridColumn=function(){function k(C){var l=C.size,c=l===void 0?1:l,m=C.style,d=b(C,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},m)},d)))}return k}();y.defaultHooks=t.pureComponentHooks,y.Column=B},1331:function(T,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],f=["className","style","children"];/**
+ */function b(k,C){if(k==null)return{};var l={};for(var c in k)if({}.hasOwnProperty.call(k,c)){if(C.includes(c))continue;l[c]=k[c]}return l}var y=r.Grid=function(){function k(C){var l=C.children,c=b(C,o);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table,Object.assign({},c,{children:(0,e.createComponentVNode)(2,a.Table.Row,{children:l})})))}return k}();y.defaultHooks=t.pureComponentHooks;var B=r.GridColumn=function(){function k(C){var l=C.size,c=l===void 0?1:l,f=C.style,u=b(C,m);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Table.Cell,Object.assign({style:Object.assign({width:c+"%"},f)},u)))}return k}();y.defaultHooks=t.pureComponentHooks,y.Column=B},1331:function(T,r,n){"use strict";r.__esModule=!0,r.IconStack=r.Icon=void 0;var e=n(89005),a=n(35840),t=n(55937),o=["name","size","spin","className","style","rotation","inverse"],m=["className","style","children"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function b(C,l){if(C==null)return{};var c={};for(var m in C)if({}.hasOwnProperty.call(C,m)){if(l.includes(m))continue;c[m]=C[m]}return c}var y=/-o$/,B=r.Icon=function(){function C(l){var c=l.name,m=l.size,d=l.spin,u=l.className,s=l.style,i=s===void 0?{}:s,h=l.rotation,N=l.inverse,v=b(l,o);m&&(i["font-size"]=m*100+"%"),typeof h=="number"&&(i.transform="rotate("+h+"deg)");var p=y.test(c),g=c.replace(y,"");return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"i",className:(0,a.classes)(["Icon",u,p?"far":"fas","fa-"+g,d&&"fa-spin"]),style:i},v)))}return C}();B.defaultHooks=a.pureComponentHooks;var k=r.IconStack=function(){function C(l){var c=l.className,m=l.style,d=m===void 0?{}:m,u=l.children,s=b(l,f);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({as:"span",class:(0,a.classes)(["IconStack",c]),style:d},s,{children:u})))}return C}();B.Stack=k},91225:function(T,r,n){"use strict";r.__esModule=!0,r.Image=void 0;var e=n(89005),a=n(55937),t=["fixBlur","fixErrors","objectFit","src"];function o(k,C){if(k==null)return{};var l={};for(var c in k)if({}.hasOwnProperty.call(k,c)){if(C.includes(c))continue;l[c]=k[c]}return l}function f(k,C){k.prototype=Object.create(C.prototype),k.prototype.constructor=k,b(k,C)}function b(k,C){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,c){return l.__proto__=c,l},b(k,C)}var y=5,B=r.Image=function(k){function C(){for(var c,m=arguments.length,d=new Array(m),u=0;u0&&(d.setState({suppressingFlicker:!0}),clearTimeout(d.flickerTimer),d.flickerTimer=setTimeout(function(){return d.setState({suppressingFlicker:!1})},s))},d.handleDragStart=function(s){var i=d.props.value,h=d.state.editing;h||(document.body.style["pointer-events"]="none",d.ref=s.target,d.setState({dragging:!1,origin:s.screenY,value:i,internalValue:i}),d.timer=setTimeout(function(){d.setState({dragging:!0})},250),d.dragInterval=setInterval(function(){var N=d.state,v=N.dragging,p=N.value,g=d.props.onDrag;v&&g&&g(s,p)},d.props.updateRate||B),document.addEventListener("mousemove",d.handleDragMove),document.addEventListener("mouseup",d.handleDragEnd))},d.handleDragMove=function(s){var i=d.props,h=i.minValue,N=i.maxValue,v=i.step,p=i.stepPixelSize;d.setState(function(g){var V=Object.assign({},g),S=V.origin-s.screenY;if(g.dragging){var I=Number.isFinite(h)?h%v:0;V.internalValue=(0,a.clamp)(V.internalValue+S*v/p,h-v,N+v),V.value=(0,a.clamp)(V.internalValue-V.internalValue%v+I,h,N),V.origin=s.screenY}else Math.abs(S)>4&&(V.dragging=!0);return V})},d.handleDragEnd=function(s){var i=d.props,h=i.onChange,N=i.onDrag,v=d.state,p=v.dragging,g=v.value,V=v.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(d.timer),clearInterval(d.dragInterval),d.setState({dragging:!1,editing:!p,origin:null}),document.removeEventListener("mousemove",d.handleDragMove),document.removeEventListener("mouseup",d.handleDragEnd),p)d.suppressFlicker(),h&&h(s,g),N&&N(s,g);else if(d.inputRef){var S=d.inputRef.current;S.value=V;try{S.focus(),S.select()}catch(I){}}},d}b(l,C);var c=l.prototype;return c.render=function(){function m(){var d=this,u=this.state,s=u.dragging,i=u.editing,h=u.value,N=u.suppressingFlicker,v=this.props,p=v.className,g=v.fluid,V=v.animated,S=v.value,I=v.unit,L=v.minValue,w=v.maxValue,A=v.height,x=v.width,E=v.lineHeight,M=v.fontSize,j=v.format,P=v.onChange,O=v.onDrag,D=S;(s||N)&&(D=h);var F=(0,e.createVNode)(1,"div","NumberInput__content",[V&&!s&&!N?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:D,format:j}):j?j(D):D,I?" "+I:""],0);return(0,e.createComponentVNode)(2,f.Box,{className:(0,t.classes)(["NumberInput",g&&"NumberInput--fluid",p]),minWidth:x,minHeight:A,lineHeight:E,fontSize:M,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((D-L)/(w-L)*100,0,100)+"%"}}),2),F,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?void 0:"none",height:A,"line-height":E,"font-size":M},onBlur:function(){function W(U){if(i){var $=(0,a.clamp)(parseFloat(U.target.value),L,w);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),P&&P(U,$),O&&O(U,$)}}return W}(),onKeyDown:function(){function W(U){if(U.keyCode===13){var $=(0,a.clamp)(parseFloat(U.target.value),L,w);if(Number.isNaN($)){d.setState({editing:!1});return}d.setState({editing:!1,value:$}),d.suppressFlicker(),P&&P(U,$),O&&O(U,$);return}if(U.keyCode===27){d.setState({editing:!1});return}}return W}()},null,this.inputRef)]})}return m}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(T,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(b,y){b.prototype=Object.create(y.prototype),b.prototype.constructor=b,o(b,y)}function o(b,y){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,k){return B.__proto__=k,B},o(b,y)}var f=r.Popper=function(b){function y(){var k;return k=b.call(this)||this,k.renderedContent=void 0,k.popperInstance=void 0,y.id+=1,k}t(y,b);var B=y.prototype;return B.componentDidMount=function(){function k(){var C=this,l=this.props,c=l.additionalStyles,m=l.options;if(this.renderedContent=document.createElement("div"),c)for(var d=0,u=Object.entries(c);d0&&(u.setState({suppressingFlicker:!0}),clearTimeout(u.flickerTimer),u.flickerTimer=setTimeout(function(){return u.setState({suppressingFlicker:!1})},s))},u.handleDragStart=function(s){var i=u.props.value,h=u.state.editing;h||(document.body.style["pointer-events"]="none",u.ref=s.target,u.setState({dragging:!1,origin:s.screenY,value:i,internalValue:i}),u.timer=setTimeout(function(){u.setState({dragging:!0})},250),u.dragInterval=setInterval(function(){var N=u.state,v=N.dragging,p=N.value,g=u.props.onDrag;v&&g&&g(s,p)},u.props.updateRate||B),document.addEventListener("mousemove",u.handleDragMove),document.addEventListener("mouseup",u.handleDragEnd))},u.handleDragMove=function(s){var i=u.props,h=i.minValue,N=i.maxValue,v=i.step,p=i.stepPixelSize;u.setState(function(g){var V=Object.assign({},g),S=V.origin-s.screenY;if(g.dragging){var I=Number.isFinite(h)?h%v:0;V.internalValue=(0,a.clamp)(V.internalValue+S*v/p,h-v,N+v),V.value=(0,a.clamp)(V.internalValue-V.internalValue%v+I,h,N),V.origin=s.screenY}else Math.abs(S)>4&&(V.dragging=!0);return V})},u.handleDragEnd=function(s){var i=u.props,h=i.onChange,N=i.onDrag,v=u.state,p=v.dragging,g=v.value,V=v.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(u.timer),clearInterval(u.dragInterval),u.setState({dragging:!1,editing:!p,origin:null}),document.removeEventListener("mousemove",u.handleDragMove),document.removeEventListener("mouseup",u.handleDragEnd),p)u.suppressFlicker(),h&&h(s,g),N&&N(s,g);else if(u.inputRef){var S=u.inputRef.current;S.value=V;try{S.focus(),S.select()}catch(I){}}},u}b(l,C);var c=l.prototype;return c.render=function(){function f(){var u=this,d=this.state,s=d.dragging,i=d.editing,h=d.value,N=d.suppressingFlicker,v=this.props,p=v.className,g=v.fluid,V=v.animated,S=v.value,I=v.unit,L=v.minValue,w=v.maxValue,A=v.height,x=v.width,E=v.lineHeight,M=v.fontSize,j=v.format,P=v.onChange,O=v.onDrag,D=S;(s||N)&&(D=h);var F=(0,e.createVNode)(1,"div","NumberInput__content",[V&&!s&&!N?(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:D,format:j}):j?j(D):D,I?" "+I:""],0);return(0,e.createComponentVNode)(2,m.Box,{className:(0,t.classes)(["NumberInput",g&&"NumberInput--fluid",p]),minWidth:x,minHeight:A,lineHeight:E,fontSize:M,onMouseDown:this.handleDragStart,children:[(0,e.createVNode)(1,"div","NumberInput__barContainer",(0,e.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,a.clamp)((D-L)/(w-L)*100,0,100)+"%"}}),2),F,(0,e.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?void 0:"none",height:A,"line-height":E,"font-size":M},onBlur:function(){function W(U){if(i){var $=(0,a.clamp)(parseFloat(U.target.value),L,w);if(Number.isNaN($)){u.setState({editing:!1});return}u.setState({editing:!1,value:$}),u.suppressFlicker(),P&&P(U,$),O&&O(U,$)}}return W}(),onKeyDown:function(){function W(U){if(U.keyCode===13){var $=(0,a.clamp)(parseFloat(U.target.value),L,w);if(Number.isNaN($)){u.setState({editing:!1});return}u.setState({editing:!1,value:$}),u.suppressFlicker(),P&&P(U,$),O&&O(U,$);return}if(U.keyCode===27){u.setState({editing:!1});return}}return W}()},null,this.inputRef)]})}return f}(),l}(e.Component);k.defaultHooks=t.pureComponentHooks,k.defaultProps={minValue:-1/0,maxValue:1/0,step:1,stepPixelSize:1,suppressFlicker:50}},50186:function(T,r,n){"use strict";r.__esModule=!0,r.Popper=void 0;var e=n(95996),a=n(89005);function t(b,y){b.prototype=Object.create(y.prototype),b.prototype.constructor=b,o(b,y)}function o(b,y){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(B,k){return B.__proto__=k,B},o(b,y)}var m=r.Popper=function(b){function y(){var k;return k=b.call(this)||this,k.renderedContent=void 0,k.popperInstance=void 0,y.id+=1,k}t(y,b);var B=y.prototype;return B.componentDidMount=function(){function k(){var C=this,l=this.props,c=l.additionalStyles,f=l.options;if(this.renderedContent=document.createElement("div"),c)for(var u=0,d=Object.entries(c);u=C.length)){var m=document.body.offsetHeight-c.getBoundingClientRect().bottom,d=Math.ceil(c.offsetHeight/l);if(m>0){var u=Math.min(C.length,l+Math.max(1,Math.ceil(m/d)));k.setState({visibleElements:u,padding:(C.length-u)*d})}}},k.containerRef=(0,e.createRef)(),k.state={visibleElements:1,padding:0},k}a(b,f);var y=b.prototype;return y.componentDidMount=function(){function B(){this.adjustExtents(),this.intervalId=setInterval(this.adjustExtents,100)}return B}(),y.componentWillUnmount=function(){function B(){clearInterval(this.intervalId)}return B}(),y.render=function(){function B(){var k=this.props.children,C=this.state,l=C.visibleElements,c=C.padding;return(0,e.createVNode)(1,"div","VirtualList",[(0,e.createVNode)(1,"div","VirtualList__Container",Array.isArray(k)?k.slice(0,l):null,0,null,null,this.containerRef),(0,e.createVNode)(1,"div","VirtualList__Padding",null,1,{style:{"padding-bottom":c+"px"}})],4)}return B}(),b}(e.Component)},36036:function(T,r,n){"use strict";r.__esModule=!0,r.Tooltip=r.TimeDisplay=r.TextArea=r.Tabs=r.Table=r.Stack=r.Slider=r.Section=r.RoundGauge=r.RestrictedInput=r.ProgressBar=r.Popper=r.NumberInput=r.NoticeBox=r.NanoMap=r.Modal=r.LabeledList=r.LabeledControls=r.Knob=r.Input=r.ImageButton=r.Image=r.Icon=r.Grid=r.Flex=r.Dropdown=r.DraggableControl=r.DmIcon=r.Divider=r.Dimmer=r.Countdown=r.ColorBox=r.Collapsible=r.Chart=r.ByondUi=r.Button=r.Box=r.BlockQuote=r.Blink=r.Autofocus=r.AnimatedNumber=void 0;var e=n(9474);r.AnimatedNumber=e.AnimatedNumber;var a=n(27185);r.Autofocus=a.Autofocus;var t=n(5814);r.Blink=t.Blink;var o=n(61773);r.BlockQuote=o.BlockQuote;var f=n(55937);r.Box=f.Box;var b=n(96184);r.Button=b.Button;var y=n(18982);r.ByondUi=y.ByondUi;var B=n(66820);r.Chart=B.Chart;var k=n(4796);r.Collapsible=k.Collapsible;var C=n(88894);r.ColorBox=C.ColorBox;var l=n(73379);r.Countdown=l.Countdown;var c=n(61940);r.Dimmer=c.Dimmer;var m=n(13605);r.Divider=m.Divider;var d=n(20342);r.DraggableControl=d.DraggableControl;var u=n(87099);r.Dropdown=u.Dropdown;var s=n(39473);r.Flex=s.Flex;var i=n(79646);r.Grid=i.Grid;var h=n(91225);r.Image=h.Image;var N=n(60218);r.DmIcon=N.DmIcon;var v=n(1331);r.Icon=v.Icon;var p=n(79825);r.ImageButton=p.ImageButton;var g=n(79652);r.Input=g.Input;var V=n(76334);r.Knob=V.Knob;var S=n(78621);r.LabeledControls=S.LabeledControls;var I=n(29319);r.LabeledList=I.LabeledList;var L=n(36077);r.Modal=L.Modal;var w=n(73280);r.NanoMap=w.NanoMap;var A=n(74733);r.NoticeBox=A.NoticeBox;var x=n(59263);r.NumberInput=x.NumberInput;var E=n(50186);r.Popper=E.Popper;var M=n(92704);r.ProgressBar=M.ProgressBar;var j=n(9075);r.RestrictedInput=j.RestrictedInput;var P=n(11441);r.RoundGauge=P.RoundGauge;var O=n(97079);r.Section=O.Section;var D=n(79911);r.Slider=D.Slider;var F=n(96690);r.Stack=F.Stack;var W=n(36352);r.Table=W.Table;var U=n(85138);r.Tabs=U.Tabs;var $=n(44868);r.TextArea=$.TextArea;var K=n(5169);r.TimeDisplay=K.TimeDisplay;var G=n(62147);r.Tooltip=G.Tooltip},76910:function(T,r){"use strict";r.__esModule=!0,r.timeAgo=r.getGasLabel=r.getGasColor=r.UI_UPDATE=r.UI_INTERACTIVE=r.UI_DISABLED=r.UI_CLOSE=r.RADIO_CHANNELS=r.CSS_COLORS=r.COLORS=void 0;var n=r.UI_INTERACTIVE=2,e=r.UI_UPDATE=1,a=r.UI_DISABLED=0,t=r.UI_CLOSE=-1,o=r.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},f=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],b=r.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"},{name:"VoxCom",freq:1220,color:"#952aa5"}],y=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],B=r.getGasLabel=function(){function l(c,m){var d=String(c).toLowerCase(),u=y.find(function(s){return s.id===d||s.name.toLowerCase()===d});return u&&u.label||m||c}return l}(),k=r.getGasColor=function(){function l(c){var m=String(c).toLowerCase(),d=y.find(function(u){return u.id===m||u.name.toLowerCase()===m});return d&&d.color}return l}(),C=r.timeAgo=function(){function l(c,m){if(c>m)return"in the future";c=c/10,m=m/10;var d=m-c;if(d>3600){var u=Math.round(d/3600);return u+" hour"+(u===1?"":"s")+" ago"}else if(d>60){var s=Math.round(d/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var i=Math.round(d);return i+" second"+(i===1?"":"s")+" ago"}return"just now"}return l}()},40944:function(T,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/**
+*/var l=r.TextArea=function(c){function f(d,s){var i;i=c.call(this,d,s)||this,i.textareaRef=d.innerRef||(0,e.createRef)(),i.fillerRef=(0,e.createRef)(),i.state={editing:!1};var h=d.dontUseTabForIndent,N=h===void 0?!1:h;return i.handleOnInput=function(v){var p=i.state.editing,g=i.props.onInput;p||i.setEditing(!0),g&&g(v,v.target.value)},i.handleOnChange=function(v){var p=i.state.editing,g=i.props.onChange;p&&i.setEditing(!1),g&&g(v,v.target.value)},i.handleKeyPress=function(v){var p=i.state.editing,g=i.props.onKeyPress;p||i.setEditing(!0),g&&g(v,v.target.value)},i.handleKeyDown=function(v){var p=i.state.editing,g=i.props,V=g.onChange,S=g.onInput,I=g.onEnter,L=g.onKeyDown;if(v.keyCode===m.KEY_ENTER){i.setEditing(!1),V&&V(v,v.target.value),S&&S(v,v.target.value),I&&I(v,v.target.value),i.props.selfClear&&(v.target.value="",v.target.blur());return}if(v.keyCode===m.KEY_ESCAPE){i.props.onEscape&&i.props.onEscape(v),i.setEditing(!1),i.props.selfClear?v.target.value="":(v.target.value=(0,o.toInputValue)(i.props.value),v.target.blur());return}if(p||i.setEditing(!0),L&&L(v,v.target.value),!N){var w=v.keyCode||v.which;if(w===m.KEY_TAB){v.preventDefault();var A=v.target,x=A.value,E=A.selectionStart,M=A.selectionEnd;v.target.value=x.substring(0,E)+" "+x.substring(M),v.target.selectionEnd=E+1}}},i.handleFocus=function(v){var p=i.state.editing;p||i.setEditing(!0)},i.handleBlur=function(v){var p=i.state.editing,g=i.props.onChange;p&&(i.setEditing(!1),g&&g(v,v.target.value))},i}k(f,c);var u=f.prototype;return u.componentDidMount=function(){function d(){var s=this,i=this.props.value,h=this.textareaRef.current;h&&(h.value=(0,o.toInputValue)(i)),(this.props.autoFocus||this.props.autoSelect)&&setTimeout(function(){h.focus(),s.props.autoSelect&&h.select()},1)}return d}(),u.componentDidUpdate=function(){function d(s,i){var h=s.value,N=this.props.value,v=this.textareaRef.current;v&&typeof N=="string"&&h!==N&&(v.value=(0,o.toInputValue)(N))}return d}(),u.setEditing=function(){function d(s){this.setState({editing:s})}return d}(),u.getValue=function(){function d(){return this.textareaRef.current&&this.textareaRef.current.value}return d}(),u.render=function(){function d(){var s=this.props,i=s.onChange,h=s.onKeyDown,N=s.onKeyPress,v=s.onInput,p=s.onFocus,g=s.onBlur,V=s.onEnter,S=s.value,I=s.maxLength,L=s.placeholder,w=B(s,b),A=w.className,x=w.fluid,E=B(w,y);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({className:(0,a.classes)(["TextArea",x&&"TextArea--fluid",A])},E,{children:(0,e.createVNode)(128,"textarea","TextArea__textarea",null,1,{placeholder:L,onChange:this.handleOnChange,onKeyDown:this.handleKeyDown,onKeyPress:this.handleKeyPress,onInput:this.handleOnInput,onFocus:this.handleFocus,onBlur:this.handleBlur,maxLength:I},null,this.textareaRef)})))}return d}(),f}(e.Component)},5169:function(T,r){"use strict";r.__esModule=!0,r.TimeDisplay=void 0;var n=function(t){(!t||t<0)&&(t=0);var o=Math.floor(t/60).toString(10),m=(Math.floor(t)%60).toString(10);return[o,m].map(function(b){return b.length<2?"0"+b:b}).join(":")},e=r.TimeDisplay=function(){function a(t){var o=t.totalSeconds,m=o===void 0?0:o;return n(m)}return a}()},62147:function(T,r,n){"use strict";r.__esModule=!0,r.Tooltip=void 0;var e=n(89005),a=n(95996),t;function o(k,C){k.prototype=Object.create(C.prototype),k.prototype.constructor=k,m(k,C)}function m(k,C){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(l,c){return l.__proto__=c,l},m(k,C)}var b={modifiers:[{name:"eventListeners",enabled:!1}]},y={width:0,height:0,top:0,right:0,bottom:0,left:0,x:0,y:0,toJSON:function(){function k(){return null}return k}()},B=r.Tooltip=function(k){function C(){return k.apply(this,arguments)||this}o(C,k);var l=C.prototype;return l.getDOMNode=function(){function c(){return(0,e.findDOMFromVNode)(this.$LI,!0)}return c}(),l.componentDidMount=function(){function c(){var f=this,u=this.getDOMNode();u&&(u.addEventListener("mouseenter",function(){var d=C.renderedTooltip;d===void 0&&(d=document.createElement("div"),d.className="Tooltip",document.body.appendChild(d),C.renderedTooltip=d),C.currentHoveredElement=u,d.style.opacity="1",f.renderPopperContent()}),u.addEventListener("mouseleave",function(){f.fadeOut()}))}return c}(),l.fadeOut=function(){function c(){C.currentHoveredElement===this.getDOMNode()&&(C.currentHoveredElement=void 0,C.renderedTooltip.style.opacity="0")}return c}(),l.renderPopperContent=function(){function c(){var f=this,u=C.renderedTooltip;u&&(0,e.render)((0,e.createVNode)(1,"span",null,this.props.content,0),u,function(){var d=C.singletonPopper;d===void 0?(d=(0,a.createPopper)(C.virtualElement,u,Object.assign({},b,{placement:f.props.position||"auto"})),C.singletonPopper=d):(d.setOptions(Object.assign({},b,{placement:f.props.position||"auto"})),d.update())},this.context)}return c}(),l.componentDidUpdate=function(){function c(){C.currentHoveredElement===this.getDOMNode()&&this.renderPopperContent()}return c}(),l.componentWillUnmount=function(){function c(){this.fadeOut()}return c}(),l.render=function(){function c(){return this.props.children}return c}(),C}(e.Component);t=B,B.renderedTooltip=void 0,B.singletonPopper=void 0,B.currentHoveredElement=void 0,B.virtualElement={getBoundingClientRect:function(){function k(){var C,l;return(C=(l=t.currentHoveredElement)==null?void 0:l.getBoundingClientRect())!=null?C:y}return k}()}},46095:function(T,r,n){"use strict";r.__esModule=!0,r.VirtualList=void 0;var e=n(89005);function a(m,b){m.prototype=Object.create(b.prototype),m.prototype.constructor=m,t(m,b)}function t(m,b){return t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(y,B){return y.__proto__=B,y},t(m,b)}var o=r.VirtualList=function(m){function b(B){var k;return k=m.call(this,B)||this,k.containerRef=void 0,k.intervalId=void 0,k.adjustExtents=function(){var C=k.props.children,l=k.state.visibleElements,c=k.containerRef.current;if(!(!C||!Array.isArray(C)||!c||l>=C.length)){var f=document.body.offsetHeight-c.getBoundingClientRect().bottom,u=Math.ceil(c.offsetHeight/l);if(f>0){var d=Math.min(C.length,l+Math.max(1,Math.ceil(f/u)));k.setState({visibleElements:d,padding:(C.length-d)*u})}}},k.containerRef=(0,e.createRef)(),k.state={visibleElements:1,padding:0},k}a(b,m);var y=b.prototype;return y.componentDidMount=function(){function B(){this.adjustExtents(),this.intervalId=setInterval(this.adjustExtents,100)}return B}(),y.componentWillUnmount=function(){function B(){clearInterval(this.intervalId)}return B}(),y.render=function(){function B(){var k=this.props.children,C=this.state,l=C.visibleElements,c=C.padding;return(0,e.createVNode)(1,"div","VirtualList",[(0,e.createVNode)(1,"div","VirtualList__Container",Array.isArray(k)?k.slice(0,l):null,0,null,null,this.containerRef),(0,e.createVNode)(1,"div","VirtualList__Padding",null,1,{style:{"padding-bottom":c+"px"}})],4)}return B}(),b}(e.Component)},36036:function(T,r,n){"use strict";r.__esModule=!0,r.Tooltip=r.TimeDisplay=r.TextArea=r.Tabs=r.Table=r.Stack=r.Slider=r.Section=r.RoundGauge=r.RestrictedInput=r.ProgressBar=r.Popper=r.NumberInput=r.NoticeBox=r.NanoMap=r.Modal=r.LabeledList=r.LabeledControls=r.Knob=r.Input=r.ImageButton=r.Image=r.Icon=r.Grid=r.Flex=r.Dropdown=r.DraggableControl=r.DmIcon=r.Divider=r.Dimmer=r.Countdown=r.ColorBox=r.Collapsible=r.Chart=r.ByondUi=r.Button=r.Box=r.BlockQuote=r.Blink=r.Autofocus=r.AnimatedNumber=void 0;var e=n(9474);r.AnimatedNumber=e.AnimatedNumber;var a=n(27185);r.Autofocus=a.Autofocus;var t=n(5814);r.Blink=t.Blink;var o=n(61773);r.BlockQuote=o.BlockQuote;var m=n(55937);r.Box=m.Box;var b=n(96184);r.Button=b.Button;var y=n(18982);r.ByondUi=y.ByondUi;var B=n(66820);r.Chart=B.Chart;var k=n(4796);r.Collapsible=k.Collapsible;var C=n(88894);r.ColorBox=C.ColorBox;var l=n(73379);r.Countdown=l.Countdown;var c=n(61940);r.Dimmer=c.Dimmer;var f=n(13605);r.Divider=f.Divider;var u=n(20342);r.DraggableControl=u.DraggableControl;var d=n(87099);r.Dropdown=d.Dropdown;var s=n(39473);r.Flex=s.Flex;var i=n(79646);r.Grid=i.Grid;var h=n(91225);r.Image=h.Image;var N=n(60218);r.DmIcon=N.DmIcon;var v=n(1331);r.Icon=v.Icon;var p=n(79825);r.ImageButton=p.ImageButton;var g=n(79652);r.Input=g.Input;var V=n(76334);r.Knob=V.Knob;var S=n(78621);r.LabeledControls=S.LabeledControls;var I=n(29319);r.LabeledList=I.LabeledList;var L=n(36077);r.Modal=L.Modal;var w=n(73280);r.NanoMap=w.NanoMap;var A=n(74733);r.NoticeBox=A.NoticeBox;var x=n(59263);r.NumberInput=x.NumberInput;var E=n(50186);r.Popper=E.Popper;var M=n(92704);r.ProgressBar=M.ProgressBar;var j=n(9075);r.RestrictedInput=j.RestrictedInput;var P=n(11441);r.RoundGauge=P.RoundGauge;var O=n(97079);r.Section=O.Section;var D=n(79911);r.Slider=D.Slider;var F=n(96690);r.Stack=F.Stack;var W=n(36352);r.Table=W.Table;var U=n(85138);r.Tabs=U.Tabs;var $=n(44868);r.TextArea=$.TextArea;var K=n(5169);r.TimeDisplay=K.TimeDisplay;var G=n(62147);r.Tooltip=G.Tooltip},76910:function(T,r){"use strict";r.__esModule=!0,r.timeAgo=r.getGasLabel=r.getGasColor=r.UI_UPDATE=r.UI_INTERACTIVE=r.UI_DISABLED=r.UI_CLOSE=r.RADIO_CHANNELS=r.CSS_COLORS=r.COLORS=void 0;var n=r.UI_INTERACTIVE=2,e=r.UI_UPDATE=1,a=r.UI_DISABLED=0,t=r.UI_CLOSE=-1,o=r.COLORS={department:{command:"#526aff",security:"#CF0000",medical:"#009190",science:"#993399",engineering:"#A66300",supply:"#9F8545",service:"#80A000",centcom:"#78789B",other:"#C38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}},m=r.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"],b=r.RADIO_CHANNELS=[{name:"Syndicate",freq:1213,color:"#a52a2a"},{name:"SyndTeam",freq:1244,color:"#a52a2a"},{name:"Red Team",freq:1215,color:"#ff4444"},{name:"Blue Team",freq:1217,color:"#3434fd"},{name:"Response Team",freq:1345,color:"#2681a5"},{name:"Special Ops",freq:1341,color:"#2681a5"},{name:"Supply",freq:1347,color:"#b88646"},{name:"Service",freq:1349,color:"#6ca729"},{name:"Science",freq:1351,color:"#c68cfa"},{name:"Command",freq:1353,color:"#5177ff"},{name:"Procedure",freq:1339,color:"#F70285"},{name:"Medical",freq:1355,color:"#57b8f0"},{name:"Medical(I)",freq:1485,color:"#57b8f0"},{name:"Engineering",freq:1357,color:"#f37746"},{name:"Security",freq:1359,color:"#dd3535"},{name:"Security(I)",freq:1475,color:"#dd3535"},{name:"AI Private",freq:1343,color:"#d65d95"},{name:"Common",freq:1459,color:"#1ecc43"},{name:"VoxCom",freq:1220,color:"#952aa5"}],y=[{id:"o2",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"co2",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"plasma",name:"Plasma",label:"Plasma",color:"pink"},{id:"water_vapor",name:"Water Vapor",label:"H\u2082O",color:"grey"},{id:"nob",name:"Hyper-noblium",label:"Hyper-nob",color:"teal"},{id:"n2o",name:"Nitrous Oxide",label:"N\u2082O",color:"red"},{id:"no2",name:"Nitryl",label:"NO\u2082",color:"brown"},{id:"tritium",name:"Tritium",label:"Tritium",color:"green"},{id:"bz",name:"BZ",label:"BZ",color:"purple"},{id:"stim",name:"Stimulum",label:"Stimulum",color:"purple"},{id:"pluox",name:"Pluoxium",label:"Pluoxium",color:"blue"},{id:"miasma",name:"Miasma",label:"Miasma",color:"olive"},{id:"hydrogen",name:"Hydrogen",label:"H\u2082",color:"white"},{id:"ab",name:"Agent B",label:"Agent B",color:"purple"}],B=r.getGasLabel=function(){function l(c,f){var u=String(c).toLowerCase(),d=y.find(function(s){return s.id===u||s.name.toLowerCase()===u});return d&&d.label||f||c}return l}(),k=r.getGasColor=function(){function l(c){var f=String(c).toLowerCase(),u=y.find(function(d){return d.id===f||d.name.toLowerCase()===f});return u&&u.color}return l}(),C=r.timeAgo=function(){function l(c,f){if(c>f)return"in the future";c=c/10,f=f/10;var u=f-c;if(u>3600){var d=Math.round(u/3600);return d+" hour"+(d===1?"":"s")+" ago"}else if(u>60){var s=Math.round(u/60);return s+" minute"+(s===1?"":"s")+" ago"}else{var i=Math.round(u);return i+" second"+(i===1?"":"s")+" ago"}return"just now"}return l}()},40944:function(T,r,n){"use strict";r.__esModule=!0,r.KitchenSink=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595);/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var f=n(4085),b=function(){return f.keys().map(function(k){return f(k)})},y=r.KitchenSink=function(){function B(k,C){var l=k.panel,c=(0,a.useLocalState)(C,"kitchenSinkTheme"),m=c[0],d=(0,a.useLocalState)(C,"pageIndex",0),u=d[0],s=d[1],i=b(),h=i[u],N=l?o.Pane:o.Window;return(0,e.createComponentVNode)(2,N,{title:"Kitchen Sink",width:600,height:500,theme:m,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:i.map(function(v,p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:p===u,onClick:function(){function g(){return s(p)}return g}(),children:v.meta.title},p)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,N.Content,{scrollable:!0,children:h.meta.render()})})]})})}return B}()},77384:function(T,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/**
+ */var m=n(4085),b=function(){return m.keys().map(function(k){return m(k)})},y=r.KitchenSink=function(){function B(k,C){var l=k.panel,c=(0,a.useLocalState)(C,"kitchenSinkTheme"),f=c[0],u=(0,a.useLocalState)(C,"pageIndex",0),d=u[0],s=u[1],i=b(),h=i[d],N=l?o.Pane:o.Window;return(0,e.createComponentVNode)(2,N,{title:"Kitchen Sink",width:600,height:500,theme:f,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{m:1,mr:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:!0,children:i.map(function(v,p){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{color:"transparent",selected:p===d,onClick:function(){function g(){return s(p)}return g}(),children:v.meta.title},p)})})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{position:"relative",grow:1,children:(0,e.createComponentVNode)(2,N.Content,{scrollable:!0,children:h.meta.render()})})]})})}return B}()},77384:function(T,r,n){"use strict";r.__esModule=!0,r.toggleKitchenSink=r.toggleDebugLayout=r.openExternalBrowser=void 0;var e=n(85307);/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
@@ -202,29 +202,29 @@
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var t=r.useDebug=function(){function o(f){return(0,e.useSelector)(f,a.selectDebug)}return o}()},99851:function(T,r,n){"use strict";r.__esModule=!0,r.useDebug=r.relayMiddleware=r.debugReducer=r.debugMiddleware=r.KitchenSink=void 0;var e=n(92731);r.useDebug=e.useDebug;var a=n(40944);r.KitchenSink=a.KitchenSink;var t=n(3583);r.debugMiddleware=t.debugMiddleware,r.relayMiddleware=t.relayMiddleware;var o=n(19147);r.debugReducer=o.debugReducer},3583:function(T,r,n){"use strict";r.__esModule=!0,r.relayMiddleware=r.debugMiddleware=void 0;var e=n(92986),a=n(24826),t=n(56518),o=n(77384);/**
+ */var t=r.useDebug=function(){function o(m){return(0,e.useSelector)(m,a.selectDebug)}return o}()},99851:function(T,r,n){"use strict";r.__esModule=!0,r.useDebug=r.relayMiddleware=r.debugReducer=r.debugMiddleware=r.KitchenSink=void 0;var e=n(92731);r.useDebug=e.useDebug;var a=n(40944);r.KitchenSink=a.KitchenSink;var t=n(3583);r.debugMiddleware=t.debugMiddleware,r.relayMiddleware=t.relayMiddleware;var o=n(19147);r.debugReducer=o.debugReducer},3583:function(T,r,n){"use strict";r.__esModule=!0,r.relayMiddleware=r.debugMiddleware=void 0;var e=n(92986),a=n(24826),t=n(56518),o=n(77384);/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var f=["backend/update","chat/message"],b=r.debugMiddleware=function(){function B(k){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(C){C.code===e.KEY_F11&&k.dispatch((0,o.toggleDebugLayout)()),C.code===e.KEY_F12&&k.dispatch((0,o.toggleKitchenSink)()),C.ctrl&&C.alt&&C.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(C){return function(l){return C(l)}}}return B}(),y=r.relayMiddleware=function(){function B(k){var C=n(7435),l=location.search==="?external";return l?C.subscribe(function(c){var m=c.type,d=c.payload;m==="relay"&&d.windowId===Byond.windowId&&k.dispatch(Object.assign({},d.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&k.dispatch((0,o.openExternalBrowser)())})),function(c){return function(m){var d=m.type,u=m.payload,s=m.relayed;if(d===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return f.includes(d)&&!s&&!l&&C.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:m}}),c(m)}}}return B}()},19147:function(T,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/**
+ */var m=["backend/update","chat/message"],b=r.debugMiddleware=function(){function B(k){return(0,t.acquireHotKey)(e.KEY_F11),(0,t.acquireHotKey)(e.KEY_F12),a.globalEvents.on("keydown",function(C){C.code===e.KEY_F11&&k.dispatch((0,o.toggleDebugLayout)()),C.code===e.KEY_F12&&k.dispatch((0,o.toggleKitchenSink)()),C.ctrl&&C.alt&&C.code===e.KEY_BACKSPACE&&setTimeout(function(){throw new Error("OOPSIE WOOPSIE!! UwU We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!")})}),function(C){return function(l){return C(l)}}}return B}(),y=r.relayMiddleware=function(){function B(k){var C=n(7435),l=location.search==="?external";return l?C.subscribe(function(c){var f=c.type,u=c.payload;f==="relay"&&u.windowId===Byond.windowId&&k.dispatch(Object.assign({},u.action,{relayed:!0}))}):((0,t.acquireHotKey)(e.KEY_F10),a.globalEvents.on("keydown",function(c){c===e.KEY_F10&&k.dispatch((0,o.openExternalBrowser)())})),function(c){return function(f){var u=f.type,d=f.payload,s=f.relayed;if(u===o.openExternalBrowser.type){window.open(location.href+"?external","_blank");return}return m.includes(u)&&!s&&!l&&C.sendMessage({type:"relay",payload:{windowId:Byond.windowId,action:f}}),c(f)}}}return B}()},19147:function(T,r){"use strict";r.__esModule=!0,r.debugReducer=void 0;/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var n=r.debugReducer=function(){function e(a,t){a===void 0&&(a={});var o=t.type,f=t.payload;return o==="debug/toggleKitchenSink"?Object.assign({},a,{kitchenSink:!a.kitchenSink}):o==="debug/toggleDebugLayout"?Object.assign({},a,{debugLayout:!a.debugLayout}):a}return e}()},27709:function(T,r){"use strict";r.__esModule=!0,r.selectDebug=void 0;/**
+ */var n=r.debugReducer=function(){function e(a,t){a===void 0&&(a={});var o=t.type,m=t.payload;return o==="debug/toggleKitchenSink"?Object.assign({},a,{kitchenSink:!a.kitchenSink}):o==="debug/toggleDebugLayout"?Object.assign({},a,{debugLayout:!a.debugLayout}):a}return e}()},27709:function(T,r){"use strict";r.__esModule=!0,r.selectDebug=void 0;/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(T,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var D,F={},W=Object.prototype,U=W.hasOwnProperty,$=Object.defineProperty||function(ye,de,Ce){ye[de]=Ce.value},K=typeof Symbol=="function"?Symbol:{},G=K.iterator||"@@iterator",Q=K.asyncIterator||"@@asyncIterator",J=K.toStringTag||"@@toStringTag";function ue(ye,de,Ce){return Object.defineProperty(ye,de,{value:Ce,enumerable:!0,configurable:!0,writable:!0}),ye[de]}try{ue({},"")}catch(ye){ue=function(Ce,ke,ge){return Ce[ke]=ge}}function ie(ye,de,Ce,ke){var ge=de&&de.prototype instanceof re?de:re,Se=Object.create(ge.prototype),Pe=new Re(ke||[]);return $(Se,"_invoke",{value:be(ye,Ce,Pe)}),Se}function he(ye,de,Ce){try{return{type:"normal",arg:ye.call(de,Ce)}}catch(ke){return{type:"throw",arg:ke}}}F.wrap=ie;var te="suspendedStart",q="suspendedYield",ne="executing",le="completed",ee={};function re(){}function oe(){}function fe(){}var me={};ue(me,G,function(){return this});var Y=Object.getPrototypeOf,ve=Y&&Y(Y(ze([])));ve&&ve!==W&&U.call(ve,G)&&(me=ve);var pe=fe.prototype=re.prototype=Object.create(me);function Ve(ye){["next","throw","return"].forEach(function(de){ue(ye,de,function(Ce){return this._invoke(de,Ce)})})}function Be(ye,de){function Ce(ge,Se,Pe,je){var Fe=he(ye[ge],ye,Se);if(Fe.type!=="throw"){var He=Fe.arg,We=He.value;return We&&typeof We=="object"&&U.call(We,"__await")?de.resolve(We.__await).then(function(Ue){Ce("next",Ue,Pe,je)},function(Ue){Ce("throw",Ue,Pe,je)}):de.resolve(We).then(function(Ue){He.value=Ue,Pe(He)},function(Ue){return Ce("throw",Ue,Pe,je)})}je(Fe.arg)}var ke;$(this,"_invoke",{value:function(){function ge(Se,Pe){function je(){return new de(function(Fe,He){Ce(Se,Pe,Fe,He)})}return ke=ke?ke.then(je,je):je()}return ge}()})}function be(ye,de,Ce){var ke=te;return function(ge,Se){if(ke===ne)throw Error("Generator is already running");if(ke===le){if(ge==="throw")throw Se;return{value:D,done:!0}}for(Ce.method=ge,Ce.arg=Se;;){var Pe=Ce.delegate;if(Pe){var je=Le(Pe,Ce);if(je){if(je===ee)continue;return je}}if(Ce.method==="next")Ce.sent=Ce._sent=Ce.arg;else if(Ce.method==="throw"){if(ke===te)throw ke=le,Ce.arg;Ce.dispatchException(Ce.arg)}else Ce.method==="return"&&Ce.abrupt("return",Ce.arg);ke=ne;var Fe=he(ye,de,Ce);if(Fe.type==="normal"){if(ke=Ce.done?le:q,Fe.arg===ee)continue;return{value:Fe.arg,done:Ce.done}}Fe.type==="throw"&&(ke=le,Ce.method="throw",Ce.arg=Fe.arg)}}}function Le(ye,de){var Ce=de.method,ke=ye.iterator[Ce];if(ke===D)return de.delegate=null,Ce==="throw"&&ye.iterator.return&&(de.method="return",de.arg=D,Le(ye,de),de.method==="throw")||Ce!=="return"&&(de.method="throw",de.arg=new TypeError("The iterator does not provide a '"+Ce+"' method")),ee;var ge=he(ke,ye.iterator,de.arg);if(ge.type==="throw")return de.method="throw",de.arg=ge.arg,de.delegate=null,ee;var Se=ge.arg;return Se?Se.done?(de[ye.resultName]=Se.value,de.next=ye.nextLoc,de.method!=="return"&&(de.method="next",de.arg=D),de.delegate=null,ee):Se:(de.method="throw",de.arg=new TypeError("iterator result is not an object"),de.delegate=null,ee)}function we(ye){var de={tryLoc:ye[0]};1 in ye&&(de.catchLoc=ye[1]),2 in ye&&(de.finallyLoc=ye[2],de.afterLoc=ye[3]),this.tryEntries.push(de)}function xe(ye){var de=ye.completion||{};de.type="normal",delete de.arg,ye.completion=de}function Re(ye){this.tryEntries=[{tryLoc:"root"}],ye.forEach(we,this),this.reset(!0)}function ze(ye){if(ye||ye===""){var de=ye[G];if(de)return de.call(ye);if(typeof ye.next=="function")return ye;if(!isNaN(ye.length)){var Ce=-1,ke=function(){function ge(){for(;++Ce=0;--ge){var Se=this.tryEntries[ge],Pe=Se.completion;if(Se.tryLoc==="root")return ke("end");if(Se.tryLoc<=this.prev){var je=U.call(Se,"catchLoc"),Fe=U.call(Se,"finallyLoc");if(je&&Fe){if(this.prev=0;--ke){var ge=this.tryEntries[ke];if(ge.tryLoc<=this.prev&&U.call(ge,"finallyLoc")&&this.prev=0;--Ce){var ke=this.tryEntries[Ce];if(ke.finallyLoc===de)return this.complete(ke.completion,ke.afterLoc),xe(ke),ee}}return ye}(),catch:function(){function ye(de){for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var ke=this.tryEntries[Ce];if(ke.tryLoc===de){var ge=ke.completion;if(ge.type==="throw"){var Se=ge.arg;xe(ke)}return Se}}throw Error("illegal catch attempt")}return ye}(),delegateYield:function(){function ye(de,Ce,ke){return this.delegate={iterator:ze(de),resultName:Ce,nextLoc:ke},this.method==="next"&&(this.arg=D),ee}return ye}()},F}function f(D,F,W,U,$,K,G){try{var Q=D[K](G),J=Q.value}catch(ue){return void W(ue)}Q.done?F(J):Promise.resolve(J).then(U,$)}function b(D){return function(){var F=this,W=arguments;return new Promise(function(U,$){var K=D.apply(F,W);function G(J){f(K,U,$,G,Q,"next",J)}function Q(J){f(K,U,$,G,Q,"throw",J)}G(void 0)})}}/**
+ */var n=r.selectDebug=function(){function e(a){return a.debug}return e}()},35421:function(T,r,n){"use strict";r.__esModule=!0,r.storeWindowGeometry=r.setupDrag=r.setWindowSize=r.setWindowPosition=r.setWindowKey=r.resizeStartHandler=r.recallWindowGeometry=r.getWindowSize=r.getWindowPosition=r.getScreenSize=r.getScreenPosition=r.dragStartHandler=void 0;var e=n(27108),a=n(97450),t=n(9394);function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */o=function(){return F};var D,F={},W=Object.prototype,U=W.hasOwnProperty,$=Object.defineProperty||function(ye,de,Ce){ye[de]=Ce.value},K=typeof Symbol=="function"?Symbol:{},G=K.iterator||"@@iterator",Q=K.asyncIterator||"@@asyncIterator",J=K.toStringTag||"@@toStringTag";function ue(ye,de,Ce){return Object.defineProperty(ye,de,{value:Ce,enumerable:!0,configurable:!0,writable:!0}),ye[de]}try{ue({},"")}catch(ye){ue=function(Ce,ke,ge){return Ce[ke]=ge}}function ie(ye,de,Ce,ke){var ge=de&&de.prototype instanceof re?de:re,Se=Object.create(ge.prototype),Pe=new Re(ke||[]);return $(Se,"_invoke",{value:be(ye,Ce,Pe)}),Se}function he(ye,de,Ce){try{return{type:"normal",arg:ye.call(de,Ce)}}catch(ke){return{type:"throw",arg:ke}}}F.wrap=ie;var te="suspendedStart",q="suspendedYield",ne="executing",le="completed",ee={};function re(){}function oe(){}function fe(){}var me={};ue(me,G,function(){return this});var Y=Object.getPrototypeOf,ve=Y&&Y(Y(ze([])));ve&&ve!==W&&U.call(ve,G)&&(me=ve);var pe=fe.prototype=re.prototype=Object.create(me);function Ve(ye){["next","throw","return"].forEach(function(de){ue(ye,de,function(Ce){return this._invoke(de,Ce)})})}function Be(ye,de){function Ce(ge,Se,Pe,je){var Fe=he(ye[ge],ye,Se);if(Fe.type!=="throw"){var He=Fe.arg,We=He.value;return We&&typeof We=="object"&&U.call(We,"__await")?de.resolve(We.__await).then(function(Ue){Ce("next",Ue,Pe,je)},function(Ue){Ce("throw",Ue,Pe,je)}):de.resolve(We).then(function(Ue){He.value=Ue,Pe(He)},function(Ue){return Ce("throw",Ue,Pe,je)})}je(Fe.arg)}var ke;$(this,"_invoke",{value:function(){function ge(Se,Pe){function je(){return new de(function(Fe,He){Ce(Se,Pe,Fe,He)})}return ke=ke?ke.then(je,je):je()}return ge}()})}function be(ye,de,Ce){var ke=te;return function(ge,Se){if(ke===ne)throw Error("Generator is already running");if(ke===le){if(ge==="throw")throw Se;return{value:D,done:!0}}for(Ce.method=ge,Ce.arg=Se;;){var Pe=Ce.delegate;if(Pe){var je=Le(Pe,Ce);if(je){if(je===ee)continue;return je}}if(Ce.method==="next")Ce.sent=Ce._sent=Ce.arg;else if(Ce.method==="throw"){if(ke===te)throw ke=le,Ce.arg;Ce.dispatchException(Ce.arg)}else Ce.method==="return"&&Ce.abrupt("return",Ce.arg);ke=ne;var Fe=he(ye,de,Ce);if(Fe.type==="normal"){if(ke=Ce.done?le:q,Fe.arg===ee)continue;return{value:Fe.arg,done:Ce.done}}Fe.type==="throw"&&(ke=le,Ce.method="throw",Ce.arg=Fe.arg)}}}function Le(ye,de){var Ce=de.method,ke=ye.iterator[Ce];if(ke===D)return de.delegate=null,Ce==="throw"&&ye.iterator.return&&(de.method="return",de.arg=D,Le(ye,de),de.method==="throw")||Ce!=="return"&&(de.method="throw",de.arg=new TypeError("The iterator does not provide a '"+Ce+"' method")),ee;var ge=he(ke,ye.iterator,de.arg);if(ge.type==="throw")return de.method="throw",de.arg=ge.arg,de.delegate=null,ee;var Se=ge.arg;return Se?Se.done?(de[ye.resultName]=Se.value,de.next=ye.nextLoc,de.method!=="return"&&(de.method="next",de.arg=D),de.delegate=null,ee):Se:(de.method="throw",de.arg=new TypeError("iterator result is not an object"),de.delegate=null,ee)}function we(ye){var de={tryLoc:ye[0]};1 in ye&&(de.catchLoc=ye[1]),2 in ye&&(de.finallyLoc=ye[2],de.afterLoc=ye[3]),this.tryEntries.push(de)}function xe(ye){var de=ye.completion||{};de.type="normal",delete de.arg,ye.completion=de}function Re(ye){this.tryEntries=[{tryLoc:"root"}],ye.forEach(we,this),this.reset(!0)}function ze(ye){if(ye||ye===""){var de=ye[G];if(de)return de.call(ye);if(typeof ye.next=="function")return ye;if(!isNaN(ye.length)){var Ce=-1,ke=function(){function ge(){for(;++Ce=0;--ge){var Se=this.tryEntries[ge],Pe=Se.completion;if(Se.tryLoc==="root")return ke("end");if(Se.tryLoc<=this.prev){var je=U.call(Se,"catchLoc"),Fe=U.call(Se,"finallyLoc");if(je&&Fe){if(this.prev=0;--ke){var ge=this.tryEntries[ke];if(ge.tryLoc<=this.prev&&U.call(ge,"finallyLoc")&&this.prev=0;--Ce){var ke=this.tryEntries[Ce];if(ke.finallyLoc===de)return this.complete(ke.completion,ke.afterLoc),xe(ke),ee}}return ye}(),catch:function(){function ye(de){for(var Ce=this.tryEntries.length-1;Ce>=0;--Ce){var ke=this.tryEntries[Ce];if(ke.tryLoc===de){var ge=ke.completion;if(ge.type==="throw"){var Se=ge.arg;xe(ke)}return Se}}throw Error("illegal catch attempt")}return ye}(),delegateYield:function(){function ye(de,Ce,ke){return this.delegate={iterator:ze(de),resultName:Ce,nextLoc:ke},this.method==="next"&&(this.arg=D),ee}return ye}()},F}function m(D,F,W,U,$,K,G){try{var Q=D[K](G),J=Q.value}catch(ue){return void W(ue)}Q.done?F(J):Promise.resolve(J).then(U,$)}function b(D){return function(){var F=this,W=arguments;return new Promise(function(U,$){var K=D.apply(F,W);function G(J){m(K,U,$,G,Q,"next",J)}function Q(J){m(K,U,$,G,Q,"throw",J)}G(void 0)})}}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
-*/var y=(0,t.createLogger)("drag"),B=Byond.windowId,k=!1,C=!1,l=[0,0],c,m,d,u,s,i=r.setWindowKey=function(){function D(F){B=F}return D}(),h=r.getWindowPosition=function(){function D(){return[window.screenLeft,window.screenTop]}return D}(),N=r.getWindowSize=function(){function D(){return[window.innerWidth,window.innerHeight]}return D}(),v=r.setWindowPosition=function(){function D(F){var W=(0,a.vecAdd)(F,l);return Byond.winset(Byond.windowId,{pos:W[0]+","+W[1]})}return D}(),p=r.setWindowSize=function(){function D(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return D}(),g=r.getScreenPosition=function(){function D(){return[0-l[0],0-l[1]]}return D}(),V=r.getScreenSize=function(){function D(){return[window.screen.availWidth,window.screen.availHeight]}return D}(),S=function(F,W,U){U===void 0&&(U=50);for(var $=[W],K,G=0;Gue&&(K[Q]=ue-W[Q],G=!0)}return[G,K]},x=r.dragStartHandler=function(){function D(F){y.log("drag start"),k=!0,m=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(F)}return D}(),E=function D(F){y.log("drag end"),M(F),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",D),k=!1,I()},M=function(F){k&&(F.preventDefault(),v((0,a.vecAdd)([F.screenX,F.screenY],m)))},j=r.resizeStartHandler=function(){function D(F,W){return function(U){d=[F,W],y.log("resize start",d),C=!0,m=[window.screenLeft-U.screenX,window.screenTop-U.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",O),document.addEventListener("mouseup",P),O(U)}}return D}(),P=function D(F){y.log("resize end",s),O(F),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",D),C=!1,I()},O=function(F){C&&(F.preventDefault(),s=(0,a.vecAdd)(u,(0,a.vecMultiply)(d,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),m,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),p(s))}},24826:function(T,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/**
+*/var y=(0,t.createLogger)("drag"),B=Byond.windowId,k=!1,C=!1,l=[0,0],c,f,u,d,s,i=r.setWindowKey=function(){function D(F){B=F}return D}(),h=r.getWindowPosition=function(){function D(){return[window.screenLeft,window.screenTop]}return D}(),N=r.getWindowSize=function(){function D(){return[window.innerWidth,window.innerHeight]}return D}(),v=r.setWindowPosition=function(){function D(F){var W=(0,a.vecAdd)(F,l);return Byond.winset(Byond.windowId,{pos:W[0]+","+W[1]})}return D}(),p=r.setWindowSize=function(){function D(F){return Byond.winset(Byond.windowId,{size:F[0]+"x"+F[1]})}return D}(),g=r.getScreenPosition=function(){function D(){return[0-l[0],0-l[1]]}return D}(),V=r.getScreenSize=function(){function D(){return[window.screen.availWidth,window.screen.availHeight]}return D}(),S=function(F,W,U){U===void 0&&(U=50);for(var $=[W],K,G=0;Gue&&(K[Q]=ue-W[Q],G=!0)}return[G,K]},x=r.dragStartHandler=function(){function D(F){y.log("drag start"),k=!0,f=[window.screenLeft-F.screenX,window.screenTop-F.screenY],document.addEventListener("mousemove",M),document.addEventListener("mouseup",E),M(F)}return D}(),E=function D(F){y.log("drag end"),M(F),document.removeEventListener("mousemove",M),document.removeEventListener("mouseup",D),k=!1,I()},M=function(F){k&&(F.preventDefault(),v((0,a.vecAdd)([F.screenX,F.screenY],f)))},j=r.resizeStartHandler=function(){function D(F,W){return function(U){u=[F,W],y.log("resize start",u),C=!0,f=[window.screenLeft-U.screenX,window.screenTop-U.screenY],d=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",O),document.addEventListener("mouseup",P),O(U)}}return D}(),P=function D(F){y.log("resize end",s),O(F),document.removeEventListener("mousemove",O),document.removeEventListener("mouseup",D),C=!1,I()},O=function(F){C&&(F.preventDefault(),s=(0,a.vecAdd)(d,(0,a.vecMultiply)(u,(0,a.vecAdd)([F.screenX,F.screenY],(0,a.vecInverse)([window.screenLeft,window.screenTop]),f,[1,1]))),s[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),p(s))}},24826:function(T,r,n){"use strict";r.__esModule=!0,r.setupGlobalEvents=r.removeScrollableNode=r.globalEvents=r.canStealFocus=r.addScrollableNode=r.KeyEvent=void 0;var e=n(92868),a=n(92986);/**
* Normalized browser focus events and BYOND-specific focus helpers.
*
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var t=r.globalEvents=new e.EventEmitter,o=!1,f=r.setupGlobalEvents=function(){function p(g){g===void 0&&(g={}),o=!!g.ignoreWindowFocus}return p}(),b,y=!0,B=function p(g,V){if(o){y=!0;return}if(b&&(clearTimeout(b),b=null),V){b=setTimeout(function(){return p(g)});return}y!==g&&(y=g,t.emit(g?"window-focus":"window-blur"),t.emit("window-focus-change",g))},k=null,C=r.canStealFocus=function(){function p(g){var V=String(g.tagName).toLowerCase();return V==="input"||V==="textarea"}return p}(),l=function(g){c(),k=g,k.addEventListener("blur",c)},c=function p(){k&&(k.removeEventListener("blur",p),k=null)},m=null,d=null,u=[],s=r.addScrollableNode=function(){function p(g){u.push(g)}return p}(),i=r.removeScrollableNode=function(){function p(g){var V=u.indexOf(g);V>=0&&u.splice(V,1)}return p}(),h=function(g){if(!(k||!y))for(var V=document.body;g&&g!==V;){if(u.includes(g)){if(g.contains(m))return;m=g,g.focus();return}g=g.parentNode}};window.addEventListener("mousemove",function(p){var g=p.target;g!==d&&(d=g,h(g))}),window.addEventListener("focusin",function(p){if(d=null,m=p.target,B(!0),C(p.target)){l(p.target);return}}),window.addEventListener("focusout",function(p){d=null,B(!1,!0)}),window.addEventListener("blur",function(p){d=null,B(!1,!0)}),window.addEventListener("beforeunload",function(p){B(!1)});var N={},v=r.KeyEvent=function(){function p(V,S,I){this.event=V,this.type=S,this.code=window.event?V.which:V.keyCode,this.ctrl=V.ctrlKey,this.shift=V.shiftKey,this.alt=V.altKey,this.repeat=!!I}var g=p.prototype;return g.hasModifierKeys=function(){function V(){return this.ctrl||this.alt||this.shift}return V}(),g.isModifierKey=function(){function V(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return V}(),g.isDown=function(){function V(){return this.type==="keydown"}return V}(),g.isUp=function(){function V(){return this.type==="keyup"}return V}(),g.toString=function(){function V(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return V}(),p}();document.addEventListener("keydown",function(p){if(!C(p.target)){var g=p.keyCode,V=new v(p,"keydown",N[g]);t.emit("keydown",V),t.emit("key",V),N[g]=!0}}),document.addEventListener("keyup",function(p){if(!C(p.target)){var g=p.keyCode,V=new v(p,"keyup");t.emit("keyup",V),t.emit("key",V),N[g]=!1}})},87695:function(T,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/**
+ */var t=r.globalEvents=new e.EventEmitter,o=!1,m=r.setupGlobalEvents=function(){function p(g){g===void 0&&(g={}),o=!!g.ignoreWindowFocus}return p}(),b,y=!0,B=function p(g,V){if(o){y=!0;return}if(b&&(clearTimeout(b),b=null),V){b=setTimeout(function(){return p(g)});return}y!==g&&(y=g,t.emit(g?"window-focus":"window-blur"),t.emit("window-focus-change",g))},k=null,C=r.canStealFocus=function(){function p(g){var V=String(g.tagName).toLowerCase();return V==="input"||V==="textarea"}return p}(),l=function(g){c(),k=g,k.addEventListener("blur",c)},c=function p(){k&&(k.removeEventListener("blur",p),k=null)},f=null,u=null,d=[],s=r.addScrollableNode=function(){function p(g){d.push(g)}return p}(),i=r.removeScrollableNode=function(){function p(g){var V=d.indexOf(g);V>=0&&d.splice(V,1)}return p}(),h=function(g){if(!(k||!y))for(var V=document.body;g&&g!==V;){if(d.includes(g)){if(g.contains(f))return;f=g,g.focus();return}g=g.parentNode}};window.addEventListener("mousemove",function(p){var g=p.target;g!==u&&(u=g,h(g))}),window.addEventListener("focusin",function(p){if(u=null,f=p.target,B(!0),C(p.target)){l(p.target);return}}),window.addEventListener("focusout",function(p){u=null,B(!1,!0)}),window.addEventListener("blur",function(p){u=null,B(!1,!0)}),window.addEventListener("beforeunload",function(p){B(!1)});var N={},v=r.KeyEvent=function(){function p(V,S,I){this.event=V,this.type=S,this.code=window.event?V.which:V.keyCode,this.ctrl=V.ctrlKey,this.shift=V.shiftKey,this.alt=V.altKey,this.repeat=!!I}var g=p.prototype;return g.hasModifierKeys=function(){function V(){return this.ctrl||this.alt||this.shift}return V}(),g.isModifierKey=function(){function V(){return this.code===a.KEY_CTRL||this.code===a.KEY_SHIFT||this.code===a.KEY_ALT}return V}(),g.isDown=function(){function V(){return this.type==="keydown"}return V}(),g.isUp=function(){function V(){return this.type==="keyup"}return V}(),g.toString=function(){function V(){return this._str?this._str:(this._str="",this.ctrl&&(this._str+="Ctrl+"),this.alt&&(this._str+="Alt+"),this.shift&&(this._str+="Shift+"),this.code>=48&&this.code<=90?this._str+=String.fromCharCode(this.code):this.code>=a.KEY_F1&&this.code<=a.KEY_F12?this._str+="F"+(this.code-111):this._str+="["+this.code+"]",this._str)}return V}(),p}();document.addEventListener("keydown",function(p){if(!C(p.target)){var g=p.keyCode,V=new v(p,"keydown",N[g]);t.emit("keydown",V),t.emit("key",V),N[g]=!0}}),document.addEventListener("keyup",function(p){if(!C(p.target)){var g=p.keyCode,V=new v(p,"keyup");t.emit("keyup",V),t.emit("key",V),N[g]=!1}})},87695:function(T,r){"use strict";r.__esModule=!0,r.focusWindow=r.focusMap=void 0;/**
* Various focus helpers.
*
* @file
@@ -234,108 +234,108 @@
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function B(k,C,l){if(C===void 0&&(C=-t),l===void 0&&(l=""),typeof k!="number"||!Number.isFinite(k))return k;var c=Math.floor(Math.log10(k)),m=Math.floor(Math.max(C*3,c)),d=Math.floor(c/3),u=Math.floor(m/3),s=(0,e.clamp)(t+u,0,a.length),i=a[s],h=k/Math.pow(1e3,u),N=d>C?2+u*3-m:0,v=(0,e.toFixed)(h,N)+" "+i+l;return v.trim()}return B}(),f=r.formatPower=function(){function B(k,C){return C===void 0&&(C=0),o(k,C,"W")}return B}(),b=r.formatMoney=function(){function B(k,C){if(C===void 0&&(C=0),!Number.isFinite(k))return k;var l=(0,e.round)(k,C);C>0&&(l=(0,e.toFixed)(k,C)),l=String(l);var c=l.length,m=l.indexOf(".");m===-1&&(m=c);for(var d="",u=0;u0&&u=0?"+":C<0?"\u2013":"",c=Math.abs(C);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),l+c+" dB"}return B}()},56518:function(T,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=f(n(92986)),a=n(24826),t=n(9394);function o(s){if(typeof WeakMap!="function")return null;var i=new WeakMap,h=new WeakMap;return(o=function(v){return v?h:i})(s)}function f(s,i){if(!i&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var h=o(i);if(h&&h.has(s))return h.get(s);var N={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&{}.hasOwnProperty.call(s,p)){var g=v?Object.getOwnPropertyDescriptor(s,p):null;g&&(g.get||g.set)?Object.defineProperty(N,p,g):N[p]=s[p]}return N.default=s,h&&h.set(s,N),N}/**
+ */var a=["f","p","n","\u03BC","m"," ","k","M","G","T","P","E","Z","Y"],t=a.indexOf(" "),o=r.formatSiUnit=function(){function B(k,C,l){if(C===void 0&&(C=-t),l===void 0&&(l=""),typeof k!="number"||!Number.isFinite(k))return k;var c=Math.floor(Math.log10(k)),f=Math.floor(Math.max(C*3,c)),u=Math.floor(c/3),d=Math.floor(f/3),s=(0,e.clamp)(t+d,0,a.length),i=a[s],h=k/Math.pow(1e3,d),N=u>C?2+d*3-f:0,v=(0,e.toFixed)(h,N)+" "+i+l;return v.trim()}return B}(),m=r.formatPower=function(){function B(k,C){return C===void 0&&(C=0),o(k,C,"W")}return B}(),b=r.formatMoney=function(){function B(k,C){if(C===void 0&&(C=0),!Number.isFinite(k))return k;var l=(0,e.round)(k,C);C>0&&(l=(0,e.toFixed)(k,C)),l=String(l);var c=l.length,f=l.indexOf(".");f===-1&&(f=c);for(var u="",d=0;d0&&d=0?"+":C<0?"\u2013":"",c=Math.abs(C);return c===1/0?c="Inf":c=(0,e.toFixed)(c,2),l+c+" dB"}return B}()},56518:function(T,r,n){"use strict";r.__esModule=!0,r.setupHotKeys=r.releaseHotKey=r.releaseHeldKeys=r.acquireHotKey=void 0;var e=m(n(92986)),a=n(24826),t=n(9394);function o(s){if(typeof WeakMap!="function")return null;var i=new WeakMap,h=new WeakMap;return(o=function(v){return v?h:i})(s)}function m(s,i){if(!i&&s&&s.__esModule)return s;if(s===null||typeof s!="object"&&typeof s!="function")return{default:s};var h=o(i);if(h&&h.has(s))return h.get(s);var N={__proto__:null},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in s)if(p!=="default"&&{}.hasOwnProperty.call(s,p)){var g=v?Object.getOwnPropertyDescriptor(s,p):null;g&&(g.get||g.set)?Object.defineProperty(N,p,g):N[p]=s[p]}return N.default=s,h&&h.set(s,N),N}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var b=(0,t.createLogger)("hotkeys"),y={},B=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},C=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},l=function(i){var h=String(i);if(h==="Ctrl+F5"||h==="Ctrl+R"){location.reload();return}if(h!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||B.includes(i.code))){h==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var N=C(i.code);if(N){var v=y[N];if(v)return b.debug("macro",v),Byond.command(v);if(i.isDown()&&!k[N]){k[N]=!0;var p='Key_Down "'+N+'"';return b.debug(p),Byond.command(p)}if(i.isUp()&&k[N]){k[N]=!1;var g='Key_Up "'+N+'"';return b.debug(g),Byond.command(g)}}}},c=r.acquireHotKey=function(){function s(i){B.push(i)}return s}(),m=r.releaseHotKey=function(){function s(i){var h=B.indexOf(i);h>=0&&B.splice(h,1)}return s}(),d=r.releaseHeldKeys=function(){function s(){for(var i=0,h=Object.keys(k);i0||(0,a.fetchRetry)((0,e.resolveAsset)("icon_ref_map.json")).then(function(b){return b.json()}).then(function(b){return Byond.iconRefMap=b}).catch(function(b){return t.logger.log(b)})}return f}()},1090:function(T,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AICard=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var c=null;return l.integrity>=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(m,d){return(0,e.createComponentVNode)(2,t.Box,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function m(){return C("wireless")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function m(){return C("radio")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function m(){return C("wipe")}return m}()})})]})})})]})})})}return b}()},39454:function(T,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AIFixer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var m=null;l.integrity>=75?m="green":l.integrity>=25?m="yellow":m="red";var d=!0;return l.integrity>=100&&l.stat!==2&&(d=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:m,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(u,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:u},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function u(){return C("wireless")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function u(){return C("radio")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!d||l.active,content:!d||l.active?"Already Repaired":"Repair",onClick:function(){function u(){return C("fix")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return b}()},88422:function(T,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),b=r.APC=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return C}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},B={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.locked&&!u.siliconUser,i=u.normallyLocked,h=y[u.externalPower]||y[0],N=y[u.chargingStatus]||y[0],v=u.powerChannels||[],p=B[u.malfStatus]||B[0],g=u.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:h.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.isOperating?"power-off":"times",content:u.isOperating?"On":"Off",selected:u.isOperating&&!s,color:u.isOperating?"":"bad",disabled:s,onClick:function(){function V(){return d("breaker")}return V}()}),children:["[ ",h.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:g})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:N.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u.chargeMode?"sync":"times",content:u.chargeMode?"Auto":"Off",selected:u.chargeMode,disabled:s,onClick:function(){function V(){return d("charge")}return V}()}),children:["[ ",N.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(V){var S=V.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:V.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:V.status>=2?"good":"bad",children:V.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(V.status===1||V.status===3),disabled:s,onClick:function(){function I(){return d("channel",S.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&V.status===2,disabled:s,onClick:function(){function I(){return d("channel",S.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&V.status===0,disabled:s,onClick:function(){function I(){return d("channel",S.off)}return I}()})],4),children:[V.powerLoad," W"]},V.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[u.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!u.siliconUser&&(0,e.createFragment)([!!u.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function V(){return d(p.action)}return V}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function V(){return d("overload")}return V}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:u.coverLocked?"lock":"unlock",content:u.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function V(){return d("cover")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:u.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function V(){return d("emergency_lighting")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:u.nightshiftLights?"Enabled":"Disabled",onClick:function(){function V(){return d("toggle_nightshift")}return V}()})})]})})],4)}},99660:function(T,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ATM=function(){function m(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.view_screen,v=h.authenticated_account,p=h.ticks_left_locked_down,g=h.linked_db,V;if(p>0)V=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!g)V=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(v)switch(N){case 1:V=(0,e.createComponentVNode)(2,y);break;case 2:V=(0,e.createComponentVNode)(2,B);break;case 3:V=(0,e.createComponentVNode)(2,l);break;default:V=(0,e.createComponentVNode)(2,k)}else V=(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Section,{children:V})]})})}return m}(),b=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.machine_id,v=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"eject",onClick:function(){function p(){return i("insert_card")}return p}()})})})]})},y=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:N===0,onClick:function(){function v(){return i("change_security_level",{new_security_level:1})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:N===2,onClick:function(){function v(){return i("change_security_level",{new_security_level:2})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},B=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=(0,a.useLocalState)(u,"targetAccNumber",0),v=N[0],p=N[1],g=(0,a.useLocalState)(u,"fundsAmount",0),V=g[0],S=g[1],I=(0,a.useLocalState)(u,"purpose",0),L=I[0],w=I[1],A=h.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,M){return p(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,M){return S(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,M){return w(M)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return i("transfer",{target_acc_number:v,funds_amount:V,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=(0,a.useLocalState)(u,"fundsAmount",0),v=N[0],p=N[1],g=h.owner_name,V=h.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function S(){return i("logout")}return S}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",V]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function S(I,L){return p(L)}return S}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function S(){return i("withdrawal",{funds_amount:v})}return S}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function S(){return i("view_screen",{view_screen:1})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function S(){return i("view_screen",{view_screen:2})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function S(){return i("view_screen",{view_screen:3})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function S(){return i("balance_statement")}return S}()})})]})],4)},C=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=(0,a.useLocalState)(u,"accountID",null),v=N[0],p=N[1],g=(0,a.useLocalState)(u,"accountPin",null),V=g[0],S=g[1],I=h.machine_id,L=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,x){return p(x)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,x){return S(x)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function w(){return i("attempt_auth",{account_num:v,account_pin:V})}return w}()})})]})})},l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),N.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:v.is_deposit?"green":"red",children:["$",v.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.target_name})]},v)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function N(){return i("view_screen",{view_screen:0})}return N}()})}},86423:function(T,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(36352),b=n(98595),y=n(321),B=n(5485),k=r.AccountsUplinkTerminal=function(){function h(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.loginState,I=V.currentPage,L;if(S.logged_in)I===1?L=(0,e.createComponentVNode)(2,l):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,b.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,B.LoginScreen)})})});return(0,e.createComponentVNode)(2,b.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return h}(),C=function(N,v){var p=(0,t.useBackend)(v),g=p.data,V=(0,t.useLocalState)(v,"tabIndex",0),S=V[0],I=V[1],L=g.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:S===0,onClick:function(){function w(){return I(0)}return w}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:S===1,onClick:function(){function w(){return I(1)}return w}(),children:"Department Accounts"})]})})})},l=function(N,v){var p=(0,t.useLocalState)(v,"tabIndex",0),g=p[0];switch(g){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.accounts,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],w=I[1],A=(0,t.useLocalState)(v,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(v,"sortOrder",!0),j=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,d,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,d,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,d,{id:"money",children:"Account Balance"})]}),S.filter((0,a.createSearch)(L,function(O){return O.owner_name+"|"+O.account_number+"|"+O.suspended+"|"+O.money})).sort(function(O,D){var F=j?1:-1;return O[x].localeCompare(D[x])*F}).map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+O.suspended,onClick:function(){function D(){return g("view_account_detail",{account_num:O.account_number})}return D}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",O.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.money})]},O.account_number)})]})})})]})},m=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,f.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,f.TableCell,{children:"Account Balance"})]}),S.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return g("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},d=function(N,v){var p=(0,t.useLocalState)(v,"sortId","name"),g=p[0],V=p[1],S=(0,t.useLocalState)(v,"sortOrder",!0),I=S[0],L=S[1],w=N.id,A=N.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:g!==w&&"transparent",width:"100%",onClick:function(){function x(){g===w?L(!I):(V(w),L(!0))}return x}(),children:[A,g===w&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},u=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.is_printing,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],w=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return g("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return w(E)}return A}()})})]})},s=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.account_number,I=V.owner_name,L=V.money,w=V.suspended,A=V.transactions,x=V.account_pin,E=V.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+S+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return g("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",S]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return g("set_account_pin",{account_number:S})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:w?"red":"green",children:[w?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:w?"Unsuspend":"Suspend",icon:w?"unlock":"lock",onClick:function(){function M(){return g("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=(0,t.useLocalState)(v,"accName",""),I=S[0],L=S[1],w=(0,t.useLocalState)(v,"accDeposit",""),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return g("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return L(j)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return g("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},79571:function(T,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[{name:"Male",icon:"mars"},{name:"Female",icon:"venus"},{name:"Genderless",icon:"genderless"}],b=["A+","A-","B+","B-","AB+","AB-","O+","O-"],y=r.AgentCard=function(){function c(m,d){var u=(0,a.useLocalState)(d,"tabIndex",0),s=u[0],i=u[1],h=function(){function N(v){switch(v){case 0:return(0,e.createComponentVNode)(2,C);case 1:return(0,e.createComponentVNode)(2,l);default:return(0,e.createComponentVNode)(2,C)}}return N}();return(0,e.createComponentVNode)(2,o.Window,{width:405,height:505,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"table",selected:s===0,onClick:function(){function N(){return i(0)}return N}(),children:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F"},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:s===1,onClick:function(){function N(){return i(1)}return N}(),children:"\u0412\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434"},"Appearance")]})}),h(s)]})})})}return c}(),B="\u041F\u0443\u0441\u0442\u043E",k=function(m){var d=m.label,u=m.value,s=m.onCommit,i=m.onClick,h=m.onRClick,N=m.tooltip;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Input,{fluid:!0,textAlign:"center",content:u||B,onCommit:s})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"file-signature",tooltip:N,tooltipPosition:"bottom-end",onClick:i,onContextMenu:h})})]})})},C=r.AgentCardInfo=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.registered_name,N=i.sex,v=i.age,p=i.assignment,g=i.associated_account_number,V=i.blood_type,S=i.dna_hash,I=i.fingerprint_hash,L=i.photo,w=i.ai_tracking,A=(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041B\u041A\u041C - \u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041F\u041A\u041C - \u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0447\u0443\u0436\u043E\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440.")],4);return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NoticeBox,{m:0,children:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043D\u0435 \u0432\u043B\u0438\u044F\u044E\u0442 \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u044B."})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,k,{label:"\u0418\u043C\u044F",value:h,tooltip:A,onCommit:function(){function x(E,M){return s("change_name",{name:M})}return x}(),onClick:function(){function x(){return s("change_name",{option:"Primary"})}return x}(),onRClick:function(){function x(E){E.preventDefault(),s("change_name",{option:"Secondary"})}return x}()}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:f.map(function(x){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:x.icon,content:x.name,selected:N===x.name,onClick:function(){function E(){return s("change_sex",{sex:x.name})}return E}()})},x.name)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u043E\u0437\u0440\u0430\u0441\u0442",children:(0,e.createComponentVNode)(2,t.Slider,{fluid:!0,minValue:17,value:v||0,maxValue:300,onChange:function(){function x(E,M){return s("change_age",{age:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:p||B,onClick:function(){function x(){return s("change_occupation")}return x}()})}),(0,e.createComponentVNode)(2,k,{label:"\u041E\u0442\u043F\u0435\u0447\u0430\u0442\u043A\u0438",value:I,tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0438 \u043E\u0442\u043F\u0435\u0447\u0430\u0442\u043A\u0438.",onCommit:function(){function x(E,M){return s("change_fingerprints",{new_fingerprints:M})}return x}(),onClick:function(){function x(){return s("change_fingerprints",{option:"Primary"})}return x}()}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:b.map(function(x){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:x,selected:V===x,onClick:function(){function E(){return s("change_blood_type",{new_type:x})}return E}()})},x)})})}),(0,e.createComponentVNode)(2,k,{label:"\u0414\u041D\u041A",value:S,onCommit:function(){function x(E,M){return s("change_dna_hash",{new_dna:M})}return x}(),onClick:function(){function x(){return s("change_dna_hash",{option:"Primary"})}return x}(),tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0451 \u0414\u041D\u041A."}),(0,e.createComponentVNode)(2,k,{label:"\u0410\u043A\u043A\u0430\u0443\u043D\u0442",value:g||0,onCommit:function(){function x(E,M){return s("change_money_account",{new_account:M})}return x}(),onClick:function(){function x(){return s("change_money_account",{option:"Primary"})}return x}(),tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u043D\u0430\u0431\u043E\u0440 \u0446\u0438\u0444\u0440."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u043E\u0442\u043E",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:L?"Update":B,onClick:function(){function x(){return s("change_photo")}return x}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u0430\u0440\u0442\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{fluid:!0,textAlign:"center",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E",confirmContent:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",onClick:function(){function x(){return s("delete_info")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u0441\u0442\u0443\u043F\u044B",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{fluid:!0,textAlign:"center",content:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u044B",confirmContent:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",onClick:function(){function x(){return s("clear_access")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:w?"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E":"\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E",onClick:function(){function x(){return s("change_ai_tracking")}return x}()})})]})})})],4)}return c}(),l=r.AgentCardAppearances=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=(0,a.useSharedState)(d,"selectedAppearance",""),N=h[0],v=h[1],p=i.icon,g=i.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0412\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434",children:g.map(function(V){return(0,e.createComponentVNode)(2,t.ImageButton,{m:.5,dmIcon:p,dmIconState:V,imageSize:58,selected:N===V,onClick:function(){function S(){v(V),s("change_appearance",{new_appearance:V})}return S}()},V)})})})}return c}()},56793:function(T,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},b=r.AiAirlock=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=f[c.power.main]||f[0],d=f[c.power.backup]||f[0],u=f[c.shock]||f[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:m.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:d.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:u.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},72475:function(T,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(195),b=r.AirAlarm=function(){function u(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,B),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)],4)]})})}return u}(),y=function(s){return s===0?"green":s===1?"orange":"red"},B=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.air,g=v.mode,V=v.atmos_alarm,S=v.locked,I=v.alarmActivated,L=v.rcon,w=v.target_temp,A;return p.danger.overall===0?V===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!S&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:g===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:g===3,icon:"exclamation-triangle",onClick:function(){function x(){return N("mode",{mode:g===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:y(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:y(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:y(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:y(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:y(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:y(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:w+" C",onClick:function(){function x(){return N("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function x(){return N("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.overall),children:[A,!S&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return N(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function x(){return N("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return N("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function x(){return N("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,i){var h=(0,a.useLocalState)(i,"tabIndex",0),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===0,onClick:function(){function p(){return v(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===1,onClick:function(){function p(){return v(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===2,onClick:function(){function p(){return v(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===3,onClick:function(){function p(){return v(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},C=function(s,i){var h=(0,a.useLocalState)(i,"tabIndex",0),N=h[0],v=h[1];switch(N){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,m);case 3:return(0,e.createComponentVNode)(2,d);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.vents;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function V(){return N("command",{cmd:"power",val:!g.power,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.direction?"Blowing":"Siphoning",icon:g.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function V(){return N("command",{cmd:"direction",val:!g.direction,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:g.checks===1,onClick:function(){function V(){return N("command",{cmd:"checks",val:1,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:g.checks===2,onClick:function(){function V(){return N("command",{cmd:"checks",val:2,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function V(){return N("command",{cmd:"set_external_pressure",id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function V(){return N("command",{cmd:"set_external_pressure",val:101.325,id_tag:g.id_tag})}return V}()})]})]})},g.name)})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.scrubbers;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function V(){return N("command",{cmd:"power",val:!g.power,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.scrubbing?"Scrubbing":"Siphoning",icon:g.scrubbing?"filter":"sign-in-alt",onClick:function(){function V(){return N("command",{cmd:"scrubbing",val:!g.scrubbing,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:g.widenet?"Extended":"Normal",selected:g.widenet,icon:"expand-arrows-alt",onClick:function(){function V(){return N("command",{cmd:"widenet",val:!g.widenet,id_tag:g.id_tag})}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:g.filter_co2,onClick:function(){function V(){return N("command",{cmd:"co2_scrub",val:!g.filter_co2,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:g.filter_toxins,onClick:function(){function V(){return N("command",{cmd:"tox_scrub",val:!g.filter_toxins,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:g.filter_n2o,onClick:function(){function V(){return N("command",{cmd:"n2o_scrub",val:!g.filter_n2o,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:g.filter_o2,onClick:function(){function V(){return N("command",{cmd:"o2_scrub",val:!g.filter_o2,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:g.filter_n2,onClick:function(){function V(){return N("command",{cmd:"n2_scrub",val:!g.filter_n2,id_tag:g.id_tag})}return V}()})]})]})},g.name)})},m=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.modes,g=v.presets,V=v.emagged,S=v.mode,I=v.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:p.map(function(L){return(!L.emagonly||L.emagonly&&!!V)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===S,onClick:function(){function w(){return N("mode",{mode:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:g.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function w(){return N("preset",{preset:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},d=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),p.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.name}),g.settings.map(function(V){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:V.selected===-1?"Off":V.selected,onClick:function(){function S(){return N("command",{cmd:"set_threshold",env:V.env,var:V.val})}return S}()})},V.val)})]},g.name)})]})})}},12333:function(T,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AirlockAccessController=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.exterior_status,m=l.interior_status,d=l.processing,u,s;return c==="open"?u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:d,onClick:function(){function i(){return C("force_ext")}return i}()}):u=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:d,onClick:function(){function i(){return C("cycle_ext_door")}return i}()}),m==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:d,color:m==="open"?"red":d?"yellow":null,onClick:function(){function i(){return C("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:d,onClick:function(){function i(){return C("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:m==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[u,s]})})]})})}return b}()},28736:function(T,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),b=1,y=2,B=4,k=8,C=r.AirlockElectronics=function(){function m(d,u){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return m}(),l=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:N&B,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:B})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:N&y,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:y})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:N&k,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:k})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:N&b,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:b})}return v}()})})]})]})})},c=function(d,u){var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.selected_accesses,v=h.one_access,p=h.regions;return(0,e.createComponentVNode)(2,f.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,content:"One",onClick:function(){function g(){return i("set_one_access",{access:"one"})}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function g(){return i("set_one_access",{access:"all"})}return g}()})],4),accesses:p,selectedList:N,accessMod:function(){function g(V){return i("set",{access:V})}return g}(),grantAll:function(){function g(){return i("grant_all")}return g}(),denyAll:function(){function g(){return i("clear_all")}return g}(),grantDep:function(){function g(V){return i("grant_region",{region:V})}return g}(),denyDep:function(){function g(V){return i("deny_region",{region:V})}return g}()})}},47365:function(T,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),f=n(36036),b=n(98595),y=-1,B=1,k=r.AlertModal=function(){function c(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,h=i.autofocus,N=i.buttons,v=N===void 0?[]:N,p=i.large_buttons,g=i.message,V=g===void 0?"":g,S=i.timeout,I=i.title,L=(0,t.useLocalState)(d,"selected",0),w=L[0],A=L[1],x=110+(V.length>30?Math.ceil(V.length/4):0)+(V.length&&p?5:0),E=325+(v.length>2?100:0),M=function(){function j(P){w===0&&P===y?A(v.length-1):w===v.length-1&&P===B?A(0):A(w+P)}return j}();return(0,e.createComponentVNode)(2,b.Window,{title:I,height:x,width:E,children:[!!S&&(0,e.createComponentVNode)(2,a.Loader,{value:S}),(0,e.createComponentVNode)(2,b.Window.Content,{onKeyDown:function(){function j(P){var O=window.event?P.which:P.keyCode;O===o.KEY_SPACE||O===o.KEY_ENTER?s("choose",{choice:v[w]}):O===o.KEY_ESCAPE?s("cancel"):O===o.KEY_LEFT?(P.preventDefault(),M(y)):(O===o.KEY_TAB||O===o.KEY_RIGHT)&&(P.preventDefault(),M(B))}return j}(),children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,f.Box,{color:"label",overflow:"hidden",children:V})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:[!!h&&(0,e.createComponentVNode)(2,f.Autofocus),(0,e.createComponentVNode)(2,C,{selected:w})]})]})})})]})}return c}(),C=function(m,d){var u=(0,t.useBackend)(d),s=u.data,i=s.buttons,h=i===void 0?[]:i,N=s.large_buttons,v=s.swapped_buttons,p=m.selected;return(0,e.createComponentVNode)(2,f.Flex,{fill:!0,align:"center",direction:v?"row":"row-reverse",justify:"space-around",wrap:!0,children:h==null?void 0:h.map(function(g,V){return N&&h.length<3?(0,e.createComponentVNode)(2,f.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:g,id:V.toString(),selected:p===V})},V):(0,e.createComponentVNode)(2,f.Flex.Item,{grow:N?1:0,children:(0,e.createComponentVNode)(2,l,{button:g,id:V.toString(),selected:p===V})},V)})})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,h=i.large_buttons,N=m.button,v=m.selected,p=N.length>7?"100%":7;return(0,e.createComponentVNode)(2,f.Button,{mx:h?1:0,pt:h?.33:0,content:N,fluid:!!h,onClick:function(){function g(){return s("choose",{choice:N})}return g}(),selected:v,textAlign:"center",height:!!h&&2,width:!h&&p})}},71824:function(T,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AppearanceChanger=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.change_race,d=c.species,u=c.specimen,s=c.change_gender,i=c.gender,h=c.change_eye_color,N=c.change_skin_tone,v=c.change_skin_color,p=c.change_runechat_color,g=c.change_head_accessory_color,V=c.change_hair_color,S=c.change_secondary_hair_color,I=c.change_facial_hair_color,L=c.change_secondary_facial_hair_color,w=c.change_head_marking_color,A=c.change_body_marking_color,x=c.change_tail_marking_color,E=c.change_head_accessory,M=c.head_accessory_styles,j=c.head_accessory_style,P=c.change_hair,O=c.hair_styles,D=c.hair_style,F=c.change_hair_gradient,W=c.change_facial_hair,U=c.facial_hair_styles,$=c.facial_hair_style,K=c.change_head_markings,G=c.head_marking_styles,Q=c.head_marking_style,J=c.change_body_markings,ue=c.body_marking_styles,ie=c.body_marking_style,he=c.change_tail_markings,te=c.tail_marking_styles,q=c.tail_marking_style,ne=c.change_body_accessory,le=c.body_accessory_styles,ee=c.body_accessory_style,re=c.change_alt_head,oe=c.alt_head_styles,fe=c.alt_head_style,me=!1;return(h||N||v||g||p||V||S||I||L||w||A||x)&&(me=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:d.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.specimen,selected:Y.specimen===u,onClick:function(){function ve(){return l("race",{race:Y.specimen})}return ve}()},Y.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function Y(){return l("gender",{gender:"male"})}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function Y(){return l("gender",{gender:"female"})}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function Y(){return l("gender",{gender:"plural"})}return Y}()})]}),!!me&&(0,e.createComponentVNode)(2,b),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:M.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.headaccessorystyle,selected:Y.headaccessorystyle===j,onClick:function(){function ve(){return l("head_accessory",{head_accessory:Y.headaccessorystyle})}return ve}()},Y.headaccessorystyle)})}),!!P&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:O.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.hairstyle,selected:Y.hairstyle===D,onClick:function(){function ve(){return l("hair",{hair:Y.hairstyle})}return ve}()},Y.hairstyle)})}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function Y(){return l("hair_gradient")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function Y(){return l("hair_gradient_offset")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function Y(){return l("hair_gradient_colour")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function Y(){return l("hair_gradient_alpha")}return Y}()})]}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.facialhairstyle,selected:Y.facialhairstyle===$,onClick:function(){function ve(){return l("facial_hair",{facial_hair:Y.facialhairstyle})}return ve}()},Y.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:G.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.headmarkingstyle,selected:Y.headmarkingstyle===Q,onClick:function(){function ve(){return l("head_marking",{head_marking:Y.headmarkingstyle})}return ve}()},Y.headmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:ue.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.bodymarkingstyle,selected:Y.bodymarkingstyle===ie,onClick:function(){function ve(){return l("body_marking",{body_marking:Y.bodymarkingstyle})}return ve}()},Y.bodymarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:te.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.tailmarkingstyle,selected:Y.tailmarkingstyle===q,onClick:function(){function ve(){return l("tail_marking",{tail_marking:Y.tailmarkingstyle})}return ve}()},Y.tailmarkingstyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:le.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.bodyaccessorystyle,selected:Y.bodyaccessorystyle===ee,onClick:function(){function ve(){return l("body_accessory",{body_accessory:Y.bodyaccessorystyle})}return ve}()},Y.bodyaccessorystyle)})}),!!re&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:oe.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.altheadstyle,selected:Y.altheadstyle===fe,onClick:function(){function ve(){return l("alt_head",{alt_head:Y.altheadstyle})}return ve}()},Y.altheadstyle)})})]})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_runechat_color",text:"Change runechat color",action:"runechat_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:m.map(function(d){return!!c[d.key]&&(0,e.createComponentVNode)(2,t.Button,{content:d.text,onClick:function(){function u(){return l(d.action)}return u}()},d.key)})})}},72285:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosAlertConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.priority||[],m=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(d){return(0,e.createVNode)(1,"li","color-bad",d,0,null,d)}),m.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),m.map(function(d){return(0,e.createVNode)(1,"li","color-average",d,0,null,d)})],0)})})})}return b}()},65805:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),f=n(98595),b=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},B=r.AtmosControl=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=(0,a.useLocalState)(m,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,C);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,f.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:h===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(h)]})})})}return l}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:h.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:b(h.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function N(){return u("open_alarm",{aref:h.ref})}return N}()})})]},h.name)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{children:i.filter(function(h){return h.z===3}).map(function(h){return(0,e.createComponentVNode)(2,t.NanoMap.MarkerIcon,{x:h.x,y:h.y,icon:"circle",tooltip:h.name,color:y(h.danger),onClick:function(){function N(){return u("open_alarm",{aref:h.ref})}return N}()},h.ref)})})})}},87816:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosFilter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.on,m=l.pressure,d=l.max_pressure,u=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:m,onDrag:function(){function i(h,N){return C("custom_pressure",{pressure:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===u,content:i.label,onClick:function(){function h(){return C("set_filter",{filter:i.gas_type})}return h}()},i.label)})})]})})})})}return b}()},57258:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosGraphMonitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(44879),b=n(88510),y=n(35840),B=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth","horizontalLinesCount","verticalLinesCount","gridColor","gridWidth","pointTextColor","pointTextSize","labelViewBoxSize"];function k(i,h){if(i==null)return{};var N={};for(var v in i)if({}.hasOwnProperty.call(i,v)){if(h.includes(v))continue;N[v]=i[v]}return N}function C(i,h){i.prototype=Object.create(h.prototype),i.prototype.constructor=i,l(i,h)}function l(i,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,v){return N.__proto__=v,N},l(i,h)}var c=r.AtmosGraphMonitor=function(){function i(h,N){var v=(0,a.useBackend)(N),p=v.data,g=(0,a.useLocalState)(N,"tabIndex",0),V=g[0],S=g[1],I=function(){function w(A){switch(A){case 0:return(0,e.createComponentVNode)(2,m,{data:p,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 60 \u0441. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 3 \u0441.",pressureListName:"pressure_history",temperatureListName:"temperature_history"});case 1:return(0,e.createComponentVNode)(2,m,{data:p,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 10 \u043C\u0438\u043D. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 30 \u0441.",pressureListName:"long_pressure_history",temperatureListName:"long_temperature_history"});default:return"WE SHOULDN'T BE HERE!"}}return w}(),L=function(){function w(A){switch(A){case 0:return 180;case 1:return 350;case 2:return 590;case 3:return 830;default:return 870}}return w}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:L(Object.keys(p.sensors).length),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===0,onClick:function(){function w(){return S(0)}return w}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"area-chart"})," \u0422\u0435\u043A\u0443\u0449\u0438\u0435"]},"View"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===1,onClick:function(){function w(){return S(1)}return w}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"bar-chart"})," \u0418\u0441\u0442\u043E\u0440\u0438\u044F"]},"History")]}),I(V),Object.keys(p.sensors).length===0&&(0,e.createComponentVNode)(2,t.Box,{pt:2,textAlign:"center",textColor:"gray",bold:!0,fontSize:1.3,children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 gas sensor \u0438\u043B\u0438 meter \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E multitool"})]})})})}return i}(),m=function(h){var N=h.data,v=h.info,p=h.pressureListName,g=h.temperatureListName,V=N.sensors||{},S=function(x,E){return V[x][E].slice(-1)[0]},I=function(x,E){return Math.min.apply(Math,V[x][E])},L=function(x,E){return Math.max.apply(Math,V[x][E])},w=function(x,E){return V[x][E].map(function(M,j){return[j,M]})};return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{color:"gray",children:v}),Object.keys(V).map(function(A){return(0,e.createComponentVNode)(2,t.Section,{title:A,children:(0,e.createComponentVNode)(2,t.Section,{px:2,children:[g in V[A]&&(0,e.createComponentVNode)(2,t.Box,{mb:4,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430: "+(0,f.toFixed)(S(A,g),0)+"\u041A (MIN: "+(0,f.toFixed)(I(A,g),0)+"\u041A; MAX: "+(0,f.toFixed)(L(A,g),0)+"\u041A)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:w(A,g),rangeX:[0,w(A,g).length-1],rangeY:[I(A,g)-10,L(A,g)+5],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:w(A,g).length-2,labelViewBoxSize:400})})]}),p in V[A]&&(0,e.createComponentVNode)(2,t.Box,{mb:-1,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435: "+(0,f.toFixed)(S(A,p),0)+"\u043A\u041F\u0430 (MIN: "+(0,f.toFixed)(I(A,p),0)+"\u043A\u041F\u0430; MAX: "+(0,f.toFixed)(L(A,p),0)+"\u043A\u041F\u0430)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:w(A,p),rangeX:[0,w(A,p).length-1],rangeY:[I(A,p)-10,L(A,p)+5],strokeColor:"rgba(40, 219, 40, 1)",fillColor:"rgba(40, 219, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:w(A,p).length-2,labelViewBoxSize:400})})]})]})},A)})]})},d=function(h,N,v,p){if(h.length===0)return[];var g=(0,b.zipWith)(Math.min).apply(void 0,h),V=(0,b.zipWith)(Math.max).apply(void 0,h);v!==void 0&&(g[0]=v[0],V[0]=v[1]),p!==void 0&&(g[1]=p[0],V[1]=p[1]);var S=function(A,x,E,M){return(A-x)/(E-x)*M},I=(0,b.zipWith)(S),L=(0,b.map)(function(w){return I(w,g,V,N)});return L(h)},u=function(h){for(var N="",v=0;v0){var le=ne[0],ee=ne[ne.length-1];ne.push([q[0]+j,ee[1]]),ne.push([q[0]+j,-j]),ne.push([-j,-j]),ne.push([-j,le[1]])}var re=u(ne);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({position:"relative"},te,{children:function(){function oe(fe){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,[Array.from({length:O}).map(function(me,Y){return(0,e.createVNode)(32,"line",null,null,1,{x1:0,y1:(Y+1)*(q[1]/(O+1)),x2:q[0],y2:(Y+1)*(q[1]/(O+1)),stroke:U,"stroke-width":K},"horizontal-line-"+Y)}),Array.from({length:F}).map(function(me,Y){return(0,e.createVNode)(32,"line",null,null,1,{x1:(Y+1)*(q[0]/(F+1)),y1:0,x2:(Y+1)*(q[0]/(F+1)),y2:q[1],stroke:U,"stroke-width":K},"vertical-line-"+Y)}),(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+q[1]+")",fill:A,points:re}),S.map(function(me,Y){return Y===0?null:(0,e.createVNode)(32,"line",null,null,1,{x1:ne[Y-1][0],y1:q[1]-ne[Y-1][1],x2:ne[Y][0],y2:q[1]-ne[Y][1],stroke:E,"stroke-width":j},"line-"+Y)}),S.map(function(me,Y){return(0,e.createVNode)(32,"circle",null,null,1,{cx:ne[Y][0],cy:q[1]-ne[Y][1],r:2,fill:"#ffffff",stroke:E,"stroke-width":1},"point-"+Y)}),S.map(function(me,Y){return q[0]>he&&Y%2===1&&(0,e.createVNode)(32,"text",null,me[1]!==null?me[1].toFixed(0):"N/A",0,{x:ne[Y][0],y:q[1]-ne[Y][1],fill:Q,"font-size":ue,dy:"1em",style:{"text-anchor":"end"}},"point-text-"+Y)})],0,{viewBox:"0 0 "+q[0]+" "+q[1]}),2,Object.assign({},fe),null,p.ref))}return oe}()})))}return v}(),h}(e.Component);s.defaultHooks=void 0,s.defaultHooks=y.pureComponentHooks},52977:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosMixer=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.on,d=c.pressure,u=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:m?"On":"Off",color:m?null:"red",selected:m,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:d===0,width:2.2,onClick:function(){function h(){return l("min_pressure")}return h}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:d,onDrag:function(){function h(N,v){return l("custom_pressure",{pressure:v})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:d===u,width:2.2,onClick:function(){function h(){return l("max_pressure")}return h}()})]}),(0,e.createComponentVNode)(2,b,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,b,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=B.node_name,d=B.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:m,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:d===0,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d-10)/100})}return u}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:d,onChange:function(){function u(s,i){return l("set_node",{node_name:m,concentration:i/100})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:d===100,onClick:function(){function u(){return l("set_node",{node_name:m,concentration:(d+10)/100})}return u}()})]})}},11748:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.AtmosPump=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.on,m=l.rate,d=l.max_rate,u=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:m===0,width:2.2,onClick:function(){function i(){return C("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:u,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:d,value:m,onDrag:function(){function i(h,N){return C("custom_rate",{rate:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:m===d,width:2.2,onClick:function(){function i(){return C("max_rate")}return i}()})]})]})})})})}return b}()},69321:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),f=n(76910),b=n(98595),y=r.AtmosTankControl=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.sensors||{};return(0,e.createComponentVNode)(2,b.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:[Object.keys(d).map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(d[u]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[d[u].pressure," kpa"]}):"",Object.keys(d[u]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[d[u].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(d[u]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,f.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,f.getGasColor)(s),value:d[u][s],minValue:0,maxValue:100,children:(0,o.toFixed)(d[u][s],2)+"%"})},(0,f.getGasLabel)(s)):""})]})},u)}),m.inlet&&Object.keys(m.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.inlet.on,"power-off"),content:m.inlet.on?"On":"Off",color:m.inlet.on?null:"red",selected:m.inlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"inlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:m.inlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"inlet",val:i})}return u}()})})]})}):"",m.outlet&&Object.keys(m.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(m.outlet.on,"power-off"),content:m.outlet.on?"On":"Off",color:m.outlet.on?null:"red",selected:m.outlet.on,onClick:function(){function u(){return c("toggle_active",{dev:"outlet"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:m.outlet.rate,onDrag:function(){function u(s,i){return c("set_pressure",{dev:"outlet",val:i})}return u}()})})]})}):""]})})}return B}()},59179:function(T,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),b=n(98595),y=n(25328),B=function(l,c,m,d){return l.requirements===null?!0:!(l.requirements.metal*d>c||l.requirements.glass*d>m)},k=r.Autolathe=function(){function C(l,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.total_amount,i=u.max_amount,h=u.metal_amount,N=u.glass_amount,v=u.busyname,p=u.busyamt,g=u.showhacked,V=u.buildQueue,S=u.buildQueueLen,I=u.recipes,L=u.categories,w=(0,o.useSharedState)(c,"category",0),A=w[0],x=w[1];A===0&&(A="Tools");var E=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=N.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),O=P[0],D=P[1],F=(0,y.createSearch)(O,function(K){return K.name}),W="";S>0&&(W=V.map(function(K,G){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"times",color:"transparent",content:V[G][0],onClick:function(){function Q(){return d("remove_from_queue",{remove_from_queue:V.indexOf(K)+1})}return Q}()},K)},G)}));var U=(0,a.flow)([(0,t.filter)(function(K){return(K.category.indexOf(A)>-1||O)&&(u.showhacked||!K.hacked)}),O&&(0,t.filter)(F),(0,t.sortBy)(function(K){return K.name.toLowerCase()})])(I),$="Build";return O?$="Results for: '"+O+"':":A&&($="Build ("+A+")"),(0,e.createComponentVNode)(2,b.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:$,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function K(G){return x(G)}return K}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function K(G,Q){return D(Q)}return K}(),mb:1}),U.map(function(K){return(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+K.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===K.name&&u.busyamt===1,disabled:!B(K,u.metal_amount,u.glass_amount,1),onClick:function(){function G(){return d("make",{make:K.uid,multiplier:1})}return G}(),children:(0,y.toTitleCase)(K.name)}),K.max_multiplier>=10&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===K.name&&u.busyamt===10,disabled:!B(K,u.metal_amount,u.glass_amount,10),onClick:function(){function G(){return d("make",{make:K.uid,multiplier:10})}return G}(),children:"10x"}),K.max_multiplier>=25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===K.name&&u.busyamt===25,disabled:!B(K,u.metal_amount,u.glass_amount,25),onClick:function(){function G(){return d("make",{make:K.uid,multiplier:25})}return G}(),children:"25x"}),K.max_multiplier>25&&(0,e.createComponentVNode)(2,f.Button,{mr:1,icon:"hammer",selected:u.busyname===K.name&&u.busyamt===K.max_multiplier,disabled:!B(K,u.metal_amount,u.glass_amount,K.max_multiplier),onClick:function(){function G(){return d("make",{make:K.uid,multiplier:K.max_multiplier})}return G}(),children:[K.max_multiplier,"x"]}),K.requirements&&Object.keys(K.requirements).map(function(G){return(0,y.toTitleCase)(G)+": "+K.requirements[G]}).join(", ")||(0,e.createComponentVNode)(2,f.Box,{children:"No resources required."})]},K.ref)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,f.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Storage",children:[u.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,f.Section,{title:"Building",children:(0,e.createComponentVNode)(2,f.Box,{color:v?"green":"",children:v||"Nothing"})}),(0,e.createComponentVNode)(2,f.Section,{title:"Build Queue",height:23.7,children:[W,(0,e.createComponentVNode)(2,f.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!u.buildQueueLen,onClick:function(){function K(){return d("clear_queue")}return K}()})]})]})]})})})}return C}()},29943:function(T,r,n){"use strict";r.__esModule=!0,r.Autolathe220=void 0;var e=n(89005),a=n(25328),t=n(88510),o=n(64795),f=n(72253),b=n(36036),y=n(98595),B=["metal","glass"],k=function(h,N,v,p){return h.requirements===null?!0:!(h.requirements.metal*p>N||h.requirements.glass*p>v)},C=function(h,N){var v=h*N/2e3;return v===0?0:v<.01&&v>0?(0,e.createComponentVNode)(2,b.Box,{fontSize:.75,children:"< 0.01"}):Math.floor(v*100)/100},l=r.Autolathe220=function(){function i(h,N){var v=(0,f.useSharedState)(N,"category","Tools"),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,y.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"20%",children:(0,e.createComponentVNode)(2,c,{category:p,setCategory:g})}),(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"55%",children:(0,e.createComponentVNode)(2,m,{category:p})}),(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"25%",children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,s)]})})]})})})}return i}(),c=function(h,N){var v=(0,f.useBackend)(N),p=v.data,g=h.category,V=h.setCategory,S=p.categories,I=["All"].concat(S);return(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Categories",children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{mb:.5,height:"2.5em",color:"blue",selected:L===g,onClick:function(){function w(){return V(L)}return w}(),children:L},L)})})})},m=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=g.metal_amount,S=g.glass_amount,I=g.recipes,L=h.category,w=(0,f.useSharedState)(N,"searchText",""),A=w[0],x=w[1],E=(0,o.flow)([(0,t.filter)(function(P){return L==="All"||P.category.includes(L)||A&&(g.showhacked||!P.hacked)}),A&&(0,t.filter)((0,a.createSearch)(A,function(P){return P.name})),(0,t.sortBy)(function(P){return P.name.toLowerCase()})])(I),M=function(O,D){return(0,e.createComponentVNode)(2,b.Button,{translucent:!0,tooltip:j(O,D),tooltipPosition:"top",disabled:!k(O,V,S,D),onClick:function(){function F(){return p("make",{make:O.uid,multiplier:D})}return F}(),children:[D,"x"]})},j=function(O,D){return(0,e.createFragment)(B.map(function(F){return O.requirements[F]&&(0,e.createComponentVNode)(2,b.ImageButton,{asset:["materials32x32",F],imageSize:32,children:C(O.requirements[F],D)},F)}),0)};return(0,e.createComponentVNode)(2,b.Section,{fill:!0,title:"Build ("+L+")",children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function P(O,D){return x(D)}return P}()})}),(0,e.createComponentVNode)(2,b.Stack.Item,{mt:.5,mb:-2.33,grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:E.map(function(P){return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,base64:P.image,imageSize:32,textAlign:"left",color:P.category.includes("hacked")&&"brown",tooltip:j(P,1),tooltipPosition:"top",disabled:!k(P,V,S,1),buttons:P.max_multiplier>1&&(0,e.createFragment)([P.max_multiplier>=10&&M(P,10),P.max_multiplier>=25&&M(P,25),P.max_multiplier>25&&M(P,P.max_multiplier)],0),onClick:function(){function O(){return p("make",{make:P.uid,multiplier:1})}return O}(),children:P.name},P.name)})})})]})})},d=function(h,N){var v=(0,f.useBackend)(N),p=v.data,g=p.metal_amount,V=p.glass_amount,S=p.fill_percent,I=function(w,A){return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,asset:["materials32x32",w],color:"nope",buttons:(0,e.createComponentVNode)(2,b.Box,{backgroundColor:"rgba(255, 255, 255, 0.05)",width:"45px",children:C(A,1)}),children:(0,a.toTitleCase)(w)})};return(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Materials",children:[I("metal",g),I("glass",V),(0,e.createComponentVNode)(2,b.ProgressBar,{minValue:0,value:S,maxValue:100,children:["Storage ",S,"% full"]})]})})},u=function(h,N){var v=(0,f.useBackend)(N),p=v.data,g=p.recipes,V=p.busyname,S=p.busyamt,I=g.find(function(L){return L.name===V});return(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Building",children:(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,color:V&&"green",base64:I==null?void 0:I.image,imageSize:32,children:V?S>1?V+" x"+S:V:"Nothing"})})})},s=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=g.recipes,S=g.buildQueue,I=g.buildQueueLen,L;return I>0&&(L=S.map(function(w,A){var x=V.find(function(E){return E.name===S[A][0]});return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,base64:x.image,imageSize:32,buttons:(0,e.createComponentVNode)(2,b.Button,{translucent:!0,width:"32px",icon:"times",iconColor:"red",onClick:function(){function E(){return p("remove_from_queue",{remove_from_queue:S.indexOf(w)+1})}return E}()},w),children:[x.name," ",Number(S[A][1])>1&&"x"+S[A][1]]},A)})),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Queue "+(I>0?I:""),children:L})}),(0,e.createComponentVNode)(2,b.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,b.Section,{fitted:!0,p:.75,children:(0,e.createComponentVNode)(2,b.Button,{fluid:!0,translucent:!I,color:"red",icon:"trash-can",disabled:!I,onClick:function(){function w(){return p("clear_queue")}return w}(),children:"Clear Queue"})})})]})})}},5147:function(T,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BioChipPad=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.implant,m=l.contains_case,d=l.gps,u=l.tag,s=(0,a.useLocalState)(B,"newTag",u),i=s[0],h=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!m,onClick:function(){function N(){return C("eject_case")}return N}()})}),children:c&&m?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:u,onEnter:function(){function N(){return C("tag",{newtag:i})}return N}(),onInput:function(){function N(v,p){return h(p)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===i,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function N(){return C("tag",{newtag:i})}return N}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):m?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return b}()},64273:function(T,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),b=r.Biogenerator=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.config,i=u.container,h=u.processing,N=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:h,name:N}),(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k),i?(0,e.createComponentVNode)(2,C):(0,e.createComponentVNode)(2,y)]})})})}return l}(),y=function(c,m){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},B=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,h=s.container,N=s.container_curr_reagents,v=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),h?(0,e.createComponentVNode)(2,t.ProgressBar,{value:N,maxValue:v,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:N+" / "+v+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.has_plants,h=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function N(){return u("activate")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!h,tooltip:h?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function N(){return u("detach_container")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function N(){return u("eject_plants")}return N}()})})]})})},C=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.biomass,h=s.product_list,N=(0,a.useSharedState)(m,"vendAmount",1),v=N[0],p=N[1],g=Object.entries(h).map(function(V,S){var I=Object.entries(V[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:V[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*v,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:is&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:[(0,e.createComponentVNode)(2,t.Button,{icon:S&&!g?"toggle-on":"toggle-off",content:"Auto shutdown",color:S&&!g?"green":"red",disabled:!!g,tooltip:"Turn auto shutdown on or off",onClick:function(){function A(){return c("auto_shutdown")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:I&&!g?"toggle-on":"toggle-off",content:"Stabilizers",color:I&&!g?"green":"red",disabled:!!g,tooltip:"Turn stabilizers on or off",onClick:function(){function A(){return c("stabilizers")}return A}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Level",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:u===0||g,tooltip:"Set to 0",onClick:function(){function A(){return c("set",{set_level:0})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",tooltip:"Decrease to actual input level",disabled:u===0||g,onClick:function(){function A(){return c("set",{set_level:s})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:u===0||g,tooltip:"Decrease one step",onClick:function(){function A(){return c("decrease")}return A}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,mx:1,children:(0,e.createComponentVNode)(2,t.Slider,{disabled:g,value:u,fillValue:s,minValue:0,color:w,maxValue:p,stepPixelSize:20,step:1,onChange:function(){function A(x,E){return c("set",{set_level:E})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:u===p||g,tooltip:"Increase one step",tooltipPosition:"left",onClick:function(){function A(){return c("increase")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:u===p||g,tooltip:"Set to max",tooltipPosition:"left",onClick:function(){function A(){return c("set",{set_level:p})}return A}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Power Use",children:(0,f.formatPower)(N)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mining Power Use",children:(0,f.formatPower)(N-L)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stabilizer Power Use",children:(0,f.formatPower)(L)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mining Power for next level",children:(0,f.formatPower)(V)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,f.formatPower)(v)})]})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:h})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:A.price>=i,onClick:function(){function x(){return c("vend",{target:A.key})}return x}(),content:A.price})},A.key)})})})})]})})]})})})}return B}(),y=r.Alerts=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.product||[],u=m.inputLevel,s=m.emagged,i=m.safeLevels,h=m.autoShutown,N=m.stabilizers,v=m.overhead;return(0,e.createFragment)([!h&&!s&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Auto shutdown disabled"}),s?(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"All safeties disabled"}):u<=i?"":N?u-v>i?(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Stabilizers overwhelmed, Instability likely"}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"High Power, engaging stabilizers"}):(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Stabilizers disabled, Instability likely"})],0)}return B}()},33758:function(T,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),f=n(36036),b=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],B=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],C={average:[.25,.5],bad:[.5,1/0]},l=function(S,I){for(var L=[],w=0;w0?S.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,f.Box,{children:L},L)],0)},null):null},m=function(S){if(S>100){if(S<300)return"mild infection";if(S<400)return"mild infection+";if(S<500)return"mild infection++";if(S<700)return"acute infection";if(S<800)return"acute infection+";if(S<900)return"acute infection++";if(S>=900)return"septic"}return""},d=r.BodyScanner=function(){function V(S,I){var L=(0,o.useBackend)(I),w=L.data,A=w.occupied,x=w.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,u,{occupant:E}):(0,e.createComponentVNode)(2,g);return(0,e.createComponentVNode)(2,b.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:M})})}return V}(),u=function(S){var I=S.occupant;return(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,h,{occupant:I}),(0,e.createComponentVNode)(2,v,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(S,I){var L=(0,o.useBackend)(I),w=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Button,{icon:"print",onClick:function(){function E(){return w("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,f.Button,{icon:"user-slash",onClick:function(){function E(){return w("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:y[x.stat][0],children:y[x.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,f.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,f.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"None"})})]})})},i=function(S){var I=S.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:B.map(function(L,w){if(I[L[0]])return(0,e.createComponentVNode)(2,f.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,f.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No abnormalities found."})})},h=function(S){var I=S.occupant;return(0,e.createComponentVNode)(2,f.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,f.Table,{children:l(k,function(L,w,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:!!w&&w[0]+":"})]}),(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,N,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:C,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,f.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,f.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,m(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,f.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(w){return w.known?w.name:"Unknown object"}))]})]})]},L)})]})})},p=function(S){return S.organs.length===0?(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,f.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,f.Table,{children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",children:"Injuries"})]}),S.organs.map(function(I,L){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:C,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,f.Box,{color:"average",inline:!0,children:c([m(I.germ_level)])}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,f.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},g=function(){return(0,e.createComponentVNode)(2,f.Section,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},67963:function(T,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=n(39473),y=r.BookBinder=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.selectedbook,u=m.book_categories,s=[];return u.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.title,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:d.author,onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:u.map(function(i){return i.description}),onSelected:function(){function i(h){return c("toggle_binder_category",{category_id:s[h]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,f.modalOpen)(C,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:d.summary})]}),(0,e.createVNode)(1,"br"),u.filter(function(i){return d.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function h(){return c("toggle_binder_category",{category_id:i.category_id})}return h}()},i.category_id)})]})})]})})})]})}return B}()},61925:function(T,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(l){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],m=c.find(function(d){return d.modes.includes(l)});return(0,e.createComponentVNode)(2,t.Box,{color:m.color,children:[" ",m.label," "]})},b=r.BotCall=function(){function C(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],h=s[1],N={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},v=function(){function p(g){return N[g]?(0,e.createComponentVNode)(2,y,{model:N[g]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,g){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===g,onClick:function(){function V(){return h(g)}return V}(),children:N[g]},g)})})}),v(i)]})})})}return C}(),y=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return s[l.model]!==void 0?(0,e.createComponentVNode)(2,k,{model:[l.model]}):(0,e.createComponentVNode)(2,B,{model:[l.model]})},B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[l.model]," detected"]})})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[l.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?f(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function h(){return d("interface",{botref:i.UID})}return h}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function h(){return d("call",{botref:i.UID})}return h}()})})]},i.UID)})]})})})}},20464:function(T,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),b=r.BotClean=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,h=c.canhack,N=c.emagged,v=c.remote_disabled,p=c.painame,g=c.cleanblood,V=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Clean Blood",disabled:d,onClick:function(){function S(){return l("blood")}return S}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:V?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function S(){return l("area")}return S}()}),V!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:V})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function S(){return l("ejectpai")}return S}()})})]})})}return y}()},69479:function(T,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),b=r.BotFloor=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.noaccess,d=c.painame,u=c.hullplating,s=c.replace,i=c.eat,h=c.make,N=c.fixfloor,v=c.nag_empty,p=c.magnet,g=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:g})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:m,onClick:function(){function V(){return l("autotile")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:m,onClick:function(){function V(){return l("replacetiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Repair damaged tiles and platings",disabled:m,onClick:function(){function V(){return l("fixfloors")}return V}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:m,onClick:function(){function V(){return l("eattiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Make pieces of metal into tiles when empty",disabled:m,onClick:function(){function V(){return l("maketiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Transmit notice when empty",disabled:m,onClick:function(){function V(){return l("nagonempty")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:m,onClick:function(){function V(){return l("anchored")}return V}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function V(){return l("ejectpai")}return V}()})})]})})}return y}()},59887:function(T,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),b=r.BotHonk=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.BotStatus)})})}return y}()},80063:function(T,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),b=r.BotMed=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.locked,d=c.noaccess,u=c.maintpanel,s=c.on,i=c.autopatrol,h=c.canhack,N=c.emagged,v=c.remote_disabled,p=c.painame,g=c.shut_up,V=c.declare_crit,S=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,w=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!g,disabled:d,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:V,disabled:d,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:d,onChange:function(){function E(M,j){return l("set_heal_threshold",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:d,onChange:function(){function E(M,j){return l("set_injection_amount",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:w?"Beaker":"Internal Synthesizer",icon:w?"flask":"cogs",disabled:d,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:d,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:d,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:S,disabled:d,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:d,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return y}()},74439:function(T,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(92963),b=r.BotSecurity=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.noaccess,d=c.painame,u=c.check_id,s=c.check_weapons,i=c.check_warrant,h=c.arrest_mode,N=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,f.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Unidentifiable Persons",disabled:m,onClick:function(){function v(){return l("authid")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:m,onClick:function(){function v(){return l("authweapon")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:m,onClick:function(){function v(){return l("authwarrant")}return v}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Detain Targets Indefinitely",disabled:m,onClick:function(){function v(){return l("arrtype")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Announce Arrests On Radio",disabled:m,onClick:function(){function v(){return l("arrdeclare")}return v}()})]}),d&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:d,disabled:m,onClick:function(){function v(){return l("ejectpai")}return v}()})})]})})}return y}()},10833:function(T,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),f=function(k,C){var l=k.cell,c=(0,o.useBackend)(C),m=c.act,d=l.cell_id,u=l.occupant,s=l.crimes,i=l.brigged_by,h=l.time_left_seconds,N=l.time_set_seconds,v=l.ref,p="";h>0&&(p+=" BrigCells__listRow--active");var g=function(){m("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:N})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:h})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:g,children:"Release"})})]})},b=function(k){var C=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),C.map(function(l){return(0,e.createComponentVNode)(2,f,{cell:l},l.ref)})]})},y=r.BrigCells=function(){function B(k,C){var l=(0,o.useBackend)(C),c=l.act,m=l.data,d=m.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b,{cells:d})})})})})}return B}()},45761:function(T,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.BrigTimer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var m=[],d=0;for(d=0;dm?this.substring(0,m)+"...":this};var k=function(d,u){var s,i;if(!u)return[];var h=d.findIndex(function(N){return N.name===u.name});return[(s=d[h-1])==null?void 0:s.name,(i=d[h+1])==null?void 0:i.name]},C=function(d,u){u===void 0&&(u="");var s=(0,f.createSearch)(u,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),u&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(d)},l=r.CameraConsole=function(){function m(d,u){var s=(0,b.useBackend)(u),i=s.act,h=s.data,N=s.config,v=h.mapRef,p=h.activeCamera,g=C(h.cameras),V=k(g,p),S=V[0],I=V[1];return(0,e.createComponentVNode)(2,B.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!S,onClick:function(){function L(){return i("switch_camera",{name:S})}return L}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:v,type:"map"}})],4)]})}return m}(),c=r.CameraConsoleContent=function(){function m(d,u){var s=(0,b.useBackend)(u),i=s.act,h=s.data,N=(0,b.useLocalState)(u,"searchText",""),v=N[0],p=N[1],g=h.activeCamera,V=C(h.cameras,v);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function S(I,L){return p(L)}return S}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:V.map(function(S){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",g&&S.name===g.name&&"Button--selected"]),S.name.trimLongStr(23),0,{title:S.name,onClick:function(){function I(){return i("switch_camera",{name:S.name})}return I}()},S.name)})})})]})}return m}()},39222:function(T,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),f=n(25328),b=n(72253),y=n(36036),B=n(98595),k=function(u,s){var i,h;if(!s)return[];var N=u.findIndex(function(v){return v.name===s.name});return[(i=u[N-1])==null?void 0:i.name,(h=u[N+1])==null?void 0:h.name]},C=function(u,s){s===void 0&&(s="");var i=(0,f.createSearch)(s,function(h){return h.name});return(0,t.flow)([(0,a.filter)(function(h){return h==null?void 0:h.name}),s&&(0,a.filter)(i),(0,a.sortBy)(function(h){return h.name})])(u)},l=r.CameraConsole220=function(){function d(u,s){var i=(0,b.useLocalState)(s,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,m);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,B.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:h===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:h===1?1:0,mt:h===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),v(h)]})})})})}return d}(),c=r.CameraConsoleMapContent=function(){function d(u,s){var i=(0,b.useBackend)(s),h=i.act,N=i.data,v=C(N.cameras),p=(0,b.useLocalState)(s,"zoom",1),g=p[0],V=p[1],S=N.mapRef,I=N.activeCamera,L=N.stationLevel,w=N.mapUrl,A=N.selected_z_level,x=k(v,I),E=x[0],M=x[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{flex:"0 0 474px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function j(P){return V(P)}return j}(),mapUrl:w,children:v.filter(function(j){return j.z===(Number(A)||L)}).map(function(j){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:I,x:j.x,y:j.y,context:s,zoom:g,icon:"circle",tooltip:j.name,name:j.name,color:"blue",status:j.status},j.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",m:.1,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),I&&I.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!E,onClick:function(){function j(){return h("switch_camera",{name:E})}return j}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!M,onClick:function(){function j(){return h("switch_camera",{name:M})}return j}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",overflow:"hidden",params:{id:S,type:"map"}})]})]})}return d}(),m=r.CameraConsoleOldContent=function(){function d(u,s){var i=(0,b.useBackend)(s),h=i.act,N=i.data,v=i.config,p=N.mapRef,g=N.activeCamera,V=(0,b.useLocalState)(s,"searchText",""),S=V[0],I=V[1],L=C(N.cameras,S),w=k(L,g),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(M,j){return I(j)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:L.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",g&&E.name===g.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function M(){return h("switch_camera",{name:E.name})}return M}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),g&&g.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return h("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!x,onClick:function(){function E(){return h("switch_camera",{name:x})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:p,type:"map"}})],4)]})}return d}()},52927:function(T,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(49968),b=n(98595),y=r.Canister=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,m=l.data,d=m.portConnected,u=m.tankPressure,s=m.releasePressure,i=m.defaultReleasePressure,h=m.minReleasePressure,N=m.maxReleasePressure,v=m.valveOpen,p=m.name,g=m.canLabel,V=m.colorContainer,S=m.color_index,I=m.hasHoldingTank,L=m.holdingTank,w="";S.prim&&(w=V.prim.options[S.prim].name);var A="";S.sec&&(A=V.sec.options[S.sec].name);var x="";S.ter&&(x=V.ter.options[S.ter].name);var E="";S.quart&&(E=V.quart.options[S.quart].name);var M=[],j=[],P=[],O=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!p.can_close,onClick:function(){function g(){return s("make_job_unavailable",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function g(){return s("make_job_available",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function g(){return s("prioritize_job",{job:p.title})}return g}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,B);break;case 2:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,B):i.modify_name?v=(0,e.createComponentVNode)(2,f.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(g){return s("set",{access:g})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(g){return s("grant_region",{region:g})}return p}(),denyDep:function(){function p(g){return s("deny_region",{region:g})}return p}()}):v=(0,e.createComponentVNode)(2,k);break;case 3:i.authenticated?i.records.length?v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,C):v=(0,e.createComponentVNode)(2,B);break;case 4:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,B):v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function g(){return s("remote_demote",{remote_demote:p.name})}return g}()})})]},p.title)})]})});break;default:v=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:N}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:h}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v})]})})})}return c}()},64083:function(T,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),f=n(36036),b=n(98595),y=n(25328),B=r.CargoConsole=function(){function u(s,i){return(0,e.createComponentVNode)(2,b.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)]})})})}return u}(),k=function(s,i){var h=(0,o.useLocalState)(i,"contentsModal",null),N=h[0],v=h[1],p=(0,o.useLocalState)(i,"contentsModalTitle",null),g=p[0],V=p[1];if(N!==null&&g!==null)return(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,f.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[g,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,f.Box,{children:N.map(function(S){return(0,e.createComponentVNode)(2,f.Box,{children:["- ",S]},S)})}),(0,e.createComponentVNode)(2,f.Box,{m:2,children:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function S(){v(null),V(null)}return S}()})})]})},C=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.is_public,g=v.timeleft,V=v.moving,S=v.at_station,I,L;return!V&&!S?(I="Docked off-station",L="Call Shuttle"):!V&&S?(I="Docked at the station",L="Return Shuttle"):V&&(L="In Transit...",g!==1?I="Shuttle is en route (ETA: "+g+" minutes)":I="Shuttle is en route (ETA: "+g+" minute)"),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Status",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,f.Button,{content:L,disabled:V,onClick:function(){function w(){return N("moveShuttle")}return w}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Central Command Messages",onClick:function(){function w(){return N("showMessages")}return w}()})]})]})})})},l=function(s,i){var h,N=(0,o.useBackend)(i),v=N.act,p=N.data,g=p.accounts,V=(0,o.useLocalState)(i,"selectedAccount"),S=V[0],I=V[1],L=[];return g.map(function(w){return L[w.name]=w.account_UID}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:g.map(function(w){return w.name}),selected:(h=g.filter(function(w){return w.account_UID===S})[0])==null?void 0:h.name,onSelected:function(){function w(A){return I(L[A])}return w}()}),g.filter(function(w){return w.account_UID===S}).map(function(w){return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,f.Stack.Item,{mt:1,children:w.name})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:w.balance})})]},w.account_UID)})]})})},c=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.requests,g=v.categories,V=v.supply_packs,S=(0,o.useSharedState)(i,"category","Emergency"),I=S[0],L=S[1],w=(0,o.useSharedState)(i,"search_text",""),A=w[0],x=w[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],j=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),O=P[0],D=P[1],F=(0,y.createSearch)(A,function(Q){return Q.name}),W=(0,o.useLocalState)(i,"selectedAccount"),U=W[0],$=W[1],K=(0,a.flow)([(0,t.filter)(function(Q){return Q.cat===g.filter(function(J){return J.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(Q){return Q.name.toLowerCase()})])(V),G="Crate Catalogue";return A?G="Results for '"+A+"':":I&&(G="Browsing "+I),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:G,buttons:(0,e.createComponentVNode)(2,f.Dropdown,{width:"190px",options:g.map(function(Q){return Q.name}),selected:I,onSelected:function(){function Q(J){return L(J)}return Q}()}),children:[(0,e.createComponentVNode)(2,f.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Q(J,ue){return x(ue)}return Q}(),mb:1}),(0,e.createComponentVNode)(2,f.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:K.map(function(Q){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{bold:!0,children:[Q.name," (",Q.cost," Credits)"]}),(0,e.createComponentVNode)(2,f.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,f.Button,{content:"Order 1",icon:"shopping-cart",disabled:!U,onClick:function(){function J(){return N("order",{crate:Q.ref,multiple:!1,account:U})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!U||Q.singleton,onClick:function(){function J(){return N("order",{crate:Q.ref,multiple:!0,account:U})}return J}()}),(0,e.createComponentVNode)(2,f.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){j(Q.contents),D(Q.name)}return J}()})]})]},Q.name)})})})]})})},m=function(s,i){var h=s.request,N,v;switch(h.department){case"Engineering":v="CE",N="orange";break;case"Medical":v="CMO",N="teal";break;case"Science":v="RD",N="purple";break;case"Supply":v="CT",N="brown";break;case"Service":v="HOP",N="olive";break;case"Security":v="HOS",N="red";break;case"Command":v="CAP",N="blue";break;case"Assistant":v="Any Head",N="grey";break}return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{mt:.5,children:"Approval Required:"}),!!h.req_cargo_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!h.req_head_approval&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:N,content:v,disabled:h.req_cargo_approval,icon:"user-tie",tooltip:h.req_cargo_approval?"This Order first requires approval from the QM before the "+v+" can approve it":"This Order requires approval from the "+v+" still"})})]})},d=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.requests,g=v.orders,V=v.shipments;return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,f.Table,{children:p.map(function(S){return(0,e.createComponentVNode)(2,f.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,f.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,f.Box,{children:["Order #",S.ordernum,": ",S.supply_type," (",S.cost," credits) for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)," with"," ",S.department?"The "+S.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",S.comment]}),(0,e.createComponentVNode)(2,m,{request:S})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,f.Button,{content:"Approve",color:"green",disabled:!S.can_approve,onClick:function(){function I(){return N("approve",{ordernum:S.ordernum})}return I}()}),(0,e.createComponentVNode)(2,f.Button,{content:"Deny",color:"red",disabled:!S.can_deny,onClick:function(){function I(){return N("deny",{ordernum:S.ordernum})}return I}()})]})]},S.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:g.map(function(S){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",S.ordernum,": ",S.supply_type," for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",S.comment]})]})},S.ordernum)})}),(0,e.createComponentVNode)(2,f.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:V.map(function(S){return(0,e.createComponentVNode)(2,f.Table.Row,{children:(0,e.createComponentVNode)(2,f.Table.Cell,{children:[(0,e.createComponentVNode)(2,f.Box,{children:["- #",S.ordernum,": ",S.supply_type," for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)]}),(0,e.createComponentVNode)(2,f.Box,{italic:!0,children:["Reason: ",S.comment]})]})},S.ordernum)})})]})}},87331:function(T,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ChangelogView=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=(0,a.useLocalState)(B,"onlyRecent",0),m=c[0],d=c[1],u=l.cl_data,s=l.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},h=function(){function N(v){return v in i?i[v]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return N}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:m?"Showing all changes":"Showing changes since last connection",onClick:function(){function N(){return d(!m)}return N}()}),children:u.map(function(N){return!m&&N.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:N.author+" - Merged on "+N.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+N.num,onClick:function(){function v(){return C("open_pr",{pr_number:N.num})}return v}()}),children:N.entries.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[h(v.etype)," ",v.etext]},v)})},N)})})})})}return b}()},36108:function(T,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),f=n(98595),b=[1,5,10,20,30,50],y=[1,5,10],B=r.ChemDispenser=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.chemicals;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:400+h.length*8,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l)]})})})}return c}(),k=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.amount,N=i.energy,v=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:N,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[N," / ",v," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:b.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:h===p,content:p,onClick:function(){function V(){return s("amount",{amount:p})}return V}()})},g)})})})]})})})},C=function(m,d){for(var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.chemicals,N=h===void 0?[]:h,v=[],p=0;p<(N.length+1)%3;p++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[N.map(function(g,V){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:g.title,style:{"margin-left":"2px"},onClick:function(){function S(){return s("dispense",{reagent:g.id})}return S}()},V)}),v.map(function(g,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},V)})]})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.isBeakerLoaded,N=i.beakerCurrentVolume,v=i.beakerMaxVolume,p=i.beakerContents,g=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!h&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[N," / ",v," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!h,onClick:function(){function V(){return s("ejectBeaker")}return V}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:h,beakerContents:g,buttons:function(){function V(S){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:S.id,amount:-1})}return I}()}),y.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function w(){return s("remove",{reagent:S.id,amount:I})}return w}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:S.id,amount:S.volume})}return I}()})],0)}return V}()})})})}},13146:function(T,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(85870),b=n(98595),y=r.ChemHeater=function(){function C(l,c){return(0,e.createComponentVNode)(2,b.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),B=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.targetTemp,i=u.targetTempReached,h=u.autoEject,N=u.isActive,v=u.currentTemp,p=u.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){function g(){return d("toggle_autoeject")}return g}()}),(0,e.createComponentVNode)(2,o.Button,{content:N?"On":"Off",icon:"power-off",selected:N,disabled:!p,onClick:function(){function g(){return d("toggle_on")}return g}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function g(V,S){return d("adjust_temperature",{target:S})}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function g(V){return(0,a.toFixed)(V)+" K"}return g}()})||"\u2014"})]})})})},k=function(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerCurrentVolume,h=u.beakerMaxVolume,N=u.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",h," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function v(){return d("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:s,beakerContents:N})})})}},56541:function(T,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(85870),b=n(3939),y=n(35840),B=["icon"];function k(I,L){if(I==null)return{};var w={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;w[A]=I[A]}return w}function C(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,l(I,L)}function l(I,L){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,A){return w.__proto__=A,w},l(I,L)}var c=[1,5,10],m=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:M.idx,beaker:L.args.beaker})}return j}()})]})})})})},d=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(d||{}),u=r.ChemMaster=function(){function I(L,w){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,S)]})})]})}return I}(),s=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=E.beaker,j=E.beaker_reagents,P=E.buffer_reagents,O=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:O?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:M?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(F,W){return(0,e.createComponentVNode)(2,t.Box,{mb:W0?(0,e.createComponentVNode)(2,f.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function P(O,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(O=P.map(function(D){var F=D.id,W=D.sprite;return(0,e.createComponentVNode)(2,g,{icon:W,translucent:!0,onClick:function(){function U(){return x("set_sprite_style",{production_mode:M,style:F})}return U}(),selected:j===F},F)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:O&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:O})})},S=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=E.loaded_pill_bottle_style,j=E.containerstyles,P=E.loaded_pill_bottle,O={width:"20px",height:"20px"},D=j.map(function(F){var W=F.color,U=F.name,$=M===W;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:O.width,height:O.height},onClick:function(){function K(){return x("set_container_style",{style:W})}return K}(),icon:$&&"check",iconStyle:{position:"relative","z-index":1},tooltip:U,tooltipPosition:"top",children:[!$&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:O.width,height:O.height,"background-color":W,opacity:.6,filter:"alpha(opacity=60)"}})]},W)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return x("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:O.width,height:O.height},icon:"tint-slash",onClick:function(){function F(){return x("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,b.modalRegisterBodyOverride)("analyze",m)},37173:function(T,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(79140),b=1,y=32,B=128,k=r.CloningConsole=function(){function u(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.tab,g=v.has_scanner,V=v.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:g?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:V})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,icon:"home",onClick:function(){function S(){return N("menu",{tab:1})}return S}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===2,icon:"user",onClick:function(){function S(){return N("menu",{tab:2})}return S}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,C)})]})})}return u}(),C=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.tab,p;return v===1?p=(0,e.createComponentVNode)(2,l):v===2&&(p=(0,e.createComponentVNode)(2,c)),p},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.pods,g=v.pod_amount,V=v.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!g&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!g&&p.map(function(S,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,f.resolveAsset)("pod_"+(S.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:V===S.uid,onClick:function(){function L(){return N("select_pod",{uid:S.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!S.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!S.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:S.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:S.biomass,ranges:{good:[2*S.biomass_storage_capacity/3,S.biomass_storage_capacity],average:[S.biomass_storage_capacity/3,2*S.biomass_storage_capacity/3],bad:[0,S.biomass_storage_capacity/3]},minValue:0,maxValue:S.biomass_storage_capacity,children:[S.biomass,"/",S.biomass_storage_capacity+" ("+100*S.biomass/S.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:S.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:S.osseous_reagent})]})})]})},S)})]})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.selected_pod_data,g=v.has_scanned,V=v.scanner_has_patient,S=v.feedback,I=v.scan_successful,L=v.cloning_cost,w=v.has_scanner,A=v.currently_scanning;return(0,e.createComponentVNode)(2,t.Box,{children:[!w&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!w&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function x(){return N("scan")}return x}(),disabled:!V||A,children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function x(){return N("eject")}return x}(),disabled:!V||A,children:"Eject Patient"})]}),children:[!g&&!A&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:V?"No scan detected for current patient.":"No patient is in the scanner."}),(!!g||!!A)&&(0,e.createComponentVNode)(2,t.Box,{color:S.color,children:S.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!g)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("fix_all")}return x}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("fix_none")}return x}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("clone")}return x}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)]})]})})]})]})},m=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.patient_limb_data,g=v.limb_list,V=v.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:g.map(function(S,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[S][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[S][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:V[S][0]+V[S][1],maxValue:p[S][5],ranges:{good:[0,p[S][5]/3],average:[p[S][5]/3,2*p[S][5]/3],bad:[2*p[S][5]/3,p[S][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+V[S][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+V[S][1]]})}),p[S][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[S][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[S][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V[S][3],onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[S][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][0]||p[S][1]),checked:!(V[S][0]||V[S][1]),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&b),checked:!(V[S][2]&b),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&y),checked:!(V[S][2]&y),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&B),checked:!(V[S][2]&B),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},S)})})},d=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.patient_organ_data,g=v.organ_list,V=v.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:g.map(function(S,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[S][3],":"," "]}),p[S][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[S][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V[S][2]&&!V[S][1],onClick:function(){function L(){return N("toggle_organ_repair",{organ:S,type:"replace"})}return L}(),children:"Replace Organ"}),!p[S][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[S][0],checked:!V[S][0],onClick:function(){function L(){return N("toggle_organ_repair",{organ:S,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[S][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!p[S][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[S][3]," is missing!"]}),!p[S][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:V[S][0],maxValue:p[S][4],ranges:{good:[0,p[S][4]/3],average:[p[S][4]/3,2*p[S][4]/3],bad:[2*p[S][4]/3,p[S][4]]},children:"Post-Cloning Damage: "+V[S][0]})]})]})},S)})})}},98723:function(T,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CloningPod=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.biomass,m=l.biomass_storage_capacity,d=l.sanguine_reagent,u=l.osseous_reagent,s=l.organs,i=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*m/3,m],average:[m/3,2*m/3],bad:[0,m/3]},minValue:0,maxValue:m})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function h(N,v){return C("remove_reagent",{reagent:"sanguine_reagent",amount:v})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return C("purge_reagent",{reagent:"sanguine_reagent"})}return h}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function h(N,v){return C("remove_reagent",{reagent:"osseous_reagent",amount:v})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return C("purge_reagent",{reagent:"osseous_reagent"})}return h}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(h){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:h.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function N(){return C("eject_organ",{organ_ref:h.ref})}return N}()})})]},h)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return b}()},18259:function(T,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),b=r.CoinMint=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,m=c.materials,d=c.moneyBag,u=c.moneyBagContent,s=c.moneyBagMaxContent,i=(d?210:138)+Math.ceil(m.length/4)*64;return(0,e.createComponentVNode)(2,f.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!d&&"Need a money bag",disabled:!d,onClick:function(){function h(){return l("activate")}return h}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function h(){return l("ejectMat")}return h}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:m.map(function(h){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,translucent:!0,m:.2,textAlign:"center",selected:h.id===c.chosenMaterial,tooltip:h.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",h.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:h.amount})]}),onClick:function(){function N(){return l("selectMaterial",{material:h.id})}return N}()},h.id)})})]})})}),!!d&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function h(){return l("ejectBag")}return h}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:u,children:[u," / ",s]})})})]})})})}return y}()},8444:function(T,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ColourMatrixTester=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.colour_data,m=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:d.map(function(u){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[u.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[u.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,h){return C("setvalue",{idx:u.idx+1,value:h})}return s}()})]},u.name)})},d)})})})})})}return b}()},63818:function(T,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,d);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},b=r.CommunicationsComputer=function(){function u(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),f(p)]})})})}return u}(),y=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.authenticated,g=v.noauthbutton,V=v.esc_section,S=v.esc_callable,I=v.esc_recallable,L=v.esc_status,w=v.authhead,A=v.is_ai,x=v.lastCallLoc,E=!1,M;return p?p===1?M="Command":p===2?M="Captain":p===3?M="CentComm Officer":p===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:p?"sign-out-alt":"id-card",selected:p,disabled:g,content:p?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return N("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!V&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!S&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!w,onClick:function(){function j(){return N("callshuttle")}return j}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!w||A,onClick:function(){function j(){return N("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},B=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin;return p?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,C)},k=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin,g=v.gamma_armory_location,V=v.admin_levels,S=v.authenticated,I=v.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:V,required_access:p,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!p,onClick:function(){function L(){return N("send_to_cc_announcement_page")}return L}()}),S===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return N("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return N("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return N("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return N("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:g?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return N("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return N("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return N("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,C)})]})},C=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.msg_cooldown,g=v.emagged,V=v.cc_cooldown,S=v.security_level_color,I=v.str_security_level,L=v.levels,w=v.authcapt,A=v.authhead,x=v.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var M=g?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return V>0&&(M+=" ("+V+"s)",j+=" ("+V+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:S,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,m,{levels:L,required_access:w})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!w||p>0,onClick:function(){function P(){return N("announce")}return P}()})}),!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!w||V>0,onClick:function(){function P(){return N("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!w,onClick:function(){function P(){return N("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!w||V>0,onClick:function(){function P(){return N("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!w||V>0,onClick:function(){function P(){return N("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function P(){return N("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function P(){return N("messagelist")}return P}()})})]})})})],4)},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.stat_display,g=v.authhead,V=v.current_message_title,S=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!g,onClick:function(){function w(){return N("setstat",{statdisp:L.name})}return w}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!g,onClick:function(){function w(){return N("setstat",{statdisp:3,alert:L.alert})}return w}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return N("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!g,onClick:function(){function L(){return N("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!g,onClick:function(){function L(){return N("setmsg2")}return L}()})})]})})})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.authhead,g=v.current_message_title,V=v.current_message,S=v.messages,I=v.security_level,L;if(g)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,onClick:function(){function A(){return N("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:V})})});else{var w=S.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!p||g===A.title,onClick:function(){function x(){return N("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!p,onClick:function(){function x(){return N("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return N("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:w})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},m=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=s.levels,g=s.required_access,V=s.use_confirm,S=v.security_level;return V?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!g||I.id===S,tooltip:I.tooltip,onClick:function(){function L(){return N("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!g||I.id===S,tooltip:I.tooltip,onClick:function(){function L(){return N("newalertlevel",{level:I.id})}return L}()},I.name)})},d=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin,g=v.possible_cc_sounds;if(!p)return N("main");var V=(0,a.useLocalState)(i,"subtitle",""),S=V[0],I=V[1],L=(0,a.useLocalState)(i,"text",""),w=L[0],A=L[1],x=(0,a.useLocalState)(i,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(i,"beepsound","Beep"),P=j[0],O=j[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function D(){return N("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:S,onChange:function(){function D(F,W){return I(W)}return D}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:w,onChange:function(){function D(F,W){return A(W)}return D}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function D(){return N("make_cc_announcement",{subtitle:S,text:w,classified:E,beepsound:P})}return D}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:g,selected:P,onSelected:function(){function D(F){return O(F)}return D}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function D(){return N("test_sound",{sound:P})}return D}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function D(){return M(!E)}return D}()})})]})]})})}},20562:function(T,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.CompostBin=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.biomass,m=l.compost,d=l.biomass_capacity,u=l.compost_capacity,s=l.potassium,i=l.potassium_capacity,h=l.potash,N=l.potash_capacity,v=(0,a.useSharedState)(B,"vendAmount",1),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[c," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:m,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[m," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:h,minValue:0,maxValue:N,ranges:{good:[N*.5,1/0],average:[N*.25,N*.5],bad:[-1/0,N*.25]},children:[h," / ",N," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function V(S,I){return g(I)}return V}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:m<25*p,icon:"arrow-circle-down",onClick:function(){function V(){return C("create",{amount:p})}return V}()})})})]})})})}return b}()},21813:function(T,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(73379),b=n(98595);function y(N,v){N.prototype=Object.create(v.prototype),N.prototype.constructor=N,B(N,v)}function B(N,v){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,g){return p.__proto__=g,p},B(N,v)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},C=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function N(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I;S.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):S.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:S.page===1?(0,e.createComponentVNode)(2,d,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:C,finishedTimeout:3e3,onFinished:function(){function x(){return V("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,b.Window,{theme:"syndicate",width:500,height:600,children:[w&&(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,b.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return N}(),c=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.tc_available,L=S.tc_paid_out,w=S.completed_contracts,A=S.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},v,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return V("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:w})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},m=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},v,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return V("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return V("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},d=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.contracts,L=S.contract_active,w=S.can_extract,A=!!L&&I.filter(function(P){return P.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!w||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,f.Countdown,{timeLeft:A.time_left,format:function(){function P(O,D){return" ("+D.substr(3)+")"}return P}()})],onClick:function(){function P(){return V("extract")}return P}()})},v,{children:I.slice().sort(function(P,O){return P.status===1?-1:O.status===1?1:P.status-O.status}).map(function(P){var O;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+P.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return V("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",u(P)]}),(O=P.difficulties)==null?void 0:O.map(function(D,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function W(){return V("activate",{uid:P.uid,difficulty:F+1})}return W}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},u=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,g=v.objective.locs.user_coords,V=v.objective.locs.target_area_id,S=v.objective.locs.target_coords,I=p===V;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(S[1]-g[1],S[0]-g[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.rep,L=S.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(w){return(0,e.createComponentVNode)(2,o.Section,{title:w.name,children:[w.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:w.stock===0?"bad":"good",ml:"0.5rem",children:[w.stock," in stock"]})]},w.uid)})})))},i=function(N){function v(g){var V;return V=N.call(this,g)||this,V.timer=null,V.state={currentIndex:0,currentDisplay:[]},V}y(v,N);var p=v.prototype;return p.tick=function(){function g(){var V=this.props,S=this.state;if(S.currentIndex<=V.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=S.currentDisplay;I.push(V.allMessages[S.currentIndex])}else clearTimeout(this.timer),setTimeout(V.onFinished,V.finishedTimeout)}return g}(),p.componentDidMount=function(){function g(){var V=this,S=this.props.linesPerSecond,I=S===void 0?2.5:S;this.timer=setInterval(function(){return V.tick()},1e3/I)}return g}(),p.componentWillUnmount=function(){function g(){clearTimeout(this.timer)}return g}(),p.render=function(){function g(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(V){return(0,e.createFragment)([V,(0,e.createVNode)(1,"br")],0,V)})})}return g}(),v}(e.Component),h=function(v,p){var g=(0,t.useLocalState)(p,"viewingPhoto",""),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:V}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return S("")}return I}()})]})}},54151:function(T,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ConveyorSwitch=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.slowFactor,m=l.oneWay,d=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:d>0?"forward":d<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!m,onClick:function(){function u(){return C("toggleOneWay")}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function u(){return C("slowFactor",{value:c-5})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function u(){return C("slowFactor",{value:c-1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function u(s){return s+"x"}return u}(),onChange:function(){function u(s,i){return C("slowFactor",{value:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function u(){return C("slowFactor",{value:c+1})}return u}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function u(){return C("slowFactor",{value:c+5})}return u}()})," "]})]})})]})})})})}return b}()},73169:function(T,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),f=n(36036),b=n(36352),y=n(76910),B=n(98595),k=n(96184),C=["color"];function l(h,N){if(h==null)return{};var v={};for(var p in h)if({}.hasOwnProperty.call(h,p)){if(N.includes(p))continue;v[p]=h[p]}return v}var c=function(N,v){return N.dead?"Deceased":parseInt(N.health,10)<=v?"Critical":parseInt(N.stat,10)===1?"Unconscious":"Living"},m=function(N,v){return N.dead?"red":parseInt(N.health,10)<=v?"orange":parseInt(N.stat,10)===1?"blue":"green"},d=r.CrewMonitor=function(){function h(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=(0,o.useLocalState)(v,"tabIndex",V.tabIndex),I=S[0],L=S[1],w=function(){function x(E){L(E),g("set_tab_index",{tab_index:E})}return x}(),A=function(){function x(E){switch(E){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,i);default:return"WE SHOULDN'T BE HERE!"}}return x}();return(0,e.createComponentVNode)(2,B.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"table",selected:I===0,onClick:function(){function x(){return w(0)}return x}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"map-marked-alt",selected:I===1,onClick:function(){function x(){return w(1)}return x}(),children:"Map View"},"MapView")]})}),A(I)]})})})}return h}(),u=function(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=(0,a.sortBy)(function(P){return P.name})(V.crewmembers||[]),I=V.possible_levels,L=V.viewing_current_z_level,w=V.is_advanced,A=V.highlightedNames,x=(0,o.useLocalState)(v,"search",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(P){return P.name+"|"+P.assignment+"|"+P.area});return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function P(O,D){return M(D)}return P}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:w?(0,e.createComponentVNode)(2,f.Dropdown,{mr:"5px",width:"50px",options:I,selected:L,onSelected:function(){function P(O){return g("switch_level",{new_level:O})}return P}()}):null})]}),(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,f.Button,{tooltip:"Clear highlights",icon:"square-xmark",onClick:function(){function P(){return g("clear_highlighted_names")}return P}()})}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Location"})]}),S.filter(j).map(function(P){var O=A.includes(P.name);return(0,e.createComponentVNode)(2,f.Table.Row,{bold:!!P.is_command,children:[(0,e.createComponentVNode)(2,b.TableCell,{children:(0,e.createComponentVNode)(2,k.ButtonCheckbox,{checked:O,tooltip:"Mark on map",onClick:function(){function D(){return g(O?"remove_highlighted_name":"add_highlighted_name",{name:P.name})}return D}()})}),(0,e.createComponentVNode)(2,b.TableCell,{children:[P.name," (",P.assignment,")"]}),(0,e.createComponentVNode)(2,b.TableCell,{children:[(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:m(P,V.critThreshold),children:c(P,V.critThreshold)}),P.sensor_type>=2||V.ignoreSensors?(0,e.createComponentVNode)(2,f.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:P.oxy}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:P.tox}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.burn,children:P.fire}),"|",(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:y.COLORS.damageType.brute,children:P.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,b.TableCell,{children:P.sensor_type===3||V.ignoreSensors?V.isAI||V.isObserver?(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:"location-arrow",content:P.area+" ("+P.x+", "+P.y+")",onClick:function(){function D(){return g("track",{track:P.ref})}return D}()}):P.area+" ("+P.x+", "+P.y+")":(0,e.createComponentVNode)(2,f.Box,{inline:!0,color:"grey",children:"Not Available"})})]},P.name)})]})]})},s=function(N,v){var p=N.color,g=l(N,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.NanoMap.Marker,Object.assign({},g,{children:(0,e.createVNode)(1,"span","highlighted-marker color-border-"+p)})))},i=function(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=V.highlightedNames;return(0,e.createComponentVNode)(2,f.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,f.NanoMap,{zoom:V.zoom,offsetX:V.offsetX,offsetY:V.offsetY,onZoom:function(){function I(L){return g("set_zoom",{zoom:L})}return I}(),onOffsetChange:function(){function I(L,w){return g("set_offset",{offset_x:w.offsetX,offset_y:w.offsetY})}return I}(),children:V.crewmembers.filter(function(I){return I.sensor_type===3||V.ignoreSensors}).map(function(I){var L=m(I,V.critThreshold),w=S.includes(I.name),A=function(){return V.isObserver?g("track",{track:I.ref}):null},x=function(){return g(w?"remove_highlighted_name":"add_highlighted_name",{name:I.name})},E=I.name+" ("+I.assignment+")";return w?(0,e.createComponentVNode)(2,s,{x:I.x,y:I.y,tooltip:E,color:L,onClick:A,onDblClick:x},I.ref):(0,e.createComponentVNode)(2,f.NanoMap.MarkerIcon,{x:I.x,y:I.y,icon:"circle",tooltip:E,color:L,onClick:A,onDblClick:x},I.ref)})})})}},63987:function(T,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],b=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,B)})})})}return C}(),B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isOperating,i=u.hasOccupant,h=u.occupant,N=h===void 0?[]:h,v=u.cellTemperature,p=u.cellTemperatureStatus,g=u.isBeakerLoaded,V=u.cooldownProgress,S=u.auto_eject_healthy,I=u.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return d("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:N.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:N.health,max:N.maxHealth,value:N.health/N.maxHealth,color:N.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b[N.stat][0],children:b[N.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),f.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:N[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return d("ejectBeaker")}return L}(),disabled:!g,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return d(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:v})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!g&&"average",value:V,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:S?"toggle-on":"toggle-off",selected:S,onClick:function(){function L(){return d(S?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:S?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return d(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.isBeakerLoaded,i=u.beakerLabel,h=u.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!h&&"bad",ml:1,children:h?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h,format:function(){function N(v){return Math.round(v)+" units remaining"}return N}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},86099:function(T,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),b=r.CryopodConsole=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.data,d=m.account_name,u=m.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(d||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!u&&(0,e.createComponentVNode)(2,B)]})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),m=c.data,d=m.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:d.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(u,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:u.name,children:u.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},B=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.frozen_items,s=function(h){var N=h.toString();return N.startsWith("the ")&&(N=N.slice(4,N.length)),(0,f.toTitleCase)(N)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:u.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function h(){return m("one_item",{item:i.uid})}return h}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return m("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},12692:function(T,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],B=[5,10,20,30,50],k=r.DNAModifier=function(){function p(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.irradiating,A=L.dnaBlockSize,x=L.occupant;V.dnaBlockSize=A,V.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return w&&(E=(0,e.createComponentVNode)(2,N,{duration:w})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,f.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return p}(),C=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:w,icon:w?"toggle-on":"toggle-off",content:w?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||w,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b[x.stat][0],children:b[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),V.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedMenuKey,A=L.hasOccupant,x=L.occupant;if(A){if(V.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return w==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,d)],4):w==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,d)],4):w==="buffer"?E=(0,e.createComponentVNode)(2,u):w==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,h)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:w===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},j)})}),E]})},c=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,v,{dnaString:E.uniqueIdentity,selectedBlock:w,selectedSubblock:A,blockSize:V.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function M(j){return j.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(j,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},m=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,v,{dnaString:x.structuralEnzymes,selectedBlock:w,selectedSubblock:A,blockSize:V.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},d=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:w,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationIntensity",{value:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationDuration",{value:M})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},u=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.buffers,A=w.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=g.id,A=g.name,x=g.buffer,E=L.isInjectorReady,M=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function j(){return I("bufferOption",{option:"clear",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function j(){return I("bufferOption",{option:"changeLabel",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function j(){return I("bufferOption",{option:"saveDisk",id:w})}return j}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUI",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUIAndUE",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveSE",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"loadDisk",id:w})}return j}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:w,block:1})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"transfer",id:w})}return j}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!w||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:w?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},h=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:w?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[B.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function j(){return I("injectRejuvenators",{amount:E})}return j}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},N=function(g,V){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),g.duration,(0,e.createTextVNode)(" second"),g.duration===1?"":"s"],0)})]})},v=function(g,V){for(var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=g.dnaString,A=g.selectedBlock,x=g.selectedSubblock,E=g.blockSize,M=g.action,j=w.split(""),P=0,O=[],D=function(){for(var U=F/E+1,$=[],K=function(){var J=G+1;$.push((0,e.createComponentVNode)(2,t.Button,{selected:A===U&&x===J,content:j[F+G],mb:"0",onClick:function(){function ue(){return I(M,{block:U,subblock:J})}return ue}()}))},G=0;Gi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function g(){return s("dispatch_ert",{silent:v})}return g}()})})]})})})},C=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:h&&h.length?h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:N.sender_real_name,onClick:function(){function v(){return s("view_player_panel",{uid:N.sender_uid})}return v}(),tooltip:"View player panel"}),children:N.message},(0,f.decodeHtmlEntities)(N.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=(0,a.useLocalState)(d,"text",""),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:N,onChange:function(){function p(g,V){return v(V)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:N})}return p}()})]})})}},90217:function(T,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=r.EconomyManager=function(){function B(k,C){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return B}(),y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"global"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"department_members"})}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function u(){return c("payroll_modification",{mod_type:"crew_member"})}return u}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",d," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function u(){return c("delay_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function u(){return c("set_payroll")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function u(){return c("accelerate_payroll")}return u}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},82565:function(T,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=r.Electropack=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,m=c.power,d=c.code,u=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,f.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"freq"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:u/10,format:function(){function h(N){return(0,a.toFixed)(N,1)}return h}(),width:"80px",onChange:function(){function h(N,v){return l("freq",{freq:v})}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"code"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:d,width:"80px",onChange:function(){function h(N,v){return l("code",{code:v})}return h}()})})]})})})})}return y}()},11243:function(T,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),b=r.Emojipedia=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.data,m=c.emoji_list,d=(0,t.useLocalState)(C,"searchText",""),u=d[0],s=d[1],i=m.filter(function(h){return h.name.toLowerCase().includes(u.toLowerCase())});return(0,e.createComponentVNode)(2,f.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:u,onInput:function(){function h(N,v){return s(v)}return h}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(h){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+h.name]),style:{transform:"scale(1.5)"},tooltip:h.name,onClick:function(){function N(){y(h.name)}return N}()},h.name)})})})})}return B}(),y=function(k){var C=document.createElement("input"),l=":"+k+":";C.value=l,document.body.appendChild(C),C.select(),document.execCommand("copy"),document.body.removeChild(C)}},69784:function(T,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=n(25328),b=r.EmotePanel=function(){function B(k,C){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return B}(),y=r.EmotePanelContent=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.emotes,u=(0,a.useLocalState)(C,"searchText",""),s=u[0],i=u[1],h=(0,a.useLocalState)(C,"filterVisible",""),N=h[0],v=h[1],p=(0,a.useLocalState)(C,"filterAudible",""),g=p[0],V=p[1],S=(0,a.useLocalState)(C,"filterSound",""),I=S[0],L=S[1],w=(0,a.useLocalState)(C,"filterHands",""),A=w[0],x=w[1],E=(0,a.useLocalState)(C,"filterTargettable",""),M=E[0],j=E[1],P=(0,a.useLocalState)(C,"useTarget",""),O=P[0],D=P[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function W(U,$){return i($)}return W}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:N,onClick:function(){function W(){return v(!N)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:g,onClick:function(){function W(){return V(!g)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function W(){return L(!I)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:A,onClick:function(){function W(){return x(!A)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:M,onClick:function(){function W(){return j(!M)}return W}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:O,onClick:function(){function W(){return D(!O)}return W}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:d.filter(function(W){return W.key&&(s.length>0?W.key.toLowerCase().includes(s.toLowerCase())||W.name.toLowerCase().includes(s.toLowerCase()):!0)&&(N?W.visible:!0)&&(g?W.audible:!0)&&(I?W.sound:!0)&&(A?W.hands:!0)&&(M?W.targettable:!0)}).map(function(W){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function U(){return c("play_emote",{emote_key:W.key,useTarget:O})}return U}(),children:[W.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",W.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",W.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",W.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",W.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",W.name]},W.name)})})})})})],4)}return B}()},36730:function(T,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=n(64795),y=n(88510),B=r.EvolutionMenu=function(){function l(c,m){return(0,e.createComponentVNode)(2,f.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)]})})})}return l}(),k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,h=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!h,content:"Readapt",icon:"sync",onClick:function(){function N(){return u("readapt")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.evo_points,h=s.ability_tabs,N=s.purchased_abilities,v=s.view_mode,p=(0,t.useLocalState)(m,"selectedTab",h[0]),g=p[0],V=p[1],S=(0,t.useLocalState)(m,"searchText",""),I=S[0],L=S[1],w=(0,t.useLocalState)(m,"ability_tabs",h[0].abilities),A=w[0],x=w[1],E=function(O,D){if(D===void 0&&(D=""),!O||O.length===0)return[];var F=(0,a.createSearch)(D,function(W){return W.name+"|"+W.description});return(0,b.flow)([(0,y.filter)(function(W){return W==null?void 0:W.name}),(0,y.filter)(F),(0,y.sortBy)(function(W){return W==null?void 0:W.name})])(O)},M=function(O){if(L(O),O==="")return x(g.abilities);x(E(h.map(function(D){return D.abilities}).flat(),O))},j=function(O){V(O),x(O.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(O,D){M(D)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"square-o":"check-square-o",selected:!v,content:"Compact",onClick:function(){function P(){return u("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"check-square-o":"square-o",selected:v,content:"Expanded",onClick:function(){function P(){return u("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:h.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&g===P,onClick:function(){function O(){j(P)}return O}(),children:P.category},P)})}),A.map(function(P,O){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),N.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||N.includes(P.power_path),content:"Evolve",onClick:function(){function D(){return u("purchase",{power_path:P.power_path})}return D}()})})]}),!!v&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},O)})]})})}},17370:function(T,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),f=n(36036),b=n(73379),y=n(98595),B=["id","amount","lineDisplay","onClick"];function k(p,g){if(p==null)return{};var V={};for(var S in p)if({}.hasOwnProperty.call(p,S)){if(g.includes(S))continue;V[S]=p[S]}return V}var C=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function p(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.building,A=L.linked;return A?(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:[(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,d)}),w&&(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m)}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})]})}):(0,e.createComponentVNode)(2,N)}return p}(),m=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.materials,A=L.capacity,x=Object.values(w).reduce(function(E,M){return E+M},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,f.Box,{color:"label",mt:"0.25rem",children:[(x/A*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(E){return(0,e.createComponentVNode)(2,i,{mt:-2,id:E,bold:E==="metal"||E==="glass",onClick:function(){function M(){return I("withdraw",{id:E})}return M}()},E)})})},d=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.curCategory,A=L.categories,x=L.designs,E=L.syncing,M=(0,o.useLocalState)(V,"searchText",""),j=M[0],P=M[1],O=(0,t.createSearch)(j,function($){return $.name}),D=x.filter(O),F=(0,o.useLocalState)(V,"levelsModal",!1),W=F[0],U=F[1];return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,f.Dropdown,{className:"Exofab__dropdown",selected:w,options:A,onSelected:function(){function $(K){return I("category",{cat:K})}return $}()}),buttons:(0,e.createComponentVNode)(2,f.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,f.Button,{icon:"plus",content:"Queue all",onClick:function(){function $(){return I("queueall")}return $}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"info",content:"Show current tech levels",onClick:function(){function $(){return U(!0)}return $}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"unlink",color:"red",tooltip:"Disconnect from R&D network",onClick:function(){function $(){return I("unlink")}return $}()})]}),children:[(0,e.createComponentVNode)(2,f.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function $(K,G){return P(G)}return $}()}),D.map(function($){return(0,e.createComponentVNode)(2,h,{design:$},$.id)}),D.length===0&&(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No designs found."})]})},u=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.building,A=L.buildStart,x=L.buildEnd,E=L.worldTime;return(0,e.createComponentVNode)(2,f.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:A,current:E,end:x,children:(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:["Building ",w,"\xA0(",(0,e.createComponentVNode)(2,b.Countdown,{current:E,timeLeft:x-E,format:function(){function M(j,P){return P.substr(3)}return M}()}),")"]})]})})})},s=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.queue,A=L.processingQueue,x=Object.entries(L.queueDeficit).filter(function(M){return M[1]<0}),E=w.reduce(function(M,j){return M+j.time},0);return(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Button,{selected:A,icon:A?"toggle-on":"toggle-off",content:"Process",onClick:function(){function M(){return I("process")}return M}()}),(0,e.createComponentVNode)(2,f.Button,{disabled:w.length===0,icon:"eraser",content:"Clear",onClick:function(){function M(){return I("unqueueall")}return M}()})]}),children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:w.length===0?(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:w.map(function(M,j){return(0,e.createComponentVNode)(2,f.Box,{color:M.notEnough&&"bad",children:[j+1,". ",M.name,j>0&&(0,e.createComponentVNode)(2,f.Button,{icon:"arrow-up",onClick:function(){function P(){return I("queueswap",{from:j+1,to:j})}return P}()}),j0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,f.Divider),"Processing time:",(0,e.createComponentVNode)(2,f.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,f.Box,{inline:!0,bold:!0,children:new Date(E/10*1e3).toISOString().substr(14,5)})]}),Object.keys(x).length>0&&(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,f.Divider),"Lacking materials to complete:",x.map(function(M){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:M[0],amount:-M[1],lineDisplay:!0})},M[0])})]})],0)})})},i=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=g.id,A=g.amount,x=g.lineDisplay,E=g.onClick,M=k(g,B),j=L.materials[w]||0,P=A||j;if(!(P<=0&&!(w==="metal"||w==="glass"))){var O=A&&A>j;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",x&&"Exofab__material--line"])},M,{children:x?(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{className:(0,a.classes)(["materials32x32",w])}),(0,e.createComponentVNode)(2,f.Stack.Item,{className:"Exofab__material--amount",color:O&&"bad",ml:0,mr:1,children:P.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,f.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,f.Button,{width:"85%",color:"transparent",onClick:E,children:(0,e.createComponentVNode)(2,f.Box,{mt:1,className:(0,a.classes)(["materials32x32",w])})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--name",children:w}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__material--amount",children:[P.toLocaleString("en-US")," cm\xB3 (",Math.round(P/C*10)/10," ","sheets)"]})]})],4)})))}},h=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=g.design;return(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,f.Button,{disabled:w.notEnough||L.building,icon:"cog",content:w.name,onClick:function(){function A(){return I("build",{id:w.id})}return A}()}),(0,e.createComponentVNode)(2,f.Button,{icon:"plus-circle",onClick:function(){function A(){return I("queue",{id:w.id})}return A}()}),(0,e.createComponentVNode)(2,f.Box,{className:"Exofab__design--cost",children:Object.entries(w.cost).map(function(A){return(0,e.createComponentVNode)(2,f.Box,{children:(0,e.createComponentVNode)(2,i,{id:A[0],amount:A[1],lineDisplay:!0})},A[0])})}),(0,e.createComponentVNode)(2,f.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,f.Stack.Item,{children:[(0,e.createComponentVNode)(2,f.Icon,{name:"clock"}),w.time>0?(0,e.createFragment)([w.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})},N=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.controllers;return(0,e.createComponentVNode)(2,y.Window,{children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,f.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,f.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:"Link"})]}),w.map(function(A){return(0,e.createComponentVNode)(2,f.Table.Row,{children:[(0,e.createComponentVNode)(2,f.Table.Cell,{children:A.addr}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:A.net_id}),(0,e.createComponentVNode)(2,f.Table.Cell,{children:(0,e.createComponentVNode)(2,f.Button,{content:"Link",icon:"link",onClick:function(){function x(){return I("linktonetworkcontroller",{target_controller:A.addr})}return x}()})})]},A.addr)})]})})})})},v=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.tech_levels,A=(0,o.useLocalState)(V,"levelsModal",!1),x=A[0],E=A[1];return x?(0,e.createComponentVNode)(2,f.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:(0,e.createComponentVNode)(2,f.Section,{title:"Current tech levels",buttons:(0,e.createComponentVNode)(2,f.Button,{content:"Close",onClick:function(){function M(){E(!1)}return M}()}),children:(0,e.createComponentVNode)(2,f.LabeledList,{children:w.map(function(M){var j=M.name,P=M.level;return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:j,children:P},j)})})})}):null}},59128:function(T,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),b=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.open,u=m.feedback,s=m.occupant,i=m.occupant_name,h=m.occupant_status,N=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var g=function(){function S(){return f.get(h)}return S}(),V=g();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V.color,children:V.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(S){return(0,e.createComponentVNode)(2,t.Button,{icon:b.get(S).icon,content:b.get(S).label,onClick:function(){function I(){return c("experiment",{experiment_type:S})}return I}()},S)})})]})}return p}(),v=N();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){function p(){return c("door")}return p}()}),children:v})]})})}return B}()},97086:function(T,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=0,b=1013,y=function(C){var l="good",c=80,m=95,d=110,u=120;return Cd?l="average":C>u&&(l="bad"),l},B=r.ExternalAirlockController=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.chamber_pressure,s=d.exterior_status,i=d.interior_status,h=d.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(u),value:u,minValue:f,maxValue:b,children:[u," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!h,onClick:function(){function N(){return m("abort")}return N}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:h,onClick:function(){function N(){return m("cycle_ext")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:h,onClick:function(){function N(){return m("cycle_int")}return N}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":h?"yellow":null,onClick:function(){function N(){return m("force_ext")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":h?"yellow":null,onClick:function(){function N(){return m("force_int")}return N}()})]})]})]})})}return k}()},96142:function(T,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FaxMachine=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return C("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return C("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return C("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return C("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return C("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return C("send")}return c}()})})]})})]})})}return b}()},74123:function(T,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.FilingCabinet=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=k.config,m=l.contents,d=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!m&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",d," is empty."]})}),!!m&&m.slice().map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:u.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return C("retrieve",{index:u.index})}return s}()})})]},u)})]})})})})}return b}()},83767:function(T,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=k.icon_state,u=k.direction,s=k.isSelected,i=k.onSelect;return(0,e.createComponentVNode)(2,t.DmIcon,{icon:m.icon,icon_state:d,direction:u,onClick:i,style:{"border-style":s&&"solid"||"none","border-width":"2px","border-color":"orange",padding:s&&"0px"||"2px"}})},b={NORTH:1,SOUTH:2,EAST:4,WEST:8},y=r.FloorPainter=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.availableStyles,u=m.selectedStyle,s=m.selectedDir;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function i(){return c("cycle_style",{offset:-1})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:d,selected:u,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function i(h){return c("select_style",{style:h})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function i(){return c("cycle_style",{offset:1})}return i}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,f,{icon_state:i,isSelected:u===i,onSelect:function(){function h(){return c("select_style",{style:i})}return h}()})},i)})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:[b.NORTH,null,b.SOUTH].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[i+b.WEST,i,i+b.EAST].map(function(h){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:h===null?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,f,{icon_state:u,direction:h,isSelected:h===s,onSelect:function(){function N(){return c("select_direction",{direction:h})}return N}()})},h)})},i)})})})})]})})})}return B}()},53424:function(T,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=function(d){return d?"("+d.join(", ")+")":"ERROR"},y=function(d,u){if(!(!d||!u)){if(d[2]!==u[2])return null;var s=Math.atan2(u[1]-d[1],u[0]-d[0]),i=Math.sqrt(Math.pow(u[1]-d[1],2)+Math.pow(u[0]-d[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},B=r.GPS=function(){function m(d,u){var s=(0,t.useBackend)(u),i=s.data,h=i.emped,N=i.active,v=i.area,p=i.position,g=i.saved;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:h?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),N?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:v,position:p})}),g&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return m}(),k=function(d,u){var s=d.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},C=function(d,u){var s=(0,t.useBackend)(u),i=s.act,h=s.data,N=h.active,v=h.tag,p=h.same_z,g=(0,t.useLocalState)(u,"newTag",v),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:v,onEnter:function(){function I(){return i("tag",{newtag:V})}return I}(),onInput:function(){function I(L,w){return S(w)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===V,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:V})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},l=function(d,u){var s=d.title,i=d.area,h=d.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),b(h)]})})},c=function(d,u){var s=(0,t.useBackend)(u),i=s.data,h=i.position,N=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},d,{children:(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(v){return Object.assign({},v,y(h,v.position))}).map(function(v,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:v.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:v.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:v.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(v.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:v.distance>0?"arrow-right":"circle",rotation:-v.angle}),"\xA0",Math.floor(v.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:b(v.position)})]},p)})})})))}},89124:function(T,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(3939),f=n(98595),b=r.GeneModder=function(){function u(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.has_seed;return(0,e.createComponentVNode)(2,f.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,d,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)]})}),2)]})}return u}(),y=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},B=function(s,i){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.has_seed,g=v.seed,V=v.has_disk,S=v.disk,I,L;return p?I=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+g.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:g.name,onClick:function(){function w(){return N("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return N("variant_name")}return w}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function w(){return N("eject_seed")}return w}()})}),V?L=S.name:L="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:L,tooltip:"Select Empty Disk",onClick:function(){function w(){return N("select_empty_disk")}return w}()})})})]})})},C=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.disk,g=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[g.map(function(V){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:V.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function S(){return N("extract",{id:V.id})}return S}()})})]},V)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function V(){return N("bulk_extract_core")}return V}()})})})]},"Core Genes")},l=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.reagent_genes,p=N.has_reagent;return(0,e.createComponentVNode)(2,m,{title:"Reagent Genes",gene_set:v,do_we_show:p})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.trait_genes,p=N.has_trait;return(0,e.createComponentVNode)(2,m,{title:"Trait Genes",gene_set:v,do_we_show:p})},m=function(s,i){var h=s.title,N=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,V=p.data,S=V.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:h,open:!0,children:v?N.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(S!=null&&S.can_extract),icon:"save",onClick:function(){function L(){return g("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return g("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},h)},d=function(s,i){var h=s.title,N=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,V=p.data,S=V.has_seed,I=V.empty_disks,L=V.stat_disks,w=V.trait_disks,A=V.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return g("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!S,icon:"arrow-circle-down",onClick:function(){function E(){return g("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!S,content:"Replace",onClick:function(){function E(){return g("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[w.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return g("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return g("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},73053:function(T,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),f=r.GenericCrewManifest=function(){function b(y,B){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return b}()},42914:function(T,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GhostHudPanel=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=l.security,m=l.medical,d=l.diagnostic,u=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,b,{label:"Medical",type:"medical",is_active:m}),(0,e.createComponentVNode)(2,b,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,b,{label:"Diagnostic",type:"diagnostic",is_active:d}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,b,{label:"Radioactivity",type:"radioactivity",is_active:u,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,b,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=B.label,m=B.type,d=m===void 0?null:m,u=B.is_active,s=B.act_on,i=s===void 0?"hud_on":s,h=B.act_off,N=h===void 0?"hud_off":h;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:u?"On":"Off",icon:u?"toggle-on":"toggle-off",selected:u,onClick:function(){function v(){return l(u?N:i,{hud_type:d})}return v}()})})]})}},25825:function(T,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GlandDispenser=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.glands,m=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:d.color,content:d.amount||"0",disabled:!d.amount,onClick:function(){function u(){return C("dispense",{gland_id:d.id})}return u}()},d.id)})})})})}return b}()},10270:function(T,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.GravityGen=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.charging_state,m=l.charge_count,d=l.breaker,u=l.ext_power,s=function(){function h(N){return N>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",N===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:u?"good":"bad",children:["[ ",u?"Powered":"Unpowered"," ]"]})}return h}(),i=function(){function h(N){if(N>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"Online":"Offline",color:d?"green":"red",px:1.5,onClick:function(){function h(){return C("breaker")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:u?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:m/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return b}()},48657:function(T,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49148),b=r.GuestPass=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function m(){return l("mode",{mode:0})}return m}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function m(){return l("mode",{mode:1})}return m}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function m(){return l("scan")}return m}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("giv_name")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("reason")}return m}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function m(){return l("duration")}return m}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function m(){return l("issue")}return m}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function m(d){return l("access",{access:d})}return m}(),grantAll:function(){function m(){return l("grant_all")}return m}(),denyAll:function(){function m(){return l("clear_all")}return m}(),grantDep:function(){function m(d){return l("grant_region",{region:d})}return m}(),denyDep:function(){function m(d){return l("deny_region",{region:d})}return m}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function m(){return l("print")}return m}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(m,d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:m},d)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},67834:function(T,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=[1,5,10,20,30,50],b=null,y=r.HandheldChemDispenser=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.amount,i=u.energy,h=u.maxEnergy,N=u.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:h,ranges:{good:[h*.5,1/0],average:[h*.25,h*.5],bad:[-1/0,h*.25]},children:[i," / ",h," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:f.map(function(v,p){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===v,content:v,onClick:function(){function g(){return d("amount",{amount:v})}return g}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function v(){return d("mode",{mode:"dispense"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function v(){return d("mode",{mode:"remove"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function v(){return d("mode",{mode:"isolate"})}return v}()})]})})]})})})},k=function(l,c){for(var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.chemicals,i=s===void 0?[]:s,h=u.current_reagent,N=[],v=0;v<(i.length+1)%3;v++)N.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(p,g){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:h===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function V(){return d("dispense",{reagent:p.id})}return V}()},g)}),N.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},g)})]})})}},46098:function(T,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=r.HealthSensor=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,m=l.data,d=m.on,u=m.user_health,s=m.minHealth,i=m.maxHealth,h=m.alarm_health;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:d?"On":"Off",color:d?null:"red",selected:d,onClick:function(){function N(){return c("scan_toggle")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:h,format:function(){function N(v){return(0,a.toFixed)(v,1)}return N}(),width:"80px",onDrag:function(){function N(v,p){return c("alarm_health",{alarm_health:p})}return N}()})}),u!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(u),bold:u>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:u})})})]})})})})}return B}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},36771:function(T,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Holodeck=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=(0,a.useLocalState)(k,"currentDeck",""),d=m[0],u=m[1],s=(0,a.useLocalState)(k,"showReload",!1),i=s[0],h=s[1],N=c.decks,v=c.ai_override,p=c.emagged,g=function(){function V(S){l("select_deck",{deck:S}),u(S),h(!0),setTimeout(function(){h(!1)},3e3)}return V}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",d]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[N.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:V,selected:V===d,onClick:function(){function S(){return g(V)}return S}()},V)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!v&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function V(){return l("ai_override")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function V(){return l("wildlifecarp")}return V}()})]})})]})]})})]})})]})}return y}(),b=function(B,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},25471:function(T,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=r.Instrument=function(){function l(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,C)]})})]})}return l}(),y=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function h(){return u("help")}return h}()})]})})})},B=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.lines,h=s.playing,N=s.repeat,v=s.maxRepeats,p=s.tempo,g=s.minTempo,V=s.maxTempo,S=s.tickLag,I=s.volume,L=s.minVolume,w=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return u("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return u("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return u("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:h,disabled:i.length===0||N<0,icon:"play",content:"Play",onClick:function(){function x(){return u("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!h,icon:"stop",content:"Stop",onClick:function(){function x(){return u("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:v,value:N,stepPixelSize:59,onChange:function(){function x(E,M){return u("repeat",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:p>=V,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p+S})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=g,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return u("tempo",{new:p-S})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:w,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return u("setvolume",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.allowedInstrumentNames,h=s.instrumentLoaded,N=s.instrument,v=s.canNoteShift,p=s.noteShift,g=s.noteShiftMin,V=s.noteShiftMax,S=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,w=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,M;return S===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function j(P){return(0,a.round)(P*100)/100+" seconds"}return j}(),onChange:function(){function j(P,O){return u("setlinearfalloff",{new:O/10})}return j}()})):S===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(P,O){return u("setexpfalloff",{new:O})}return j}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:w?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:h?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:N,width:"50%",onSelected:function(){function j(P){return u("switchinstrument",{name:P})}return j}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!w&&v)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:g,maxValue:V,value:p,stepPixelSize:2,format:function(){function j(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return j}(),onChange:function(){function j(P,O){return u("setnoteshift",{new:O})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function j(P){return u("setsustainmode",{new:P})}return j}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function j(P,O){return u("setdropoffvolume",{new:O})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function j(){return u("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return u("reset")}return j}()})]})})})},C=function(c,m){var d=(0,t.useBackend)(m),u=d.act,s=d.data,i=s.playing,h=s.lines,N=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!N||i,icon:"plus",content:"Add Line",onClick:function(){function v(){return u("newline",{line:h.length+1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!N,icon:N?"chevron-up":"chevron-down",onClick:function(){function v(){return u("edit")}return v}()})],4),children:!!N&&(h.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:h.map(function(v,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function g(){return u("modifyline",{line:p+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function g(){return u("deleteline",{line:p+1})}return g}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},52736:function(T,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(72253),f=n(36036),b=n(98595),y=r.Jukebox=function(){function C(l,c){var m=(0,o.useBackend)(c),d=m.act,u=m.data,s=u.active,i=u.looping,h=u.track_selected,N=u.volume,v=u.max_volume,p=u.songs,g=u.startTime,V=u.endTime,S=u.worldTime,I=u.need_coin,L=u.payment,w=u.advanced_admin,A=35,x=!L&&I&&!w,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(p),M=p.find(function(F){return F.name===h}),j=E.length,P=M?E.findIndex(function(F){return F.name===M.name})+1:0,O=function(){function F(W){var U=Math.floor(W/60),$=W%60,K=String(U).padStart(2,"0")+":"+String($).padStart(2,"0");return K}return F}(),D=(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[s?i?"\u221E":O(Math.round((S-g)/10)):i?"\u221E":O(M.length)," ","/ ",i?"\u221E":O(M.length)]});return(0,e.createComponentVNode)(2,b.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[x?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack,{children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{bold:!0,maxWidth:"240px",children:M.name.length>A?(0,e.createVNode)(1,"marquee",null,M.name,0):M.name}),(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return d("toggle")}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,f.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!w,tooltip:I&&!w?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:i,onClick:function(){function F(){return d("loop",{looping:!i})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.ProgressBar.Countdown,{start:g,current:i?V:S,end:V,children:D})})]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{children:[s?(0,e.createComponentVNode)(2,B):null,(0,e.createComponentVNode)(2,f.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return d("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return d("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,f.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return d("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,f.Knob,{size:2,color:N<=25?"green":N<=50?"":N<=75?"orange":"red",value:N,unit:"%",minValue:0,maxValue:v,step:1,stepPixelSize:5,onDrag:function(){function F(W,U){return d("set_volume",{volume:U})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,f.Button,{bold:!0,icon:"random",color:"transparent",content:P+"/"+j,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var W=Math.floor(Math.random()*j),U=E[W];d("select_track",{track:U.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,f.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,f.Button,{fluid:!0,selected:M.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:O(F.length)})]}),onClick:function(){function W(){d("select_track",{track:F.name})}return W}()})},F.name)})})})]})})]})}return C}(),B=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,f.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,f.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},13618:function(T,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),f=n(98595),b=n(19203),y=n(51057),B=function(d){return d.key!==a.KEY.Alt&&d.key!==a.KEY.Control&&d.key!==a.KEY.Shift&&d.key!==a.KEY.Escape},k={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},C=3,l=function(d){var u="";if(d.altKey&&(u+="Alt"),d.ctrlKey&&(u+="Ctrl"),d.shiftKey&&!(d.keyCode>=48&&d.keyCode<=57)&&(u+="Shift"),d.location===C&&(u+="Numpad"),B(d))if(d.shiftKey&&d.keyCode>=48&&d.keyCode<=57){var s=d.keyCode-48;u+="Shift"+s}else{var i=d.key.toUpperCase();u+=k[i]||i}return u},c=r.KeyComboModal=function(){function m(d,u){var s=(0,t.useBackend)(u),i=s.act,h=s.data,N=h.init_value,v=h.large_buttons,p=h.message,g=p===void 0?"":p,V=h.title,S=h.timeout,I=(0,t.useLocalState)(u,"input",N),L=I[0],w=I[1],A=(0,t.useLocalState)(u,"binding",!0),x=A[0],E=A[1],M=function(){function O(D){if(!x){D.key===a.KEY.Enter&&i("submit",{entry:L}),(0,a.isEscape)(D.key)&&i("cancel");return}if(D.preventDefault(),B(D)){j(l(D)),E(!1);return}else if(D.key===a.KEY.Escape){j(N),E(!1);return}}return O}(),j=function(){function O(D){D!==L&&w(D)}return O}(),P=130+(g.length>30?Math.ceil(g.length/3):0)+(g.length&&v?5:0);return(0,e.createComponentVNode)(2,f.Window,{title:V,width:240,height:P,children:[S&&(0,e.createComponentVNode)(2,y.Loader,{value:S}),(0,e.createComponentVNode)(2,f.Window.Content,{onKeyDown:function(){function O(D){M(D)}return O}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:x,content:x&&x!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function O(){j(N),E(!0)}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,b.InputButtons,{input:L})})]})]})})]})}return m}()},35655:function(T,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.KeycardAuth=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function d(){return C("triggerevent",{triggerevent:"Red Alert"})}return d}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Emergency Response Team"})}return d}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return d}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return d}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function d(){return C("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return d}(),content:"Revoke"})]})]})})]})});var m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?m=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?m=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(m=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function d(){return C("ert")}return d}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function d(){return C("reset")}return d}()}),children:m})]})})}return b}()},62955:function(T,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(62411),b=r.KitchenMachine=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.data,m=l.config,d=c.ingredients,u=c.operating,s=m.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Operating,{operating:u,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:d.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return B}(),y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.inactive,u=m.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:d,tooltip:d?u:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},9525:function(T,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.LawManager=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.isAdmin,s=d.isSlaved,i=d.isMalf,h=d.isAIMalf,N=d.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(u&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||h)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:N===0,onClick:function(){function v(){return m("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:N===1,onClick:function(){function v(){return m("set_view",{set_view:1})}return v}()})]}),N===0&&(0,e.createComponentVNode)(2,b),N===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.has_zeroth_laws,s=d.zeroth_laws,i=d.has_ion_laws,h=d.ion_laws,N=d.ion_law_nr,v=d.has_inherent_laws,p=d.inherent_laws,g=d.has_supplied_laws,V=d.supplied_laws,S=d.channels,I=d.channel,L=d.isMalf,w=d.isAdmin,A=d.zeroth_law,x=d.ion_law,E=d.inherent_law,M=d.supplied_law,j=d.supplied_law_position;return(0,e.createFragment)([!!u&&(0,e.createComponentVNode)(2,B,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!i&&(0,e.createComponentVNode)(2,B,{title:N,laws:h,ctx:l}),!!v&&(0,e.createComponentVNode)(2,B,{title:"Inherent",laws:p,ctx:l}),!!g&&(0,e.createComponentVNode)(2,B,{title:"Supplied",laws:V,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:S.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function O(){return m("law_channel",{law_channel:P.channel})}return O}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return m("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return m("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(w&&!u)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:j,onClick:function(){function P(){return m("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return m("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return m("add_supplied_law")}return P}()})]})]})]})})],0)},y=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return m("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},B=function(C,l){var c=(0,a.useBackend)(C.ctx),m=c.act,d=c.data,u=d.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:C.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),C.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return m("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return m("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return m("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},85066:function(T,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=r.LibraryComputer=function(){function N(v,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return N}(),y=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function w(){return V("delete_book",{bookid:I.id,user_ckey:L})}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function w(){return(0,f.modalOpen)(p,"report_book",{bookid:I.id})}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function w(){return(0,f.modalOpen)(p,"rate_info",{bookid:I.id})}return w}()})]})},B=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.selected_report,w=S.report_categories,A=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:w.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===L,onClick:function(){function M(){return V("set_report",{report_type:x.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return V("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},k=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.selected_rating,L=Array(10).fill().map(function(w,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(w,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=w?"caution":"default",onClick:function(){function x(){return V("set_rating",{rating_value:w})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},C=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function w(){return V("rate_book",{bookid:I.id,user_ckey:L})}return w}()})]})},l=function(v,p){var g=(0,a.useBackend)(p),V=g.data,S=(0,a.useLocalState)(p,"tabIndex",0),I=S[0],L=S[1],w=V.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),w===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(v,p){var g=(0,a.useLocalState)(p,"tabIndex",0),V=g[0];switch(V){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,u);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,h);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},m=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.searchcontent,L=S.book_categories,w=S.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return V("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return V("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return V("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return V("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return V("find_users_books",{user_ckey:w})}return x}()})]})]})},d=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.external_booklist,L=S.archive_pagenumber,w=S.num_pages,A=S.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function x(){return V("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return V("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,f.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===w,onClick:function(){function x(){return V("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===w,onClick:function(){function x(){return V("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,m),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return V("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,f.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},u=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.programmatic_booklist,L=S.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(w,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),w.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return V("order_programmatic_book",{bookid:w.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,f.modalOpen)(p,"expand_info",{bookid:w.id})}return x}()})]})]},A)})]})})},s=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.selectedbook,L=S.book_categories,w=S.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return V("uploadbook",{user_ckey:w})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return V("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return V("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,f.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return V("reportlost",{libraryid:L.libraryid})}return A}()})})]},w)})]})})},h=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},w)})]})})};(0,f.modalRegisterBodyOverride)("expand_info",y),(0,f.modalRegisterBodyOverride)("report_book",B),(0,f.modalRegisterBodyOverride)("rate_info",C)},9516:function(T,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=r.LibraryManager=function(){function l(c,m){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return l}(),y=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,C);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},B=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,f.modalOpen)(m,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return u("view_reported_books")}return i}()})]})},k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function h(){return u("return")}return h}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),h.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function N(){return u("delete_book",{bookid:h.id})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function N(){return u("unflag_book",{bookid:h.id})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function N(){return u("view_book",{bookid:h.id})}return N}()})]})]},h.id)})]})})},C=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.ckey,h=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function N(){return u("return")}return N}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),h.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),N.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:N.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function v(){return u("delete_book",{bookid:N.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return u("view_book",{bookid:N.id})}return v}()})]})]},N.id)})]})})}},90447:function(T,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),f=n(72253),b=n(92986),y=n(98595),B=r.ListInputModal=function(){function l(c,m){var d=(0,f.useBackend)(m),u=d.act,s=d.data,i=s.items,h=i===void 0?[]:i,N=s.message,v=N===void 0?"":N,p=s.init_value,g=s.timeout,V=s.title,S=(0,f.useLocalState)(m,"selected",h.indexOf(p)),I=S[0],L=S[1],w=(0,f.useLocalState)(m,"searchBarVisible",h.length>10),A=w[0],x=w[1],E=(0,f.useLocalState)(m,"searchQuery",""),M=E[0],j=E[1],P=function(){function G(Q){var J=$.length-1;if(Q===b.KEY_DOWN)if(I===null||I===J){var ue;L(0),(ue=document.getElementById("0"))==null||ue.scrollIntoView()}else{var ie;L(I+1),(ie=document.getElementById((I+1).toString()))==null||ie.scrollIntoView()}else if(Q===b.KEY_UP)if(I===null||I===0){var he;L(J),(he=document.getElementById(J.toString()))==null||he.scrollIntoView()}else{var te;L(I-1),(te=document.getElementById((I-1).toString()))==null||te.scrollIntoView()}}return G}(),O=function(){function G(Q){Q!==I&&L(Q)}return G}(),D=function(){function G(){x(!1),x(!0)}return G}(),F=function(){function G(Q){var J=String.fromCharCode(Q),ue=h.find(function(te){return te==null?void 0:te.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ue){var ie,he=h.indexOf(ue);L(he),(ie=document.getElementById(he.toString()))==null||ie.scrollIntoView()}}return G}(),W=function(){function G(Q){var J;Q!==M&&(j(Q),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return G}(),U=function(){function G(){x(!A),j("")}return G}(),$=h.filter(function(G){return G==null?void 0:G.toLowerCase().includes(M.toLowerCase())}),K=330+Math.ceil(v.length/3);return A||setTimeout(function(){var G;return(G=document.getElementById(I.toString()))==null?void 0:G.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:V,width:325,height:K,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function G(Q){var J=window.event?Q.which:Q.keyCode;(J===b.KEY_DOWN||J===b.KEY_UP)&&(Q.preventDefault(),P(J)),J===b.KEY_ENTER&&(Q.preventDefault(),u("submit",{entry:$[I]})),!A&&J>=b.KEY_A&&J<=b.KEY_Z&&(Q.preventDefault(),F(J)),J===b.KEY_ESCAPE&&(Q.preventDefault(),u("cancel"))}return G}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function G(){return U()}return G}()}),className:"ListInput__Section",fill:!0,title:v,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:$,onClick:O,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,C,{filteredItems:$,onSearch:W,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:$[I]})})]})})})]})}return l}(),k=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onClick,h=c.onFocusSearch,N=c.searchBarVisible,v=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,g){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:g,onClick:function(){function V(){return i(g)}return V}(),onDblClick:function(){function V(S){S.preventDefault(),u("submit",{entry:s[v]})}return V}(),onKeyDown:function(){function V(S){var I=window.event?S.which:S.keyCode;N&&I>=b.KEY_A&&I<=b.KEY_Z&&(S.preventDefault(),h())}return V}(),selected:g===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(V){return V.toUpperCase()})},g)})})},C=function(c,m){var d=(0,f.useBackend)(m),u=d.act,s=c.filteredItems,i=c.onSearch,h=c.searchQuery,N=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function v(p){p.preventDefault(),u("submit",{entry:s[N]})}return v}(),onInput:function(){function v(p,g){return i(g)}return v}(),placeholder:"Search...",value:h})}},77613:function(T,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(P,O){return M("configure",{key:w,value:O,ref:x})}return j}()})},b=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return M("configure",{key:w,value:!A,ref:x})}return j}()})},y=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:w,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},B=function(I,L){var w=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(L),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function P(O){return j("configure",{key:w,value:O,ref:E})}return P}()})},k=function(I,L){var w=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,b,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,B,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",P[x]]})},C=function(I,L){var w=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:w&&A?"bad":"good",children:w&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:w&&M?"bad":"good",bold:!0,children:w&&M?M:0})})]})},l=function(I,L){var w=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?j/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?P:0})})})})]})],4)},c=function(I,L){var w=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,P=I.statusburn,O=I.statustoxin,D=I.statusoxy,F=I.statustemp,W=I.statusnutrition,U=I.statusfingerprints,$=I.statusdna,K=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:w?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:w?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?O/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:O})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:D})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:w?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:w?W:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:w?U:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:w?$:"???"})]})}),!!w&&!!K&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),K.map(function(G){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[G.stage,"/",G.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.cure})]},G.name)})]})})],0)},m={rad_counter:C,health_analyzer:l,status_readout:c},d=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},u=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var w=I.configuration_data,A=I.module_ref,x=Object.keys(w);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var M=w[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:A})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},h=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.malfunctioning,j=x.locked,P=x.open,O=x.selected_module,D=x.complexity,F=x.complexity_max,W=x.wearer_name,U=x.wearer_job,$=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function K(){return A("activate")}return K}()}),children:$}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:j?"lock-open":"lock",content:j?"Unlock":"Lock",onClick:function(){function K(){return A("lock")}return K}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[D," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[W,", ",U]})]})})},N=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.control,j=x.helmet,P=x.chestplate,O=x.gauntlets,D=x.boots,F=x.core,W=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:D||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:W/100,content:W+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},v=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.modules,j=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:j.length!==0&&j.map(function(P){var O=m[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,u),(0,e.normalizeProps)((0,e.createComponentVNode)(2,O,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),P=j[0],O=j[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(D){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:D.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function F(){return O(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.cooldown>0&&D.cooldown/10||"0","/",D.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:D.ref})}return F}(),icon:"bullseye",selected:D.module_active,tooltip:i(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return O(D.ref)}return F}(),icon:"cog",selected:P===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:D.ref})}return F}(),icon:"thumbtack",selected:D.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!D.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:D.description})]})})},D.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},g=r.MODsuitContent=function(){function S(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,d)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,N)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})]})})}return S}(),V=r.MODsuit=function(){function S(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,g)})})})}return S}()},78624:function(T,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=n(3939),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),B=r.MagnetController=function(){function k(C,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.autolink,s=d.code,i=d.frequency,h=d.linkedMagnets,N=d.magnetConfiguration,v=d.path,p=d.pathPosition,g=d.probing,V=d.powerState,S=d.speed;return(0,e.createComponentVNode)(2,f.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[!u&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:g?"spinner":"sync",iconSpin:!!g,disabled:g,onClick:function(){function I(){return m("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:V?"power-off":"times",content:V?"On":"Off",selected:V,onClick:function(){function I(){return m("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:S.value,minValue:S.min,maxValue:S.max,onChange:function(){function I(L,w){return m("set_speed",{speed:w})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var L=I[0],w=I[1],A=w.icon,x=w.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return m("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return m("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,b.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:v.map(function(I,L){var w=y.get(I)||{icon:"question"},A=w.icon,x=w.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return m("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),h.map(function(I,L){var w=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return m("toggle_magnet_power",{id:w})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:N.electricityLevel.min,maxValue:N.electricityLevel.max,onChange:function(){function M(j,P){return m("set_electricity_level",{id:w,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:N.magneticField.min,maxValue:N.magneticField.max,onChange:function(){function M(j,P){return m("set_magnetic_field",{id:w,magneticField:P})}return M}()})})]})},w)})]})]})}return k}()},72106:function(T,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.MechBayConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.recharge_port,m=c&&c.mech,d=m&&m.cell,u=m&&m.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:u?"Mech status: "+u:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return C("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:m.health/m.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!m&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!d&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:d.charge/d.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:d.charge})," / "+d.maxcharge]})})]})})})})}return b}()},7466:function(T,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=n(25328),y=r.MechaControlConsole=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,m=l.data,d=m.beacons,u=m.stored_data;return u.length?(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:u.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,b.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,f.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:d.length&&d.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,b.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return B}()},79625:function(T,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(3939),b=n(98595),y=n(321),B=n(5485),k=n(22091),C={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,f.modalOpen)(A,"edit",{field:x.edit,value:x.value})},m=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:C[E.severity],children:E.severity})]})})})},d=r.MedicalRecords=function(){function w(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,P=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,b.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,B.LoginScreen)})});var O;return P===2?O=(0,e.createComponentVNode)(2,u):P===3?O=(0,e.createComponentVNode)(2,s):P===4?O=(0,e.createComponentVNode)(2,i):P===5?O=(0,e.createComponentVNode)(2,p):P===6?O=(0,e.createComponentVNode)(2,g):P===7&&(O=(0,e.createComponentVNode)(2,V)),(0,e.createComponentVNode)(2,b.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,L),O]})})]})}return w}(),u=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.records,O=(0,t.useLocalState)(x,"searchText",""),D=O[0],F=O[1],W=(0,t.useLocalState)(x,"sortId","name"),U=W[0],$=W[1],K=(0,t.useLocalState)(x,"sortOrder",!0),G=K[0],Q=K[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ue,ie){return F(ie)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,S,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,S,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,S,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,S,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,S,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ue){var ie=G?1:-1;return J[U].localeCompare(ue[U])*ie}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[J.p_stat],onClick:function(){function ue(){return M("view_record",{view_record:J.ref})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,translucent:!0,lineHeight:3,icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,translucent:!0,lineHeight:3,icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,translucent:!0,lineHeight:3,icon:"trash",content:"Delete All Medical Records",onClick:function(){function j(){return M("del_all_med_records")}return j}()})})]})})},i=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical,O=j.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:O?"spinner":"print",disabled:O,iconSpin:!!O,content:"Print Record",ml:"0.5rem",onClick:function(){function D(){return M("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,h)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function D(){return M("new_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,N)})}),(0,e.createComponentVNode)(2,v)],4)],0)},h=function(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.general;return!j||!j.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:j.fields.map(function(P,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function D(){return c(x,P)}return D}()})]},O)})})}),!!j.has_photos&&j.photos.map(function(P,O){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",O+1]},O)})]})},N=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(O,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:O.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(O.value),!!O.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:O.line_break?"1rem":"initial",onClick:function(){function F(){return c(x,O)}return F}()})]},D)})})})})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function O(){return(0,f.modalOpen)(x,"add_comment")}return O}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(O,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:O.header}),(0,e.createVNode)(1,"br"),O.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:D+1})}return F}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.virus,O=(0,t.useLocalState)(x,"searchText",""),D=O[0],F=O[1],W=(0,t.useLocalState)(x,"sortId2","name"),U=W[0],$=W[1],K=(0,t.useLocalState)(x,"sortOrder2",!0),G=K[0],Q=K[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ue,ie){return F(ie)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ue){var ie=G?1:-1;return J[U].localeCompare(ue[U])*ie}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ue(){return M("vir",{vir:J.D})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:C[J.severity],children:J.severity})]},J.id)})]})})})})],4)},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(O){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:O.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:O.delivered,minValue:0,maxValue:O.deliverygoal,ranges:{good:[O.deliverygoal*.5,1/0],average:[O.deliverygoal*.25,O.deliverygoal*.5],bad:[-1/0,O.deliverygoal*.25]},children:[O.delivered," / ",O.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:O.report})]})},O.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},V=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+O.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",O.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[O.area||"Unknown"," (",O.x,", ",O.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.use_beaker?"Reservoir: "+O.total_volume+"/"+O.maximum_volume:"Using internal synthesizer"})]},O.id)})]})})})},S=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder",!0),O=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function U(){M===F?D(!O):(j(F),D(!0))}return U}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder2",!0),O=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function U(){M===F?D(!O):(j(F),D(!0))}return U}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.screen,O=j.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function D(){M("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&O&&!O.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",O.fields[0].value]})]})})};(0,f.modalRegisterBodyOverride)("virus",m)},54989:function(T,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=C.product,s=C.productImage,i=C.productCategory,h=d.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:u.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:u.price>h,icon:"shopping-cart",content:u.price,textAlign:"left",onClick:function(){function N(){return m("purchase",{name:u.name,category:i})}return N}()})})]})},b=function(C,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=m.products,i=m.imagelist,h=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[h[u]].map(function(N){return(0,e.createComponentVNode)(2,f,{product:N,productImage:i[N.path],productCategory:h[u]},N.name)})})},y=r.MerchVendor=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.user_cash,s=d.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return m("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",u!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[u||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,b)]})})]})})})}return k}(),B=function(C,l){var c=(0,a.useBackend)(l),m=c.data,d=(0,a.useLocalState)(l,"tabIndex",1),u=d[0],s=d[1],i=m.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:u===1,onClick:function(){function h(){return s(1)}return h}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:u===2,onClick:function(){function h(){return s(2)}return h}(),children:"Decorations"})]})}},87684:function(T,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=["title","items"];function y(d,u){if(d==null)return{};var s={};for(var i in d)if({}.hasOwnProperty.call(d,i)){if(u.includes(i))continue;s[i]=d[i]}return s}var B={Alphabetical:function(){function d(u,s){return u-s}return d}(),Availability:function(){function d(u,s){return-(u.affordable-s.affordable)}return d}(),Price:function(){function d(u,s){return u.price-s.price}return d}()},k=r.MiningVendor=function(){function d(u,s){return(0,e.createComponentVNode)(2,f.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return d}(),C=function(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.has_id,p=N.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:v,children:v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function g(){return h("logoff")}return g}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.has_id,p=N.id,g=N.items,V=(0,t.useLocalState)(s,"search",""),S=V[0],I=V[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),w=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(S,function(D){return D[0]}),P=!1,O=Object.entries(g).map(function(D,F){var W=Object.entries(D[1]).filter(j).map(function(U){return U[1].affordable=v&&p.points>=U[1].price,U[1]}).sort(B[w]);if(W.length!==0)return E&&(W=W.reverse()),P=!0,(0,e.createComponentVNode)(2,m,{title:D[0],items:W},D[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?O:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(u,s){var i=(0,t.useLocalState)(s,"search",""),h=i[0],N=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],V=(0,t.useLocalState)(s,"descending",!1),S=V[0],I=V[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return N(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(B),width:"100%",onSelected:function(){function L(w){return g(w)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:S?"arrow-down":"arrow-up",height:"21px",tooltip:S?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!S)}return L}()})})]})})},m=function(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=u.title,p=u.items,g=y(u,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(V){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:V.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!N.has_id||N.id.points0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+u+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+m.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:m.filter(function(h){return h.name&&(u.length>0?h.name.toLowerCase().includes(u.toLowerCase())||h.desc.toLowerCase().includes(u.toLowerCase())||h.author.toLowerCase().includes(u.toLowerCase()):!0)}).map(function(h){return(0,e.createComponentVNode)(2,o.Collapsible,{title:h.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:h.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:h.desc})]},h.name)})})})})})],4)}return y}()},59783:function(T,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NTRecruiter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.gamestatus,m=l.cand_name,d=l.cand_birth,u=l.cand_age,s=l.cand_species,i=l.cand_planet,h=l.cand_job,N=l.cand_records,v=l.cand_curriculum,p=l.total_curriculums,g=l.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function V(){return C("start_game")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function V(){return C("instructions")}return V}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function V(){return C("back_to_menu")}return V}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss ",(0,e.createVNode)(1,"b",null,p,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for"," ",(0,e.createVNode)(1,"b",null,"jobs",16)," that they ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",v]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,m,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,u,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,h,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,N,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function V(){return C("dismiss")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function V(){return C("hire")}return V}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:g}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",v-1,"/",p]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function V(){return C("back_to_menu")}return V}()})})]})})})}return b}()},64713:function(T,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(76910),b=n(98595),y=n(3939),B=n(22091),k=["icon","iconSpin","selected","security","onClick","title","children"],C=["name"];function l(I,L){if(I==null)return{};var w={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;w[A]=I[A]}return w}var c=128,m=["security","engineering","medical","science","service","supply"],d={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},u=r.Newscaster=function(){function I(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.is_security,j=E.is_admin,P=E.is_silent,O=E.is_printing,D=E.screen,F=E.channels,W=E.channel_idx,U=W===void 0?-1:W,$=(0,t.useLocalState)(w,"menuOpen",!1),K=$[0],G=$[1],Q=(0,t.useLocalState)(w,"viewingPhoto",""),J=Q[0],ue=Q[1],ie=(0,t.useLocalState)(w,"censorMode",!1),he=ie[0],te=ie[1],q;D===0||D===2?q=(0,e.createComponentVNode)(2,i):D===1&&(q=(0,e.createComponentVNode)(2,h));var ne=F.reduce(function(le,ee){return le+ee.unread},0);return(0,e.createComponentVNode)(2,b.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",K&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function le(){return G(!K)}return le}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:D===0,onClick:function(){function le(){return x("headlines")}return le}(),children:ne>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:ne>=10?"9+":ne})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function le(){return x("jobs")}return le}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(le){return(0,e.createComponentVNode)(2,s,{icon:le.icon,title:le.name,selected:D===2&&F[U-1]===le,onClick:function(){function ee(){return x("channel",{uid:le.uid})}return ee}(),children:le.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:le.unread>=10?"9+":le.unread})},le)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function le(){return(0,y.modalOpen)(w,"wanted_notice")}return le}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:he?"minus-square":"minus-square-o",title:"Censor Mode: "+(he?"On":"Off"),mb:"0.5rem",onClick:function(){function le(){return te(!he)}return le}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function le(){return(0,y.modalOpen)(w,"create_story")}return le}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function le(){return(0,y.modalOpen)(w,"create_channel")}return le}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:O?"spinner":"print",iconSpin:O,title:O?"Printing...":"Print Newspaper",onClick:function(){function le(){return x("print_newspaper")}return le}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function le(){return x("toggle_mute")}return le}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,B.TemporaryNotice),q]})]})})]})}return I}(),s=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=L.icon,M=E===void 0?"":E,j=L.iconSpin,P=L.selected,O=P===void 0?!1:P,D=L.security,F=D===void 0?!1:D,W=L.onClick,U=L.title,$=L.children,K=l(L,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",O&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:W},K,{children:[O&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:U}),$]})))},i=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.screen,j=E.is_admin,P=E.channel_idx,O=E.channel_can_manage,D=E.channels,F=E.stories,W=E.wanted,U=(0,t.useLocalState)(w,"fullStories",[]),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"censorMode",!1),Q=G[0],J=G[1],ue=M===2&&P>-1?D[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!W&&(0,e.createComponentVNode)(2,N,{story:W,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ue?ue.icon:"newspaper",mr:"0.5rem"}),ue?ue.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ie){return!$.includes(ie.uid)&&ie.body.length+3>c?Object.assign({},ie,{body_short:ie.body.substr(0,c-4)+"..."}):ie}).map(function(ie,he){return(0,e.createComponentVNode)(2,N,{story:ie},he)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ue&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Q&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ue.admin&&!j,selected:ue.censored,icon:ue.censored?"comment-slash":"comment",content:ue.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ie(){return x("censor_channel",{uid:ue.uid})}return ie}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!O,icon:"cog",content:"Manage",onClick:function(){function ie(){return(0,y.modalOpen)(w,"manage_channel",{uid:ue.uid})}return ie}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ue.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ue.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ue.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ue.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ie,he){return ie+he.view_count},0).toLocaleString()]})]})})]})},h=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.jobs,j=E.wanted,P=Object.entries(M).reduce(function(O,D){var F=D[0],W=D[1];return O+W.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,N,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?m.map(function(O){return Object.assign({},d[O],{id:O,jobs:M[O]})}).filter(function(O){return!!O&&O.jobs.length>0}).map(function(O){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+O.id]),title:O.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:O.fluff_text}),children:O.jobs.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!D.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",D.title]},D.title)})},O.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},N=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=L.story,j=L.wanted,P=j===void 0?!1:j,O=E.is_admin,D=(0,t.useLocalState)(w,"fullStories",[]),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"censorMode",!1),$=U[0],K=U[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&$&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function G(){return x("censor_story",{uid:M.uid})}return G}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!O&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,f.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,v,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(G,Q){return(0,e.createComponentVNode)(2,o.Box,{children:G||(0,e.createVNode)(1,"br")},Q)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function G(){return W([].concat(F,[M.uid]))}return G}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,w){var A=L.name,x=l(L,C),E=(0,t.useLocalState)(w,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function P(){return j(A)}return P}()},x)))},p=function(L,w){var A=(0,t.useLocalState)(w,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},g=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=!!L.args.uid&&E.channels.filter(function(oe){return oe.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,y.modalClose)(w);return}var j=L.id==="manage_channel",P=!!L.args.is_admin,O=L.args.scanned_user,D=(0,t.useLocalState)(w,"author",(M==null?void 0:M.author)||O||"Unknown"),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"name",(M==null?void 0:M.name)||""),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"description",(M==null?void 0:M.description)||""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"icon",(M==null?void 0:M.icon)||"newspaper"),ie=ue[0],he=ue[1],te=(0,t.useLocalState)(w,"isPublic",j?!!(M!=null&&M.public):!1),q=te[0],ne=te[1],le=(0,t.useLocalState)(w,"adminLocked",(M==null?void 0:M.admin)===1||!1),ee=le[0],re=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function oe(fe,me){return W(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:$,onInput:function(){function oe(fe,me){return K(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Q,onInput:function(){function oe(fe,me){return J(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ie,width:"35%",mr:"0.5rem",onInput:function(){function oe(fe,me){return he(me)}return oe}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ie,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:q,icon:q?"toggle-on":"toggle-off",content:q?"Yes":"No",onClick:function(){function oe(){return ne(!q)}return oe}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ee,icon:ee?"lock":"lock-open",content:ee?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return re(!ee)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||$.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(w,L.id,"",{author:F,name:$.substr(0,49),description:Q.substr(0,128),icon:ie,public:q?1:0,admin_locked:ee?1:0})}return oe}()})]})},V=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.photo,j=E.channels,P=E.channel_idx,O=P===void 0?-1:P,D=!!L.args.is_admin,F=L.args.scanned_user,W=j.slice().sort(function(oe,fe){if(O<0)return 0;var me=j[O-1];if(me.uid===oe.uid)return-1;if(me.uid===fe.uid)return 1}).filter(function(oe){return D||!oe.frozen&&(oe.author===F||!!oe.public)}),U=(0,t.useLocalState)(w,"author",F||"Unknown"),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"channel",W.length>0?W[0].name:""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"title",""),ie=ue[0],he=ue[1],te=(0,t.useLocalState)(w,"body",""),q=te[0],ne=te[1],le=(0,t.useLocalState)(w,"adminLocked",!1),ee=le[0],re=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:$,onInput:function(){function oe(fe,me){return K(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Q,options:W.map(function(oe){return oe.name}),mb:"0",width:"100%",onSelected:function(){function oe(fe){return J(fe)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ie,onInput:function(){function oe(fe,me){return he(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:q,onInput:function(){function oe(fe,me){return ne(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function oe(){return x(M?"eject_photo":"attach_photo")}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ie,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"}),q.split("\n").map(function(oe,fe){return(0,e.createComponentVNode)(2,o.Box,{children:oe||(0,e.createVNode)(1,"br")},fe)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ee,icon:ee?"lock":"lock-open",content:ee?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return re(!ee)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:$.trim().length===0||Q.trim().length===0||ie.trim().length===0||q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(w,"create_story","",{author:$,channel:Q,title:ie.substr(0,127),body:q.substr(0,1023),admin_locked:ee?1:0})}return oe}()})]})},S=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.photo,j=E.wanted,P=!!L.args.is_admin,O=L.args.scanned_user,D=(0,t.useLocalState)(w,"author",(j==null?void 0:j.author)||O||"Unknown"),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"name",(j==null?void 0:j.title.substr(8))||""),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"description",(j==null?void 0:j.body)||""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ie=ue[0],he=ue[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function te(q,ne){return W(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:$,maxLength:"128",onInput:function(){function te(q,ne){return K(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Q,maxLength:"512",rows:"4",onInput:function(){function te(q,ne){return J(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function te(){return x(M?"eject_photo":"attach_photo")}return te}()}),!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ie,icon:ie?"lock":"lock-open",content:ie?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return he(!ie)}return te}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!j,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function te(){x("clear_wanted_notice"),(0,y.modalClose)(w)}return te}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||$.trim().length===0||Q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function te(){(0,y.modalAnswer)(w,L.id,"",{author:F,name:$.substr(0,127),description:Q.substr(0,511),admin_locked:ie?1:0})}return te}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",g),(0,y.modalRegisterBodyOverride)("manage_channel",g),(0,y.modalRegisterBodyOverride)("create_story",V),(0,y.modalRegisterBodyOverride)("wanted_notice",S)},48286:function(T,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=r.Noticeboard=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,m=c.papers;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:m.map(function(d){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function u(){return l("interact",{paper:d.ref})}return u}(),onContextMenu:function(){function u(s){s.preventDefault(),l("showFull",{paper:d.ref})}return u}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:d.name,children:(0,a.decodeHtmlEntities)(d.contents)})},d.ref)})})})})}return y}()},41166:function(T,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.NuclearBomb=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return C("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return C("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return C("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return C("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return C("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return C("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return C("deploy")}return c}()})})})})}return b}()},52416:function(T,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),f=n(72253),b=n(36036),y=n(98595),B=r.NumberInputModal=function(){function C(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.init_value,i=u.large_buttons,h=u.message,N=h===void 0?"":h,v=u.timeout,p=u.title,g=(0,f.useLocalState)(c,"input",s),V=g[0],S=g[1],I=function(){function A(x){x!==V&&S(x)}return A}(),L=function(){function A(x){x!==V&&S(x)}return A}(),w=140+Math.max(Math.ceil(N.length/3),N.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:p,width:270,height:w,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&d("submit",{entry:V}),E===o.KEY_ESCAPE&&d("cancel")}return A}(),children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Box,{color:"label",children:N})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:V,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:V})})]})})})]})}return C}(),k=function(l,c){var m=(0,f.useBackend)(c),d=m.act,u=m.data,s=u.min_value,i=u.max_value,h=u.init_value,N=u.round_value,v=l.input,p=l.onClick,g=l.onChange,V=Math.round(v!==s?Math.max(v/2,s):i/2),S=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!N,minValue:s,maxValue:i,onChange:function(){function I(L,w){return g(w)}return I}(),onEnter:function(){function I(L,w){return d("submit",{entry:w})}return I}(),value:v})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===i,icon:"angle-double-right",onClick:function(){function I(){return p(i)}return I}(),tooltip:v===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:S,icon:"divide",onClick:function(){function I(){return p(V)}return I}(),tooltip:S?"Split":"Split ("+V+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===h,icon:"redo",onClick:function(){function I(){return p(h)}return I}(),tooltip:h?"Reset ("+h+")":"Reset"})})]})}},1218:function(T,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),f=n(36036),b=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],B={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.OperatingComputer=function(){function d(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.hasOccupant,p=N.choice,g;return p?g=(0,e.createComponentVNode)(2,m):g=v?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function V(){return h("choiceOff")}return V}(),children:"Patient"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function V(){return h("choiceOn")}return V}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,scrollable:!0,children:g})})]})})})}return d}(),l=function(u,s){var i=(0,t.useBackend)(s),h=i.data,N=h.occupant;return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Status",color:b[N.stat][0],children:b[N.stat][1]}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(v,p){return(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:v[0]+" Damage",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:"100",value:N[v[1]]/100,ranges:B,children:(0,a.round)(N[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:k[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius),"\xB0C, ",(0,a.round)(N.btFaren),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,f.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Pulse",children:[N.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Section,{title:"Current Procedure",level:"2",children:N.inSurgery?(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Procedure",children:N.surgeryName}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Next Step",children:N.stepName})]}):(0,e.createComponentVNode)(2,f.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,f.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},m=function(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.verbose,p=N.health,g=N.healthAlarm,V=N.oxy,S=N.oxyAlarm,I=N.crit;return(0,e.createComponentVNode)(2,f.LabeledList,{children:[(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,f.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function L(){return h(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,f.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return h(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:g,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return h("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,f.Button,{selected:V,icon:V?"toggle-on":"toggle-off",content:V?"On":"Off",onClick:function(){function L(){return h(V?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,f.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:S,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return h("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,f.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,f.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return h(I?"critOff":"critOn")}return L}()})})]})}},46892:function(T,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=n(35840);function y(i,h){var N=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(N)return(N=N.call(i)).next.bind(N);if(Array.isArray(i)||(N=B(i))||h&&i&&typeof i.length=="number"){N&&(i=N);var v=0;return function(){return v>=i.length?{done:!0}:{done:!1,value:i[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(i,h){if(i){if(typeof i=="string")return k(i,h);var N={}.toString.call(i).slice(8,-1);return N==="Object"&&i.constructor&&(N=i.constructor.name),N==="Map"||N==="Set"?Array.from(i):N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N)?k(i,h):void 0}}function k(i,h){(h==null||h>i.length)&&(h=i.length);for(var N=0,v=Array(h);NN},m=function(h,N){var v=h.name,p=N.name;if(!v||!p)return 0;var g=v.match(C),V=p.match(C);if(g&&V&&v.replace(C,"")===p.replace(C,"")){var S=parseInt(g[1],10),I=parseInt(V[1],10);return S-I}return c(v,p)},d=function(h,N){var v=h.searchText,p=h.source,g=h.title,V=h.color,S=h.sorted,I=p.filter(l(v));return S&&I.sort(m),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:g+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,u,{thing:L,color:V},L.name)})})},u=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.color,V=h.thing;return(0,e.createComponentVNode)(2,o.Button,{color:g,tooltip:V.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,b.classes)(["orbit_job16x16",V.assigned_role_sprite])})," ",V.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function S(){return p("orbit",{ref:V.ref})}return S}(),children:[V.name,V.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",V.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(h,N){for(var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.alive,S=g.antagonists,I=g.highlights,L=g.response_teams,w=g.tourist,A=g.auto_observe,x=g.dead,E=g.ssd,M=g.ghosts,j=g.misc,P=g.npcs,O=(0,t.useLocalState)(N,"searchText",""),D=O[0],F=O[1],W={},U=y(S),$;!($=U()).done;){var K=$.value;W[K.antag]===void 0&&(W[K.antag]=[]),W[K.antag].push(K)}var G=Object.entries(W);G.sort(function(J,ue){return c(J[0],ue[0])});var Q=function(){function J(ue){for(var ie=0,he=[G.map(function(ne){var le=ne[0],ee=ne[1];return ee}),w,I,V,M,E,x,P,j];ie0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:G.map(function(J){var ue=J[0],ie=J[1];return(0,e.createComponentVNode)(2,o.Section,{title:ue+" - ("+ie.length+")",level:2,children:ie.filter(l(D)).sort(m).map(function(he){return(0,e.createComponentVNode)(2,u,{color:"bad",thing:he},he.name)})},ue)})}),I.length>0&&(0,e.createComponentVNode)(2,d,{title:"Highlights",source:I,searchText:D,color:"teal"}),(0,e.createComponentVNode)(2,d,{title:"Response Teams",source:L,searchText:D,color:"purple"}),(0,e.createComponentVNode)(2,d,{title:"Tourists",source:w,searchText:D,color:"violet"}),(0,e.createComponentVNode)(2,d,{title:"Alive",source:V,searchText:D,color:"good"}),(0,e.createComponentVNode)(2,d,{title:"Ghosts",source:M,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"SSD",source:E,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,d,{title:"Dead",source:x,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"NPCs",source:P,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,d,{title:"Misc",source:j,searchText:D,sorted:!1})]})})}return i}()},15421:function(T,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),b=n(9394);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var B=(0,b.createLogger)("OreRedemption"),k=function(h){return h.toLocaleString("en-US")+" pts"},C=r.OreRedemption=function(){function i(h,N){return(0,e.createComponentVNode)(2,f.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m)]})})})}return i}(),l=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.id,S=g.points,I=g.disk,L=Object.assign({},(y(h),h));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:S>0?"good":"grey",bold:S>0&&"good",children:k(S)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function w(){return p("eject_disk")}return w}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function w(){return p("download")}return w}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.sheets,S=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},S,{children:[(0,e.createComponentVNode)(2,d,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),V.map(function(I){return(0,e.createComponentVNode)(2,u,{ore:I},I.id)})]})))})},m=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.alloys,S=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},S,{children:[(0,e.createComponentVNode)(2,d,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),V.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},d=function(h,N){var v;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:h.title}),(v=h.columns)==null?void 0:v.map(function(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},u=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.ore;if(!(g.value&&g.amount<=0&&!(["metal","glass"].indexOf(g.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",g.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:g.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:g.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(g.amount,50),stepPixelSize:6,onChange:function(){function V(S,I){return p(g.value?"sheet":"alloy",{id:g.id,amount:I})}return V}()})})]})})},s=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",g.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:g.amount>=1?"good":"gray",align:"center",children:g.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(g.amount,50),stepPixelSize:6,onChange:function(){function V(S,I){return p(g.value?"sheet":"alloy",{id:g.id,amount:I})}return V}()})})]})})}},52754:function(T,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),b=n(70752),y=function(C){var l;try{l=b("./"+C+".js")}catch(m){if(m.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",C);throw m}var c=l[C];return c||(0,f.routingError)("missingExport",C)},B=r.PAI=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.app_template,s=d.app_icon,i=d.app_title,h=y(u);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,u!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function N(){return m("Back")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function N(){return m("MASTER_back")}return N}()})],4)]}),children:(0,e.createComponentVNode)(2,h)})})})})})}return k}()},85175:function(T,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(71253),b=n(59395),y=function(c){var m;try{m=b("./"+c+".js")}catch(u){if(u.code==="MODULE_NOT_FOUND")return(0,f.routingError)("notFound",c);throw u}var d=m[c];return d||(0,f.routingError)("missingExport",c)},B=r.PDA=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app,h=s.owner;if(!h)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var N=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,N)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,C)})]})})})}return l}(),k=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.idInserted,h=s.idLink,N=s.stationTime,v=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function p(){return u("Authenticate")}return p}(),content:i?h:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function p(){return u("Eject")}return p}(),content:v?["Eject "+v]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:N})]})},C=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function h(){return u("Back")}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function h(){u("Home")}return h}()})})]})})}},68654:function(T,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(49968),b=r.Pacman=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.active,d=c.anchored,u=c.broken,s=c.emagged,i=c.fuel_type,h=c.fuel_usage,N=c.fuel_stored,v=c.fuel_cap,p=c.is_ai,g=c.tmp_current,V=c.tmp_max,S=c.tmp_overheat,I=c.output_max,L=c.power_gen,w=c.output_set,A=c.has_fuel,x=N/v,E=g/V,M=w*L,j=Math.round(N/h),P=Math.round(j/60),O=j>120?P+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(u||!d)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!u&&!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!u&&!!d&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:m,onClick:function(){function D(){return l("toggle_power")}return D}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:w,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function D(F,W){return l("change_power",{change_power:W})}return D}()}),"(",(0,f.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[g," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[S>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),S>20&&S<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),S>1&&S<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),S===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:m||p||!A,onClick:function(){function D(){return l("eject_fuel")}return D}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(N/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[h/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(h?O:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},1701:function(T,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PanDEMIC=function(){function d(u,s){var i=(0,a.useBackend)(s),h=i.data,N=h.beakerLoaded,v=h.beakerContainsBlood,p=h.beakerContainsVirus,g=h.resistances,V=g===void 0?[]:g,S;return N?v?v&&!p&&(S=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):S=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):S=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[S&&!p?(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,b,{fill:!0,vertical:!0}),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:S})}):(0,e.createComponentVNode)(2,k),(V==null?void 0:V.length)>0&&(0,e.createComponentVNode)(2,m,{align:"bottom"})]})})})}return d}(),b=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function p(){return h("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!v,onClick:function(){function p(){return h("destroy_eject_beaker")}return p}()})],4)},y=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.beakerContainsVirus,p=u.strain,g=p.commonName,V=p.description,S=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,w=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!v)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return x&&(g!=null&&g!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return h("print_release_forms",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return h("name_strain",{strain_index:u.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[g!=null?g:"Unknown",M]})}),V&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:V}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:S}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:w!=null?w:"None"})]})},B=function(u,s){var i,h=(0,a.useBackend)(s),N=h.act,v=h.data,p=!!v.synthesisCooldown,g=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function V(){return N("clone_strain",{strain_index:u.strainIndex})}return V}()}),u.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=u.sectionTitle)!=null?i:"Strain Information",buttons:g,children:(0,e.createComponentVNode)(2,y,{strain:u.strain,strainIndex:u.strainIndex})})})},k=function(u,s){var i,h=(0,a.useBackend)(s),N=h.act,v=h.data,p=v.selectedStrainIndex,g=v.strains,V=g[p-1];if(g.length===0)return(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,b),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})});if(g.length===1){var S;return(0,e.createFragment)([(0,e.createComponentVNode)(2,B,{strain:g[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,b)}),((S=g[0].symptoms)==null?void 0:S.length)>0&&(0,e.createComponentVNode)(2,l,{strain:g[0]})],0)}var I=(0,e.createComponentVNode)(2,b);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:g.map(function(L,w){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===w,onClick:function(){function x(){return N("switch_strain",{strain_index:w+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},w)})})}),(0,e.createComponentVNode)(2,B,{strain:V,strainIndex:p}),((i=V.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,l,{className:"remove-section-bottom-padding",strain:V})]})})})},C=function(u){return u.reduce(function(s,i){return s+i},0)},l=function(u){var s=u.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:u.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},h)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],m=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.synthesisCooldown,p=N.beakerContainsVirus,g=N.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:g.map(function(V,S){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[S%c.length],disabled:!!v,onClick:function(){function I(){return h("clone_vaccine",{resistance_index:S+1})}return I}(),mr:"0.5em"}),V]},S)})})})})}},67921:function(T,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ParticleAccelerator=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.assembled,m=l.power,d=l.strength,u=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return C("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:m?"power-off":"times",content:m?"On":"Off",selected:m,disabled:!c,onClick:function(){function s(){return C("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||d===0,onClick:function(){function s(){return C("remove_strength")}return s}(),mr:"4px"}),d,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||d===u,onClick:function(){function s(){return C("add_strength")}return s}(),ml:"4px"})]})]})})})})}return b}()},71432:function(T,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PdaPainter=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.data,d=m.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:d?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,b)})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),m=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function d(){return m("insert_pda")}return d}()})]})})})},y=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,B)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(u).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return m("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+u[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},B=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.current_appearance,s=d.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+u,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return m("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return m("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},33388:function(T,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.PersonalCrafting=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.busy,u=m.category,s=m.display_craftable_only,i=m.display_compact,h=m.prev_cat,N=m.next_cat,v=m.subcategory,p=m.prev_subcat,g=m.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:u,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function V(){return c("toggle_recipes")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function V(){return c("toggle_compact")}return V}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function V(){return c("backwardCat")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function V(){return c("forwardCat")}return V}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function V(){return c("backwardSubCat")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function V(){return c("forwardSubCat")}return V}()})]}),i?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,y)]})]})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:i.ref})}return h}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.display_craftable_only,u=m.can_craft,s=m.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[u.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:i.ref})}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!d&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},56150:function(T,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Photocopier=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:m.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function d(){return c("minus")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function d(){return c("add")}return d}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:m.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.copyitem&&!m.mob,content:m.copyitem?m.copyitem:m.mob?m.mob+"'s ass!":"document",onClick:function(){function d(){return c("removedocument")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!m.folder,content:m.folder?m.folder:"folder",onClick:function(){function d(){return c("removefolder")}return d}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,y)]})})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function u(){return c("copy")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function u(){return c("scandocument")}return u}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function u(){return c("ai_text")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function u(){return c("ai_pic")}return u}()})],4)],0)},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:m.files.map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:m.toner<=0,onClick:function(){function u(){return c("filecopy",{uid:d.uid})}return u}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function u(){return c("deletefile",{uid:d.uid})}return u}()})]})},d.name)})})}},8340:function(T,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(88510),b=n(64795),y=n(25328);function B(m,d){var u=typeof Symbol!="undefined"&&m[Symbol.iterator]||m["@@iterator"];if(u)return(u=u.call(m)).next.bind(u);if(Array.isArray(m)||(u=k(m))||d&&m&&typeof m.length=="number"){u&&(m=u);var s=0;return function(){return s>=m.length?{done:!0}:{done:!1,value:m[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(m,d){if(m){if(typeof m=="string")return C(m,d);var u={}.toString.call(m).slice(8,-1);return u==="Object"&&m.constructor&&(u=m.constructor.name),u==="Map"||u==="Set"?Array.from(m):u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u)?C(m,d):void 0}}function C(m,d){(d==null||d>m.length)&&(d=m.length);for(var u=0,s=Array(d);um?this.substring(0,m)+"...":this};var l=function(d,u){u===void 0&&(u="");var s=(0,y.createSearch)(u,function(i){return i.altername});return(0,b.flow)([(0,f.filter)(function(i){return i==null?void 0:i.altername}),u&&(0,f.filter)(s),(0,f.sortBy)(function(i){return i.id})])(d)},c=r.Photocopier220=function(){function m(d,u){for(var s=(0,a.useBackend)(u),i=s.act,h=s.data,N=h.copies,v=h.maxcopies,p=(0,a.useLocalState)(u,"searchText",""),g=p[0],V=p[1],S=l((0,f.sortBy)(function(P){return P.category})(h.forms||[]),g),I=[],L=B(S),w;!(w=L()).done;){var A=w.value;I.includes(A.category)||I.push(A.category)}var x=(0,a.useLocalState)(u,"number",0),E=x[0],M=x[1],j;return h.category===""?j=S:j=S.filter(function(P){return P.category===h.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:h.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:h.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:h.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":h.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.copyitem&&!h.mob,icon:h.copyitem||h.mob?"eject":"times",content:h.copyitem?h.copyitem:h.mob?"\u0416\u043E\u043F\u0430 "+h.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function P(){return i("removedocument")}return P}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.folder,icon:h.folder?"eject":"times",content:h.folder?h.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function P(){return i("removefolder")}return P}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:h.toner===0||h.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function P(){return i("print_form")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:h.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function P(){return i("ai_pic")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:h.toner===0||!h.copyitem&&!h.mob,onClick:function(){function P(){return i("copy")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:h.toner===0,onClick:function(){function P(){return i("ai_text")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:v,value:N,stepPixelSize:10,onChange:function(){function P(O,D){return i("copies",{new:D})}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!h.category,onClick:function(){function P(){return i("choose_category",{category:""})}return P}()})}),I.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:P,selected:h.category===P,onClick:function(){function O(){return i("choose_category",{category:P})}return O}()},P)},P)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function P(O,D){return V(D)}return P}()}),children:j.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:P.altername.trimLongStr(37),tooltip:P.altername,selected:h.form_id===P.id,onClick:function(){function O(){return i("choose_form",{path:P.path,id:P.id})}return O}()})},P.path)})})})]})})})}return m}()},84676:function(T,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=["tempKey"];function b(C,l){if(C==null)return{};var c={};for(var m in C)if({}.hasOwnProperty.call(C,m)){if(l.includes(m))continue;c[m]=C[m]}return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},B=function(l,c){var m=l.tempKey,d=b(l,f),u=y[m];if(!u)return null;var s=(0,a.useBackend)(c),i=s.data,h=s.act,N=i.currentTemp,v=u.label,p=u.icon,g=m===N,V=function(){h("setTemp",{temp:m})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:g,onClick:V},d,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},k=r.PoolController=function(){function C(l,c){for(var m=(0,a.useBackend)(c),d=m.data,u=d.emagged,s=d.currentTemp,i=y[s]||y.normal,h=i.label,N=i.color,v=[],p=0,g=Object.entries(y);p50?"battery-half":"battery-quarter")||N==="C"&&"bolt"||N==="F"&&"battery-full"||N==="M"&&"slash",color:N==="N"&&(v>50?"yellow":"red")||N==="C"&&"yellow"||N==="F"&&"green"||N==="M"&&"orange"}),(0,e.createComponentVNode)(2,B.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(v)+"%"})],4)};u.defaultHooks=f.pureComponentHooks;var s=function(h){var N,v,p=h.status;switch(p){case"AOn":N=!0,v=!0;break;case"AOff":N=!0,v=!1;break;case"On":N=!1,v=!0;break;case"Off":N=!1,v=!1;break}var g=(v?"On":"Off")+(" ["+(N?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,B.ColorBox,{color:v?"good":"bad",content:N?void 0:"M",title:g})};s.defaultHooks=f.pureComponentHooks},50992:function(T,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),f=n(3939),b=n(321),y=n(5485),B=n(98595),k=r.PrisonerImplantManager=function(){function C(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.loginState,i=u.prisonerInfo,h=u.chemicalInfo,N=u.trackingInfo,v;if(!s.logged_in)return(0,e.createComponentVNode)(2,B.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,B.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function g(){return d("id_card")}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function g(){return d("reset_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function g(){return(0,f.modalOpen)(c,"set_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:N.map(function(g){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",g.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:g.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:g.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function V(){return(0,f.modalOpen)(c,"warn",{uid:g.uid})}return V}()})})]})]},g.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:h.map(function(g){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",g.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:g.volume})}),p.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:g.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:!0,title:g.name,dmIcon:g.icon,dmIconState:g.icon_state,buttonsAlt:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{bold:!0,translucent:!0,fontSize:1.5,tooltip:V&&"Not enough tickets",disabled:V,onClick:function(){function S(){return C("purchase",{purchase:g.itemID})}return S}(),children:[g.cost,(0,e.createComponentVNode)(2,t.Icon,{m:0,mt:.25,name:"ticket",color:V?"bad":"good",size:1.6})]}),children:g.desc},g.name)})})})})})})}return b}()},94813:function(T,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(3939),b=n(49148),y=r.RCD=function(){function d(u,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,f.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return d}(),B=function(u,s){var i=(0,a.useBackend)(s),h=i.data,N=h.matter,v=h.max_matter,p=v*.7,g=v*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[p,1/0],average:[g,p],bad:[-1/0,g]},value:N,maxValue:v,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:N+" / "+v+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,C,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,C,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,C,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,C,{mode_type:"Deconstruction"})]})})})},C=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=u.mode_type,p=N.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:v,selected:p===v?1:0,onClick:function(){function g(){return h("mode",{mode:v})}return g}()})})},l=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.door_name,p=N.electrochromic,g=N.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,v,0)],0),onClick:function(){function V(){return(0,f.modalOpen)(s,"renameAirlock")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:g===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function V(){return h("electrochromic")}return V}()})})]})})})},c=function(u,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.tab,p=N.locked,g=N.one_access,V=N.selected_accesses,S=N.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:v===1,onClick:function(){function I(){return h("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,icon:"list",onClick:function(){function I(){return h("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m,{check_number:1})})]})}):v===2&&p?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return h("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,b.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return h("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function I(){return h("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,width:4,content:"All",onClick:function(){function I(){return h("set_one_access",{access:"all"})}return I}()})],4),accesses:S,selectedList:V,accessMod:function(){function I(L){return h("set",{access:L})}return I}(),grantAll:function(){function I(){return h("grant_all")}return I}(),denyAll:function(){function I(){return h("clear_all")}return I}(),grantDep:function(){function I(L){return h("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return h("deny_region",{region:L})}return I}()})})],4)},m=function(u,s){for(var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.door_types_ui_list,p=N.door_type,g=u.check_number,V=[],S=0;Sf?w=(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"There are new messages"}):w=(0,e.createComponentVNode)(2,t.Box,{color:"label",mb:1,children:"There are no new messages"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,e.createComponentVNode)(2,t.Button,{width:9,content:L?"Speaker Off":"Speaker On",selected:!L,icon:L?"volume-mute":"volume-up",onClick:function(){function A(){return g("toggleSilent")}return A}()}),children:[w,(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"View Messages",icon:S>f?"envelope-open-text":"envelope",onClick:function(){function A(){return g("setScreen",{setScreen:6})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Assistance",icon:"hand-paper",onClick:function(){function A(){return g("setScreen",{setScreen:1})}return A}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Supplies",icon:"box",onClick:function(){function A(){return g("setScreen",{setScreen:2})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function A(){return g("setScreen",{setScreen:11})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Relay Anonymous Information",icon:"comment",onClick:function(){function A(){return g("setScreen",{setScreen:3})}return A}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Print Shipping Label",icon:"tag",onClick:function(){function A(){return g("setScreen",{setScreen:9})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function A(){return g("setScreen",{setScreen:10})}return A}()})]})}),!!I&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function A(){return g("setScreen",{setScreen:8})}return A}()})})]})})},l=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.department,I=[],L;switch(N.purpose){case"ASSISTANCE":I=V.assist_dept,L="Request assistance from another department";break;case"SUPPLIES":I=V.supply_dept,L="Request supplies from another department";break;case"INFO":I=V.info_dept,L="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:L,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function w(){return g("setScreen",{setScreen:0})}return w}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:I.filter(function(w){return w!==S}).map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function A(){return g("writeInput",{write:w,priority:y})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function A(){return g("writeInput",{write:w,priority:B})}return A}()})]},w)})})})})},c=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S;switch(N.type){case"SUCCESS":S="Message sent successfully";break;case"FAIL":S="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:S,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function I(){return g("setScreen",{setScreen:0})}return I}()})})},m=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S,I;switch(N.type){case"MESSAGES":S=V.message_log,I="Message Log";break;case"SHIPPING":S=V.shipping_log,I="Shipping label print log";break}return S.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:I,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()}),children:S.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[L.map(function(w,A){return(0,e.createVNode)(1,"div",null,w,0,null,A)}),(0,e.createVNode)(1,"hr")]},L)})})})},d=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.recipient,I=V.message,L=V.msgVerified,w=V.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function A(){return g("setScreen",{setScreen:0})}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:w})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function A(){return g("department",{department:S})}return A}()})})})],4)},u=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.message,I=V.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function L(){return g("writeAnnouncement")}return L}()})],4),children:S})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[I?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(I&&S),onClick:function(){function L(){return g("sendAnnouncement")}return L}()})]})})],4)},s=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.shipDest,I=V.msgVerified,L=V.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function w(){return g("setScreen",{setScreen:0})}return w}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:I})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(S&&I),onClick:function(){function w(){return g("printLabel")}return w}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:L.map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:S===w?"Selected":"Select",selected:S===w,onClick:function(){function A(){return g("shipSelect",{shipSelect:w})}return A}()})},w)})})})})],4)},i=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.secondaryGoalAuth,I=V.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[I?S?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(S&&I),onClick:function(){function L(){return g("requestSecondaryGoal")}return L}()})]})})],4)}},9861:function(T,r,n){"use strict";r.__esModule=!0,r.RndBackupConsole=r.LinkMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.RndBackupConsole=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.network_name,d=c.has_disk,u=c.disk_name,s=c.linked,i=c.techs,h=c.last_timestamp;return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Device Info",children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Network",children:s?(0,e.createComponentVNode)(2,t.Button,{content:m,icon:"unlink",selected:1,onClick:function(){function N(){return l("unlink")}return N}()}):"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Loaded Disk",children:d?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:u+" (Last backup: "+h+")",icon:"save",selected:1,onClick:function(){function N(){return l("eject_disk")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Save all",onClick:function(){function N(){return l("saveall2disk")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Load all",onClick:function(){function N(){return l("saveall2network")}return N}()})],4):"None"})]})}),!!s||(0,e.createComponentVNode)(2,b)]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Section,{title:"Tech Info",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Tech Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Level"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Disk Level"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),Object.keys(i).map(function(N){return!(i[N].network_level>0||i[N].disk_level>0)||(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].network_level||"None"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].disk_level||"None"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Load to network",disabled:!d||!s,onClick:function(){function v(){return l("savetech2network",{tech:N})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Load to disk",disabled:!d||!s,onClick:function(){function v(){return l("savetech2disk",{tech:N})}return v}()})]})]},N)})]})})})]})})}return y}(),b=r.LinkMenu=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.controllers;return(0,e.createComponentVNode)(2,t.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function u(){return l("linktonetworkcontroller",{target_controller:d.addr})}return u}()})})]},d.addr)})]})})}return y}()},37556:function(T,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o="design",f="tech",b=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,i=u.disk_data;return i?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:i.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:i.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function h(){return s("updt_tech")}return h}()})})]}):null},y=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,i=u.disk_data;if(!i)return null;var h=i.name,N=i.lathe_types,v=i.materials,p=N.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h}),p?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:p}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,g.name,0,{style:{"text-transform":"capitalize"}})," x ",g.amount]},g.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function g(){return s("updt_design")}return g}()})})]})},B=function(c,m){var d=(0,a.useBackend)(m),u=d.act,s=d.data,i=s.disk_data;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Section,Object.assign({buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Erase",icon:"eraser",disabled:!i,onClick:function(){function h(){return u("erase_disk")}return h}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",icon:"eject",onClick:function(){function h(){u("eject_disk")}return h}()})],4)},c)))},k=function(c,m){var d=(0,a.useBackend)(m),u=d.data,s=d.act,i=u.disk_type,h=u.to_copy,N=c.title;return(0,e.createComponentVNode)(2,B,{title:N,children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.sort(function(v,p){return v.name.localeCompare(p.name)}).map(function(v){var p=v.name,g=v.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:p,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function V(){i===f?s("copy_tech",{id:g}):s("copy_design",{id:g})}return V}()})},g)})})})})},C=r.DataDiskMenu=function(){function l(c,m){var d=(0,a.useBackend)(m),u=d.data,s=u.disk_type,i=u.disk_data;if(!s)return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",children:"No disk loaded."});switch(s){case o:return i?(0,e.createComponentVNode)(2,B,{title:"Design Disk",children:(0,e.createComponentVNode)(2,y)}):(0,e.createComponentVNode)(2,k,{title:"Design Disk"});case f:return i?(0,e.createComponentVNode)(2,B,{title:"Technology Disk",children:(0,e.createComponentVNode)(2,b)}):(0,e.createComponentVNode)(2,k,{title:"Technology Disk"});default:return(0,e.createFragment)([(0,e.createTextVNode)("UNRECOGNIZED DISK TYPE")],4)}}return l}()},58147:function(T,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=r.DeconstructionMenu=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.data,c=C.act,m=l.tech_levels,d=l.loaded_item,u=l.linked_destroy;return u?d?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Object Analysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Deconstruct",icon:"microscope",onClick:function(){function s(){c("deconstruct")}return s}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Eject",icon:"eject",onClick:function(){function s(){c("eject_item")}return s}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:d.name})})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Current Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Object Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"New Level"})]}),m.map(function(s){return(0,e.createComponentVNode)(2,b,{techLevel:s},s.id)})]})})],4):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return y}(),b=function(B,k){var C=B.techLevel,l=C.name,c=C.desc,m=C.level,d=C.object_level,u=C.ui_icon,s=d!=null,i=s&&d>=m?Math.max(d,m+1):m;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:c})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:u})," ",l]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:m}),s?(0,e.createComponentVNode)(2,o.Table.Cell,{children:d}):(0,e.createComponentVNode)(2,o.Table.Cell,{className:"research-level-no-effect",children:"-"}),(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)([i!==m&&"upgraded-level"]),children:i})]})}},16830:function(T,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),f=r.LatheCategory=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.data,l=k.act,c=C.category,m=C.matching_designs,d=C.menu,u=d===4,s=u?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:m.map(function(i){var h=i.id,N=i.name,v=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:N,disabled:v<1,onClick:function(){function g(){return l(s,{id:h,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return l(s,{id:h,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return l(s,{id:h,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(g){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",g.is_red?"color-red":null,[g.amount,(0,e.createTextVNode)(" "),g.name],0)],0)})})]},h)})})]})}return b}()},70497:function(T,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data,C=B.act,l=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function m(){var d=c?"disposeallP":"disposeallI";C(d)}return m}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(m){var d=m.volume,u=m.name,s=m.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+d+" of "+u,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var h=c?"disposeP":"disposeI";C(h,{id:s})}return i}()})},s)})})]})}return f}()},70864:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),f=n(68198),b=r.LatheMainMenu=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=C.act,m=l.menu,d=l.categories,u=m===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:u+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,f.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:s,onClick:function(){function i(){c("setCategory",{category:s})}return i}()})},s)})})]})}return y}()},42878:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data,C=B.act,l=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var m=c.id,d=c.amount,u=c.name,s=function(){function v(p){var g=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";C(g,{id:m,amount:p})}return v}(),i=Math.floor(d/2e3),h=d<1,N=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:h?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",d," of ",u]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",N,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function v(){return s(1)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function v(){return s("custom")}return v}()}),d>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function v(){return s(5)}return v}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function v(){return s(50)}return v}()})],0):null})]},m)})})})}return f}()},52662:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data,C=k.total_materials,l=k.max_materials,c=k.max_chemicals,m=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:m}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return f}()},9681:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(12644),f=n(70864),b=n(16830),y=n(42878),B=n(70497),k=["menu"];function C(u,s){if(u==null)return{};var i={};for(var h in u)if({}.hasOwnProperty.call(u,h)){if(s.includes(h))continue;i[h]=u[h]}return i}var l=t.Tabs.Tab,c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.menu===o.MENU.LATHE?["nav_protolathe",v.submenu_protolathe]:["nav_imprinter",v.submenu_imprinter],g=p[0],V=p[1],S=s.menu,I=C(s,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,l,Object.assign({selected:V===S,onClick:function(){function L(){return N(g,{menu:S})}return L}()},I)))},m=function(s){switch(s){case o.PRINTER_MENU.MAIN:return(0,e.createComponentVNode)(2,f.LatheMainMenu);case o.PRINTER_MENU.SEARCH:return(0,e.createComponentVNode)(2,b.LatheCategory);case o.PRINTER_MENU.MATERIALS:return(0,e.createComponentVNode)(2,y.LatheMaterialStorage);case o.PRINTER_MENU.CHEMICALS:return(0,e.createComponentVNode)(2,B.LatheChemicalStorage)}},d=r.LatheMenu=function(){function u(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.menu,p=N.linked_lathe,g=N.linked_imprinter;return v===o.MENU.LATHE&&!p?(0,e.createComponentVNode)(2,t.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):v===o.MENU.IMPRINTER&&!g?(0,e.createComponentVNode)(2,t.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MAIN,icon:"bars",children:"Main Menu"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MATERIALS,icon:"layer-group",children:"Materials"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.CHEMICALS,icon:"flask-vial",children:"Chemicals"})]}),m(N.menu===o.MENU.LATHE?N.submenu_protolathe:N.submenu_imprinter)]})}return u}()},68198:function(T,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function C(l,c){return k("search",{to_search:c})}return C}()})})}return f}()},81421:function(T,r,n){"use strict";r.__esModule=!0,r.LinkMenu=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=r.LinkMenu=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.controllers;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Link"})]}),c.map(function(m){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:m.addr}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:m.net_id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Link",icon:"link",onClick:function(){function d(){return C("linktonetworkcontroller",{target_controller:m.addr})}return d}()})})]},m.addr)})]})})})})}return b}()},6256:function(T,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.SettingsMenu=function(){function y(B,k){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,b)]})}return y}(),f=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.sync,d=c.admin;return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:(0,e.createComponentVNode)(2,t.Button,{color:"red",icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function u(){l("unlink")}return u}()})})})},b=function(B,k){var C=(0,a.useBackend)(k),l=C.data,c=C.act,m=l.linked_destroy,d=l.linked_lathe,u=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Section,{title:"Linked Devices",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function s(){return c("find_device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!m,content:m?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"destroy"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!d,content:d?"Unlink":"Undetected",onClick:function(){function s(){c("disconnect",{item:"lathe"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!u,content:u?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"imprinter"})}return s}()})})]})})}},12644:function(T,r,n){"use strict";r.__esModule=!0,r.RndConsole=r.PRINTER_MENU=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),f=n(35840),b=n(37556),y=n(9681),B=n(81421),k=n(6256),C=n(58147),l=["menu"];function c(p,g){if(p==null)return{};var V={};for(var S in p)if({}.hasOwnProperty.call(p,S)){if(g.includes(S))continue;V[S]=p[S]}return V}var m=o.Tabs.Tab,d=r.MENU={MAIN:0,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},u=r.PRINTER_MENU={MAIN:0,SEARCH:1,MATERIALS:2,CHEMICALS:3},s=function(g){switch(g){case d.MAIN:return(0,e.createComponentVNode)(2,v);case d.DISK:return(0,e.createComponentVNode)(2,b.DataDiskMenu);case d.DESTROY:return(0,e.createComponentVNode)(2,C.DeconstructionMenu);case d.LATHE:case d.IMPRINTER:return(0,e.createComponentVNode)(2,y.LatheMenu);case d.SETTINGS:return(0,e.createComponentVNode)(2,k.SettingsMenu);default:return"UNKNOWN MENU"}},i=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.menu,A=g.menu,x=c(g,l);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({selected:w===A,onClick:function(){function E(){return I("nav",{menu:A})}return E}()},x)))},h=r.RndConsole=function(){function p(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data;if(!L.linked)return(0,e.createComponentVNode)(2,B.LinkMenu);var w=L.menu,A=L.linked_destroy,x=L.linked_lathe,E=L.linked_imprinter,M=L.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,i,{icon:"flask",menu:d.MAIN,children:"Research"}),!!A&&(0,e.createComponentVNode)(2,i,{icon:"microscope",menu:d.DESTROY,children:"Analyze"}),!!x&&(0,e.createComponentVNode)(2,i,{icon:"print",menu:d.LATHE,children:"Protolathe"}),!!E&&(0,e.createComponentVNode)(2,i,{icon:"memory",menu:d.IMPRINTER,children:"Imprinter"}),(0,e.createComponentVNode)(2,i,{icon:"floppy-disk",menu:d.DISK,children:"Disk"}),(0,e.createComponentVNode)(2,i,{icon:"cog",menu:d.SETTINGS,children:"Settings"})]}),s(w),(0,e.createComponentVNode)(2,N)]})})})}return p}(),N=function(g,V){var S=(0,a.useBackend)(V),I=S.data,L=I.wait_message;return L?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:L})})}):null},v=function(g,V){var S=(0,a.useBackend)(V),I=S.data,L=I.tech_levels;return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Level"})]}),L.map(function(w){var A=w.id,x=w.name,E=w.desc,M=w.level,j=w.ui_icon;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:E})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:j})," ",x]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M})]},A)})]})})}},29205:function(T,r,n){"use strict";r.__esModule=!0,r.RndNetController=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=r.RndNetController=function(){function k(C,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.ion,s=(0,t.useLocalState)(l,"mainTabIndex",0),i=s[0],h=s[1],N=function(){function v(p){switch(p){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,B);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return v}();return(0,e.createComponentVNode)(2,f.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:i===0,onClick:function(){function v(){return h(0)}return v}(),children:"Network Management"},"ConfigPage"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"floppy-disk",selected:i===1,onClick:function(){function v(){return h(1)}return v}(),children:"Design Management"},"DesignPage")]}),N(i)]})})}return k}(),y=function(C,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=(0,t.useLocalState)(l,"filterType","ALL"),s=u[0],i=u[1],h=d.network_password,N=d.network_name,v=d.devices,p=[];p.push(s),s==="MSC"&&(p.push("BCK"),p.push("PGN"));var g=s==="ALL"?v:v.filter(function(V){return p.indexOf(V.dclass)>-1});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Network Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Network Name",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"Unset",selected:N,icon:"edit",onClick:function(){function V(){return m("network_name")}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Network Password",children:(0,e.createComponentVNode)(2,o.Button,{content:h||"Unset",selected:h,icon:"lock",onClick:function(){function V(){return m("network_password")}return V}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Connected Devices",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="ALL",onClick:function(){function V(){return i("ALL")}return V}(),icon:"network-wired",children:"All Devices"},"AllDevices"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="SRV",onClick:function(){function V(){return i("SRV")}return V}(),icon:"server",children:"R&D Servers"},"RNDServers"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="RDC",onClick:function(){function V(){return i("RDC")}return V}(),icon:"desktop",children:"R&D Consoles"},"RDConsoles"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="MFB",onClick:function(){function V(){return i("MFB")}return V}(),icon:"industry",children:"Exosuit Fabricators"},"Mechfabs"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="MSC",onClick:function(){function V(){return i("MSC")}return V}(),icon:"microchip",children:"Miscellaneous Devices"},"Misc")]}),(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Device Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Device ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Unlink"})]}),g.map(function(V){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:V.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:V.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function S(){return m("unlink_device",{dclass:V.dclass,uid:V.id})}return S}()})})]},V.id)})]})]})],4)},B=function(C,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.designs,s=(0,t.useLocalState)(l,"searchText",""),i=s[0],h=s[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Design Management",children:[(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search for designs",mb:2,onInput:function(){function N(v,p){return h(p)}return N}()}),u.filter((0,a.createSearch)(i,function(N){return N.name})).map(function(N){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,content:N.name,checked:!N.blacklisted,onClick:function(){function v(){return m(N.blacklisted?"unblacklist_design":"blacklist_design",{d_uid:N.uid})}return v}()},N.name)})]})}},63315:function(T,r,n){"use strict";r.__esModule=!0,r.RndServer=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),f=n(98595),b=r.RndServer=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.active,s=d.network_name;return(0,e.createComponentVNode)(2,f.Window,{width:600,height:500,resizable:!0,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"Server Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Machine power",children:(0,e.createComponentVNode)(2,o.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function i(){return m("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Link status",children:s===null?(0,e.createComponentVNode)(2,o.Box,{color:"red",children:"Unlinked"}):(0,e.createComponentVNode)(2,o.Box,{color:"green",children:"Linked"})})]})}),s===null?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)]})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.network_name;return(0,e.createComponentVNode)(2,o.Section,{title:"Network Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Connected network ID",children:u}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,o.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function s(){return m("unlink")}return s}()})})]})})},B=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.controllers;return(0,e.createComponentVNode)(2,o.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Link"})]}),u.map(function(s){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:s.netname}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Link",icon:"link",onClick:function(){function i(){return m("link",{addr:s.addr})}return i}()})})]},s.addr)})]})})}},26109:function(T,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(25328),b=function(k,C){var l=k/C;return l<=.2?"good":l<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.data,m=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:m.map(function(d,u){return(0,e.createComponentVNode)(2,t.Section,{title:(0,f.capitalize)(d.name),children:d.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:d.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:b(d.brute_damage,d.max_damage),children:d.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:b(d.electronic_damage,d.max_damage),children:d.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:d.powered?"good":"bad",children:d.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:d.status?"good":"bad",children:d.status?"Yes":"No"})]})})]})},u)})})})}return B}()},97997:function(T,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.RoboticsControlConsole=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.can_hack,d=c.safety,u=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:d?"lock":"unlock",content:d?"Disable Safety":"Enable Safety",selected:d,onClick:function(){function h(){return l("arm",{})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:d,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function h(){return l("masslock",{})}return h}()})]}),(0,e.createComponentVNode)(2,b,{cyborgs:i,can_hack:m})]})})}return y}(),b=function(B,k){var C=B.cyborgs,l=B.can_hack,c=(0,a.useBackend)(k),m=c.act,d=c.data,u="Detonate";return d.detonate_cooldown>0&&(u+=" ("+d.detonate_cooldown+"s)"),C.length?C.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return m("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!d.auth,onClick:function(){function i(){return m("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:u,disabled:!d.auth||d.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return m("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(T,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Safe=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,h=d.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*u+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,B)]})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.dial,s=d.open,i=d.locked,h=function(v,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!i,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+v,iconRight:p,onClick:function(){function g(){return m(p?"turnleft":"turnright",{num:v})}return g}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function N(){return m("open")}return N}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[h(50),h(10),h(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[h(1,!0),h(10,!0),h(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:u})]})},y=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:u.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function h(){return m("retrieve",{index:i+1})}return h}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},B=function(C,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(T,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SatelliteControl=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.satellites,m=l.notice,d=l.meteor_shield,u=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,i=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[d&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:u,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(h){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+h.id,children:[h.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:h.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function N(){return C("toggle",{id:h.id})}return N}()})]},h.id)})]})})]})})}return b}()},44162:function(T,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(98595),b=n(36352),y=n(92986),B=r.SecureStorage=function(){function c(m,d){return(0,e.createComponentVNode)(2,f.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,C)})})})})}return c}(),k=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=window.event?m.which:m.keyCode;if(i===y.KEY_ENTER){m.preventDefault(),s("keypad",{digit:"E"});return}if(i===y.KEY_ESCAPE){m.preventDefault(),s("keypad",{digit:"C"});return}if(i===y.KEY_BACKSPACE){m.preventDefault(),s("backspace");return}if(i>=y.KEY_0&&i<=y.KEY_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_0});return}if(i>=y.KEY_NUMPAD_0&&i<=y.KEY_NUMPAD_9){m.preventDefault(),s("keypad",{digit:i-y.KEY_NUMPAD_0});return}},C=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,h=i.locked,N=i.no_passcode,v=i.emagged,p=i.user_entered_code,g=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],V=N?"":h?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function S(I){return k(I,d)}return S}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+V]),height:"100%",children:v?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:g.map(function(S){return(0,e.createComponentVNode)(2,b.TableRow,{children:S.map(function(I){return(0,e.createComponentVNode)(2,b.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},S[0])})})]})},l=function(m,d){var u=(0,t.useBackend)(d),s=u.act,i=u.data,h=m.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:h,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+h]),onClick:function(){function N(){return s("keypad",{digit:h})}return N}()})}},6272:function(T,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=n(3939),y=n(321),B=n(5485),k=n(22091),C={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(p,g){(0,b.modalOpen)(p,"edit",{field:g.edit,value:g.value})},c=r.SecurityRecords=function(){function v(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.loginState,w=I.currentPage,A;if(L.logged_in)w===1?A=(0,e.createComponentVNode)(2,d):w===2&&(A=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,B.LoginScreen)})});return(0,e.createComponentVNode)(2,f.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,m),A]})})]})}return v}(),m=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.currentPage,w=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return S("page",{page:1})}return A}(),children:"List Records"}),L===2&&w&&!w.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",w.fields[0].value]})]})})},d=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.records,w=(0,t.useLocalState)(g,"searchText",""),A=w[0],x=w[1],E=(0,t.useLocalState)(g,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(g,"sortOrder",!0),O=P[0],D=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,u,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,u,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,u,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,u,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,W){var U=O?1:-1;return F[M].localeCompare(W[M])*U}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+C[F.status],onClick:function(){function W(){return S("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},u=function(p,g){var V=(0,t.useLocalState)(g,"sortId","name"),S=V[0],I=V[1],L=(0,t.useLocalState)(g,"sortOrder",!0),w=L[0],A=L[1],x=p.id,E=p.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:S!==x&&"transparent",fluid:!0,onClick:function(){function M(){S===x?A(!w):(I(x),A(!0))}return M}(),children:[E,S===x&&(0,e.createComponentVNode)(2,o.Icon,{name:w?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.isPrinting,w=(0,t.useLocalState)(g,"searchText",""),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return S("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,b.modalOpen)(g,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},i=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.isPrinting,w=I.general,A=I.security;return!w||!w.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function x(){return S("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return S("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,h)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return S("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return S("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function M(){return l(g,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,N)],4)],0)},h=function(p,g){var V=(0,t.useBackend)(g),S=V.data,I=S.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,w){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return l(g,L)}return A}()})]},w)})})}),!!I.has_photos&&I.photos.map(function(L,w){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",w+1]},w)})]})},N=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function w(){return(0,b.modalOpen)(g,"comment_add")}return w}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(w,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:w.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),w.text||w,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return S("comment_delete",{id:A+1})}return x}()})]},A)})})})}},5099:function(T,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=n(98595),b=n(3939);function y(u,s){var i=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(i)return(i=i.call(u)).next.bind(i);if(Array.isArray(u)||(i=B(u))||s&&u&&typeof u.length=="number"){i&&(u=i);var h=0;return function(){return h>=u.length?{done:!0}:{done:!1,value:u[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(u,s){if(u){if(typeof u=="string")return k(u,s);var i={}.toString.call(u).slice(8,-1);return i==="Object"&&u.constructor&&(i=u.constructor.name),i==="Map"||i==="Set"?Array.from(u):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?k(u,s):void 0}}function k(u,s){(s==null||s>u.length)&&(s=u.length);for(var i=0,h=Array(s);i=A},N=function(w,A){return w<=A},v=s.split(" "),p=[],g=function(){var w=I.value,A=w.split(":");if(A.length===0)return 0;if(A.length===1)return p.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function M(j){return!1}return M}()};var x,E=i;if(A[1][A[1].length-1]==="-"?(E=N,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=h,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function M(j){return!1}return M}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":p.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(M){return E(M.production,x)});break;case"y":case"yield":p.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":p.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},V,S=y(v),I;!(I=S()).done;)if(V=g(),V!==0&&V)return V.v;return function(L){for(var w=0,A=p;w=1?Number(E):1)}return A}()})]})]})}},17474:function(T,r,n){"use strict";r.__esModule=!0,r.Shop=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),f=n(72253),b=n(36036),y=n(98595),B=n(3939),k=function(h){switch(h){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);default:return"\u041E\u0428\u0418\u0411\u041A\u0410, \u0421\u041E\u041E\u0411\u0429\u0418\u0422\u0415 \u0420\u0410\u0417\u0420\u0410\u0411\u041E\u0422\u0427\u0418\u041A\u0423"}},C=r.Shop=function(){function i(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=g.cart,S=(0,f.useLocalState)(N,"tabIndex",0),I=S[0],L=S[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"abductor",children:[(0,e.createComponentVNode)(2,B.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Tabs,{children:[(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:I===0,onClick:function(){function w(){L(0)}return w}(),icon:"store",children:"\u0422\u043E\u0440\u0433\u043E\u0432\u043B\u044F"},"PurchasePage"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:I===1,onClick:function(){function w(){L(1)}return w}(),icon:"shopping-cart",children:["\u041A\u043E\u0440\u0437\u0438\u043D\u0430 ",V&&V.length?"("+V.length+")":""]},"Cart")]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:k(I)})]})})]})}return i}(),l=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=g.cash,S=g.cats,I=(0,f.useLocalState)(N,"shopItems",S[0].items),L=I[0],w=I[1],A=(0,f.useLocalState)(N,"showDesc",1),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430: "+V+"\u043A",buttons:(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438",checked:x,onClick:function(){function M(){return E(!x)}return M}()})})})}),(0,e.createComponentVNode)(2,b.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:S.map(function(M){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:M.items===L,onClick:function(){function j(){w(M.items)}return j}(),children:M.cat},M)})})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:L.map(function(M){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,m,{i:M,showDecription:x},(0,o.decodeHtmlEntities)(M.name))},(0,o.decodeHtmlEntities)(M.name))})})})})]})]})},c=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=g.cart,S=g.cash,I=g.cart_price,L=(0,f.useLocalState)(N,"showDesc",0),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430: "+S+"\u043A",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438",checked:w,onClick:function(){function x(){return A(!w)}return x}()}),(0,e.createComponentVNode)(2,b.Button,{content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",icon:"trash",onClick:function(){function x(){return p("empty_cart")}return x}(),disabled:!V}),(0,e.createComponentVNode)(2,b.Button,{content:"\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C ("+I+"\u043A)",icon:"shopping-cart",onClick:function(){function x(){return p("purchase_cart")}return x}(),disabled:!V||I>S})],4),children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:V?V.map(function(x){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,m,{i:x,showDecription:w,buttons:(0,e.createComponentVNode)(2,u,{i:x})})},(0,o.decodeHtmlEntities)(x.name))}):(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:"\u0412\u0430\u0448\u0430 \u043A\u043E\u0440\u0437\u0438\u043D\u0430 \u043F\u0443\u0441\u0442\u0430!"})})})})})},m=function(h,N){var v=h.i,p=h.showDecription,g=p===void 0?1:p,V=h.buttons,S=V===void 0?(0,e.createComponentVNode)(2,d,{i:v}):V;return(0,e.createComponentVNode)(2,b.Section,{title:(0,o.decodeHtmlEntities)(v.name),showBottom:g,buttons:S,children:[g?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(v.desc)}):null,g?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(v.content)}):null]})},d=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=h.i,S=g.cash;return(0,e.createComponentVNode)(2,b.Button,{icon:"shopping-cart",content:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0443 ("+V.cost+" \u041A\u0438\u043A\u0438\u0440\u0438\u0434\u0438\u0442\u043E\u0432)",color:V.limit!==-1&&"red",tooltip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440 \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0443, \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432 \u043E\u0431\u0449\u0435\u0435 \u0447\u0438\u0441\u043B\u043E \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u043E\u0432\u0430\u0440\u0430. \u0426\u0435\u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u0430 \u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0445 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0435\u0439 \u0432 \u0420\u0430\u0441\u0447\u0438\u0447\u0435\u0442\u0447\u0438\u043A\u0438\u043A\u0435.",tooltipPosition:"left",onClick:function(){function I(){return p("add_to_cart",{item:V.obj_path})}return I}(),disabled:V.cost>S||V.limit!==-1&&V.purchased>=V.limit||V.is_time_available===!1})},u=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=h.i;return(0,e.createComponentVNode)(2,b.Stack,{children:[(0,e.createComponentVNode)(2,b.Button,{icon:"times",content:"("+V.cost*V.amount+"\u043A)",tooltip:"\u0423\u0431\u0440\u0430\u0442\u044C \u0438\u0437 \u043A\u043E\u0440\u0437\u0438\u043D\u044B.",tooltipPosition:"left",onClick:function(){function S(){return p("remove_from_cart",{item:V.obj_path})}return S}()}),(0,e.createComponentVNode)(2,b.Button,{icon:"minus",ml:"5px",onClick:function(){function S(){return p("set_cart_item_quantity",{item:V.obj_path,quantity:--V.amount})}return S}(),disabled:V.amount<=0}),(0,e.createComponentVNode)(2,b.Button.Input,{content:V.amount,width:"45px",tooltipPosition:"bottom-end",onCommit:function(){function S(I,L){return p("set_cart_item_quantity",{item:V.obj_path,quantity:L})}return S}(),disabled:V.limit!==-1&&V.amount>=V.limit&&V.amount<=0}),(0,e.createComponentVNode)(2,b.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:V.limit===0&&"Discount already redeemed!",onClick:function(){function S(){return p("set_cart_item_quantity",{item:V.obj_path,quantity:++V.amount})}return S}(),disabled:V.limit!==-1&&V.amount>=V.limit})]})},s=function(h,N){var v=(0,f.useBackend)(N),p=v.act,g=v.data,V=h.pack;return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,horizontal:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{width:"70%",children:V.content_images.map(function(S){return(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+S,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})},S.ref)})})})}},2916:function(T,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function m(){return C("move",{move:c.id})}return m}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return C("request")}return c}()})})],0))]})})})})}return b}()},39401:function(T,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.ShuttleManipulator=function(){function k(C,l){var c=(0,a.useLocalState)(l,"tabIndex",0),m=c[0],d=c[1],u=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,b);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,B);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===0,onClick:function(){function s(){return d(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===1,onClick:function(){function s(){return d(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:m===2,onClick:function(){function s(){return d(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),u(m)]})})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return m("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.templates_tabs,s=d.existing_shuttle,i=d.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:u.map(function(h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===s.id,icon:"file",onClick:function(){function N(){return m("select_template_category",{cat:h})}return N}(),children:h},h)})}),!!s&&i[s.id].templates.map(function(h){return(0,e.createComponentVNode)(2,t.Section,{title:h.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[h.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.description}),h.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:h.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function N(){return m("select_template",{shuttle_id:h.shuttle_id})}return N}()})})]})},h.name)})]})},B=function(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.existing_shuttle,s=d.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[u?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+u.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:u.status}),u.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:u.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return m("jump_to",{type:"mobile",id:u.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return m("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return m("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(T,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],B={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.Sleeper=function(){function i(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.hasOccupant,S=V?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,f.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,f.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:S}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})})})}return i}(),l=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,u)],4)},c=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant,S=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:S?"toggle-on":"toggle-off",selected:S,content:S?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(S?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:V.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.maxHealth,value:V.health/V.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(V.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:b[V.stat][0],children:b[V.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.maxTemp,value:V.bodyTemperature/V.maxTemp,color:k[V.temperatureSuitability+3],children:[(0,a.round)(V.btCelsius,0),"\xB0C,",(0,a.round)(V.btFaren,0),"\xB0F"]})}),!!V.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.bloodMax,value:V.bloodLevel/V.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[V.bloodPercent,"%, ",V.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[V.pulse," BPM"]})],4)]})})},m=function(h,N){var v=(0,t.useBackend)(N),p=v.data,g=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(V,S){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:V[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:g[V[1]]/100,ranges:B,children:(0,a.round)(g[V[1]],0)},S)},S)})})})},d=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.hasOccupant,S=g.isBeakerLoaded,I=g.beakerMaxSpace,L=g.beakerFreeSpace,w=g.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!S||L<=0||!V,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!S,icon:"eject",content:"Eject",onClick:function(){function x(){return p("removebeaker")}return x}()})],4),children:S?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},u=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant,S=g.chemicals,I=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:S.map(function(w,A){var x="",E;return w.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:w.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",I,"u"]}),L.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+M>I||V.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return p("chemical",{chemid:w.id,amount:M})}return P}()},j)})]})})},A)})})},s=function(h,N){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(T,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SlotMachine=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function m(){return C("spin")}return m}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return b}()},46348:function(T,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Smartfridge=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.secure,m=l.can_dry,d=l.drying,u=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m?"Drying rack":"Contents",buttons:!!m&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){function s(){return C("drying")}return s}()}),children:[!u&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!u&&u.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return C("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(h,N){return C("vend",{index:s.vend,amount:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return C("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return b}()},86162:function(T,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),f=n(98595),b=1e3,y=r.Smes=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.capacityPercent,u=m.capacity,s=m.charge,i=m.inputAttempt,h=m.inputting,N=m.inputLevel,v=m.inputLevelMax,p=m.inputAvailable,g=m.outputPowernet,V=m.outputAttempt,S=m.outputting,I=m.outputLevel,L=m.outputLevelMax,w=m.outputUsed,A=d>=100&&"good"||h&&"average"||"bad",x=S&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,f.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:d*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:d>=100&&"Fully Charged"||h&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:N===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:N===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:N/b,fillValue:p/b,minValue:0,maxValue:v/b,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*b,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*b})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:N===v,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:N===v,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(p)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:V?"power-off":"times",selected:V,onClick:function(){function E(){return c("tryoutput")}return E}(),children:V?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:g?S?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/b,minValue:0,maxValue:L/b,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*b,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*b})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return B}()},63584:function(T,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SolarControl=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=0,m=1,d=2,u=l.generated,s=l.generated_ratio,i=l.tracking_state,h=l.tracking_rate,N=l.connected_panels,v=l.connected_tracker,p=l.cdir,g=l.direction,V=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function S(){return C("refresh")}return S}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:v?"good":"bad",children:v?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:N>0?"good":"bad",children:N})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===d&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===m&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",h,"\xB0/h (",V,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==d&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function S(I,L){return C("cdir",{cdir:L})}return S}()}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function S(){return C("track",{track:c})}return S}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===m,onClick:function(){function S(){return C("track",{track:m})}return S}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===d,disabled:!v,onClick:function(){function S(){return C("track",{track:d})}return S}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===m&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:h,format:function(){function S(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return S}(),onDrag:function(){function S(I,L){return C("tdir",{tdir:L})}return S}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===d&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return b}()},38096:function(T,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpawnersMenu=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(m){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:m.name+" ("+m.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function d(){return C("jump",{ID:m.uids})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function d(){return C("spawn",{ID:m.uids})}return d}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:m.desc}),!!m.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:m.fluff}),!!m.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:m.important_info})]},m.name)})})})})}return b}()},30586:function(T,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SpecMenu=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),b=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return d("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},95152:function(T,r,n){"use strict";r.__esModule=!0,r.StackCraft=void 0;var e=n(89005),a=n(72253),t=n(88510),o=n(64795),f=n(25328),b=n(98595),y=n(36036),B=r.StackCraft=function(){function s(){return(0,e.createComponentVNode)(2,b.Window,{width:350,height:500,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return s}(),k=function(i,h){var N=(0,a.useBackend)(h),v=N.data,p=v.amount,g=v.recipes,V=(0,a.useLocalState)(h,"searchText",""),S=V[0],I=V[1],L=C(g,(0,f.createSearch)(S)),w=(0,a.useLocalState)(h,"",!1),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Amount: "+p,buttons:(0,e.createFragment)([A&&(0,e.createComponentVNode)(2,y.Input,{width:12.5,value:S,placeholder:"Find recipe",onInput:function(){function E(M,j){return I(j)}return E}()}),(0,e.createComponentVNode)(2,y.Button,{ml:.5,tooltip:"Search",tooltipPosition:"bottom-end",icon:"magnifying-glass",selected:A,onClick:function(){function E(){return x(!A)}return E}()})],0),children:L?(0,e.createComponentVNode)(2,d,{recipes:L}):(0,e.createComponentVNode)(2,y.NoticeBox,{children:"No recipes found!"})})},C=function s(i,h){var N=(0,o.flow)([(0,t.map)(function(v){var p=v[0],g=v[1];return l(g)?h(p)?v:[p,s(g,h)]:h(p)?v:[p,void 0]}),(0,t.filter)(function(v){var p=v[0],g=v[1];return g!==void 0}),(0,t.sortBy)(function(v){var p=v[0],g=v[1];return p}),(0,t.sortBy)(function(v){var p=v[0],g=v[1];return!l(g)}),(0,t.reduce)(function(v,p){var g=p[0],V=p[1];return v[g]=V,v},{})])(Object.entries(i));return Object.keys(N).length?N:void 0},l=function(i){return i.uid===void 0},c=function(i,h){return i.required_amount>h?0:Math.floor(h/i.required_amount)},m=function(i,h){for(var N=(0,a.useBackend)(h),v=N.act,p=i.recipe,g=i.max_possible_multiplier,V=Math.min(g,Math.floor(p.max_result_amount/p.result_amount)),S=[5,10,25],I=[],L=function(){var E=A[w];V>=E&&I.push((0,e.createComponentVNode)(2,y.Button,{bold:!0,translucent:!0,fontSize:.85,width:"32px",content:E*p.result_amount+"x",onClick:function(){function M(){return v("make",{recipe_uid:p.uid,multiplier:E})}return M}()}))},w=0,A=S;w1?I+"x ":"",P=L>1?"s":"",O=""+j+V,D=L+" sheet"+P,F=c(S,g);return(0,e.createComponentVNode)(2,y.ImageButton,{fluid:!0,base64:M,dmIcon:x,dmIconState:E,imageSize:32,disabled:!F,tooltip:D,buttons:w>1&&F>1&&(0,e.createComponentVNode)(2,m,{recipe:S,max_possible_multiplier:F}),onClick:function(){function W(){return v("make",{recipe_uid:A,multiplier:1})}return W}(),children:O})}},38307:function(T,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b)})})}return y}(),b=r.StationAlertConsoleContent=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=l.alarms||[],m=c.Fire||[],d=c.Atmosphere||[],u=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[m.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),m.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},96091:function(T,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(89005),a=n(88510),t=n(42127),o=n(72253),f=n(36036),b=n(98595),y=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(y||{}),B=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data,i=s.future_station_traits,h=(0,o.useLocalState)(m,"selectedFutureTrait",null),N=h[0],v=h[1],p=Object.fromEntries(s.valid_station_traits.map(function(V){return[V.name,V.path]})),g=Object.keys(p);return g.sort(),(0,e.createComponentVNode)(2,f.Box,{children:[(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f.Dropdown,{displayText:!N&&"Select trait to add...",onSelected:v,options:g,selected:N,width:"100%"})}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"green",icon:"plus",onClick:function(){function V(){if(N){var S=p[N],I=[S];if(i){var L,w=i.map(function(A){return A.path});if(w.indexOf(S)!==-1)return;I=(L=I).concat.apply(L,w)}u("setup_future_traits",{station_traits:I})}}return V}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,f.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:i.map(function(V){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:V.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button,{color:"red",icon:"times",onClick:function(){function S(){u("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==V.path)return I.path})})}return S}(),children:"Delete"})})]})},V.path)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function V(){return u("clear_future_traits")}return V}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,f.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,f.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function V(){return u("setup_future_traits",{station_traits:[]})}return V}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,m){var d=(0,o.useBackend)(m),u=d.act,s=d.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,f.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function h(){return u("revert",{ref:i.ref})}return h}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,f.Box,{textAlign:"center",children:"There are no active station traits."})},C=r.StationTraitsPanel=function(){function l(c,m){var d=(0,o.useLocalState)(m,"station_traits_tab",y.ViewStationTraits),u=d[0],s=d[1],i;switch(u){case y.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,B);break;case y.ViewStationTraits:i=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(u)}return(0,e.createComponentVNode)(2,b.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,f.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,f.Stack.Item,{children:(0,e.createComponentVNode)(2,f.Tabs,{children:[(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"eye",selected:u===y.ViewStationTraits,onClick:function(){function h(){return s(y.ViewStationTraits)}return h}(),children:"View"}),(0,e.createComponentVNode)(2,f.Tabs.Tab,{icon:"edit",selected:u===y.SetupFutureStationTraits,onClick:function(){function h(){return s(y.SetupFutureStationTraits)}return h}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,f.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,f.Divider),i]})]})})})}return l}()},39409:function(T,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),f=n(36036),b=n(98595),y=5,B=9,k=function(N){return N===0?5:9},C="64px",l=function(N){return N[0]+"/"+N[1]},c=function(N){var v=N.align,p=N.children;return(0,e.createComponentVNode)(2,f.Box,{style:{position:"absolute",left:v==="left"?"6px":"48px","text-align":v,"text-shadow":"2px 2px 2px #000",top:"2px"},children:p})},m={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},d={eyes:{displayName:"eyewear",gridSpot:l([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:l([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:l([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:l([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:l([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:l([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:l([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:l([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:l([1,4])},jumpsuit:{displayName:"uniform",gridSpot:l([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:l([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:l([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:l([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:l([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:l([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:l([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:l([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:l([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:l([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:l([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:l([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:l([4,4]),image:"inventory-pda.png"}},u={eyes:{displayName:"eyewear",gridSpot:l([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:l([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:l([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:l([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:l([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:l([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:l([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:l([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:l([1,4])},jumpsuit:{displayName:"uniform",gridSpot:l([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:l([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:l([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:l([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:l([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:l([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:l([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:l([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:l([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:l([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:l([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:l([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:l([4,8]),image:"inventory-pda.png"}},s=function(h){return h[h.Completely=1]="Completely",h[h.Hidden=2]="Hidden",h}(s||{}),i=r.StripMenu=function(){function h(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=new Map;if(V.show_mode===0)for(var I=0,L=Object.keys(V.items);I=.01})},(0,a.sortBy)(function(w){return-w.amount})])(N.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(w){return w.amount})));return(0,e.createComponentVNode)(2,B.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:g,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(g)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:l(V),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(V)+" K"})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:l(S),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(S)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,b.Button,{icon:"arrow-left",content:"Back",onClick:function(){function w(){return h("back")}return w}()}),children:(0,e.createComponentVNode)(2,b.LabeledList,{children:I.map(function(w){return(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:(0,y.getGasLabel)(w.name),children:(0,e.createComponentVNode)(2,b.ProgressBar,{color:(0,y.getGasColor)(w.name),value:w.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(w.amount,2)+"%"})},w.name)})})})})]})})})}},46029:function(T,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.SyndicateComputerSimple=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function m(){return C(c.buttonact)}return m}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(m){return(0,e.createComponentVNode)(2,t.Box,{children:m},m)})})]},c.title)})})})}return b}()},36372:function(T,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(B){return B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},b=r.TEG=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function m(){return l("check")}return m}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[f(c.cold_inlet_temp)," K, ",f(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[f(c.cold_outlet_temp)," K, ",f(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[f(c.hot_inlet_temp)," K, ",f(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[f(c.hot_outlet_temp)," K, ",f(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[f(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},23190:function(T,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(46095),f=n(98595),b={0:"Free",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},y={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},B={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},k=function(m,d,u,s){return s===void 0&&(s=null),m.map(function(i){var h,N=(h=i[s])!=null?h:i;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:d.includes(i),content:N,onClick:function(){function v(){d.includes(i)?u(d.filter(function(p){var g;return((g=p[s])!=null?g:p)!==i})):u([i].concat(d))}return v}()},N)})},C=r.TTSSeedsExplorer=function(){function c(){return(0,e.createComponentVNode)(2,f.Window,{width:1e3,height:685,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,l)})})})}return c}(),l=r.TTSSeedsExplorerContent=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i=u.data,h=i.providers,N=i.seeds,v=i.selected_seed,p=i.phrases,g=i.donator_level,V=i.character_gender,S=N.map(function(Y){return Y.category}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}).sort(function(Y,ve){return Y.localeCompare(ve)}),I=N.map(function(Y){return Y.gender}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}),L=N.map(function(Y){return Y.required_donator_level}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}).sort(function(Y,ve){return Y-ve}).map(function(Y){return b[Y]}),w=(0,a.useLocalState)(d,"selectedProviders",h),A=w[0],x=w[1],E=(0,a.useLocalState)(d,"selectedGenders",I.includes(y[V])?[y[V]]:I),M=E[0],j=E[1],P=(0,a.useLocalState)(d,"selectedCategories",S),O=P[0],D=P[1],F=(0,a.useLocalState)(d,"selectedDonatorLevels",L.includes(b[g])?L.slice(0,L.indexOf(b[g])+1):L),W=F[0],U=F[1],$=(0,a.useLocalState)(d,"selectedPhrase",p[0]),K=$[0],G=$[1],Q=(0,a.useLocalState)(d,"searchtext",""),J=Q[0],ue=Q[1],ie=(0,a.useLocalState)(d,"searchToggle",!1),he=ie[0],te=ie[1],q=k(h,A,x,"name"),ne=k(I,M,j),le=k(S,O,D),ee=k(L,W,U),re=(0,e.createComponentVNode)(2,t.Dropdown,{options:p,selected:K.replace(/(.{60})..+/,"$1..."),width:"21.3em",onSelected:function(){function Y(ve){return G(ve)}return Y}()}),oe=(0,e.createFragment)([he&&(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:20,onInput:function(){function Y(ve,pe){return ue(pe)}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"magnifying-glass",tooltip:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",tooltipPosition:"bottom-end",selected:he,onClick:function(){function Y(){return te(!he)}return Y}()})],0),fe=N.sort(function(Y,ve){var pe=Y.name.toLowerCase(),Ve=ve.name.toLowerCase();return pe>Ve?1:pe0&&v!==Y.name?"orange":"white",children:Y.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Y.name?.5:.25,textAlign:"left",children:Y.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Y.name?"white":B[Y.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:B[Y.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Y.required_donator_level>0&&(0,e.createFragment)([b[Y.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Y.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"30.25em",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u0440",children:ee}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:re})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",disabled:O.length===0,onClick:function(){function Y(){return D([])}return Y}(),children:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451"}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",disabled:O.length===S.length,onClick:function(){function Y(){return D(S)}return Y}(),children:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451"})],4),children:le})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"11px",children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:1.5,italic:!0,color:"gray",fontSize:"10px",children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+fe.length+"/"+N.length+")",buttons:oe,children:(0,e.createComponentVNode)(2,t.Table,{children:(0,e.createComponentVNode)(2,o.VirtualList,{children:me})})})})],4)}return c}()},56441:function(T,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TachyonArray=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.records,d=m===void 0?[]:m,u=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!d.length||i,align:"center",onClick:function(){function h(){return l("print_logs")}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!d.length,color:"bad",align:"center",onClick:function(){function h(){return l("delete_logs")}return h}()})]})]})}),d.length?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),b=r.TachyonArrayContent=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.records,d=m===void 0?[]:m;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:u.index})}return s}()})})]},u.index)})]})})})})}return y}()},1754:function(T,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Tank=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function m(){return C("internals")}return m}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function m(){return C("pressure",{pressure:"min"})}return m}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function m(d,u){return C("pressure",{pressure:u})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function m(){return C("pressure",{pressure:"max"})}return m}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function m(){return C("pressure",{pressure:"reset"})}return m}()})]}),c]})})})})}return b}()},7579:function(T,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TankDispenser=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.o_tanks,m=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("oxygen")}return d}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+m+")",disabled:m===0,icon:"arrow-circle-down",onClick:function(){function d(){return C("plasma")}return d}()})})]})})})}return b}()},16136:function(T,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsCore=function(){function C(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.ion,i=(0,a.useLocalState)(c,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:h===2,onClick:function(){function p(){return N(2)}return p}(),children:"User Filtering"},"FilterPage")]}),v(h)]})})}return C}(),b=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.active,i=u.sectors_available,h=u.nttc_toggle_jobs,N=u.nttc_toggle_job_color,v=u.nttc_toggle_name_color,p=u.nttc_toggle_command_bold,g=u.nttc_job_indicator_type,V=u.nttc_setting_language,S=u.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return d("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"On":"Off",selected:N,icon:"clipboard-list",onClick:function(){function I(){return d("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function I(){return d("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return d("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"Unset",selected:g,icon:"pencil-alt",onClick:function(){function I(){return d("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:V||"Unset",selected:V,icon:"globe",onClick:function(){function I(){return d("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:S||"Unset",selected:S,icon:"server",onClick:function(){function I(){return d("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return d("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return d("export")}return I}()})]})],4)},B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.link_password,i=u.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function h(){return d("change_password")}return h}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function N(){return d("unlink",{addr:h.addr})}return N}()})})]},h.addr)})]})]})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=m.data,s=u.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return d("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function h(){return d("remove_filter",{user:i})}return h}()})})]},i)})]})})}},88046:function(T,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TcommsRelay=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.linked,u=m.active,s=m.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:u?"On":"Off",selected:u,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:d===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),d===1?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,y)]})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.linked_core_id,u=m.linked_core_addr,s=m.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,m=l.data,d=m.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),d.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:u.addr})}return s}()})})]},u.addr)})]})})}},20802:function(T,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Teleporter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.targetsTeleport?l.targetsTeleport:{},m=0,d=1,u=2,s=l.calibrated,i=l.calibrating,h=l.powerstation,N=l.regime,v=l.teleporterhub,p=l.target,g=l.locked,V=l.adv_beacon_allowed,S=l.advanced_beacon_locking;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!h||!v)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[v,!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),h&&!v&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),h&&v&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",buttons:(0,e.createFragment)(!!V&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:S,icon:S?"toggle-on":"toggle-off",content:S?"Enabled":"Disabled",onClick:function(){function I(){return C("advanced_beacon_locking",{on:S?0:1})}return I}()})],4),0),children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[N===m&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return C("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),N===d&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return C("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),N===u&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:N===d?"good":null,onClick:function(){function I(){return C("setregime",{regime:d})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:N===m?"good":null,onClick:function(){function I(){return C("setregime",{regime:m})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:N===u?"good":null,disabled:!g,onClick:function(){function I(){return C("setregime",{regime:u})}return I}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[p!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function I(){return C("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(g&&h&&v&&N===u)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function I(){return C("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return C("eject")}return I}()})]})})]})})})})}return b}()},48517:function(T,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TelescienceConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.last_msg,m=l.linked_pad,d=l.held_gps,u=l.lastdata,s=l.power_levels,i=l.current_max_power,h=l.current_power,N=l.current_bearing,v=l.current_elevation,p=l.current_sector,g=l.working,V=l.max_z,S=(0,a.useLocalState)(B,"dummyrot",N),I=S[0],L=S[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(u.length>0)||(0,e.createVNode)(1,"ul",null,u.map(function(w){return(0,e.createVNode)(1,"li",null,w,0,null,w)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:m===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:g,value:N,onDrag:function(){function w(A,x){return L(x)}return w}(),onChange:function(){function w(A,x){return C("setbear",{bear:x})}return w}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:g,value:v,onChange:function(){function w(A,x){return C("setelev",{elev:x})}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(w,A){return(0,e.createComponentVNode)(2,t.Button,{content:w,selected:h===w,disabled:A>=i-1||g,onClick:function(){function x(){return C("setpwr",{pwr:A+1})}return x}()},w)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:V,value:p,disabled:g,onChange:function(){function w(A,x){return C("setz",{newz:x})}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:g,onClick:function(){function w(){return C("pad_send")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:g,onClick:function(){function w(){return C("pad_receive")}return w}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:g,onClick:function(){function w(){return C("recal_crystals")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:g,onClick:function(){function w(){return C("eject_crystals")}return w}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:d===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||g,content:"Eject GPS",onClick:function(){function w(){return C("eject_gps")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===0||g,content:"Store Coordinates",onClick:function(){function w(){return C("store_to_gps")}return w}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return b}()},21800:function(T,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=r.TempGun=function(){function C(l,c){var m=(0,t.useBackend)(c),d=m.act,u=m.data,s=u.target_temperature,i=u.temperature,h=u.max_temp,N=u.min_temp;return(0,e.createComponentVNode)(2,f.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:N,maxValue:h,value:s,format:function(){function v(p){return(0,a.toFixed)(p,2)}return v}(),width:"50px",onDrag:function(){function v(p,g){return d("target_temperature",{target_temperature:g})}return v}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),children:B(i)})})]})})})})}return C}(),y=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},B=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},k=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},24410:function(T,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),f=n(92986),b=n(36036),y=n(98595),B=r.sanitizeMultiline=function(){function c(m){return m.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(m){return m.replace(/[\r\n]+/,"")}return c}(),C=r.TextInputModal=function(){function c(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,h=i.max_length,N=i.message,v=N===void 0?"":N,p=i.multiline,g=i.placeholder,V=i.timeout,S=i.title,I=(0,o.useLocalState)(d,"input",g||""),L=I[0],w=I[1],A=function(){function M(j){if(j!==L){var P=p?B(j):k(j);w(P)}}return M}(),x=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:S,width:325,height:E,children:[V&&(0,e.createComponentVNode)(2,a.Loader,{value:V}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function M(j){var P=window.event?j.which:j.keyCode;P===f.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),P===f.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:L,onType:A})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+h})})]})})})]})}return c}(),l=function(m,d){var u=(0,o.useBackend)(d),s=u.act,i=u.data,h=i.max_length,N=i.multiline,v=m.input,p=m.onType,g=N||v.length>=40;return(0,e.createComponentVNode)(2,b.TextArea,{autoFocus:!0,autoSelect:!0,height:N||v.length>=40?"100%":"1.8rem",maxLength:h,onEscape:function(){function V(){return s("cancel")}return V}(),onEnter:function(){function V(S){g&&S.shiftKey||(S.preventDefault(),s("submit",{entry:v}))}return V}(),onInput:function(){function V(S,I){return p(I)}return V}(),placeholder:"Type something...",value:v})}},25036:function(T,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=n(98595),b=r.ThermoMachine=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,f.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,f.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function m(d){return(0,a.toFixed)(d,2)}return m}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function m(){return l("power")}return m}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function m(){return l("cooling")}return m}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function m(){return l("target",{target:c.min})}return m}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function m(d,u){return l("target",{target:u})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function m(){return l("target",{target:c.max})}return m}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function m(){return l("target",{target:c.initial})}return m}()})]})]})})]})})}return y}()},20035:function(T,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.TransferValve=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.tank_one,m=l.tank_two,d=l.attached_device,u=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"unlock":"lock",content:u?"Open":"Closed",disabled:!c||!m,onClick:function(){function s(){return C("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!d,onClick:function(){function s(){return C("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:d?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:d,disabled:!d,onClick:function(){function s(){return C("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return C("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:m?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:m,disabled:!m,onClick:function(){function s(){return C("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return b}()},78166:function(T,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=n(44879),b=r.TurbineComputer=function(){function k(C,l){var c=(0,a.useBackend)(l),m=c.act,d=c.data,u=d.compressor,s=d.compressor_broken,i=d.turbine,h=d.turbine_broken,N=d.online,v=!!(u&&!s&&i&&!h);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",content:N?"Online":"Offline",selected:N,disabled:!v,onClick:function(){function p(){return m("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return m("disconnect")}return p}()})],4),children:v?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),m=c.data,d=m.compressor,u=m.compressor_broken,s=m.turbine,i=m.turbine_broken,h=m.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!d||u?"bad":"good",children:u?d?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},B=function(C,l){var c=(0,a.useBackend)(l),m=c.data,d=m.rpm,u=m.temperature,s=m.power,i=m.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[d," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[u," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,f.toFixed)(i)+"%"})})]})}},52847:function(T,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),f=n(72253),b=n(36036),y=n(98595),B=n(3939),k=function(N){switch(N){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},C=r.Uplink=function(){function h(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=V.cart,I=(0,f.useLocalState)(v,"tabIndex",0),L=I[0],w=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,B.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Tabs,{children:[(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===0,onClick:function(){function M(){w(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===1,onClick:function(){function M(){w(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart ",S&&S.length?"("+S.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===2,onClick:function(){function M(){w(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{onClick:function(){function M(){return g("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:k(L)})]})})]})}return h}(),l=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=V.crystals,I=V.cats,L=(0,f.useLocalState)(v,"uplinkItems",I[0].items),w=L[0],A=L[1],x=(0,f.useLocalState)(v,"searchText",""),E=x[0],M=x[1],j=function(U,$){$===void 0&&($="");var K=(0,o.createSearch)($,function(G){var Q=G.hijack_only===1?"|hijack":"";return G.name+"|"+G.desc+"|"+G.cost+"tc"+Q});return(0,t.flow)([(0,a.filter)(function(G){return G==null?void 0:G.name}),$&&(0,a.filter)(K),(0,a.sortBy)(function(G){return G==null?void 0:G.name})])(U)},P=function(U){if(M(U),U==="")return A(I[0].items);A(j(I.map(function($){return $.items}).flat(),U))},O=(0,f.useLocalState)(v,"showDesc",1),D=O[0],F=O[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Current Balance: "+S+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function W(){return F(!D)}return W}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Random Item",icon:"question",onClick:function(){function W(){return g("buyRandom")}return W}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function W(){return g("refund")}return W}()})],4),children:(0,e.createComponentVNode)(2,b.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function W(U,$){P($)}return W}(),value:E})})})}),(0,e.createComponentVNode)(2,b.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:I.map(function(W){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:E!==""?!1:W.items===w,onClick:function(){function U(){A(W.items),M("")}return U}(),children:W.cat},W)})})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:w.map(function(W){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:W,showDecription:D},(0,o.decodeHtmlEntities)(W.name))},(0,o.decodeHtmlEntities)(W.name))})})})})]})]})},c=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=V.cart,I=V.crystals,L=V.cart_price,w=(0,f.useLocalState)(v,"showDesc",0),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return g("empty_cart")}return E}(),disabled:!S}),(0,e.createComponentVNode)(2,b.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return g("purchase_cart")}return E}(),disabled:!S||L>I})],4),children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:S?S.map(function(E){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,d,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,m)]})},m=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=V.cats,I=V.lucky_numbers;return(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,b.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return g("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,b.Stack,{wrap:!0,children:I.map(function(L){return S[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,w){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,d,{grow:!0,i:L})},w)})})})})},d=function(N,v){var p=N.i,g=N.showDecription,V=g===void 0?1:g,S=N.buttons,I=S===void 0?(0,e.createComponentVNode)(2,u,{i:p}):S;return(0,e.createComponentVNode)(2,b.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:V,buttons:I,children:V?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},u=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=N.i,I=V.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button,{icon:"shopping-cart",color:S.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return g("add_to_cart",{item:S.obj_path})}return L}(),disabled:S.cost>I}),(0,e.createComponentVNode)(2,b.Button,{content:"Buy ("+S.cost+"TC)"+(S.refundable?" [Refundable]":""),color:S.hijack_only===1&&"red",tooltip:S.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return g("buyItem",{item:S.obj_path})}return L}(),disabled:S.cost>I})],4)},s=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=N.i,I=V.exploitable;return(0,e.createComponentVNode)(2,b.Stack,{children:[(0,e.createComponentVNode)(2,b.Button,{icon:"times",content:"("+S.cost*S.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return g("remove_from_cart",{item:S.obj_path})}return L}()}),(0,e.createComponentVNode)(2,b.Button,{icon:"minus",tooltip:S.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return g("set_cart_item_quantity",{item:S.obj_path,quantity:--S.amount})}return L}(),disabled:S.amount<=0}),(0,e.createComponentVNode)(2,b.Button.Input,{content:S.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:S.limit===0&&"Discount already redeemed!",onCommit:function(){function L(w,A){return g("set_cart_item_quantity",{item:S.obj_path,quantity:A})}return L}(),disabled:S.limit!==-1&&S.amount>=S.limit&&S.amount<=0}),(0,e.createComponentVNode)(2,b.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:S.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return g("set_cart_item_quantity",{item:S.obj_path,quantity:++S.amount})}return L}(),disabled:S.limit!==-1&&S.amount>=S.limit})]})},i=function(N,v){var p=(0,f.useBackend)(v),g=p.act,V=p.data,S=V.exploitable,I=(0,f.useLocalState)(v,"selectedRecord",S[0]),L=I[0],w=I[1],A=(0,f.useLocalState)(v,"searchText",""),x=A[0],E=A[1],M=function(O,D){D===void 0&&(D="");var F=(0,o.createSearch)(D,function(W){return W.name});return(0,t.flow)([(0,a.filter)(function(W){return W==null?void 0:W.name}),D&&(0,a.filter)(F),(0,a.sortBy)(function(W){return W.name})])(O)},j=M(S,x);return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,b.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(O,D){return E(D)}return P}()}),(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:j.map(function(P){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:P===L,onClick:function(){function O(){return w(P)}return O}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},12261:function(T,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=B.product,d=B.productStock,u=B.productIcon,s=B.productIconState,i=c.chargesMoney,h=c.user,N=c.usermoney,v=c.inserted_cash,p=c.vend_ready,g=c.inserted_item_name,V=!i||m.price===0,S="ERROR!",I="";V?(S="FREE",I="arrow-circle-down"):(S=m.price,I="shopping-cart");var L=!p||d===0||!V&&m.price>N&&m.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,t.DmIcon,{verticalAlign:"middle",icon:u,icon_state:s,fallback:(0,e.createComponentVNode)(2,t.Icon,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:m.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:d<=0&&"bad"||d<=m.max_amount/2&&"average"||"good",children:[d," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:L,icon:I,content:S,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:m.inum})}return w}()})})]})},b=r.Vending=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.user,d=c.usermoney,u=c.inserted_cash,s=c.chargesMoney,i=c.product_records,h=i===void 0?[]:i,N=c.hidden_records,v=N===void 0?[]:N,p=c.stock,g=c.vend_ready,V=c.inserted_item_name,S=c.panel_open,I=c.speaker,L;return L=[].concat(h),c.extended_inventory&&(L=[].concat(L,v)),L=L.filter(function(w){return!!w}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+L.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!V&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,V,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function w(){return l("eject_item",{})}return w}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!u,icon:"money-bill-wave-alt",content:u?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,u,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:u?"Dispense Change":null,textAlign:"left",onClick:function(){function w(){return l("change")}return w}()})})]}),children:m&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,m.name,0),", ",(0,e.createVNode)(1,"b",null,m.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[d,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!S&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function w(){return l("toggle_voice",{})}return w}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:L.map(function(w){return(0,e.createComponentVNode)(2,f,{product:w,productStock:p[w.name],productIcon:w.icon,productIconState:w.icon_state},w.name)})})})})]})})})}return y}()},68971:function(T,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VolumeMixer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(m,d){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:d>0&&"0.5rem",children:m.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return C("volume",{channel:m.num,volume:0})}return u}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:m.volume,onChange:function(){function u(s,i){return C("volume",{channel:m.num,volume:i})}return u}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function u(){return C("volume",{channel:m.num,volume:100})}return u}()})})})]})})],4,m.num)})})})})}return b}()},2510:function(T,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.VotePanel=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.remaining,m=l.question,d=l.choices,u=l.user_vote,s=l.counts,i=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:m,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),d.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,translucent:!0,lineHeight:3,multiLine:h,content:h+(i?" ("+(s[h]||0)+")":""),onClick:function(){function N(){return C("vote",{target:h})}return N}(),selected:h===u})},h)})]})})})}return b}()},30138:function(T,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.Wires=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.wires||[],m=l.status||[],d=56+c.length*23+(status?0:15+m.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:d,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:u.color_name,labelColor:u.seen_color,color:u.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:u.cut?"Mend":"Cut",onClick:function(){function s(){return C("cut",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return C("pulse",{wire:u.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:u.attached?"Detach":"Attach",onClick:function(){function s(){return C("attach",{wire:u.color})}return s}()})],4),children:!!u.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),u.wire,(0,e.createTextVNode)(")")],0)},u.seen_color)})})})}),!!m.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:u},u)})})})]})})})}return b}()},21400:function(T,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),f=r.WizardApprenticeContract=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("fire")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("translocation")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("restoration")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("stealth")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function m(){return C("honk")}return m}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return b}()},49148:function(T,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function f(C,l){var c=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(c)return(c=c.call(C)).next.bind(c);if(Array.isArray(C)||(c=b(C))||l&&C&&typeof C.length=="number"){c&&(C=c);var m=0;return function(){return m>=C.length?{done:!0}:{done:!1,value:C[m++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(C,l){if(C){if(typeof C=="string")return y(C,l);var c={}.toString.call(C).slice(8,-1);return c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set"?Array.from(C):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?y(C,l):void 0}}function y(C,l){(l==null||l>C.length)&&(l=C.length);for(var c=0,m=Array(l);c0&&!V.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function F(){return S(D.ref)}return F}()},D.desc)})]})]})})}return C}()},26991:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=function(B,k,C,l,c){return Bl?"average":B>c?"bad":"good"},b=r.AtmosScan=function(){function y(B,k){var C=B.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(C).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:f(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return y}()},85870:function(T,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(y){return y+" unit"+(y===1?"":"s")},f=r.BeakerContents=function(){function b(y){var B=y.beakerLoaded,k=y.beakerContents,C=k===void 0?[]:k,l=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!B&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||C.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),C.map(function(c,m){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,m)})]},c.name)})]})}return b}();f.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},92963:function(T,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.BotStatus=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.locked,c=C.noaccess,m=C.maintpanel,d=C.on,u=C.autopatrol,s=C.canhack,i=C.emagged,h=C.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,disabled:c,onClick:function(){function N(){return k("power")}return N}()})}),u!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:u,content:"Auto Patrol",disabled:c,onClick:function(){function N(){return k("autopatrol")}return N}()})}),!!m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function N(){return k("hack")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!h,content:"AI Remote Control",disabled:c,onClick:function(){function N(){return k("disableremote")}return N}()})})]})})],4)}return f}()},3939:function(T,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},f=r.modalOpen=function(){function C(l,c,m){var d=(0,a.useBackend)(l),u=d.act,s=d.data,i=Object.assign(s.modal?s.modal.args:{},m||{});u("modal_open",{id:c,arguments:JSON.stringify(i)})}return C}(),b=r.modalRegisterBodyOverride=function(){function C(l,c){o[l]=c}return C}(),y=r.modalAnswer=function(){function C(l,c,m,d){var u=(0,a.useBackend)(l),s=u.act,i=u.data;if(i.modal){var h=Object.assign(i.modal.args||{},d||{});s("modal_answer",{id:c,answer:m,arguments:JSON.stringify(h)})}}return C}(),B=r.modalClose=function(){function C(l,c){var m=(0,a.useBackend)(l),d=m.act;d("modal_close",{id:c})}return C}(),k=r.ComplexModal=function(){function C(l,c){var m=(0,a.useBackend)(c),d=m.data;if(d.modal){var u=d.modal,s=u.id,i=u.text,h=u.type,N,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return B(c)}return L}()}),p,g,V="auto";if(o[s])p=o[s](d.modal,c);else if(h==="input"){var S=d.modal.value;N=function(){function L(w){return y(c,s,S)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:d.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){S=A}return L}()}),g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return B(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,S)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(h==="choice"){var I=typeof d.modal.choices=="object"?Object.values(d.modal.choices):d.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:d.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return y(c,s,w)}return L}()}),V="initial"}else h==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:d.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(d.modal.value,10),onClick:function(){function A(){return y(c,s,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):h==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:d.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:d.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:N,mx:"auto",overflowY:V,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&v,p,g]})}}return C}()},41874:function(T,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),f=n(76910),b=f.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],B=function(m){return y.indexOf(m)!==-1?"green":"orange"},k=function(m){if(y.indexOf(m)!==-1)return!0},C=function(m){return m.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),m.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{color:B(d.rank),bold:k(d.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(d.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.active})]},d.name+d.rank)})]})},l=r.CrewManifest=function(){function c(m,d){var u=(0,a.useBackend)(d),s=u.act,i;if(m.data)i=m.data;else{var h=(0,a.useBackend)(d),N=h.data;i=N}var v=i,p=v.manifest,g=p.heads,V=p.sec,S=p.eng,I=p.med,L=p.sci,w=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:C(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:C(V)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:C(S)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:C(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:C(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:C(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:C(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:C(x)})]})}return c}()},19203:function(T,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function f(b,y){var B=(0,t.useBackend)(y),k=B.act,C=B.data,l=C.large_buttons,c=C.swapped_buttons,m=b.input,d=b.message,u=b.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("submit",{entry:m})}return h}(),textAlign:"center",tooltip:l&&d,disabled:u,width:!l&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("cancel")}return h}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!l&&d&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:d})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return f}()},195:function(T,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=b.siliconUser,c=l===void 0?C.siliconUser:l,m=b.locked,d=m===void 0?C.locked:m,u=b.normallyLocked,s=u===void 0?C.normallyLocked:u,i=b.onLockStatusChange,h=i===void 0?function(){return k("lock")}:i,N=b.accessText,v=N===void 0?"an ID card":N;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function p(){h&&h(!d)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",v," to ",d?"unlock":"lock"," this interface."]})}return f}()},51057:function(T,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function f(b){var y=b.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return f}()},321:function(T,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.loginState;if(C)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return f}()},5485:function(T,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.loginState,c=C.isAI,m=C.isRobot,d=C.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function u(){return k("login_insert")}return u}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function u(){return k("login_login",{login_type:1})}return u}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function u(){return k("login_login",{login_type:2})}return u}()}),!!m&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function u(){return k("login_login",{login_type:3})}return u}()}),!!d&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function u(){return k("login_login",{login_type:4})}return u}()})]})})})}return f}()},62411:function(T,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function f(b){var y=b.operating,B=b.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",B," is processing..."]})})})}return f}();o.propTypes={operating:t.bool,name:t.string}},13545:function(T,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.Signaler=function(){function b(y,B){var k=(0,t.useBackend)(B),C=k.act,l=y.data,c=l.code,m=l.frequency,d=l.minFrequency,u=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:d/10,maxValue:u/10,value:m/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,h){return C("freq",{freq:h})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,h){return C("code",{code:h})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return C("signal")}return s}()})]})}return b}()},41984:function(T,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),f=n(88510),b=n(36036),y=r.SimpleRecords=function(){function C(l,c){var m=l.data.records;return(0,e.createComponentVNode)(2,b.Box,{children:m?(0,e.createComponentVNode)(2,k,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,B,{data:l.data})})}return C}(),B=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],h=s[1],N=function(g,V){V===void 0&&(V="");var S=(0,t.createSearch)(V,function(I){return I.Name});return(0,o.flow)([(0,f.filter)(function(I){return I==null?void 0:I.Name}),V&&(0,f.filter)(S),(0,f.sortBy)(function(I){return I.Name})])(u)},v=N(u,i);return(0,e.createComponentVNode)(2,b.Box,{children:[(0,e.createComponentVNode)(2,b.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(g,V){return h(V)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,b.Box,{children:(0,e.createComponentVNode)(2,b.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function g(){return d("Records",{target:p.uid})}return g}()})},p)})]})},k=function(l,c){var m=(0,a.useBackend)(c),d=m.act,u=l.data.records,s=u.general,i=u.medical,h=u.security,N;switch(l.recordType){case"MED":N=(0,e.createComponentVNode)(2,b.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":N=(0,e.createComponentVNode)(2,b.Section,{level:2,title:"Security Data",children:h?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Criminal Status",children:h.criminal}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Minor Crimes",children:h.mi_crim}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:h.mi_crim_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Major Crimes",children:h.ma_crim}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:h.ma_crim_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:h.notes})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,b.Box,{children:[(0,e.createComponentVNode)(2,b.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"General record lost!"})}),N]})}},22091:function(T,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function f(b,y){var B,k=(0,a.useBackend)(y),C=k.act,l=k.data,c=l.temp;if(c){var m=(B={},B[c.style]=!0,B);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},m,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function d(){return C("cleartemp")}return d}()})})]})})))}}return f}()},80818:function(T,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:C.app_data})}return f}()},23903:function(T,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.holder,m=l.dead,d=l.health,u=l.brute,s=l.oxy,i=l.tox,h=l.burn,N=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:m?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:d/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:h})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:u})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return f}()},64988:function(T,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.master,m=l.dna,d=l.prime,u=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+m+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:u||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return f}()},13813:function(T,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.cable,m=l.machine,d=l.inprogress,u=l.progress,s=l.aborted,i;m?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function N(){return k("cable")}return N}()});var h;return m&&(h=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:u,maxValue:100}),d?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function N(){return k("cancel")}return N}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function N(){return k("jack")}return N}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),h]})}return f}()},66025:function(T,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.available_software,m=l.installed_software,d=l.installed_toggles,u=l.available_ram,s=l.emotions,i=l.current_emotion,h=l.speech_verbs,N=l.current_speech_verb,v=l.available_chassises,p=l.current_chassis,g=[];return m.map(function(V){return g[V.key]=V.name}),d.map(function(V){return g[V.key]=V.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(V){return!g[V.key]}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name+" ("+V.cost+")",icon:V.icon,disabled:V.cost>u,onClick:function(){function S(){return k("purchaseSoftware",{key:V.key})}return S}()},V.key)}),c.filter(function(V){return!g[V.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[m.filter(function(V){return V.key!=="mainmenu"}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,onClick:function(){function S(){return k("startSoftware",{software_key:V.key})}return S}()},V.key)}),m.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[d.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,selected:V.active,onClick:function(){function S(){return k("setToggle",{toggle_key:V.key})}return S}()},V.key)}),d.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.id===i,onClick:function(){function S(){return k("setEmotion",{emotion:V.id})}return S}()},V.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:h.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.name===N,onClick:function(){function S(){return k("setSpeechStyle",{speech_state:V.name})}return S}()},V.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:v.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.icon===p,onClick:function(){function S(){return k("setChassis",{chassis_to_change:V.icon})}return S}()},V.id)})})]})})}return f}()},2983:function(T,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:C.app_data})}return f}()},40758:function(T,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return f}()},98599:function(T,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:C.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:C.app_data})}return f}()},50775:function(T,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),f=r.pai_radio=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.app_data,m=c.minFrequency,d=c.maxFrequency,u=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:m/10,maxValue:d/10,value:u/10,format:function(){function i(h){return(0,t.toFixed)(h,1)}return i}(),onChange:function(){function i(h,N){return C("freq",{freq:N})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return C("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return C("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return b}()},48623:function(T,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return f}()},47297:function(T,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:C.app_data})}return f}()},78532:function(T,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return f}()},40253:function(T,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.janitor,c=l.user_loc,m=l.mops,d=l.buckets,u=l.cleanbots,s=l.carts,i=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),m&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:m.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:u.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.direction_from_user,")"]},h)})})]})}return f}()},58293:function(T,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),f=r.pda_main_menu=function(){function b(y,B){var k=(0,t.useBackend)(B),C=k.act,l=k.data,c=l.owner,m=l.ownjob,d=l.idInserted,u=l.categories,s=l.pai,i=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",m]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!d,onClick:function(){function h(){return C("UpdateInfo")}return h}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:u.map(function(h){var N=l.apps[h];return!N||!N.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h,children:N.map(function(v){return(0,e.createComponentVNode)(2,o.Button,{icon:v.uid in i?v.notify_icon:v.icon,iconSpin:v.uid in i,color:v.uid in i?"red":"transparent",content:v.name,onClick:function(){function p(){return C("StartProgram",{program:v.uid})}return p}()},v.uid)})},h)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function h(){return C("pai",{option:1})}return h}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function h(){return C("pai",{option:2})}return h}()})]})})]})}return b}()},58059:function(T,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return f}()},18147:function(T,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function f(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return f}()},77595:function(T,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),f=r.pda_messenger=function(){function k(C,l){var c=(0,t.useBackend)(l),m=c.act,d=c.data,u=d.active_convo;return u?(0,e.createComponentVNode)(2,b,{data:d}):(0,e.createComponentVNode)(2,y,{data:d})}return k}(),b=r.ActiveConversation=function(){function k(C,l){var c=(0,t.useBackend)(l),m=c.act,d=C.data,u=d.convo_name,s=d.convo_job,i=d.messages,h=d.active_convo,N=(0,t.useLocalState)(l,"clipboardMode",!1),v=N[0],p=N[1],g=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function V(){return p(!v)}return V}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function V(){return m("Message",{target:h})}return V}(),content:"Reply"})],4),children:(0,a.filter)(function(V){return V.target===h})(i).map(function(V,S){return(0,e.createComponentVNode)(2,o.Box,{textAlign:V.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:V.sent?"#4d9121":"#cd7a0d",position:"absolute",left:V.sent?null:"0px",right:V.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:V.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:V.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:V.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[V.sent?"You:":"Them:"," ",V.message]})]},S)})});return v&&(g=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+u+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function V(){return p(!v)}return V}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function V(){return m("Message",{target:h})}return V}(),content:"Reply"})],4),children:(0,a.filter)(function(V){return V.target===h})(i).map(function(V,S){return(0,e.createComponentVNode)(2,o.Box,{color:V.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[V.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:V.message})]},S)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function V(){return m("Clear",{option:"Convo"})}return V}()})})})}),g]})}return k}(),y=r.MessengerList=function(){function k(C,l){var c=(0,t.useBackend)(l),m=c.act,d=C.data,u=d.convopdas,s=d.pdas,i=d.charges,h=d.silent,N=d.toff,v=d.ringtone_list,p=d.ringtone,g=(0,t.useLocalState)(l,"searchTerm",""),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"volume-mute":"volume-up",onClick:function(){function I(){return m("Toggle Ringer")}return I}(),children:["Ringer: ",h?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:N?"bad":"green",icon:"power-off",onClick:function(){function I(){return m("Toggle Messenger")}return I}(),children:["Messenger: ",N?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return m("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return m("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(v),onSelected:function(){function I(L){return m("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!N&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!u.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:V,onInput:function(){function I(L,w){S(w)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,B,{title:"Current Conversations",data:d,pdas:u,msgAct:"Select Conversation",searchTerm:V}),(0,e.createComponentVNode)(2,B,{title:"Other PDAs",pdas:s,msgAct:"Message",data:d,searchTerm:V})]})}return k}(),B=function(C,l){var c=(0,t.useBackend)(l),m=c.act,d=C.data,u=C.pdas,s=C.title,i=C.msgAct,h=C.searchTerm,N=d.charges,v=d.plugins;return!u||!u.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:u.filter(function(p){return p.Name.toLowerCase().includes(h.toLowerCase())}).map(function(p){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:p.Name,onClick:function(){function g(){return m(i,{target:p.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!N&&v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function V(){return m("Messenger Plugin",{plugin:g.uid,target:p.uid})}return V}()},g.uid)})})]},p.uid)})})}},24635:function(T,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.mulebot,d=m.active;return(0,e.createComponentVNode)(2,t.Box,{children:d?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,f)})}return y}(),f=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.mulebot,d=m.bots;return d.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:u.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:u.uid})}return s}()})},u.Name)})},b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,m=c.mulebot,d=m.botstatus,u=m.active,s=d.mode,i=d.loca,h=d.load,N=d.powr,v=d.dest,p=d.home,g=d.retn,V=d.pick,S;switch(s){case 0:S="Ready";break;case 1:S="Loading/Unloading";break;case 2:case 12:S="Navigating to delivery location";break;case 3:S="Navigating to Home";break;case 4:S="Waiting for clear path";break;case 5:case 6:S="Calculating navigation path";break;case 7:S="Unable to locate destination";break;default:S=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:u,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[N,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:h?h+" (Unload)":"None",disabled:!h,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Yes":"No",selected:V,onClick:function(){function I(){return l("set_pickup_type",{autopick:V?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Yes":"No",selected:g,onClick:function(){function I(){return l("set_auto_return",{autoret:g?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},23734:function(T,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),f=r.pda_nanobank=function(){function d(u,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.logged_in,p=N.owner_name,g=N.money;return v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",g]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,l)}return d}(),b=function(u,s){var i=(0,t.useBackend)(s),h=i.data,N=h.is_premium,v=(0,t.useLocalState)(s,"tabIndex",1),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function V(){return g(1)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function V(){return g(2)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function V(){return g(3)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!N&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function V(){return g(4)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},y=function(u,s){var i=(0,t.useLocalState)(s,"tabIndex",1),h=i[0],N=(0,t.useBackend)(s),v=N.data,p=v.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(h){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,C);case 4:return(0,e.createComponentVNode)(2,m);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},B=function(u,s){var i,h=(0,t.useBackend)(s),N=h.act,v=h.data,p=v.requests,g=v.available_accounts,V=v.money,S=(0,t.useLocalState)(s,"selectedAccount"),I=S[0],L=S[1],w=(0,t.useLocalState)(s,"transferAmount"),A=w[0],x=w[1],E=(0,t.useLocalState)(s,"searchText",""),M=E[0],j=E[1],P=[];return g.map(function(O){return P[O.name]=O.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function O(D,F){return j(F)}return O}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:g.filter((0,a.createSearch)(M,function(O){return O.name})).map(function(O){return O.name}),selected:(i=g.filter(function(O){return O.UID===I})[0])==null?void 0:i.name,onSelected:function(){function O(D){return L(P[D])}return O}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function O(D,F){return x(F)}return O}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:V0&&i.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:["#",N.Number,' - "',N.Name,'" for "',N.OrderedBy,'"']},N)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&u.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:["#",N.Number,' - "',N.Name,'" for "',N.ApprovedBy,'"']},N)})})]})}return f}()},17617:function(T,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),f=["className","theme","children"],b=["className","scrollable","children"];/**
+ */var b=(0,t.createLogger)("hotkeys"),y={},B=[e.KEY_ESCAPE,e.KEY_ENTER,e.KEY_SPACE,e.KEY_TAB,e.KEY_CTRL,e.KEY_SHIFT,e.KEY_UP,e.KEY_DOWN,e.KEY_LEFT,e.KEY_RIGHT],k={},C=function(i){if(i===16)return"Shift";if(i===17)return"Ctrl";if(i===18)return"Alt";if(i===33)return"Northeast";if(i===34)return"Southeast";if(i===35)return"Southwest";if(i===36)return"Northwest";if(i===37)return"West";if(i===38)return"North";if(i===39)return"East";if(i===40)return"South";if(i===45)return"Insert";if(i===46)return"Delete";if(i>=48&&i<=57||i>=65&&i<=90)return String.fromCharCode(i);if(i>=96&&i<=105)return"Numpad"+(i-96);if(i>=112&&i<=123)return"F"+(i-111);if(i===188)return",";if(i===189)return"-";if(i===190)return"."},l=function(i){var h=String(i);if(h==="Ctrl+F5"||h==="Ctrl+R"){location.reload();return}if(h!=="Ctrl+F"&&!(i.event.defaultPrevented||i.isModifierKey()||B.includes(i.code))){h==="F5"&&(i.event.preventDefault(),i.event.returnValue=!1);var N=C(i.code);if(N){var v=y[N];if(v)return b.debug("macro",v),Byond.command(v);if(i.isDown()&&!k[N]){k[N]=!0;var p='Key_Down "'+N+'"';return b.debug(p),Byond.command(p)}if(i.isUp()&&k[N]){k[N]=!1;var g='Key_Up "'+N+'"';return b.debug(g),Byond.command(g)}}}},c=r.acquireHotKey=function(){function s(i){B.push(i)}return s}(),f=r.releaseHotKey=function(){function s(i){var h=B.indexOf(i);h>=0&&B.splice(h,1)}return s}(),u=r.releaseHeldKeys=function(){function s(){for(var i=0,h=Object.keys(k);i0||(0,a.fetchRetry)((0,e.resolveAsset)("icon_ref_map.json")).then(function(b){return b.json()}).then(function(b){return Byond.iconRefMap=b}).catch(function(b){return t.logger.log(b)})}return m}()},1090:function(T,r,n){"use strict";r.__esModule=!0,r.AICard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AICard=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.has_ai===0)return(0,e.createComponentVNode)(2,o.Window,{width:250,height:120,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var c=null;return l.integrity>=75?c="green":l.integrity>=25?c="yellow":c="red",(0,e.createComponentVNode)(2,o.Window,{width:600,height:420,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.name,children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:c,value:l.integrity/100})})}),(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h2",null,l.flushing===1?"Wipe of AI in progress...":"",0)})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(f,u){return(0,e.createComponentVNode)(2,t.Box,{children:f},u)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.wireless?"check":"times",content:l.wireless?"Enabled":"Disabled",color:l.wireless?"green":"red",onClick:function(){function f(){return C("wireless")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{width:10,icon:l.radio?"check":"times",content:l.radio?"Enabled":"Disabled",color:l.radio?"green":"red",onClick:function(){function f(){return C("radio")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wipe",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{width:10,icon:"trash-alt",confirmIcon:"trash-alt",disabled:l.flushing||l.integrity===0,confirmColor:"red",content:"Wipe AI",onClick:function(){function f(){return C("wipe")}return f}()})})]})})})]})})})}return b}()},39454:function(T,r,n){"use strict";r.__esModule=!0,r.AIFixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AIFixer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.occupant===null)return(0,e.createComponentVNode)(2,o.Window,{width:550,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stored AI",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"robot",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No Artificial Intelligence detected.",16)]})})})})});var c=!0;(l.stat===2||l.stat===null)&&(c=!1);var f=null;l.integrity>=75?f="green":l.integrity>=25?f="yellow":f="red";var u=!0;return l.integrity>=100&&l.stat!==2&&(u=!1),(0,e.createComponentVNode)(2,o.Window,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:l.occupant,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:f,value:l.integrity/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:c?"green":"red",children:c?"Functional":"Non-Functional"})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Laws",children:!!l.has_laws&&(0,e.createComponentVNode)(2,t.Box,{children:l.laws.map(function(d,s){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:d},s)})})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:(0,e.createVNode)(1,"h3",null,"No laws detected.",16)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Wireless Activity",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.wireless?"times":"check",content:l.wireless?"Disabled":"Enabled",color:l.wireless?"red":"green",onClick:function(){function d(){return C("wireless")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subspace Transceiver",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.radio?"times":"check",content:l.radio?"Disabled":"Enabled",color:l.radio?"red":"green",onClick:function(){function d(){return C("radio")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Start Repairs",children:(0,e.createComponentVNode)(2,t.Button,{icon:"wrench",disabled:!u||l.active,content:!u||l.active?"Already Repaired":"Repair",onClick:function(){function d(){return C("fix")}return d}()})})]}),(0,e.createComponentVNode)(2,t.Box,{color:"green",lineHeight:2,children:l.active?"Reconstruction in progress.":""})]})})]})})})}return b}()},88422:function(T,r,n){"use strict";r.__esModule=!0,r.APC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(195),b=r.APC=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:510,height:435,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return C}(),y={2:{color:"good",externalPowerText:"External Power",chargingText:"Fully Charged"},1:{color:"average",externalPowerText:"Low External Power",chargingText:"Charging"},0:{color:"bad",externalPowerText:"No External Power",chargingText:"Not Charging"}},B={1:{icon:"terminal",content:"Override Programming",action:"hack"},2:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"},3:{icon:"caret-square-left",content:"Return to Main Core",action:"deoccupy"},4:{icon:"caret-square-down",content:"Shunt Core Process",action:"occupy"}},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.locked&&!d.siliconUser,i=d.normallyLocked,h=y[d.externalPower]||y[0],N=y[d.chargingStatus]||y[0],v=d.powerChannels||[],p=B[d.malfStatus]||B[0],g=d.powerCellStatus/100;return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main Breaker",color:h.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.isOperating?"power-off":"times",content:d.isOperating?"On":"Off",selected:d.isOperating&&!s,color:d.isOperating?"":"bad",disabled:s,onClick:function(){function V(){return u("breaker")}return V}()}),children:["[ ",h.externalPowerText," ]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Cell",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"good",value:g})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",color:N.color,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:d.chargeMode?"sync":"times",content:d.chargeMode?"Auto":"Off",selected:d.chargeMode,disabled:s,onClick:function(){function V(){return u("charge")}return V}()}),children:["[ ",N.chargingText," ]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Channels",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[v.map(function(V){var S=V.topicParams;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:V.title,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:2,color:V.status>=2?"good":"bad",children:V.status>=2?"On":"Off"}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:!s&&(V.status===1||V.status===3),disabled:s,onClick:function(){function I(){return u("channel",S.auto)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:"On",selected:!s&&V.status===2,disabled:s,onClick:function(){function I(){return u("channel",S.on)}return I}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:!s&&V.status===0,disabled:s,onClick:function(){function I(){return u("channel",S.off)}return I}()})],4),children:[V.powerLoad," W"]},V.title)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Load",children:(0,e.createVNode)(1,"b",null,[d.totalLoad,(0,e.createTextVNode)(" W")],0)})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc",buttons:!!d.siliconUser&&(0,e.createFragment)([!!d.malfStatus&&(0,e.createComponentVNode)(2,t.Button,{icon:p.icon,content:p.content,color:"bad",onClick:function(){function V(){return u(p.action)}return V}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){function V(){return u("overload")}return V}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.4,icon:d.coverLocked?"lock":"unlock",content:d.coverLocked?"Engaged":"Disengaged",disabled:s,onClick:function(){function V(){return u("cover")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lightbulb-o",content:d.emergencyLights?"Enabled":"Disabled",disabled:s,onClick:function(){function V(){return u("emergency_lighting")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,e.createComponentVNode)(2,t.Button,{mt:.4,icon:"lightbulb-o",content:d.nightshiftLights?"Enabled":"Disabled",onClick:function(){function V(){return u("toggle_nightshift")}return V}()})})]})})],4)}},99660:function(T,r,n){"use strict";r.__esModule=!0,r.ATM=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ATM=function(){function f(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.view_screen,v=h.authenticated_account,p=h.ticks_left_locked_down,g=h.linked_db,V;if(p>0)V=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Maximum number of pin attempts exceeded! Access to this ATM has been temporarily disabled."]});else if(!g)V=(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle"}),"Unable to connect to accounts database, please retry and if the issue persists contact Nanotrasen IT support."]});else if(v)switch(N){case 1:V=(0,e.createComponentVNode)(2,y);break;case 2:V=(0,e.createComponentVNode)(2,B);break;case 3:V=(0,e.createComponentVNode)(2,l);break;default:V=(0,e.createComponentVNode)(2,k)}else V=(0,e.createComponentVNode)(2,C);return(0,e.createComponentVNode)(2,o.Window,{width:550,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Section,{children:V})]})})}return f}(),b=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.machine_id,v=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Nanotrasen Automatic Teller Machine",children:[(0,e.createComponentVNode)(2,t.Box,{children:"For all your monetary needs!"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Card",children:(0,e.createComponentVNode)(2,t.Button,{content:v,icon:"eject",onClick:function(){function p(){return i("insert_card")}return p}()})})})]})},y=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.security_level;return(0,e.createComponentVNode)(2,t.Section,{title:"Select a new security level for this account",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Number",icon:"unlock",selected:N===0,onClick:function(){function v(){return i("change_security_level",{new_security_level:1})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"Either the account number or card is required to access this account. EFTPOS transactions will require a card."}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:(0,e.createComponentVNode)(2,t.Button,{content:"Account Pin",icon:"unlock",selected:N===2,onClick:function(){function v(){return i("change_security_level",{new_security_level:2})}return v}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:"An account number and pin must be manually entered to access this account and process transactions."})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},B=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=(0,a.useLocalState)(d,"targetAccNumber",0),v=N[0],p=N[1],g=(0,a.useLocalState)(d,"fundsAmount",0),V=g[0],S=g[1],I=(0,a.useLocalState)(d,"purpose",0),L=I[0],w=I[1],A=h.money;return(0,e.createComponentVNode)(2,t.Section,{title:"Transfer Fund",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",A]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Account Number",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"7 Digit Number",onInput:function(){function x(E,M){return p(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Funds to Transfer",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function x(E,M){return S(M)}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transaction Purpose",children:(0,e.createComponentVNode)(2,t.Input,{fluid:!0,onInput:function(){function x(E,M){return w(M)}return x}()})})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Button,{content:"Transfer",icon:"sign-out-alt",onClick:function(){function x(){return i("transfer",{target_acc_number:v,funds_amount:V,purpose:L})}return x}()}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},k=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=(0,a.useLocalState)(d,"fundsAmount",0),v=N[0],p=N[1],g=h.owner_name,V=h.money;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Welcome, "+g,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Logout",icon:"sign-out-alt",onClick:function(){function S(){return i("logout")}return S}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account Balance",children:["$",V]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Withdrawal Amount",children:(0,e.createComponentVNode)(2,t.Input,{onInput:function(){function S(I,L){return p(L)}return S}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Withdraw Funds",icon:"sign-out-alt",onClick:function(){function S(){return i("withdrawal",{funds_amount:v})}return S}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Menu",children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Change account security level",icon:"lock",onClick:function(){function S(){return i("view_screen",{view_screen:1})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Make transfer",icon:"exchange-alt",onClick:function(){function S(){return i("view_screen",{view_screen:2})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"View transaction log",icon:"list",onClick:function(){function S(){return i("view_screen",{view_screen:3})}return S}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Print balance statement",icon:"print",onClick:function(){function S(){return i("balance_statement")}return S}()})})]})],4)},C=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=(0,a.useLocalState)(d,"accountID",null),v=N[0],p=N[1],g=(0,a.useLocalState)(d,"accountPin",null),V=g[0],S=g[1],I=h.machine_id,L=h.held_card_name;return(0,e.createComponentVNode)(2,t.Section,{title:"Insert card or enter ID and pin to login",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Account ID",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,x){return p(x)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pin",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"6 Digit Number",onInput:function(){function w(A,x){return S(x)}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Login",icon:"sign-in-alt",onClick:function(){function w(){return i("attempt_auth",{account_num:v,account_pin:V})}return w}()})})]})})},l=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.transaction_log;return(0,e.createComponentVNode)(2,t.Section,{title:"Transactions",children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Terminal"})]}),N.map(function(v){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.purpose}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:v.is_deposit?"green":"red",children:["$",v.amount]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v.target_name})]},v)})]}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,c)]})},c=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data;return(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"sign-out-alt",onClick:function(){function N(){return i("view_screen",{view_screen:0})}return N}()})}},86423:function(T,r,n){"use strict";r.__esModule=!0,r.AccountsUplinkTerminal=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(36352),b=n(98595),y=n(321),B=n(5485),k=r.AccountsUplinkTerminal=function(){function h(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.loginState,I=V.currentPage,L;if(S.logged_in)I===1?L=(0,e.createComponentVNode)(2,l):I===2?L=(0,e.createComponentVNode)(2,s):I===3&&(L=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,b.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,B.LoginScreen)})})});return(0,e.createComponentVNode)(2,b.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:L})]})})})}return h}(),C=function(N,v){var p=(0,t.useBackend)(v),g=p.data,V=(0,t.useLocalState)(v,"tabIndex",0),S=V[0],I=V[1],L=g.login_state;return(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,mb:1,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:S===0,onClick:function(){function w(){return I(0)}return w}(),children:"User Accounts"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:S===1,onClick:function(){function w(){return I(1)}return w}(),children:"Department Accounts"})]})})})},l=function(N,v){var p=(0,t.useLocalState)(v,"tabIndex",0),g=p[0];switch(g){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},c=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.accounts,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],w=I[1],A=(0,t.useLocalState)(v,"sortId","owner_name"),x=A[0],E=A[1],M=(0,t.useLocalState)(v,"sortOrder",!0),j=M[0],P=M[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,u,{id:"owner_name",children:"Account Holder"}),(0,e.createComponentVNode)(2,u,{id:"account_number",children:"Account Number"}),(0,e.createComponentVNode)(2,u,{id:"suspended",children:"Account Status"}),(0,e.createComponentVNode)(2,u,{id:"money",children:"Account Balance"})]}),S.filter((0,a.createSearch)(L,function(O){return O.owner_name+"|"+O.account_number+"|"+O.suspended+"|"+O.money})).sort(function(O,D){var F=j?1:-1;return O[x].localeCompare(D[x])*F}).map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+O.suspended,onClick:function(){function D(){return g("view_account_detail",{account_num:O.account_number})}return D}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",O.owner_name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",O.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.money})]},O.account_number)})]})})})]})},f=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.department_accounts;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{className:"AccountsUplinkTerminal__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,m.TableCell,{children:"Department Name"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Number"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Status"}),(0,e.createComponentVNode)(2,m.TableCell,{children:"Account Balance"})]}),S.map(function(I){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"AccountsUplinkTerminal__listRow--"+I.suspended,onClick:function(){function L(){return g("view_account_detail",{account_num:I.account_number})}return L}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"wallet"})," ",I.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:["#",I.account_number]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.suspended}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:I.money})]},I.account_number)})]})})})})},u=function(N,v){var p=(0,t.useLocalState)(v,"sortId","name"),g=p[0],V=p[1],S=(0,t.useLocalState)(v,"sortOrder",!0),I=S[0],L=S[1],w=N.id,A=N.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:g!==w&&"transparent",width:"100%",onClick:function(){function x(){g===w?L(!I):(V(w),L(!0))}return x}(),children:[A,g===w&&(0,e.createComponentVNode)(2,o.Icon,{name:I?"sort-up":"sort-down",ml:"0.25rem;"})]})})},d=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.is_printing,I=(0,t.useLocalState)(v,"searchText",""),L=I[0],w=I[1];return(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"New Account",icon:"plus",onClick:function(){function A(){return g("create_new_account")}return A}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account holder, number, status",width:"100%",onInput:function(){function A(x,E){return w(E)}return A}()})})]})},s=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=V.account_number,I=V.owner_name,L=V.money,w=V.suspended,A=V.transactions,x=V.account_pin,E=V.is_department_account;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"#"+S+" / "+I,buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function M(){return g("back")}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Number",children:["#",S]}),!!E&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin",children:x}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Pin Actions",children:(0,e.createComponentVNode)(2,o.Button,{ml:1,icon:"user-cog",content:"Set New Pin",disabled:!!E,onClick:function(){function M(){return g("set_account_pin",{account_number:S})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:I}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:L}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Status",color:w?"red":"green",children:[w?"Suspended":"Active",(0,e.createComponentVNode)(2,o.Button,{ml:1,content:w?"Unsuspend":"Suspend",icon:w?"unlock":"lock",onClick:function(){function M(){return g("toggle_suspension")}return M}()})]})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Transactions",children:(0,e.createComponentVNode)(2,o.Table,{children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Timestamp"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Reason"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Value"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Terminal"})]}),A.map(function(M){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.time}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.purpose}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:M.is_deposit?"green":"red",children:["$",M.amount]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M.target_name})]},M)})]})})})]})},i=function(N,v){var p=(0,t.useBackend)(v),g=p.act,V=p.data,S=(0,t.useLocalState)(v,"accName",""),I=S[0],L=S[1],w=(0,t.useLocalState)(v,"accDeposit",""),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Create Account",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"arrow-left",content:"Back",onClick:function(){function E(){return g("back")}return E}()}),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Holder",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Name Here",onChange:function(){function E(M,j){return L(j)}return E}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Initial Deposit",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"0",onChange:function(){function E(M,j){return x(j)}return E}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,content:"Create Account",onClick:function(){function E(){return g("finalise_create_account",{holder_name:I,starting_funds:A})}return E}()})]})}},79571:function(T,r,n){"use strict";r.__esModule=!0,r.AgentCardInfo=r.AgentCardAppearances=r.AgentCard=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=[{name:"Male",icon:"mars"},{name:"Female",icon:"venus"},{name:"Genderless",icon:"genderless"}],b=["A+","A-","B+","B-","AB+","AB-","O+","O-"],y=r.AgentCard=function(){function c(f,u){var d=(0,a.useLocalState)(u,"tabIndex",0),s=d[0],i=d[1],h=function(){function N(v){switch(v){case 0:return(0,e.createComponentVNode)(2,C);case 1:return(0,e.createComponentVNode)(2,l);default:return(0,e.createComponentVNode)(2,C)}}return N}();return(0,e.createComponentVNode)(2,o.Window,{width:405,height:505,theme:"syndicate",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"table",selected:s===0,onClick:function(){function N(){return i(0)}return N}(),children:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F"},"Card Info"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:s===1,onClick:function(){function N(){return i(1)}return N}(),children:"\u0412\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434"},"Appearance")]})}),h(s)]})})})}return c}(),B="\u041F\u0443\u0441\u0442\u043E",k=function(f){var u=f.label,d=f.value,s=f.onCommit,i=f.onClick,h=f.onRClick,N=f.tooltip;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:u,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Input,{fluid:!0,textAlign:"center",content:d||B,onCommit:s})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"file-signature",tooltip:N,tooltipPosition:"bottom-end",onClick:i,onContextMenu:h})})]})})},C=r.AgentCardInfo=function(){function c(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.registered_name,N=i.sex,v=i.age,p=i.assignment,g=i.associated_account_number,V=i.blood_type,S=i.dna_hash,I=i.fingerprint_hash,L=i.photo,w=i.ai_tracking,A=(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041B\u041A\u041C - \u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("\u041F\u041A\u041C - \u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0447\u0443\u0436\u043E\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440.")],4);return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NoticeBox,{m:0,children:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043D\u0435 \u0432\u043B\u0438\u044F\u044E\u0442 \u043D\u0430 \u0434\u043E\u0441\u0442\u0443\u043F\u044B."})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,k,{label:"\u0418\u043C\u044F",value:h,tooltip:A,onCommit:function(){function x(E,M){return s("change_name",{name:M})}return x}(),onClick:function(){function x(){return s("change_name",{option:"Primary"})}return x}(),onRClick:function(){function x(E){E.preventDefault(),s("change_name",{option:"Secondary"})}return x}()}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:m.map(function(x){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:x.icon,content:x.name,selected:N===x.name,onClick:function(){function E(){return s("change_sex",{sex:x.name})}return E}()})},x.name)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0412\u043E\u0437\u0440\u0430\u0441\u0442",children:(0,e.createComponentVNode)(2,t.Slider,{fluid:!0,minValue:17,value:v||0,maxValue:300,onChange:function(){function x(E,M){return s("change_age",{age:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u043B\u0436\u043D\u043E\u0441\u0442\u044C",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:p||B,onClick:function(){function x(){return s("change_occupation")}return x}()})}),(0,e.createComponentVNode)(2,k,{label:"\u041E\u0442\u043F\u0435\u0447\u0430\u0442\u043A\u0438",value:I,tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0438 \u043E\u0442\u043F\u0435\u0447\u0430\u0442\u043A\u0438.",onCommit:function(){function x(E,M){return s("change_fingerprints",{new_fingerprints:M})}return x}(),onClick:function(){function x(){return s("change_fingerprints",{option:"Primary"})}return x}()}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u043F \u043A\u0440\u043E\u0432\u0438",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,mb:-.5,children:b.map(function(x){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:x,selected:V===x,onClick:function(){function E(){return s("change_blood_type",{new_type:x})}return E}()})},x)})})}),(0,e.createComponentVNode)(2,k,{label:"\u0414\u041D\u041A",value:S,onCommit:function(){function x(E,M){return s("change_dna_hash",{new_dna:M})}return x}(),onClick:function(){function x(){return s("change_dna_hash",{option:"Primary"})}return x}(),tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u0432\u043E\u0451 \u0414\u041D\u041A."}),(0,e.createComponentVNode)(2,k,{label:"\u0410\u043A\u043A\u0430\u0443\u043D\u0442",value:g||0,onCommit:function(){function x(E,M){return s("change_money_account",{new_account:M})}return x}(),onClick:function(){function x(){return s("change_money_account",{option:"Primary"})}return x}(),tooltip:"\u0412\u0432\u0435\u0441\u0442\u0438 \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u043D\u0430\u0431\u043E\u0440 \u0446\u0438\u0444\u0440."}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u043E\u0442\u043E",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:L?"Update":B,onClick:function(){function x(){return s("change_photo")}return x}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043A\u0430\u0440\u0442\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{fluid:!0,textAlign:"center",content:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u044E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044E",confirmContent:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",onClick:function(){function x(){return s("delete_info")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0414\u043E\u0441\u0442\u0443\u043F\u044B",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{fluid:!0,textAlign:"center",content:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u044B",confirmContent:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B?",onClick:function(){function x(){return s("clear_access")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0418\u0418",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:w?"\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E":"\u0412\u043E\u0437\u043C\u043E\u0436\u043D\u043E",onClick:function(){function x(){return s("change_ai_tracking")}return x}()})})]})})})],4)}return c}(),l=r.AgentCardAppearances=function(){function c(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=(0,a.useSharedState)(u,"selectedAppearance",""),N=h[0],v=h[1],p=i.icon,g=i.appearances;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0412\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434",children:g.map(function(V){return(0,e.createComponentVNode)(2,t.ImageButton,{m:.5,dmIcon:p,dmIconState:V,imageSize:58,selected:N===V,onClick:function(){function S(){v(V),s("change_appearance",{new_appearance:V})}return S}()},V)})})})}return c}()},56793:function(T,r,n){"use strict";r.__esModule=!0,r.AiAirlock=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m={2:{color:"good",localStatusText:"Offline"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Optimal"}},b=r.AiAirlock=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=m[c.power.main]||m[0],u=m[c.power.backup]||m[0],d=m[c.shock]||m[0];return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Power Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Main",color:f.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.main,content:"Disrupt",onClick:function(){function s(){return l("disrupt-main")}return s}()}),children:[c.power.main?"Online":"Offline"," ",!c.wires.main_power&&"[Wires have been cut!]"||c.power.main_timeleft>0&&"["+c.power.main_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Backup",color:u.color,buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:"lightbulb-o",disabled:!c.power.backup,content:"Disrupt",onClick:function(){function s(){return l("disrupt-backup")}return s}()}),children:[c.power.backup?"Online":"Offline"," ",!c.wires.backup_power&&"[Wires have been cut!]"||c.power.backup_timeleft>0&&"["+c.power.backup_timeleft+"s]"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Electrify",color:d.color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"wrench",disabled:!(c.wires.shock&&c.shock!==2),content:"Restore",onClick:function(){function s(){return l("shock-restore")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{mr:.5,icon:"bolt",disabled:!c.wires.shock,content:"Temporary",onClick:function(){function s(){return l("shock-temp")}return s}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"bolt",disabled:!c.wires.shock||c.shock===0,content:"Permanent",onClick:function(){function s(){return l("shock-perm")}return s}()})],4),children:[c.shock===2?"Safe":"Electrified"," ",!c.wires.shock&&"[Wires have been cut!]"||c.shock_timeleft>0&&"["+c.shock_timeleft+"s]"||c.shock_timeleft===-1&&"[Permanent]"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Access and Door Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.id_scanner?"power-off":"times",content:c.id_scanner?"Enabled":"Disabled",selected:c.id_scanner,disabled:!c.wires.id_scanner,onClick:function(){function s(){return l("idscan-toggle")}return s}()}),children:!c.wires.id_scanner&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Access",buttons:(0,e.createComponentVNode)(2,t.Button,{width:6.5,icon:c.emergency?"power-off":"times",content:c.emergency?"Enabled":"Disabled",selected:c.emergency,onClick:function(){function s(){return l("emergency-toggle")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,icon:c.locked?"lock":"unlock",content:c.locked?"Lowered":"Raised",selected:c.locked,disabled:!c.wires.bolts,onClick:function(){function s(){return l("bolt-toggle")}return s}()}),children:!c.wires.bolts&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.lights?"power-off":"times",content:c.lights?"Enabled":"Disabled",selected:c.lights,disabled:!c.wires.lights,onClick:function(){function s(){return l("light-toggle")}return s}()}),children:!c.wires.lights&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.safe?"power-off":"times",content:c.safe?"Enabled":"Disabled",selected:c.safe,disabled:!c.wires.safe,onClick:function(){function s(){return l("safe-toggle")}return s}()}),children:!c.wires.safe&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{mb:.5,width:6.5,icon:c.speed?"power-off":"times",content:c.speed?"Enabled":"Disabled",selected:c.speed,disabled:!c.wires.timing,onClick:function(){function s(){return l("speed-toggle")}return s}()}),children:!c.wires.timing&&"[Wires have been cut!]"}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:c.opened?"sign-out-alt":"sign-in-alt",content:c.opened?"Open":"Closed",selected:c.opened,disabled:c.locked||c.welded,onClick:function(){function s(){return l("open-close")}return s}()}),children:!!(c.locked||c.welded)&&(0,e.createVNode)(1,"span",null,[(0,e.createTextVNode)("[Door is "),c.locked?"bolted":"",c.locked&&c.welded?" and ":"",c.welded?"welded":"",(0,e.createTextVNode)("!]")],0)})]})})]})})}return y}()},72475:function(T,r,n){"use strict";r.__esModule=!0,r.AirAlarm=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(195),b=r.AirAlarm=function(){function d(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.locked;return(0,e.createComponentVNode)(2,o.Window,{width:570,height:p?310:755,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.InterfaceLockNoticeBox),(0,e.createComponentVNode)(2,B),!p&&(0,e.createFragment)([(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)],4)]})})}return d}(),y=function(s){return s===0?"green":s===1?"orange":"red"},B=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.air,g=v.mode,V=v.atmos_alarm,S=v.locked,I=v.alarmActivated,L=v.rcon,w=v.target_temp,A;return p.danger.overall===0?V===0?A="Optimal":A="Caution: Atmos alert in area":p.danger.overall===1?A="Caution":A="DANGER: Internals Required",(0,e.createComponentVNode)(2,t.Section,{title:"Air Status",children:p?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.pressure),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.pressure})," kPa",!S&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:g===3?"Deactivate Panic Siphon":"Activate Panic Siphon",selected:g===3,icon:"exclamation-triangle",onClick:function(){function x(){return N("mode",{mode:g===3?1:3})}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.oxygen/100,fractionDigits:"1",color:y(p.danger.oxygen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrogen",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.nitrogen/100,fractionDigits:"1",color:y(p.danger.nitrogen)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Carbon Dioxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.co2/100,fractionDigits:"1",color:y(p.danger.co2)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxins",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.plasma/100,fractionDigits:"1",color:y(p.danger.plasma)})}),p.contents.n2o>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nitrous Oxide",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.n2o/100,fractionDigits:"1",color:y(p.danger.n2o)})}),p.contents.other>.1&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:p.contents.other/100,fractionDigits:"1",color:y(p.danger.other)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.temperature),children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature})," K / ",(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:p.temperature_c})," C\xA0",(0,e.createComponentVNode)(2,t.Button,{icon:"thermometer-full",content:w+" C",onClick:function(){function x(){return N("temperature")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:p.thermostat_state?"On":"Off",selected:p.thermostat_state,icon:"power-off",onClick:function(){function x(){return N("thermostat_state")}return x}()})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Local Status",children:(0,e.createComponentVNode)(2,t.Box,{color:y(p.danger.overall),children:[A,!S&&(0,e.createFragment)([(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,t.Button,{content:I?"Reset Alarm":"Activate Alarm",selected:I,onClick:function(){function x(){return N(I?"atmos_reset":"atmos_alarm")}return x}()})],4)]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Control Settings",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Off",selected:L===1,onClick:function(){function x(){return N("set_rcon",{rcon:1})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Auto",selected:L===2,onClick:function(){function x(){return N("set_rcon",{rcon:2})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"On",selected:L===3,onClick:function(){function x(){return N("set_rcon",{rcon:3})}return x}()})]})]}):(0,e.createComponentVNode)(2,t.Box,{children:"Unable to acquire air sample!"})})},k=function(s,i){var h=(0,a.useLocalState)(i,"tabIndex",0),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===0,onClick:function(){function p(){return v(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-out-alt"})," Vent Control"]},"Vents"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===1,onClick:function(){function p(){return v(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"sign-in-alt"})," Scrubber Control"]},"Scrubbers"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===2,onClick:function(){function p(){return v(2)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog"})," Mode"]},"Mode"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:N===3,onClick:function(){function p(){return v(3)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"tachometer-alt"})," Thresholds"]},"Thresholds")]})},C=function(s,i){var h=(0,a.useLocalState)(i,"tabIndex",0),N=h[0],v=h[1];switch(N){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,f);case 3:return(0,e.createComponentVNode)(2,u);default:return"WE SHOULDN'T BE HERE!"}},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.vents;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function V(){return N("command",{cmd:"power",val:!g.power,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.direction?"Blowing":"Siphoning",icon:g.direction?"sign-out-alt":"sign-in-alt",onClick:function(){function V(){return N("command",{cmd:"direction",val:!g.direction,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure Checks",children:[(0,e.createComponentVNode)(2,t.Button,{content:"External",selected:g.checks===1,onClick:function(){function V(){return N("command",{cmd:"checks",val:1,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Internal",selected:g.checks===2,onClick:function(){function V(){return N("command",{cmd:"checks",val:2,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Pressure Target",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:g.external})," kPa\xA0",(0,e.createComponentVNode)(2,t.Button,{content:"Set",icon:"cog",onClick:function(){function V(){return N("command",{cmd:"set_external_pressure",id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Reset",icon:"redo-alt",onClick:function(){function V(){return N("command",{cmd:"set_external_pressure",val:101.325,id_tag:g.id_tag})}return V}()})]})]})},g.name)})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.scrubbers;return p.map(function(g){return(0,e.createComponentVNode)(2,t.Section,{title:g.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[(0,e.createComponentVNode)(2,t.Button,{content:g.power?"On":"Off",selected:g.power,icon:"power-off",onClick:function(){function V(){return N("command",{cmd:"power",val:!g.power,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g.scrubbing?"Scrubbing":"Siphoning",icon:g.scrubbing?"filter":"sign-in-alt",onClick:function(){function V(){return N("command",{cmd:"scrubbing",val:!g.scrubbing,id_tag:g.id_tag})}return V}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,t.Button,{content:g.widenet?"Extended":"Normal",selected:g.widenet,icon:"expand-arrows-alt",onClick:function(){function V(){return N("command",{cmd:"widenet",val:!g.widenet,id_tag:g.id_tag})}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filtering",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Carbon Dioxide",selected:g.filter_co2,onClick:function(){function V(){return N("command",{cmd:"co2_scrub",val:!g.filter_co2,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Plasma",selected:g.filter_toxins,onClick:function(){function V(){return N("command",{cmd:"tox_scrub",val:!g.filter_toxins,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrous Oxide",selected:g.filter_n2o,onClick:function(){function V(){return N("command",{cmd:"n2o_scrub",val:!g.filter_n2o,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Oxygen",selected:g.filter_o2,onClick:function(){function V(){return N("command",{cmd:"o2_scrub",val:!g.filter_o2,id_tag:g.id_tag})}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Nitrogen",selected:g.filter_n2,onClick:function(){function V(){return N("command",{cmd:"n2_scrub",val:!g.filter_n2,id_tag:g.id_tag})}return V}()})]})]})},g.name)})},f=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.modes,g=v.presets,V=v.emagged,S=v.mode,I=v.preset;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"System Mode",children:(0,e.createComponentVNode)(2,t.Table,{children:p.map(function(L){return(!L.emagonly||L.emagonly&&!!V)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===S,onClick:function(){function w(){return N("mode",{mode:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})}),(0,e.createComponentVNode)(2,t.Section,{title:"System Presets",children:[(0,e.createComponentVNode)(2,t.Box,{italic:!0,children:"After making a selection, the system will automatically cycle in order to remove contaminants."}),(0,e.createComponentVNode)(2,t.Table,{mt:1,children:g.map(function(L){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",width:1,children:(0,e.createComponentVNode)(2,t.Button,{content:L.name,icon:"cog",selected:L.id===I,onClick:function(){function w(){return N("preset",{preset:L.id})}return w}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.desc})]},L.name)})})]})],4)},u=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.thresholds;return(0,e.createComponentVNode)(2,t.Section,{title:"Alarm Thresholds",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Value"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Min"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"orange",width:"20%",children:"Warning Max"}),(0,e.createComponentVNode)(2,t.Table.Cell,{color:"red",width:"20%",children:"Danger Max"})]}),p.map(function(g){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:g.name}),g.settings.map(function(V){return(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:V.selected===-1?"Off":V.selected,onClick:function(){function S(){return N("command",{cmd:"set_threshold",env:V.env,var:V.val})}return S}()})},V.val)})]},g.name)})]})})}},12333:function(T,r,n){"use strict";r.__esModule=!0,r.AirlockAccessController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AirlockAccessController=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.exterior_status,f=l.interior_status,u=l.processing,d,s;return c==="open"?d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Lock Exterior Door",icon:"exclamation-triangle",disabled:u,onClick:function(){function i(){return C("force_ext")}return i}()}):d=(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:u,onClick:function(){function i(){return C("cycle_ext_door")}return i}()}),f==="open"?s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Lock Interior Door",icon:"exclamation-triangle",disabled:u,color:f==="open"?"red":u?"yellow":null,onClick:function(){function i(){return C("force_int")}return i}()}):s=(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:u,onClick:function(){function i(){return C("cycle_int_door")}return i}()}),(0,e.createComponentVNode)(2,o.Window,{width:330,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"External Door Status",children:c==="closed"?"Locked":"Open"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Door Status",children:f==="closed"?"Locked":"Open"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",children:(0,e.createComponentVNode)(2,t.Box,{children:[d,s]})})]})})}return b}()},28736:function(T,r,n){"use strict";r.__esModule=!0,r.AirlockElectronics=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(49148),b=1,y=2,B=4,k=8,C=r.AirlockElectronics=function(){function f(u,d){return(0,e.createComponentVNode)(2,o.Window,{width:450,height:565,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})})}return f}(),l=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.unrestricted_dir;return(0,e.createComponentVNode)(2,t.Section,{title:"Access Control",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,mb:1,children:"Unrestricted Access From:"}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-left",content:"East",selected:N&B,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:B})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-up",content:"South",selected:N&y,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:y})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-right",content:"West",selected:N&k,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:k})}return v}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"arrow-down",content:"North",selected:N&b,onClick:function(){function v(){return i("unrestricted_access",{unres_dir:b})}return v}()})})]})]})})},c=function(u,d){var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.selected_accesses,v=h.one_access,p=h.regions;return(0,e.createComponentVNode)(2,m.AccessList,{usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:v,content:"One",onClick:function(){function g(){return i("set_one_access",{access:"one"})}return g}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!v,content:"All",onClick:function(){function g(){return i("set_one_access",{access:"all"})}return g}()})],4),accesses:p,selectedList:N,accessMod:function(){function g(V){return i("set",{access:V})}return g}(),grantAll:function(){function g(){return i("grant_all")}return g}(),denyAll:function(){function g(){return i("clear_all")}return g}(),grantDep:function(){function g(V){return i("grant_region",{region:V})}return g}(),denyDep:function(){function g(V){return i("deny_region",{region:V})}return g}()})}},47365:function(T,r,n){"use strict";r.__esModule=!0,r.AlertModal=void 0;var e=n(89005),a=n(51057),t=n(72253),o=n(92986),m=n(36036),b=n(98595),y=-1,B=1,k=r.AlertModal=function(){function c(f,u){var d=(0,t.useBackend)(u),s=d.act,i=d.data,h=i.autofocus,N=i.buttons,v=N===void 0?[]:N,p=i.large_buttons,g=i.message,V=g===void 0?"":g,S=i.timeout,I=i.title,L=(0,t.useLocalState)(u,"selected",0),w=L[0],A=L[1],x=110+(V.length>30?Math.ceil(V.length/4):0)+(V.length&&p?5:0),E=325+(v.length>2?100:0),M=function(){function j(P){w===0&&P===y?A(v.length-1):w===v.length-1&&P===B?A(0):A(w+P)}return j}();return(0,e.createComponentVNode)(2,b.Window,{title:I,height:x,width:E,children:[!!S&&(0,e.createComponentVNode)(2,a.Loader,{value:S}),(0,e.createComponentVNode)(2,b.Window.Content,{onKeyDown:function(){function j(P){var O=window.event?P.which:P.keyCode;O===o.KEY_SPACE||O===o.KEY_ENTER?s("choose",{choice:v[w]}):O===o.KEY_ESCAPE?s("cancel"):O===o.KEY_LEFT?(P.preventDefault(),M(y)):(O===o.KEY_TAB||O===o.KEY_RIGHT)&&(P.preventDefault(),M(B))}return j}(),children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:1,children:(0,e.createComponentVNode)(2,m.Box,{color:"label",overflow:"hidden",children:V})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:[!!h&&(0,e.createComponentVNode)(2,m.Autofocus),(0,e.createComponentVNode)(2,C,{selected:w})]})]})})})]})}return c}(),C=function(f,u){var d=(0,t.useBackend)(u),s=d.data,i=s.buttons,h=i===void 0?[]:i,N=s.large_buttons,v=s.swapped_buttons,p=f.selected;return(0,e.createComponentVNode)(2,m.Flex,{fill:!0,align:"center",direction:v?"row":"row-reverse",justify:"space-around",wrap:!0,children:h==null?void 0:h.map(function(g,V){return N&&h.length<3?(0,e.createComponentVNode)(2,m.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{button:g,id:V.toString(),selected:p===V})},V):(0,e.createComponentVNode)(2,m.Flex.Item,{grow:N?1:0,children:(0,e.createComponentVNode)(2,l,{button:g,id:V.toString(),selected:p===V})},V)})})},l=function(f,u){var d=(0,t.useBackend)(u),s=d.act,i=d.data,h=i.large_buttons,N=f.button,v=f.selected,p=N.length>7?"100%":7;return(0,e.createComponentVNode)(2,m.Button,{mx:h?1:0,pt:h?.33:0,content:N,fluid:!!h,onClick:function(){function g(){return s("choose",{choice:N})}return g}(),selected:v,textAlign:"center",height:!!h&&2,width:!h&&p})}},71824:function(T,r,n){"use strict";r.__esModule=!0,r.AppearanceChanger=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AppearanceChanger=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.change_race,u=c.species,d=c.specimen,s=c.change_gender,i=c.gender,h=c.change_eye_color,N=c.change_skin_tone,v=c.change_skin_color,p=c.change_runechat_color,g=c.change_head_accessory_color,V=c.change_hair_color,S=c.change_secondary_hair_color,I=c.change_facial_hair_color,L=c.change_secondary_facial_hair_color,w=c.change_head_marking_color,A=c.change_body_marking_color,x=c.change_tail_marking_color,E=c.change_head_accessory,M=c.head_accessory_styles,j=c.head_accessory_style,P=c.change_hair,O=c.hair_styles,D=c.hair_style,F=c.change_hair_gradient,W=c.change_facial_hair,U=c.facial_hair_styles,$=c.facial_hair_style,K=c.change_head_markings,G=c.head_marking_styles,Q=c.head_marking_style,J=c.change_body_markings,ue=c.body_marking_styles,ie=c.body_marking_style,he=c.change_tail_markings,te=c.tail_marking_styles,q=c.tail_marking_style,ne=c.change_body_accessory,le=c.body_accessory_styles,ee=c.body_accessory_style,re=c.change_alt_head,oe=c.alt_head_styles,fe=c.alt_head_style,me=!1;return(h||N||v||g||p||V||S||I||L||w||A||x)&&(me=!0),(0,e.createComponentVNode)(2,o.Window,{width:800,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",children:u.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.specimen,selected:Y.specimen===d,onClick:function(){function ve(){return l("race",{race:Y.specimen})}return ve}()},Y.specimen)})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gender",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Male",selected:i==="male",onClick:function(){function Y(){return l("gender",{gender:"male"})}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Female",selected:i==="female",onClick:function(){function Y(){return l("gender",{gender:"female"})}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Genderless",selected:i==="plural",onClick:function(){function Y(){return l("gender",{gender:"plural"})}return Y}()})]}),!!me&&(0,e.createComponentVNode)(2,b),!!E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head accessory",children:M.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.headaccessorystyle,selected:Y.headaccessorystyle===j,onClick:function(){function ve(){return l("head_accessory",{head_accessory:Y.headaccessorystyle})}return ve}()},Y.headaccessorystyle)})}),!!P&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair",children:O.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.hairstyle,selected:Y.hairstyle===D,onClick:function(){function ve(){return l("hair",{hair:Y.hairstyle})}return ve}()},Y.hairstyle)})}),!!F&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hair Gradient",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Change Style",onClick:function(){function Y(){return l("hair_gradient")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Offset",onClick:function(){function Y(){return l("hair_gradient_offset")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Color",onClick:function(){function Y(){return l("hair_gradient_colour")}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Change Alpha",onClick:function(){function Y(){return l("hair_gradient_alpha")}return Y}()})]}),!!W&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Facial hair",children:U.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.facialhairstyle,selected:Y.facialhairstyle===$,onClick:function(){function ve(){return l("facial_hair",{facial_hair:Y.facialhairstyle})}return ve}()},Y.facialhairstyle)})}),!!K&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Head markings",children:G.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.headmarkingstyle,selected:Y.headmarkingstyle===Q,onClick:function(){function ve(){return l("head_marking",{head_marking:Y.headmarkingstyle})}return ve}()},Y.headmarkingstyle)})}),!!J&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body markings",children:ue.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.bodymarkingstyle,selected:Y.bodymarkingstyle===ie,onClick:function(){function ve(){return l("body_marking",{body_marking:Y.bodymarkingstyle})}return ve}()},Y.bodymarkingstyle)})}),!!he&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tail markings",children:te.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.tailmarkingstyle,selected:Y.tailmarkingstyle===q,onClick:function(){function ve(){return l("tail_marking",{tail_marking:Y.tailmarkingstyle})}return ve}()},Y.tailmarkingstyle)})}),!!ne&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Body accessory",children:le.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.bodyaccessorystyle,selected:Y.bodyaccessorystyle===ee,onClick:function(){function ve(){return l("body_accessory",{body_accessory:Y.bodyaccessorystyle})}return ve}()},Y.bodyaccessorystyle)})}),!!re&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alternate head",children:oe.map(function(Y){return(0,e.createComponentVNode)(2,t.Button,{content:Y.altheadstyle,selected:Y.altheadstyle===fe,onClick:function(){function ve(){return l("alt_head",{alt_head:Y.altheadstyle})}return ve}()},Y.altheadstyle)})})]})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=[{key:"change_eye_color",text:"Change eye color",action:"eye_color"},{key:"change_skin_tone",text:"Change skin tone",action:"skin_tone"},{key:"change_skin_color",text:"Change skin color",action:"skin_color"},{key:"change_runechat_color",text:"Change runechat color",action:"runechat_color"},{key:"change_head_accessory_color",text:"Change head accessory color",action:"head_accessory_color"},{key:"change_hair_color",text:"Change hair color",action:"hair_color"},{key:"change_secondary_hair_color",text:"Change secondary hair color",action:"secondary_hair_color"},{key:"change_facial_hair_color",text:"Change facial hair color",action:"facial_hair_color"},{key:"change_secondary_facial_hair_color",text:"Change secondary facial hair color",action:"secondary_facial_hair_color"},{key:"change_head_marking_color",text:"Change head marking color",action:"head_marking_color"},{key:"change_body_marking_color",text:"Change body marking color",action:"body_marking_color"},{key:"change_tail_marking_color",text:"Change tail marking color",action:"tail_marking_color"}];return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Colors",children:f.map(function(u){return!!c[u.key]&&(0,e.createComponentVNode)(2,t.Button,{content:u.text,onClick:function(){function d(){return l(u.action)}return d}()},u.key)})})}},72285:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AtmosAlertConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.priority||[],f=l.minor||[];return(0,e.createComponentVNode)(2,o.Window,{width:350,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Alarms",children:(0,e.createVNode)(1,"ul",null,[c.length===0&&(0,e.createVNode)(1,"li","color-good","No Priority Alerts",16),c.map(function(u){return(0,e.createVNode)(1,"li","color-bad",u,0,null,u)}),f.length===0&&(0,e.createVNode)(1,"li","color-good","No Minor Alerts",16),f.map(function(u){return(0,e.createVNode)(1,"li","color-average",u,0,null,u)})],0)})})})}return b}()},65805:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(36352),m=n(98595),b=function(c){if(c===0)return(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Good"});if(c===1)return(0,e.createComponentVNode)(2,t.Box,{color:"orange",bold:!0,children:"Warning"});if(c===2)return(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"DANGER"})},y=function(c){if(c===0)return"green";if(c===1)return"orange";if(c===2)return"red"},B=r.AtmosControl=function(){function l(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=(0,a.useLocalState)(f,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,k);case 1:return(0,e.createComponentVNode)(2,C);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,m.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:h===0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"table"})," Data View"]},"DataView"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),v(h)]})})})}return l}(),k=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Access"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,o.TableCell,{children:h.name}),(0,e.createComponentVNode)(2,o.TableCell,{children:b(h.danger)}),(0,e.createComponentVNode)(2,o.TableCell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Access",onClick:function(){function N(){return d("open_alarm",{aref:h.ref})}return N}()})})]},h.name)})]})})},C=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.alarms;return(0,e.createComponentVNode)(2,t.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,t.NanoMap,{children:i.filter(function(h){return h.z===3}).map(function(h){return(0,e.createComponentVNode)(2,t.NanoMap.MarkerIcon,{x:h.x,y:h.y,icon:"circle",tooltip:h.name,color:y(h.danger),onClick:function(){function N(){return d("open_alarm",{aref:h.ref})}return N}()},h.ref)})})})}},87816:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosFilter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AtmosFilter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.on,f=l.pressure,u=l.max_pressure,d=l.filter_type,s=l.filter_type_list;return(0,e.createComponentVNode)(2,o.Window,{width:380,height:140,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function i(){return C("min_pressure")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:u,value:f,onDrag:function(){function i(h,N){return C("custom_pressure",{pressure:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function i(){return C("max_pressure")}return i}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Filter",children:s.map(function(i){return(0,e.createComponentVNode)(2,t.Button,{selected:i.gas_type===d,content:i.label,onClick:function(){function h(){return C("set_filter",{filter:i.gas_type})}return h}()},i.label)})})]})})})})}return b}()},57258:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosGraphMonitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(44879),b=n(88510),y=n(35840),B=["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth","horizontalLinesCount","verticalLinesCount","gridColor","gridWidth","pointTextColor","pointTextSize","labelViewBoxSize"];function k(i,h){if(i==null)return{};var N={};for(var v in i)if({}.hasOwnProperty.call(i,v)){if(h.includes(v))continue;N[v]=i[v]}return N}function C(i,h){i.prototype=Object.create(h.prototype),i.prototype.constructor=i,l(i,h)}function l(i,h){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(N,v){return N.__proto__=v,N},l(i,h)}var c=r.AtmosGraphMonitor=function(){function i(h,N){var v=(0,a.useBackend)(N),p=v.data,g=(0,a.useLocalState)(N,"tabIndex",0),V=g[0],S=g[1],I=function(){function w(A){switch(A){case 0:return(0,e.createComponentVNode)(2,f,{data:p,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 60 \u0441. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 3 \u0441.",pressureListName:"pressure_history",temperatureListName:"temperature_history"});case 1:return(0,e.createComponentVNode)(2,f,{data:p,info:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u0438 T = 10 \u043C\u0438\u043D. | \u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043C\u0435\u0436\u0434\u0443 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 t = 30 \u0441.",pressureListName:"long_pressure_history",temperatureListName:"long_temperature_history"});default:return"WE SHOULDN'T BE HERE!"}}return w}(),L=function(){function w(A){switch(A){case 0:return 180;case 1:return 350;case 2:return 590;case 3:return 830;default:return 870}}return w}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:L(Object.keys(p.sensors).length),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===0,onClick:function(){function w(){return S(0)}return w}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"area-chart"})," \u0422\u0435\u043A\u0443\u0449\u0438\u0435"]},"View"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:V===1,onClick:function(){function w(){return S(1)}return w}(),children:[(0,e.createComponentVNode)(2,t.Icon,{name:"bar-chart"})," \u0418\u0441\u0442\u043E\u0440\u0438\u044F"]},"History")]}),I(V),Object.keys(p.sensors).length===0&&(0,e.createComponentVNode)(2,t.Box,{pt:2,textAlign:"center",textColor:"gray",bold:!0,fontSize:1.3,children:"\u041F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u0435 gas sensor \u0438\u043B\u0438 meter \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E multitool"})]})})})}return i}(),f=function(h){var N=h.data,v=h.info,p=h.pressureListName,g=h.temperatureListName,V=N.sensors||{},S=function(x,E){return V[x][E].slice(-1)[0]},I=function(x,E){return Math.min.apply(Math,V[x][E])},L=function(x,E){return Math.max.apply(Math,V[x][E])},w=function(x,E){return V[x][E].map(function(M,j){return[j,M]})};return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{color:"gray",children:v}),Object.keys(V).map(function(A){return(0,e.createComponentVNode)(2,t.Section,{title:A,children:(0,e.createComponentVNode)(2,t.Section,{px:2,children:[g in V[A]&&(0,e.createComponentVNode)(2,t.Box,{mb:4,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0422\u0435\u043C\u043F\u0435\u0440\u0430\u0442\u0443\u0440\u0430: "+(0,m.toFixed)(S(A,g),0)+"\u041A (MIN: "+(0,m.toFixed)(I(A,g),0)+"\u041A; MAX: "+(0,m.toFixed)(L(A,g),0)+"\u041A)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:w(A,g),rangeX:[0,w(A,g).length-1],rangeY:[I(A,g)-10,L(A,g)+5],strokeColor:"rgba(219, 40, 40, 1)",fillColor:"rgba(219, 40, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:w(A,g).length-2,labelViewBoxSize:400})})]}),p in V[A]&&(0,e.createComponentVNode)(2,t.Box,{mb:-1,children:[(0,e.createComponentVNode)(2,t.Box,{children:"\u0414\u0430\u0432\u043B\u0435\u043D\u0438\u0435: "+(0,m.toFixed)(S(A,p),0)+"\u043A\u041F\u0430 (MIN: "+(0,m.toFixed)(I(A,p),0)+"\u043A\u041F\u0430; MAX: "+(0,m.toFixed)(L(A,p),0)+"\u043A\u041F\u0430)"}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:5,mt:1,children:(0,e.createComponentVNode)(2,s,{fillPositionedParent:!0,data:w(A,p),rangeX:[0,w(A,p).length-1],rangeY:[I(A,p)-10,L(A,p)+5],strokeColor:"rgba(40, 219, 40, 1)",fillColor:"rgba(40, 219, 40, 0.1)",horizontalLinesCount:2,verticalLinesCount:w(A,p).length-2,labelViewBoxSize:400})})]})]})},A)})]})},u=function(h,N,v,p){if(h.length===0)return[];var g=(0,b.zipWith)(Math.min).apply(void 0,h),V=(0,b.zipWith)(Math.max).apply(void 0,h);v!==void 0&&(g[0]=v[0],V[0]=v[1]),p!==void 0&&(g[1]=p[0],V[1]=p[1]);var S=function(A,x,E,M){return(A-x)/(E-x)*M},I=(0,b.zipWith)(S),L=(0,b.map)(function(w){return I(w,g,V,N)});return L(h)},d=function(h){for(var N="",v=0;v0){var le=ne[0],ee=ne[ne.length-1];ne.push([q[0]+j,ee[1]]),ne.push([q[0]+j,-j]),ne.push([-j,-j]),ne.push([-j,le[1]])}var re=d(ne);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Box,Object.assign({position:"relative"},te,{children:function(){function oe(fe){return(0,e.normalizeProps)((0,e.createVNode)(1,"div",null,(0,e.createVNode)(32,"svg",null,[Array.from({length:O}).map(function(me,Y){return(0,e.createVNode)(32,"line",null,null,1,{x1:0,y1:(Y+1)*(q[1]/(O+1)),x2:q[0],y2:(Y+1)*(q[1]/(O+1)),stroke:U,"stroke-width":K},"horizontal-line-"+Y)}),Array.from({length:F}).map(function(me,Y){return(0,e.createVNode)(32,"line",null,null,1,{x1:(Y+1)*(q[0]/(F+1)),y1:0,x2:(Y+1)*(q[0]/(F+1)),y2:q[1],stroke:U,"stroke-width":K},"vertical-line-"+Y)}),(0,e.createVNode)(32,"polyline",null,null,1,{transform:"scale(1, -1) translate(0, -"+q[1]+")",fill:A,points:re}),S.map(function(me,Y){return Y===0?null:(0,e.createVNode)(32,"line",null,null,1,{x1:ne[Y-1][0],y1:q[1]-ne[Y-1][1],x2:ne[Y][0],y2:q[1]-ne[Y][1],stroke:E,"stroke-width":j},"line-"+Y)}),S.map(function(me,Y){return(0,e.createVNode)(32,"circle",null,null,1,{cx:ne[Y][0],cy:q[1]-ne[Y][1],r:2,fill:"#ffffff",stroke:E,"stroke-width":1},"point-"+Y)}),S.map(function(me,Y){return q[0]>he&&Y%2===1&&(0,e.createVNode)(32,"text",null,me[1]!==null?me[1].toFixed(0):"N/A",0,{x:ne[Y][0],y:q[1]-ne[Y][1],fill:Q,"font-size":ue,dy:"1em",style:{"text-anchor":"end"}},"point-text-"+Y)})],0,{viewBox:"0 0 "+q[0]+" "+q[1]}),2,Object.assign({},fe),null,p.ref))}return oe}()})))}return v}(),h}(e.Component);s.defaultHooks=void 0,s.defaultHooks=y.pureComponentHooks},52977:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AtmosMixer=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.on,u=c.pressure,d=c.max_pressure,s=c.node1_concentration,i=c.node2_concentration;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:165,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:f?"On":"Off",color:f?null:"red",selected:f,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:u===0,width:2.2,onClick:function(){function h(){return l("min_pressure")}return h}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:d,value:u,onDrag:function(){function h(N,v){return l("custom_pressure",{pressure:v})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:u===d,width:2.2,onClick:function(){function h(){return l("max_pressure")}return h}()})]}),(0,e.createComponentVNode)(2,b,{node_name:"Node 1",node_ref:s}),(0,e.createComponentVNode)(2,b,{node_name:"Node 2",node_ref:i})]})})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=B.node_name,u=B.node_ref;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:f,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",width:2.2,disabled:u===0,onClick:function(){function d(){return l("set_node",{node_name:f,concentration:(u-10)/100})}return d}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"%",width:6.1,lineHeight:1.5,stepPixelSize:10,minValue:0,maxValue:100,value:u,onChange:function(){function d(s,i){return l("set_node",{node_name:f,concentration:i/100})}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",width:2.2,disabled:u===100,onClick:function(){function d(){return l("set_node",{node_name:f,concentration:(u+10)/100})}return d}()})]})}},11748:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosPump=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.AtmosPump=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.on,f=l.rate,u=l.max_rate,d=l.gas_unit,s=l.step;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:110,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:c?"On":"Off",color:c?null:"red",selected:c,onClick:function(){function i(){return C("power")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",textAlign:"center",disabled:f===0,width:2.2,onClick:function(){function i(){return C("min_rate")}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:d,width:6.1,lineHeight:1.5,step:s,minValue:0,maxValue:u,value:f,onDrag:function(){function i(h,N){return C("custom_rate",{rate:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",textAlign:"center",disabled:f===u,width:2.2,onClick:function(){function i(){return C("max_rate")}return i}()})]})]})})})})}return b}()},69321:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosTankControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(44879),m=n(76910),b=n(98595),y=r.AtmosTankControl=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.sensors||{};return(0,e.createComponentVNode)(2,b.Window,{width:400,height:400,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:[Object.keys(u).map(function(d){return(0,e.createComponentVNode)(2,t.Section,{title:d,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[Object.keys(u[d]).indexOf("pressure")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Pressure",children:[u[d].pressure," kpa"]}):"",Object.keys(u[d]).indexOf("temperature")>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[u[d].temperature," K"]}):"",["o2","n2","plasma","co2","n2o"].map(function(s){return Object.keys(u[d]).indexOf(s)>-1?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:(0,m.getGasLabel)(s),children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:(0,m.getGasColor)(s),value:u[d][s],minValue:0,maxValue:100,children:(0,o.toFixed)(u[d][s],2)+"%"})},(0,m.getGasLabel)(s)):""})]})},d)}),f.inlet&&Object.keys(f.inlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Inlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.inlet.on,"power-off"),content:f.inlet.on?"On":"Off",color:f.inlet.on?null:"red",selected:f.inlet.on,onClick:function(){function d(){return c("toggle_active",{dev:"inlet"})}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"L/s",width:6.1,lineHeight:1.5,step:1,minValue:0,maxValue:50,value:f.inlet.rate,onDrag:function(){function d(s,i){return c("set_pressure",{dev:"inlet",val:i})}return d}()})})]})}):"",f.outlet&&Object.keys(f.outlet).length>0?(0,e.createComponentVNode)(2,t.Section,{title:"Outlet Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:(f.outlet.on,"power-off"),content:f.outlet.on?"On":"Off",color:f.outlet.on?null:"red",selected:f.outlet.on,onClick:function(){function d(){return c("toggle_active",{dev:"outlet"})}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rate",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,unit:"kPa",width:6.1,lineHeight:1.5,step:10,minValue:0,maxValue:5066,value:f.outlet.rate,onDrag:function(){function d(s,i){return c("set_pressure",{dev:"outlet",val:i})}return d}()})})]})}):""]})})}return B}()},59179:function(T,r,n){"use strict";r.__esModule=!0,r.Autolathe=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),m=n(36036),b=n(98595),y=n(25328),B=function(l,c,f,u){return l.requirements===null?!0:!(l.requirements.metal*u>c||l.requirements.glass*u>f)},k=r.Autolathe=function(){function C(l,c){var f=(0,o.useBackend)(c),u=f.act,d=f.data,s=d.total_amount,i=d.max_amount,h=d.metal_amount,N=d.glass_amount,v=d.busyname,p=d.busyamt,g=d.showhacked,V=d.buildQueue,S=d.buildQueueLen,I=d.recipes,L=d.categories,w=(0,o.useSharedState)(c,"category",0),A=w[0],x=w[1];A===0&&(A="Tools");var E=h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),M=N.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),j=s.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"),P=(0,o.useSharedState)(c,"search_text",""),O=P[0],D=P[1],F=(0,y.createSearch)(O,function(K){return K.name}),W="";S>0&&(W=V.map(function(K,G){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"times",color:"transparent",content:V[G][0],onClick:function(){function Q(){return u("remove_from_queue",{remove_from_queue:V.indexOf(K)+1})}return Q}()},K)},G)}));var U=(0,a.flow)([(0,t.filter)(function(K){return(K.category.indexOf(A)>-1||O)&&(d.showhacked||!K.hacked)}),O&&(0,t.filter)(F),(0,t.sortBy)(function(K){return K.name.toLowerCase()})])(I),$="Build";return O?$="Results for: '"+O+"':":A&&($="Build ("+A+")"),(0,e.createComponentVNode)(2,b.Window,{width:750,height:525,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"70%",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:$,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"150px",options:L,selected:A,onSelected:function(){function K(G){return x(G)}return K}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function K(G,Q){return D(Q)}return K}(),mb:1}),U.map(function(K){return(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+K.image,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}}),(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:d.busyname===K.name&&d.busyamt===1,disabled:!B(K,d.metal_amount,d.glass_amount,1),onClick:function(){function G(){return u("make",{make:K.uid,multiplier:1})}return G}(),children:(0,y.toTitleCase)(K.name)}),K.max_multiplier>=10&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:d.busyname===K.name&&d.busyamt===10,disabled:!B(K,d.metal_amount,d.glass_amount,10),onClick:function(){function G(){return u("make",{make:K.uid,multiplier:10})}return G}(),children:"10x"}),K.max_multiplier>=25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:d.busyname===K.name&&d.busyamt===25,disabled:!B(K,d.metal_amount,d.glass_amount,25),onClick:function(){function G(){return u("make",{make:K.uid,multiplier:25})}return G}(),children:"25x"}),K.max_multiplier>25&&(0,e.createComponentVNode)(2,m.Button,{mr:1,icon:"hammer",selected:d.busyname===K.name&&d.busyamt===K.max_multiplier,disabled:!B(K,d.metal_amount,d.glass_amount,K.max_multiplier),onClick:function(){function G(){return u("make",{make:K.uid,multiplier:K.max_multiplier})}return G}(),children:[K.max_multiplier,"x"]}),K.requirements&&Object.keys(K.requirements).map(function(G){return(0,y.toTitleCase)(G)+": "+K.requirements[G]}).join(", ")||(0,e.createComponentVNode)(2,m.Box,{children:"No resources required."})]},K.ref)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:[(0,e.createComponentVNode)(2,m.Section,{title:"Materials",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Metal",children:E}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Glass",children:M}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Total",children:j}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Storage",children:[d.fill_percent,"% Full"]})]})}),(0,e.createComponentVNode)(2,m.Section,{title:"Building",children:(0,e.createComponentVNode)(2,m.Box,{color:v?"green":"",children:v||"Nothing"})}),(0,e.createComponentVNode)(2,m.Section,{title:"Build Queue",height:23.7,children:[W,(0,e.createComponentVNode)(2,m.Button,{mt:.5,fluid:!0,icon:"times",content:"Clear All",color:"red",disabled:!d.buildQueueLen,onClick:function(){function K(){return u("clear_queue")}return K}()})]})]})]})})})}return C}()},29943:function(T,r,n){"use strict";r.__esModule=!0,r.Autolathe220=void 0;var e=n(89005),a=n(25328),t=n(88510),o=n(64795),m=n(72253),b=n(36036),y=n(98595),B=["metal","glass"],k=function(h,N,v,p){return h.requirements===null?!0:!(h.requirements.metal*p>N||h.requirements.glass*p>v)},C=function(h,N){var v=h*N/2e3;return v===0?0:v<.01&&v>0?(0,e.createComponentVNode)(2,b.Box,{fontSize:.75,children:"< 0.01"}):Math.floor(v*100)/100},l=r.Autolathe220=function(){function i(h,N){var v=(0,m.useSharedState)(N,"category","Tools"),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,y.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"20%",children:(0,e.createComponentVNode)(2,c,{category:p,setCategory:g})}),(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"55%",children:(0,e.createComponentVNode)(2,f,{category:p})}),(0,e.createComponentVNode)(2,b.Stack.Item,{basis:"25%",children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,u),(0,e.createComponentVNode)(2,d),(0,e.createComponentVNode)(2,s)]})})]})})})}return i}(),c=function(h,N){var v=(0,m.useBackend)(N),p=v.data,g=h.category,V=h.setCategory,S=p.categories,I=["All"].concat(S);return(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Categories",children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{mb:.5,height:"2.5em",color:"blue",selected:L===g,onClick:function(){function w(){return V(L)}return w}(),children:L},L)})})})},f=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=g.metal_amount,S=g.glass_amount,I=g.recipes,L=h.category,w=(0,m.useSharedState)(N,"searchText",""),A=w[0],x=w[1],E=(0,o.flow)([(0,t.filter)(function(P){return L==="All"||P.category.includes(L)||A&&(g.showhacked||!P.hacked)}),A&&(0,t.filter)((0,a.createSearch)(A,function(P){return P.name})),(0,t.sortBy)(function(P){return P.name.toLowerCase()})])(I),M=function(O,D){return(0,e.createComponentVNode)(2,b.Button,{translucent:!0,tooltip:j(O,D),tooltipPosition:"top",disabled:!k(O,V,S,D),onClick:function(){function F(){return p("make",{make:O.uid,multiplier:D})}return F}(),children:[D,"x"]})},j=function(O,D){return(0,e.createFragment)(B.map(function(F){return O.requirements[F]&&(0,e.createComponentVNode)(2,b.ImageButton,{asset:["materials32x32",F],imageSize:32,children:C(O.requirements[F],D)},F)}),0)};return(0,e.createComponentVNode)(2,b.Section,{fill:!0,title:"Build ("+L+")",children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function P(O,D){return x(D)}return P}()})}),(0,e.createComponentVNode)(2,b.Stack.Item,{mt:.5,mb:-2.33,grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:E.map(function(P){return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,base64:P.image,imageSize:32,textAlign:"left",color:P.category.includes("hacked")&&"brown",tooltip:j(P,1),tooltipPosition:"top",disabled:!k(P,V,S,1),buttons:P.max_multiplier>1&&(0,e.createFragment)([P.max_multiplier>=10&&M(P,10),P.max_multiplier>=25&&M(P,25),P.max_multiplier>25&&M(P,P.max_multiplier)],0),onClick:function(){function O(){return p("make",{make:P.uid,multiplier:1})}return O}(),children:P.name},P.name)})})})]})})},u=function(h,N){var v=(0,m.useBackend)(N),p=v.data,g=p.metal_amount,V=p.glass_amount,S=p.fill_percent,I=function(w,A){return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,asset:["materials32x32",w],color:"nope",buttons:(0,e.createComponentVNode)(2,b.Box,{backgroundColor:"rgba(255, 255, 255, 0.05)",width:"45px",children:C(A,1)}),children:(0,a.toTitleCase)(w)})};return(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Materials",children:[I("metal",g),I("glass",V),(0,e.createComponentVNode)(2,b.ProgressBar,{minValue:0,value:S,maxValue:100,children:["Storage ",S,"% full"]})]})})},d=function(h,N){var v=(0,m.useBackend)(N),p=v.data,g=p.recipes,V=p.busyname,S=p.busyamt,I=g.find(function(L){return L.name===V});return(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Building",children:(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,color:V&&"green",base64:I==null?void 0:I.image,imageSize:32,children:V?S>1?V+" x"+S:V:"Nothing"})})})},s=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=g.recipes,S=g.buildQueue,I=g.buildQueueLen,L;return I>0&&(L=S.map(function(w,A){var x=V.find(function(E){return E.name===S[A][0]});return(0,e.createComponentVNode)(2,b.ImageButton,{fluid:!0,base64:x.image,imageSize:32,buttons:(0,e.createComponentVNode)(2,b.Button,{translucent:!0,width:"32px",icon:"times",iconColor:"red",onClick:function(){function E(){return p("remove_from_queue",{remove_from_queue:S.indexOf(w)+1})}return E}()},w),children:[x.name," ",Number(S[A][1])>1&&"x"+S[A][1]]},A)})),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Queue "+(I>0?I:""),children:L})}),(0,e.createComponentVNode)(2,b.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,b.Section,{fitted:!0,p:.75,children:(0,e.createComponentVNode)(2,b.Button,{fluid:!0,translucent:!I,color:"red",icon:"trash-can",disabled:!I,onClick:function(){function w(){return p("clear_queue")}return w}(),children:"Clear Queue"})})})]})})}},5147:function(T,r,n){"use strict";r.__esModule=!0,r.BioChipPad=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.BioChipPad=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.implant,f=l.contains_case,u=l.gps,d=l.tag,s=(0,a.useLocalState)(B,"newTag",d),i=s[0],h=s[1];return(0,e.createComponentVNode)(2,o.Window,{width:410,height:325,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Bio-chip Mini-Computer",buttons:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject Case",icon:"eject",disabled:!f,onClick:function(){function N(){return C("eject_case")}return N}()})}),children:c&&f?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{bold:!0,mb:2,children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+c.image,ml:0,mr:2,style:{"vertical-align":"middle",width:"32px"}}),c.name]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Life",children:c.life}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Notes",children:c.notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Function",children:c.function}),!!u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,t.Input,{width:"5.5rem",value:d,onEnter:function(){function N(){return C("tag",{newtag:i})}return N}(),onInput:function(){function N(v,p){return h(p)}return N}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:d===i,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function N(){return C("tag",{newtag:i})}return N}(),children:(0,e.createComponentVNode)(2,t.Icon,{name:"pen"})})]})]})],4):f?(0,e.createComponentVNode)(2,t.Box,{children:"This bio-chip case has no implant!"}):(0,e.createComponentVNode)(2,t.Box,{children:"Please insert a bio-chip casing!"})})})})}return b}()},64273:function(T,r,n){"use strict";r.__esModule=!0,r.Biogenerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(62411),b=r.Biogenerator=function(){function l(c,f){var u=(0,a.useBackend)(f),d=u.data,s=u.config,i=d.container,h=d.processing,N=s.title;return(0,e.createComponentVNode)(2,o.Window,{width:390,height:595,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:h,name:N}),(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k),i?(0,e.createComponentVNode)(2,C):(0,e.createComponentVNode)(2,y)]})})})}return l}(),y=function(c,f){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The biogenerator is missing a container."]})})})},B=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.biomass,h=s.container,N=s.container_curr_reagents,v=s.container_max_reagents;return(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"20px",color:"silver",children:"Biomass:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"5px",children:i}),(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"21px",mt:"8px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:"10px",color:"silver",children:"Container:"}),h?(0,e.createComponentVNode)(2,t.ProgressBar,{value:N,maxValue:v,children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:N+" / "+v+" units"})}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"None"})]})]})},k=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.has_plants,h=s.container;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:!i,tooltip:i?"":"There are no plants in the biogenerator.",tooltipPosition:"top-start",content:"Activate",onClick:function(){function N(){return d("activate")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"flask",disabled:!h,tooltip:h?"":"The biogenerator does not have a container.",tooltipPosition:"top",content:"Detach Container",onClick:function(){function N(){return d("detach_container")}return N}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:!i,tooltip:i?"":"There are no stored plants to eject.",tooltipPosition:"top-end",content:"Eject Plants",onClick:function(){function N(){return d("eject_plants")}return N}()})})]})})},C=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.biomass,h=s.product_list,N=(0,a.useSharedState)(f,"vendAmount",1),v=N[0],p=N[1],g=Object.entries(h).map(function(V,S){var I=Object.entries(V[1]).map(function(L){return L[1]});return(0,e.createComponentVNode)(2,t.Collapsible,{title:V[0],open:!0,children:I.map(function(L){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",ml:"2px",children:L.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"20%",children:[L.cost*v,(0,e.createComponentVNode)(2,t.Icon,{ml:"5px",name:"leaf",size:1.2,color:"#3d8c40"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"right",width:"40%",children:(0,e.createComponentVNode)(2,t.Button,{content:"Vend",disabled:i.25?750+400*Math.random():290+150*Math.random(),time:60+150*Math.random(),children:(0,e.createComponentVNode)(2,t.Stack,{mb:"30px",fontsize:"256px",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontsize:"256px",textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"skull",size:14,mb:"64px"}),(0,e.createVNode)(1,"br"),"E$#OR:& U#KN!WN IN%ERF#R_NCE"]})})})})}return k}(),y=r.BluespaceTap=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.product||[],s=u.desiredMiningPower,i=u.miningPower,h=u.points,N=u.totalPoints,v=u.powerUse,p=u.availablePower,g=u.emagged,V=u.autoShutown,S=u.stabilizers,I=u.stabilizerPower,L=u.stabilizerPriority,w=s>i&&"bad"||"good";return(0,e.createComponentVNode)(2,o.Window,{width:650,height:450,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Input Management",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Input",children:[(0,e.createComponentVNode)(2,t.Button,{icon:V&&!g?"toggle-on":"toggle-off",content:"Auto shutdown",color:V&&!g?"green":"red",disabled:!!g,tooltip:"Turn auto shutdown on or off",tooltipPosition:"top",onClick:function(){function A(){return f("auto_shutdown")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:S&&!g?"toggle-on":"toggle-off",content:"Stabilizers",color:S&&!g?"green":"red",disabled:!!g,tooltip:"Turn stabilizers on or off",tooltipPosition:"top",onClick:function(){function A(){return f("stabilizers")}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:L&&!g?"toggle-on":"toggle-off",content:"Stabilizer priority",color:L&&!g?"green":"red",disabled:!!g,tooltip:"On: Mining power will not exceed what can be stabilized",tooltipPosition:"top",onClick:function(){function A(){return f("stabilizer_priority")}return A}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Desired Mining Power",children:(0,m.formatPower)(s)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{labelStyle:{"vertical-align":"top"},label:"Set Desired Mining Power",children:(0,e.createComponentVNode)(2,t.Stack,{width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"step-backward",disabled:s===0||g,tooltip:"Set to 0",tooltipPosition:"bottom",onClick:function(){function A(){return f("set",{set_power:0})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",tooltip:"Decrease by 10 MW",tooltipPosition:"bottom",disabled:s===0||g,onClick:function(){function A(){return f("set",{set_power:s-1e7})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:s===0||g,tooltip:"Decrease by 1 MW",tooltipPosition:"bottom",onClick:function(){function A(){return f("set",{set_power:s-1e6})}return A}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mx:1,children:(0,e.createComponentVNode)(2,t.NumberInput,{disabled:g,minvalue:0,value:s,maxvalue:1/0,step:1,onChange:function(){function A(x,E){return f("set",{set_power:E})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:g,tooltip:"Increase by one MW",tooltipPosition:"bottom",onClick:function(){function A(){return f("set",{set_power:s+1e6})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:g,tooltip:"Increase by 10MW",tooltipPosition:"bottom",onClick:function(){function A(){return f("set",{set_power:s+1e7})}return A}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Power Use",children:(0,m.formatPower)(v)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mining Power Use",children:(0,m.formatPower)(i)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stabilizer Power Use",children:(0,m.formatPower)(I)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Surplus Power",children:(0,m.formatPower)(p)})]})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Points",children:h}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Points",children:N})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{align:"end",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.name,children:(0,e.createComponentVNode)(2,t.Button,{disabled:A.price>=h,onClick:function(){function x(){return f("vend",{target:A.key})}return x}(),content:A.price})},A.key)})})})})]})})]})})})}return k}(),B=r.Alerts=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.product||[],s=u.miningPower,i=u.stabilizerPower,h=u.emagged,N=u.safeLevels,v=u.autoShutown,p=u.stabilizers,g=u.overhead;return(0,e.createFragment)([!v&&!h&&(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Auto shutdown disabled"}),h?(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"All safeties disabled"}):s<=15e6?"":p?s>i+15e6?(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Stabilizers overwhelmed, Instability likely"}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"High Power, engaging stabilizers"}):(0,e.createComponentVNode)(2,t.NoticeBox,{danger:1,children:"Stabilizers disabled, Instability likely"})],0)}return k}()},33758:function(T,r,n){"use strict";r.__esModule=!0,r.BodyScanner=void 0;var e=n(89005),a=n(44879),t=n(25328),o=n(72253),m=n(36036),b=n(98595),y=[["good","Alive"],["average","Critical"],["bad","DEAD"]],B=[["hasVirus","bad","Viral pathogen detected in blood stream."],["blind","average","Cataracts detected."],["colourblind","average","Photoreceptor abnormalities detected."],["nearsighted","average","Retinal misalignment detected."]],k=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Cellular","cloneLoss"],["Burn","fireLoss"],["Inebriation","drunkenness"]],C={average:[.25,.5],bad:[.5,1/0]},l=function(S,I){for(var L=[],w=0;w0?S.filter(function(I){return!!I}).reduce(function(I,L){return(0,e.createFragment)([I,(0,e.createComponentVNode)(2,m.Box,{children:L},L)],0)},null):null},f=function(S){if(S>100){if(S<300)return"mild infection";if(S<400)return"mild infection+";if(S<500)return"mild infection++";if(S<700)return"acute infection";if(S<800)return"acute infection+";if(S<900)return"acute infection++";if(S>=900)return"septic"}return""},u=r.BodyScanner=function(){function V(S,I){var L=(0,o.useBackend)(I),w=L.data,A=w.occupied,x=w.occupant,E=x===void 0?{}:x,M=A?(0,e.createComponentVNode)(2,d,{occupant:E}):(0,e.createComponentVNode)(2,g);return(0,e.createComponentVNode)(2,b.Window,{width:700,height:600,title:"Body Scanner",children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:M})})}return V}(),d=function(S){var I=S.occupant;return(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,s,{occupant:I}),(0,e.createComponentVNode)(2,i,{occupant:I}),(0,e.createComponentVNode)(2,h,{occupant:I}),(0,e.createComponentVNode)(2,v,{organs:I.extOrgan}),(0,e.createComponentVNode)(2,p,{organs:I.intOrgan})]})},s=function(S,I){var L=(0,o.useBackend)(I),w=L.act,A=L.data,x=A.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Button,{icon:"print",onClick:function(){function E(){return w("print_p")}return E}(),children:"Print Report"}),(0,e.createComponentVNode)(2,m.Button,{icon:"user-slash",onClick:function(){function E(){return w("ejectify")}return E}(),children:"Eject"})],4),children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:y[x.stat][0],children:y[x.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempC)}),"\xB0C,\xA0",(0,e.createComponentVNode)(2,m.AnimatedNumber,{value:(0,a.round)(x.bodyTempF)}),"\xB0F"]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Implants",children:x.implant_len?(0,e.createComponentVNode)(2,m.Box,{children:x.implant.map(function(E){return E.name}).join(", ")}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"None"})})]})})},i=function(S){var I=S.occupant;return I.hasBorer||I.blind||I.colourblind||I.nearsighted||I.hasVirus?(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:B.map(function(L,w){if(I[L[0]])return(0,e.createComponentVNode)(2,m.Box,{color:L[1],bold:L[1]==="bad",children:L[2]},L[2])})}):(0,e.createComponentVNode)(2,m.Section,{title:"Abnormalities",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No abnormalities found."})})},h=function(S){var I=S.occupant;return(0,e.createComponentVNode)(2,m.Section,{title:"Damage",children:(0,e.createComponentVNode)(2,m.Table,{children:l(k,function(L,w,A){return(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Table.Row,{color:"label",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:[L[0],":"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:!!w&&w[0]+":"})]}),(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:(0,e.createComponentVNode)(2,N,{value:I[L[1]],marginBottom:A100)&&"average"||!!I.status.robotic&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{m:-.5,min:"0",max:I.maxHealth,mt:L>0&&"0.5rem",value:I.totalLoss/I.maxHealth,ranges:C,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Tooltip,{content:"Total damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"heartbeat",mr:.5}),(0,a.round)(I.totalLoss)]})}),!!I.bruteLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Brute damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,m.Icon,{name:"bone",mr:.5}),(0,a.round)(I.bruteLoss)]})}),!!I.fireLoss&&(0,e.createComponentVNode)(2,m.Tooltip,{content:"Burn damage",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"fire",mr:.5}),(0,a.round)(I.fireLoss)]})})]})})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([!!I.internalBleeding&&"Internal bleeding",!!I.burnWound&&"Critical tissue burns",!!I.lungRuptured&&"Ruptured lung",!!I.status.broken&&I.status.broken,f(I.germ_level),!!I.open&&"Open incision"])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:[c([!!I.status.splinted&&(0,e.createComponentVNode)(2,m.Box,{color:"good",children:"Splinted"}),!!I.status.robotic&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),!!I.status.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})]),c(I.shrapnel.map(function(w){return w.known?w.name:"Unknown object"}))]})]})]},L)})]})})},p=function(S){return S.organs.length===0?(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"N/A"})}):(0,e.createComponentVNode)(2,m.Section,{title:"Internal Organs",children:(0,e.createComponentVNode)(2,m.Table,{children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:"Damage"}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",children:"Injuries"})]}),S.organs.map(function(I,L){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{color:!!I.dead&&"bad"||I.germ_level>100&&"average"||I.robotic>0&&"label",width:"33%",children:(0,t.capitalize)(I.name)}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:I.maxHealth,value:I.damage/I.maxHealth,mt:L>0&&"0.5rem",ranges:C,children:(0,a.round)(I.damage)})}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",verticalAlign:"top",width:"33%",pt:L>0&&"calc(0.5rem + 2px)",children:[(0,e.createComponentVNode)(2,m.Box,{color:"average",inline:!0,children:c([f(I.germ_level)])}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,children:c([I.robotic===1&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Robotic"}),I.robotic===2&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"Assisted"}),!!I.dead&&(0,e.createComponentVNode)(2,m.Box,{color:"bad",bold:!0,children:"DEAD"})])})]})]},L)})]})})},g=function(){return(0,e.createComponentVNode)(2,m.Section,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},67963:function(T,r,n){"use strict";r.__esModule=!0,r.BookBinder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=n(39473),y=r.BookBinder=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.selectedbook,d=f.book_categories,s=[];return d.map(function(i){return s[i.description]=i.category_id}),(0,e.createComponentVNode)(2,o.Window,{width:600,height:400,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Book Binder",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",width:"auto",content:"Print Book",onClick:function(){function i(){return c("print_book")}return i}()}),children:[(0,e.createComponentVNode)(2,t.Box,{ml:10,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:"1rem"}),"Book Binder"]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:u.title,onClick:function(){function i(){return(0,m.modalOpen)(C,"edit_selected_title")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:"auto",content:u.author,onClick:function(){function i(){return(0,m.modalOpen)(C,"edit_selected_author")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"190px",options:d.map(function(i){return i.description}),onSelected:function(){function i(h){return c("toggle_binder_category",{category_id:s[h]})}return i}()})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",content:"Edit Summary",onClick:function(){function i(){return(0,m.modalOpen)(C,"edit_selected_summary")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:u.summary})]}),(0,e.createVNode)(1,"br"),d.filter(function(i){return u.categories.includes(i.category_id)}).map(function(i){return(0,e.createComponentVNode)(2,t.Button,{content:i.description,selected:!0,icon:"unlink",onClick:function(){function h(){return c("toggle_binder_category",{category_id:i.category_id})}return h}()},i.category_id)})]})})]})})})]})}return B}()},61925:function(T,r,n){"use strict";r.__esModule=!0,r.BotCall=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(l){var c=[{modes:[0],label:"Idle",color:"green"},{modes:[1,2,3],label:"Arresting",color:"yellow"},{modes:[4,5],label:"Patrolling",color:"average"},{modes:[9],label:"Moving",color:"average"},{modes:[6,11],label:"Responding",color:"green"},{modes:[12],label:"Delivering Cargo",color:"blue"},{modes:[13],label:"Returning Home",color:"blue"},{modes:[7,8,10,14,15,16,17,18,19],label:"Working",color:"blue"}],f=c.find(function(u){return u.modes.includes(l)});return(0,e.createComponentVNode)(2,t.Box,{color:f.color,children:[" ",f.label," "]})},b=r.BotCall=function(){function C(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=(0,a.useLocalState)(c,"tabIndex",0),i=s[0],h=s[1],N={0:"Security",1:"Medibot",2:"Cleanbot",3:"Floorbot",4:"Mule",5:"Honkbot"},v=function(){function p(g){return N[g]?(0,e.createComponentVNode)(2,y,{model:N[g]}):"This should not happen. Report on Paradise Github"}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:700,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:i===0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:Array.from({length:6}).map(function(p,g){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===g,onClick:function(){function V(){return h(g)}return V}(),children:N[g]},g)})})}),v(i)]})})})}return C}(),y=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.bots;return s[l.model]!==void 0?(0,e.createComponentVNode)(2,k,{model:[l.model]}):(0,e.createComponentVNode)(2,B,{model:[l.model]})},B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data;return(0,e.createComponentVNode)(2,t.Stack,{justify:"center",align:"center",fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Box,{bold:1,color:"bad",children:["No ",[l.model]," detected"]})})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.bots;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Model"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Location"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Interface"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Call"})]}),s[l.model].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.model}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.on?m(i.status):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Off"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.location}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Interface",onClick:function(){function h(){return u("interface",{botref:i.UID})}return h}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Call",onClick:function(){function h(){return u("call",{botref:i.UID})}return h}()})})]},i.UID)})]})})})}},20464:function(T,r,n){"use strict";r.__esModule=!0,r.BotClean=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(92963),b=r.BotClean=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.locked,u=c.noaccess,d=c.maintpanel,s=c.on,i=c.autopatrol,h=c.canhack,N=c.emagged,v=c.remote_disabled,p=c.painame,g=c.cleanblood,V=c.area;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Cleaning Settings",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:g,content:"Clean Blood",disabled:u,onClick:function(){function S(){return l("blood")}return S}()})}),(0,e.createComponentVNode)(2,t.Section,{title:"Misc Settings",children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:V?"Reset Area Selection":"Restrict to Current Area",onClick:function(){function S(){return l("area")}return S}()}),V!==null&&(0,e.createComponentVNode)(2,t.LabeledList,{mb:1,children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Locked Area",children:V})})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:u,onClick:function(){function S(){return l("ejectpai")}return S}()})})]})})}return y}()},69479:function(T,r,n){"use strict";r.__esModule=!0,r.BotFloor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(92963),b=r.BotFloor=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.noaccess,u=c.painame,d=c.hullplating,s=c.replace,i=c.eat,h=c.make,N=c.fixfloor,v=c.nag_empty,p=c.magnet,g=c.tiles_amount;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Floor Settings",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"5px",children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tiles Left",children:g})}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Add tiles to new hull plating",tooltip:"Fixing a plating requires the removal of floor tile. This will place it back after repairing. Same goes for hull breaches",disabled:f,onClick:function(){function V(){return l("autotile")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Add floor tiles on exposed hull plating",tooltip:"Example: It will add tiles to maintenance",disabled:f,onClick:function(){function V(){return l("replacetiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Repair damaged tiles and platings",disabled:f,onClick:function(){function V(){return l("fixfloors")}return V}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Miscellaneous",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Finds tiles",disabled:f,onClick:function(){function V(){return l("eattiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Make pieces of metal into tiles when empty",disabled:f,onClick:function(){function V(){return l("maketiles")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:v,content:"Transmit notice when empty",disabled:f,onClick:function(){function V(){return l("nagonempty")}return V}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,content:"Traction Magnets",disabled:f,onClick:function(){function V(){return l("anchored")}return V}()})]}),u&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,icon:"eject",content:u,disabled:f,onClick:function(){function V(){return l("ejectpai")}return V}()})})]})})}return y}()},59887:function(T,r,n){"use strict";r.__esModule=!0,r.BotHonk=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(92963),b=r.BotHonk=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:220,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.BotStatus)})})}return y}()},80063:function(T,r,n){"use strict";r.__esModule=!0,r.BotMed=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(92963),b=r.BotMed=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.locked,u=c.noaccess,d=c.maintpanel,s=c.on,i=c.autopatrol,h=c.canhack,N=c.emagged,v=c.remote_disabled,p=c.painame,g=c.shut_up,V=c.declare_crit,S=c.stationary_mode,I=c.heal_threshold,L=c.injection_amount,w=c.use_beaker,A=c.treat_virus,x=c.reagent_glass;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Communication Settings",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Speaker",checked:!g,disabled:u,onClick:function(){function E(){return l("toggle_speaker")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Critical Patient Alerts",checked:V,disabled:u,onClick:function(){function E(){return l("toggle_critical_alerts")}return E}()})]}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Treatment Settings",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Healing Threshold",children:(0,e.createComponentVNode)(2,t.Slider,{value:I.value,minValue:I.min,maxValue:I.max,step:5,disabled:u,onChange:function(){function E(M,j){return l("set_heal_threshold",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Injection Level",children:(0,e.createComponentVNode)(2,t.Slider,{value:L.value,minValue:L.min,maxValue:L.max,step:5,format:function(){function E(M){return M+"u"}return E}(),disabled:u,onChange:function(){function E(M,j){return l("set_injection_amount",{target:j})}return E}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reagent Source",children:(0,e.createComponentVNode)(2,t.Button,{content:w?"Beaker":"Internal Synthesizer",icon:w?"flask":"cogs",disabled:u,onClick:function(){function E(){return l("toggle_use_beaker")}return E}()})}),x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x.amount,minValue:0,maxValue:x.max_amount,children:[x.amount," / ",x.max_amount]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{ml:1,children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",disabled:u,onClick:function(){function E(){return l("eject_reagent_glass")}return E}()})})]})})]}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{mt:1,fluid:!0,content:"Treat Viral Infections",checked:A,disabled:u,onClick:function(){function E(){return l("toggle_treat_viral")}return E}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,content:"Stationary Mode",checked:S,disabled:u,onClick:function(){function E(){return l("toggle_stationary_mode")}return E}()})]}),p&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:p,disabled:u,onClick:function(){function E(){return l("ejectpai")}return E}()})})]})})})}return y}()},74439:function(T,r,n){"use strict";r.__esModule=!0,r.BotSecurity=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(92963),b=r.BotSecurity=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.noaccess,u=c.painame,d=c.check_id,s=c.check_weapons,i=c.check_warrant,h=c.arrest_mode,N=c.arrest_declare;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:445,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,m.BotStatus),(0,e.createComponentVNode)(2,t.Section,{title:"Who To Arrest",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Unidentifiable Persons",disabled:f,onClick:function(){function v(){return l("authid")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:s,content:"Unauthorized Weapons",disabled:f,onClick:function(){function v(){return l("authweapon")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:i,content:"Wanted Criminals",disabled:f,onClick:function(){function v(){return l("authwarrant")}return v}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Arrest Procedure",children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:h,content:"Detain Targets Indefinitely",disabled:f,onClick:function(){function v(){return l("arrtype")}return v}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:N,content:"Announce Arrests On Radio",disabled:f,onClick:function(){function v(){return l("arrdeclare")}return v}()})]}),u&&(0,e.createComponentVNode)(2,t.Section,{title:"pAI",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:u,disabled:f,onClick:function(){function v(){return l("ejectpai")}return v}()})})]})})}return y}()},10833:function(T,r,n){"use strict";r.__esModule=!0,r.BrigCells=void 0;var e=n(89005),a=n(98595),t=n(36036),o=n(72253),m=function(k,C){var l=k.cell,c=(0,o.useBackend)(C),f=c.act,u=l.cell_id,d=l.occupant,s=l.crimes,i=l.brigged_by,h=l.time_left_seconds,N=l.time_set_seconds,v=l.ref,p="";h>0&&(p+=" BrigCells__listRow--active");var g=function(){f("release",{ref:v})};return(0,e.createComponentVNode)(2,t.Table.Row,{className:p,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:N})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.TimeDisplay,{totalSeconds:h})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{type:"button",onClick:g,children:"Release"})})]})},b=function(k){var C=k.cells;return(0,e.createComponentVNode)(2,t.Table,{className:"BrigCells__list",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Cell"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Occupant"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Crimes"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Brigged By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Brigged For"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{header:!0,children:"Release"})]}),C.map(function(l){return(0,e.createComponentVNode)(2,m,{cell:l},l.ref)})]})},y=r.BrigCells=function(){function B(k,C){var l=(0,o.useBackend)(C),c=l.act,f=l.data,u=f.cells;return(0,e.createComponentVNode)(2,a.Window,{theme:"security",width:800,height:400,children:(0,e.createComponentVNode)(2,a.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b,{cells:u})})})})})}return B}()},45761:function(T,r,n){"use strict";r.__esModule=!0,r.BrigTimer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.BrigTimer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;l.nameText=l.occupant,l.timing&&(l.prisoner_hasrec?l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:l.occupant}):l.nameText=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:l.occupant}));var c="pencil-alt";l.prisoner_name&&(l.prisoner_hasrec||(c="exclamation-triangle"));var f=[],u=0;for(u=0;uf?this.substring(0,f)+"...":this};var k=function(u,d){var s,i;if(!d)return[];var h=u.findIndex(function(N){return N.name===d.name});return[(s=u[h-1])==null?void 0:s.name,(i=u[h+1])==null?void 0:i.name]},C=function(u,d){d===void 0&&(d="");var s=(0,m.createSearch)(d,function(i){return i.name});return(0,t.flow)([(0,a.filter)(function(i){return i==null?void 0:i.name}),d&&(0,a.filter)(s),(0,a.sortBy)(function(i){return i.name})])(u)},l=r.CameraConsole=function(){function f(u,d){var s=(0,b.useBackend)(d),i=s.act,h=s.data,N=s.config,v=h.mapRef,p=h.activeCamera,g=C(h.cameras),V=k(g,p),S=V[0],I=V[1];return(0,e.createComponentVNode)(2,B.Window,{width:870,height:708,children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,c)})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"Camera: ",16),p&&p.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!S,onClick:function(){function L(){return i("switch_camera",{name:S})}return L}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!I,onClick:function(){function L(){return i("switch_camera",{name:I})}return L}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:v,type:"map"}})],4)]})}return f}(),c=r.CameraConsoleContent=function(){function f(u,d){var s=(0,b.useBackend)(d),i=s.act,h=s.data,N=(0,b.useLocalState)(d,"searchText",""),v=N[0],p=N[1],g=h.activeCamera,V=C(h.cameras,v);return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{fluid:!0,placeholder:"Search for a camera",onInput:function(){function S(I,L){return p(L)}return S}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:V.map(function(S){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid","Button--color--transparent",g&&S.name===g.name&&"Button--selected"]),S.name.trimLongStr(23),0,{title:S.name,onClick:function(){function I(){return i("switch_camera",{name:S.name})}return I}()},S.name)})})})]})}return f}()},39222:function(T,r,n){"use strict";r.__esModule=!0,r.CameraConsoleOldContent=r.CameraConsoleMapContent=r.CameraConsole220=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(35840),m=n(25328),b=n(72253),y=n(36036),B=n(98595),k=function(d,s){var i,h;if(!s)return[];var N=d.findIndex(function(v){return v.name===s.name});return[(i=d[N-1])==null?void 0:i.name,(h=d[N+1])==null?void 0:h.name]},C=function(d,s){s===void 0&&(s="");var i=(0,m.createSearch)(s,function(h){return h.name});return(0,t.flow)([(0,a.filter)(function(h){return h==null?void 0:h.name}),s&&(0,a.filter)(i),(0,a.sortBy)(function(h){return h.name})])(d)},l=r.CameraConsole220=function(){function u(d,s){var i=(0,b.useLocalState)(s,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,c);case 1:return(0,e.createComponentVNode)(2,f);default:return"WE SHOULDN'T BE HERE!"}}return p}();return(0,e.createComponentVNode)(2,B.Window,{width:1170,height:755,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{children:(0,e.createComponentVNode)(2,y.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{width:h===1?"222px":"475px",textAlign:"center",children:(0,e.createComponentVNode)(2,y.Tabs,{fluid:!0,ml:h===1?1:0,mt:h===1?1:0,children:[(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"map-marked-alt"})," \u041A\u0430\u0440\u0442\u0430"]},"Map"),(0,e.createComponentVNode)(2,y.Tabs.Tab,{selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:[(0,e.createComponentVNode)(2,y.Icon,{name:"table"})," \u0421\u043F\u0438\u0441\u043E\u043A"]},"List")]})}),v(h)]})})})})}return u}(),c=r.CameraConsoleMapContent=function(){function u(d,s){var i=(0,b.useBackend)(s),h=i.act,N=i.data,v=C(N.cameras),p=(0,b.useLocalState)(s,"zoom",1),g=p[0],V=p[1],S=N.mapRef,I=N.activeCamera,L=N.stationLevel,w=N.mapUrl,A=N.selected_z_level,x=k(v,I),E=x[0],M=x[1];return(0,e.createComponentVNode)(2,y.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",style:{flex:"0 0 474px"},children:(0,e.createComponentVNode)(2,y.NanoMap,{onZoom:function(){function j(P){return V(P)}return j}(),mapUrl:w,children:v.filter(function(j){return j.z===(Number(A)||L)}).map(function(j){return(0,e.createComponentVNode)(2,y.NanoMap.NanoButton,{activeCamera:I,x:j.x,y:j.y,context:s,zoom:g,icon:"circle",tooltip:j.name,name:j.name,color:"blue",status:j.status},j.ref)})})}),(0,e.createComponentVNode)(2,y.Stack.Item,{height:"100%",m:.1,className:"CameraConsole__right_map",children:[(0,e.createVNode)(1,"div","CameraConsole__header",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),I&&I.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!E,onClick:function(){function j(){return h("switch_camera",{name:E})}return j}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!M,onClick:function(){function j(){return h("switch_camera",{name:M})}return j}()})],4)],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",overflow:"hidden",params:{id:S,type:"map"}})]})]})}return u}(),f=r.CameraConsoleOldContent=function(){function u(d,s){var i=(0,b.useBackend)(s),h=i.act,N=i.data,v=i.config,p=N.mapRef,g=N.activeCamera,V=(0,b.useLocalState)(s,"searchText",""),S=V[0],I=V[1],L=C(N.cameras,S),w=k(L,g),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,y.Stack.Item,{children:[(0,e.createVNode)(1,"div","CameraConsole__left",(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.Stack.Item,{children:(0,e.createComponentVNode)(2,y.Input,{width:"215px",placeholder:"\u041D\u0430\u0439\u0442\u0438 \u043A\u0430\u043C\u0435\u0440\u0443",onInput:function(){function E(M,j){return I(j)}return E}()})}),(0,e.createComponentVNode)(2,y.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,children:L.map(function(E){return(0,e.createVNode)(1,"div",(0,o.classes)(["Button","Button--fluid",E.status?"Button--color--transparent":"Button--color--danger","Button--ellipsis",g&&E.name===g.name&&"Button--selected"]),E.name,0,{title:E.name,onClick:function(){function M(){return h("switch_camera",{name:E.name})}return M}()},E.name)})})})]})}),2),(0,e.createVNode)(1,"div","CameraConsole__right",[(0,e.createVNode)(1,"div","CameraConsole__toolbar",[(0,e.createVNode)(1,"b",null,"\u041A\u0430\u043C\u0435\u0440\u0430: ",16),g&&g.name||"\u2014"],0),(0,e.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-left",disabled:!A,onClick:function(){function E(){return h("switch_camera",{name:A})}return E}()}),(0,e.createComponentVNode)(2,y.Button,{icon:"chevron-right",disabled:!x,onClick:function(){function E(){return h("switch_camera",{name:x})}return E}()})],4),(0,e.createComponentVNode)(2,y.ByondUi,{className:"CameraConsole__map",params:{id:p,type:"map"}})],4)]})}return u}()},52927:function(T,r,n){"use strict";r.__esModule=!0,r.Canister=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(49968),b=n(98595),y=r.Canister=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,f=l.data,u=f.portConnected,d=f.tankPressure,s=f.releasePressure,i=f.defaultReleasePressure,h=f.minReleasePressure,N=f.maxReleasePressure,v=f.valveOpen,p=f.name,g=f.canLabel,V=f.colorContainer,S=f.color_index,I=f.hasHoldingTank,L=f.holdingTank,w="";S.prim&&(w=V.prim.options[S.prim].name);var A="";S.sec&&(A=V.sec.options[S.sec].name);var x="";S.ter&&(x=V.ter.options[S.ter].name);var E="";S.quart&&(E=V.quart.options[S.quart].name);var M=[],j=[],P=[],O=[],D=0;for(D=0;Dp.current_positions&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:p.total_positions-p.current_positions})||(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"0"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"-",disabled:i.cooldown_time||!p.can_close,onClick:function(){function g(){return s("make_job_unavailable",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{content:"+",disabled:i.cooldown_time||!p.can_open,onClick:function(){function g(){return s("make_job_available",{job:p.title})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:i.target_dept&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i.priority_jobs.indexOf(p.title)>-1?"Yes":""})||(0,e.createComponentVNode)(2,t.Button,{content:p.is_priority?"Yes":"No",selected:p.is_priority,disabled:i.cooldown_time||!p.can_prioritize,onClick:function(){function g(){return s("prioritize_job",{job:p.title})}return g}()})})]},p.title)})]})})]}):v=(0,e.createComponentVNode)(2,B);break;case 2:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,B):i.modify_name?v=(0,e.createComponentVNode)(2,m.AccessList,{accesses:i.regions,selectedList:i.selectedAccess,accessMod:function(){function p(g){return s("set",{access:g})}return p}(),grantAll:function(){function p(){return s("grant_all")}return p}(),denyAll:function(){function p(){return s("clear_all")}return p}(),grantDep:function(){function p(g){return s("grant_region",{region:g})}return p}(),denyDep:function(){function p(g){return s("deny_region",{region:g})}return p}()}):v=(0,e.createComponentVNode)(2,k);break;case 3:i.authenticated?i.records.length?v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Records",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Delete All Records",disabled:!i.authenticated||i.records.length===0||i.target_dept,onClick:function(){function p(){return s("wipe_all_logs")}return p}()}),children:[(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Crewman"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Old Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"New Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Authorized By"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Reason"}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Deleted By"})]}),i.records.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.transferee}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.oldvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.newvalue}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.whodidit}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.timestamp}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.reason}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.deletedby})]},p.timestamp)})]}),!!i.iscentcom&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Delete MY Records",color:"purple",disabled:!i.authenticated||i.records.length===0,onClick:function(){function p(){return s("wipe_my_logs")}return p}()})})]}):v=(0,e.createComponentVNode)(2,C):v=(0,e.createComponentVNode)(2,B);break;case 4:!i.authenticated||!i.scan_name?v=(0,e.createComponentVNode)(2,B):v=(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Your Team",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Sec Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Actions"})]}),i.people_dept.map(function(p){return(0,e.createComponentVNode)(2,t.Table.Row,{height:2,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.crimstat}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:p.buttontext,disabled:!p.demotable,onClick:function(){function g(){return s("remote_demote",{remote_demote:p.name})}return g}()})})]},p.title)})]})});break;default:v=(0,e.createComponentVNode)(2,t.Section,{title:"Warning",color:"red",children:"ERROR: Unknown Mode."})}return(0,e.createComponentVNode)(2,o.Window,{width:800,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:N}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:h}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v})]})})})}return c}()},64083:function(T,r,n){"use strict";r.__esModule=!0,r.CargoConsole=void 0;var e=n(89005),a=n(64795),t=n(88510),o=n(72253),m=n(36036),b=n(98595),y=n(25328),B=r.CargoConsole=function(){function d(s,i){return(0,e.createComponentVNode)(2,b.Window,{width:900,height:800,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)]})})})}return d}(),k=function(s,i){var h=(0,o.useLocalState)(i,"contentsModal",null),N=h[0],v=h[1],p=(0,o.useLocalState)(i,"contentsModalTitle",null),g=p[0],V=p[1];if(N!==null&&g!==null)return(0,e.createComponentVNode)(2,m.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:[(0,e.createComponentVNode)(2,m.Box,{width:"100%",bold:!0,children:(0,e.createVNode)(1,"h1",null,[g,(0,e.createTextVNode)(" contents:")],0)}),(0,e.createComponentVNode)(2,m.Box,{children:N.map(function(S){return(0,e.createComponentVNode)(2,m.Box,{children:["- ",S]},S)})}),(0,e.createComponentVNode)(2,m.Box,{m:2,children:(0,e.createComponentVNode)(2,m.Button,{content:"Close",onClick:function(){function S(){v(null),V(null)}return S}()})})]})},C=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.is_public,g=v.timeleft,V=v.moving,S=v.at_station,I,L;return!V&&!S?(I="Docked off-station",L="Call Shuttle"):!V&&S?(I="Docked at the station",L="Return Shuttle"):V&&(L="In Transit...",g!==1?I="Shuttle is en route (ETA: "+g+" minutes)":I="Shuttle is en route (ETA: "+g+" minute)"),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Status",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Shuttle Status",children:I}),p===0&&(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,m.Button,{content:L,disabled:V,onClick:function(){function w(){return N("moveShuttle")}return w}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Central Command Messages",onClick:function(){function w(){return N("showMessages")}return w}()})]})]})})})},l=function(s,i){var h,N=(0,o.useBackend)(i),v=N.act,p=N.data,g=p.accounts,V=(0,o.useLocalState)(i,"selectedAccount"),S=V[0],I=V[1],L=[];return g.map(function(w){return L[w.name]=w.account_UID}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Payment",children:[(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:g.map(function(w){return w.name}),selected:(h=g.filter(function(w){return w.account_UID===S})[0])==null?void 0:h.name,onSelected:function(){function w(A){return I(L[A])}return w}()}),g.filter(function(w){return w.account_UID===S}).map(function(w){return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Account Name",children:(0,e.createComponentVNode)(2,m.Stack.Item,{mt:1,children:w.name})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Balance",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:w.balance})})]},w.account_UID)})]})})},c=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.requests,g=v.categories,V=v.supply_packs,S=(0,o.useSharedState)(i,"category","Emergency"),I=S[0],L=S[1],w=(0,o.useSharedState)(i,"search_text",""),A=w[0],x=w[1],E=(0,o.useLocalState)(i,"contentsModal",null),M=E[0],j=E[1],P=(0,o.useLocalState)(i,"contentsModalTitle",null),O=P[0],D=P[1],F=(0,y.createSearch)(A,function(Q){return Q.name}),W=(0,o.useLocalState)(i,"selectedAccount"),U=W[0],$=W[1],K=(0,a.flow)([(0,t.filter)(function(Q){return Q.cat===g.filter(function(J){return J.name===I})[0].category||A}),A&&(0,t.filter)(F),(0,t.sortBy)(function(Q){return Q.name.toLowerCase()})])(V),G="Crate Catalogue";return A?G="Results for '"+A+"':":I&&(G="Browsing "+I),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:G,buttons:(0,e.createComponentVNode)(2,m.Dropdown,{width:"190px",options:g.map(function(Q){return Q.name}),selected:I,onSelected:function(){function Q(J){return L(J)}return Q}()}),children:[(0,e.createComponentVNode)(2,m.Input,{fluid:!0,placeholder:"Search for...",onInput:function(){function Q(J,ue){return x(ue)}return Q}(),mb:1}),(0,e.createComponentVNode)(2,m.Box,{maxHeight:25,overflowY:"auto",overflowX:"hidden",children:(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:K.map(function(Q){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{bold:!0,children:[Q.name," (",Q.cost," Credits)"]}),(0,e.createComponentVNode)(2,m.Table.Cell,{textAlign:"right",pr:1,children:[(0,e.createComponentVNode)(2,m.Button,{content:"Order 1",icon:"shopping-cart",disabled:!U,onClick:function(){function J(){return N("order",{crate:Q.ref,multiple:!1,account:U})}return J}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Order Multiple",icon:"cart-plus",disabled:!U||Q.singleton,onClick:function(){function J(){return N("order",{crate:Q.ref,multiple:!0,account:U})}return J}()}),(0,e.createComponentVNode)(2,m.Button,{content:"View Contents",icon:"search",onClick:function(){function J(){j(Q.contents),D(Q.name)}return J}()})]})]},Q.name)})})})]})})},f=function(s,i){var h=s.request,N,v;switch(h.department){case"Engineering":v="CE",N="orange";break;case"Medical":v="CMO",N="teal";break;case"Science":v="RD",N="purple";break;case"Supply":v="CT",N="brown";break;case"Service":v="HOP",N="olive";break;case"Security":v="HOS",N="red";break;case"Command":v="CAP",N="blue";break;case"Assistant":v="Any Head",N="grey";break}return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{mt:.5,children:"Approval Required:"}),!!h.req_cargo_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"brown",content:"QM",icon:"user-tie",tooltip:"This Order requires approval from the QM still"})}),!!h.req_head_approval&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:N,content:v,disabled:h.req_cargo_approval,icon:"user-tie",tooltip:h.req_cargo_approval?"This Order first requires approval from the QM before the "+v+" can approve it":"This Order requires approval from the "+v+" still"})})]})},u=function(s,i){var h=(0,o.useBackend)(i),N=h.act,v=h.data,p=v.requests,g=v.orders,V=v.shipments;return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Orders",children:[(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Requests"}),(0,e.createComponentVNode)(2,m.Table,{children:p.map(function(S){return(0,e.createComponentVNode)(2,m.Table.Row,{className:"Cargo_RequestList",children:[(0,e.createComponentVNode)(2,m.Table.Cell,{mb:1,children:[(0,e.createComponentVNode)(2,m.Box,{children:["Order #",S.ordernum,": ",S.supply_type," (",S.cost," credits) for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)," with"," ",S.department?"The "+S.department+" Department":"Their Personal"," Account"]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",S.comment]}),(0,e.createComponentVNode)(2,f,{request:S})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"right",children:[(0,e.createComponentVNode)(2,m.Button,{content:"Approve",color:"green",disabled:!S.can_approve,onClick:function(){function I(){return N("approve",{ordernum:S.ordernum})}return I}()}),(0,e.createComponentVNode)(2,m.Button,{content:"Deny",color:"red",disabled:!S.can_deny,onClick:function(){function I(){return N("deny",{ordernum:S.ordernum})}return I}()})]})]},S.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Orders Awaiting Delivery"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:g.map(function(S){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",S.ordernum,": ",S.supply_type," for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",S.comment]})]})},S.ordernum)})}),(0,e.createComponentVNode)(2,m.Box,{bold:!0,children:"Order in Transit"}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:V.map(function(S){return(0,e.createComponentVNode)(2,m.Table.Row,{children:(0,e.createComponentVNode)(2,m.Table.Cell,{children:[(0,e.createComponentVNode)(2,m.Box,{children:["- #",S.ordernum,": ",S.supply_type," for ",(0,e.createVNode)(1,"b",null,S.orderedby,0)]}),(0,e.createComponentVNode)(2,m.Box,{italic:!0,children:["Reason: ",S.comment]})]})},S.ordernum)})})]})}},87331:function(T,r,n){"use strict";r.__esModule=!0,r.ChangelogView=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ChangelogView=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=(0,a.useLocalState)(B,"onlyRecent",0),f=c[0],u=c[1],d=l.cl_data,s=l.last_cl,i={FIX:(0,e.createComponentVNode)(2,t.Icon,{name:"tools",title:"Fix"}),WIP:(0,e.createComponentVNode)(2,t.Icon,{name:"hard-hat",title:"WIP",color:"orange"}),TWEAK:(0,e.createComponentVNode)(2,t.Icon,{name:"sliders-h",title:"Tweak"}),SOUNDADD:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",title:"Sound Added",color:"green"}),SOUNDDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-mute",title:"Sound Removed",color:"red"}),CODEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",title:"Code Addition",color:"green"}),CODEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"minus",title:"Code Removal",color:"red"}),IMAGEADD:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-plus",title:"Sprite Addition",color:"green"}),IMAGEDEL:(0,e.createComponentVNode)(2,t.Icon,{name:"folder-minus",title:"Sprite Removal",color:"red"}),SPELLCHECK:(0,e.createComponentVNode)(2,t.Icon,{name:"font",title:"Spelling/Grammar Fix"}),EXPERIMENT:(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-triangle",title:"Experimental",color:"orange"})},h=function(){function N(v){return v in i?i[v]:(0,e.createComponentVNode)(2,t.Icon,{name:"plus",color:"green"})}return N}();return(0,e.createComponentVNode)(2,o.Window,{width:750,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"ParadiseSS13 Changelog",mt:2,buttons:(0,e.createComponentVNode)(2,t.Button,{content:f?"Showing all changes":"Showing changes since last connection",onClick:function(){function N(){return u(!f)}return N}()}),children:d.map(function(N){return!f&&N.merge_ts<=s||(0,e.createComponentVNode)(2,t.Section,{mb:2,title:N.author+" - Merged on "+N.merge_date,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"#"+N.num,onClick:function(){function v(){return C("open_pr",{pr_number:N.num})}return v}()}),children:N.entries.map(function(v){return(0,e.createComponentVNode)(2,t.Box,{m:1,children:[h(v.etype)," ",v.etext]},v)})},N)})})})})}return b}()},36108:function(T,r,n){"use strict";r.__esModule=!0,r.ChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(85870),m=n(98595),b=[1,5,10,20,30,50],y=[1,5,10],B=r.ChemDispenser=function(){function c(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.chemicals;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:400+h.length*8,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l)]})})})}return c}(),k=function(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.amount,N=i.energy,v=i.maxEnergy;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:N,minValue:0,maxValue:v,ranges:{good:[v*.5,1/0],average:[v*.25,v*.5],bad:[-1/0,v*.25]},children:[N," / ",v," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:b.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:h===p,content:p,onClick:function(){function V(){return s("amount",{amount:p})}return V}()})},g)})})})]})})})},C=function(f,u){for(var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.chemicals,N=h===void 0?[]:h,v=[],p=0;p<(N.length+1)%3;p++)v.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:i.glass?"Drink Dispenser":"Chemical Dispenser",children:[N.map(function(g,V){return(0,e.createComponentVNode)(2,t.Button,{m:.1,width:"32.5%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",content:g.title,style:{"margin-left":"2px"},onClick:function(){function S(){return s("dispense",{reagent:g.id})}return S}()},V)}),v.map(function(g,V){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%"},V)})]})})},l=function(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.isBeakerLoaded,N=i.beakerCurrentVolume,v=i.beakerMaxVolume,p=i.beakerContents,g=p===void 0?[]:p;return(0,e.createComponentVNode)(2,t.Stack.Item,{height:16,children:(0,e.createComponentVNode)(2,t.Section,{title:i.glass?"Glass":"Beaker",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Box,{children:[!!h&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",mr:2,children:[N," / ",v," units"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!h,onClick:function(){function V(){return s("ejectBeaker")}return V}()})]}),children:(0,e.createComponentVNode)(2,o.BeakerContents,{beakerLoaded:h,beakerContents:g,buttons:function(){function V(S){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){function I(){return s("remove",{reagent:S.id,amount:-1})}return I}()}),y.map(function(I,L){return(0,e.createComponentVNode)(2,t.Button,{content:I,onClick:function(){function w(){return s("remove",{reagent:S.id,amount:I})}return w}()},L)}),(0,e.createComponentVNode)(2,t.Button,{content:"ALL",onClick:function(){function I(){return s("remove",{reagent:S.id,amount:S.volume})}return I}()})],0)}return V}()})})})}},13146:function(T,r,n){"use strict";r.__esModule=!0,r.ChemHeater=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(85870),b=n(98595),y=r.ChemHeater=function(){function C(l,c){return(0,e.createComponentVNode)(2,b.Window,{width:350,height:275,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),B=function(l,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,s=d.targetTemp,i=d.targetTempReached,h=d.autoEject,N=d.isActive,v=d.currentTemp,p=d.isBeakerLoaded;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Settings",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Auto-eject",icon:h?"toggle-on":"toggle-off",selected:h,onClick:function(){function g(){return u("toggle_autoeject")}return g}()}),(0,e.createComponentVNode)(2,o.Button,{content:N?"On":"Off",icon:"power-off",selected:N,disabled:!p,onClick:function(){function g(){return u("toggle_on")}return g}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"65px",unit:"K",step:10,stepPixelSize:3,value:(0,a.round)(s,0),minValue:0,maxValue:1e3,onDrag:function(){function g(V,S){return u("adjust_temperature",{target:S})}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Reading",color:i?"good":"average",children:p&&(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:v,format:function(){function g(V){return(0,a.toFixed)(V)+" K"}return g}()})||"\u2014"})]})})})},k=function(l,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,s=d.isBeakerLoaded,i=d.beakerCurrentVolume,h=d.beakerMaxVolume,N=d.beakerContents;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:!!s&&(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,color:"label",mr:2,children:[i," / ",h," units"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",onClick:function(){function v(){return u("eject_beaker")}return v}()})]}),children:(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:s,beakerContents:N})})})}},56541:function(T,r,n){"use strict";r.__esModule=!0,r.ChemMaster=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(85870),b=n(3939),y=n(35840),B=["icon"];function k(I,L){if(I==null)return{};var w={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;w[A]=I[A]}return w}function C(I,L){I.prototype=Object.create(L.prototype),I.prototype.constructor=I,l(I,L)}function l(I,L){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(w,A){return w.__proto__=A,w},l(I,L)}var c=[1,5,10],f=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=L.args.analysis;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:E.condi?"Condiment Analysis":"Reagent Analysis",children:(0,e.createComponentVNode)(2,t.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:M.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:(M.desc||"").length>0?M.desc:"N/A"}),M.blood_type&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood type",children:M.blood_type}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:M.blood_dna})],4),!E.condi&&(0,e.createComponentVNode)(2,t.Button,{icon:E.printing?"spinner":"print",disabled:E.printing,iconSpin:!!E.printing,ml:"0.5rem",content:"Print",onClick:function(){function j(){return x("print",{idx:M.idx,beaker:L.args.beaker})}return j}()})]})})})})},u=function(I){return I[I.ToDisposals=0]="ToDisposals",I[I.ToBeaker=1]="ToBeaker",I}(u||{}),d=r.ChemMaster=function(){function I(L,w){return(0,e.createComponentVNode)(2,o.Window,{width:575,height:650,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,s),(0,e.createComponentVNode)(2,i),(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,S)]})})]})}return I}(),s=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=E.beaker,j=E.beaker_reagents,P=E.buffer_reagents,O=P.length>0;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Beaker",fill:!0,scrollable:!0,buttons:O?(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}):(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!M,content:"Eject and Clear Buffer",onClick:function(){function D(){return x("eject")}return D}()}),children:M?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function D(F,W){return(0,e.createComponentVNode)(2,t.Box,{mb:W0?(0,e.createComponentVNode)(2,m.BeakerContents,{beakerLoaded:!0,beakerContents:j,buttons:function(){function P(O,D){return(0,e.createComponentVNode)(2,t.Box,{mb:D0&&(O=P.map(function(D){var F=D.id,W=D.sprite;return(0,e.createComponentVNode)(2,g,{icon:W,translucent:!0,onClick:function(){function U(){return x("set_sprite_style",{production_mode:M,style:F})}return U}(),selected:j===F},F)})),(0,e.createComponentVNode)(2,p,{productionData:L.productionData,children:O&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:O})})},S=function(L,w){var A=(0,a.useBackend)(w),x=A.act,E=A.data,M=E.loaded_pill_bottle_style,j=E.containerstyles,P=E.loaded_pill_bottle,O={width:"20px",height:"20px"},D=j.map(function(F){var W=F.color,U=F.name,$=M===W;return(0,e.createComponentVNode)(2,t.Button,{style:{position:"relative",width:O.width,height:O.height},onClick:function(){function K(){return x("set_container_style",{style:W})}return K}(),icon:$&&"check",iconStyle:{position:"relative","z-index":1},tooltip:U,tooltipPosition:"top",children:[!$&&(0,e.createVNode)(1,"div",null,null,1,{style:{display:"inline-block"}}),(0,e.createVNode)(1,"span","Button",null,1,{style:{display:"inline-block",position:"absolute",top:0,left:0,margin:0,padding:0,width:O.width,height:O.height,"background-color":W,opacity:.6,filter:"alpha(opacity=60)"}})]},W)});return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Container Customization",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!P,content:"Eject Container",onClick:function(){function F(){return x("ejectp")}return F}()}),children:P?(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Style",children:[(0,e.createComponentVNode)(2,t.Button,{style:{width:O.width,height:O.height},icon:"tint-slash",onClick:function(){function F(){return x("clear_container_style")}return F}(),selected:!M,tooltip:"Default",tooltipPosition:"top"}),D]})}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"No pill bottle or patch pack loaded."})})})};(0,b.modalRegisterBodyOverride)("analyze",f)},37173:function(T,r,n){"use strict";r.__esModule=!0,r.CloningConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(79140),b=1,y=32,B=128,k=r.CloningConsole=function(){function d(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.tab,g=v.has_scanner,V=v.pod_amount;return(0,e.createComponentVNode)(2,o.Window,{width:640,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cloning Console",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected scanner",children:g?"Online":"Missing"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Connected pods",children:V})]})}),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===1,icon:"home",onClick:function(){function S(){return N("menu",{tab:1})}return S}(),children:"Main Menu"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:p===2,icon:"user",onClick:function(){function S(){return N("menu",{tab:2})}return S}(),children:"Damage Configuration"})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,C)})]})})}return d}(),C=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.tab,p;return v===1?p=(0,e.createComponentVNode)(2,l):v===2&&(p=(0,e.createComponentVNode)(2,c)),p},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.pods,g=v.pod_amount,V=v.selected_pod_UID;return(0,e.createComponentVNode)(2,t.Box,{children:[!g&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No pods connected."}),!!g&&p.map(function(S,I){return(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Pod "+(I+1),children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"96px",shrink:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:(0,m.resolveAsset)("pod_"+(S.cloning?"cloning":"idle")+".gif"),style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{selected:V===S.uid,onClick:function(){function L(){return N("select_pod",{uid:S.uid})}return L}(),children:"Select"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Progress",children:[!S.cloning&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Pod is inactive."}),!!S.cloning&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:S.clone_progress,maxValue:100,color:"good"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:S.biomass,ranges:{good:[2*S.biomass_storage_capacity/3,S.biomass_storage_capacity],average:[S.biomass_storage_capacity/3,2*S.biomass_storage_capacity/3],bad:[0,S.biomass_storage_capacity/3]},minValue:0,maxValue:S.biomass_storage_capacity,children:[S.biomass,"/",S.biomass_storage_capacity+" ("+100*S.biomass/S.biomass_storage_capacity+"%)"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sanguine Reagent",children:S.sanguine_reagent}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Osseous Reagent",children:S.osseous_reagent})]})})]})},S)})]})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.selected_pod_data,g=v.has_scanned,V=v.scanner_has_patient,S=v.feedback,I=v.scan_successful,L=v.cloning_cost,w=v.has_scanner,A=v.currently_scanning;return(0,e.createComponentVNode)(2,t.Box,{children:[!w&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No scanner connected."}),!!w&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Scanner Info",buttons:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hourglass-half",onClick:function(){function x(){return N("scan")}return x}(),disabled:!V||A,children:"Scan"}),(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function x(){return N("eject")}return x}(),disabled:!V||A,children:"Eject Patient"})]}),children:[!g&&!A&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:V?"No scan detected for current patient.":"No patient is in the scanner."}),(!!g||!!A)&&(0,e.createComponentVNode)(2,t.Box,{color:S.color,children:S.text})]}),(0,e.createComponentVNode)(2,t.Section,{layer:2,title:"Damages Breakdown",children:(0,e.createComponentVNode)(2,t.Box,{children:[(!I||!g)&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No valid scan detected."}),!!I&&!!g&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("fix_all")}return x}(),children:"Repair All Damages"}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("fix_none")}return x}(),children:"Repair No Damages"})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function x(){return N("clone")}return x}(),children:"Clone"})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[0],maxValue:p.biomass_storage_capacity,ranges:{bad:[2*p.biomass_storage_capacity/3,p.biomass_storage_capacity],average:[p.biomass_storage_capacity/3,2*p.biomass_storage_capacity/3],good:[0,p.biomass_storage_capacity/3]},color:L[0]>p.biomass?"bad":null,children:["Biomass: ",L[0],"/",p.biomass,"/",p.biomass_storage_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[1],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[1]>p.sanguine_reagent?"bad":"good",children:["Sanguine: ",L[1],"/",p.sanguine_reagent,"/",p.max_reagent_capacity]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:L[2],maxValue:p.max_reagent_capacity,ranges:{bad:[2*p.max_reagent_capacity/3,p.max_reagent_capacity],average:[p.max_reagent_capacity/3,2*p.max_reagent_capacity/3],good:[0,p.max_reagent_capacity/3]},color:L[2]>p.osseous_reagent?"bad":"good",children:["Osseous: ",L[2],"/",p.osseous_reagent,"/",p.max_reagent_capacity]})})]}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)]})]})})]})]})},f=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.patient_limb_data,g=v.limb_list,V=v.desired_limb_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Limbs",children:g.map(function(S,I){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"15%",height:"20px",children:[p[S][4],":"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),p[S][3]===0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:V[S][0]+V[S][1],maxValue:p[S][5],ranges:{good:[0,p[S][5]/3],average:[p[S][5]/3,2*p[S][5]/3],bad:[2*p[S][5]/3,p[S][5]]},children:["Post-Cloning Damage: ",(0,e.createComponentVNode)(2,t.Icon,{name:"bone"})," "+V[S][0]+" / ",(0,e.createComponentVNode)(2,t.Icon,{name:"fire"})," "+V[S][1]]})}),p[S][3]!==0&&(0,e.createComponentVNode)(2,t.Stack.Item,{width:"60%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[S][4]," is missing!"]})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[!!p[S][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V[S][3],onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"replace"})}return L}(),children:"Replace Limb"})}),!p[S][3]&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][0]||p[S][1]),checked:!(V[S][0]||V[S][1]),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"damage"})}return L}(),children:"Repair Damages"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&b),checked:!(V[S][2]&b),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"bone"})}return L}(),children:"Mend Bone"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&y),checked:!(V[S][2]&y),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"ib"})}return L}(),children:"Mend IB"}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!(p[S][2]&B),checked:!(V[S][2]&B),onClick:function(){function L(){return N("toggle_limb_repair",{limb:S,type:"critburn"})}return L}(),children:"Mend Critical Burn"})]})]})]},S)})})},u=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.patient_organ_data,g=v.organ_list,V=v.desired_organ_data;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Organs",children:g.map(function(S,I){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"baseline",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"20%",height:"20px",children:[p[S][3],":"," "]}),p[S][5]!=="heart"&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!!p[S][2]&&(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!V[S][2]&&!V[S][1],onClick:function(){function L(){return N("toggle_organ_repair",{organ:S,type:"replace"})}return L}(),children:"Replace Organ"}),!p[S][2]&&(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{disabled:!p[S][0],checked:!V[S][0],onClick:function(){function L(){return N("toggle_organ_repair",{organ:S,type:"damage"})}return L}(),children:"Repair Damages"})})]})}),p[S][5]==="heart"&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Heart replacement is required for cloning."}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[!!p[S][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{color:"bad",value:0,children:["The patient's ",p[S][3]," is missing!"]}),!p[S][2]&&(0,e.createComponentVNode)(2,t.ProgressBar,{value:V[S][0],maxValue:p[S][4],ranges:{good:[0,p[S][4]/3],average:[p[S][4]/3,2*p[S][4]/3],bad:[2*p[S][4]/3,p[S][4]]},children:"Post-Cloning Damage: "+V[S][0]})]})]})},S)})})}},98723:function(T,r,n){"use strict";r.__esModule=!0,r.CloningPod=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.CloningPod=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.biomass,f=l.biomass_storage_capacity,u=l.sanguine_reagent,d=l.osseous_reagent,s=l.organs,i=l.currently_cloning;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Liquid Storage",children:[(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Biomass:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:c,ranges:{good:[2*f/3,f],average:[f/3,2*f/3],bad:[0,f/3]},minValue:0,maxValue:f})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Sanguine Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:u+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:u,step:1,unit:"units",onChange:function(){function h(N,v){return C("remove_reagent",{reagent:"sanguine_reagent",amount:v})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return C("purge_reagent",{reagent:"sanguine_reagent"})}return h}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{height:"25px",align:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{color:"label",width:"25%",children:["Osseous Reagent:"," "]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:d+" units"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.NumberInput,{value:0,minValue:0,maxValue:d,step:1,unit:"units",onChange:function(){function h(N,v){return C("remove_reagent",{reagent:"osseous_reagent",amount:v})}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove All",onClick:function(){function h(){return C("purge_reagent",{reagent:"osseous_reagent"})}return h}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Organ Storage",children:[!i&&(0,e.createComponentVNode)(2,t.Box,{children:[!s&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Notice: No organs loaded."}),!!s&&s.map(function(h){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:h.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Eject",onClick:function(){function N(){return C("eject_organ",{organ_ref:h.ref})}return N}()})})]},h)})]}),!!i&&(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Unable to access organ storage while cloning."]})})]})]})})}return b}()},18259:function(T,r,n){"use strict";r.__esModule=!0,r.CoinMint=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(98595),b=r.CoinMint=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,f=c.materials,u=c.moneyBag,d=c.moneyBagContent,s=c.moneyBagMaxContent,i=(u?210:138)+Math.ceil(f.length/4)*64;return(0,e.createComponentVNode)(2,m.Window,{width:210,height:i,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.NoticeBox,{m:0,info:!0,children:["Total coins produced: ",c.totalCoins]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Coin Type",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",color:c.active&&"bad",tooltip:!u&&"Need a money bag",disabled:!u,onClick:function(){function h(){return l("activate")}return h}()}),children:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.ProgressBar,{minValue:0,maxValue:c.maxMaterials,value:c.totalMaterials})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",tooltip:"Eject selected material",onClick:function(){function h(){return l("ejectMat")}return h}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:f.map(function(h){return(0,e.createComponentVNode)(2,o.Button,{bold:!0,inline:!0,translucent:!0,m:.2,textAlign:"center",selected:h.id===c.chosenMaterial,tooltip:h.name,content:(0,e.createComponentVNode)(2,o.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",h.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:h.amount})]}),onClick:function(){function N(){return l("selectMaterial",{material:h.id})}return N}()},h.id)})})]})})}),!!u&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Money Bag",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject",disabled:c.active,onClick:function(){function h(){return l("ejectBag")}return h}()}),children:(0,e.createComponentVNode)(2,o.ProgressBar,{width:"100%",minValue:0,maxValue:s,value:d,children:[d," / ",s]})})})]})})})}return y}()},8444:function(T,r,n){"use strict";r.__esModule=!0,r.ColourMatrixTester=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ColourMatrixTester=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.colour_data,f=[[{name:"RR",idx:0},{name:"RG",idx:1},{name:"RB",idx:2},{name:"RA",idx:3}],[{name:"GR",idx:4},{name:"GG",idx:5},{name:"GB",idx:6},{name:"GA",idx:7}],[{name:"BR",idx:8},{name:"BG",idx:9},{name:"BB",idx:10},{name:"BA",idx:11}],[{name:"AR",idx:12},{name:"AG",idx:13},{name:"AB",idx:14},{name:"AA",idx:15}]];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:190,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Matrix",children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",textColor:"label",children:u.map(function(d){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:1,children:[d.name,":\xA0",(0,e.createComponentVNode)(2,t.NumberInput,{width:4,value:c[d.idx],step:.05,minValue:-5,maxValue:5,stepPixelSize:5,onChange:function(){function s(i,h){return C("setvalue",{idx:d.idx+1,value:h})}return s}()})]},d.name)})},u)})})})})})}return b}()},63818:function(T,r,n){"use strict";r.__esModule=!0,r.CommunicationsComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(s){switch(s){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,l);case 3:return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,c)})});case 4:return(0,e.createComponentVNode)(2,u);default:return"ERROR. Unknown menu_state. Please contact NT Technical Support."}},b=r.CommunicationsComputer=function(){function d(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.menu_state;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y),m(p)]})})})}return d}(),y=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.authenticated,g=v.noauthbutton,V=v.esc_section,S=v.esc_callable,I=v.esc_recallable,L=v.esc_status,w=v.authhead,A=v.is_ai,x=v.lastCallLoc,E=!1,M;return p?p===1?M="Command":p===2?M="Captain":p===3?M="CentComm Officer":p===4?(M="CentComm Secure Connection",E=!0):M="ERROR: Report This Bug!":M="Not Logged In",(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authentication",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:E&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Access",children:M})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{icon:p?"sign-out-alt":"id-card",selected:p,disabled:g,content:p?"Log Out ("+M+")":"Log In",onClick:function(){function j(){return N("auth")}return j}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!V&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Escape Shuttle",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!L&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:L}),!!S&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"rocket",content:"Call Shuttle",disabled:!w,onClick:function(){function j(){return N("callshuttle")}return j}()})}),!!I&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Options",children:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Recall Shuttle",disabled:!w||A,onClick:function(){function j(){return N("cancelshuttle")}return j}()})}),!!x&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Last Call/Recall From",children:x})]})})})],4)},B=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin;return p?(0,e.createComponentVNode)(2,k):(0,e.createComponentVNode)(2,C)},k=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin,g=v.gamma_armory_location,V=v.admin_levels,S=v.authenticated,I=v.ert_allowed;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"CentComm Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:V,required_access:p,use_confirm:1})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:"Make Central Announcement",disabled:!p,onClick:function(){function L(){return N("send_to_cc_announcement_page")}return L}()}),S===4&&(0,e.createComponentVNode)(2,t.Button,{icon:"plus",content:"Make Other Announcement",disabled:!p,onClick:function(){function L(){return N("make_other_announcement")}return L}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Response Team",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"ambulance",content:"Dispatch ERT",disabled:!p,onClick:function(){function L(){return N("dispatch_ert")}return L}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:I,content:I?"ERT calling enabled":"ERT calling disabled",tooltip:I?"Command can request an ERT":"ERTs cannot be requested",disabled:!p,onClick:function(){function L(){return N("toggle_ert_allowed")}return L}(),selected:null})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:"Get Authentication Codes",disabled:!p,onClick:function(){function L(){return N("send_nuke_codes")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gamma Armory",children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"biohazard",content:g?"Send Gamma Armory":"Recall Gamma Armory",disabled:!p,onClick:function(){function L(){return N("move_gamma_armory")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Other",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"coins",content:"View Economy",disabled:!p,onClick:function(){function L(){return N("view_econ")}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fax",content:"Fax Manager",disabled:!p,onClick:function(){function L(){return N("view_fax")}return L}()})]})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"View Command accessible controls",children:(0,e.createComponentVNode)(2,C)})]})},C=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.msg_cooldown,g=v.emagged,V=v.cc_cooldown,S=v.security_level_color,I=v.str_security_level,L=v.levels,w=v.authcapt,A=v.authhead,x=v.messages,E="Make Priority Announcement";p>0&&(E+=" ("+p+"s)");var M=g?"Message [UNKNOWN]":"Message CentComm",j="Request Authentication Codes";return V>0&&(M+=" ("+V+"s)",j+=" ("+V+"s)"),(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Captain-Only Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Alert",color:S,children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Change Alert",children:(0,e.createComponentVNode)(2,f,{levels:L,required_access:w})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Announcement",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bullhorn",content:E,disabled:!w||p>0,onClick:function(){function P(){return N("announce")}return P}()})}),!!g&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",color:"red",content:M,disabled:!w||V>0,onClick:function(){function P(){return N("MessageSyndicate")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",content:"Reset Relays",disabled:!w,onClick:function(){function P(){return N("RestoreBackup")}return P}()})]})||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transmit",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",content:M,disabled:!w||V>0,onClick:function(){function P(){return N("MessageCentcomm")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Nuclear Device",children:(0,e.createComponentVNode)(2,t.Button,{icon:"bomb",content:j,disabled:!w||V>0,onClick:function(){function P(){return N("nukerequest")}return P}()})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Command Staff Actions",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Displays",children:(0,e.createComponentVNode)(2,t.Button,{icon:"tv",content:"Change Status Displays",disabled:!A,onClick:function(){function P(){return N("status")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Incoming Messages",children:(0,e.createComponentVNode)(2,t.Button,{icon:"folder-open",content:"View ("+x.length+")",disabled:!A,onClick:function(){function P(){return N("messagelist")}return P}()})})]})})})],4)},l=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.stat_display,g=v.authhead,V=v.current_message_title,S=p.presets.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.name===p.type,disabled:!g,onClick:function(){function w(){return N("setstat",{statdisp:L.name})}return w}()},L.name)}),I=p.alerts.map(function(L){return(0,e.createComponentVNode)(2,t.Button,{content:L.label,selected:L.alert===p.icon,disabled:!g,onClick:function(){function w(){return N("setstat",{statdisp:3,alert:L.alert})}return w}()},L.alert)});return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Modify Status Screens",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function L(){return N("main")}return L}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Presets",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alerts",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 1",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_1,disabled:!g,onClick:function(){function L(){return N("setmsg1")}return L}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message Line 2",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:p.line_2,disabled:!g,onClick:function(){function L(){return N("setmsg2")}return L}()})})]})})})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.authhead,g=v.current_message_title,V=v.current_message,S=v.messages,I=v.security_level,L;if(g)L=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:g,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Return To Message List",disabled:!p,onClick:function(){function A(){return N("messagelist")}return A}()}),children:(0,e.createComponentVNode)(2,t.Box,{children:V})})});else{var w=S.map(function(A){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:A.title,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eye",content:"View",disabled:!p||g===A.title,onClick:function(){function x(){return N("messagelist",{msgid:A.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"times",content:"Delete",disabled:!p,onClick:function(){function x(){return N("delmessage",{msgid:A.id})}return x}()})]},A.id)});L=(0,e.createComponentVNode)(2,t.Section,{title:"Messages Received",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function A(){return N("main")}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:w})})}return(0,e.createComponentVNode)(2,t.Box,{children:L})},f=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=s.levels,g=s.required_access,V=s.use_confirm,S=v.security_level;return V?p.map(function(I){return(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:I.icon,content:I.name,disabled:!g||I.id===S,tooltip:I.tooltip,onClick:function(){function L(){return N("newalertlevel",{level:I.id})}return L}()},I.name)}):p.map(function(I){return(0,e.createComponentVNode)(2,t.Button,{icon:I.icon,content:I.name,disabled:!g||I.id===S,tooltip:I.tooltip,onClick:function(){function L(){return N("newalertlevel",{level:I.id})}return L}()},I.name)})},u=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.is_admin,g=v.possible_cc_sounds;if(!p)return N("main");var V=(0,a.useLocalState)(i,"subtitle",""),S=V[0],I=V[1],L=(0,a.useLocalState)(i,"text",""),w=L[0],A=L[1],x=(0,a.useLocalState)(i,"classified",0),E=x[0],M=x[1],j=(0,a.useLocalState)(i,"beepsound","Beep"),P=j[0],O=j[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Central Command Report",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back To Main Menu",onClick:function(){function D(){return N("main")}return D}()}),children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Subtitle here.",fluid:!0,value:S,onChange:function(){function D(F,W){return I(W)}return D}(),mb:"5px"}),(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter Announcement here,\nMultiline input is accepted.",rows:10,fluid:!0,multiline:1,value:w,onChange:function(){function D(F,W){return A(W)}return D}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Send Announcement",fluid:!0,icon:"paper-plane",center:!0,mt:"5px",textAlign:"center",onClick:function(){function D(){return N("make_cc_announcement",{subtitle:S,text:w,classified:E,beepsound:P})}return D}()}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"260px",height:"20px",options:g,selected:P,onSelected:function(){function D(F){return O(F)}return D}(),disabled:E})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"volume-up",mx:"5px",disabled:E,tooltip:"Test sound",onClick:function(){function D(){return N("test_sound",{sound:P})}return D}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:E,content:"Classified",fluid:!0,tooltip:E?"Sent to station communications consoles":"Publically announced",onClick:function(){function D(){return M(!E)}return D}()})})]})]})})}},20562:function(T,r,n){"use strict";r.__esModule=!0,r.CompostBin=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.CompostBin=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.biomass,f=l.compost,u=l.biomass_capacity,d=l.compost_capacity,s=l.potassium,i=l.potassium_capacity,h=l.potash,N=l.potash_capacity,v=(0,a.useSharedState)(B,"vendAmount",1),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Window,{width:360,height:250,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{label:"Resources",children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Biomass",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:c,minValue:0,maxValue:u,ranges:{good:[u*.5,1/0],average:[u*.25,u*.5],bad:[-1/0,u*.25]},children:[c," / ",u," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compost",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:f,minValue:0,maxValue:d,ranges:{good:[d*.5,1/0],average:[d*.25,d*.5],bad:[-1/0,d*.25]},children:[f," / ",d," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potassium",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:s,minValue:0,maxValue:i,ranges:{good:[i*.5,1/0],average:[i*.25,i*.5],bad:[-1/0,i*.25]},children:[s," / ",i," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Potash",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ml:.5,mt:1,width:20,value:h,minValue:0,maxValue:N,ranges:{good:[N*.5,1/0],average:[N*.25,N*.5],bad:[-1/0,N*.25]},children:[h," / ",N," Units"]})})]})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,mr:"5px",color:"silver",children:"Soil clumps to make:"}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:p,width:"32px",minValue:1,maxValue:10,stepPixelSize:7,onChange:function(){function V(S,I){return g(I)}return V}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,align:"center",content:"Make Soil",disabled:f<25*p,icon:"arrow-circle-down",onClick:function(){function V(){return C("create",{amount:p})}return V}()})})})]})})})}return b}()},21813:function(T,r,n){"use strict";r.__esModule=!0,r.Contractor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(73379),b=n(98595);function y(N,v){N.prototype=Object.create(v.prototype),N.prototype.constructor=N,B(N,v)}function B(N,v){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(p,g){return p.__proto__=g,p},B(N,v)}var k={1:["ACTIVE","good"],2:["COMPLETED","good"],3:["FAILED","bad"]},C=["Recording biometric data...","Analyzing embedded syndicate info...","STATUS CONFIRMED","Contacting Syndicate database...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Awaiting response...","Response received, ack 4851234...","CONFIRM ACC "+Math.round(Math.random()*2e4),"Setting up private accounts...","CONTRACTOR ACCOUNT CREATED","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","Searching for available contracts...","CONTRACTS FOUND","WELCOME, AGENT"],l=r.Contractor=function(){function N(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I;S.unauthorized?I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:["ERROR: UNAUTHORIZED USER"],finishedTimeout:100,onFinished:function(){function x(){}return x}()})}):S.load_animation_completed?I=(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:(0,e.createComponentVNode)(2,c)}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",mt:"0.5rem",children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",overflow:"hidden",children:S.page===1?(0,e.createComponentVNode)(2,u,{height:"100%"}):(0,e.createComponentVNode)(2,s,{height:"100%"})})],4):I=(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,i,{height:"100%",allMessages:C,finishedTimeout:3e3,onFinished:function(){function x(){return V("complete_load_animation")}return x}()})});var L=(0,t.useLocalState)(p,"viewingPhoto",""),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,b.Window,{theme:"syndicate",width:500,height:600,children:[w&&(0,e.createComponentVNode)(2,h),(0,e.createComponentVNode)(2,b.Window.Content,{className:"Contractor",children:(0,e.createComponentVNode)(2,o.Flex,{direction:"column",height:"100%",children:I})})]})}return N}(),c=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.tc_available,L=S.tc_paid_out,w=S.completed_contracts,A=S.rep;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Summary",buttons:(0,e.createComponentVNode)(2,o.Box,{verticalAlign:"middle",mt:"0.25rem",children:[A," Rep"]})},v,{children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Available",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",children:[I," TC"]}),(0,e.createComponentVNode)(2,o.Button,{disabled:I<=0,content:"Claim",mx:"0.75rem",mb:"0",flexBasis:"content",onClick:function(){function x(){return V("claim")}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"TC Earned",children:[L," TC"]})]})}),(0,e.createComponentVNode)(2,o.Box,{flexBasis:"50%",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contracts Completed",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,o.Box,{height:"20px",lineHeight:"20px",inline:!0,children:w})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Contractor Status",verticalAlign:"middle",children:"ACTIVE"})]})})]})})))},f=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.page;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Tabs,Object.assign({},v,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===1,onClick:function(){function L(){return V("page",{page:1})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"suitcase"}),"Contracts"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===2,onClick:function(){function L(){return V("page",{page:2})}return L}(),children:[(0,e.createComponentVNode)(2,o.Icon,{name:"shopping-cart"}),"Hub"]})]})))},u=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.contracts,L=S.contract_active,w=S.can_extract,A=!!L&&I.filter(function(P){return P.status===1})[0],x=A&&A.time_left>0,E=(0,t.useLocalState)(p,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Contracts",overflow:"auto",buttons:(0,e.createComponentVNode)(2,o.Button,{disabled:!w||x,icon:"parachute-box",content:["Call Extraction",x&&(0,e.createComponentVNode)(2,m.Countdown,{timeLeft:A.time_left,format:function(){function P(O,D){return" ("+D.substr(3)+")"}return P}()})],onClick:function(){function P(){return V("extract")}return P}()})},v,{children:I.slice().sort(function(P,O){return P.status===1?-1:O.status===1?1:P.status-O.status}).map(function(P){var O;return(0,e.createComponentVNode)(2,o.Section,{title:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"1",color:P.status===1&&"good",children:P.target_name}),(0,e.createComponentVNode)(2,o.Flex.Item,{basis:"content",children:P.has_photo&&(0,e.createComponentVNode)(2,o.Button,{icon:"camera",mb:"-0.5rem",ml:"0.5rem",onClick:function(){function D(){return j("target_photo_"+P.uid+".png")}return D}()})})]}),className:"Contractor__Contract",buttons:(0,e.createComponentVNode)(2,o.Box,{width:"100%",children:[!!k[P.status]&&(0,e.createComponentVNode)(2,o.Box,{color:k[P.status][1],inline:!0,mt:P.status!==1&&"0.125rem",mr:"0.25rem",lineHeight:"20px",children:k[P.status][0]}),P.status===1&&(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"ban",color:"bad",content:"Abort",ml:"0.5rem",onClick:function(){function D(){return V("abort")}return D}()})]}),children:(0,e.createComponentVNode)(2,o.Flex,{children:[(0,e.createComponentVNode)(2,o.Flex.Item,{grow:"2",mr:"0.5rem",children:[P.fluff_message,!!P.completed_time&&(0,e.createComponentVNode)(2,o.Box,{color:"good",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"check",mr:"0.5rem"}),"Contract completed at ",P.completed_time]}),!!P.dead_extraction&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",mt:"0.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"Telecrystals reward reduced drastically as the target was dead during extraction."]}),!!P.fail_reason&&(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Icon,{name:"times",mr:"0.5rem"}),"Contract failed: ",P.fail_reason]})]}),(0,e.createComponentVNode)(2,o.Flex.Item,{flexBasis:"100%",children:[(0,e.createComponentVNode)(2,o.Flex,{mb:"0.5rem",color:"label",children:["Extraction Zone:\xA0",d(P)]}),(O=P.difficulties)==null?void 0:O.map(function(D,F){return(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!!L,content:D.name+" ("+D.reward+" TC)",onClick:function(){function W(){return V("activate",{uid:P.uid,difficulty:F+1})}return W}()},F)}),!!P.objective&&(0,e.createComponentVNode)(2,o.Box,{color:"white",bold:!0,children:[P.objective.extraction_name,(0,e.createVNode)(1,"br"),"(",(P.objective.rewards.tc||0)+" TC",",\xA0",(P.objective.rewards.credits||0)+" Credits",")"]})]})]})},P.uid)})})))},d=function(v){if(!(!v.objective||v.status>1)){var p=v.objective.locs.user_area_id,g=v.objective.locs.user_coords,V=v.objective.locs.target_area_id,S=v.objective.locs.target_coords,I=p===V;return(0,e.createComponentVNode)(2,o.Flex.Item,{children:(0,e.createComponentVNode)(2,o.Icon,{name:I?"dot-circle-o":"arrow-alt-circle-right-o",color:I?"green":"yellow",rotation:I?null:-(0,a.rad2deg)(Math.atan2(S[1]-g[1],S[0]-g[0])),lineHeight:I?null:"0.85",size:"1.5"})})}},s=function(v,p){var g=(0,t.useBackend)(p),V=g.act,S=g.data,I=S.rep,L=S.buyables;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({title:"Available Purchases",overflow:"auto"},v,{children:L.map(function(w){return(0,e.createComponentVNode)(2,o.Section,{title:w.name,children:[w.description,(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:I-1&&(0,e.createComponentVNode)(2,o.Box,{as:"span",color:w.stock===0?"bad":"good",ml:"0.5rem",children:[w.stock," in stock"]})]},w.uid)})})))},i=function(N){function v(g){var V;return V=N.call(this,g)||this,V.timer=null,V.state={currentIndex:0,currentDisplay:[]},V}y(v,N);var p=v.prototype;return p.tick=function(){function g(){var V=this.props,S=this.state;if(S.currentIndex<=V.allMessages.length){this.setState(function(L){return{currentIndex:L.currentIndex+1}});var I=S.currentDisplay;I.push(V.allMessages[S.currentIndex])}else clearTimeout(this.timer),setTimeout(V.onFinished,V.finishedTimeout)}return g}(),p.componentDidMount=function(){function g(){var V=this,S=this.props.linesPerSecond,I=S===void 0?2.5:S;this.timer=setInterval(function(){return V.tick()},1e3/I)}return g}(),p.componentWillUnmount=function(){function g(){clearTimeout(this.timer)}return g}(),p.render=function(){function g(){return(0,e.createComponentVNode)(2,o.Box,{m:1,children:this.state.currentDisplay.map(function(V){return(0,e.createFragment)([V,(0,e.createVNode)(1,"br")],0,V)})})}return g}(),v}(e.Component),h=function(v,p){var g=(0,t.useLocalState)(p,"viewingPhoto",""),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Contractor__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:V}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function I(){return S("")}return I}()})]})}},54151:function(T,r,n){"use strict";r.__esModule=!0,r.ConveyorSwitch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ConveyorSwitch=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.slowFactor,f=l.oneWay,u=l.position;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lever position",children:u>0?"forward":u<0?"reverse":"neutral"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Allow reverse",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!f,onClick:function(){function d(){return C("toggleOneWay")}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slowdown factor",children:(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",onClick:function(){function d(){return C("slowFactor",{value:c-5})}return d}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-left",onClick:function(){function d(){return C("slowFactor",{value:c-1})}return d}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Slider,{width:"100px",mx:"1px",value:c,fillValue:c,minValue:1,maxValue:50,step:1,format:function(){function d(s){return s+"x"}return d}(),onChange:function(){function d(s,i){return C("slowFactor",{value:i})}return d}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-right",onClick:function(){function d(){return C("slowFactor",{value:c+1})}return d}()})," "]}),(0,e.createComponentVNode)(2,t.Flex.Item,{mx:"1px",children:[" ",(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",onClick:function(){function d(){return C("slowFactor",{value:c+5})}return d}()})," "]})]})})]})})})})}return b}()},73169:function(T,r,n){"use strict";r.__esModule=!0,r.CrewMonitor=void 0;var e=n(89005),a=n(88510),t=n(25328),o=n(72253),m=n(36036),b=n(36352),y=n(76910),B=n(98595),k=n(96184),C=["color"];function l(h,N){if(h==null)return{};var v={};for(var p in h)if({}.hasOwnProperty.call(h,p)){if(N.includes(p))continue;v[p]=h[p]}return v}var c=function(N,v){return N.dead?"Deceased":parseInt(N.health,10)<=v?"Critical":parseInt(N.stat,10)===1?"Unconscious":"Living"},f=function(N,v){return N.dead?"red":parseInt(N.health,10)<=v?"orange":parseInt(N.stat,10)===1?"blue":"green"},u=r.CrewMonitor=function(){function h(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=(0,o.useLocalState)(v,"tabIndex",V.tabIndex),I=S[0],L=S[1],w=function(){function x(E){L(E),g("set_tab_index",{tab_index:E})}return x}(),A=function(){function x(E){switch(E){case 0:return(0,e.createComponentVNode)(2,d);case 1:return(0,e.createComponentVNode)(2,i);default:return"WE SHOULDN'T BE HERE!"}}return x}();return(0,e.createComponentVNode)(2,B.Window,{width:800,height:600,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"table",selected:I===0,onClick:function(){function x(){return w(0)}return x}(),children:"Data View"},"DataView"),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"map-marked-alt",selected:I===1,onClick:function(){function x(){return w(1)}return x}(),children:"Map View"},"MapView")]})}),A(I)]})})})}return h}(),d=function(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=(0,a.sortBy)(function(P){return P.name})(V.crewmembers||[]),I=V.possible_levels,L=V.viewing_current_z_level,w=V.is_advanced,A=V.highlightedNames,x=(0,o.useLocalState)(v,"search",""),E=x[0],M=x[1],j=(0,t.createSearch)(E,function(P){return P.name+"|"+P.assignment+"|"+P.area});return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,backgroundColor:"transparent",children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name, assignment or location..",width:"100%",onInput:function(){function P(O,D){return M(D)}return P}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:w?(0,e.createComponentVNode)(2,m.Dropdown,{mr:"5px",width:"50px",options:I,selected:L,onSelected:function(){function P(O){return g("switch_level",{new_level:O})}return P}()}):null})]}),(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:(0,e.createComponentVNode)(2,m.Button,{tooltip:"Clear highlights",icon:"square-xmark",onClick:function(){function P(){return g("clear_highlighted_names")}return P}()})}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Location"})]}),S.filter(j).map(function(P){var O=A.includes(P.name);return(0,e.createComponentVNode)(2,m.Table.Row,{bold:!!P.is_command,children:[(0,e.createComponentVNode)(2,b.TableCell,{children:(0,e.createComponentVNode)(2,k.ButtonCheckbox,{checked:O,tooltip:"Mark on map",onClick:function(){function D(){return g(O?"remove_highlighted_name":"add_highlighted_name",{name:P.name})}return D}()})}),(0,e.createComponentVNode)(2,b.TableCell,{children:[P.name," (",P.assignment,")"]}),(0,e.createComponentVNode)(2,b.TableCell,{children:[(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:f(P,V.critThreshold),children:c(P,V.critThreshold)}),P.sensor_type>=2||V.ignoreSensors?(0,e.createComponentVNode)(2,m.Box,{inline:!0,ml:1,children:["(",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.oxy,children:P.oxy}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.toxin,children:P.tox}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.burn,children:P.fire}),"|",(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:y.COLORS.damageType.brute,children:P.brute}),")"]}):null]}),(0,e.createComponentVNode)(2,b.TableCell,{children:P.sensor_type===3||V.ignoreSensors?V.isAI||V.isObserver?(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:"location-arrow",content:P.area+" ("+P.x+", "+P.y+")",onClick:function(){function D(){return g("track",{track:P.ref})}return D}()}):P.area+" ("+P.x+", "+P.y+")":(0,e.createComponentVNode)(2,m.Box,{inline:!0,color:"grey",children:"Not Available"})})]},P.name)})]})]})},s=function(N,v){var p=N.color,g=l(N,C);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.NanoMap.Marker,Object.assign({},g,{children:(0,e.createVNode)(1,"span","highlighted-marker color-border-"+p)})))},i=function(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=V.highlightedNames;return(0,e.createComponentVNode)(2,m.Box,{height:"526px",mb:"0.5rem",overflow:"hidden",children:(0,e.createComponentVNode)(2,m.NanoMap,{zoom:V.zoom,offsetX:V.offsetX,offsetY:V.offsetY,onZoom:function(){function I(L){return g("set_zoom",{zoom:L})}return I}(),onOffsetChange:function(){function I(L,w){return g("set_offset",{offset_x:w.offsetX,offset_y:w.offsetY})}return I}(),children:V.crewmembers.filter(function(I){return I.sensor_type===3||V.ignoreSensors}).map(function(I){var L=f(I,V.critThreshold),w=S.includes(I.name),A=function(){return V.isObserver?g("track",{track:I.ref}):null},x=function(){return g(w?"remove_highlighted_name":"add_highlighted_name",{name:I.name})},E=I.name+" ("+I.assignment+")";return w?(0,e.createComponentVNode)(2,s,{x:I.x,y:I.y,tooltip:E,color:L,onClick:A,onDblClick:x},I.ref):(0,e.createComponentVNode)(2,m.NanoMap.MarkerIcon,{x:I.x,y:I.y,icon:"circle",tooltip:E,color:L,onClick:A,onDblClick:x},I.ref)})})})}},63987:function(T,r,n){"use strict";r.__esModule=!0,r.Cryo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],b=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=r.Cryo=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:520,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,B)})})})}return C}(),B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.isOperating,i=d.hasOccupant,h=d.occupant,N=h===void 0?[]:h,v=d.cellTemperature,p=d.cellTemperatureStatus,g=d.isBeakerLoaded,V=d.cooldownProgress,S=d.auto_eject_healthy,I=d.auto_eject_dead;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",fill:!0,scrollable:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",onClick:function(){function L(){return u("ejectOccupant")}return L}(),disabled:!i,children:"Eject"}),children:i?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:N.name||"Unknown"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:N.health,max:N.maxHealth,value:N.health/N.maxHealth,color:N.health>0?"good":"average",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N.health)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b[N.stat][0],children:b[N.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N.bodyTemperature)})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),m.map(function(L){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:L.label,children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:N[L.type]/100,ranges:{bad:[.01,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:Math.round(N[L.type])})})},L.id)})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Cell",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",onClick:function(){function L(){return u("ejectBeaker")}return L}(),disabled:!g,children:"Eject Beaker"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",onClick:function(){function L(){return u(s?"switchOff":"switchOn")}return L}(),selected:s,children:s?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",color:p,children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:v})," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dosage interval",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{average:[-1/0,99],good:[99,1/0]},color:!g&&"average",value:V,minValue:0,maxValue:100})}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject healthy occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:S?"toggle-on":"toggle-off",selected:S,onClick:function(){function L(){return u(S?"auto_eject_healthy_off":"auto_eject_healthy_on")}return L}(),children:S?"On":"Off"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto-eject dead occupants",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"toggle-on":"toggle-off",selected:I,onClick:function(){function L(){return u(I?"auto_eject_dead_off":"auto_eject_dead_on")}return L}(),children:I?"On":"Off"})})]})})})],4)},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.isBeakerLoaded,i=d.beakerLabel,h=d.beakerVolume;return s?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!i&&"average",children:[i||"No label",":"]}),(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:!h&&"bad",ml:1,children:h?(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:h,format:function(){function N(v){return Math.round(v)+" units remaining"}return N}()}):"Beaker is empty"})],4):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"bad",children:"No beaker loaded"})}},86099:function(T,r,n){"use strict";r.__esModule=!0,r.CryopodConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(25328),b=r.CryopodConsole=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.data,u=f.account_name,d=f.allow_items;return(0,e.createComponentVNode)(2,o.Window,{title:"Cryopod Console",width:400,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Hello, "+(u||"[REDACTED]")+"!",children:"This automated cryogenic freezing unit will safely store your corporeal form until your next assignment."}),(0,e.createComponentVNode)(2,y),!!d&&(0,e.createComponentVNode)(2,B)]})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),f=c.data,u=f.frozen_crew;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Crew",children:u.length?(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:u.map(function(d,s){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:d.name,children:d.rank},s)})})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored crew!"})})},B=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.frozen_items,s=function(h){var N=h.toString();return N.startsWith("the ")&&(N=N.slice(4,N.length)),(0,m.toTitleCase)(N)};return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Stored Items",children:d.length?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:s(i.name),buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Drop",mr:1,onClick:function(){function h(){return f("one_item",{item:i.uid})}return h}()})},i)})})}),(0,e.createComponentVNode)(2,t.Button,{content:"Drop All Items",color:"red",onClick:function(){function i(){return f("all_items")}return i}()})],4):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No stored items!"})})}},12692:function(T,r,n){"use strict";r.__esModule=!0,r.DNAModifier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],B=[5,10,20,30,50],k=r.DNAModifier=function(){function p(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.irradiating,A=L.dnaBlockSize,x=L.occupant;V.dnaBlockSize=A,V.isDNAInvalid=!x.isViableSubject||!x.uniqueIdentity||!x.structuralEnzymes;var E;return w&&(E=(0,e.createComponentVNode)(2,N,{duration:w})),(0,e.createComponentVNode)(2,o.Window,{width:660,height:775,children:[(0,e.createComponentVNode)(2,m.ComplexModal),E,(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l)})]})})]})}return p}(),C=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.locked,A=L.hasOccupant,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"label",inline:!0,mr:"0.5rem",children:"Door Lock:"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A,selected:w,icon:w?"toggle-on":"toggle-off",content:w?"Engaged":"Disengaged",onClick:function(){function E(){return I("toggleLock")}return E}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!A||w,icon:"user-slash",content:"Eject",onClick:function(){function E(){return I("ejectOccupant")}return E}()})],4),children:A?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:x.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:x.minHealth,max:x.maxHealth,value:x.health/x.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:b[x.stat][0],children:b[x.stat][1]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})}),V.isDNAInvalid?(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Radiation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:"0",max:"100",value:x.radiationLevel/100,color:"average"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:L.occupant.uniqueEnzymes?L.occupant.uniqueEnzymes:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"exclamation-circle"}),"\xA0 Unknown"]})})]})],0):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Cell unoccupied."})})},l=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedMenuKey,A=L.hasOccupant,x=L.occupant;if(A){if(V.isDNAInvalid)return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No operation possible on this subject."]})})})}else return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant in DNA modifier."]})})});var E;return w==="ui"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,u)],4):w==="se"?E=(0,e.createFragment)([(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,u)],4):w==="buffer"?E=(0,e.createComponentVNode)(2,d):w==="rejuvenators"&&(E=(0,e.createComponentVNode)(2,h)),(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:y.map(function(M,j){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:M[2],selected:w===M[0],onClick:function(){function P(){return I("selectMenuKey",{key:M[0]})}return P}(),children:M[1]},j)})}),E]})},c=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedUIBlock,A=L.selectedUISubBlock,x=L.selectedUITarget,E=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Unique Identifier",children:[(0,e.createComponentVNode)(2,v,{dnaString:E.uniqueIdentity,selectedBlock:w,selectedSubblock:A,blockSize:V.dnaBlockSize,action:"selectUIBlock"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:15,stepPixelSize:"20",value:x,format:function(){function M(j){return j.toString(16).toUpperCase()}return M}(),ml:"0",onChange:function(){function M(j,P){return I("changeUITarget",{value:P})}return M}()})})}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){function M(){return I("pulseUIRadiation")}return M}()})]})},f=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.selectedSEBlock,A=L.selectedSESubBlock,x=L.occupant;return(0,e.createComponentVNode)(2,t.Section,{title:"Modify Structural Enzymes",children:[(0,e.createComponentVNode)(2,v,{dnaString:x.structuralEnzymes,selectedBlock:w,selectedSubblock:A,blockSize:V.dnaBlockSize,action:"selectSEBlock"}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){function E(){return I("pulseSERadiation")}return E}()})]})},u=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.radiationIntensity,A=L.radiationDuration;return(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Emitter",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Intensity",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:10,stepPixelSize:20,value:w,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationIntensity",{value:M})}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Knob,{minValue:1,maxValue:20,stepPixelSize:10,unit:"s",value:A,popUpPosition:"right",ml:"0",onChange:function(){function x(E,M){return I("radiationDuration",{value:M})}return x}()})})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-start",mt:"0.5rem",onClick:function(){function x(){return I("pulseRadiation")}return x}()})]})},d=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.buffers,A=w.map(function(x,E){return(0,e.createComponentVNode)(2,s,{id:E+1,name:"Buffer "+(E+1),buffer:x},E)});return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{height:"75%",mt:1,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Buffers",children:A})}),(0,e.createComponentVNode)(2,t.Stack.Item,{height:"25%",children:(0,e.createComponentVNode)(2,i)})]})},s=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=g.id,A=g.name,x=g.buffer,E=L.isInjectorReady,M=A+(x.data?" - "+x.label:"");return(0,e.createComponentVNode)(2,t.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,t.Section,{title:M,mx:"0",lineHeight:"18px",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!x.data,icon:"trash",content:"Clear",onClick:function(){function j(){return I("bufferOption",{option:"clear",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data,icon:"pen",content:"Rename",onClick:function(){function j(){return I("bufferOption",{option:"changeLabel",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!x.data||!L.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-start",onClick:function(){function j(){return I("bufferOption",{option:"saveDisk",id:w})}return j}()})],4),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Write",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUI",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveUIAndUE",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"saveSE",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!L.hasDisk||!L.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"loadDisk",id:w})}return j}()})]}),!!x.data&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:x.owner||(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[x.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!x.ue&&" and Unique Enzymes"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Transfer to",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:w})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!E,icon:E?"syringe":"spinner",iconSpin:!E,content:"Block Injector",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"createInjector",id:w,block:1})}return j}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){function j(){return I("bufferOption",{option:"transfer",id:w})}return j}()})]})],4)]}),!x.data&&(0,e.createComponentVNode)(2,t.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},i=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.hasDisk,A=L.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{disabled:!w||!A.data,icon:"trash",content:"Wipe",onClick:function(){function x(){return I("wipeDisk")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function x(){return I("ejectDisk")}return x}()})],4),children:w?A.data?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Label",children:A.label?A.label:"No label"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Subject",children:A.owner?A.owner:(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"Unknown"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Type",children:[A.type==="ui"?"Unique Identifiers":"Structural Enzymes",!!A.ue&&" and Unique Enzymes"]})]}):(0,e.createComponentVNode)(2,t.Box,{color:"label",children:"Disk is blank."}):(0,e.createComponentVNode)(2,t.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"save-o",size:"4"}),(0,e.createVNode)(1,"br"),"No disk inserted."]})})},h=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.isBeakerLoaded,A=L.beakerVolume,x=L.beakerLabel;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Rejuvenators and Beaker",buttons:(0,e.createComponentVNode)(2,t.Button,{disabled:!w,icon:"eject",content:"Eject",onClick:function(){function E(){return I("ejectBeaker")}return E}()}),children:w?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Inject",children:[B.map(function(E,M){return(0,e.createComponentVNode)(2,t.Button,{disabled:E>A,icon:"syringe",content:E,onClick:function(){function j(){return I("injectRejuvenators",{amount:E})}return j}()},M)}),(0,e.createComponentVNode)(2,t.Button,{disabled:A<=0,icon:"syringe",content:"All",onClick:function(){function E(){return I("injectRejuvenators",{amount:A})}return E}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Beaker",children:[(0,e.createComponentVNode)(2,t.Box,{mb:"0.5rem",children:x||"No label"}),A?(0,e.createComponentVNode)(2,t.Box,{color:"good",children:[A," unit",A===1?"":"s"," remaining"]}):(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Empty"})]})]}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"flask",size:5,color:"silver"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"h3",null,"No beaker loaded.",16)]})})})},N=function(g,V){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"average",children:(0,e.createVNode)(1,"h1",null,[(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"}),(0,e.createTextVNode)("\xA0Irradiating occupant\xA0"),(0,e.createComponentVNode)(2,t.Icon,{name:"radiation"})],4)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,[(0,e.createTextVNode)("For "),g.duration,(0,e.createTextVNode)(" second"),g.duration===1?"":"s"],0)})]})},v=function(g,V){for(var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=g.dnaString,A=g.selectedBlock,x=g.selectedSubblock,E=g.blockSize,M=g.action,j=w.split(""),P=0,O=[],D=function(){for(var U=F/E+1,$=[],K=function(){var J=G+1;$.push((0,e.createComponentVNode)(2,t.Button,{selected:A===U&&x===J,content:j[F+G],mb:"0",onClick:function(){function ue(){return I(M,{block:U,subblock:J})}return ue}()}))},G=0;Gi.spawnpoints?"red":"green",children:[i.total," total, versus ",i.spawnpoints," spawnpoints"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Dispatch",children:(0,e.createComponentVNode)(2,t.Button,{width:10.5,textAlign:"center",icon:"ambulance",content:"Send ERT",onClick:function(){function g(){return s("dispatch_ert",{silent:v})}return g}()})})]})})})},C=function(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.ert_request_messages;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:h&&h.length?h.map(function(N){return(0,e.createComponentVNode)(2,t.Section,{title:N.time,buttons:(0,e.createComponentVNode)(2,t.Button,{content:N.sender_real_name,onClick:function(){function v(){return s("view_player_panel",{uid:N.sender_uid})}return v}(),tooltip:"View player panel"}),children:N.message},(0,m.decodeHtmlEntities)(N.time))}):(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"broadcast-tower",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No ERT requests."]})})})})},l=function(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=(0,a.useLocalState)(u,"text",""),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Input,{placeholder:"Enter ERT denial reason here,\nMultiline input is accepted.",rows:19,fluid:!0,multiline:1,value:N,onChange:function(){function p(g,V){return v(V)}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Deny ERT",fluid:!0,icon:"times",center:!0,mt:2,textAlign:"center",onClick:function(){function p(){return s("deny_ert",{reason:N})}return p}()})]})})}},90217:function(T,r,n){"use strict";r.__esModule=!0,r.EconomyManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=r.EconomyManager=function(){function B(k,C){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:325,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return B}(),y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.next_payroll_time;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"coins",verticalAlign:"middle",size:3,mr:"1rem"}),"Economy Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{label:"Pay Bonuses and Deductions",children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Global",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Global Payroll Modification",onClick:function(){function d(){return c("payroll_modification",{mod_type:"global"})}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Account Payroll Modification",onClick:function(){function d(){return c("payroll_modification",{mod_type:"department"})}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Department Members",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Department Members Payroll Modification",onClick:function(){function d(){return c("payroll_modification",{mod_type:"department_members"})}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Single Accounts",children:(0,e.createComponentVNode)(2,t.Button,{icon:"dollar-sign",width:"auto",content:"Crew Member Payroll Modification",onClick:function(){function d(){return c("payroll_modification",{mod_type:"crew_member"})}return d}()})})]}),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Box,{mb:.5,children:["Next Payroll in: ",u," Minutes"]}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",width:"auto",color:"bad",content:"Delay Payroll",onClick:function(){function d(){return c("delay_payroll")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{width:"auto",content:"Set Payroll Time",onClick:function(){function d(){return c("set_payroll")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",width:"auto",color:"good",content:"Accelerate Payroll",onClick:function(){function d(){return c("accelerate_payroll")}return d}()})]}),(0,e.createComponentVNode)(2,t.NoticeBox,{children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," You take full responsibility for unbalancing the economy with these buttons!"]})],4)}},82565:function(T,r,n){"use strict";r.__esModule=!0,r.Electropack=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=r.Electropack=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,f=c.power,u=c.code,d=c.frequency,s=c.minFrequency,i=c.maxFrequency;return(0,e.createComponentVNode)(2,m.Window,{width:360,height:135,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,o.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,onClick:function(){function h(){return l("power")}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"freq"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:s/10,maxValue:i/10,value:d/10,format:function(){function h(N){return(0,a.toFixed)(N,1)}return h}(),width:"80px",onChange:function(){function h(N,v){return l("freq",{freq:v})}return h}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Reset",onClick:function(){function h(){return l("reset",{reset:"code"})}return h}()}),children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onChange:function(){function h(N,v){return l("code",{code:v})}return h}()})})]})})})})}return y}()},11243:function(T,r,n){"use strict";r.__esModule=!0,r.Emojipedia=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(98595),b=r.Emojipedia=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.data,f=c.emoji_list,u=(0,t.useLocalState)(C,"searchText",""),d=u[0],s=u[1],i=f.filter(function(h){return h.name.toLowerCase().includes(d.toLowerCase())});return(0,e.createComponentVNode)(2,m.Window,{width:325,height:400,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Emojipedia v1.0.1",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by name",value:d,onInput:function(){function h(N,v){return s(v)}return h}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Click on an emoji to copy its tag!",tooltipPosition:"bottom",icon:"circle-question"})],4),children:i.map(function(h){return(0,e.createComponentVNode)(2,o.Button,{m:1,color:"transparent",className:(0,a.classes)(["emoji16x16","emoji-"+h.name]),style:{transform:"scale(1.5)"},tooltip:h.name,onClick:function(){function N(){y(h.name)}return N}()},h.name)})})})})}return B}(),y=function(k){var C=document.createElement("input"),l=":"+k+":";C.value=l,document.body.appendChild(C),C.select(),document.execCommand("copy"),document.body.removeChild(C)}},69784:function(T,r,n){"use strict";r.__esModule=!0,r.EmotePanelContent=r.EmotePanel=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),m=n(25328),b=r.EmotePanel=function(){function B(k,C){return(0,e.createComponentVNode)(2,t.Window,{width:500,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,y)})})})}return B}(),y=r.EmotePanelContent=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.emotes,d=(0,a.useLocalState)(C,"searchText",""),s=d[0],i=d[1],h=(0,a.useLocalState)(C,"filterVisible",""),N=h[0],v=h[1],p=(0,a.useLocalState)(C,"filterAudible",""),g=p[0],V=p[1],S=(0,a.useLocalState)(C,"filterSound",""),I=S[0],L=S[1],w=(0,a.useLocalState)(C,"filterHands",""),A=w[0],x=w[1],E=(0,a.useLocalState)(C,"filterTargettable",""),M=E[0],j=E[1],P=(0,a.useLocalState)(C,"useTarget",""),O=P[0],D=P[1],F=(0,e.createComponentVNode)(2,o.Input,{placeholder:"\u0418\u0441\u043A\u0430\u0442\u044C \u044D\u043C\u043E\u0446\u0438\u044E...",fluid:!0,onInput:function(){function W(U,$){return i($)}return W}()});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",buttons:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Button,{icon:"eye",align:"center",tooltip:"\u0412\u0438\u0434\u0438\u043C\u044B\u0439",selected:N,onClick:function(){function W(){return v(!N)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",align:"center",tooltip:"\u0421\u043B\u044B\u0448\u0438\u043C\u044B\u0439",selected:g,onClick:function(){function W(){return V(!g)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"volume-up",align:"center",tooltip:"\u0417\u0432\u0443\u043A",selected:I,onClick:function(){function W(){return L(!I)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"hand-paper",align:"center",tooltip:"\u0420\u0443\u043A\u0438",selected:A,onClick:function(){function W(){return x(!A)}return W}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",height:"100%",align:"center",tooltip:"\u0426\u0435\u043B\u044C",selected:M,onClick:function(){function W(){return j(!M)}return W}()})]}),children:F})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s.length>0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+s+'"':"\u0412\u0441\u0435 \u044D\u043C\u043E\u0446\u0438\u0438",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"crosshairs",selected:O,onClick:function(){function W(){return D(!O)}return W}(),children:"\u0412\u044B\u0431\u0438\u0440\u0430\u0442\u044C \u0446\u0435\u043B\u044C"}),children:(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:u.filter(function(W){return W.key&&(s.length>0?W.key.toLowerCase().includes(s.toLowerCase())||W.name.toLowerCase().includes(s.toLowerCase()):!0)&&(N?W.visible:!0)&&(g?W.audible:!0)&&(I?W.sound:!0)&&(A?W.hands:!0)&&(M?W.targettable:!0)}).map(function(W){return(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function U(){return c("play_emote",{emote_key:W.key,useTarget:O})}return U}(),children:[W.visible?(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}):"",W.audible?(0,e.createComponentVNode)(2,o.Icon,{name:"comment"}):"",W.sound?(0,e.createComponentVNode)(2,o.Icon,{name:"volume-up"}):"",W.hands?(0,e.createComponentVNode)(2,o.Icon,{name:"hand-paper"}):"",W.targettable?(0,e.createComponentVNode)(2,o.Icon,{name:"crosshairs"}):"",W.name]},W.name)})})})})})],4)}return B}()},36730:function(T,r,n){"use strict";r.__esModule=!0,r.EvolutionMenu=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=n(64795),y=n(88510),B=r.EvolutionMenu=function(){function l(c,f){return(0,e.createComponentVNode)(2,m.Window,{width:480,height:580,theme:"changeling",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,C)]})})})}return l}(),k=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.evo_points,h=s.can_respec;return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Evolution Points",height:5.5,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,color:"label",children:"Points remaining:"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,ml:2,bold:!0,color:"#1b945c",children:i}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Button,{ml:2.5,disabled:!h,content:"Readapt",icon:"sync",onClick:function(){function N(){return d("readapt")}return N}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"By transforming a humanoid into a husk, we gain the ability to readapt our chosen evolutions.",tooltipPosition:"bottom",icon:"question-circle"})]})]})})})},C=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.evo_points,h=s.ability_tabs,N=s.purchased_abilities,v=s.view_mode,p=(0,t.useLocalState)(f,"selectedTab",h[0]),g=p[0],V=p[1],S=(0,t.useLocalState)(f,"searchText",""),I=S[0],L=S[1],w=(0,t.useLocalState)(f,"ability_tabs",h[0].abilities),A=w[0],x=w[1],E=function(O,D){if(D===void 0&&(D=""),!O||O.length===0)return[];var F=(0,a.createSearch)(D,function(W){return W.name+"|"+W.description});return(0,b.flow)([(0,y.filter)(function(W){return W==null?void 0:W.name}),(0,y.filter)(F),(0,y.sortBy)(function(W){return W==null?void 0:W.name})])(O)},M=function(O){if(L(O),O==="")return x(g.abilities);x(E(h.map(function(D){return D.abilities}).flat(),O))},j=function(O){V(O),x(O.abilities),L("")};return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Abilities",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Input,{width:"200px",placeholder:"Search Abilities",onInput:function(){function P(O,D){M(D)}return P}(),value:I}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"square-o":"check-square-o",selected:!v,content:"Compact",onClick:function(){function P(){return d("set_view_mode",{mode:0})}return P}()}),(0,e.createComponentVNode)(2,o.Button,{icon:v?"check-square-o":"square-o",selected:v,content:"Expanded",onClick:function(){function P(){return d("set_view_mode",{mode:1})}return P}()})],4),children:[(0,e.createComponentVNode)(2,o.Tabs,{children:h.map(function(P){return(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:I===""&&g===P,onClick:function(){function O(){j(P)}return O}(),children:P.category},P)})}),A.map(function(P,O){return(0,e.createComponentVNode)(2,o.Box,{p:.5,mx:-1,className:"candystripe",children:[(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{ml:.5,color:"#dedede",children:P.name}),N.includes(P.power_path)&&(0,e.createComponentVNode)(2,o.Stack.Item,{ml:2,bold:!0,color:"#1b945c",children:"(Purchased)"}),(0,e.createComponentVNode)(2,o.Stack.Item,{mr:3,textAlign:"right",grow:1,children:[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:["Cost:"," "]}),(0,e.createComponentVNode)(2,o.Box,{as:"span",bold:!0,color:"#1b945c",children:P.cost})]}),(0,e.createComponentVNode)(2,o.Stack.Item,{textAlign:"right",children:(0,e.createComponentVNode)(2,o.Button,{mr:.5,disabled:P.cost>i||N.includes(P.power_path),content:"Evolve",onClick:function(){function D(){return d("purchase",{power_path:P.power_path})}return D}()})})]}),!!v&&(0,e.createComponentVNode)(2,o.Stack,{color:"#8a8a8a",my:1,ml:1.5,width:"95%",children:P.description+" "+P.helptext})]},O)})]})})}},17370:function(T,r,n){"use strict";r.__esModule=!0,r.ExosuitFabricator=void 0;var e=n(89005),a=n(35840),t=n(25328),o=n(72253),m=n(36036),b=n(73379),y=n(98595),B=["id","amount","lineDisplay","onClick"];function k(p,g){if(p==null)return{};var V={};for(var S in p)if({}.hasOwnProperty.call(p,S)){if(g.includes(S))continue;V[S]=p[S]}return V}var C=2e3,l={bananium:"clown",tranquillite:"mime"},c=r.ExosuitFabricator=function(){function p(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.building,A=L.linked;return A?(0,e.createComponentVNode)(2,y.Window,{width:950,height:625,children:(0,e.createComponentVNode)(2,y.Window.Content,{className:"Exofab",children:[(0,e.createComponentVNode)(2,v),(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,u)}),w&&(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,d)})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f)}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,s)})]})})]})]})}):(0,e.createComponentVNode)(2,N)}return p}(),f=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.materials,A=L.capacity,x=Object.values(w).reduce(function(E,M){return E+M},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"Materials",className:"Exofab__materials",buttons:(0,e.createComponentVNode)(2,m.Box,{color:"label",mt:"0.25rem",children:[(x/A*100).toPrecision(3),"% full"]}),children:["metal","glass","silver","gold","uranium","titanium","plasma","diamond","bluespace","bananium","tranquillite","plastic"].map(function(E){return(0,e.createComponentVNode)(2,i,{mt:-2,id:E,bold:E==="metal"||E==="glass",onClick:function(){function M(){return I("withdraw",{id:E})}return M}()},E)})})},u=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.curCategory,A=L.categories,x=L.designs,E=L.syncing,M=(0,o.useLocalState)(V,"searchText",""),j=M[0],P=M[1],O=(0,t.createSearch)(j,function($){return $.name}),D=x.filter(O),F=(0,o.useLocalState)(V,"levelsModal",!1),W=F[0],U=F[1];return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__designs",title:(0,e.createComponentVNode)(2,m.Dropdown,{className:"Exofab__dropdown",selected:w,options:A,onSelected:function(){function $(K){return I("category",{cat:K})}return $}()}),buttons:(0,e.createComponentVNode)(2,m.Box,{mt:"2px",children:[(0,e.createComponentVNode)(2,m.Button,{icon:"plus",content:"Queue all",onClick:function(){function $(){return I("queueall")}return $}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"info",content:"Show current tech levels",onClick:function(){function $(){return U(!0)}return $}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"unlink",color:"red",tooltip:"Disconnect from R&D network",onClick:function(){function $(){return I("unlink")}return $}()})]}),children:[(0,e.createComponentVNode)(2,m.Input,{placeholder:"Search by name...",mb:"0.5rem",width:"100%",onInput:function(){function $(K,G){return P(G)}return $}()}),D.map(function($){return(0,e.createComponentVNode)(2,h,{design:$},$.id)}),D.length===0&&(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No designs found."})]})},d=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.building,A=L.buildStart,x=L.buildEnd,E=L.worldTime;return(0,e.createComponentVNode)(2,m.Section,{className:"Exofab__building",stretchContents:!0,children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:A,current:E,end:x,children:(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Icon,{name:"cog",spin:!0})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:["Building ",w,"\xA0(",(0,e.createComponentVNode)(2,b.Countdown,{current:E,timeLeft:x-E,format:function(){function M(j,P){return P.substr(3)}return M}()}),")"]})]})})})},s=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.queue,A=L.processingQueue,x=Object.entries(L.queueDeficit).filter(function(M){return M[1]<0}),E=w.reduce(function(M,j){return M+j.time},0);return(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,className:"Exofab__queue",title:"Queue",buttons:(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Button,{selected:A,icon:A?"toggle-on":"toggle-off",content:"Process",onClick:function(){function M(){return I("process")}return M}()}),(0,e.createComponentVNode)(2,m.Button,{disabled:w.length===0,icon:"eraser",content:"Clear",onClick:function(){function M(){return I("unqueueall")}return M}()})]}),children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:w.length===0?(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"The queue is empty."}):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--queue",grow:!0,overflow:"auto",children:w.map(function(M,j){return(0,e.createComponentVNode)(2,m.Box,{color:M.notEnough&&"bad",children:[j+1,". ",M.name,j>0&&(0,e.createComponentVNode)(2,m.Button,{icon:"arrow-up",onClick:function(){function P(){return I("queueswap",{from:j+1,to:j})}return P}()}),j0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--time",children:[(0,e.createComponentVNode)(2,m.Divider),"Processing time:",(0,e.createComponentVNode)(2,m.Icon,{name:"clock",mx:"0.5rem"}),(0,e.createComponentVNode)(2,m.Box,{inline:!0,bold:!0,children:new Date(E/10*1e3).toISOString().substr(14,5)})]}),Object.keys(x).length>0&&(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__queue--deficit",shrink:"0",children:[(0,e.createComponentVNode)(2,m.Divider),"Lacking materials to complete:",x.map(function(M){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,i,{id:M[0],amount:-M[1],lineDisplay:!0})},M[0])})]})],0)})})},i=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=g.id,A=g.amount,x=g.lineDisplay,E=g.onClick,M=k(g,B),j=L.materials[w]||0,P=A||j;if(!(P<=0&&!(w==="metal"||w==="glass"))){var O=A&&A>j;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,m.Stack,Object.assign({align:"center",className:(0,a.classes)(["Exofab__material",x&&"Exofab__material--line"])},M,{children:x?(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{className:(0,a.classes)(["materials32x32",w])}),(0,e.createComponentVNode)(2,m.Stack.Item,{className:"Exofab__material--amount",color:O&&"bad",ml:0,mr:1,children:P.toLocaleString("en-US")})],4):(0,e.createFragment)([(0,e.createComponentVNode)(2,m.Stack.Item,{basis:"content",children:(0,e.createComponentVNode)(2,m.Button,{width:"85%",color:"transparent",onClick:E,children:(0,e.createComponentVNode)(2,m.Box,{mt:1,className:(0,a.classes)(["materials32x32",w])})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:"1",children:[(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--name",children:w}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__material--amount",children:[P.toLocaleString("en-US")," cm\xB3 (",Math.round(P/C*10)/10," ","sheets)"]})]})],4)})))}},h=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=g.design;return(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design",children:[(0,e.createComponentVNode)(2,m.Button,{disabled:w.notEnough||L.building,icon:"cog",content:w.name,onClick:function(){function A(){return I("build",{id:w.id})}return A}()}),(0,e.createComponentVNode)(2,m.Button,{icon:"plus-circle",onClick:function(){function A(){return I("queue",{id:w.id})}return A}()}),(0,e.createComponentVNode)(2,m.Box,{className:"Exofab__design--cost",children:Object.entries(w.cost).map(function(A){return(0,e.createComponentVNode)(2,m.Box,{children:(0,e.createComponentVNode)(2,i,{id:A[0],amount:A[1],lineDisplay:!0})},A[0])})}),(0,e.createComponentVNode)(2,m.Stack,{className:"Exofab__design--time",children:(0,e.createComponentVNode)(2,m.Stack.Item,{children:[(0,e.createComponentVNode)(2,m.Icon,{name:"clock"}),w.time>0?(0,e.createFragment)([w.time/10,(0,e.createTextVNode)(" seconds")],0):"Instant"]})})]})},N=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.controllers;return(0,e.createComponentVNode)(2,y.Window,{children:(0,e.createComponentVNode)(2,y.Window.Content,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,m.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,m.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:"Link"})]}),w.map(function(A){return(0,e.createComponentVNode)(2,m.Table.Row,{children:[(0,e.createComponentVNode)(2,m.Table.Cell,{children:A.addr}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:A.net_id}),(0,e.createComponentVNode)(2,m.Table.Cell,{children:(0,e.createComponentVNode)(2,m.Button,{content:"Link",icon:"link",onClick:function(){function x(){return I("linktonetworkcontroller",{target_controller:A.addr})}return x}()})})]},A.addr)})]})})})})},v=function(g,V){var S=(0,o.useBackend)(V),I=S.act,L=S.data,w=L.tech_levels,A=(0,o.useLocalState)(V,"levelsModal",!1),x=A[0],E=A[1];return x?(0,e.createComponentVNode)(2,m.Modal,{maxWidth:"75%",width:window.innerWidth+"px",maxHeight:window.innerHeight*.75+"px",mx:"auto",children:(0,e.createComponentVNode)(2,m.Section,{title:"Current tech levels",buttons:(0,e.createComponentVNode)(2,m.Button,{content:"Close",onClick:function(){function M(){E(!1)}return M}()}),children:(0,e.createComponentVNode)(2,m.LabeledList,{children:w.map(function(M){var j=M.name,P=M.level;return(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:j,children:P},j)})})})}):null}},59128:function(T,r,n){"use strict";r.__esModule=!0,r.ExperimentConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=new Map([[0,{text:"Conscious",color:"good"}],[1,{text:"Unconscious",color:"average"}],[2,{text:"Deceased",color:"bad"}]]),b=new Map([[0,{label:"Probe",icon:"thermometer"}],[1,{label:"Dissect",icon:"brain"}],[2,{label:"Analyze",icon:"search"}]]),y=r.ExperimentConsole=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.open,d=f.feedback,s=f.occupant,i=f.occupant_name,h=f.occupant_status,N=function(){function p(){if(!s)return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No specimen detected."});var g=function(){function S(){return m.get(h)}return S}(),V=g();return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:V.color,children:V.text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Experiments",children:[0,1,2].map(function(S){return(0,e.createComponentVNode)(2,t.Button,{icon:b.get(S).icon,content:b.get(S).label,onClick:function(){function I(){return c("experiment",{experiment_type:S})}return I}()},S)})})]})}return p}(),v=N();return(0,e.createComponentVNode)(2,o.Window,{theme:"abductor",width:350,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Scanner",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){function p(){return c("door")}return p}()}),children:v})]})})}return B}()},97086:function(T,r,n){"use strict";r.__esModule=!0,r.ExternalAirlockController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=0,b=1013,y=function(C){var l="good",c=80,f=95,u=110,d=120;return Cu?l="average":C>d&&(l="bad"),l},B=r.ExternalAirlockController=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.chamber_pressure,s=u.exterior_status,i=u.interior_status,h=u.processing;return(0,e.createComponentVNode)(2,o.Window,{width:330,height:205,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Information",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chamber Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:y(d),value:d,minValue:m,maxValue:b,children:[d," kPa"]})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Actions",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Abort",icon:"ban",color:"red",disabled:!h,onClick:function(){function N(){return f("abort")}return N}()}),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Cycle to Exterior",icon:"arrow-circle-left",disabled:h,onClick:function(){function N(){return f("cycle_ext")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Cycle to Interior",icon:"arrow-circle-right",disabled:h,onClick:function(){function N(){return f("cycle_int")}return N}()})]}),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{width:"49%",content:"Force Exterior Door",icon:"exclamation-triangle",color:i==="open"?"red":h?"yellow":null,onClick:function(){function N(){return f("force_ext")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{width:"50%",content:"Force Interior Door",icon:"exclamation-triangle",color:i==="open"?"red":h?"yellow":null,onClick:function(){function N(){return f("force_int")}return N}()})]})]})]})})}return k}()},96142:function(T,r,n){"use strict";r.__esModule=!0,r.FaxMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.FaxMachine=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:540,height:295,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.scan_name?"eject":"id-card",selected:l.scan_name,content:l.scan_name?l.scan_name:"-----",tooltip:l.scan_name?"Eject ID":"Insert ID",onClick:function(){function c(){return C("scan")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorize",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authenticated?"sign-out-alt":"id-card",selected:l.authenticated,disabled:l.nologin,content:l.realauth?"Log Out":"Log In",onClick:function(){function c(){return C("auth")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fax Menu",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network",children:l.network}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Document",children:[(0,e.createComponentVNode)(2,t.Button,{icon:l.paper?"eject":"paperclip",disabled:!l.authenticated&&!l.paper,content:l.paper?l.paper:"-----",onClick:function(){function c(){return C("paper")}return c}()}),!!l.paper&&(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:"Rename",onClick:function(){function c(){return C("rename")}return c}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sending To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:l.destination?l.destination:"-----",disabled:!l.authenticated,onClick:function(){function c(){return C("dept")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Action",children:(0,e.createComponentVNode)(2,t.Button,{icon:"envelope",content:l.sendError?l.sendError:"Send",disabled:!l.paper||!l.destination||!l.authenticated||l.sendError,onClick:function(){function c(){return C("send")}return c}()})})]})})]})})}return b}()},74123:function(T,r,n){"use strict";r.__esModule=!0,r.FilingCabinet=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.FilingCabinet=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=k.config,f=l.contents,u=c.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:300,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Contents",children:[!f&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"folder-open",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"The ",u," is empty."]})}),!!f&&f.slice().map(function(d){return(0,e.createComponentVNode)(2,t.Stack,{mt:.5,className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"80%",children:d.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Retrieve",onClick:function(){function s(){return C("retrieve",{index:d.index})}return s}()})})]},d)})]})})})})}return b}()},83767:function(T,r,n){"use strict";r.__esModule=!0,r.FloorPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=k.icon_state,d=k.direction,s=k.isSelected,i=k.onSelect;return(0,e.createComponentVNode)(2,t.DmIcon,{icon:f.icon,icon_state:u,direction:d,onClick:i,style:{"border-style":s&&"solid"||"none","border-width":"2px","border-color":"orange",padding:s&&"0px"||"2px"}})},b={NORTH:1,SOUTH:2,EAST:4,WEST:8},y=r.FloorPainter=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.availableStyles,d=f.selectedStyle,s=f.selectedDir;return(0,e.createComponentVNode)(2,o.Window,{width:405,height:475,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Decal setup",children:[(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",onClick:function(){function i(){return c("cycle_style",{offset:-1})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Dropdown,{options:u,selected:d,width:"150px",height:"20px",ml:"2px",mr:"2px",nochevron:!0,onSelected:function(){function i(h){return c("select_style",{style:h})}return i}()})}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function i(){return c("cycle_style",{offset:1})}return i}()})})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"5px",mb:"5px",children:(0,e.createComponentVNode)(2,t.Flex,{overflowY:"auto",maxHeight:"239px",wrap:"wrap",children:u.map(function(i){return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,m,{icon_state:i,isSelected:d===i,onSelect:function(){function h(){return c("select_style",{style:i})}return h}()})},i)})})}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Direction",children:(0,e.createComponentVNode)(2,t.Table,{style:{display:"inline"},children:[b.NORTH,null,b.SOUTH].map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[i+b.WEST,i,i+b.EAST].map(function(h){return(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"vertical-align":"middle","text-align":"center"},children:h===null?(0,e.createComponentVNode)(2,t.Icon,{name:"arrows-alt",size:3}):(0,e.createComponentVNode)(2,m,{icon_state:d,direction:h,isSelected:h===s,onSelect:function(){function N(){return c("select_direction",{direction:h})}return N}()})},h)})},i)})})})})]})})})}return B}()},53424:function(T,r,n){"use strict";r.__esModule=!0,r.GPS=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=function(u){return u?"("+u.join(", ")+")":"ERROR"},y=function(u,d){if(!(!u||!d)){if(u[2]!==d[2])return null;var s=Math.atan2(d[1]-u[1],d[0]-u[0]),i=Math.sqrt(Math.pow(d[1]-u[1],2)+Math.pow(d[0]-u[0],2));return{angle:(0,a.rad2deg)(s),distance:i}}},B=r.GPS=function(){function f(u,d){var s=(0,t.useBackend)(d),i=s.data,h=i.emped,N=i.active,v=i.area,p=i.position,g=i.saved;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:h?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,k,{emp:!0})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,C)}),N?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{area:v,position:p})}),g&&(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{title:"Saved Position",position:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,c,{height:"100%"})})],0):(0,e.createComponentVNode)(2,k)],0)})})})}return f}(),k=function(u,d){var s=u.emp;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Box,{width:"100%",height:"100%",color:"label",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:s?"ban":"power-off",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),s?"ERROR: Device temporarily lost signal.":"Device is disabled."]})})})})},C=function(u,d){var s=(0,t.useBackend)(d),i=s.act,h=s.data,N=h.active,v=h.tag,p=h.same_z,g=(0,t.useLocalState)(d,"newTag",v),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Settings",buttons:(0,e.createComponentVNode)(2,o.Button,{selected:N,icon:N?"toggle-on":"toggle-off",content:N?"On":"Off",onClick:function(){function I(){return i("toggle")}return I}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tag",children:[(0,e.createComponentVNode)(2,o.Input,{width:"5rem",value:v,onEnter:function(){function I(){return i("tag",{newtag:V})}return I}(),onInput:function(){function I(L,w){return S(w)}return I}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:v===V,width:"20px",mb:"0",ml:"0.25rem",onClick:function(){function I(){return i("tag",{newtag:V})}return I}(),children:(0,e.createComponentVNode)(2,o.Icon,{name:"pen"})})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Range",children:(0,e.createComponentVNode)(2,o.Button,{selected:!p,icon:p?"compress":"expand",content:p?"Local Sector":"Global",onClick:function(){function I(){return i("same_z")}return I}()})})]})})},l=function(u,d){var s=u.title,i=u.area,h=u.position;return(0,e.createComponentVNode)(2,o.Section,{title:s||"Position",children:(0,e.createComponentVNode)(2,o.Box,{fontSize:"1.5rem",children:[i&&(0,e.createFragment)([i,(0,e.createVNode)(1,"br")],0),b(h)]})})},c=function(u,d){var s=(0,t.useBackend)(d),i=s.data,h=i.position,N=i.signals;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,title:"Signals"},u,{children:(0,e.createComponentVNode)(2,o.Table,{children:N.map(function(v){return Object.assign({},v,y(h,v.position))}).map(function(v,p){return(0,e.createComponentVNode)(2,o.Table.Row,{backgroundColor:p%2===0&&"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,o.Table.Cell,{width:"30%",verticalAlign:"middle",color:"label",p:"0.25rem",bold:!0,children:v.tag}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",color:"grey",children:v.area}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",collapsing:!0,children:v.distance!==void 0&&(0,e.createComponentVNode)(2,o.Box,{opacity:Math.max(1-Math.min(v.distance,100)/100,.5),children:[(0,e.createComponentVNode)(2,o.Icon,{name:v.distance>0?"arrow-right":"circle",rotation:-v.angle}),"\xA0",Math.floor(v.distance)+"m"]})}),(0,e.createComponentVNode)(2,o.Table.Cell,{verticalAlign:"middle",pr:"0.25rem",collapsing:!0,children:b(v.position)})]},p)})})})))}},89124:function(T,r,n){"use strict";r.__esModule=!0,r.GeneModder=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(3939),m=n(98595),b=r.GeneModder=function(){function d(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.has_seed;return(0,e.createComponentVNode)(2,m.Window,{width:950,height:650,children:[(0,e.createVNode)(1,"div","GeneModder__left",(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,u,{scrollable:!0})}),2),(0,e.createVNode)(1,"div","GeneModder__right",(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,o.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),v===0?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)]})}),2)]})}return d}(),y=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.disk;return(0,e.createComponentVNode)(2,t.Section,{title:"Genes",fill:!0,scrollable:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})},B=function(s,i){return(0,e.createComponentVNode)(2,t.Section,{fill:!0,height:"85%",children:(0,e.createComponentVNode)(2,t.Stack,{height:"100%",children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:"1",textAlign:"center",align:"center",color:"green",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"leaf",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),"The plant DNA manipulator is missing a seed."]})})})},k=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.has_seed,g=v.seed,V=v.has_disk,S=v.disk,I,L;return p?I=(0,e.createComponentVNode)(2,t.Stack.Item,{mb:"-6px",mt:"-4px",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+g.image,style:{"vertical-align":"middle",width:"32px",margin:"-1px","margin-left":"-11px"}}),(0,e.createComponentVNode)(2,t.Button,{content:g.name,onClick:function(){function w(){return N("eject_seed")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{ml:"3px",icon:"pen",tooltip:"Name Variant",onClick:function(){function w(){return N("variant_name")}return w}()})]}):I=(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:"None",onClick:function(){function w(){return N("eject_seed")}return w}()})}),V?L=S.name:L="None",(0,e.createComponentVNode)(2,t.Section,{title:"Storage",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Plant Sample",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Data Disk",children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:3.3,content:L,tooltip:"Select Empty Disk",onClick:function(){function w(){return N("select_empty_disk")}return w}()})})})]})})},C=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.disk,g=v.core_genes;return(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core Genes",open:!0,children:[g.map(function(V){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:V.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function S(){return N("extract",{id:V.id})}return S}()})})]},V)})," ",(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract All",disabled:!(p!=null&&p.can_extract),icon:"save",onClick:function(){function V(){return N("bulk_extract_core")}return V}()})})})]},"Core Genes")},l=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.reagent_genes,p=N.has_reagent;return(0,e.createComponentVNode)(2,f,{title:"Reagent Genes",gene_set:v,do_we_show:p})},c=function(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.trait_genes,p=N.has_trait;return(0,e.createComponentVNode)(2,f,{title:"Trait Genes",gene_set:v,do_we_show:p})},f=function(s,i){var h=s.title,N=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,V=p.data,S=V.disk;return(0,e.createComponentVNode)(2,t.Collapsible,{title:h,open:!0,children:v?N.map(function(I){return(0,e.createComponentVNode)(2,t.Stack,{py:"2px",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",ml:"2px",children:I.name}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Extract",disabled:!(S!=null&&S.can_extract),icon:"save",onClick:function(){function L(){return g("extract",{id:I.id})}return L}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"times",onClick:function(){function L(){return g("remove",{id:I.id})}return L}()})})]},I)}):(0,e.createComponentVNode)(2,t.Stack.Item,{children:"No Genes Detected"})},h)},u=function(s,i){var h=s.title,N=s.gene_set,v=s.do_we_show,p=(0,a.useBackend)(i),g=p.act,V=p.data,S=V.has_seed,I=V.empty_disks,L=V.stat_disks,w=V.trait_disks,A=V.reagent_disks;return(0,e.createComponentVNode)(2,t.Section,{title:"Disks",children:[(0,e.createVNode)(1,"br"),"Empty Disks: ",I,(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:12,icon:"arrow-down",tooltip:"Eject an Empty disk",content:"Eject Empty Disk",onClick:function(){function x(){return g("eject_empty_disk")}return x}()}),(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stats",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[L.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[x.stat==="All"?(0,e.createComponentVNode)(2,t.Button,{content:"Replace All",tooltip:"Write disk stats to seed",disabled:!(x!=null&&x.ready)||!S,icon:"arrow-circle-down",onClick:function(){function E(){return g("bulk_replace_core",{index:x.index})}return E}()}):(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",tooltip:"Write disk stat to seed",disabled:!x||!S,content:"Replace",onClick:function(){function E(){return g("replace",{index:x.index,stat:x.stat})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Traits",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[w.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk trait to seed",content:"Insert",onClick:function(){function E(){return g("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Reagents",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,scrollable:!0,children:[A.slice().sort(function(x,E){return x.display_name.localeCompare(E.display_name)}).map(function(x){return(0,e.createComponentVNode)(2,t.Stack,{mr:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"49%",children:x.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:25,children:[(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-circle-down",disabled:!x||!x.can_insert,tooltip:"Add disk reagent to seed",content:"Insert",onClick:function(){function E(){return g("insert",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:6,icon:"arrow-right",content:"Select",tooltip:"Choose as target for extracted genes",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("select",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:5,icon:"arrow-down",content:"Eject",tooltip:"Eject Disk",tooltipPosition:"bottom-start",onClick:function(){function E(){return g("eject_disk",{index:x.index})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{width:2,icon:x.read_only?"lock":"lock-open",content:"",tool_tip:"Set/unset Read Only",onClick:function(){function E(){return g("set_read_only",{index:x.index,read_only:x.read_only})}return E}()})]})]},x)}),(0,e.createComponentVNode)(2,t.Button)]})})]})]})}},73053:function(T,r,n){"use strict";r.__esModule=!0,r.GenericCrewManifest=void 0;var e=n(89005),a=n(36036),t=n(98595),o=n(41874),m=r.GenericCrewManifest=function(){function b(y,B){return(0,e.createComponentVNode)(2,t.Window,{theme:"nologo",width:588,height:510,children:(0,e.createComponentVNode)(2,t.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,a.Section,{noTopPadding:!0,children:(0,e.createComponentVNode)(2,o.CrewManifest)})})})}return b}()},42914:function(T,r,n){"use strict";r.__esModule=!0,r.GhostHudPanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.GhostHudPanel=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=l.security,f=l.medical,u=l.diagnostic,d=l.radioactivity,s=l.ahud;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:207,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,b,{label:"Medical",type:"medical",is_active:f}),(0,e.createComponentVNode)(2,b,{label:"Security",type:"security",is_active:c}),(0,e.createComponentVNode)(2,b,{label:"Diagnostic",type:"diagnostic",is_active:u}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,b,{label:"Radioactivity",type:"radioactivity",is_active:d,act_on:"rads_on",act_off:"rads_off"}),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,b,{label:"Antag HUD",is_active:s,act_on:"ahud_on",act_off:"ahud_off"})]})})})}return y}(),b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=B.label,f=B.type,u=f===void 0?null:f,d=B.is_active,s=B.act_on,i=s===void 0?"hud_on":s,h=B.act_off,N=h===void 0?"hud_off":h;return(0,e.createComponentVNode)(2,t.Flex,{pt:.3,color:"label",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{pl:.5,align:"center",width:"80%",children:c}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:.6,content:d?"On":"Off",icon:d?"toggle-on":"toggle-off",selected:d,onClick:function(){function v(){return l(d?N:i,{hud_type:u})}return v}()})})]})}},25825:function(T,r,n){"use strict";r.__esModule=!0,r.GlandDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.GlandDispenser=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.glands,f=c===void 0?[]:c;return(0,e.createComponentVNode)(2,o.Window,{width:300,height:338,theme:"abductor",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{width:"60px",height:"60px",m:.75,textAlign:"center",fontSize:"17px",lineHeight:"55px",icon:"eject",backgroundColor:u.color,content:u.amount||"0",disabled:!u.amount,onClick:function(){function d(){return C("dispense",{gland_id:u.id})}return d}()},u.id)})})})})}return b}()},10270:function(T,r,n){"use strict";r.__esModule=!0,r.GravityGen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.GravityGen=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.charging_state,f=l.charge_count,u=l.breaker,d=l.ext_power,s=function(){function h(N){return N>0?(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"average",children:["[ ",N===1?"Charging":"Discharging"," ]"]}):(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:d?"good":"bad",children:["[ ",d?"Powered":"Unpowered"," ]"]})}return h}(),i=function(){function h(N){if(N>0)return(0,e.createComponentVNode)(2,t.NoticeBox,{danger:!0,p:1.5,children:[(0,e.createVNode)(1,"b",null,"WARNING:",16)," Radiation Detected!"]})}return h}();return(0,e.createComponentVNode)(2,o.Window,{width:350,height:170,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[i(c),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Generator Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"Online":"Offline",color:u?"green":"red",px:1.5,onClick:function(){function h(){return C("breaker")}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Status",color:d?"good":"bad",children:s(c)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gravity Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:f/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})})]})})]})})})}return b}()},48657:function(T,r,n){"use strict";r.__esModule=!0,r.GuestPass=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(49148),b=r.GuestPass=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:690,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"id-card",selected:!c.showlogs,onClick:function(){function f(){return l("mode",{mode:0})}return f}(),children:"Issue Pass"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"scroll",selected:c.showlogs,onClick:function(){function f(){return l("mode",{mode:1})}return f}(),children:["Records (",c.issue_log.length,")"]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Card",children:(0,e.createComponentVNode)(2,t.Button,{icon:c.scan_name?"eject":"id-card",selected:c.scan_name,content:c.scan_name?c.scan_name:"-----",tooltip:c.scan_name?"Eject ID":"Insert ID",onClick:function(){function f(){return l("scan")}return f}()})})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:!c.showlogs&&(0,e.createComponentVNode)(2,t.Section,{title:"Issue Guest Pass",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Issue To",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.giv_name?c.giv_name:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("giv_name")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reason",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.reason?c.reason:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("reason")}return f}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Duration",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pencil-alt",content:c.duration?c.duration:"-----",disabled:!c.scan_name,onClick:function(){function f(){return l("duration")}return f}()})})]})})}),!c.showlogs&&(c.scan_name?(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:c.printmsg,disabled:!c.canprint,onClick:function(){function f(){return l("issue")}return f}()}),grantableList:c.grantableList,accesses:c.regions,selectedList:c.selectedAccess,accessMod:function(){function f(u){return l("access",{access:u})}return f}(),grantAll:function(){function f(){return l("grant_all")}return f}(),denyAll:function(){function f(){return l("clear_all")}return f}(),grantDep:function(){function f(u){return l("grant_region",{region:u})}return f}(),denyDep:function(){function f(u){return l("deny_region",{region:u})}return f}()})}):(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"id-card",size:5,color:"gray",mb:5}),(0,e.createVNode)(1,"br"),"Please, insert ID Card"]})})})})),!!c.showlogs&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Issuance Log",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:!c.scan_name,onClick:function(){function f(){return l("print")}return f}()}),children:!!c.issue_log.length&&(0,e.createComponentVNode)(2,t.LabeledList,{children:c.issue_log.map(function(f,u){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:f},u)})})||(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,fontSize:1.5,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No logs"]})})})})]})})})}return y}()},67834:function(T,r,n){"use strict";r.__esModule=!0,r.HandheldChemDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=[1,5,10,20,30,50],b=null,y=r.HandheldChemDispenser=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:390,height:430,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.amount,i=d.energy,h=d.maxEnergy,N=d.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:h,ranges:{good:[h*.5,1/0],average:[h*.25,h*.5],bad:[-1/0,h*.25]},children:[i," / ",h," Units"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Amount",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{children:m.map(function(v,p){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"15%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"cog",selected:s===v,content:v,onClick:function(){function g(){return u("amount",{amount:v})}return g}()})},p)})})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mode",verticalAlign:"middle",children:(0,e.createComponentVNode)(2,t.Stack,{justify:"space-between",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="dispense",content:"Dispense",m:"0",width:"32%",onClick:function(){function v(){return u("mode",{mode:"dispense"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="remove",content:"Remove",m:"0",width:"32%",onClick:function(){function v(){return u("mode",{mode:"remove"})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",selected:N==="isolate",content:"Isolate",m:"0",width:"32%",onClick:function(){function v(){return u("mode",{mode:"isolate"})}return v}()})]})})]})})})},k=function(l,c){for(var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.chemicals,i=s===void 0?[]:s,h=d.current_reagent,N=[],v=0;v<(i.length+1)%3;v++)N.push(!0);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,height:"18%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:d.glass?"Drink Selector":"Chemical Selector",children:[i.map(function(p,g){return(0,e.createComponentVNode)(2,t.Button,{width:"32%",icon:"arrow-circle-down",overflow:"hidden",textOverflow:"ellipsis",selected:h===p.id,content:p.title,style:{"margin-left":"2px"},onClick:function(){function V(){return u("dispense",{reagent:p.id})}return V}()},g)}),N.map(function(p,g){return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:"1",basis:"25%"},g)})]})})}},46098:function(T,r,n){"use strict";r.__esModule=!0,r.HealthSensor=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=r.HealthSensor=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,f=l.data,u=f.on,d=f.user_health,s=f.minHealth,i=f.maxHealth,h=f.alarm_health;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:125,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Scanning",children:(0,e.createComponentVNode)(2,o.Button,{icon:"power-off",content:u?"On":"Off",color:u?null:"red",selected:u,onClick:function(){function N(){return c("scan_toggle")}return N}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health activation",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:2,stepPixelSize:6,minValue:s,maxValue:i,value:h,format:function(){function N(v){return(0,a.toFixed)(v,1)}return N}(),width:"80px",onDrag:function(){function N(v,p){return c("alarm_health",{alarm_health:p})}return N}()})}),d!==null&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"User health",children:(0,e.createComponentVNode)(2,o.Box,{color:y(d),bold:d>=100,children:(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:d})})})]})})})})}return B}(),y=function(k){return k>50?"green":k>0?"orange":"red"}},36771:function(T,r,n){"use strict";r.__esModule=!0,r.Holodeck=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Holodeck=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=(0,a.useLocalState)(k,"currentDeck",""),u=f[0],d=f[1],s=(0,a.useLocalState)(k,"showReload",!1),i=s[0],h=s[1],N=c.decks,v=c.ai_override,p=c.emagged,g=function(){function V(S){l("select_deck",{deck:S}),d(S),h(!0),setTimeout(function(){h(!1)},3e3)}return V}();return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:[i&&(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Holodeck Control System",children:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createVNode)(1,"b",null,"Currently Loaded Program:",16)," ",u]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Available Programs",children:[N.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{width:15.5,color:"transparent",content:V,selected:V===u,onClick:function(){function S(){return g(V)}return S}()},V)}),(0,e.createVNode)(1,"hr",null,null,1,{color:"gray"}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[!!v&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Override Protocols",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"Turn On":"Turn Off",color:p?"good":"bad",onClick:function(){function V(){return l("ai_override")}return V}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety Protocols",children:(0,e.createComponentVNode)(2,t.Box,{color:p?"bad":"good",children:[p?"Off":"On",!!p&&(0,e.createComponentVNode)(2,t.Button,{ml:9.5,width:15.5,color:"red",content:"Wildlife Simulation",onClick:function(){function V(){return l("wildlifecarp")}return V}()})]})})]})]})})]})})]})}return y}(),b=function(B,k){return(0,e.createComponentVNode)(2,t.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"spinner",size:"5",spin:!0}),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{color:"white",children:(0,e.createVNode)(1,"h1",null,"\xA0Recalibrating projection apparatus.\xA0",16)}),(0,e.createComponentVNode)(2,t.Box,{color:"label",children:(0,e.createVNode)(1,"h3",null,"Please, wait for 3 seconds.",16)})]})}},25471:function(T,r,n){"use strict";r.__esModule=!0,r.Instrument=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=r.Instrument=function(){function l(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data;return(0,e.createComponentVNode)(2,m.Window,{width:600,height:505,children:[(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,C)]})})]})}return l}(),y=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.help;if(i)return(0,e.createComponentVNode)(2,o.Modal,{maxWidth:"75%",height:window.innerHeight*.75+"px",mx:"auto",py:"0",px:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{height:"100%",title:"Help",level:"2",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{px:"0.5rem",mt:"-0.5rem",children:[(0,e.createVNode)(1,"h1",null,"Making a Song",16),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Lines are a series of chords, separated by commas\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(,)"}),(0,e.createTextVNode)(", each with notes separated by hyphens\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"(-)"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Every note in a chord will play together, with the chord timed by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("as defined above.")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Notes are played by the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"names of the note"}),(0,e.createTextVNode)(", and optionally, the\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(", and/or the"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave number"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("By default, every note is\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"natural"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("and in\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave 3"}),(0,e.createTextVNode)(". Defining a different state for either is remembered for each"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"note"}),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Example:"}),(0,e.createTextVNode)("\xA0"),(0,e.createVNode)(1,"i",null,"C,D,E,F,G,A,B",16),(0,e.createTextVNode)(" will play a\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"good",children:"C"}),(0,e.createTextVNode)("\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"major"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("scale.")],0),(0,e.createVNode)(1,"li",null,[(0,e.createTextVNode)("After a note has an\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"average",children:"accidental"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("or\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"bad",children:"octave"}),(0,e.createTextVNode)(" "),(0,e.createTextVNode)("placed, it will be remembered:\xA0"),(0,e.createVNode)(1,"i",null,"C,C4,C#,C3",16),(0,e.createTextVNode)(" is "),(0,e.createVNode)(1,"i",null,"C3,C4,C4#,C3#",16)],0)],4)],0),(0,e.createVNode)(1,"p",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"Chords"}),(0,e.createTextVNode)("\xA0can be played simply by seperating each note with a hyphen: "),(0,e.createVNode)(1,"i",null,"A-C#,Cn-E,E-G#,Gn-B",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("A"),(0,e.createTextVNode)(" "),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"pause"}),(0,e.createTextVNode)("\xA0may be denoted by an empty chord: "),(0,e.createVNode)(1,"i",null,"C,E,,C,G",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("To make a chord be a different time, end it with /x, where the chord length will be length defined by\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"tempo / x"}),(0,e.createTextVNode)(",\xA0"),(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"highlight",children:"eg:"}),(0,e.createTextVNode)(" "),(0,e.createVNode)(1,"i",null,"C,G/2,E/4",16),(0,e.createTextVNode)(".")],0),(0,e.createVNode)(1,"p",null,[(0,e.createTextVNode)("Combined, an example line is: "),(0,e.createVNode)(1,"i",null,"E-E4/4,F#/2,G#/8,B/8,E3-E4/4",16),(0,e.createTextVNode)("."),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,"Lines may be up to 300 characters.",16),(0,e.createVNode)(1,"li",null,"A song may only contain up to 1,000 lines.",16)],4)],4),(0,e.createVNode)(1,"h1",null,"Instrument Advanced Settings",16),(0,e.createVNode)(1,"ul",null,[(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Type:"}),(0,e.createTextVNode)("\xA0Whether the instrument is legacy or synthesized."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Legacy instruments have a collection of sounds that are selectively used depending on the note to play."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Synthesized instruments use a base sound and change its pitch to match the note to play.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Current:"}),(0,e.createTextVNode)("\xA0Which instrument sample to play. Some instruments can be tuned to play different samples. Experiment!")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Note Shift/Note Transpose:"}),(0,e.createTextVNode)("\xA0The pitch to apply to all notes of the song.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain Mode:"}),(0,e.createTextVNode)("\xA0How a played note fades out."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Linear sustain means a note will fade out at a constant rate."),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Exponential sustain means a note will fade out at an exponential rate, sounding smoother.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Volume Dropoff Threshold:"}),(0,e.createTextVNode)("\xA0The volume threshold at which a note is fully stopped.")],4),(0,e.createVNode)(1,"li",null,[(0,e.createComponentVNode)(2,o.Box,{as:"span",color:"label",children:"Sustain indefinitely last held note:"}),(0,e.createTextVNode)("\xA0Whether the last note should be sustained indefinitely.")],4)],4),(0,e.createComponentVNode)(2,o.Button,{color:"grey",content:"Close",onClick:function(){function h(){return d("help")}return h}()})]})})})},B=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.lines,h=s.playing,N=s.repeat,v=s.maxRepeats,p=s.tempo,g=s.minTempo,V=s.maxTempo,S=s.tickLag,I=s.volume,L=s.minVolume,w=s.maxVolume,A=s.ready;return(0,e.createComponentVNode)(2,o.Section,{title:"Instrument",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"info",content:"Help",onClick:function(){function x(){return d("help")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file",content:"New",onClick:function(){function x(){return d("newsong")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"upload",content:"Import",onClick:function(){function x(){return d("import")}return x}()})],4),children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Playback",children:[(0,e.createComponentVNode)(2,o.Button,{selected:h,disabled:i.length===0||N<0,icon:"play",content:"Play",onClick:function(){function x(){return d("play")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!h,icon:"stop",content:"Stop",onClick:function(){function x(){return d("stop")}return x}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Repeat",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:0,maxValue:v,value:N,stepPixelSize:59,onChange:function(){function x(E,M){return d("repeat",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Tempo",children:(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Button,{disabled:p>=V,content:"-",as:"span",mr:"0.5rem",onClick:function(){function x(){return d("tempo",{new:p+S})}return x}()}),(0,a.round)(600/p)," BPM",(0,e.createComponentVNode)(2,o.Button,{disabled:p<=g,content:"+",as:"span",ml:"0.5rem",onClick:function(){function x(){return d("tempo",{new:p-S})}return x}()})]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:L,maxValue:w,value:I,stepPixelSize:6,onDrag:function(){function x(E,M){return d("setvolume",{new:M})}return x}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",children:A?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Ready"}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Instrument Definition Error!"})})]}),(0,e.createComponentVNode)(2,k)]})},k=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.allowedInstrumentNames,h=s.instrumentLoaded,N=s.instrument,v=s.canNoteShift,p=s.noteShift,g=s.noteShiftMin,V=s.noteShiftMax,S=s.sustainMode,I=s.sustainLinearDuration,L=s.sustainExponentialDropoff,w=s.legacy,A=s.sustainDropoffVolume,x=s.sustainHeldNote,E,M;return S===1?(E="Linear",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:.1,maxValue:5,value:I,step:.5,stepPixelSize:85,format:function(){function j(P){return(0,a.round)(P*100)/100+" seconds"}return j}(),onChange:function(){function j(P,O){return d("setlinearfalloff",{new:O/10})}return j}()})):S===2&&(E="Exponential",M=(0,e.createComponentVNode)(2,o.Slider,{minValue:1.025,maxValue:10,value:L,step:.01,format:function(){function j(P){return(0,a.round)(P*1e3)/1e3+"% per decisecond"}return j}(),onChange:function(){function j(P,O){return d("setexpfalloff",{new:O})}return j}()})),i.sort(),(0,e.createComponentVNode)(2,o.Box,{my:-1,children:(0,e.createComponentVNode)(2,o.Collapsible,{mt:"1rem",mb:"0",title:"Advanced",children:(0,e.createComponentVNode)(2,o.Section,{mt:-1,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Type",children:w?"Legacy":"Synthesized"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current",children:h?(0,e.createComponentVNode)(2,o.Dropdown,{options:i,selected:N,width:"50%",onSelected:function(){function j(P){return d("switchinstrument",{name:P})}return j}()}):(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"None!"})}),!!(!w&&v)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Note Shift/Note Transpose",children:(0,e.createComponentVNode)(2,o.Slider,{minValue:g,maxValue:V,value:p,stepPixelSize:2,format:function(){function j(P){return P+" keys / "+(0,a.round)(P/12*100)/100+" octaves"}return j}(),onChange:function(){function j(P,O){return d("setnoteshift",{new:O})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain Mode",children:[(0,e.createComponentVNode)(2,o.Dropdown,{options:["Linear","Exponential"],selected:E,onSelected:function(){function j(P){return d("setsustainmode",{new:P})}return j}()}),M]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Volume Dropoff Threshold",children:(0,e.createComponentVNode)(2,o.Slider,{animated:!0,minValue:.01,maxValue:100,value:A,stepPixelSize:6,onChange:function(){function j(P,O){return d("setdropoffvolume",{new:O})}return j}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Sustain indefinitely last held note",children:(0,e.createComponentVNode)(2,o.Button,{selected:x,icon:x?"toggle-on":"toggle-off",content:x?"Yes":"No",onClick:function(){function j(){return d("togglesustainhold")}return j}()})})],4)]}),(0,e.createComponentVNode)(2,o.Button,{icon:"redo",content:"Reset to Default",mt:"0.5rem",onClick:function(){function j(){return d("reset")}return j}()})]})})})},C=function(c,f){var u=(0,t.useBackend)(f),d=u.act,s=u.data,i=s.playing,h=s.lines,N=s.editing;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Editor",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!N||i,icon:"plus",content:"Add Line",onClick:function(){function v(){return d("newline",{line:h.length+1})}return v}()}),(0,e.createComponentVNode)(2,o.Button,{selected:!N,icon:N?"chevron-up":"chevron-down",onClick:function(){function v(){return d("edit")}return v}()})],4),children:!!N&&(h.length>0?(0,e.createComponentVNode)(2,o.LabeledList,{children:h.map(function(v,p){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:p+1,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"pen",onClick:function(){function g(){return d("modifyline",{line:p+1})}return g}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:i,icon:"trash",onClick:function(){function g(){return d("deleteline",{line:p+1})}return g}()})],4),children:v},p)})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"Song is empty."}))})}},52736:function(T,r,n){"use strict";r.__esModule=!0,r.Jukebox=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(72253),m=n(36036),b=n(98595),y=r.Jukebox=function(){function C(l,c){var f=(0,o.useBackend)(c),u=f.act,d=f.data,s=d.active,i=d.looping,h=d.track_selected,N=d.volume,v=d.max_volume,p=d.songs,g=d.startTime,V=d.endTime,S=d.worldTime,I=d.need_coin,L=d.payment,w=d.advanced_admin,A=35,x=!L&&I&&!w,E=(0,t.flow)([(0,a.sortBy)(function(F){return F.name})])(p),M=p.find(function(F){return F.name===h}),j=E.length,P=M?E.findIndex(function(F){return F.name===M.name})+1:0,O=function(){function F(W){var U=Math.floor(W/60),$=W%60,K=String(U).padStart(2,"0")+":"+String($).padStart(2,"0");return K}return F}(),D=(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[s?i?"\u221E":O(Math.round((S-g)/10)):i?"\u221E":O(M.length)," ","/ ",i?"\u221E":O(M.length)]});return(0,e.createComponentVNode)(2,b.Window,{width:350,height:435,title:"\u041C\u0443\u0437\u044B\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442",children:[x?(0,e.createComponentVNode)(2,k):null,(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack,{children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"\u041F\u0440\u043E\u0438\u0433\u0440\u044B\u0432\u0430\u0442\u0435\u043B\u044C",children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{bold:!0,maxWidth:"240px",children:M.name.length>A?(0,e.createVNode)(1,"marquee",null,M.name,0):M.name}),(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mt:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,icon:s?"pause":"play",color:"transparent",content:s?"\u0421\u0442\u043E\u043F":"\u0421\u0442\u0430\u0440\u0442",selected:s,onClick:function(){function F(){return u("toggle")}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,basis:"0",children:(0,e.createComponentVNode)(2,m.Button.Checkbox,{fluid:!0,icon:"undo",content:"\u041F\u043E\u0432\u0442\u043E\u0440",disabled:s||I&&!w,tooltip:I&&!w?"\u0412\u044B \u043D\u0435 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440 \u0437\u0430 \u043C\u043E\u043D\u0435\u0442\u043A\u0443":null,checked:i,onClick:function(){function F(){return u("loop",{looping:!i})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.ProgressBar.Countdown,{start:g,current:i?V:S,end:V,children:D})})]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{children:[s?(0,e.createComponentVNode)(2,B):null,(0,e.createComponentVNode)(2,m.Stack,{fill:!0,mb:1.5,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-backward",onClick:function(){function F(){return u("set_volume",{volume:"min"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"undo",onClick:function(){function F(){return u("set_volume",{volume:"reset"})}return F}()})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,m:0,textAlign:"right",children:(0,e.createComponentVNode)(2,m.Button,{color:"transparent",icon:"fast-forward",onClick:function(){function F(){return u("set_volume",{volume:"max"})}return F}()})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{textAlign:"center",textColor:"label",children:[(0,e.createComponentVNode)(2,m.Knob,{size:2,color:N<=25?"green":N<=50?"":N<=75?"orange":"red",value:N,unit:"%",minValue:0,maxValue:v,step:1,stepPixelSize:5,onDrag:function(){function F(W,U){return u("set_volume",{volume:U})}return F}()}),"Volume"]})]})})]}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,title:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0442\u0440\u0435\u043A\u0438",buttons:(0,e.createComponentVNode)(2,m.Button,{bold:!0,icon:"random",color:"transparent",content:P+"/"+j,tooltip:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0441\u043B\u0443\u0447\u0430\u0439\u043D\u044B\u0439 \u0442\u0440\u0435\u043A",tooltipPosition:"top-end",onClick:function(){function F(){var W=Math.floor(Math.random()*j),U=E[W];u("select_track",{track:U.name})}return F}()}),children:E.map(function(F){return(0,e.createComponentVNode)(2,m.Stack.Item,{mb:.5,textAlign:"left",children:(0,e.createComponentVNode)(2,m.Button,{fluid:!0,selected:M.name===F.name,color:"translucent",content:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:F.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:O(F.length)})]}),onClick:function(){function W(){u("select_track",{track:F.name})}return W}()})},F.name)})})})]})})]})}return C}(),B=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"music",size:"3",color:"gray",mb:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,children:"\u0418\u0433\u0440\u0430\u0435\u0442 \u043C\u0443\u0437\u044B\u043A\u0430"})]})},k=function(){return(0,e.createComponentVNode)(2,m.Dimmer,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"coins",size:"6",color:"gold",mr:1}),(0,e.createComponentVNode)(2,m.Box,{color:"label",bold:!0,mt:5,fontSize:2,children:"\u0412\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043C\u043E\u043D\u0435\u0442\u043A\u0443"})]})}},13618:function(T,r,n){"use strict";r.__esModule=!0,r.KeyComboModal=void 0;var e=n(89005),a=n(70611),t=n(72253),o=n(36036),m=n(98595),b=n(19203),y=n(51057),B=function(u){return u.key!==a.KEY.Alt&&u.key!==a.KEY.Control&&u.key!==a.KEY.Shift&&u.key!==a.KEY.Escape},k={DEL:"Delete",DOWN:"South",END:"Southwest",HOME:"Northwest",INSERT:"Insert",LEFT:"West",PAGEDOWN:"Southeast",PAGEUP:"Northeast",RIGHT:"East",SPACEBAR:"Space",UP:"North"},C=3,l=function(u){var d="";if(u.altKey&&(d+="Alt"),u.ctrlKey&&(d+="Ctrl"),u.shiftKey&&!(u.keyCode>=48&&u.keyCode<=57)&&(d+="Shift"),u.location===C&&(d+="Numpad"),B(u))if(u.shiftKey&&u.keyCode>=48&&u.keyCode<=57){var s=u.keyCode-48;d+="Shift"+s}else{var i=u.key.toUpperCase();d+=k[i]||i}return d},c=r.KeyComboModal=function(){function f(u,d){var s=(0,t.useBackend)(d),i=s.act,h=s.data,N=h.init_value,v=h.large_buttons,p=h.message,g=p===void 0?"":p,V=h.title,S=h.timeout,I=(0,t.useLocalState)(d,"input",N),L=I[0],w=I[1],A=(0,t.useLocalState)(d,"binding",!0),x=A[0],E=A[1],M=function(){function O(D){if(!x){D.key===a.KEY.Enter&&i("submit",{entry:L}),(0,a.isEscape)(D.key)&&i("cancel");return}if(D.preventDefault(),B(D)){j(l(D)),E(!1);return}else if(D.key===a.KEY.Escape){j(N),E(!1);return}}return O}(),j=function(){function O(D){D!==L&&w(D)}return O}(),P=130+(g.length>30?Math.ceil(g.length/3):0)+(g.length&&v?5:0);return(0,e.createComponentVNode)(2,m.Window,{title:V,width:240,height:P,children:[S&&(0,e.createComponentVNode)(2,y.Loader,{value:S}),(0,e.createComponentVNode)(2,m.Window.Content,{onKeyDown:function(){function O(D){M(D)}return O}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Autofocus),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:g})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:x,content:x&&x!==null?"Awaiting input...":""+L,width:"100%",textAlign:"center",onClick:function(){function O(){j(N),E(!0)}return O}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,b.InputButtons,{input:L})})]})]})})]})}return f}()},35655:function(T,r,n){"use strict";r.__esModule=!0,r.KeycardAuth=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.KeycardAuth=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=(0,e.createComponentVNode)(2,t.Section,{title:"Keycard Authentication Device",children:(0,e.createComponentVNode)(2,t.Box,{children:"This device is used to trigger certain high security events. It requires the simultaneous swipe of two high-level ID cards."})});if(!l.swiping&&!l.busy)return(0,e.createComponentVNode)(2,o.Window,{width:540,height:280,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,(0,e.createComponentVNode)(2,t.Section,{title:"Choose Action",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Red Alert",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",disabled:!l.redAvailable,onClick:function(){function u(){return C("triggerevent",{triggerevent:"Red Alert"})}return u}(),content:"Red Alert"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ERT",children:(0,e.createComponentVNode)(2,t.Button,{icon:"broadcast-tower",onClick:function(){function u(){return C("triggerevent",{triggerevent:"Emergency Response Team"})}return u}(),content:"Call ERT"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Maint Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return C("triggerevent",{triggerevent:"Grant Emergency Maintenance Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return C("triggerevent",{triggerevent:"Revoke Emergency Maintenance Access"})}return u}(),content:"Revoke"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Emergency Station-Wide Access",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"door-open",onClick:function(){function u(){return C("triggerevent",{triggerevent:"Activate Station-Wide Emergency Access"})}return u}(),content:"Grant"}),(0,e.createComponentVNode)(2,t.Button,{icon:"door-closed",onClick:function(){function u(){return C("triggerevent",{triggerevent:"Deactivate Station-Wide Emergency Access"})}return u}(),content:"Revoke"})]})]})})]})});var f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Waiting for YOU to swipe your ID..."});return!l.hasSwiped&&!l.ertreason&&l.event==="Emergency Response Team"?f=(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Fill out the reason for your ERT request."}):l.hasConfirm?f=(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Request Confirmed!"}):l.isRemote?f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Swipe your card to CONFIRM the remote request."}):l.hasSwiped&&(f=(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Waiting for second person to confirm..."})),(0,e.createComponentVNode)(2,o.Window,{width:540,height:265,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[c,l.event==="Emergency Response Team"&&(0,e.createComponentVNode)(2,t.Section,{title:"Reason for ERT Call",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{color:l.ertreason?"":"red",icon:l.ertreason?"check":"pencil-alt",content:l.ertreason?l.ertreason:"-----",disabled:l.busy,onClick:function(){function u(){return C("ert")}return u}()})})}),(0,e.createComponentVNode)(2,t.Section,{title:l.event,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-circle-left",content:"Back",disabled:l.busy||l.hasConfirm,onClick:function(){function u(){return C("reset")}return u}()}),children:f})]})})}return b}()},62955:function(T,r,n){"use strict";r.__esModule=!0,r.KitchenMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(62411),b=r.KitchenMachine=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.data,f=l.config,u=c.ingredients,d=c.operating,s=f.title;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:320,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Operating,{operating:d,name:s}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,y)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Ingredients",children:(0,e.createComponentVNode)(2,t.Table,{className:"Ingredient__Table",children:u.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{tr:5,children:[(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:i.name}),2),(0,e.createVNode)(1,"td",null,(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:[i.amount," ",i.units]}),2)]},i.name)})})})})]})})})}return B}(),y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.inactive,d=f.tooltip;return(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"power-off",disabled:u,tooltip:u?d:"",tooltipPosition:"bottom",content:"Activate",onClick:function(){function s(){return c("cook")}return s}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",disabled:u,tooltip:u?d:"",tooltipPosition:"bottom",content:"Eject Contents",onClick:function(){function s(){return c("eject")}return s}()})})]})})}},9525:function(T,r,n){"use strict";r.__esModule=!0,r.LawManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.LawManager=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.isAdmin,s=u.isSlaved,i=u.isMalf,h=u.isAIMalf,N=u.view;return(0,e.createComponentVNode)(2,o.Window,{width:800,height:i?620:365,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!(d&&s)&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:["This unit is slaved to ",s,"."]}),!!(i||h)&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Law Management",selected:N===0,onClick:function(){function v(){return f("set_view",{set_view:0})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Lawsets",selected:N===1,onClick:function(){function v(){return f("set_view",{set_view:1})}return v}()})]}),N===0&&(0,e.createComponentVNode)(2,b),N===1&&(0,e.createComponentVNode)(2,y)]})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.has_zeroth_laws,s=u.zeroth_laws,i=u.has_ion_laws,h=u.ion_laws,N=u.ion_law_nr,v=u.has_inherent_laws,p=u.inherent_laws,g=u.has_supplied_laws,V=u.supplied_laws,S=u.channels,I=u.channel,L=u.isMalf,w=u.isAdmin,A=u.zeroth_law,x=u.ion_law,E=u.inherent_law,M=u.supplied_law,j=u.supplied_law_position;return(0,e.createFragment)([!!d&&(0,e.createComponentVNode)(2,B,{title:"ERR_NULL_VALUE",laws:s,ctx:l}),!!i&&(0,e.createComponentVNode)(2,B,{title:N,laws:h,ctx:l}),!!v&&(0,e.createComponentVNode)(2,B,{title:"Inherent",laws:p,ctx:l}),!!g&&(0,e.createComponentVNode)(2,B,{title:"Supplied",laws:V,ctx:l}),(0,e.createComponentVNode)(2,t.Section,{title:"Statement Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Statement Channel",children:S.map(function(P){return(0,e.createComponentVNode)(2,t.Button,{content:P.channel,selected:P.channel===I,onClick:function(){function O(){return f("law_channel",{law_channel:P.channel})}return O}()},P.channel)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"State Laws",children:(0,e.createComponentVNode)(2,t.Button,{content:"State Laws",onClick:function(){function P(){return f("state_laws")}return P}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Law Notification",children:(0,e.createComponentVNode)(2,t.Button,{content:"Notify",onClick:function(){function P(){return f("notify_laws")}return P}()})})]})}),!!L&&(0,e.createComponentVNode)(2,t.Section,{title:"Add Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"60%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"20%",children:"Actions"})]}),!!(w&&!d)&&(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Zero"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:A}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_zeroth_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_zeroth_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ion"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_ion_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_ion_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Inherent"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:E}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"N/A"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_inherent_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_inherent_law")}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Supplied"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:M}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:j,onClick:function(){function P(){return f("change_supplied_law_position")}return P}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function P(){return f("change_supplied_law")}return P}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Add",icon:"plus",onClick:function(){function P(){return f("add_supplied_law")}return P}()})]})]})]})})],0)},y=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.law_sets;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name+" - "+s.header,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Load Laws",icon:"download",onClick:function(){function i(){return f("transfer_laws",{transfer_laws:s.ref})}return i}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.laws.has_ion_laws>0&&s.laws.ion_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_zeroth_laws>0&&s.laws.zeroth_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_inherent_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)}),s.laws.has_supplied_laws>0&&s.laws.inherent_laws.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.index,children:i.law},i.index)})]})},s.name)})})},B=function(C,l){var c=(0,a.useBackend)(C.ctx),f=c.act,u=c.data,d=u.isMalf;return(0,e.createComponentVNode)(2,t.Section,{title:C.title+" Laws",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"10%",children:"Index"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"69%",children:"Law"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"21%",children:"State?"})]}),C.laws.map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.index}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s.law}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{content:s.state?"Yes":"No",selected:s.state,onClick:function(){function i(){return f("state_law",{ref:s.ref,state_law:s.state?0:1})}return i}()}),!!d&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Edit",icon:"pencil-alt",onClick:function(){function i(){return f("edit_law",{edit_law:s.ref})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Delete",icon:"trash",color:"red",onClick:function(){function i(){return f("delete_law",{delete_law:s.ref})}return i}()})],4)]})]},s.law)})]})})}},85066:function(T,r,n){"use strict";r.__esModule=!0,r.LibraryComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=r.LibraryComputer=function(){function N(v,p){return(0,e.createComponentVNode)(2,o.Window,{width:1050,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return N}(),y=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:I.summary}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",verticalAlign:"top"})]}),!I.isProgrammatic&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Categories",children:I.categories.join(", ")})]}),(0,e.createVNode)(1,"br"),L===I.ckey&&(0,e.createComponentVNode)(2,t.Button,{content:"Delete Book",icon:"trash",color:"red",disabled:I.isProgrammatic,onClick:function(){function w(){return V("delete_book",{bookid:I.id,user_ckey:L})}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Report Book",icon:"flag",color:"red",disabled:I.isProgrammatic,onClick:function(){function w(){return(0,m.modalOpen)(p,"report_book",{bookid:I.id})}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Rate Book",icon:"star",color:"caution",disabled:I.isProgrammatic,onClick:function(){function w(){return(0,m.modalOpen)(p,"rate_info",{bookid:I.id})}return w}()})]})},B=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.selected_report,w=S.report_categories,A=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",title:"Report this book for Rule Violations",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Reasons",children:(0,e.createComponentVNode)(2,t.Box,{children:w.map(function(x,E){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:x.category_id===L,onClick:function(){function M(){return V("set_report",{report_type:x.category_id})}return M}()}),(0,e.createVNode)(1,"br")],4,E)})})})]}),(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,icon:"paper-plane",content:"Submit Report",onClick:function(){function x(){return V("submit_report",{bookid:I.id,user_ckey:A})}return x}()})]})},k=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.selected_rating,L=Array(10).fill().map(function(w,A){return 1+A});return(0,e.createComponentVNode)(2,t.Stack,{children:[L.map(function(w,A){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{bold:!0,icon:"star",color:I>=w?"caution":"default",onClick:function(){function x(){return V("set_rating",{rating_value:w})}return x}()})},A)}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,ml:2,fontSize:"150%",children:[I+"/10",(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"top"})]})]})},C=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=v.args,L=S.user_ckey;return(0,e.createComponentVNode)(2,t.Section,{level:2,m:"-1rem",pb:"1.5rem",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:I.title}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:I.author}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rating",children:[I.current_rating?I.current_rating:0,(0,e.createComponentVNode)(2,t.Icon,{name:"star",color:"yellow",ml:.5,verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Total Ratings",children:I.total_ratings?I.total_ratings:0})]}),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,t.Button.Confirm,{mt:2,content:"Submit",icon:"paper-plane",onClick:function(){function w(){return V("rate_book",{bookid:I.id,user_ckey:L})}return w}()})]})},l=function(v,p){var g=(0,a.useBackend)(p),V=g.data,S=(0,a.useLocalState)(p,"tabIndex",0),I=S[0],L=S[1],w=V.login_state;return(0,e.createComponentVNode)(2,t.Stack.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===0,onClick:function(){function A(){return L(0)}return A}(),children:"Book Archives"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===1,onClick:function(){function A(){return L(1)}return A}(),children:"Corporate Literature"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===2,onClick:function(){function A(){return L(2)}return A}(),children:"Upload Book"}),w===1&&(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===3,onClick:function(){function A(){return L(3)}return A}(),children:"Patron Manager"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:I===4,onClick:function(){function A(){return L(4)}return A}(),children:"Inventory"})]})})},c=function(v,p){var g=(0,a.useLocalState)(p,"tabIndex",0),V=g[0];switch(V){case 0:return(0,e.createComponentVNode)(2,u);case 1:return(0,e.createComponentVNode)(2,d);case 2:return(0,e.createComponentVNode)(2,s);case 3:return(0,e.createComponentVNode)(2,i);case 4:return(0,e.createComponentVNode)(2,h);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},f=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.searchcontent,L=S.book_categories,w=S.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"35%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"edit",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Inputs"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.title||"Input Title",onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_search_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{textAlign:"left",icon:"pen",width:20,content:I.author||"Input Author",onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_search_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Ratings",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{mr:1,width:"min-content",content:I.ratingmin,onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_search_ratingmin")}return x}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"To"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{ml:1,width:"min-content",content:I.ratingmax,onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_search_ratingmax")}return x}()})})]})})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"40%",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"clipboard-list",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Book Categories"]}),(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Dropdown,{mt:.6,width:"190px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return V("toggle_search_category",{category_id:A[E]})}return x}()})})})}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,selected:!0,icon:"unlink",onClick:function(){function E(){return V("toggle_search_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",m:".5em",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:1.5,mr:"1rem"}),"Search Actions"]}),(0,e.createComponentVNode)(2,t.Button,{content:"Clear Search",icon:"eraser",onClick:function(){function x(){return V("clear_search")}return x}()}),I.ckey?(0,e.createComponentVNode)(2,t.Button,{mb:.5,content:"Stop Showing My Books",color:"bad",icon:"search",onClick:function(){function x(){return V("clear_ckey_search")}return x}()}):(0,e.createComponentVNode)(2,t.Button,{content:"Find My Books",icon:"search",onClick:function(){function x(){return V("find_users_books",{user_ckey:w})}return x}()})]})]})},u=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.external_booklist,L=S.archive_pagenumber,w=S.num_pages,A=S.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Access",buttons:(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-left",disabled:L===1,onClick:function(){function x(){return V("deincrementpagemax")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-left",disabled:L===1,onClick:function(){function x(){return V("deincrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{bold:!0,content:L,onClick:function(){function x(){return(0,m.modalOpen)(p,"setpagenumber")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",disabled:L===w,onClick:function(){function x(){return V("incrementpage")}return x}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"angle-double-right",disabled:L===w,onClick:function(){function x(){return V("incrementpagemax")}return x}()})],4),children:[(0,e.createComponentVNode)(2,f),(0,e.createVNode)(1,"hr"),(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Ratings"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Category"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(x){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:.5}),x.title.length>45?x.title.substr(0,45)+"...":x.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:x.author.length>30?x.author.substr(0,30)+"...":x.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[x.rating,(0,e.createComponentVNode)(2,t.Icon,{name:"star",ml:.5,color:"yellow",verticalAlign:"middle"})]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:x.categories.join(", ").substr(0,45)}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[A===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function E(){return V("order_external_book",{bookid:x.id})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function E(){return(0,m.modalOpen)(p,"expand_info",{bookid:x.id})}return E}()})]})]},x.id)})]})]})},d=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.programmatic_booklist,L=S.login_state;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Corporate Book Catalog",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Actions"})]}),I.map(function(w,A){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:w.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book",mr:2}),w.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:w.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[L===1&&(0,e.createComponentVNode)(2,t.Button,{content:"Order",icon:"print",onClick:function(){function x(){return V("order_programmatic_book",{bookid:w.id})}return x}()}),(0,e.createComponentVNode)(2,t.Button,{content:"More...",onClick:function(){function x(){return(0,m.modalOpen)(p,"expand_info",{bookid:w.id})}return x}()})]})]},A)})]})})},s=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.selectedbook,L=S.book_categories,w=S.user_ckey,A=[];return L.map(function(x){return A[x.description]=x.category_id}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Book System Upload",buttons:(0,e.createComponentVNode)(2,t.Button.Confirm,{bold:!0,width:9.5,icon:"upload",disabled:I.copyright,content:"Upload Book",onClick:function(){function x(){return V("uploadbook",{user_ckey:w})}return x}()}),children:[I.copyright?(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"WARNING: You cannot upload or modify the attributes of a copyrighted book"}):(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{ml:15,mb:3,fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"search-plus",verticalAlign:"middle",size:3,mr:2}),"Book Uploader"]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.title,onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_selected_title")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,t.Button,{width:20,textAlign:"left",icon:"pen",disabled:I.copyright,content:I.author,onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_selected_author")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Categories",children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Dropdown,{width:"240px",options:L.map(function(x){return x.description}),onSelected:function(){function x(E){return V("toggle_upload_category",{category_id:A[E]})}return x}()})})})]}),(0,e.createVNode)(1,"br"),L.filter(function(x){return I.categories.includes(x.category_id)}).map(function(x){return(0,e.createComponentVNode)(2,t.Button,{content:x.description,disabled:I.copyright,selected:!0,icon:"unlink",onClick:function(){function E(){return V("toggle_upload_category",{category_id:x.category_id})}return E}()},x.category_id)})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mr:75,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Summary",children:(0,e.createComponentVNode)(2,t.Button,{icon:"pen",width:"auto",disabled:I.copyright,content:"Edit Summary",onClick:function(){function x(){return(0,m.modalOpen)(p,"edit_selected_summary")}return x}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{children:I.summary})]})})]})]})},i=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.checkout_data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Checked Out Books",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Patron"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time Left"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),I.map(function(L,w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-tag"}),L.patron_name]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.title}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.timeleft>=0?L.timeleft:"LATE"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:(0,e.createComponentVNode)(2,t.Button,{content:"Mark Lost",icon:"flag",color:"bad",disabled:L.timeleft>=0,onClick:function(){function A(){return V("reportlost",{libraryid:L.libraryid})}return A}()})})]},w)})]})})},h=function(v,p){var g=(0,a.useBackend)(p),V=g.act,S=g.data,I=S.inventory_list;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Library Inventory",children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"LIB ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"})]}),I.map(function(L,w){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:L.libraryid}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"})," ",L.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:L.checked_out?"Checked Out":"Available"})]},w)})]})})};(0,m.modalRegisterBodyOverride)("expand_info",y),(0,m.modalRegisterBodyOverride)("report_book",B),(0,m.modalRegisterBodyOverride)("rate_info",C)},9516:function(T,r,n){"use strict";r.__esModule=!0,r.LibraryManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=r.LibraryManager=function(){function l(c,f){return(0,e.createComponentVNode)(2,o.Window,{width:600,height:600,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:(0,e.createComponentVNode)(2,y)})]})}return l}(),y=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.pagestate;switch(i){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,C);case 3:return(0,e.createComponentVNode)(2,k);default:return"WE SHOULDN'T BE HERE!"}},B=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data;return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.4rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-shield",verticalAlign:"middle",size:3,mr:"1rem"}),"Library Manager"]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"trash",width:"auto",color:"danger",content:"Delete Book by SSID",onClick:function(){function i(){return(0,m.modalOpen)(f,"specify_ssid_delete")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"user-slash",width:"auto",color:"danger",content:"Delete All Books By CKEY",onClick:function(){function i(){return(0,m.modalOpen)(f,"specify_ckey_delete")}return i}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Books By CKEY",onClick:function(){function i(){return(0,m.modalOpen)(f,"specify_ckey_search")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"search",width:"auto",content:"View All Reported Books",onClick:function(){function i(){return d("view_reported_books")}return i}()})]})},k=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.reports;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-secret",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"All Reported Books",(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function h(){return d("return")}return h}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Uploader CKEY"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Report Type"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Reporter Ckey"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.uploader_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),h.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:h.report_description}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:h.reporter_ckey}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",onClick:function(){function N(){return d("delete_book",{bookid:h.id})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Unflag",icon:"flag",color:"caution",onClick:function(){function N(){return d("unflag_book",{bookid:h.id})}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function N(){return d("view_book",{bookid:h.id})}return N}()})]})]},h.id)})]})})},C=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.ckey,h=s.booklist;return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Table,{className:"Library__Booklist",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.2rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user",verticalAlign:"middle",size:2,mr:"1rem"}),(0,e.createVNode)(1,"br"),"Books uploaded by ",i,(0,e.createVNode)(1,"br")]}),(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Return to Main",icon:"arrow-alt-circle-left",onClick:function(){function N(){return d("return")}return N}()}),(0,e.createComponentVNode)(2,t.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"SSID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Title"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Author"}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"middle",children:"Administrative Actions"})]}),h.map(function(N){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:N.id}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"book"}),N.title]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"left",children:N.author}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"right",children:[(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Delete",icon:"trash",color:"bad",onClick:function(){function v(){return d("delete_book",{bookid:N.id})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"View",onClick:function(){function v(){return d("view_book",{bookid:N.id})}return v}()})]})]},N.id)})]})})}},90447:function(T,r,n){"use strict";r.__esModule=!0,r.ListInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(36036),m=n(72253),b=n(92986),y=n(98595),B=r.ListInputModal=function(){function l(c,f){var u=(0,m.useBackend)(f),d=u.act,s=u.data,i=s.items,h=i===void 0?[]:i,N=s.message,v=N===void 0?"":N,p=s.init_value,g=s.timeout,V=s.title,S=(0,m.useLocalState)(f,"selected",h.indexOf(p)),I=S[0],L=S[1],w=(0,m.useLocalState)(f,"searchBarVisible",h.length>10),A=w[0],x=w[1],E=(0,m.useLocalState)(f,"searchQuery",""),M=E[0],j=E[1],P=function(){function G(Q){var J=$.length-1;if(Q===b.KEY_DOWN)if(I===null||I===J){var ue;L(0),(ue=document.getElementById("0"))==null||ue.scrollIntoView()}else{var ie;L(I+1),(ie=document.getElementById((I+1).toString()))==null||ie.scrollIntoView()}else if(Q===b.KEY_UP)if(I===null||I===0){var he;L(J),(he=document.getElementById(J.toString()))==null||he.scrollIntoView()}else{var te;L(I-1),(te=document.getElementById((I-1).toString()))==null||te.scrollIntoView()}}return G}(),O=function(){function G(Q){Q!==I&&L(Q)}return G}(),D=function(){function G(){x(!1),x(!0)}return G}(),F=function(){function G(Q){var J=String.fromCharCode(Q),ue=h.find(function(te){return te==null?void 0:te.toLowerCase().startsWith(J==null?void 0:J.toLowerCase())});if(ue){var ie,he=h.indexOf(ue);L(he),(ie=document.getElementById(he.toString()))==null||ie.scrollIntoView()}}return G}(),W=function(){function G(Q){var J;Q!==M&&(j(Q),L(0),(J=document.getElementById("0"))==null||J.scrollIntoView())}return G}(),U=function(){function G(){x(!A),j("")}return G}(),$=h.filter(function(G){return G==null?void 0:G.toLowerCase().includes(M.toLowerCase())}),K=330+Math.ceil(v.length/3);return A||setTimeout(function(){var G;return(G=document.getElementById(I.toString()))==null?void 0:G.focus()},1),(0,e.createComponentVNode)(2,y.Window,{title:V,width:325,height:K,children:[g&&(0,e.createComponentVNode)(2,a.Loader,{value:g}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function G(Q){var J=window.event?Q.which:Q.keyCode;(J===b.KEY_DOWN||J===b.KEY_UP)&&(Q.preventDefault(),P(J)),J===b.KEY_ENTER&&(Q.preventDefault(),d("submit",{entry:$[I]})),!A&&J>=b.KEY_A&&J<=b.KEY_Z&&(Q.preventDefault(),F(J)),J===b.KEY_ESCAPE&&(Q.preventDefault(),d("cancel"))}return G}(),children:(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{compact:!0,icon:A?"search":"font",selected:!0,tooltip:A?"Search Mode. Type to search or use arrow keys to select manually.":"Hotkey Mode. Type a letter to jump to the first match. Enter to select.",tooltipPosition:"left",onClick:function(){function G(){return U()}return G}()}),className:"ListInput__Section",fill:!0,title:v,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,k,{filteredItems:$,onClick:O,onFocusSearch:D,searchBarVisible:A,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:A&&(0,e.createComponentVNode)(2,C,{filteredItems:$,onSearch:W,searchQuery:M,selected:I})}),(0,e.createComponentVNode)(2,o.Stack.Item,{mt:.5,children:(0,e.createComponentVNode)(2,t.InputButtons,{input:$[I]})})]})})})]})}return l}(),k=function(c,f){var u=(0,m.useBackend)(f),d=u.act,s=c.filteredItems,i=c.onClick,h=c.onFocusSearch,N=c.searchBarVisible,v=c.selected;return(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,tabIndex:0,children:s.map(function(p,g){return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:"transparent",id:g,onClick:function(){function V(){return i(g)}return V}(),onDblClick:function(){function V(S){S.preventDefault(),d("submit",{entry:s[v]})}return V}(),onKeyDown:function(){function V(S){var I=window.event?S.which:S.keyCode;N&&I>=b.KEY_A&&I<=b.KEY_Z&&(S.preventDefault(),h())}return V}(),selected:g===v,style:{animation:"none",transition:"none"},children:p.replace(/^\w/,function(V){return V.toUpperCase()})},g)})})},C=function(c,f){var u=(0,m.useBackend)(f),d=u.act,s=c.filteredItems,i=c.onSearch,h=c.searchQuery,N=c.selected;return(0,e.createComponentVNode)(2,o.Input,{width:"100%",autoFocus:!0,autoSelect:!0,onEnter:function(){function v(p){p.preventDefault(),d("submit",{entry:s[N]})}return v}(),onInput:function(){function v(p,g){return i(g)}return v}(),placeholder:"Search...",value:h})}},77613:function(T,r,n){"use strict";r.__esModule=!0,r.MODsuitContent=r.MODsuit=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.NumberInput,{value:A,minValue:-50,maxValue:50,stepPixelSize:5,width:"39px",onChange:function(){function j(P,O){return M("configure",{key:w,value:O,ref:x})}return j}()})},b=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:A,onClick:function(){function j(){return M("configure",{key:w,value:!A,ref:x})}return j}()})},y=function(I,L){var w=I.name,A=I.value,x=I.module_ref,E=(0,a.useBackend)(L),M=E.act;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"paint-brush",onClick:function(){function j(){return M("configure",{key:w,ref:x})}return j}()}),(0,e.createComponentVNode)(2,t.ColorBox,{color:A,mr:.5})],4)},B=function(I,L){var w=I.name,A=I.value,x=I.values,E=I.module_ref,M=(0,a.useBackend)(L),j=M.act;return(0,e.createComponentVNode)(2,t.Dropdown,{displayText:A,options:x,onSelected:function(){function P(O){return j("configure",{key:w,value:O,ref:E})}return P}()})},k=function(I,L){var w=I.name,A=I.display_name,x=I.type,E=I.value,M=I.values,j=I.module_ref,P={number:(0,e.normalizeProps)((0,e.createComponentVNode)(2,m,Object.assign({},I))),bool:(0,e.normalizeProps)((0,e.createComponentVNode)(2,b,Object.assign({},I))),color:(0,e.normalizeProps)((0,e.createComponentVNode)(2,y,Object.assign({},I))),list:(0,e.normalizeProps)((0,e.createComponentVNode)(2,B,Object.assign({},I)))};return(0,e.createComponentVNode)(2,t.Box,{children:[A,": ",P[x]]})},C=function(I,L){var w=I.active,A=I.userradiated,x=I.usertoxins,E=I.usermaxtoxins,M=I.threatlevel;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Radiation Level",color:w&&A?"bad":"good",children:w&&A?"IRRADIATED!":"RADIATION-FREE"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxins Level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?x/E:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:x})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Hazard Level",color:w&&M?"bad":"good",bold:!0,children:w&&M?M:0})})]})},l=function(I,L){var w=I.active,A=I.userhealth,x=I.usermaxhealth,E=I.userbrute,M=I.userburn,j=I.usertoxin,P=I.useroxy;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?A/x:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?A:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?E/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?E:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?M/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?M:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?j/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?P/x:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?P:0})})})})]})],4)},c=function(I,L){var w=I.active,A=I.statustime,x=I.statusid,E=I.statushealth,M=I.statusmaxhealth,j=I.statusbrute,P=I.statusburn,O=I.statustoxin,D=I.statusoxy,F=I.statustemp,W=I.statusnutrition,U=I.statusfingerprints,$=I.statusdna,K=I.statusviruses;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Time",children:w?A:"00:00:00"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Operation Number",children:w?x||"0":"???"})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?E/M:0,ranges:{good:[.5,1/0],average:[.2,.5],bad:[-1/0,.2]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?E:0})})}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Brute",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?j/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?j:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Burn",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?P/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:w?P:0})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Toxin",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?O/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:O})})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Suffocation",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:w?D/M:0,ranges:{good:[-1/0,.2],average:[.2,.5],bad:[.5,1/0]},children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:D})})})})]}),(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Body Temperature",children:w?F:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Nutrition Status",children:w?W:0})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"DNA",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fingerprints",children:w?U:"???"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unique Enzymes",children:w?$:"???"})]})}),!!w&&!!K&&(0,e.createComponentVNode)(2,t.Section,{title:"Diseases",children:(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"signature",tooltip:"Name",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"wind",tooltip:"Type",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Stage",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"flask",tooltip:"Cure",tooltipPosition:"top"})})]}),K.map(function(G){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.type}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[G.stage,"/",G.maxstage]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:G.cure})]},G.name)})]})})],0)},f={rad_counter:C,health_analyzer:l,status_readout:c},u=function(){return(0,e.createComponentVNode)(2,t.Section,{align:"center",fill:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{color:"red",name:"exclamation-triangle",size:15}),(0,e.createComponentVNode)(2,t.Box,{fontSize:"30px",color:"red",children:"ERROR: INTERFACE UNRESPONSIVE"})]})},d=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data;return(0,e.createComponentVNode)(2,t.Dimmer,{children:(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"16px",color:"blue",children:"SUIT UNPOWERED"})})})},s=function(I,L){var w=I.configuration_data,A=I.module_ref,x=Object.keys(w);return(0,e.createComponentVNode)(2,t.Dimmer,{backgroundColor:"rgba(0, 0, 0, 0.8)",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[x.map(function(E){var M=w[E];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{name:E,display_name:M.display_name,type:M.type,value:M.value,values:M.values,module_ref:A})},M.key)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:I.onExit,icon:"times",textAlign:"center",children:"Exit"})})})]})})},i=function(I){switch(I){case 1:return"Use";case 2:return"Toggle";case 3:return"Select"}},h=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.malfunctioning,j=x.locked,P=x.open,O=x.selected_module,D=x.complexity,F=x.complexity_max,W=x.wearer_name,U=x.wearer_job,$=M?"Malfunctioning":E?"Active":"Inactive";return(0,e.createComponentVNode)(2,t.Section,{title:"Parameters",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"power-off",content:E?"Deactivate":"Activate",onClick:function(){function K(){return A("activate")}return K}()}),children:$}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID Lock",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:j?"lock-open":"lock",content:j?"Unlock":"Lock",onClick:function(){function K(){return A("lock")}return K}()}),children:j?"Locked":"Unlocked"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cover",children:P?"Open":"Closed"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Selected Module",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Complexity",children:[D," (",F,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Occupant",children:[W,", ",U]})]})})},N=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.control,j=x.helmet,P=x.chestplate,O=x.gauntlets,D=x.boots,F=x.core,W=x.charge;return(0,e.createComponentVNode)(2,t.Section,{title:"Hardware",children:[(0,e.createComponentVNode)(2,t.Collapsible,{title:"Parts",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Control Unit",children:M}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Helmet",children:j||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Chestplate",children:P||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Gauntlets",children:O||"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Boots",children:D||"None"})]})}),(0,e.createComponentVNode)(2,t.Collapsible,{title:"Core",children:F&&(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Type",children:F}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Core Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:W/100,content:W+"%",ranges:{good:[.6,1/0],average:[.3,.6],bad:[-1/0,.3]}})})]})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",textAlign:"center",children:"No Core Detected"})})]})},v=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.active,M=x.modules,j=M.filter(function(P){return!!P.id});return(0,e.createComponentVNode)(2,t.Section,{title:"Info",children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:j.length!==0&&j.map(function(P){var O=f[P.id];return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[!E&&(0,e.createComponentVNode)(2,d),(0,e.normalizeProps)((0,e.createComponentVNode)(2,O,Object.assign({},P,{active:E})))]},P.ref)})||(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Info Modules Detected"})})})},p=function(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.complexity_max,M=x.modules,j=(0,a.useLocalState)(L,"module_configuration",null),P=j[0],O=j[1];return(0,e.createComponentVNode)(2,t.Section,{title:"Modules",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:M.length!==0&&M.map(function(D){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Collapsible,{title:D.module_name,children:(0,e.createComponentVNode)(2,t.Section,{children:[P===D.ref&&(0,e.createComponentVNode)(2,s,{configuration_data:D.configuration_data,module_ref:D.ref,onExit:function(){function F(){return O(null)}return F}()}),(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"save",tooltip:"Complexity",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"plug",tooltip:"Idle Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"lightbulb",tooltip:"Active Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"bolt",tooltip:"Use Power Cost",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"hourglass-half",tooltip:"Cooldown",tooltipPosition:"top"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{color:"transparent",icon:"tasks",tooltip:"Actions",tooltipPosition:"top"})})]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.module_complexity,"/",E]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.idle_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.active_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:D.use_power}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[D.cooldown>0&&D.cooldown/10||"0","/",D.cooldown_time/10,"s"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("select",{ref:D.ref})}return F}(),icon:"bullseye",selected:D.module_active,tooltip:i(D.module_type),tooltipPosition:"left",disabled:!D.module_type}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return O(D.ref)}return F}(),icon:"cog",selected:P===D.ref,tooltip:"Configure",tooltipPosition:"left",disabled:D.configuration_data.length===0}),(0,e.createComponentVNode)(2,t.Button,{onClick:function(){function F(){return A("pin",{ref:D.ref})}return F}(),icon:"thumbtack",selected:D.pinned,tooltip:"Pin",tooltipPosition:"left",disabled:!D.module_type})]})]})]}),(0,e.createComponentVNode)(2,t.Box,{children:D.description})]})})},D.ref)})||(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",children:"No Modules Detected"})})})})},g=r.MODsuitContent=function(){function S(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!M,children:!!M&&(0,e.createComponentVNode)(2,u)||(0,e.createComponentVNode)(2,t.Stack,{vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,h)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,N)}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,v)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,p)})]})})}return S}(),V=r.MODsuit=function(){function S(I,L){var w=(0,a.useBackend)(L),A=w.act,x=w.data,E=x.ui_theme,M=x.interface_break;return(0,e.createComponentVNode)(2,o.Window,{theme:E,width:400,height:620,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,g)})})})}return S}()},78624:function(T,r,n){"use strict";r.__esModule=!0,r.MagnetController=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=n(3939),y=new Map([["n",{icon:"arrow-up",tooltip:"Move North"}],["e",{icon:"arrow-right",tooltip:"Move East"}],["s",{icon:"arrow-down",tooltip:"Move South"}],["w",{icon:"arrow-left",tooltip:"Move West"}],["c",{icon:"crosshairs",tooltip:"Move to Magnet"}],["r",{icon:"dice",tooltip:"Move Randomly"}]]),B=r.MagnetController=function(){function k(C,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,d=u.autolink,s=u.code,i=u.frequency,h=u.linkedMagnets,N=u.magnetConfiguration,v=u.path,p=u.pathPosition,g=u.probing,V=u.powerState,S=u.speed;return(0,e.createComponentVNode)(2,m.Window,{width:400,height:600,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[!d&&(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{content:"Probe",icon:g?"spinner":"sync",iconSpin:!!g,disabled:g,onClick:function(){function I(){return f("probe_magnets")}return I}()}),title:"Magnet Linking",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,a.toFixed)(i/10,1)}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:s})]})}),(0,e.createComponentVNode)(2,o.Section,{buttons:(0,e.createComponentVNode)(2,o.Button,{icon:V?"power-off":"times",content:V?"On":"Off",selected:V,onClick:function(){function I(){return f("toggle_power")}return I}()}),title:"Controller Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:S.value,minValue:S.min,maxValue:S.max,onChange:function(){function I(L,w){return f("set_speed",{speed:w})}return I}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Path",children:[Array.from(y.entries()).map(function(I){var L=I[0],w=I[1],A=w.icon,x=w.tooltip;return(0,e.createComponentVNode)(2,o.Button,{icon:A,tooltip:x,onClick:function(){function E(){return f("path_add",{code:L})}return E}()},L)}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",confirmIcon:"trash",confirmContent:"",float:"right",tooltip:"Reset Path",tooltipPosition:"left",onClick:function(){function I(){return f("path_clear")}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"file-import",float:"right",tooltip:"Manually input path",tooltipPosition:"left",onClick:function(){function I(){return(0,b.modalOpen)(l,"path_custom_input")}return I}()}),(0,e.createComponentVNode)(2,o.BlockQuote,{children:v.map(function(I,L){var w=y.get(I)||{icon:"question"},A=w.icon,x=w.tooltip;return(0,e.createComponentVNode)(2,o.Button.Confirm,{selected:L+2===p,icon:A,confirmIcon:A,confirmContent:"",tooltip:x,onClick:function(){function E(){return f("path_remove",{index:L+1,code:I})}return E}()},L)})})]})]})}),h.map(function(I,L){var w=I.uid,A=I.powerState,x=I.electricityLevel,E=I.magneticField;return(0,e.createComponentVNode)(2,o.Section,{title:"Magnet #"+(L+1)+" Configuration",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:A?"power-off":"times",content:A?"On":"Off",selected:A,onClick:function(){function M(){return f("toggle_magnet_power",{id:w})}return M}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Move Speed",children:(0,e.createComponentVNode)(2,o.Slider,{value:x,minValue:N.electricityLevel.min,maxValue:N.electricityLevel.max,onChange:function(){function M(j,P){return f("set_electricity_level",{id:w,electricityLevel:P})}return M}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Field Size",children:(0,e.createComponentVNode)(2,o.Slider,{value:E,minValue:N.magneticField.min,maxValue:N.magneticField.max,onChange:function(){function M(j,P){return f("set_magnetic_field",{id:w,magneticField:P})}return M}()})})]})},w)})]})]})}return k}()},72106:function(T,r,n){"use strict";r.__esModule=!0,r.MechBayConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.MechBayConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.recharge_port,f=c&&c.mech,u=f&&f.cell,d=f&&f.name;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:155,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:d?"Mech status: "+d:"Mech status",textAlign:"center",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Sync",onClick:function(){function s(){return C("reconnect")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:f.health/f.maxhealth,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No power port detected. Please re-sync."})||!f&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No mech detected."})||!u&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cell is installed."})||(0,e.createComponentVNode)(2,t.ProgressBar,{value:u.charge/u.maxcharge,ranges:{good:[.7,1/0],average:[.3,.7],bad:[-1/0,.3]},children:[(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:u.charge})," / "+u.maxcharge]})})]})})})})}return b}()},7466:function(T,r,n){"use strict";r.__esModule=!0,r.MechaControlConsole=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=n(25328),y=r.MechaControlConsole=function(){function B(k,C){var l=(0,t.useBackend)(C),c=l.act,f=l.data,u=f.beacons,d=f.stored_data;return d.length?(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Section,{title:"Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"window-close",onClick:function(){function s(){return c("clear_log")}return s}()}),children:d.map(function(s){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",children:["(",s.time,")"]}),(0,e.createComponentVNode)(2,o.Box,{children:(0,b.decodeHtmlEntities)(s.message)})]},s.time)})})})}):(0,e.createComponentVNode)(2,m.Window,{width:420,height:500,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:u.length&&u.map(function(s){return(0,e.createComponentVNode)(2,o.Section,{title:s.name,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function i(){return c("send_message",{mt:s.uid})}return i}(),children:"Message"}),(0,e.createComponentVNode)(2,o.Button,{icon:"eye",onClick:function(){function i(){return c("get_log",{mt:s.uid})}return i}(),children:"View Log"}),(0,e.createComponentVNode)(2,o.Button.Confirm,{color:"red",content:"Sabotage",icon:"bomb",onClick:function(){function i(){return c("shock",{mt:s.uid})}return i}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.maxHealth*.75,1/0],average:[s.maxHealth*.5,s.maxHealth*.75],bad:[-1/0,s.maxHealth*.5]},value:s.health,maxValue:s.maxHealth})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cell Charge",children:s.cell&&(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{good:[s.cellMaxCharge*.75,1/0],average:[s.cellMaxCharge*.5,s.cellMaxCharge*.75],bad:[-1/0,s.cellMaxCharge*.5]},value:s.cellCharge,maxValue:s.cellMaxCharge})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No Cell Installed"})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Air Tank",children:[s.airtank,"kPa"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pilot",children:s.pilot||"Unoccupied"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:(0,b.toTitleCase)(s.location)||"Unknown"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Active Equipment",children:s.active||"None"}),s.cargoMax&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cargo Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{ranges:{bad:[s.cargoMax*.75,1/0],average:[s.cargoMax*.5,s.cargoMax*.75],good:[-1/0,s.cargoMax*.5]},value:s.cargoUsed,maxValue:s.cargoMax})})||null]})},s.name)})||(0,e.createComponentVNode)(2,o.NoticeBox,{children:"No mecha beacons found."})})})}return B}()},79625:function(T,r,n){"use strict";r.__esModule=!0,r.MedicalRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(3939),b=n(98595),y=n(321),B=n(5485),k=n(22091),C={Minor:"lightgray",Medium:"good",Harmful:"average","Dangerous!":"bad","BIOHAZARD THREAT!":"darkred"},l={"*Deceased*":"deceased","*SSD*":"ssd","Physically Unfit":"physically_unfit",Disabled:"disabled"},c=function(A,x){(0,m.modalOpen)(A,"edit",{field:x.edit,value:x.value})},f=function(A,x){var E=A.args;return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:E.name||"Virus",children:(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Number of stages",children:E.max_stages}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Spread",children:[E.spread_text," Transmission"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Possible cure",children:E.cure}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Notes",children:E.desc}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Severity",color:C[E.severity],children:E.severity})]})})})},u=r.MedicalRecords=function(){function w(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.loginState,P=M.screen;if(!j.logged_in)return(0,e.createComponentVNode)(2,b.Window,{width:800,height:900,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,B.LoginScreen)})});var O;return P===2?O=(0,e.createComponentVNode)(2,d):P===3?O=(0,e.createComponentVNode)(2,s):P===4?O=(0,e.createComponentVNode)(2,i):P===5?O=(0,e.createComponentVNode)(2,p):P===6?O=(0,e.createComponentVNode)(2,g):P===7&&(O=(0,e.createComponentVNode)(2,V)),(0,e.createComponentVNode)(2,b.Window,{width:800,height:900,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,L),O]})})]})}return w}(),d=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.records,O=(0,t.useLocalState)(x,"searchText",""),D=O[0],F=O[1],W=(0,t.useLocalState)(x,"sortId","name"),U=W[0],$=W[1],K=(0,t.useLocalState)(x,"sortOrder",!0),G=K[0],Q=K[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Manage Records",icon:"wrench",ml:"0.25rem",onClick:function(){function J(){return M("screen",{screen:3})}return J}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search by Name, ID, Physical Status, or Mental Status",onInput:function(){function J(ue,ie){return F(ie)}return J}()})})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,S,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,S,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,S,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,S,{id:"p_stat",children:"Patient Status"}),(0,e.createComponentVNode)(2,S,{id:"m_stat",children:"Mental Status"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.id+"|"+J.rank+"|"+J.p_stat+"|"+J.m_stat})).sort(function(J,ue){var ie=G?1:-1;return J[U].localeCompare(ue[U])*ie}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listRow--"+l[J.p_stat],onClick:function(){function ue(){return M("view_record",{view_record:J.ref})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.p_stat}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.m_stat})]},J.id)})]})})})],4)},s=function(A,x){var E=(0,t.useBackend)(x),M=E.act;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,translucent:!0,lineHeight:3,icon:"download",content:"Backup to Disk",disabled:!0})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,translucent:!0,lineHeight:3,icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0})," "]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button.Confirm,{fluid:!0,translucent:!0,lineHeight:3,icon:"trash",content:"Delete All Medical Records",onClick:function(){function j(){return M("del_all_med_records")}return j}()})})]})})},i=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical,O=j.printing;return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{height:"235px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:O?"spinner":"print",disabled:O,iconSpin:!!O,content:"Print Record",ml:"0.5rem",onClick:function(){function D(){return M("print_record")}return D}()}),children:(0,e.createComponentVNode)(2,h)})}),!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function D(){return M("new_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Medical records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Medical Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:!!P.empty,content:"Delete Medical Record",onClick:function(){function D(){return M("del_med_record")}return D}()}),children:(0,e.createComponentVNode)(2,N)})}),(0,e.createComponentVNode)(2,v)],4)],0)},h=function(A,x){var E=(0,t.useBackend)(x),M=E.data,j=M.general;return!j||!j.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:j.fields.map(function(P,O){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:P.field,children:[(0,e.createComponentVNode)(2,o.Box,{height:"20px",inline:!0,children:P.value}),!!P.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",onClick:function(){function D(){return c(x,P)}return D}()})]},O)})})}),!!j.has_photos&&j.photos.map(function(P,O){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:P,style:{width:"96px","margin-top":"2.5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",O+1]},O)})]})},N=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return!P||!P.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"Medical records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:P.fields.map(function(O,D){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:O.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(O.value),!!O.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:O.line_break?"1rem":"initial",onClick:function(){function F(){return c(x,O)}return F}()})]},D)})})})})},v=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medical;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function O(){return(0,m.modalOpen)(x,"add_comment")}return O}()}),children:P.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):P.comments.map(function(O,D){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:O.header}),(0,e.createVNode)(1,"br"),O.text,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function F(){return M("del_comment",{del_comment:D+1})}return F}()})]},D)})})})},p=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.virus,O=(0,t.useLocalState)(x,"searchText",""),D=O[0],F=O[1],W=(0,t.useLocalState)(x,"sortId2","name"),U=W[0],$=W[1],K=(0,t.useLocalState)(x,"sortOrder2",!0),G=K[0],Q=K[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{ml:"0.25rem",fluid:!0,placeholder:"Search by Name, Max Stages, or Severity",onInput:function(){function J(ue,ie){return F(ie)}return J}()})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,I,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,I,{id:"max_stages",children:"Max Stages"}),(0,e.createComponentVNode)(2,I,{id:"severity",children:"Severity"})]}),P.filter((0,a.createSearch)(D,function(J){return J.name+"|"+J.max_stages+"|"+J.severity})).sort(function(J,ue){var ie=G?1:-1;return J[U].localeCompare(ue[U])*ie}).map(function(J){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listVirus--"+J.severity,onClick:function(){function ue(){return M("vir",{vir:J.D})}return ue}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"virus"})," ",J.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:J.max_stages}),(0,e.createComponentVNode)(2,o.Table.Cell,{color:C[J.severity],children:J.severity})]},J.id)})]})})})})],4)},g=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.goals;return(0,e.createComponentVNode)(2,o.Section,{title:"Virology Goals",fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:P.length!==0&&P.map(function(O){return(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:O.name,children:[(0,e.createComponentVNode)(2,o.Table,{children:(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{textAlign:"center",children:(0,e.createComponentVNode)(2,o.ProgressBar,{value:O.delivered,minValue:0,maxValue:O.deliverygoal,ranges:{good:[O.deliverygoal*.5,1/0],average:[O.deliverygoal*.25,O.deliverygoal*.5],bad:[-1/0,O.deliverygoal*.25]},children:[O.delivered," / ",O.deliverygoal," Units"]})})})}),(0,e.createComponentVNode)(2,o.Box,{children:O.report})]})},O.id)})||(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Box,{textAlign:"center",children:"No Goals Detected"})})})})},V=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.medbots;return P.length===0?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"robot",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"There are no Medibots."]})})})}):(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"MedicalRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Area"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Chemicals"})]}),P.map(function(O){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"MedicalRecords__listMedbot--"+O.on,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"medical"})," ",O.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[O.area||"Unknown"," (",O.x,", ",O.y,")"]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.on?(0,e.createComponentVNode)(2,o.Box,{color:"good",children:"Online"}):(0,e.createComponentVNode)(2,o.Box,{color:"average",children:"Offline"})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:O.use_beaker?"Reservoir: "+O.total_volume+"/"+O.maximum_volume:"Using internal synthesizer"})]},O.id)})]})})})},S=function(A,x){var E=(0,t.useLocalState)(x,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder",!0),O=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function U(){M===F?D(!O):(j(F),D(!0))}return U}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},I=function(A,x){var E=(0,t.useLocalState)(x,"sortId2","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(x,"sortOrder2",!0),O=P[0],D=P[1],F=A.id,W=A.children;return(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,color:M!==F&&"transparent",onClick:function(){function U(){M===F?D(!O):(j(F),D(!0))}return U}(),children:[W,M===F&&(0,e.createComponentVNode)(2,o.Icon,{name:O?"sort-up":"sort-down",ml:"0.25rem;"})]})})},L=function(A,x){var E=(0,t.useBackend)(x),M=E.act,j=E.data,P=j.screen,O=j.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:P===2,onClick:function(){function D(){M("screen",{screen:2})}return D}(),children:"List Records"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"database",selected:P===5,onClick:function(){function D(){M("screen",{screen:5})}return D}(),children:"Virus Database"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"vial",selected:P===6,onClick:function(){function D(){M("screen",{screen:6})}return D}(),children:"Virology Goals"}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"plus-square",selected:P===7,onClick:function(){function D(){return M("screen",{screen:7})}return D}(),children:"Medibot Tracking"}),P===3&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:P===3,children:"Record Maintenance"}),P===4&&O&&!O.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:P===4,children:["Record: ",O.fields[0].value]})]})})};(0,m.modalRegisterBodyOverride)("virus",f)},54989:function(T,r,n){"use strict";r.__esModule=!0,r.MerchVendor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=C.product,s=C.productImage,i=C.productCategory,h=u.user_money;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:d.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{disabled:d.price>h,icon:"shopping-cart",content:d.price,textAlign:"left",onClick:function(){function N(){return f("purchase",{name:d.name,category:i})}return N}()})})]})},b=function(C,l){var c=(0,a.useBackend)(l),f=c.data,u=(0,a.useLocalState)(l,"tabIndex",1),d=u[0],s=f.products,i=f.imagelist,h=["apparel","toy","decoration"];return(0,e.createComponentVNode)(2,t.Table,{children:s[h[d]].map(function(N){return(0,e.createComponentVNode)(2,m,{product:N,productImage:i[N.path],productCategory:h[d]},N.name)})})},y=r.MerchVendor=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.user_cash,s=u.inserted_cash;return(0,e.createComponentVNode)(2,o.Window,{title:"Merch Computer",width:450,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{color:"light-grey",inline:!0,mr:"0.5rem",children:["There is ",(0,e.createVNode)(1,"b",null,s,0)," credits inserted."]}),(0,e.createComponentVNode)(2,t.Button,{disabled:!s,icon:"money-bill-wave-alt",content:"Dispense Change",textAlign:"left",onClick:function(){function i(){return f("change")}return i}()})],4),children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:["Doing your job and not getting any recognition at work? Well, welcome to the merch shop! Here, you can buy cool things in exchange for money you earn when you have completed your Job Objectives.",d!==null&&(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:["Your balance is ",(0,e.createVNode)(1,"b",null,[d||0,(0,e.createTextVNode)(" credits")],0),"."]})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,b)]})})]})})})}return k}(),B=function(C,l){var c=(0,a.useBackend)(l),f=c.data,u=(0,a.useLocalState)(l,"tabIndex",1),d=u[0],s=u[1],i=f.login_state;return(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"dice",selected:d===1,onClick:function(){function h(){return s(1)}return h}(),children:"Toys"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"flag",selected:d===2,onClick:function(){function h(){return s(2)}return h}(),children:"Decorations"})]})}},87684:function(T,r,n){"use strict";r.__esModule=!0,r.MiningVendor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=["title","items"];function y(u,d){if(u==null)return{};var s={};for(var i in u)if({}.hasOwnProperty.call(u,i)){if(d.includes(i))continue;s[i]=u[i]}return s}var B={Alphabetical:function(){function u(d,s){return d-s}return u}(),Availability:function(){function u(d,s){return-(d.affordable-s.affordable)}return u}(),Price:function(){function u(d,s){return d.price-s.price}return u}()},k=r.MiningVendor=function(){function u(d,s){return(0,e.createComponentVNode)(2,m.Window,{width:400,height:455,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,C),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,l)]})})})}return u}(),C=function(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.has_id,p=N.id;return(0,e.createComponentVNode)(2,o.NoticeBox,{success:v,children:v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",p.name,".",(0,e.createVNode)(1,"br"),"You have ",p.points.toLocaleString("en-US")," points."]}),(0,e.createComponentVNode)(2,o.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){function g(){return h("logoff")}return g}()}),(0,e.createComponentVNode)(2,o.Box,{style:{clear:"both"}})],4):"Please insert an ID in order to make purchases."})},l=function(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.has_id,p=N.id,g=N.items,V=(0,t.useLocalState)(s,"search",""),S=V[0],I=V[1],L=(0,t.useLocalState)(s,"sort","Alphabetical"),w=L[0],A=L[1],x=(0,t.useLocalState)(s,"descending",!1),E=x[0],M=x[1],j=(0,a.createSearch)(S,function(D){return D[0]}),P=!1,O=Object.entries(g).map(function(D,F){var W=Object.entries(D[1]).filter(j).map(function(U){return U[1].affordable=v&&p.points>=U[1].price,U[1]}).sort(B[w]);if(W.length!==0)return E&&(W=W.reverse()),P=!0,(0,e.createComponentVNode)(2,f,{title:D[0],items:W},D[0])});return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:P?O:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No items matching your criteria was found!"})})})},c=function(d,s){var i=(0,t.useLocalState)(s,"search",""),h=i[0],N=i[1],v=(0,t.useLocalState)(s,"sort",""),p=v[0],g=v[1],V=(0,t.useLocalState)(s,"descending",!1),S=V[0],I=V[1];return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{mt:.2,placeholder:"Search by item name..",width:"100%",onInput:function(){function L(w,A){return N(A)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:"Alphabetical",options:Object.keys(B),width:"100%",onSelected:function(){function L(w){return g(w)}return L}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{icon:S?"arrow-down":"arrow-up",height:"21px",tooltip:S?"Descending order":"Ascending order",tooltipPosition:"bottom-start",onClick:function(){function L(){return I(!S)}return L}()})})]})})},f=function(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=d.title,p=d.items,g=y(d,b);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Collapsible,Object.assign({open:!0,title:v},g,{children:p.map(function(V){return(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,o.Box,{inline:!0,verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:V.name}),(0,e.createComponentVNode)(2,o.Button,{disabled:!N.has_id||N.id.points0?'\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043F\u043E\u0438\u0441\u043A\u0430 "'+d+'"':"\u0412\u0441\u0435 \u043C\u043E\u0434\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 - "+f.length,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:f.filter(function(h){return h.name&&(d.length>0?h.name.toLowerCase().includes(d.toLowerCase())||h.desc.toLowerCase().includes(d.toLowerCase())||h.author.toLowerCase().includes(d.toLowerCase()):!0)}).map(function(h){return(0,e.createComponentVNode)(2,o.Collapsible,{title:h.name,children:[(0,e.createComponentVNode)(2,o.Section,{title:"\u0410\u0432\u0442\u043E\u0440\u044B",children:h.author}),(0,e.createComponentVNode)(2,o.Section,{title:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",children:h.desc})]},h.name)})})})})})],4)}return y}()},59783:function(T,r,n){"use strict";r.__esModule=!0,r.NTRecruiter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.NTRecruiter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.gamestatus,f=l.cand_name,u=l.cand_birth,d=l.cand_age,s=l.cand_species,i=l.cand_planet,h=l.cand_job,N=l.cand_records,v=l.cand_curriculum,p=l.total_curriculums,g=l.reason;if(c===0)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"45%",fontSize:"31px",color:"white",textAlign:"center",bold:!0,children:"Nanotrasen Recruiter Simulator"}),(0,e.createComponentVNode)(2,t.Stack.Item,{pt:"1%",fontSize:"16px",textAlign:"center",color:"label",children:"Work as the Nanotrasen recruiter and avoid hiring incompetent employees!"})]})}),(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"play",color:"green",content:"Begin Shift",onClick:function(){function V(){return C("start_game")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{textAlign:"center",lineHeight:2,fluid:!0,icon:"info",color:"blue",content:"Guide",onClick:function(){function V(){return C("instructions")}return V}()})]})]})})});if(c===1)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,color:"grey",title:"Guide",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Main Menu",onClick:function(){function V(){return C("back_to_menu")}return V}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"1#",color:"silver",children:["To win this game you must hire/dismiss ",(0,e.createVNode)(1,"b",null,p,0)," candidates, one wrongly made choice leads to a game over."]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"2#",color:"silver",children:"Make the right choice by truly putting yourself into the skin of a recruiter working for Nanotrasen!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"3#",color:"silver",children:[(0,e.createVNode)(1,"b",null,"Unique",16)," characters may appear, pay attention to them!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"4#",color:"silver",children:"Make sure to pay attention to details like age, planet names, the requested job and even the species of the candidate!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"5#",color:"silver",children:["Not every employment record is good, remember to make your choice based on the ",(0,e.createVNode)(1,"b",null,"company morals",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"6#",color:"silver",children:"The planet of origin has no restriction on the species of the candidate, don't think too much when you see humans that came from Boron!"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"7#",color:"silver",children:["Pay attention to ",(0,e.createVNode)(1,"b",null,"typos",16)," and ",(0,e.createVNode)(1,"b",null,"missing words",16),", these do make for bad applications!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"8#",color:"silver",children:["Remember, you are recruiting people to work at one of the many NT stations, so no hiring for"," ",(0,e.createVNode)(1,"b",null,"jobs",16)," that they ",(0,e.createVNode)(1,"b",null,"don't offer",16),"!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"9#",color:"silver",children:["Keep your eyes open for incompatible ",(0,e.createVNode)(1,"b",null,"naming schemes",16),", no company wants a Vox named Joe!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10#",color:"silver",children:["For some unknown reason ",(0,e.createVNode)(1,"b",null,"clowns",16)," are never denied by the company, no matter what."]})]})})})})});if(c===2)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,color:"label",fontSize:"14px",title:"Employment Applications",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"24px",textAlign:"center",color:"silver",bold:!0,children:["Candidate Number #",v]}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",color:"silver",children:(0,e.createVNode)(1,"b",null,f,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Species",color:"silver",children:(0,e.createVNode)(1,"b",null,s,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Age",color:"silver",children:(0,e.createVNode)(1,"b",null,d,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Date of Birth",color:"silver",children:(0,e.createVNode)(1,"b",null,u,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Planet of Origin",color:"silver",children:(0,e.createVNode)(1,"b",null,i,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requested Job",color:"silver",children:(0,e.createVNode)(1,"b",null,h,0)}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Employment Records",color:"silver",children:(0,e.createVNode)(1,"b",null,N,0)})]})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Stamp the application!",color:"grey",textAlign:"center",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"red",content:"Dismiss",fontSize:"150%",icon:"ban",lineHeight:4.5,onClick:function(){function V(){return C("dismiss")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"green",content:"Hire",fontSize:"150%",icon:"arrow-circle-up",lineHeight:4.5,onClick:function(){function V(){return C("hire")}return V}()})})]})})})]})})});if(c===3)return(0,e.createComponentVNode)(2,o.Window,{width:400,height:550,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{pt:"40%",fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,color:"red",fontSize:"50px",textAlign:"center",children:"Game Over"}),(0,e.createComponentVNode)(2,t.Stack.Item,{fontSize:"15px",color:"label",textAlign:"center",children:g}),(0,e.createComponentVNode)(2,t.Stack.Item,{color:"blue",fontSize:"20px",textAlign:"center",pt:"10px",children:["FINAL SCORE: ",v-1,"/",p]})]})}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{lineHeight:4,fluid:!0,icon:"arrow-left",content:"Main Menu",onClick:function(){function V(){return C("back_to_menu")}return V}()})})]})})})}return b}()},64713:function(T,r,n){"use strict";r.__esModule=!0,r.Newscaster=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(76910),b=n(98595),y=n(3939),B=n(22091),k=["icon","iconSpin","selected","security","onClick","title","children"],C=["name"];function l(I,L){if(I==null)return{};var w={};for(var A in I)if({}.hasOwnProperty.call(I,A)){if(L.includes(A))continue;w[A]=I[A]}return w}var c=128,f=["security","engineering","medical","science","service","supply"],u={security:{title:"Security",fluff_text:"Help keep the crew safe"},engineering:{title:"Engineering",fluff_text:"Ensure the station runs smoothly"},medical:{title:"Medical",fluff_text:"Practice medicine and save lives"},science:{title:"Science",fluff_text:"Develop new technologies"},service:{title:"Service",fluff_text:"Provide amenities to the crew"},supply:{title:"Supply",fluff_text:"Keep the station supplied"}},d=r.Newscaster=function(){function I(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.is_security,j=E.is_admin,P=E.is_silent,O=E.is_printing,D=E.screen,F=E.channels,W=E.channel_idx,U=W===void 0?-1:W,$=(0,t.useLocalState)(w,"menuOpen",!1),K=$[0],G=$[1],Q=(0,t.useLocalState)(w,"viewingPhoto",""),J=Q[0],ue=Q[1],ie=(0,t.useLocalState)(w,"censorMode",!1),he=ie[0],te=ie[1],q;D===0||D===2?q=(0,e.createComponentVNode)(2,i):D===1&&(q=(0,e.createComponentVNode)(2,h));var ne=F.reduce(function(le,ee){return le+ee.unread},0);return(0,e.createComponentVNode)(2,b.Window,{theme:M&&"security",width:800,height:600,children:[J?(0,e.createComponentVNode)(2,p):(0,e.createComponentVNode)(2,y.ComplexModal,{maxWidth:window.innerWidth/1.5+"px",maxHeight:window.innerHeight/1.5+"px"}),(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Section,{fill:!0,className:(0,a.classes)(["Newscaster__menu",K&&"Newscaster__menu--open"]),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,s,{icon:"bars",title:"Toggle Menu",onClick:function(){function le(){return G(!K)}return le}()}),(0,e.createComponentVNode)(2,s,{icon:"newspaper",title:"Headlines",selected:D===0,onClick:function(){function le(){return x("headlines")}return le}(),children:ne>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:ne>=10?"9+":ne})}),(0,e.createComponentVNode)(2,s,{icon:"briefcase",title:"Job Openings",selected:D===1,onClick:function(){function le(){return x("jobs")}return le}()}),(0,e.createComponentVNode)(2,o.Divider)]}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:F.map(function(le){return(0,e.createComponentVNode)(2,s,{icon:le.icon,title:le.name,selected:D===2&&F[U-1]===le,onClick:function(){function ee(){return x("channel",{uid:le.uid})}return ee}(),children:le.unread>0&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--unread",children:le.unread>=10?"9+":le.unread})},le)})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:[(0,e.createComponentVNode)(2,o.Divider),(!!M||!!j)&&(0,e.createFragment)([(0,e.createComponentVNode)(2,s,{security:!0,icon:"exclamation-circle",title:"Edit Wanted Notice",mb:"0.5rem",onClick:function(){function le(){return(0,y.modalOpen)(w,"wanted_notice")}return le}()}),(0,e.createComponentVNode)(2,s,{security:!0,icon:he?"minus-square":"minus-square-o",title:"Censor Mode: "+(he?"On":"Off"),mb:"0.5rem",onClick:function(){function le(){return te(!he)}return le}()}),(0,e.createComponentVNode)(2,o.Divider)],4),(0,e.createComponentVNode)(2,s,{icon:"pen-alt",title:"New Story",mb:"0.5rem",onClick:function(){function le(){return(0,y.modalOpen)(w,"create_story")}return le}()}),(0,e.createComponentVNode)(2,s,{icon:"plus-circle",title:"New Channel",onClick:function(){function le(){return(0,y.modalOpen)(w,"create_channel")}return le}()}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,s,{icon:O?"spinner":"print",iconSpin:O,title:O?"Printing...":"Print Newspaper",onClick:function(){function le(){return x("print_newspaper")}return le}()}),(0,e.createComponentVNode)(2,s,{icon:P?"volume-mute":"volume-up",title:"Mute: "+(P?"On":"Off"),onClick:function(){function le(){return x("toggle_mute")}return le}()})]})]})}),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,width:"100%",children:[(0,e.createComponentVNode)(2,B.TemporaryNotice),q]})]})})]})}return I}(),s=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=L.icon,M=E===void 0?"":E,j=L.iconSpin,P=L.selected,O=P===void 0?!1:P,D=L.security,F=D===void 0?!1:D,W=L.onClick,U=L.title,$=L.children,K=l(L,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({className:(0,a.classes)(["Newscaster__menuButton",O&&"Newscaster__menuButton--selected",F&&"Newscaster__menuButton--security"]),onClick:W},K,{children:[O&&(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--selectedBar"}),(0,e.createComponentVNode)(2,o.Icon,{name:M,spin:j,size:"2"}),(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__menuButton--title",children:U}),$]})))},i=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.screen,j=E.is_admin,P=E.channel_idx,O=E.channel_can_manage,D=E.channels,F=E.stories,W=E.wanted,U=(0,t.useLocalState)(w,"fullStories",[]),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"censorMode",!1),Q=G[0],J=G[1],ue=M===2&&P>-1?D[P-1]:null;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!W&&(0,e.createComponentVNode)(2,N,{story:W,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:ue?ue.icon:"newspaper",mr:"0.5rem"}),ue?ue.name:"Headlines"],0),children:F.length>0?F.slice().reverse().map(function(ie){return!$.includes(ie.uid)&&ie.body.length+3>c?Object.assign({},ie,{body_short:ie.body.substr(0,c-4)+"..."}):ie}).map(function(ie,he){return(0,e.createComponentVNode)(2,N,{story:ie},he)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no stories at this time."]})}),!!ue&&(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,height:"40%",title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"info-circle",mr:"0.5rem"}),(0,e.createTextVNode)("About")],4),buttons:(0,e.createFragment)([Q&&(0,e.createComponentVNode)(2,o.Button,{disabled:!!ue.admin&&!j,selected:ue.censored,icon:ue.censored?"comment-slash":"comment",content:ue.censored?"Uncensor Channel":"Censor Channel",mr:"0.5rem",onClick:function(){function ie(){return x("censor_channel",{uid:ue.uid})}return ie}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!O,icon:"cog",content:"Manage",onClick:function(){function ie(){return(0,y.modalOpen)(w,"manage_channel",{uid:ue.uid})}return ie}()})],0),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",children:ue.description||"N/A"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:ue.author||"N/A"}),!!j&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Ckey",children:ue.author_ckey}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Public",children:ue.public?"Yes":"No"}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Total Views",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"eye",mr:"0.5rem"}),F.reduce(function(ie,he){return ie+he.view_count},0).toLocaleString()]})]})})]})},h=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.jobs,j=E.wanted,P=Object.entries(M).reduce(function(O,D){var F=D[0],W=D[1];return O+W.length},0);return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[!!j&&(0,e.createComponentVNode)(2,N,{story:j,wanted:!0}),(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"briefcase",mr:"0.5rem"}),(0,e.createTextVNode)("Job Openings")],4),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:"Work for a better future at Nanotrasen"}),children:P>0?f.map(function(O){return Object.assign({},u[O],{id:O,jobs:M[O]})}).filter(function(O){return!!O&&O.jobs.length>0}).map(function(O){return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__jobCategory","Newscaster__jobCategory--"+O.id]),title:O.title,buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",color:"label",children:O.fluff_text}),children:O.jobs.map(function(D){return(0,e.createComponentVNode)(2,o.Box,{class:(0,a.classes)(["Newscaster__jobOpening",!!D.is_command&&"Newscaster__jobOpening--command"]),children:["\u2022 ",D.title]},D.title)})},O.id)}):(0,e.createComponentVNode)(2,o.Box,{className:"Newscaster__emptyNotice",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"times",size:"3"}),(0,e.createVNode)(1,"br"),"There are no openings at this time."]})}),(0,e.createComponentVNode)(2,o.Section,{height:"17%",children:["Interested in serving Nanotrasen?",(0,e.createVNode)(1,"br"),"Sign up for any of the above position now at the ",(0,e.createVNode)(1,"b",null,"Head of Personnel's Office!",16),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.Box,{as:"small",color:"label",children:"By signing up for a job at Nanotrasen, you agree to transfer your soul to the loyalty department of the omnipresent and helpful watcher of humanity."})]})]})},N=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=L.story,j=L.wanted,P=j===void 0?!1:j,O=E.is_admin,D=(0,t.useLocalState)(w,"fullStories",[]),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"censorMode",!1),$=U[0],K=U[1];return(0,e.createComponentVNode)(2,o.Section,{className:(0,a.classes)(["Newscaster__story",P&&"Newscaster__story--wanted"]),title:(0,e.createFragment)([P&&(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle",mr:"0.5rem"}),M.censor_flags&2&&"[REDACTED]"||M.title||"News from "+M.author],0),buttons:(0,e.createComponentVNode)(2,o.Box,{mt:"0.25rem",children:(0,e.createComponentVNode)(2,o.Box,{color:"label",children:[!P&&$&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:(0,e.createComponentVNode)(2,o.Button,{enabled:M.censor_flags&2,icon:M.censor_flags&2?"comment-slash":"comment",content:M.censor_flags&2?"Uncensor":"Censor",mr:"0.5rem",mt:"-0.25rem",onClick:function(){function G(){return x("censor_story",{uid:M.uid})}return G}()})}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",M.author," |\xA0",!!O&&(0,e.createFragment)([(0,e.createTextVNode)("ckey: "),M.author_ckey,(0,e.createTextVNode)(" |\xA0")],0),!P&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),(0,e.createTextVNode)(" "),M.view_count.toLocaleString(),(0,e.createTextVNode)(" |\xA0")],0),(0,e.createComponentVNode)(2,o.Icon,{name:"clock"})," ",(0,m.timeAgo)(M.publish_time,E.world_time)]})]})}),children:(0,e.createComponentVNode)(2,o.Box,{children:M.censor_flags&2?"[REDACTED]":(0,e.createFragment)([!!M.has_photo&&(0,e.createComponentVNode)(2,v,{name:"story_photo_"+M.uid+".png",float:"right",ml:"0.5rem"}),(M.body_short||M.body).split("\n").map(function(G,Q){return(0,e.createComponentVNode)(2,o.Box,{children:G||(0,e.createVNode)(1,"br")},Q)}),M.body_short&&(0,e.createComponentVNode)(2,o.Button,{content:"Read more..",mt:"0.5rem",onClick:function(){function G(){return W([].concat(F,[M.uid]))}return G}()}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})],0)})})},v=function(L,w){var A=L.name,x=l(L,C),E=(0,t.useLocalState)(w,"viewingPhoto",""),M=E[0],j=E[1];return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Box,Object.assign({as:"img",className:"Newscaster__photo",src:A,onClick:function(){function P(){return j(A)}return P}()},x)))},p=function(L,w){var A=(0,t.useLocalState)(w,"viewingPhoto",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,o.Modal,{className:"Newscaster__photoZoom",children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",src:x}),(0,e.createComponentVNode)(2,o.Button,{icon:"times",content:"Close",color:"grey",mt:"1rem",onClick:function(){function M(){return E("")}return M}()})]})},g=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=!!L.args.uid&&E.channels.filter(function(oe){return oe.uid===L.args.uid}).pop();if(L.id==="manage_channel"&&!M){(0,y.modalClose)(w);return}var j=L.id==="manage_channel",P=!!L.args.is_admin,O=L.args.scanned_user,D=(0,t.useLocalState)(w,"author",(M==null?void 0:M.author)||O||"Unknown"),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"name",(M==null?void 0:M.name)||""),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"description",(M==null?void 0:M.description)||""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"icon",(M==null?void 0:M.icon)||"newspaper"),ie=ue[0],he=ue[1],te=(0,t.useLocalState)(w,"isPublic",j?!!(M!=null&&M.public):!1),q=te[0],ne=te[1],le=(0,t.useLocalState)(w,"adminLocked",(M==null?void 0:M.admin)===1||!1),ee=le[0],re=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:j?"Manage "+M.name:"Create New Channel",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function oe(fe,me){return W(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"50 characters max.",maxLength:"50",value:$,onInput:function(){function oe(fe,me){return K(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",placeholder:"128 characters max.",maxLength:"128",value:Q,onInput:function(){function oe(fe,me){return J(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Icon",children:[(0,e.createComponentVNode)(2,o.Input,{disabled:!P,value:ie,width:"35%",mr:"0.5rem",onInput:function(){function oe(fe,me){return he(me)}return oe}()}),(0,e.createComponentVNode)(2,o.Icon,{name:ie,size:"2",verticalAlign:"middle",mr:"0.5rem"})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Accept Public Stories?",children:(0,e.createComponentVNode)(2,o.Button,{selected:q,icon:q?"toggle-on":"toggle-off",content:q?"Yes":"No",onClick:function(){function oe(){return ne(!q)}return oe}()})}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ee,icon:ee?"lock":"lock-open",content:ee?"On":"Off",tooltip:"Locking this channel will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return re(!ee)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||$.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(w,L.id,"",{author:F,name:$.substr(0,49),description:Q.substr(0,128),icon:ie,public:q?1:0,admin_locked:ee?1:0})}return oe}()})]})},V=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.photo,j=E.channels,P=E.channel_idx,O=P===void 0?-1:P,D=!!L.args.is_admin,F=L.args.scanned_user,W=j.slice().sort(function(oe,fe){if(O<0)return 0;var me=j[O-1];if(me.uid===oe.uid)return-1;if(me.uid===fe.uid)return 1}).filter(function(oe){return D||!oe.frozen&&(oe.author===F||!!oe.public)}),U=(0,t.useLocalState)(w,"author",F||"Unknown"),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"channel",W.length>0?W[0].name:""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"title",""),ie=ue[0],he=ue[1],te=(0,t.useLocalState)(w,"body",""),q=te[0],ne=te[1],le=(0,t.useLocalState)(w,"adminLocked",!1),ee=le[0],re=le[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Create New Story",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Author",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!D,width:"100%",value:$,onInput:function(){function oe(fe,me){return K(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Channel",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:Q,options:W.map(function(oe){return oe.name}),mb:"0",width:"100%",onSelected:function(){function oe(fe){return J(fe)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Divider),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",placeholder:"128 characters max.",maxLength:"128",value:ie,onInput:function(){function oe(fe,me){return he(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Story Text",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{fluid:!0,multiline:!0,placeholder:"1024 characters max.",maxLength:"1024",rows:"8",width:"100%",value:q,onInput:function(){function oe(fe,me){return ne(me)}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this story by holding the photograph in your hand.",onClick:function(){function oe(){return x(M?"eject_photo":"attach_photo")}return oe}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Preview",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Section,{noTopPadding:!0,title:ie,maxHeight:"13.5rem",overflow:"auto",children:(0,e.createComponentVNode)(2,o.Box,{mt:"0.5rem",children:[!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"}),q.split("\n").map(function(oe,fe){return(0,e.createComponentVNode)(2,o.Box,{children:oe||(0,e.createVNode)(1,"br")},fe)}),(0,e.createComponentVNode)(2,o.Box,{clear:"right"})]})})}),D&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ee,icon:ee?"lock":"lock-open",content:ee?"On":"Off",tooltip:"Locking this story will make it censorable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function oe(){return re(!ee)}return oe}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:$.trim().length===0||Q.trim().length===0||ie.trim().length===0||q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function oe(){(0,y.modalAnswer)(w,"create_story","",{author:$,channel:Q,title:ie.substr(0,127),body:q.substr(0,1023),admin_locked:ee?1:0})}return oe}()})]})},S=function(L,w){var A=(0,t.useBackend)(w),x=A.act,E=A.data,M=E.photo,j=E.wanted,P=!!L.args.is_admin,O=L.args.scanned_user,D=(0,t.useLocalState)(w,"author",(j==null?void 0:j.author)||O||"Unknown"),F=D[0],W=D[1],U=(0,t.useLocalState)(w,"name",(j==null?void 0:j.title.substr(8))||""),$=U[0],K=U[1],G=(0,t.useLocalState)(w,"description",(j==null?void 0:j.body)||""),Q=G[0],J=G[1],ue=(0,t.useLocalState)(w,"adminLocked",(j==null?void 0:j.admin_locked)===1||!1),ie=ue[0],he=ue[1];return(0,e.createComponentVNode)(2,o.Section,{m:"-1rem",pb:"1.5rem",title:"Manage Wanted Notice",children:[(0,e.createComponentVNode)(2,o.Box,{mx:"0.5rem",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Authority",children:(0,e.createComponentVNode)(2,o.Input,{disabled:!P,width:"100%",value:F,onInput:function(){function te(q,ne){return W(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:(0,e.createComponentVNode)(2,o.Input,{width:"100%",value:$,maxLength:"128",onInput:function(){function te(q,ne){return K(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Description",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Input,{multiline:!0,width:"100%",value:Q,maxLength:"512",rows:"4",onInput:function(){function te(q,ne){return J(ne)}return te}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Photo (optional)",verticalAlign:"top",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"image",selected:M,content:M?"Eject: "+M.name:"Insert Photo",tooltip:!M&&"Attach a photo to this wanted notice by holding the photograph in your hand.",tooltipPosition:"top",onClick:function(){function te(){return x(M?"eject_photo":"attach_photo")}return te}()}),!!M&&(0,e.createComponentVNode)(2,v,{name:"inserted_photo_"+M.uid+".png",float:"right"})]}),P&&(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"CentComm Lock",verticalAlign:"top",children:(0,e.createComponentVNode)(2,o.Button,{selected:ie,icon:ie?"lock":"lock-open",content:ie?"On":"Off",tooltip:"Locking this wanted notice will make it editable by nobody but CentComm officers.",tooltipPosition:"top",onClick:function(){function te(){return he(!ie)}return te}()})})]})}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:!j,icon:"eraser",color:"danger",content:"Clear",position:"absolute",right:"7.25rem",bottom:"-0.75rem",onClick:function(){function te(){x("clear_wanted_notice"),(0,y.modalClose)(w)}return te}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{disabled:F.trim().length===0||$.trim().length===0||Q.trim().length===0,icon:"check",color:"good",content:"Submit",position:"absolute",right:"1rem",bottom:"-0.75rem",onClick:function(){function te(){(0,y.modalAnswer)(w,L.id,"",{author:F,name:$.substr(0,127),description:Q.substr(0,511),admin_locked:ie?1:0})}return te}()})]})};(0,y.modalRegisterBodyOverride)("create_channel",g),(0,y.modalRegisterBodyOverride)("manage_channel",g),(0,y.modalRegisterBodyOverride)("create_story",V),(0,y.modalRegisterBodyOverride)("wanted_notice",S)},48286:function(T,r,n){"use strict";r.__esModule=!0,r.Noticeboard=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=r.Noticeboard=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data,f=c.papers;return(0,e.createComponentVNode)(2,m.Window,{width:600,height:300,theme:"noticeboard",children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:f.map(function(u){return(0,e.createComponentVNode)(2,o.Stack.Item,{align:"center",width:"22.45%",height:"85%",onClick:function(){function d(){return l("interact",{paper:u.ref})}return d}(),onContextMenu:function(){function d(s){s.preventDefault(),l("showFull",{paper:u.ref})}return d}(),children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,fontSize:.75,title:u.name,children:(0,a.decodeHtmlEntities)(u.contents)})},u.ref)})})})})}return y}()},41166:function(T,r,n){"use strict";r.__esModule=!0,r.NuclearBomb=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.NuclearBomb=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return l.extended?(0,e.createComponentVNode)(2,o.Window,{width:350,height:290,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Authorization",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Disk",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.authdisk?"eject":"id-card",selected:l.authdisk,content:l.diskname?l.diskname:"-----",tooltip:l.authdisk?"Eject Disk":"Insert Disk",onClick:function(){function c(){return C("auth")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auth Code",children:(0,e.createComponentVNode)(2,t.Button,{icon:"key",disabled:!l.authdisk,selected:l.authcode,content:l.codemsg,onClick:function(){function c(){return C("code")}return c}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Arming & Disarming",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bolted to floor",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.anchored?"check":"times",selected:l.anchored,disabled:!l.authdisk,content:l.anchored?"YES":"NO",onClick:function(){function c(){return C("toggle_anchor")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Time Left",children:(0,e.createComponentVNode)(2,t.Button,{icon:"stopwatch",content:l.time,disabled:!l.authfull,tooltip:"Set Timer",onClick:function(){function c(){return C("set_time")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety",children:(0,e.createComponentVNode)(2,t.Button,{icon:l.safety?"check":"times",selected:l.safety,disabled:!l.authfull,content:l.safety?"ON":"OFF",tooltip:l.safety?"Disable Safety":"Enable Safety",onClick:function(){function c(){return C("toggle_safety")}return c}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Arm/Disarm",children:(0,e.createComponentVNode)(2,t.Button,{icon:(l.timer,"bomb"),disabled:l.safety||!l.authfull,color:"red",content:l.timer?"DISARM THE NUKE":"ARM THE NUKE",onClick:function(){function c(){return C("toggle_armed")}return c}()})})]})})]})}):(0,e.createComponentVNode)(2,o.Window,{width:350,height:115,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Deployment",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"exclamation-triangle",content:"Deploy Nuclear Device (will bolt device to floor)",onClick:function(){function c(){return C("deploy")}return c}()})})})})}return b}()},52416:function(T,r,n){"use strict";r.__esModule=!0,r.NumberInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(92986),m=n(72253),b=n(36036),y=n(98595),B=r.NumberInputModal=function(){function C(l,c){var f=(0,m.useBackend)(c),u=f.act,d=f.data,s=d.init_value,i=d.large_buttons,h=d.message,N=h===void 0?"":h,v=d.timeout,p=d.title,g=(0,m.useLocalState)(c,"input",s),V=g[0],S=g[1],I=function(){function A(x){x!==V&&S(x)}return A}(),L=function(){function A(x){x!==V&&S(x)}return A}(),w=140+Math.max(Math.ceil(N.length/3),N.length>0&&i?5:0);return(0,e.createComponentVNode)(2,y.Window,{title:p,width:270,height:w,children:[v&&(0,e.createComponentVNode)(2,a.Loader,{value:v}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function A(x){var E=window.event?x.which:x.keyCode;E===o.KEY_ENTER&&u("submit",{entry:V}),E===o.KEY_ESCAPE&&u("cancel")}return A}(),children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Box,{color:"label",children:N})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,k,{input:V,onClick:L,onChange:I})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:V})})]})})})]})}return C}(),k=function(l,c){var f=(0,m.useBackend)(c),u=f.act,d=f.data,s=d.min_value,i=d.max_value,h=d.init_value,N=d.round_value,v=l.input,p=l.onClick,g=l.onChange,V=Math.round(v!==s?Math.max(v/2,s):i/2),S=v===s&&s>0||v===1;return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===s,icon:"angle-double-left",onClick:function(){function I(){return p(s)}return I}(),tooltip:v===s?"Min":"Min ("+s+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.RestrictedInput,{autoFocus:!0,autoSelect:!0,fluid:!0,allowFloats:!N,minValue:s,maxValue:i,onChange:function(){function I(L,w){return g(w)}return I}(),onEnter:function(){function I(L,w){return u("submit",{entry:w})}return I}(),value:v})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===i,icon:"angle-double-right",onClick:function(){function I(){return p(i)}return I}(),tooltip:v===i?"Max":"Max ("+i+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:S,icon:"divide",onClick:function(){function I(){return p(V)}return I}(),tooltip:S?"Split":"Split ("+V+")"})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Button,{disabled:v===h,icon:"redo",onClick:function(){function I(){return p(h)}return I}(),tooltip:h?"Reset ("+h+")":"Reset"})})]})}},1218:function(T,r,n){"use strict";r.__esModule=!0,r.OperatingComputer=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(98595),m=n(36036),b=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],B={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.OperatingComputer=function(){function u(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.hasOccupant,p=N.choice,g;return p?g=(0,e.createComponentVNode)(2,f):g=v?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,o.Window,{width:650,height:455,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!p,icon:"user",onClick:function(){function V(){return h("choiceOff")}return V}(),children:"Patient"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{selected:!!p,icon:"cog",onClick:function(){function V(){return h("choiceOn")}return V}(),children:"Options"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,scrollable:!0,children:g})})]})})})}return u}(),l=function(d,s){var i=(0,t.useBackend)(s),h=i.data,N=h.occupant;return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Section,{fill:!0,title:"Patient",children:(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Name",children:N.name}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Status",color:b[N.stat][0],children:b[N.stat][1]}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:N.maxHealth,value:N.health/N.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),y.map(function(v,p){return(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:v[0]+" Damage",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:"100",value:N[v[1]]/100,ranges:B,children:(0,a.round)(N[v[1]])},p)},p)}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:N.maxTemp,value:N.bodyTemperature/N.maxTemp,color:k[N.temperatureSuitability+3],children:[(0,a.round)(N.btCelsius),"\xB0C, ",(0,a.round)(N.btFaren),"\xB0F"]})}),!!N.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,m.ProgressBar,{min:"0",max:N.bloodMax,value:N.bloodLevel/N.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[N.bloodPercent,"%, ",N.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Pulse",children:[N.pulse," BPM"]})],4)]})})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Section,{title:"Current Procedure",level:"2",children:N.inSurgery?(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Procedure",children:N.surgeryName}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Next Step",children:N.stepName})]}):(0,e.createComponentVNode)(2,m.Box,{color:"label",children:"No procedure ongoing."})})})]})},c=function(){return(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,align:"center",textAlign:"center",color:"label",children:[(0,e.createComponentVNode)(2,m.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No patient detected."]})})},f=function(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.verbose,p=N.health,g=N.healthAlarm,V=N.oxy,S=N.oxyAlarm,I=N.crit;return(0,e.createComponentVNode)(2,m.LabeledList,{children:[(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Loudspeaker",children:(0,e.createComponentVNode)(2,m.Button,{selected:v,icon:v?"toggle-on":"toggle-off",content:v?"On":"Off",onClick:function(){function L(){return h(v?"verboseOff":"verboseOn")}return L}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer",children:(0,e.createComponentVNode)(2,m.Button,{selected:p,icon:p?"toggle-on":"toggle-off",content:p?"On":"Off",onClick:function(){function L(){return h(p?"healthOff":"healthOn")}return L}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:g,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return h("health_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm",children:(0,e.createComponentVNode)(2,m.Button,{selected:V,icon:V?"toggle-on":"toggle-off",content:V?"On":"Off",onClick:function(){function L(){return h(V?"oxyOff":"oxyOn")}return L}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,e.createComponentVNode)(2,m.Knob,{bipolar:!0,minValue:-100,maxValue:100,value:S,stepPixelSize:5,ml:"0",onChange:function(){function L(w,A){return h("oxy_adj",{new:A})}return L}()})}),(0,e.createComponentVNode)(2,m.LabeledList.Item,{label:"Critical Alert",children:(0,e.createComponentVNode)(2,m.Button,{selected:I,icon:I?"toggle-on":"toggle-off",content:I?"On":"Off",onClick:function(){function L(){return h(I?"critOff":"critOn")}return L}()})})]})}},46892:function(T,r,n){"use strict";r.__esModule=!0,r.Orbit=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=n(35840);function y(i,h){var N=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(N)return(N=N.call(i)).next.bind(N);if(Array.isArray(i)||(N=B(i))||h&&i&&typeof i.length=="number"){N&&(i=N);var v=0;return function(){return v>=i.length?{done:!0}:{done:!1,value:i[v++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(i,h){if(i){if(typeof i=="string")return k(i,h);var N={}.toString.call(i).slice(8,-1);return N==="Object"&&i.constructor&&(N=i.constructor.name),N==="Map"||N==="Set"?Array.from(i):N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N)?k(i,h):void 0}}function k(i,h){(h==null||h>i.length)&&(h=i.length);for(var N=0,v=Array(h);NN},f=function(h,N){var v=h.name,p=N.name;if(!v||!p)return 0;var g=v.match(C),V=p.match(C);if(g&&V&&v.replace(C,"")===p.replace(C,"")){var S=parseInt(g[1],10),I=parseInt(V[1],10);return S-I}return c(v,p)},u=function(h,N){var v=h.searchText,p=h.source,g=h.title,V=h.color,S=h.sorted,I=p.filter(l(v));return S&&I.sort(f),p.length>0&&(0,e.createComponentVNode)(2,o.Section,{title:g+" - ("+p.length+")",children:I.map(function(L){return(0,e.createComponentVNode)(2,d,{thing:L,color:V},L.name)})})},d=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.color,V=h.thing;return(0,e.createComponentVNode)(2,o.Button,{color:g,tooltip:V.assigned_role?(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Box,{as:"img",mr:"0.5em",className:(0,b.classes)(["orbit_job16x16",V.assigned_role_sprite])})," ",V.assigned_role]}):"",tooltipPosition:"bottom",onClick:function(){function S(){return p("orbit",{ref:V.ref})}return S}(),children:[V.name,V.orbiters&&(0,e.createComponentVNode)(2,o.Box,{inline:!0,ml:1,children:["(",V.orbiters," ",(0,e.createComponentVNode)(2,o.Icon,{name:"eye"}),")"]})]})},s=r.Orbit=function(){function i(h,N){for(var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.alive,S=g.antagonists,I=g.highlights,L=g.response_teams,w=g.tourist,A=g.auto_observe,x=g.dead,E=g.ssd,M=g.ghosts,j=g.misc,P=g.npcs,O=(0,t.useLocalState)(N,"searchText",""),D=O[0],F=O[1],W={},U=y(S),$;!($=U()).done;){var K=$.value;W[K.antag]===void 0&&(W[K.antag]=[]),W[K.antag].push(K)}var G=Object.entries(W);G.sort(function(J,ue){return c(J[0],ue[0])});var Q=function(){function J(ue){for(var ie=0,he=[G.map(function(ne){var le=ne[0],ee=ne[1];return ee}),w,I,V,M,E,x,P,j];ie0&&(0,e.createComponentVNode)(2,o.Section,{title:"Antagonists",children:G.map(function(J){var ue=J[0],ie=J[1];return(0,e.createComponentVNode)(2,o.Section,{title:ue+" - ("+ie.length+")",level:2,children:ie.filter(l(D)).sort(f).map(function(he){return(0,e.createComponentVNode)(2,d,{color:"bad",thing:he},he.name)})},ue)})}),I.length>0&&(0,e.createComponentVNode)(2,u,{title:"Highlights",source:I,searchText:D,color:"teal"}),(0,e.createComponentVNode)(2,u,{title:"Response Teams",source:L,searchText:D,color:"purple"}),(0,e.createComponentVNode)(2,u,{title:"Tourists",source:w,searchText:D,color:"violet"}),(0,e.createComponentVNode)(2,u,{title:"Alive",source:V,searchText:D,color:"good"}),(0,e.createComponentVNode)(2,u,{title:"Ghosts",source:M,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,u,{title:"SSD",source:E,searchText:D,color:"grey"}),(0,e.createComponentVNode)(2,u,{title:"Dead",source:x,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,u,{title:"NPCs",source:P,searchText:D,sorted:!1}),(0,e.createComponentVNode)(2,u,{title:"Misc",source:j,searchText:D,sorted:!1})]})})}return i}()},15421:function(T,r,n){"use strict";r.__esModule=!0,r.OreRedemption=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(98595),b=n(9394);function y(i){if(i==null)throw new TypeError("Cannot destructure "+i)}var B=(0,b.createLogger)("OreRedemption"),k=function(h){return h.toLocaleString("en-US")+" pts"},C=r.OreRedemption=function(){function i(h,N){return(0,e.createComponentVNode)(2,m.Window,{width:490,height:750,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,l,{height:"100%"})}),(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f)]})})})}return i}(),l=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.id,S=g.points,I=g.disk,L=Object.assign({},(y(h),h));return(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({},L,{children:[(0,e.createComponentVNode)(2,o.Box,{color:"average",textAlign:"center",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle",mr:"0.5rem"}),"This machine only accepts ore. Gibtonite is not accepted."]}),(0,e.createComponentVNode)(2,o.Divider),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unclaimed Points",color:S>0?"good":"grey",bold:S>0&&"good",children:k(S)})}),(0,e.createComponentVNode)(2,o.Divider),I?(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Design disk",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!0,bold:!0,icon:"eject",content:I.name,tooltip:"Ejects the design disk.",onClick:function(){function w(){return p("eject_disk")}return w}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!I.design||!I.compatible,icon:"upload",content:"Download",tooltip:"Downloads the design on the disk into the machine.",onClick:function(){function w(){return p("download")}return w}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Stored design",children:(0,e.createComponentVNode)(2,o.Box,{color:I.design&&(I.compatible?"good":"bad"),children:I.design||"N/A"})})]}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No design disk inserted."})]})))},c=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.sheets,S=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,height:"20%",children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},S,{children:[(0,e.createComponentVNode)(2,u,{title:"Sheets",columns:[["Available","25%"],["Ore Value","15%"],["Smelt","20%"]]}),V.map(function(I){return(0,e.createComponentVNode)(2,d,{ore:I},I.id)})]})))})},f=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.alloys,S=Object.assign({},(y(h),h));return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.normalizeProps)((0,e.createComponentVNode)(2,o.Section,Object.assign({fill:!0,scrollable:!0,className:"OreRedemption__Ores",p:"0"},S,{children:[(0,e.createComponentVNode)(2,u,{title:"Alloys",columns:[["Recipe","50%"],["Available","11%"],["Smelt","20%"]]}),V.map(function(I){return(0,e.createComponentVNode)(2,s,{ore:I},I.id)})]})))})},u=function(h,N){var v;return(0,e.createComponentVNode)(2,o.Box,{className:"OreHeader",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:h.title}),(v=h.columns)==null?void 0:v.map(function(p){return(0,e.createComponentVNode)(2,o.Stack.Item,{basis:p[1],textAlign:"center",color:"label",bold:!0,children:p[0]},p)})]})})},d=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.ore;if(!(g.value&&g.amount<=0&&!(["metal","glass"].indexOf(g.id)>-1)))return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"45%",align:"middle",children:(0,e.createComponentVNode)(2,o.Stack,{align:"center",children:[(0,e.createComponentVNode)(2,o.Stack.Item,{className:(0,a.classes)(["materials32x32",g.id])}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:g.name})]})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",children:g.value}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(g.amount,50),stepPixelSize:6,onChange:function(){function V(S,I){return p(g.value?"sheet":"alloy",{id:g.id,amount:I})}return V}()})})]})})},s=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=h.ore;return(0,e.createComponentVNode)(2,o.Box,{className:"SheetLine",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"7%",align:"middle",children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["alloys32x32",g.id])})}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"30%",textAlign:"middle",align:"center",children:g.name}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"35%",textAlign:"middle",color:g.amount>=1?"good":"gray",align:"center",children:g.description}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"10%",textAlign:"center",color:g.amount>=1?"good":"gray",bold:g.amount>=1,align:"center",children:g.amount.toLocaleString("en-US")}),(0,e.createComponentVNode)(2,o.Stack.Item,{basis:"20%",textAlign:"center",align:"center",lineHeight:"32px",children:(0,e.createComponentVNode)(2,o.NumberInput,{width:"40%",value:0,minValue:0,maxValue:Math.min(g.amount,50),stepPixelSize:6,onChange:function(){function V(S,I){return p(g.value?"sheet":"alloy",{id:g.id,amount:I})}return V}()})})]})})}},52754:function(T,r,n){"use strict";r.__esModule=!0,r.PAI=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(71253),b=n(70752),y=function(C){var l;try{l=b("./"+C+".js")}catch(f){if(f.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",C);throw f}var c=l[C];return c||(0,m.routingError)("missingExport",C)},B=r.PAI=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.app_template,s=u.app_icon,i=u.app_title,h=y(d);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{p:1,fill:!0,scrollable:!0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:s,mr:1}),i,d!=="pai_main_menu"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{ml:2,mb:0,content:"Back",icon:"arrow-left",onClick:function(){function N(){return f("Back")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Home",icon:"arrow-up",onClick:function(){function N(){return f("MASTER_back")}return N}()})],4)]}),children:(0,e.createComponentVNode)(2,h)})})})})})}return k}()},85175:function(T,r,n){"use strict";r.__esModule=!0,r.PDA=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(71253),b=n(59395),y=function(c){var f;try{f=b("./"+c+".js")}catch(d){if(d.code==="MODULE_NOT_FOUND")return(0,m.routingError)("notFound",c);throw d}var u=f[c];return u||(0,m.routingError)("missingExport",c)},B=r.PDA=function(){function l(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.app,h=s.owner;if(!h)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:"No user data found. Please swipe an ID card."})})});var N=y(i.template);return(0,e.createComponentVNode)(2,o.Window,{width:600,height:650,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,k)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,p:1,pb:0,title:(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:i.icon,mr:1}),i.name]}),children:(0,e.createComponentVNode)(2,N)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:7.5,children:(0,e.createComponentVNode)(2,C)})]})})})}return l}(),k=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.idInserted,h=s.idLink,N=s.stationTime,v=s.cartridge_name;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{ml:.5,children:(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",color:"transparent",onClick:function(){function p(){return d("Authenticate")}return p}(),content:i?h:"No ID Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"sd-card",color:"transparent",onClick:function(){function p(){return d("Eject")}return p}(),content:v?["Eject "+v]:"No Cartridge Inserted"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"right",bold:!0,mr:1,mt:.5,children:N})]})},C=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.app;return(0,e.createComponentVNode)(2,t.Box,{height:"45px",className:"PDA__footer",backgroundColor:"#1b1b1b",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[!!i.has_back&&(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"33%",mr:-.5,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.has_back?"white":"disabled",icon:"arrow-alt-circle-left-o",onClick:function(){function h(){return d("Back")}return h}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:i.has_back?"33%":"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,className:"PDA__footer__button",color:"transparent",iconColor:i.is_home?"disabled":"white",icon:"home",onClick:function(){function h(){d("Home")}return h}()})})]})})}},68654:function(T,r,n){"use strict";r.__esModule=!0,r.Pacman=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(49968),b=r.Pacman=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.active,u=c.anchored,d=c.broken,s=c.emagged,i=c.fuel_type,h=c.fuel_usage,N=c.fuel_stored,v=c.fuel_cap,p=c.is_ai,g=c.tmp_current,V=c.tmp_max,S=c.tmp_overheat,I=c.output_max,L=c.power_gen,w=c.output_set,A=c.has_fuel,x=N/v,E=g/V,M=w*L,j=Math.round(N/h),P=Math.round(j/60),O=j>120?P+" minutes":j+" seconds";return(0,e.createComponentVNode)(2,o.Window,{width:500,height:225,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(d||!u)&&(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:[!!d&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator is malfunctioning!"}),!d&&!u&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"The generator needs to be anchored to the floor with a wrench."})]}),!d&&!!u&&(0,e.createVNode)(1,"div",null,[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",tooltip:"Toggles the generator on/off. Requires fuel.",tooltipPosition:"left",disabled:!A,selected:f,onClick:function(){function D(){return l("toggle_power")}return D}()}),children:(0,e.createComponentVNode)(2,t.Flex,{direction:"row",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",className:"ml-1",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power setting",children:[(0,e.createComponentVNode)(2,t.NumberInput,{value:w,minValue:1,maxValue:I*(s?2.5:1),step:1,className:"mt-1",onDrag:function(){function D(F,W){return l("change_power",{change_power:W})}return D}()}),"(",(0,m.formatPower)(M),")"]})})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:E,ranges:{green:[-1/0,.33],orange:[.33,.66],red:[.66,1/0]},children:[g," \u2103"]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:[S>50&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"CRITICAL OVERHEAT!"}),S>20&&S<=50&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"WARNING: Overheating!"}),S>1&&S<=20&&(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:"Temperature High"}),S===0&&(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Optimal"})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Fuel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject Fuel",tooltip:"Ejects fuel. Generator needs to be offline.",tooltipPosition:"left",disabled:f||p||!A,onClick:function(){function D(){return l("eject_fuel")}return D}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Type",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel level",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:x,ranges:{red:[-1/0,.33],orange:[.33,.66],green:[.66,1/0]},children:[Math.round(N/1e3)," dm\xB3"]})})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel usage",children:[h/1e3," dm\xB3/s"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fuel depletion",children:[!!A&&(h?O:"N/A"),!A&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Out of fuel"})]})]})})]})})],4)]})})}return y}()},1701:function(T,r,n){"use strict";r.__esModule=!0,r.PanDEMIC=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.PanDEMIC=function(){function u(d,s){var i=(0,a.useBackend)(s),h=i.data,N=h.beakerLoaded,v=h.beakerContainsBlood,p=h.beakerContainsVirus,g=h.resistances,V=g===void 0?[]:g,S;return N?v?v&&!p&&(S=(0,e.createFragment)([(0,e.createTextVNode)("No disease detected in provided blood sample.")],4)):S=(0,e.createFragment)([(0,e.createTextVNode)("No blood sample found in the loaded container.")],4):S=(0,e.createFragment)([(0,e.createTextVNode)("No container loaded.")],4),(0,e.createComponentVNode)(2,o.Window,{width:575,height:510,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[S&&!p?(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,b,{fill:!0,vertical:!0}),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:S})}):(0,e.createComponentVNode)(2,k),(V==null?void 0:V.length)>0&&(0,e.createComponentVNode)(2,f,{align:"bottom"})]})})})}return u}(),b=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.beakerLoaded;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:"Eject",disabled:!v,onClick:function(){function p(){return h("eject_beaker")}return p}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",confirmIcon:"eraser",content:"Destroy",confirmContent:"Destroy",disabled:!v,onClick:function(){function p(){return h("destroy_eject_beaker")}return p}()})],4)},y=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.beakerContainsVirus,p=d.strain,g=p.commonName,V=p.description,S=p.diseaseAgent,I=p.bloodDNA,L=p.bloodType,w=p.possibleTreatments,A=p.transmissionRoute,x=p.isAdvanced,E=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood DNA",children:I?(0,e.createVNode)(1,"span",null,I,0,{style:{"font-family":"'Courier New', monospace"}}):"Undetectable"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Blood Type",children:(0,e.createVNode)(1,"div",null,null,1,{dangerouslySetInnerHTML:{__html:L!=null?L:"Undetectable"}})})],4);if(!v)return(0,e.createComponentVNode)(2,t.LabeledList,{children:E});var M;return x&&(g!=null&&g!=="Unknown"?M=(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print Release Forms",onClick:function(){function j(){return h("print_release_forms",{strain_index:d.strainIndex})}return j}(),style:{"margin-left":"auto"}}):M=(0,e.createComponentVNode)(2,t.Button,{icon:"pen",content:"Name Disease",onClick:function(){function j(){return h("name_strain",{strain_index:d.strainIndex})}return j}(),style:{"margin-left":"auto"}})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Common Name",className:"common-name-label",children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,align:"center",children:[g!=null?g:"Unknown",M]})}),V&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:V}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Disease Agent",children:S}),E,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Spread Vector",children:A!=null?A:"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Possible Cures",children:w!=null?w:"None"})]})},B=function(d,s){var i,h=(0,a.useBackend)(s),N=h.act,v=h.data,p=!!v.synthesisCooldown,g=(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:p?"spinner":"clone",iconSpin:p,content:"Clone",disabled:p,onClick:function(){function V(){return N("clone_strain",{strain_index:d.strainIndex})}return V}()}),d.sectionButtons],0);return(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:(i=d.sectionTitle)!=null?i:"Strain Information",buttons:g,children:(0,e.createComponentVNode)(2,y,{strain:d.strain,strainIndex:d.strainIndex})})})},k=function(d,s){var i,h=(0,a.useBackend)(s),N=h.act,v=h.data,p=v.selectedStrainIndex,g=v.strains,V=g[p-1];if(g.length===0)return(0,e.createComponentVNode)(2,t.Section,{title:"Container Information",buttons:(0,e.createComponentVNode)(2,b),children:(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No disease detected in provided blood sample."})});if(g.length===1){var S;return(0,e.createFragment)([(0,e.createComponentVNode)(2,B,{strain:g[0],strainIndex:1,sectionButtons:(0,e.createComponentVNode)(2,b)}),((S=g[0].symptoms)==null?void 0:S.length)>0&&(0,e.createComponentVNode)(2,l,{strain:g[0]})],0)}var I=(0,e.createComponentVNode)(2,b);return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Culture Information",fill:!0,buttons:I,children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",style:{height:"100%"},children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Tabs,{children:g.map(function(L,w){var A;return(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"virus",selected:p-1===w,onClick:function(){function x(){return N("switch_strain",{strain_index:w+1})}return x}(),children:(A=L.commonName)!=null?A:"Unknown"},w)})})}),(0,e.createComponentVNode)(2,B,{strain:V,strainIndex:p}),((i=V.symptoms)==null?void 0:i.length)>0&&(0,e.createComponentVNode)(2,l,{className:"remove-section-bottom-padding",strain:V})]})})})},C=function(d){return d.reduce(function(s,i){return s+i},0)},l=function(d){var s=d.strain.symptoms;return(0,e.createComponentVNode)(2,t.Flex.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{title:"Infection Symptoms",fill:!0,className:d.className,children:(0,e.createComponentVNode)(2,t.Table,{className:"symptoms-table",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stealth"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Resistance"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Stage Speed"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Transmissibility"})]}),s.map(function(i,h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stealth}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.resistance}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.stageSpeed}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i.transmissibility})]},h)}),(0,e.createComponentVNode)(2,t.Table.Row,{className:"table-spacer"}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{"font-weight":"bold"},children:"Total"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stealth}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.resistance}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.stageSpeed}))}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C(s.map(function(i){return i.transmissibility}))})]})]})})})},c=["flask","vial","eye-dropper"],f=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.synthesisCooldown,p=N.beakerContainsVirus,g=N.resistances;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Antibodies",fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{horizontal:!0,wrap:!0,children:g.map(function(V,S){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:c[S%c.length],disabled:!!v,onClick:function(){function I(){return h("clone_vaccine",{resistance_index:S+1})}return I}(),mr:"0.5em"}),V]},S)})})})})}},67921:function(T,r,n){"use strict";r.__esModule=!0,r.ParticleAccelerator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ParticleAccelerator=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.assembled,f=l.power,u=l.strength,d=l.max_strength;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:160,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Control Panel",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Connect",onClick:function(){function s(){return C("scan")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",mb:"5px",children:(0,e.createComponentVNode)(2,t.Box,{color:c?"good":"bad",children:c?"Operational":"Error: Verify Configuration"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:(0,e.createComponentVNode)(2,t.Button,{icon:f?"power-off":"times",content:f?"On":"Off",selected:f,disabled:!c,onClick:function(){function s(){return C("power")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Strength",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:!c||u===0,onClick:function(){function s(){return C("remove_strength")}return s}(),mr:"4px"}),u,(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:!c||u===d,onClick:function(){function s(){return C("add_strength")}return s}(),ml:"4px"})]})]})})})})}return b}()},71432:function(T,r,n){"use strict";r.__esModule=!0,r.PdaPainter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.PdaPainter=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.data,u=f.has_pda;return(0,e.createComponentVNode)(2,o.Window,{width:510,height:505,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:u?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,b)})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),f=c.act;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"silver",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"download",size:5,mb:"10px"}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{width:"160px",textAlign:"center",content:"Insert PDA",onClick:function(){function u(){return f("insert_pda")}return u}()})]})})})},y=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.pda_colors;return(0,e.createComponentVNode)(2,t.Stack,{fill:!0,horizontal:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,B)}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.Table,{className:"PdaPainter__list",children:Object.keys(d).map(function(s){return(0,e.createComponentVNode)(2,t.Table.Row,{onClick:function(){function i(){return f("choose_pda",{selectedPda:s})}return i}(),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/png;base64,"+d[s][0],style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:s})]},s)})})})})]})},B=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.current_appearance,s=u.preview_appearance;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Current PDA",children:[(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+d,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"eject",content:"Eject",color:"green",onClick:function(){function i(){return f("eject_pda")}return i}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"paint-roller",content:"Paint PDA",onClick:function(){function i(){return f("paint_pda")}return i}()})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Preview",children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+s,style:{"vertical-align":"middle",width:"160px",margin:"0px","margin-left":"0px","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}})})]})}},33388:function(T,r,n){"use strict";r.__esModule=!0,r.PersonalCrafting=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.PersonalCrafting=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.busy,d=f.category,s=f.display_craftable_only,i=f.display_compact,h=f.prev_cat,N=f.next_cat,v=f.subcategory,p=f.prev_subcat,g=f.next_subcat;return(0,e.createComponentVNode)(2,o.Window,{width:700,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!u&&(0,e.createComponentVNode)(2,t.Dimmer,{fontSize:"32px",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cog",spin:1})," Crafting..."]}),(0,e.createComponentVNode)(2,t.Section,{title:d,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Show Craftable Only",icon:s?"check-square-o":"square-o",selected:s,onClick:function(){function V(){return c("toggle_recipes")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Compact Mode",icon:i?"check-square-o":"square-o",selected:i,onClick:function(){function V(){return c("toggle_compact")}return V}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:h,icon:"arrow-left",onClick:function(){function V(){return c("backwardCat")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:N,icon:"arrow-right",onClick:function(){function V(){return c("forwardCat")}return V}()})]}),v&&(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Button,{content:p,icon:"arrow-left",onClick:function(){function V(){return c("backwardSubCat")}return V}()}),(0,e.createComponentVNode)(2,t.Button,{content:g,icon:"arrow-right",onClick:function(){function V(){return c("forwardSubCat")}return V}()})]}),i?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,y)]})]})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.display_craftable_only,d=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:i.ref})}return h}()}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)}),!u&&s.map(function(i){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:i.name,children:[(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),i.catalyst_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.catalyst_text,content:"Catalysts",color:"transparent"}),(0,e.createComponentVNode)(2,t.Button,{tooltip:i.req_text,content:"Requirements",color:"transparent"}),i.tool_text&&(0,e.createComponentVNode)(2,t.Button,{tooltip:i.tool_text,content:"Tools",color:"transparent"})]},i.name)})]})})},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.display_craftable_only,d=f.can_craft,s=f.cant_craft;return(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[d.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",onClick:function(){function h(){return c("make",{make:i.ref})}return h}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)}),!u&&s.map(function(i){return(0,e.createComponentVNode)(2,t.Section,{title:i.name,buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"hammer",content:"Craft",disabled:!0}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[i.catalyst_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Catalysts",children:i.catalyst_text}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Requirements",children:i.req_text}),i.tool_text&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tools",children:i.tool_text})]})},i.name)})]})}},56150:function(T,r,n){"use strict";r.__esModule=!0,r.Photocopier=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Photocopier=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:440,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Photocopier",color:"silver",children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Copies:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"2em",bold:!0,children:f.copynumber}),(0,e.createComponentVNode)(2,t.Stack.Item,{float:"right",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"minus",textAlign:"center",content:"",onClick:function(){function u(){return c("minus")}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"plus",textAlign:"center",content:"",onClick:function(){function u(){return c("add")}return u}()})]})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:2,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Toner:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,children:f.toner})]}),(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Document:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.copyitem&&!f.mob,content:f.copyitem?f.copyitem:f.mob?f.mob+"'s ass!":"document",onClick:function(){function u(){return c("removedocument")}return u}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:12,children:"Inserted Folder:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!f.folder,content:f.folder?f.folder:"folder",onClick:function(){function u(){return c("removefolder")}return u}()})})]})]}),(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,b)}),(0,e.createComponentVNode)(2,y)]})})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.issilicon;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"copy",float:"center",textAlign:"center",content:"Copy",onClick:function(){function d(){return c("copy")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file-import",float:"center",textAlign:"center",content:"Scan",onClick:function(){function d(){return c("scandocument")}return d}()}),!!u&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"file",color:"green",float:"center",textAlign:"center",content:"Print Text",onClick:function(){function d(){return c("ai_text")}return d}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"image",color:"green",float:"center",textAlign:"center",content:"Print Image",onClick:function(){function d(){return c("ai_pic")}return d}()})],4)],0)},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data;return(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Scanned Files",children:f.files.map(function(u){return(0,e.createComponentVNode)(2,t.Section,{title:u.name,buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print",disabled:f.toner<=0,onClick:function(){function d(){return c("filecopy",{uid:u.uid})}return d}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash-alt",content:"Delete",color:"bad",onClick:function(){function d(){return c("deletefile",{uid:u.uid})}return d}()})]})},u.name)})})}},8340:function(T,r,n){"use strict";r.__esModule=!0,r.Photocopier220=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(88510),b=n(64795),y=n(25328);function B(f,u){var d=typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(d)return(d=d.call(f)).next.bind(d);if(Array.isArray(f)||(d=k(f))||u&&f&&typeof f.length=="number"){d&&(f=d);var s=0;return function(){return s>=f.length?{done:!0}:{done:!1,value:f[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(f,u){if(f){if(typeof f=="string")return C(f,u);var d={}.toString.call(f).slice(8,-1);return d==="Object"&&f.constructor&&(d=f.constructor.name),d==="Map"||d==="Set"?Array.from(f):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?C(f,u):void 0}}function C(f,u){(u==null||u>f.length)&&(u=f.length);for(var d=0,s=Array(u);df?this.substring(0,f)+"...":this};var l=function(u,d){d===void 0&&(d="");var s=(0,y.createSearch)(d,function(i){return i.altername});return(0,b.flow)([(0,m.filter)(function(i){return i==null?void 0:i.altername}),d&&(0,m.filter)(s),(0,m.sortBy)(function(i){return i.id})])(u)},c=r.Photocopier220=function(){function f(u,d){for(var s=(0,a.useBackend)(d),i=s.act,h=s.data,N=h.copies,v=h.maxcopies,p=(0,a.useLocalState)(d,"searchText",""),g=p[0],V=p[1],S=l((0,m.sortBy)(function(P){return P.category})(h.forms||[]),g),I=[],L=B(S),w;!(w=L()).done;){var A=w.value;I.includes(A.category)||I.push(A.category)}var x=(0,a.useLocalState)(d,"number",0),E=x[0],M=x[1],j;return h.category===""?j=S:j=S.filter(function(P){return P.category===h.category}),(0,e.createComponentVNode)(2,o.Window,{width:550,height:575,theme:h.ui_theme,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"40%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"\u0421\u0442\u0430\u0442\u0443\u0441",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mt:.3,color:"grey",children:"\u0417\u0430\u0440\u044F\u0434 \u0442\u043E\u043D\u0435\u0440\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.ProgressBar,{minValue:0,maxValue:30,value:h.toner})})]}),(0,e.createComponentVNode)(2,t.Stack,{mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",mb:.3,color:"grey",children:"\u0424\u043E\u0440\u043C\u0430:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"50%",textAlign:"center",bold:!0,children:h.form_id===""?"\u041D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u0430":h.form_id})]}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.copyitem&&!h.mob,icon:h.copyitem||h.mob?"eject":"times",content:h.copyitem?h.copyitem:h.mob?"\u0416\u043E\u043F\u0430 "+h.mob+"!":"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430",onClick:function(){function P(){return i("removedocument")}return P}()})})}),(0,e.createComponentVNode)(2,t.Stack,{children:(0,e.createComponentVNode)(2,t.Stack.Item,{width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",disabled:!h.folder,icon:h.folder?"eject":"times",content:h.folder?h.folder:"\u0421\u043B\u043E\u0442 \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438",onClick:function(){function P(){return i("removefolder")}return P}()})})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435",children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"print",disabled:h.toner===0||h.form===null,content:"\u041F\u0435\u0447\u0430\u0442\u044C",onClick:function(){function P(){return i("print_form")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"image",disabled:h.toner<5,content:"\u0424\u043E\u0442\u043E",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0444\u043E\u0442\u043E \u0441 \u0411\u0430\u0437\u044B \u0414\u0430\u043D\u043D\u044B\u0445",onClick:function(){function P(){return i("ai_pic")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"copy",content:"\u041A\u043E\u043F\u0438\u044F",disabled:h.toner===0||!h.copyitem&&!h.mob,onClick:function(){function P(){return i("copy")}return P}()})}),!!h.isAI&&(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,width:"100%",ml:"5px",mt:"3px",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",icon:"i-cursor",content:"\u0422\u0435\u043A\u0441\u0442",tooltip:"\u0420\u0430\u0441\u043F\u0435\u0447\u0430\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0439 \u0442\u0435\u043A\u0441\u0442",disabled:h.toner===0,onClick:function(){function P(){return i("ai_text")}return P}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:1.5,mt:1.2,width:"50%",color:"grey",children:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E:"}),(0,e.createComponentVNode)(2,t.Slider,{mt:.75,width:"50%",animated:!0,minValue:1,maxValue:v,value:N,stepPixelSize:10,onChange:function(){function P(O,D){return i("copies",{new:D})}return P}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0411\u044E\u0440\u043E\u043A\u0440\u0430\u0442\u0438\u044F",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:-.5,icon:"chevron-right",color:"transparent",content:"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",selected:!h.category,onClick:function(){function P(){return i("choose_category",{category:""})}return P}()})}),I.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"chevron-right",mb:-.5,color:"transparent",content:P,selected:h.category===P,onClick:function(){function O(){return i("choose_category",{category:P})}return O}()},P)},P)})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"60%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:h.category||"\u0412\u0441\u0435 \u0444\u043E\u0440\u043C\u044B",buttons:(0,e.createComponentVNode)(2,t.Input,{mr:18.5,width:"100%",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0444\u043E\u0440\u043C\u044B",onInput:function(){function P(O,D){return V(D)}return P}()}),children:j.map(function(P){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mb:.5,color:"transparent",content:P.altername.trimLongStr(37),tooltip:P.altername,selected:h.form_id===P.id,onClick:function(){function O(){return i("choose_form",{path:P.path,id:P.id})}return O}()})},P.path)})})})]})})})}return f}()},84676:function(T,r,n){"use strict";r.__esModule=!0,r.PoolController=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=["tempKey"];function b(C,l){if(C==null)return{};var c={};for(var f in C)if({}.hasOwnProperty.call(C,f)){if(l.includes(f))continue;c[f]=C[f]}return c}var y={scalding:{label:"Scalding",color:"#FF0000",icon:"fa fa-arrow-circle-up",requireEmag:!0},warm:{label:"Warm",color:"#990000",icon:"fa fa-arrow-circle-up"},normal:{label:"Normal",color:null,icon:"fa fa-arrow-circle-right"},cool:{label:"Cool",color:"#009999",icon:"fa fa-arrow-circle-down"},frigid:{label:"Frigid",color:"#00CCCC",icon:"fa fa-arrow-circle-down",requireEmag:!0}},B=function(l,c){var f=l.tempKey,u=b(l,m),d=y[f];if(!d)return null;var s=(0,a.useBackend)(c),i=s.data,h=s.act,N=i.currentTemp,v=d.label,p=d.icon,g=f===N,V=function(){h("setTemp",{temp:f})};return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Button,Object.assign({color:"transparent",selected:g,onClick:V},u,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:p}),v]})))},k=r.PoolController=function(){function C(l,c){for(var f=(0,a.useBackend)(c),u=f.data,d=u.emagged,s=u.currentTemp,i=y[s]||y.normal,h=i.label,N=i.color,v=[],p=0,g=Object.entries(y);p50?"battery-half":"battery-quarter")||N==="C"&&"bolt"||N==="F"&&"battery-full"||N==="M"&&"slash",color:N==="N"&&(v>50?"yellow":"red")||N==="C"&&"yellow"||N==="F"&&"green"||N==="M"&&"orange"}),(0,e.createComponentVNode)(2,B.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,o.toFixed)(v)+"%"})],4)};d.defaultHooks=m.pureComponentHooks;var s=function(h){var N,v,p=h.status;switch(p){case"AOn":N=!0,v=!0;break;case"AOff":N=!0,v=!1;break;case"On":N=!1,v=!0;break;case"Off":N=!1,v=!1;break}var g=(v?"On":"Off")+(" ["+(N?"auto":"manual")+"]");return(0,e.createComponentVNode)(2,B.ColorBox,{color:v?"good":"bad",content:N?void 0:"M",title:g})};s.defaultHooks=m.pureComponentHooks},50992:function(T,r,n){"use strict";r.__esModule=!0,r.PrisonerImplantManager=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(29319),m=n(3939),b=n(321),y=n(5485),B=n(98595),k=r.PrisonerImplantManager=function(){function C(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.loginState,i=d.prisonerInfo,h=d.chemicalInfo,N=d.trackingInfo,v;if(!s.logged_in)return(0,e.createComponentVNode)(2,B.Window,{theme:"security",width:500,height:850,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,y.LoginScreen)})});var p=[1,5,10];return(0,e.createComponentVNode)(2,B.Window,{theme:"security",width:500,height:850,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.LoginInfo),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Prisoner Points Manager System",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:i.name?"eject":"id-card",selected:i.name,content:i.name?i.name:"-----",tooltip:i.name?"Eject ID":"Insert ID",onClick:function(){function g(){return u("id_card")}return g}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Points",children:[i.points!==null?i.points:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"minus-square",disabled:i.points===null,content:"Reset",onClick:function(){function g(){return u("reset_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Point Goal",children:[i.goal!==null?i.goal:"-/-",(0,e.createComponentVNode)(2,t.Button,{ml:2,icon:"pen",disabled:i.goal===null,content:"Edit",onClick:function(){function g(){return(0,m.modalOpen)(c,"set_points")}return g}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{children:(0,e.createVNode)(1,"box",null,[(0,e.createTextVNode)("1 minute of prison time should roughly equate to 150 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Sentences should not exceed 5000 points."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Permanent prisoners should not be given a point goal."),(0,e.createVNode)(1,"br"),(0,e.createVNode)(1,"br"),(0,e.createTextVNode)("Prisoners who meet their point goal will be able to automatically access their locker and return to the station using the shuttle.")],4,{hidden:i.goal===null})})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Tracking Implants",children:N.map(function(g){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",g.subject]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Location",children:g.location}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:g.health}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Prisoner",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-triangle",content:"Warn",tooltip:"Broadcast a message to this poor sod",onClick:function(){function V(){return(0,m.modalOpen)(c,"warn",{uid:g.uid})}return V}()})})]})]},g.subject)]}),(0,e.createVNode)(1,"br")],4)})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Chemical Implants",children:h.map(function(g){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{p:1,backgroundColor:"rgba(255, 255, 255, 0.05)",children:[(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:["Subject: ",g.name]}),(0,e.createComponentVNode)(2,t.Box,{children:[" ",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Reagents",children:g.volume})}),p.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{mt:2,disabled:g.volumec;return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:!0,title:g.name,dmIcon:g.icon,dmIconState:g.icon_state,buttonsAlt:!0,buttons:(0,e.createComponentVNode)(2,t.Button,{bold:!0,translucent:!0,fontSize:1.5,tooltip:V&&"Not enough tickets",disabled:V,onClick:function(){function S(){return C("purchase",{purchase:g.itemID})}return S}(),children:[g.cost,(0,e.createComponentVNode)(2,t.Icon,{m:0,mt:.25,name:"ticket",color:V?"bad":"good",size:1.6})]}),children:g.desc},g.name)})})})})})})}return b}()},94813:function(T,r,n){"use strict";r.__esModule=!0,r.RCD=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(3939),b=n(49148),y=r.RCD=function(){function u(d,s){return(0,e.createComponentVNode)(2,o.Window,{width:480,height:670,children:[(0,e.createComponentVNode)(2,m.ComplexModal),(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k),(0,e.createComponentVNode)(2,l),(0,e.createComponentVNode)(2,c)]})})]})}return u}(),B=function(d,s){var i=(0,a.useBackend)(s),h=i.data,N=h.matter,v=h.max_matter,p=v*.7,g=v*.25;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Matter Storage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[p,1/0],average:[g,p],bad:[-1/0,g]},value:N,maxValue:v,children:(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:N+" / "+v+" units"})})})})},k=function(){return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Construction Type",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,C,{mode_type:"Floors and Walls"}),(0,e.createComponentVNode)(2,C,{mode_type:"Airlocks"}),(0,e.createComponentVNode)(2,C,{mode_type:"Windows"}),(0,e.createComponentVNode)(2,C,{mode_type:"Deconstruction"})]})})})},C=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=d.mode_type,p=N.mode;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",content:v,selected:p===v?1:0,onClick:function(){function g(){return h("mode",{mode:v})}return g}()})})},l=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.door_name,p=N.electrochromic,g=N.airlock_glass;return(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Airlock Settings",children:(0,e.createComponentVNode)(2,t.Stack,{textAlign:"center",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,color:"transparent",icon:"pen-alt",content:(0,e.createFragment)([(0,e.createTextVNode)("Rename: "),(0,e.createVNode)(1,"b",null,v,0)],0),onClick:function(){function V(){return(0,m.modalOpen)(s,"renameAirlock")}return V}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:g===1&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:p?"toggle-on":"toggle-off",content:"Electrochromic",selected:p,onClick:function(){function V(){return h("electrochromic")}return V}()})})]})})})},c=function(d,s){var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.tab,p=N.locked,g=N.one_access,V=N.selected_accesses,S=N.regions;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Tabs,{fluid:!0,children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"cog",selected:v===1,onClick:function(){function I(){return h("set_tab",{tab:1})}return I}(),children:"Airlock Types"}),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:v===2,icon:"list",onClick:function(){function I(){return h("set_tab",{tab:2})}return I}(),children:"Airlock Access"})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:v===1?(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Types",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:0})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,f,{check_number:1})})]})}):v===2&&p?(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Access",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock-open",content:"Unlock",onClick:function(){function I(){return h("set_lock",{new_lock:"unlock"})}return I}()}),children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",align:"center",color:"label",children:[(0,e.createComponentVNode)(2,t.Icon,{name:"lock",size:"5",mb:3}),(0,e.createVNode)(1,"br"),"Airlock access selection is currently locked."]})})}):(0,e.createComponentVNode)(2,b.AccessList,{sectionButtons:(0,e.createComponentVNode)(2,t.Button,{icon:"lock",content:"Lock",onClick:function(){function I(){return h("set_lock",{new_lock:"lock"})}return I}()}),usedByRcd:1,rcdButtons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:g,content:"One",onClick:function(){function I(){return h("set_one_access",{access:"one"})}return I}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:!g,width:4,content:"All",onClick:function(){function I(){return h("set_one_access",{access:"all"})}return I}()})],4),accesses:S,selectedList:V,accessMod:function(){function I(L){return h("set",{access:L})}return I}(),grantAll:function(){function I(){return h("grant_all")}return I}(),denyAll:function(){function I(){return h("clear_all")}return I}(),grantDep:function(){function I(L){return h("grant_region",{region:L})}return I}(),denyDep:function(){function I(L){return h("deny_region",{region:L})}return I}()})})],4)},f=function(d,s){for(var i=(0,a.useBackend)(s),h=i.act,N=i.data,v=N.door_types_ui_list,p=N.door_type,g=d.check_number,V=[],S=0;Sm?w=(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,mb:1,children:"There are new messages"}):w=(0,e.createComponentVNode)(2,t.Box,{color:"label",mb:1,children:"There are no new messages"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Main Menu",buttons:(0,e.createComponentVNode)(2,t.Button,{width:9,content:L?"Speaker Off":"Speaker On",selected:!L,icon:L?"volume-mute":"volume-up",onClick:function(){function A(){return g("toggleSilent")}return A}()}),children:[w,(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"View Messages",icon:S>m?"envelope-open-text":"envelope",onClick:function(){function A(){return g("setScreen",{setScreen:6})}return A}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Assistance",icon:"hand-paper",onClick:function(){function A(){return g("setScreen",{setScreen:1})}return A}()}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Supplies",icon:"box",onClick:function(){function A(){return g("setScreen",{setScreen:2})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Request Secondary Goal",icon:"clipboard-list",onClick:function(){function A(){return g("setScreen",{setScreen:11})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Relay Anonymous Information",icon:"comment",onClick:function(){function A(){return g("setScreen",{setScreen:3})}return A}()})]})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Print Shipping Label",icon:"tag",onClick:function(){function A(){return g("setScreen",{setScreen:9})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"View Shipping Logs",icon:"clipboard-list",onClick:function(){function A(){return g("setScreen",{setScreen:10})}return A}()})]})}),!!I&&(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:!0,lineHeight:3,content:"Send Station-Wide Announcement",icon:"bullhorn",onClick:function(){function A(){return g("setScreen",{setScreen:8})}return A}()})})]})})},l=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.department,I=[],L;switch(N.purpose){case"ASSISTANCE":I=V.assist_dept,L="Request assistance from another department";break;case"SUPPLIES":I=V.supply_dept,L="Request supplies from another department";break;case"INFO":I=V.info_dept,L="Relay information to another department";break}return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:L,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function w(){return g("setScreen",{setScreen:0})}return w}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:I.filter(function(w){return w!==S}).map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w,textAlign:"right",className:"candystripe",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Message",icon:"envelope",onClick:function(){function A(){return g("writeInput",{write:w,priority:y})}return A}()}),(0,e.createComponentVNode)(2,t.Button,{content:"High Priority",icon:"exclamation-circle",onClick:function(){function A(){return g("writeInput",{write:w,priority:B})}return A}()})]},w)})})})})},c=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S;switch(N.type){case"SUCCESS":S="Message sent successfully";break;case"FAIL":S="Unable to contact messaging server";break}return(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:S,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function I(){return g("setScreen",{setScreen:0})}return I}()})})},f=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S,I;switch(N.type){case"MESSAGES":S=V.message_log,I="Message Log";break;case"SHIPPING":S=V.shipping_log,I="Shipping label print log";break}return S.reverse(),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:I,buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()}),children:S.map(function(L){return(0,e.createComponentVNode)(2,t.Box,{textAlign:"left",children:[L.map(function(w,A){return(0,e.createVNode)(1,"div",null,w,0,null,A)}),(0,e.createVNode)(1,"hr")]},L)})})})},u=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.recipient,I=V.message,L=V.msgVerified,w=V.msgStamped;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Message Authentication",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function A(){return g("setScreen",{setScreen:0})}return A}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Recipient",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Message",children:I}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",color:"green",children:L}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stamped by",color:"blue",children:w})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,textAlign:"center",content:"Send Message",icon:"envelope",onClick:function(){function A(){return g("department",{department:S})}return A}()})})})],4)},d=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.message,I=V.announceAuth;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Station-Wide Announcement",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Edit Message",icon:"edit",onClick:function(){function L(){return g("writeAnnouncement")}return L}()})],4),children:S})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[I?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Send Announcement",icon:"bullhorn",disabled:!(I&&S),onClick:function(){function L(){return g("sendAnnouncement")}return L}()})]})})],4)},s=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.shipDest,I=V.msgVerified,L=V.ship_dept;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{textAlign:"center",children:(0,e.createComponentVNode)(2,t.Section,{title:"Print Shipping Label",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function w(){return g("setScreen",{setScreen:0})}return w}()}),children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Validated by",children:I})]}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:1,textAlign:"center",content:"Print Label",icon:"print",disabled:!(S&&I),onClick:function(){function w(){return g("printLabel")}return w}()})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Destinations",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:L.map(function(w){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:w,textAlign:"right",className:"candystripe",children:(0,e.createComponentVNode)(2,t.Button,{content:S===w?"Selected":"Select",selected:S===w,onClick:function(){function A(){return g("shipSelect",{shipSelect:w})}return A}()})},w)})})})})],4)},i=function(N,v){var p=(0,a.useBackend)(v),g=p.act,V=p.data,S=V.secondaryGoalAuth,I=V.secondaryGoalEnabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Request Secondary Goal",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Back",icon:"arrow-left",onClick:function(){function L(){return g("setScreen",{setScreen:0})}return L}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:[I?S?(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"green",children:"ID verified. Authentication accepted."}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Swipe your ID card to authenticate yourself"}):(0,e.createComponentVNode)(2,t.Box,{textAlign:"center",color:"label",children:"Complete your current goal first!"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,mt:2,textAlign:"center",content:"Request Secondary Goal",icon:"clipboard-list",disabled:!(S&&I),onClick:function(){function L(){return g("requestSecondaryGoal")}return L}()})]})})],4)}},9861:function(T,r,n){"use strict";r.__esModule=!0,r.RndBackupConsole=r.LinkMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.RndBackupConsole=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.network_name,u=c.has_disk,d=c.disk_name,s=c.linked,i=c.techs,h=c.last_timestamp;return(0,e.createComponentVNode)(2,o.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Device Info",children:[(0,e.createComponentVNode)(2,t.Box,{mb:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Network",children:s?(0,e.createComponentVNode)(2,t.Button,{content:f,icon:"unlink",selected:1,onClick:function(){function N(){return l("unlink")}return N}()}):"None"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Loaded Disk",children:u?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d+" (Last backup: "+h+")",icon:"save",selected:1,onClick:function(){function N(){return l("eject_disk")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Save all",onClick:function(){function N(){return l("saveall2disk")}return N}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Load all",onClick:function(){function N(){return l("saveall2network")}return N}()})],4):"None"})]})}),!!s||(0,e.createComponentVNode)(2,b)]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:(0,e.createComponentVNode)(2,t.Section,{title:"Tech Info",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Tech Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Level"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Disk Level"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actions"})]}),Object.keys(i).map(function(N){return!(i[N].network_level>0||i[N].disk_level>0)||(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].name}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].network_level||"None"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:i[N].disk_level||"None"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Load to network",disabled:!u||!s,onClick:function(){function v(){return l("savetech2network",{tech:N})}return v}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Load to disk",disabled:!u||!s,onClick:function(){function v(){return l("savetech2disk",{tech:N})}return v}()})]})]},N)})]})})})]})})}return y}(),b=r.LinkMenu=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.controllers;return(0,e.createComponentVNode)(2,t.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function d(){return l("linktonetworkcontroller",{target_controller:u.addr})}return d}()})})]},u.addr)})]})})}return y}()},37556:function(T,r,n){"use strict";r.__esModule=!0,r.DataDiskMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o="design",m="tech",b=function(c,f){var u=(0,a.useBackend)(f),d=u.data,s=u.act,i=d.disk_data;return i?(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:i.name}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Level",children:i.level}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:i.desc})]}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function h(){return s("updt_tech")}return h}()})})]}):null},y=function(c,f){var u=(0,a.useBackend)(f),d=u.data,s=u.act,i=d.disk_data;if(!i)return null;var h=i.name,N=i.lathe_types,v=i.materials,p=N.join(", ");return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name",children:h}),p?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Lathe Types",children:p}):null,(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Required Materials"})]}),v.map(function(g){return(0,e.createComponentVNode)(2,t.Box,{children:["- ",(0,e.createVNode)(1,"span",null,g.name,0,{style:{"text-transform":"capitalize"}})," x ",g.amount]},g.name)}),(0,e.createComponentVNode)(2,t.Box,{mt:"10px",children:(0,e.createComponentVNode)(2,t.Button,{content:"Upload to Database",icon:"arrow-up",onClick:function(){function g(){return s("updt_design")}return g}()})})]})},B=function(c,f){var u=(0,a.useBackend)(f),d=u.act,s=u.data,i=s.disk_data;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.Section,Object.assign({buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button.Confirm,{content:"Erase",icon:"eraser",disabled:!i,onClick:function(){function h(){return d("erase_disk")}return h}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",icon:"eject",onClick:function(){function h(){d("eject_disk")}return h}()})],4)},c)))},k=function(c,f){var u=(0,a.useBackend)(f),d=u.data,s=u.act,i=d.disk_type,h=d.to_copy,N=c.title;return(0,e.createComponentVNode)(2,B,{title:N,children:(0,e.createComponentVNode)(2,t.Box,{overflowY:"auto",overflowX:"hidden",maxHeight:"450px",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:h.sort(function(v,p){return v.name.localeCompare(p.name)}).map(function(v){var p=v.name,g=v.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{noColon:!0,label:p,children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-down",content:"Copy to Disk",onClick:function(){function V(){i===m?s("copy_tech",{id:g}):s("copy_design",{id:g})}return V}()})},g)})})})})},C=r.DataDiskMenu=function(){function l(c,f){var u=(0,a.useBackend)(f),d=u.data,s=d.disk_type,i=d.disk_data;if(!s)return(0,e.createComponentVNode)(2,t.Section,{title:"Data Disk",children:"No disk loaded."});switch(s){case o:return i?(0,e.createComponentVNode)(2,B,{title:"Design Disk",children:(0,e.createComponentVNode)(2,y)}):(0,e.createComponentVNode)(2,k,{title:"Design Disk"});case m:return i?(0,e.createComponentVNode)(2,B,{title:"Technology Disk",children:(0,e.createComponentVNode)(2,b)}):(0,e.createComponentVNode)(2,k,{title:"Technology Disk"});default:return(0,e.createFragment)([(0,e.createTextVNode)("UNRECOGNIZED DISK TYPE")],4)}}return l}()},58147:function(T,r,n){"use strict";r.__esModule=!0,r.DeconstructionMenu=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=r.DeconstructionMenu=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.data,c=C.act,f=l.tech_levels,u=l.loaded_item,d=l.linked_destroy;return d?u?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Object Analysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{content:"Deconstruct",icon:"microscope",onClick:function(){function s(){c("deconstruct")}return s}()}),(0,e.createComponentVNode)(2,o.Button,{content:"Eject",icon:"eject",onClick:function(){function s(){c("eject_item")}return s}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:u.name})})}),(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Current Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Object Level"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"New Level"})]}),f.map(function(s){return(0,e.createComponentVNode)(2,b,{techLevel:s},s.id)})]})})],4):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"No item loaded. Standing by..."}):(0,e.createComponentVNode)(2,o.Section,{title:"Deconstruction Menu",children:"NO DESTRUCTIVE ANALYZER LINKED TO CONSOLE"})}return y}(),b=function(B,k){var C=B.techLevel,l=C.name,c=C.desc,f=C.level,u=C.object_level,d=C.ui_icon,s=u!=null,i=s&&u>=f?Math.max(u,f+1):f;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:c})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:d})," ",l]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:f}),s?(0,e.createComponentVNode)(2,o.Table.Cell,{children:u}):(0,e.createComponentVNode)(2,o.Table.Cell,{className:"research-level-no-effect",children:"-"}),(0,e.createComponentVNode)(2,o.Table.Cell,{className:(0,a.classes)([i!==f&&"upgraded-level"]),children:i})]})}},16830:function(T,r,n){"use strict";r.__esModule=!0,r.LatheCategory=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),m=r.LatheCategory=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.data,l=k.act,c=C.category,f=C.matching_designs,u=C.menu,d=u===4,s=d?"build":"imprint";return(0,e.createComponentVNode)(2,t.Section,{title:c,children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,t.Table,{className:"RndConsole__LatheCategory__MatchingDesigns",children:f.map(function(i){var h=i.id,N=i.name,v=i.can_build,p=i.materials;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:N,disabled:v<1,onClick:function(){function g(){return l(s,{id:h,amount:1})}return g}()})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=5?(0,e.createComponentVNode)(2,t.Button,{content:"x5",onClick:function(){function g(){return l(s,{id:h,amount:5})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:v>=10?(0,e.createComponentVNode)(2,t.Button,{content:"x10",onClick:function(){function g(){return l(s,{id:h,amount:10})}return g}()}):null}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:p.map(function(g){return(0,e.createFragment)([" | ",(0,e.createVNode)(1,"span",g.is_red?"color-red":null,[g.amount,(0,e.createTextVNode)(" "),g.name],0)],0)})})]},h)})})]})}return b}()},70497:function(T,r,n){"use strict";r.__esModule=!0,r.LatheChemicalStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheChemicalStorage=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data,C=B.act,l=k.loaded_chemicals,c=k.menu===4;return(0,e.createComponentVNode)(2,t.Section,{title:"Chemical Storage",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Purge All",icon:"trash",onClick:function(){function f(){var u=c?"disposeallP":"disposeallI";C(u)}return f}()}),(0,e.createComponentVNode)(2,t.LabeledList,{children:l.map(function(f){var u=f.volume,d=f.name,s=f.id;return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"* "+u+" of "+d,children:(0,e.createComponentVNode)(2,t.Button,{content:"Purge",icon:"trash",onClick:function(){function i(){var h=c?"disposeP":"disposeI";C(h,{id:s})}return i}()})},s)})})]})}return m}()},70864:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMainMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(52662),m=n(68198),b=r.LatheMainMenu=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=C.act,f=l.menu,u=l.categories,d=f===4?"Protolathe":"Circuit Imprinter";return(0,e.createComponentVNode)(2,t.Section,{title:d+" Menu",children:[(0,e.createComponentVNode)(2,o.LatheMaterials),(0,e.createComponentVNode)(2,m.LatheSearch),(0,e.createComponentVNode)(2,t.Divider),(0,e.createComponentVNode)(2,t.Flex,{wrap:"wrap",children:u.map(function(s){return(0,e.createComponentVNode)(2,t.Flex,{style:{"flex-basis":"50%","margin-bottom":"6px"},children:(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-right",content:s,onClick:function(){function i(){c("setCategory",{category:s})}return i}()})},s)})})]})}return y}()},42878:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMaterialStorage=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterialStorage=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data,C=B.act,l=k.loaded_materials;return(0,e.createComponentVNode)(2,t.Section,{className:"RndConsole__LatheMaterialStorage",title:"Material Storage",children:(0,e.createComponentVNode)(2,t.Table,{children:l.map(function(c){var f=c.id,u=c.amount,d=c.name,s=function(){function v(p){var g=k.menu===4?"lathe_ejectsheet":"imprinter_ejectsheet";C(g,{id:f,amount:p})}return v}(),i=Math.floor(u/2e3),h=u<1,N=i===1?"":"s";return(0,e.createComponentVNode)(2,t.Table.Row,{className:h?"color-grey":"color-yellow",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"210px",children:["* ",u," of ",d]}),(0,e.createComponentVNode)(2,t.Table.Cell,{minWidth:"110px",children:["(",i," sheet",N,")"]}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u>=2e3?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:"1x",icon:"eject",onClick:function(){function v(){return s(1)}return v}()}),(0,e.createComponentVNode)(2,t.Button,{content:"C",icon:"eject",onClick:function(){function v(){return s("custom")}return v}()}),u>=2e3*5?(0,e.createComponentVNode)(2,t.Button,{content:"5x",icon:"eject",onClick:function(){function v(){return s(5)}return v}()}):null,(0,e.createComponentVNode)(2,t.Button,{content:"All",icon:"eject",onClick:function(){function v(){return s(50)}return v}()})],0):null})]},f)})})})}return m}()},52662:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMaterials=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheMaterials=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data,C=k.total_materials,l=k.max_materials,c=k.max_chemicals,f=k.total_chemicals;return(0,e.createComponentVNode)(2,t.Box,{className:"RndConsole__LatheMaterials",mb:"10px",children:(0,e.createComponentVNode)(2,t.Table,{width:"auto",children:[(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Material Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:C}),l?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+l}):null]}),(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:"Chemical Amount:"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:f}),c?(0,e.createComponentVNode)(2,t.Table.Cell,{children:" / "+c}):null]})]})})}return m}()},9681:function(T,r,n){"use strict";r.__esModule=!0,r.LatheMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(12644),m=n(70864),b=n(16830),y=n(42878),B=n(70497),k=["menu"];function C(d,s){if(d==null)return{};var i={};for(var h in d)if({}.hasOwnProperty.call(d,h)){if(s.includes(h))continue;i[h]=d[h]}return i}var l=t.Tabs.Tab,c=function(s,i){var h=(0,a.useBackend)(i),N=h.act,v=h.data,p=v.menu===o.MENU.LATHE?["nav_protolathe",v.submenu_protolathe]:["nav_imprinter",v.submenu_imprinter],g=p[0],V=p[1],S=s.menu,I=C(s,k);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,l,Object.assign({selected:V===S,onClick:function(){function L(){return N(g,{menu:S})}return L}()},I)))},f=function(s){switch(s){case o.PRINTER_MENU.MAIN:return(0,e.createComponentVNode)(2,m.LatheMainMenu);case o.PRINTER_MENU.SEARCH:return(0,e.createComponentVNode)(2,b.LatheCategory);case o.PRINTER_MENU.MATERIALS:return(0,e.createComponentVNode)(2,y.LatheMaterialStorage);case o.PRINTER_MENU.CHEMICALS:return(0,e.createComponentVNode)(2,B.LatheChemicalStorage)}},u=r.LatheMenu=function(){function d(s,i){var h=(0,a.useBackend)(i),N=h.data,v=N.menu,p=N.linked_lathe,g=N.linked_imprinter;return v===o.MENU.LATHE&&!p?(0,e.createComponentVNode)(2,t.Box,{children:"NO PROTOLATHE LINKED TO CONSOLE"}):v===o.MENU.IMPRINTER&&!g?(0,e.createComponentVNode)(2,t.Box,{children:"NO CIRCUIT IMPRITER LINKED TO CONSOLE"}):(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MAIN,icon:"bars",children:"Main Menu"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.MATERIALS,icon:"layer-group",children:"Materials"}),(0,e.createComponentVNode)(2,c,{menu:o.PRINTER_MENU.CHEMICALS,icon:"flask-vial",children:"Chemicals"})]}),f(N.menu===o.MENU.LATHE?N.submenu_protolathe:N.submenu_imprinter)]})}return d}()},68198:function(T,r,n){"use strict";r.__esModule=!0,r.LatheSearch=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LatheSearch=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act;return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"Search...",onEnter:function(){function C(l,c){return k("search",{to_search:c})}return C}()})})}return m}()},81421:function(T,r,n){"use strict";r.__esModule=!0,r.LinkMenu=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),m=r.LinkMenu=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.controllers;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Setup Linkage",children:(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Link"})]}),c.map(function(f){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:f.addr}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:f.net_id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Link",icon:"link",onClick:function(){function u(){return C("linktonetworkcontroller",{target_controller:f.addr})}return u}()})})]},f.addr)})]})})})})}return b}()},6256:function(T,r,n){"use strict";r.__esModule=!0,r.SettingsMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.SettingsMenu=function(){function y(B,k){return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,b)]})}return y}(),m=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.sync,u=c.admin;return(0,e.createComponentVNode)(2,t.Section,{title:"Settings",children:(0,e.createComponentVNode)(2,t.Flex,{direction:"column",align:"flex-start",children:(0,e.createComponentVNode)(2,t.Button,{color:"red",icon:"unlink",content:"Disconnect from Research Network",onClick:function(){function d(){l("unlink")}return d}()})})})},b=function(B,k){var C=(0,a.useBackend)(k),l=C.data,c=C.act,f=l.linked_destroy,u=l.linked_lathe,d=l.linked_imprinter;return(0,e.createComponentVNode)(2,t.Section,{title:"Linked Devices",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"link",content:"Re-sync with Nearby Devices",onClick:function(){function s(){return c("find_device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destructive Analyzer",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!f,content:f?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"destroy"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Protolathe",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!u,content:u?"Unlink":"Undetected",onClick:function(){function s(){c("disconnect",{item:"lathe"})}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Circuit Imprinter",children:(0,e.createComponentVNode)(2,t.Button,{icon:"unlink",disabled:!d,content:d?"Unlink":"Undetected",onClick:function(){function s(){return c("disconnect",{item:"imprinter"})}return s}()})})]})})}},12644:function(T,r,n){"use strict";r.__esModule=!0,r.RndConsole=r.PRINTER_MENU=r.MENU=void 0;var e=n(89005),a=n(72253),t=n(98595),o=n(36036),m=n(35840),b=n(37556),y=n(9681),B=n(81421),k=n(6256),C=n(58147),l=["menu"];function c(p,g){if(p==null)return{};var V={};for(var S in p)if({}.hasOwnProperty.call(p,S)){if(g.includes(S))continue;V[S]=p[S]}return V}var f=o.Tabs.Tab,u=r.MENU={MAIN:0,DISK:2,DESTROY:3,LATHE:4,IMPRINTER:5,SETTINGS:6},d=r.PRINTER_MENU={MAIN:0,SEARCH:1,MATERIALS:2,CHEMICALS:3},s=function(g){switch(g){case u.MAIN:return(0,e.createComponentVNode)(2,v);case u.DISK:return(0,e.createComponentVNode)(2,b.DataDiskMenu);case u.DESTROY:return(0,e.createComponentVNode)(2,C.DeconstructionMenu);case u.LATHE:case u.IMPRINTER:return(0,e.createComponentVNode)(2,y.LatheMenu);case u.SETTINGS:return(0,e.createComponentVNode)(2,k.SettingsMenu);default:return"UNKNOWN MENU"}},i=function(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data,w=L.menu,A=g.menu,x=c(g,l);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,f,Object.assign({selected:w===A,onClick:function(){function E(){return I("nav",{menu:A})}return E}()},x)))},h=r.RndConsole=function(){function p(g,V){var S=(0,a.useBackend)(V),I=S.act,L=S.data;if(!L.linked)return(0,e.createComponentVNode)(2,B.LinkMenu);var w=L.menu,A=L.linked_destroy,x=L.linked_lathe,E=L.linked_imprinter,M=L.wait_message;return(0,e.createComponentVNode)(2,t.Window,{width:800,height:550,children:(0,e.createComponentVNode)(2,t.Window.Content,{children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,i,{icon:"flask",menu:u.MAIN,children:"Research"}),!!A&&(0,e.createComponentVNode)(2,i,{icon:"microscope",menu:u.DESTROY,children:"Analyze"}),!!x&&(0,e.createComponentVNode)(2,i,{icon:"print",menu:u.LATHE,children:"Protolathe"}),!!E&&(0,e.createComponentVNode)(2,i,{icon:"memory",menu:u.IMPRINTER,children:"Imprinter"}),(0,e.createComponentVNode)(2,i,{icon:"floppy-disk",menu:u.DISK,children:"Disk"}),(0,e.createComponentVNode)(2,i,{icon:"cog",menu:u.SETTINGS,children:"Settings"})]}),s(w),(0,e.createComponentVNode)(2,N)]})})})}return p}(),N=function(g,V){var S=(0,a.useBackend)(V),I=S.data,L=I.wait_message;return L?(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay",children:(0,e.createComponentVNode)(2,o.Box,{className:"RndConsole__Overlay__Wrapper",children:(0,e.createComponentVNode)(2,o.NoticeBox,{color:"black",children:L})})}):null},v=function(g,V){var S=(0,a.useBackend)(V),I=S.data,L=I.tech_levels;return(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.Table,{id:"research-levels",children:[(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Research Field"}),(0,e.createComponentVNode)(2,o.Table.Cell,{header:!0,children:"Level"})]}),L.map(function(w){var A=w.id,x=w.name,E=w.desc,M=w.level,j=w.ui_icon;return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{icon:"circle-info",tooltip:E})}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:j})," ",x]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:M})]},A)})]})})}},29205:function(T,r,n){"use strict";r.__esModule=!0,r.RndNetController=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=r.RndNetController=function(){function k(C,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,d=u.ion,s=(0,t.useLocalState)(l,"mainTabIndex",0),i=s[0],h=s[1],N=function(){function v(p){switch(p){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,B);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return v}();return(0,e.createComponentVNode)(2,m.Window,{width:900,height:600,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"wrench",selected:i===0,onClick:function(){function v(){return h(0)}return v}(),children:"Network Management"},"ConfigPage"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"floppy-disk",selected:i===1,onClick:function(){function v(){return h(1)}return v}(),children:"Design Management"},"DesignPage")]}),N(i)]})})}return k}(),y=function(C,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,d=(0,t.useLocalState)(l,"filterType","ALL"),s=d[0],i=d[1],h=u.network_password,N=u.network_name,v=u.devices,p=[];p.push(s),s==="MSC"&&(p.push("BCK"),p.push("PGN"));var g=s==="ALL"?v:v.filter(function(V){return p.indexOf(V.dclass)>-1});return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Section,{title:"Network Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Network Name",children:(0,e.createComponentVNode)(2,o.Button,{content:N||"Unset",selected:N,icon:"edit",onClick:function(){function V(){return f("network_name")}return V}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Network Password",children:(0,e.createComponentVNode)(2,o.Button,{content:h||"Unset",selected:h,icon:"lock",onClick:function(){function V(){return f("network_password")}return V}()})})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Connected Devices",children:[(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="ALL",onClick:function(){function V(){return i("ALL")}return V}(),icon:"network-wired",children:"All Devices"},"AllDevices"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="SRV",onClick:function(){function V(){return i("SRV")}return V}(),icon:"server",children:"R&D Servers"},"RNDServers"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="RDC",onClick:function(){function V(){return i("RDC")}return V}(),icon:"desktop",children:"R&D Consoles"},"RDConsoles"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="MFB",onClick:function(){function V(){return i("MFB")}return V}(),icon:"industry",children:"Exosuit Fabricators"},"Mechfabs"),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:s==="MSC",onClick:function(){function V(){return i("MSC")}return V}(),icon:"microchip",children:"Miscellaneous Devices"},"Misc")]}),(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Device Name"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Device ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Unlink"})]}),g.map(function(V){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:V.name}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:V.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function S(){return f("unlink_device",{dclass:V.dclass,uid:V.id})}return S}()})})]},V.id)})]})]})],4)},B=function(C,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,d=u.designs,s=(0,t.useLocalState)(l,"searchText",""),i=s[0],h=s[1];return(0,e.createComponentVNode)(2,o.Section,{title:"Design Management",children:[(0,e.createComponentVNode)(2,o.Input,{fluid:!0,placeholder:"Search for designs",mb:2,onInput:function(){function N(v,p){return h(p)}return N}()}),d.filter((0,a.createSearch)(i,function(N){return N.name})).map(function(N){return(0,e.createComponentVNode)(2,o.Button.Checkbox,{fluid:!0,content:N.name,checked:!N.blacklisted,onClick:function(){function v(){return f(N.blacklisted?"unblacklist_design":"blacklist_design",{d_uid:N.uid})}return v}()},N.name)})]})}},63315:function(T,r,n){"use strict";r.__esModule=!0,r.RndServer=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),m=n(98595),b=r.RndServer=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.active,s=u.network_name;return(0,e.createComponentVNode)(2,m.Window,{width:600,height:500,resizable:!0,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,o.Section,{title:"Server Configuration",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Machine power",children:(0,e.createComponentVNode)(2,o.Button,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function i(){return f("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Link status",children:s===null?(0,e.createComponentVNode)(2,o.Box,{color:"red",children:"Unlinked"}):(0,e.createComponentVNode)(2,o.Box,{color:"green",children:"Linked"})})]})}),s===null?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)]})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.network_name;return(0,e.createComponentVNode)(2,o.Section,{title:"Network Info",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Connected network ID",children:d}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,o.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function s(){return f("unlink")}return s}()})})]})})},B=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.controllers;return(0,e.createComponentVNode)(2,o.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,o.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,o.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:"Link"})]}),d.map(function(s){return(0,e.createComponentVNode)(2,o.Table.Row,{children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:s.netname}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{content:"Link",icon:"link",onClick:function(){function i(){return f("link",{addr:s.addr})}return i}()})})]},s.addr)})]})})}},26109:function(T,r,n){"use strict";r.__esModule=!0,r.RobotSelfDiagnosis=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(25328),b=function(k,C){var l=k/C;return l<=.2?"good":l<=.5?"average":"bad"},y=r.RobotSelfDiagnosis=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.data,f=c.component_data;return(0,e.createComponentVNode)(2,o.Window,{width:280,height:480,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:f.map(function(u,d){return(0,e.createComponentVNode)(2,t.Section,{title:(0,m.capitalize)(u.name),children:u.installed<=0?(0,e.createComponentVNode)(2,t.NoticeBox,{m:-.5,height:3.5,color:"red",style:{"font-style":"normal"},children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",children:(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,textAlign:"center",align:"center",color:"#e8e8e8",children:u.installed===-1?"Destroyed":"Missing"})})}):(0,e.createComponentVNode)(2,t.Flex,{children:[(0,e.createComponentVNode)(2,t.Flex.Item,{width:"72%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",color:b(u.brute_damage,u.max_damage),children:u.brute_damage}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",color:b(u.electronic_damage,u.max_damage),children:u.electronic_damage})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{width:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Powered",color:u.powered?"good":"bad",children:u.powered?"Yes":"No"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Enabled",color:u.status?"good":"bad",children:u.status?"Yes":"No"})]})})]})},d)})})})}return B}()},97997:function(T,r,n){"use strict";r.__esModule=!0,r.RoboticsControlConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.RoboticsControlConsole=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.can_hack,u=c.safety,d=c.show_lock_all,s=c.cyborgs,i=s===void 0?[]:s;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:460,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[!!d&&(0,e.createComponentVNode)(2,t.Section,{title:"Emergency Lock Down",children:[(0,e.createComponentVNode)(2,t.Button,{icon:u?"lock":"unlock",content:u?"Disable Safety":"Enable Safety",selected:u,onClick:function(){function h(){return l("arm",{})}return h}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"lock",disabled:u,content:"Lock ALL Cyborgs",color:"bad",onClick:function(){function h(){return l("masslock",{})}return h}()})]}),(0,e.createComponentVNode)(2,b,{cyborgs:i,can_hack:f})]})})}return y}(),b=function(B,k){var C=B.cyborgs,l=B.can_hack,c=(0,a.useBackend)(k),f=c.act,u=c.data,d="Detonate";return u.detonate_cooldown>0&&(d+=" ("+u.detonate_cooldown+"s)"),C.length?C.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,buttons:(0,e.createFragment)([!!s.hackable&&!s.emagged&&(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:"Hack",color:"bad",onClick:function(){function i(){return f("hackbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:s.locked_down?"unlock":"lock",color:s.locked_down?"good":"default",content:s.locked_down?"Release":"Lockdown",disabled:!u.auth,onClick:function(){function i(){return f("stopbot",{uid:s.uid})}return i}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"bomb",content:d,disabled:!u.auth||u.detonate_cooldown>0,color:"bad",onClick:function(){function i(){return f("killbot",{uid:s.uid})}return i}()})],0),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Box,{color:s.status?"bad":s.locked_down?"average":"good",children:s.status?"Not Responding":s.locked_down?"Locked Down":"Nominal"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:(0,e.createComponentVNode)(2,t.Box,{children:s.locstring})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.health>50?"good":"bad",value:s.health/100})}),typeof s.charge=="number"&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Charge",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:s.charge>30?"good":"bad",value:s.charge/100})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell Capacity",children:(0,e.createComponentVNode)(2,t.Box,{color:s.cell_capacity<3e4?"average":"good",children:s.cell_capacity})})],4)||(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cell",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"No Power Cell"})}),!!s.is_hacked&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safeties",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"DISABLED"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Module",children:s.module}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master AI",children:(0,e.createComponentVNode)(2,t.Box,{color:s.synchronization?"default":"average",children:s.synchronization||"None"})})]})},s.uid)}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No cyborg units detected within access parameters."})}},54431:function(T,r,n){"use strict";r.__esModule=!0,r.Safe=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Safe=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.dial,s=u.open,i=u.locked,h=u.contents;return(0,e.createComponentVNode)(2,o.Window,{theme:"safe",width:600,height:800,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving",children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"25%"}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--engraving--hinge",top:"75%"})]}),(0,e.createComponentVNode)(2,t.Icon,{className:"Safe--engraving--arrow",name:"long-arrow-alt-down",size:"3"}),(0,e.createVNode)(1,"br"),s?(0,e.createComponentVNode)(2,y):(0,e.createComponentVNode)(2,t.Box,{as:"img",className:"Safe--dial",src:"safe_dial.png",style:{transform:"rotate(-"+3.6*d+"deg)","z-index":0}})]}),!s&&(0,e.createComponentVNode)(2,B)]})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.dial,s=u.open,i=u.locked,h=function(v,p){return(0,e.createComponentVNode)(2,t.Button,{disabled:s||p&&!i,icon:"arrow-"+(p?"right":"left"),content:(p?"Right":"Left")+" "+v,iconRight:p,onClick:function(){function g(){return f(p?"turnleft":"turnright",{num:v})}return g}(),style:{"z-index":10}})};return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer",children:[(0,e.createComponentVNode)(2,t.Button,{disabled:i,icon:s?"lock":"lock-open",content:s?"Close":"Open",mb:"0.5rem",onClick:function(){function N(){return f("open")}return N}()}),(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Box,{position:"absolute",children:[h(50),h(10),h(1)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--right",position:"absolute",right:"5px",children:[h(1,!0),h(10,!0),h(50,!0)]}),(0,e.createComponentVNode)(2,t.Box,{className:"Safe--dialer--number",children:d})]})},y=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.contents;return(0,e.createComponentVNode)(2,t.Box,{className:"Safe--contents",overflow:"auto",children:d.map(function(s,i){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{mb:"0.5rem",onClick:function(){function h(){return f("retrieve",{index:i+1})}return h}(),children:[(0,e.createComponentVNode)(2,t.Box,{as:"img",src:s.sprite+".png",verticalAlign:"middle",ml:"-6px",mr:"0.5rem"}),s.name]}),(0,e.createVNode)(1,"br")],4,s)})})},B=function(C,l){return(0,e.createComponentVNode)(2,t.Section,{className:"Safe--help",title:"Safe opening instructions (because you all keep forgetting)",children:[(0,e.createComponentVNode)(2,t.Box,{children:["1. Turn the dial left to the first number.",(0,e.createVNode)(1,"br"),"2. Turn the dial right to the second number.",(0,e.createVNode)(1,"br"),"3. Continue repeating this process for each number, switching between left and right each time.",(0,e.createVNode)(1,"br"),"4. Open the safe."]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,children:"To lock fully, turn the dial to the left after closing the safe."})]})}},29740:function(T,r,n){"use strict";r.__esModule=!0,r.SatelliteControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SatelliteControl=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.satellites,f=l.notice,u=l.meteor_shield,d=l.meteor_shield_coverage,s=l.meteor_shield_coverage_max,i=l.meteor_shield_coverage_percentage;return(0,e.createComponentVNode)(2,o.Window,{width:475,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[u&&(0,e.createComponentVNode)(2,t.Section,{title:"Station Shield Coverage",children:(0,e.createComponentVNode)(2,t.ProgressBar,{color:i>=100?"good":"average",value:d,maxValue:s,children:[i," %"]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Satellite Network Control",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Alert",color:"red",children:l.notice}),c.map(function(h){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"#"+h.id,children:[h.mode," ",(0,e.createComponentVNode)(2,t.Button,{content:h.active?"Deactivate":"Activate",icon:"arrow-circle-right",onClick:function(){function N(){return C("toggle",{id:h.id})}return N}()})]},h.id)})]})})]})})}return b}()},44162:function(T,r,n){"use strict";r.__esModule=!0,r.SecureStorage=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(98595),b=n(36352),y=n(92986),B=r.SecureStorage=function(){function c(f,u){return(0,e.createComponentVNode)(2,m.Window,{theme:"securestorage",height:500,width:280,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,C)})})})})}return c}(),k=function(f,u){var d=(0,t.useBackend)(u),s=d.act,i=window.event?f.which:f.keyCode;if(i===y.KEY_ENTER){f.preventDefault(),s("keypad",{digit:"E"});return}if(i===y.KEY_ESCAPE){f.preventDefault(),s("keypad",{digit:"C"});return}if(i===y.KEY_BACKSPACE){f.preventDefault(),s("backspace");return}if(i>=y.KEY_0&&i<=y.KEY_9){f.preventDefault(),s("keypad",{digit:i-y.KEY_0});return}if(i>=y.KEY_NUMPAD_0&&i<=y.KEY_NUMPAD_9){f.preventDefault(),s("keypad",{digit:i-y.KEY_NUMPAD_0});return}},C=function(f,u){var d=(0,t.useBackend)(u),s=d.act,i=d.data,h=i.locked,N=i.no_passcode,v=i.emagged,p=i.user_entered_code,g=[["1","2","3"],["4","5","6"],["7","8","9"],["C","0","E"]],V=N?"":h?"bad":"good";return(0,e.createComponentVNode)(2,o.Section,{fill:!0,onKeyDown:function(){function S(I){return k(I,u)}return S}(),children:[(0,e.createComponentVNode)(2,o.Stack.Item,{height:7.3,children:(0,e.createComponentVNode)(2,o.Box,{className:(0,a.classes)(["SecureStorage__displayBox","SecureStorage__displayBox--"+V]),height:"100%",children:v?"ERROR":p})}),(0,e.createComponentVNode)(2,o.Table,{children:g.map(function(S){return(0,e.createComponentVNode)(2,b.TableRow,{children:S.map(function(I){return(0,e.createComponentVNode)(2,b.TableCell,{children:(0,e.createComponentVNode)(2,l,{number:I})},I)})},S[0])})})]})},l=function(f,u){var d=(0,t.useBackend)(u),s=d.act,i=d.data,h=f.number;return(0,e.createComponentVNode)(2,o.Button,{fluid:!0,bold:!0,mb:"6px",content:h,textAlign:"center",fontSize:"60px",lineHeight:1.25,width:"80px",className:(0,a.classes)(["SecureStorage__Button","SecureStorage__Button--keypad","SecureStorage__Button--"+h]),onClick:function(){function N(){return s("keypad",{digit:h})}return N}()})}},6272:function(T,r,n){"use strict";r.__esModule=!0,r.SecurityRecords=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=n(3939),y=n(321),B=n(5485),k=n(22091),C={"*Execute*":"execute","*Arrest*":"arrest",Incarcerated:"incarcerated",Parolled:"parolled",Released:"released",Demote:"demote",Search:"search",Monitor:"monitor"},l=function(p,g){(0,b.modalOpen)(p,"edit",{field:g.edit,value:g.value})},c=r.SecurityRecords=function(){function v(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.loginState,w=I.currentPage,A;if(L.logged_in)w===1?A=(0,e.createComponentVNode)(2,u):w===2&&(A=(0,e.createComponentVNode)(2,i));else return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,B.LoginScreen)})});return(0,e.createComponentVNode)(2,m.Window,{theme:"security",width:800,height:900,children:[(0,e.createComponentVNode)(2,b.ComplexModal),(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,y.LoginInfo),(0,e.createComponentVNode)(2,k.TemporaryNotice),(0,e.createComponentVNode)(2,f),A]})})]})}return v}(),f=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.currentPage,w=I.general;return(0,e.createComponentVNode)(2,o.Stack.Item,{m:0,children:(0,e.createComponentVNode)(2,o.Tabs,{children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"list",selected:L===1,onClick:function(){function A(){return S("page",{page:1})}return A}(),children:"List Records"}),L===2&&w&&!w.empty&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{icon:"file",selected:L===2,children:["Record: ",w.fields[0].value]})]})})},u=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.records,w=(0,t.useLocalState)(g,"searchText",""),A=w[0],x=w[1],E=(0,t.useLocalState)(g,"sortId","name"),M=E[0],j=E[1],P=(0,t.useLocalState)(g,"sortOrder",!0),O=P[0],D=P[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,s)}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,mt:.5,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,o.Table,{className:"SecurityRecords__list",children:[(0,e.createComponentVNode)(2,o.Table.Row,{bold:!0,children:[(0,e.createComponentVNode)(2,d,{id:"name",children:"Name"}),(0,e.createComponentVNode)(2,d,{id:"id",children:"ID"}),(0,e.createComponentVNode)(2,d,{id:"rank",children:"Assignment"}),(0,e.createComponentVNode)(2,d,{id:"fingerprint",children:"Fingerprint"}),(0,e.createComponentVNode)(2,d,{id:"status",children:"Criminal Status"})]}),L.filter((0,a.createSearch)(A,function(F){return F.name+"|"+F.id+"|"+F.rank+"|"+F.fingerprint+"|"+F.status})).sort(function(F,W){var U=O?1:-1;return F[M].localeCompare(W[M])*U}).map(function(F){return(0,e.createComponentVNode)(2,o.Table.Row,{className:"SecurityRecords__listRow--"+C[F.status],onClick:function(){function W(){return S("view",{uid_gen:F.uid_gen,uid_sec:F.uid_sec})}return W}(),children:[(0,e.createComponentVNode)(2,o.Table.Cell,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user"})," ",F.name]}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.id}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.rank}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.fingerprint}),(0,e.createComponentVNode)(2,o.Table.Cell,{children:F.status})]},F.id)})]})})})],4)},d=function(p,g){var V=(0,t.useLocalState)(g,"sortId","name"),S=V[0],I=V[1],L=(0,t.useLocalState)(g,"sortOrder",!0),w=L[0],A=L[1],x=p.id,E=p.children;return(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Table.Cell,{children:(0,e.createComponentVNode)(2,o.Button,{color:S!==x&&"transparent",fluid:!0,onClick:function(){function M(){S===x?A(!w):(I(x),A(!0))}return M}(),children:[E,S===x&&(0,e.createComponentVNode)(2,o.Icon,{name:w?"sort-up":"sort-down",ml:"0.25rem;"})]})})})},s=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.isPrinting,w=(0,t.useLocalState)(g,"searchText",""),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{ml:"0.25rem",content:"New Record",icon:"plus",onClick:function(){function E(){return S("new_general")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Cell Log",onClick:function(){function E(){return(0,b.modalOpen)(g,"print_cell_log")}return E}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by Name, ID, Assignment, Fingerprint, Status",fluid:!0,onInput:function(){function E(M,j){return x(j)}return E}()})})]})},i=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.isPrinting,w=I.general,A=I.security;return!w||!w.fields?(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"General records lost!"}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"General Data",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:L,icon:L?"spinner":"print",iconSpin:!!L,content:"Print Record",onClick:function(){function x(){return S("print_record")}return x}()}),(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",tooltip:"WARNING: This will also delete the Security and Medical records associated with this crew member!",tooltipPosition:"bottom-start",content:"Delete Record",onClick:function(){function x(){return S("delete_general")}return x}()})],4),children:(0,e.createComponentVNode)(2,h)})}),!A||!A.fields?(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"pen",content:"Create New Record",onClick:function(){function x(){return S("new_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{bold:!0,grow:!0,textAlign:"center",fontSize:1.75,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon.Stack,{children:[(0,e.createComponentVNode)(2,o.Icon,{name:"scroll",size:5,color:"gray"}),(0,e.createComponentVNode)(2,o.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"Security records lost!"]})})})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Security Data",buttons:(0,e.createComponentVNode)(2,o.Button.Confirm,{icon:"trash",disabled:A.empty,content:"Delete Record",onClick:function(){function x(){return S("delete_security")}return x}()}),children:(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:A.fields.map(function(x,E){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:x.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(x.value),!!x.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:x.line_break?"1rem":"initial",onClick:function(){function M(){return l(g,x)}return M}()})]},E)})})})})}),(0,e.createComponentVNode)(2,N)],4)],0)},h=function(p,g){var V=(0,t.useBackend)(g),S=V.data,I=S.general;return!I||!I.fields?(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,color:"bad",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,children:"General records lost!"})})}):(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:I.fields.map(function(L,w){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:L.field,preserveWhitespace:!0,children:[(0,a.decodeHtmlEntities)(""+L.value),!!L.edit&&(0,e.createComponentVNode)(2,o.Button,{icon:"pen",ml:"0.5rem",mb:L.line_break?"1rem":"initial",onClick:function(){function A(){return l(g,L)}return A}()})]},w)})})}),!!I.has_photos&&I.photos.map(function(L,w){return(0,e.createComponentVNode)(2,o.Stack.Item,{inline:!0,textAlign:"center",color:"label",ml:0,children:[(0,e.createVNode)(1,"img",null,null,1,{src:L,style:{width:"96px","margin-top":"5rem","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor","image-rendering":"pixelated"}}),(0,e.createVNode)(1,"br"),"Photo #",w+1]},w)})]})},N=function(p,g){var V=(0,t.useBackend)(g),S=V.act,I=V.data,L=I.security;return(0,e.createComponentVNode)(2,o.Stack.Item,{height:"150px",children:(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Comments/Log",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:"comment",content:"Add Entry",onClick:function(){function w(){return(0,b.modalOpen)(g,"comment_add")}return w}()}),children:L.comments.length===0?(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No comments found."}):L.comments.map(function(w,A){return(0,e.createComponentVNode)(2,o.Box,{preserveWhitespace:!0,children:[(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:w.header||"Auto-generated"}),(0,e.createVNode)(1,"br"),w.text||w,(0,e.createComponentVNode)(2,o.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){function x(){return S("comment_delete",{id:A+1})}return x}()})]},A)})})})}},5099:function(T,r,n){"use strict";r.__esModule=!0,r.SeedExtractor=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=n(98595),b=n(3939);function y(d,s){var i=typeof Symbol!="undefined"&&d[Symbol.iterator]||d["@@iterator"];if(i)return(i=i.call(d)).next.bind(i);if(Array.isArray(d)||(i=B(d))||s&&d&&typeof d.length=="number"){i&&(d=i);var h=0;return function(){return h>=d.length?{done:!0}:{done:!1,value:d[h++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function B(d,s){if(d){if(typeof d=="string")return k(d,s);var i={}.toString.call(d).slice(8,-1);return i==="Object"&&d.constructor&&(i=d.constructor.name),i==="Map"||i==="Set"?Array.from(d):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?k(d,s):void 0}}function k(d,s){(s==null||s>d.length)&&(s=d.length);for(var i=0,h=Array(s);i=A},N=function(w,A){return w<=A},v=s.split(" "),p=[],g=function(){var w=I.value,A=w.split(":");if(A.length===0)return 0;if(A.length===1)return p.push(function(M){return(M.name+" ("+M.variant+")").toLocaleLowerCase().includes(A[0].toLocaleLowerCase())}),0;if(A.length>2)return{v:function(){function M(j){return!1}return M}()};var x,E=i;if(A[1][A[1].length-1]==="-"?(E=N,x=Number(A[1].substring(0,A[1].length-1))):A[1][A[1].length-1]==="+"?(E=h,x=Number(A[1].substring(0,A[1].length-1))):x=Number(A[1]),isNaN(x))return{v:function(){function M(j){return!1}return M}()};switch(A[0].toLocaleLowerCase()){case"l":case"life":case"lifespan":p.push(function(M){return E(M.lifespan,x)});break;case"e":case"end":case"endurance":p.push(function(M){return E(M.endurance,x)});break;case"m":case"mat":case"maturation":p.push(function(M){return E(M.maturation,x)});break;case"pr":case"prod":case"production":p.push(function(M){return E(M.production,x)});break;case"y":case"yield":p.push(function(M){return E(M.yield,x)});break;case"po":case"pot":case"potency":p.push(function(M){return E(M.potency,x)});break;case"s":case"stock":case"c":case"count":case"a":case"amount":p.push(function(M){return E(M.amount,x)});break;default:return{v:function(){function M(j){return!1}return M}()}}},V,S=y(v),I;!(I=S()).done;)if(V=g(),V!==0&&V)return V.v;return function(L){for(var w=0,A=p;w=1?Number(E):1)}return A}()})]})]})}},17474:function(T,r,n){"use strict";r.__esModule=!0,r.Shop=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),m=n(72253),b=n(36036),y=n(98595),B=n(3939),k=function(h){switch(h){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);default:return"\u041E\u0428\u0418\u0411\u041A\u0410, \u0421\u041E\u041E\u0411\u0429\u0418\u0422\u0415 \u0420\u0410\u0417\u0420\u0410\u0411\u041E\u0422\u0427\u0418\u041A\u0423"}},C=r.Shop=function(){function i(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=g.cart,S=(0,m.useLocalState)(N,"tabIndex",0),I=S[0],L=S[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"abductor",children:[(0,e.createComponentVNode)(2,B.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Tabs,{children:[(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:I===0,onClick:function(){function w(){L(0)}return w}(),icon:"store",children:"\u0422\u043E\u0440\u0433\u043E\u0432\u043B\u044F"},"PurchasePage"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:I===1,onClick:function(){function w(){L(1)}return w}(),icon:"shopping-cart",children:["\u041A\u043E\u0440\u0437\u0438\u043D\u0430 ",V&&V.length?"("+V.length+")":""]},"Cart")]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:k(I)})]})})]})}return i}(),l=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=g.cash,S=g.cats,I=(0,m.useLocalState)(N,"shopItems",S[0].items),L=I[0],w=I[1],A=(0,m.useLocalState)(N,"showDesc",1),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430: "+V+"\u043A",buttons:(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438",checked:x,onClick:function(){function M(){return E(!x)}return M}()})})})}),(0,e.createComponentVNode)(2,b.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:S.map(function(M){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:M.items===L,onClick:function(){function j(){w(M.items)}return j}(),children:M.cat},M)})})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:L.map(function(M){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,f,{i:M,showDecription:x},(0,o.decodeHtmlEntities)(M.name))},(0,o.decodeHtmlEntities)(M.name))})})})})]})]})},c=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=g.cart,S=g.cash,I=g.cart_price,L=(0,m.useLocalState)(N,"showDesc",0),w=L[0],A=L[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430: "+S+"\u043A",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438",checked:w,onClick:function(){function x(){return A(!w)}return x}()}),(0,e.createComponentVNode)(2,b.Button,{content:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",icon:"trash",onClick:function(){function x(){return p("empty_cart")}return x}(),disabled:!V}),(0,e.createComponentVNode)(2,b.Button,{content:"\u041E\u043F\u043B\u0430\u0442\u0438\u0442\u044C ("+I+"\u043A)",icon:"shopping-cart",onClick:function(){function x(){return p("purchase_cart")}return x}(),disabled:!V||I>S})],4),children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:V?V.map(function(x){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,f,{i:x,showDecription:w,buttons:(0,e.createComponentVNode)(2,d,{i:x})})},(0,o.decodeHtmlEntities)(x.name))}):(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:"\u0412\u0430\u0448\u0430 \u043A\u043E\u0440\u0437\u0438\u043D\u0430 \u043F\u0443\u0441\u0442\u0430!"})})})})})},f=function(h,N){var v=h.i,p=h.showDecription,g=p===void 0?1:p,V=h.buttons,S=V===void 0?(0,e.createComponentVNode)(2,u,{i:v}):V;return(0,e.createComponentVNode)(2,b.Section,{title:(0,o.decodeHtmlEntities)(v.name),showBottom:g,buttons:S,children:[g?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(v.desc)}):null,g?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(v.content)}):null]})},u=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=h.i,S=g.cash;return(0,e.createComponentVNode)(2,b.Button,{icon:"shopping-cart",content:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0443 ("+V.cost+" \u041A\u0438\u043A\u0438\u0440\u0438\u0434\u0438\u0442\u043E\u0432)",color:V.limit!==-1&&"red",tooltip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440 \u0432 \u043A\u043E\u0440\u0437\u0438\u043D\u0443, \u0443\u0432\u0435\u043B\u0438\u0447\u0438\u0432 \u043E\u0431\u0449\u0435\u0435 \u0447\u0438\u0441\u043B\u043E \u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0442\u043E\u0432\u0430\u0440\u0430. \u0426\u0435\u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u0430 \u043C\u0435\u043D\u044F\u0435\u0442\u0441\u044F \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0442 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0445 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0435\u0439 \u0432 \u0420\u0430\u0441\u0447\u0438\u0447\u0435\u0442\u0447\u0438\u043A\u0438\u043A\u0435.",tooltipPosition:"left",onClick:function(){function I(){return p("add_to_cart",{item:V.obj_path})}return I}(),disabled:V.cost>S||V.limit!==-1&&V.purchased>=V.limit||V.is_time_available===!1})},d=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=h.i;return(0,e.createComponentVNode)(2,b.Stack,{children:[(0,e.createComponentVNode)(2,b.Button,{icon:"times",content:"("+V.cost*V.amount+"\u043A)",tooltip:"\u0423\u0431\u0440\u0430\u0442\u044C \u0438\u0437 \u043A\u043E\u0440\u0437\u0438\u043D\u044B.",tooltipPosition:"left",onClick:function(){function S(){return p("remove_from_cart",{item:V.obj_path})}return S}()}),(0,e.createComponentVNode)(2,b.Button,{icon:"minus",ml:"5px",onClick:function(){function S(){return p("set_cart_item_quantity",{item:V.obj_path,quantity:--V.amount})}return S}(),disabled:V.amount<=0}),(0,e.createComponentVNode)(2,b.Button.Input,{content:V.amount,width:"45px",tooltipPosition:"bottom-end",onCommit:function(){function S(I,L){return p("set_cart_item_quantity",{item:V.obj_path,quantity:L})}return S}(),disabled:V.limit!==-1&&V.amount>=V.limit&&V.amount<=0}),(0,e.createComponentVNode)(2,b.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:V.limit===0&&"Discount already redeemed!",onClick:function(){function S(){return p("set_cart_item_quantity",{item:V.obj_path,quantity:++V.amount})}return S}(),disabled:V.limit!==-1&&V.amount>=V.limit})]})},s=function(h,N){var v=(0,m.useBackend)(N),p=v.act,g=v.data,V=h.pack;return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,horizontal:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{width:"70%",children:V.content_images.map(function(S){return(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64,"+S,style:{"vertical-align":"middle",width:"32px",margin:"0px","margin-left":"0px"}})},S.ref)})})})}},2916:function(T,r,n){"use strict";r.__esModule=!0,r.ShuttleConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ShuttleConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:150,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:l.status?l.status:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Missing"})}),!!l.shuttle&&(!!l.docking_ports_len&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Send to ",children:l.docking_ports.map(function(c){return(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",content:c.name,onClick:function(){function f(){return C("move",{move:c.id})}return f}()},c.name)})})||(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",color:"red",children:(0,e.createComponentVNode)(2,t.NoticeBox,{color:"red",children:"Shuttle Locked"})}),!!l.admin_controlled&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Authorization",children:(0,e.createComponentVNode)(2,t.Button,{icon:"exclamation-circle",content:"Request Authorization",disabled:!l.status,onClick:function(){function c(){return C("request")}return c}()})})],0))]})})})})}return b}()},39401:function(T,r,n){"use strict";r.__esModule=!0,r.ShuttleManipulator=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.ShuttleManipulator=function(){function k(C,l){var c=(0,a.useLocalState)(l,"tabIndex",0),f=c[0],u=c[1],d=function(){function s(i){switch(i){case 0:return(0,e.createComponentVNode)(2,b);case 1:return(0,e.createComponentVNode)(2,y);case 2:return(0,e.createComponentVNode)(2,B);default:return"WE SHOULDN'T BE HERE!"}}return s}();return(0,e.createComponentVNode)(2,o.Window,{width:650,height:700,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Box,{fillPositionedParent:!0,children:[(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===0,onClick:function(){function s(){return u(0)}return s}(),icon:"info-circle",children:"Status"},"Status"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===1,onClick:function(){function s(){return u(1)}return s}(),icon:"file-import",children:"Templates"},"Templates"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:f===2,onClick:function(){function s(){return u(2)}return s}(),icon:"tools",children:"Modification"},"Modification")]}),d(f)]})})})}return k}(),b=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.shuttles;return(0,e.createComponentVNode)(2,t.Box,{children:d.map(function(s){return(0,e.createComponentVNode)(2,t.Section,{title:s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"ID",children:s.id}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Timer",children:s.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Mode",children:s.mode}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shuttle Status",children:s.status}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return f("jump_to",{type:"mobile",id:s.id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Fast Travel",icon:"fast-forward",onClick:function(){function i(){return f("fast_travel",{id:s.id})}return i}()})]})]})},s.name)})})},y=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.templates_tabs,s=u.existing_shuttle,i=u.templates;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Tabs,{children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:h===s.id,icon:"file",onClick:function(){function N(){return f("select_template_category",{cat:h})}return N}(),children:h},h)})}),!!s&&i[s.id].templates.map(function(h){return(0,e.createComponentVNode)(2,t.Section,{title:h.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[h.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:h.description}),h.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:h.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Load Template",icon:"download",onClick:function(){function N(){return f("select_template",{shuttle_id:h.shuttle_id})}return N}()})})]})},h.name)})]})},B=function(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.existing_shuttle,s=u.selected;return(0,e.createComponentVNode)(2,t.Box,{children:[d?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: "+d.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:d.status}),d.timer&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Timer",children:d.timeleft}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:(0,e.createComponentVNode)(2,t.Button,{content:"Jump To",icon:"location-arrow",onClick:function(){function i(){return f("jump_to",{type:"mobile",id:d.id})}return i}()})})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Shuttle: None"}),s?(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: "+s.name,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[s.description&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Description",children:s.description}),s.admin_notes&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Admin Notes",children:s.admin_notes}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Preview",icon:"eye",onClick:function(){function i(){return f("preview",{shuttle_id:s.shuttle_id})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Load",icon:"download",onClick:function(){function i(){return f("load",{shuttle_id:s.shuttle_id})}return i}()})]})]})}):(0,e.createComponentVNode)(2,t.Section,{title:"Selected Template: None"})]})}},88284:function(T,r,n){"use strict";r.__esModule=!0,r.Sleeper=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=[["good","Alive"],["average","Critical"],["bad","DEAD"]],y=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],B={average:[.25,.5],bad:[.5,1/0]},k=["bad","average","average","good","average","average","bad"],C=r.Sleeper=function(){function i(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.hasOccupant,S=V?(0,e.createComponentVNode)(2,l):(0,e.createComponentVNode)(2,s);return(0,e.createComponentVNode)(2,m.Window,{width:550,height:760,children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:S}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,u)})]})})})}return i}(),l=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant;return(0,e.createFragment)([(0,e.createComponentVNode)(2,c),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,d)],4)},c=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant,S=g.auto_eject_dead;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{color:"label",inline:!0,children:"Auto-eject if dead:\xA0"}),(0,e.createComponentVNode)(2,o.Button,{icon:S?"toggle-on":"toggle-off",selected:S,content:S?"On":"Off",onClick:function(){function I(){return p("auto_eject_dead_"+(S?"off":"on"))}return I}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"user-slash",content:"Eject",onClick:function(){function I(){return p("ejectify")}return I}()})],4),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Name",children:V.name}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.maxHealth,value:V.health/V.maxHealth,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]},children:(0,a.round)(V.health,0)})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Status",color:b[V.stat][0],children:b[V.stat][1]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.maxTemp,value:V.bodyTemperature/V.maxTemp,color:k[V.temperatureSuitability+3],children:[(0,a.round)(V.btCelsius,0),"\xB0C,",(0,a.round)(V.btFaren,0),"\xB0F"]})}),!!V.hasBlood&&(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Blood Level",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:V.bloodMax,value:V.bloodLevel/V.bloodMax,ranges:{bad:[-1/0,.6],average:[.6,.9],good:[.6,1/0]},children:[V.bloodPercent,"%, ",V.bloodLevel,"cl"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[V.pulse," BPM"]})],4)]})})},f=function(h,N){var v=(0,t.useBackend)(N),p=v.data,g=p.occupant;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Damage",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:y.map(function(V,S){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:V[0],children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:"100",value:g[V[1]]/100,ranges:B,children:(0,a.round)(g[V[1]],0)},S)},S)})})})},u=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.hasOccupant,S=g.isBeakerLoaded,I=g.beakerMaxSpace,L=g.beakerFreeSpace,w=g.dialysis,A=w&&L>0;return(0,e.createComponentVNode)(2,o.Section,{title:"Dialysis",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{disabled:!S||L<=0||!V,selected:A,icon:A?"toggle-on":"toggle-off",content:A?"Active":"Inactive",onClick:function(){function x(){return p("togglefilter")}return x}()}),(0,e.createComponentVNode)(2,o.Button,{disabled:!S,icon:"eject",content:"Eject",onClick:function(){function x(){return p("removebeaker")}return x}()})],4),children:S?(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Remaining Space",children:(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:L/I,ranges:{good:[.5,1/0],average:[.25,.5],bad:[-1/0,.25]},children:[L,"u"]})})}):(0,e.createComponentVNode)(2,o.Box,{color:"label",children:"No beaker loaded."})})},d=function(h,N){var v=(0,t.useBackend)(N),p=v.act,g=v.data,V=g.occupant,S=g.chemicals,I=g.maxchem,L=g.amounts;return(0,e.createComponentVNode)(2,o.Section,{title:"Occupant Chemicals",children:S.map(function(w,A){var x="",E;return w.overdosing?(x="bad",E=(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-circle"}),"\xA0 Overdosing!"]})):w.od_warning&&(x="average",E=(0,e.createComponentVNode)(2,o.Box,{color:"average",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"exclamation-triangle"}),"\xA0 Close to overdosing"]})),(0,e.createComponentVNode)(2,o.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,e.createComponentVNode)(2,o.Section,{title:w.title,level:"3",mx:"0",lineHeight:"18px",buttons:E,children:(0,e.createComponentVNode)(2,o.Stack,{children:[(0,e.createComponentVNode)(2,o.ProgressBar,{min:"0",max:I,value:w.occ_amount/I,color:x,title:"Amount of chemicals currently inside the occupant / Total amount injectable by this machine",mr:"0.5rem",children:[w.pretty_amount,"/",I,"u"]}),L.map(function(M,j){return(0,e.createComponentVNode)(2,o.Button,{disabled:!w.injectable||w.occ_amount+M>I||V.stat===2,icon:"syringe",content:"Inject "+M+"u",title:"Inject "+M+"u of "+w.title+" into the occupant",mb:"0",height:"19px",onClick:function(){function P(){return p("chemical",{chemid:w.id,amount:M})}return P}()},j)})]})})},A)})})},s=function(h,N){return(0,e.createComponentVNode)(2,o.Section,{fill:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,o.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,align:"center",color:"label",children:[(0,e.createComponentVNode)(2,o.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,e.createVNode)(1,"br"),"No occupant detected."]})})})}},21597:function(T,r,n){"use strict";r.__esModule=!0,r.SlotMachine=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SlotMachine=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;if(l.money===null)return(0,e.createComponentVNode)(2,o.Window,{width:350,height:90,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:"Could not scan your card or could not find account!"}),(0,e.createComponentVNode)(2,t.Box,{children:"Please wear or hold your ID and try again."})]})})});var c;return l.plays===1?c=l.plays+" player has tried their luck today!":c=l.plays+" players have tried their luck today!",(0,e.createComponentVNode)(2,o.Window,{width:300,height:151,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{lineHeight:2,children:c}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Credits Remaining",children:(0,e.createComponentVNode)(2,t.AnimatedNumber,{value:l.money})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"10 credits to spin",children:(0,e.createComponentVNode)(2,t.Button,{icon:"coins",disabled:l.working,content:l.working?"Spinning...":"Spin",onClick:function(){function f(){return C("spin")}return f}()})})]}),(0,e.createComponentVNode)(2,t.Box,{bold:!0,lineHeight:2,color:l.resultlvl,children:l.result})]})})})}return b}()},46348:function(T,r,n){"use strict";r.__esModule=!0,r.Smartfridge=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Smartfridge=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.secure,f=l.can_dry,u=l.drying,d=l.contents;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!c&&(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Secure Access: Please have your identification ready."}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f?"Drying rack":"Contents",buttons:!!f&&(0,e.createComponentVNode)(2,t.Button,{width:4,icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){function s(){return C("drying")}return s}()}),children:[!d&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{bold:!0,grow:!0,textAlign:"center",align:"center",color:"average",children:[(0,e.createComponentVNode)(2,t.Icon.Stack,{children:[(0,e.createComponentVNode)(2,t.Icon,{name:"cookie-bite",size:5,color:"brown"}),(0,e.createComponentVNode)(2,t.Icon,{name:"slash",size:5,color:"red"})]}),(0,e.createVNode)(1,"br"),"No products loaded."]})}),!!d&&d.slice().sort(function(s,i){return s.display_name.localeCompare(i.display_name)}).map(function(s){return(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:"55%",children:s.display_name}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:"25%",children:["(",s.quantity," in stock)"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{width:13,children:[(0,e.createComponentVNode)(2,t.Button,{width:3,icon:"arrow-down",tooltip:"Dispense one.",content:"1",onClick:function(){function i(){return C("vend",{index:s.vend,amount:1})}return i}()}),(0,e.createComponentVNode)(2,t.NumberInput,{width:"40px",minValue:0,value:0,maxValue:s.quantity,step:1,stepPixelSize:3,onChange:function(){function i(h,N){return C("vend",{index:s.vend,amount:N})}return i}()}),(0,e.createComponentVNode)(2,t.Button,{width:4,icon:"arrow-down",content:"All",tooltip:"Dispense all.",tooltipPosition:"bottom-start",onClick:function(){function i(){return C("vend",{index:s.vend,amount:s.quantity})}return i}()})]})]},s)})]})]})})})}return b}()},86162:function(T,r,n){"use strict";r.__esModule=!0,r.Smes=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(49968),m=n(98595),b=1e3,y=r.Smes=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.capacityPercent,d=f.capacity,s=f.charge,i=f.inputAttempt,h=f.inputting,N=f.inputLevel,v=f.inputLevelMax,p=f.inputAvailable,g=f.outputPowernet,V=f.outputAttempt,S=f.outputting,I=f.outputLevel,L=f.outputLevelMax,w=f.outputUsed,A=u>=100&&"good"||h&&"average"||"bad",x=S&&"good"||s>0&&"average"||"bad";return(0,e.createComponentVNode)(2,m.Window,{width:340,height:345,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Stored Energy",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:u*.01,ranges:{good:[.5,1/0],average:[.15,.5],bad:[-1/0,.15]}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Input",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Charge Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:i?"sync-alt":"times",selected:i,onClick:function(){function E(){return c("tryinput")}return E}(),children:i?"Auto":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:A,children:u>=100&&"Fully Charged"||h&&"Charging"||"Not Charging"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Input",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:N===0,onClick:function(){function E(){return c("input",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:N===0,onClick:function(){function E(){return c("input",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:N/b,fillValue:p/b,minValue:0,maxValue:v/b,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*b,1)}return E}(),onChange:function(){function E(M,j){return c("input",{target:j*b})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:N===v,onClick:function(){function E(){return c("input",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:N===v,onClick:function(){function E(){return c("input",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available",children:(0,o.formatPower)(p)})]})}),(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Output",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Output Mode",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:V?"power-off":"times",selected:V,onClick:function(){function E(){return c("tryoutput")}return E}(),children:V?"On":"Off"}),children:(0,e.createComponentVNode)(2,t.Box,{color:x,children:g?S?"Sending":s>0?"Not Sending":"No Charge":"Not Connected"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Output",children:(0,e.createComponentVNode)(2,t.Stack,{inline:!0,width:"100%",children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:I===0,onClick:function(){function E(){return c("output",{target:"min"})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"backward",disabled:I===0,onClick:function(){function E(){return c("output",{adjust:-1e4})}return E}()})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Slider,{value:I/b,minValue:0,maxValue:L/b,step:5,stepPixelSize:4,format:function(){function E(M){return(0,o.formatPower)(M*b,1)}return E}(),onChange:function(){function E(M,j){return c("output",{target:j*b})}return E}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"forward",disabled:I===L,onClick:function(){function E(){return c("output",{adjust:1e4})}return E}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:I===L,onClick:function(){function E(){return c("output",{target:"max"})}return E}()})]})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Outputting",children:(0,o.formatPower)(w)})]})})]})})})}return B}()},63584:function(T,r,n){"use strict";r.__esModule=!0,r.SolarControl=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SolarControl=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=0,f=1,u=2,d=l.generated,s=l.generated_ratio,i=l.tracking_state,h=l.tracking_rate,N=l.connected_panels,v=l.connected_tracker,p=l.cdir,g=l.direction,V=l.rotating_direction;return(0,e.createComponentVNode)(2,o.Window,{width:490,height:277,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){function S(){return C("refresh")}return S}()}),children:(0,e.createComponentVNode)(2,t.Grid,{children:[(0,e.createComponentVNode)(2,t.Grid.Column,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar tracker",color:v?"good":"bad",children:v?"OK":"N/A"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Solar panels",color:N>0?"good":"bad",children:N})]})}),(0,e.createComponentVNode)(2,t.Grid.Column,{size:2,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power output",children:(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.66,1/0],average:[.33,.66],bad:[-1/0,.33]},minValue:0,maxValue:1,value:s,children:d+" W"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[p,"\xB0 (",g,")"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===u&&(0,e.createComponentVNode)(2,t.Box,{children:" Automated "}),i===f&&(0,e.createComponentVNode)(2,t.Box,{children:[" ",h,"\xB0/h (",V,")"," "]}),i===c&&(0,e.createComponentVNode)(2,t.Box,{children:" Tracker offline "})]})]})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Controls",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Panel orientation",children:[i!==u&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",step:1,stepPixelSize:1,minValue:0,maxValue:359,value:p,onDrag:function(){function S(I,L){return C("cdir",{cdir:L})}return S}()}),i===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker status",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Off",selected:i===c,onClick:function(){function S(){return C("track",{track:c})}return S}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"clock-o",content:"Timed",selected:i===f,onClick:function(){function S(){return C("track",{track:f})}return S}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sync",content:"Auto",selected:i===u,disabled:!v,onClick:function(){function S(){return C("track",{track:u})}return S}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tracker rotation",children:[i===f&&(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0/h",step:1,stepPixelSize:1,minValue:-7200,maxValue:7200,value:h,format:function(){function S(I){var L=Math.sign(I)>0?"+":"-";return L+Math.abs(I)}return S}(),onDrag:function(){function S(I,L){return C("tdir",{tdir:L})}return S}()}),i===c&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Tracker offline "}),i===u&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"19px",children:" Automated "})]})]})})]})})}return b}()},38096:function(T,r,n){"use strict";r.__esModule=!0,r.SpawnersMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SpawnersMenu=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.spawners||[];return(0,e.createComponentVNode)(2,o.Window,{width:700,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Section,{children:c.map(function(f){return(0,e.createComponentVNode)(2,t.Section,{mb:.5,title:f.name+" ("+f.amount_left+" left)",level:2,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Jump",onClick:function(){function u(){return C("jump",{ID:f.uids})}return u}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-circle-right",content:"Spawn",onClick:function(){function u(){return C("spawn",{ID:f.uids})}return u}()})],4),children:[(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mb:1,fontSize:"16px",children:f.desc}),!!f.fluff&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},textColor:"#878787",fontSize:"14px",children:f.fluff}),!!f.important_info&&(0,e.createComponentVNode)(2,t.Box,{style:{"white-space":"pre-wrap"},mt:1,bold:!0,color:"red",fontSize:"18px",children:f.important_info})]},f.name)})})})})}return b}()},30586:function(T,r,n){"use strict";r.__esModule=!0,r.SpecMenu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SpecMenu=function(){function C(l,c){return(0,e.createComponentVNode)(2,o.Window,{width:1100,height:600,theme:"nologo",children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,y),(0,e.createComponentVNode)(2,B),(0,e.createComponentVNode)(2,k)]})})})}return C}(),b=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Hemomancer",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return u("hemomancer")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on blood magic and the manipulation of blood around you.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Vampiric claws",16),(0,e.createTextVNode)(": Unlocked at 150 blood, allows you to summon a robust pair of claws that attack rapidly, drain a targets blood, and heal you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood Barrier",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to select two turfs and create a wall between them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood tendrils",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to slow everyone in a targeted 3x3 area after a short delay.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Sanguine pool",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to travel at high speeds for a short duration. Doing this leaves behind blood splatters. You can move through anything but walls and space when doing this.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Predator senses",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to sniff out anyone within the same sector as you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood eruption",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to manipulate all nearby blood splatters, in 4 tiles around you, into spikes that impale anyone stood ontop of them.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"The blood bringers rite",16),(0,e.createTextVNode)(": When toggled you will rapidly drain the blood of everyone who is nearby and use it to heal yourself slightly and remove any incapacitating effects rapidly.")],4)]})})},y=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Umbrae",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return u("umbrae")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on darkness, stealth ambushing and mobility.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Cloak of darkness",16),(0,e.createTextVNode)(": Unlocked at 150 blood, when toggled, allows you to become nearly invisible and move rapidly when in dark regions. While active, burn damage is more effective against you.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow anchor",16),(0,e.createTextVNode)(": Unlocked at 250 blood, casting it will create an anchor at the cast location after a short delay. If you then cast the ability again, you are teleported back to the anchor. If you do not cast again within 2 minutes, you will do a fake recall, causing a clone to appear at the anchor and making yourself invisible. It will not teleport you between Z levels.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Shadow snare",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to summon a trap that when crossed blinds and ensnares the victim. This trap is hard to see, but withers in the light.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Dark passage",16),(0,e.createTextVNode)(": Unlocked at 400 blood, allows you to target a turf on screen, you will then teleport to that turf.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Extinguish",16),(0,e.createTextVNode)(": Unlocked at 600 blood, allows you to snuff out nearby electronic light sources and glowshrooms.")],4),(0,e.createVNode)(1,"b",null,"Shadow boxing",16),": Unlocked at 800 blood, sends out shadow clones towards a target, damaging them while you remain in range.",(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Eternal darkness",16),(0,e.createTextVNode)(": When toggled, you consume yourself in unholy darkness, only the strongest of lights will be able to see through it. Inside the radius, nearby creatures will freeze and energy projectiles will deal less damage.")],4),(0,e.createVNode)(1,"p",null,"In addition, you also gain permanent X-ray vision.",16)]})})},B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Gargantua",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return u("gargantua")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on tenacity and melee damage.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rejuvenate",16),(0,e.createTextVNode)(": Will heal you at an increased rate based on how much damage you have taken.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell",16),(0,e.createTextVNode)(": Unlocked at 150 blood, increases your resistance to physical damage, stuns and stamina for 30 seconds. While it is active you cannot fire guns.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Seismic stomp",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to stomp the ground to send out a shockwave, knocking people back.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood rush",16),(0,e.createTextVNode)(": Unlocked at 250 blood, gives you a short speed boost when cast.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood swell II",16),(0,e.createTextVNode)(": Unlocked at 400 blood, increases all melee damage by 10.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Overwhelming force",16),(0,e.createTextVNode)(": Unlocked at 600 blood, when toggled, if you bump into a door that you do not have access to, it will force it open. In addition, you cannot be pushed or pulled while it is active.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Demonic grasp",16),(0,e.createTextVNode)(": Unlocked at 800 blood, allows you to send out a demonic hand to snare someone. If you are on disarm/grab intent you will push/pull the target, respectively.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Charge",16),(0,e.createTextVNode)(": Unlocked at 800 blood, you gain the ability to charge at a target. Destroying and knocking back pretty much anything you collide with.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Desecrated Duel",16),(0,e.createTextVNode)(": Leap towards a visible enemy, creating an arena upon landing, infusing you with increased regeneration, and granting you resistance to internal damages.")],4)]})})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.subclasses;return(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,basis:"25%",children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Dantalion",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Choose",onClick:function(){function i(){return u("dantalion")}return i}()}),children:[(0,e.createVNode)(1,"h3",null,"Focuses on thralling and illusions.",16),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Enthrall",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Thralls your target to your will, requires you to stand still. Does not work on mindshielded or already enthralled/mindslaved people.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall cap",16),(0,e.createTextVNode)(": You can only thrall a max of 1 person at a time. This can be increased at 400 blood, 600 blood and at full power to a max of 4 thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Thrall commune",16),(0,e.createTextVNode)(": Unlocked at 150 blood, Allows you to talk to your thralls, your thralls can talk back in the same way.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Subspace swap",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to swap positions with a target.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Pacify",16),(0,e.createTextVNode)(": Unlocked at 250 blood, allows you to pacify a target, preventing them from causing harm for 40 seconds.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Decoy",16),(0,e.createTextVNode)(": Unlocked at 400 blood, briefly turn invisible and send out an illusion to fool everyone nearby.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Rally thralls",16),(0,e.createTextVNode)(": Unlocked at 600 blood, removes all incapacitating effects from nearby thralls.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Blood bond",16),(0,e.createTextVNode)(": Unlocked at 800 blood, when cast, all nearby thralls become linked to you. If anyone in the network takes damage, it is shared equally between everyone in the network. If a thrall goes out of range, they will be removed from the network.")],4),(0,e.createVNode)(1,"p",null,[(0,e.createVNode)(1,"b",null,"Full Power",16),(0,e.createComponentVNode)(2,t.Divider),(0,e.createVNode)(1,"b",null,"Mass Hysteria",16),(0,e.createTextVNode)(": Casts a powerful illusion that blinds and then makes everyone nearby perceive others as random animals.")],4)]})})}},95152:function(T,r,n){"use strict";r.__esModule=!0,r.StackCraft=void 0;var e=n(89005),a=n(72253),t=n(88510),o=n(64795),m=n(25328),b=n(98595),y=n(36036),B=r.StackCraft=function(){function s(){return(0,e.createComponentVNode)(2,b.Window,{width:350,height:500,children:(0,e.createComponentVNode)(2,b.Window.Content,{children:(0,e.createComponentVNode)(2,k)})})}return s}(),k=function(i,h){var N=(0,a.useBackend)(h),v=N.data,p=v.amount,g=v.recipes,V=(0,a.useLocalState)(h,"searchText",""),S=V[0],I=V[1],L=C(g,(0,m.createSearch)(S)),w=(0,a.useLocalState)(h,"",!1),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,y.Section,{fill:!0,scrollable:!0,title:"Amount: "+p,buttons:(0,e.createFragment)([A&&(0,e.createComponentVNode)(2,y.Input,{width:12.5,value:S,placeholder:"Find recipe",onInput:function(){function E(M,j){return I(j)}return E}()}),(0,e.createComponentVNode)(2,y.Button,{ml:.5,tooltip:"Search",tooltipPosition:"bottom-end",icon:"magnifying-glass",selected:A,onClick:function(){function E(){return x(!A)}return E}()})],0),children:L?(0,e.createComponentVNode)(2,u,{recipes:L}):(0,e.createComponentVNode)(2,y.NoticeBox,{children:"No recipes found!"})})},C=function s(i,h){var N=(0,o.flow)([(0,t.map)(function(v){var p=v[0],g=v[1];return l(g)?h(p)?v:[p,s(g,h)]:h(p)?v:[p,void 0]}),(0,t.filter)(function(v){var p=v[0],g=v[1];return g!==void 0}),(0,t.sortBy)(function(v){var p=v[0],g=v[1];return p}),(0,t.sortBy)(function(v){var p=v[0],g=v[1];return!l(g)}),(0,t.reduce)(function(v,p){var g=p[0],V=p[1];return v[g]=V,v},{})])(Object.entries(i));return Object.keys(N).length?N:void 0},l=function(i){return i.uid===void 0},c=function(i,h){return i.required_amount>h?0:Math.floor(h/i.required_amount)},f=function(i,h){for(var N=(0,a.useBackend)(h),v=N.act,p=i.recipe,g=i.max_possible_multiplier,V=Math.min(g,Math.floor(p.max_result_amount/p.result_amount)),S=[5,10,25],I=[],L=function(){var E=A[w];V>=E&&I.push((0,e.createComponentVNode)(2,y.Button,{bold:!0,translucent:!0,fontSize:.85,width:"32px",content:E*p.result_amount+"x",onClick:function(){function M(){return v("make",{recipe_uid:p.uid,multiplier:E})}return M}()}))},w=0,A=S;w1?I+"x ":"",P=L>1?"s":"",O=""+j+V,D=L+" sheet"+P,F=c(S,g);return(0,e.createComponentVNode)(2,y.ImageButton,{fluid:!0,base64:M,dmIcon:x,dmIconState:E,imageSize:32,disabled:!F,tooltip:D,buttons:w>1&&F>1&&(0,e.createComponentVNode)(2,f,{recipe:S,max_possible_multiplier:F}),onClick:function(){function W(){return v("make",{recipe_uid:A,multiplier:1})}return W}(),children:O})}},38307:function(T,r,n){"use strict";r.__esModule=!0,r.StationAlertConsoleContent=r.StationAlertConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.StationAlertConsole=function(){function y(){return(0,e.createComponentVNode)(2,o.Window,{width:325,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b)})})}return y}(),b=r.StationAlertConsoleContent=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.data,c=l.alarms||[],f=c.Fire||[],u=c.Atmosphere||[],d=c.Power||[];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Fire Alarms",children:(0,e.createVNode)(1,"ul",null,[f.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),f.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Atmospherics Alarms",children:(0,e.createVNode)(1,"ul",null,[u.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),u.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Alarms",children:(0,e.createVNode)(1,"ul",null,[d.length===0&&(0,e.createVNode)(1,"li","color-good","Systems Nominal",16),d.map(function(s){return(0,e.createVNode)(1,"li","color-average",s,0,null,s)})],0)})],4)}return y}()},96091:function(T,r,n){"use strict";r.__esModule=!0,r.StationTraitsPanel=void 0;var e=n(89005),a=n(88510),t=n(42127),o=n(72253),m=n(36036),b=n(98595),y=function(l){return l[l.SetupFutureStationTraits=0]="SetupFutureStationTraits",l[l.ViewStationTraits=1]="ViewStationTraits",l}(y||{}),B=function(c,f){var u=(0,o.useBackend)(f),d=u.act,s=u.data,i=s.future_station_traits,h=(0,o.useLocalState)(f,"selectedFutureTrait",null),N=h[0],v=h[1],p=Object.fromEntries(s.valid_station_traits.map(function(V){return[V.name,V.path]})),g=Object.keys(p);return g.sort(),(0,e.createComponentVNode)(2,m.Box,{children:[(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,m.Dropdown,{displayText:!N&&"Select trait to add...",onSelected:v,options:g,selected:N,width:"100%"})}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"green",icon:"plus",onClick:function(){function V(){if(N){var S=p[N],I=[S];if(i){var L,w=i.map(function(A){return A.path});if(w.indexOf(S)!==-1)return;I=(L=I).concat.apply(L,w)}d("setup_future_traits",{station_traits:I})}}return V}(),children:"Add"})})]}),(0,e.createComponentVNode)(2,m.Divider),Array.isArray(i)?i.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:i.map(function(V){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:V.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button,{color:"red",icon:"times",onClick:function(){function S(){d("setup_future_traits",{station_traits:(0,a.filterMap)(i,function(I){if(I.path!==V.path)return I.path})})}return S}(),children:"Delete"})})]})},V.path)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No station traits will run next round."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"good",icon:"times",tooltip:"The next round will roll station traits randomly, just like normal",onClick:function(){function V(){return d("clear_future_traits")}return V}(),children:"Run Station Traits Normally"})]}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:[(0,e.createComponentVNode)(2,m.Box,{children:"No future station traits are planned."}),(0,e.createComponentVNode)(2,m.Button,{mt:1,fluid:!0,color:"red",icon:"times",onClick:function(){function V(){return d("setup_future_traits",{station_traits:[]})}return V}(),children:"Prevent station traits from running next round"})]})]})},k=function(c,f){var u=(0,o.useBackend)(f),d=u.act,s=u.data;return s.current_traits.length>0?(0,e.createComponentVNode)(2,m.Stack,{vertical:!0,fill:!0,children:s.current_traits.map(function(i){return(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{grow:!0,children:i.name}),(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Button.Confirm,{content:"Revert",color:"red",disabled:s.too_late_to_revert||!i.can_revert,tooltip:!i.can_revert&&"This trait is not revertable."||s.too_late_to_revert&&"It's too late to revert station traits, the round has already started.",icon:"times",onClick:function(){function h(){return d("revert",{ref:i.ref})}return h}()})})]})},i.ref)})}):(0,e.createComponentVNode)(2,m.Box,{textAlign:"center",children:"There are no active station traits."})},C=r.StationTraitsPanel=function(){function l(c,f){var u=(0,o.useLocalState)(f,"station_traits_tab",y.ViewStationTraits),d=u[0],s=u[1],i;switch(d){case y.SetupFutureStationTraits:i=(0,e.createComponentVNode)(2,B);break;case y.ViewStationTraits:i=(0,e.createComponentVNode)(2,k);break;default:(0,t.exhaustiveCheck)(d)}return(0,e.createComponentVNode)(2,b.Window,{title:"Modify Station Traits",height:350,width:350,children:(0,e.createComponentVNode)(2,b.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,m.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,m.Stack.Item,{children:(0,e.createComponentVNode)(2,m.Tabs,{children:[(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"eye",selected:d===y.ViewStationTraits,onClick:function(){function h(){return s(y.ViewStationTraits)}return h}(),children:"View"}),(0,e.createComponentVNode)(2,m.Tabs.Tab,{icon:"edit",selected:d===y.SetupFutureStationTraits,onClick:function(){function h(){return s(y.SetupFutureStationTraits)}return h}(),children:"Edit"})]})}),(0,e.createComponentVNode)(2,m.Stack.Item,{m:0,children:[(0,e.createComponentVNode)(2,m.Divider),i]})]})})})}return l}()},39409:function(T,r,n){"use strict";r.__esModule=!0,r.StripMenu=void 0;var e=n(89005),a=n(88510),t=n(79140),o=n(72253),m=n(36036),b=n(98595),y=5,B=9,k=function(N){return N===0?5:9},C="64px",l=function(N){return N[0]+"/"+N[1]},c=function(N){var v=N.align,p=N.children;return(0,e.createComponentVNode)(2,m.Box,{style:{position:"absolute",left:v==="left"?"6px":"48px","text-align":v,"text-shadow":"2px 2px 2px #000",top:"2px"},children:p})},f={enable_internals:{icon:"lungs",text:"Enable internals"},disable_internals:{icon:"lungs",text:"Disable internals"},enable_lock:{icon:"lock",text:"Enable lock"},disable_lock:{icon:"unlock",text:"Disable lock"},suit_sensors:{icon:"tshirt",text:"Adjust suit sensors"},remove_accessory:{icon:"medal",text:"Remove accessory"},dislodge_headpocket:{icon:"head-side-virus",text:"Dislodge headpocket"}},u={eyes:{displayName:"eyewear",gridSpot:l([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:l([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:l([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:l([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:l([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:l([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:l([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:l([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:l([1,4])},jumpsuit:{displayName:"uniform",gridSpot:l([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:l([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:l([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:l([2,3]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:l([2,4]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:l([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:l([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:l([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:l([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:l([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:l([3,4]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:l([3,3]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:l([4,4]),image:"inventory-pda.png"}},d={eyes:{displayName:"eyewear",gridSpot:l([1,0]),image:"inventory-glasses.png"},head:{displayName:"headwear",gridSpot:l([0,1]),image:"inventory-head.png"},mask:{displayName:"mask",gridSpot:l([1,1]),image:"inventory-mask.png"},pet_collar:{displayName:"collar",gridSpot:l([1,1]),image:"inventory-collar.png"},right_ear:{displayName:"right ear",gridSpot:l([0,2]),image:"inventory-ears.png"},left_ear:{displayName:"left ear",gridSpot:l([1,2]),image:"inventory-ears.png"},parrot_headset:{displayName:"headset",gridSpot:l([1,2]),image:"inventory-ears.png"},handcuffs:{displayName:"handcuffs",gridSpot:l([1,3])},legcuffs:{displayName:"legcuffs",gridSpot:l([1,4])},jumpsuit:{displayName:"uniform",gridSpot:l([2,0]),image:"inventory-uniform.png"},suit:{displayName:"suit",gridSpot:l([2,1]),image:"inventory-suit.png"},gloves:{displayName:"gloves",gridSpot:l([2,2]),image:"inventory-gloves.png"},right_hand:{displayName:"right hand",gridSpot:l([4,4]),image:"inventory-hand_r.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"left",children:"R"})},left_hand:{displayName:"left hand",gridSpot:l([4,5]),image:"inventory-hand_l.png",additionalComponent:(0,e.createComponentVNode)(2,c,{align:"right",children:"L"})},shoes:{displayName:"shoes",gridSpot:l([3,1]),image:"inventory-shoes.png"},suit_storage:{displayName:"suit storage",gridSpot:l([4,0]),image:"inventory-suit_storage.png"},id:{displayName:"ID",gridSpot:l([4,1]),image:"inventory-id.png"},belt:{displayName:"belt",gridSpot:l([4,2]),image:"inventory-belt.png"},back:{displayName:"backpack",gridSpot:l([4,3]),image:"inventory-back.png"},left_pocket:{displayName:"left pocket",gridSpot:l([4,7]),image:"inventory-pocket.png"},right_pocket:{displayName:"right pocket",gridSpot:l([4,6]),image:"inventory-pocket.png"},pda:{displayName:"PDA",gridSpot:l([4,8]),image:"inventory-pda.png"}},s=function(h){return h[h.Completely=1]="Completely",h[h.Hidden=2]="Hidden",h}(s||{}),i=r.StripMenu=function(){function h(N,v){var p=(0,o.useBackend)(v),g=p.act,V=p.data,S=new Map;if(V.show_mode===0)for(var I=0,L=Object.keys(V.items);I=.01})},(0,a.sortBy)(function(w){return-w.amount})])(N.gases||[]),L=Math.max.apply(Math,[1].concat(I.map(function(w){return w.amount})));return(0,e.createComponentVNode)(2,B.Window,{width:550,height:185,children:(0,e.createComponentVNode)(2,B.Window.Content,{children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"270px",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Metrics",children:(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Integrity",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:p/100,ranges:{good:[.9,1/0],average:[.5,.9],bad:[-1/0,.5]}})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Relative EER",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:g,minValue:0,maxValue:5e3,ranges:{good:[-1/0,5e3],average:[5e3,7e3],bad:[7e3,1/0]},children:(0,o.toFixed)(g)+" MeV/cm3"})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Temperature",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:l(V),minValue:0,maxValue:l(1e4),ranges:{teal:[-1/0,l(80)],good:[l(80),l(373)],average:[l(373),l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(V)+" K"})}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Pressure",children:(0,e.createComponentVNode)(2,b.ProgressBar,{value:l(S),minValue:0,maxValue:l(5e4),ranges:{good:[l(1),l(300)],average:[-1/0,l(1e3)],bad:[l(1e3),1/0]},children:(0,o.toFixed)(S)+" kPa"})})]})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,basis:0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Gases",buttons:(0,e.createComponentVNode)(2,b.Button,{icon:"arrow-left",content:"Back",onClick:function(){function w(){return h("back")}return w}()}),children:(0,e.createComponentVNode)(2,b.LabeledList,{children:I.map(function(w){return(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:(0,y.getGasLabel)(w.name),children:(0,e.createComponentVNode)(2,b.ProgressBar,{color:(0,y.getGasColor)(w.name),value:w.amount,minValue:0,maxValue:L,children:(0,o.toFixed)(w.amount,2)+"%"})},w.name)})})})})]})})})}},46029:function(T,r,n){"use strict";r.__esModule=!0,r.SyndicateComputerSimple=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.SyndicateComputerSimple=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data;return(0,e.createComponentVNode)(2,o.Window,{theme:"syndicate",width:400,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:l.rows.map(function(c){return(0,e.createComponentVNode)(2,t.Section,{title:c.title,buttons:(0,e.createComponentVNode)(2,t.Button,{content:c.buttontitle,disabled:c.buttondisabled,tooltip:c.buttontooltip,tooltipPosition:"left",onClick:function(){function f(){return C(c.buttonact)}return f}()}),children:[c.status,!!c.bullets&&(0,e.createComponentVNode)(2,t.Box,{children:c.bullets.map(function(f){return(0,e.createComponentVNode)(2,t.Box,{children:f},f)})})]},c.title)})})})}return b}()},36372:function(T,r,n){"use strict";r.__esModule=!0,r.TEG=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(B){return B.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},b=r.TEG=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data;return c.error?(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Error",children:[c.error,(0,e.createComponentVNode)(2,t.Button,{icon:"circle",content:"Recheck",onClick:function(){function f(){return l("check")}return f}()})]})})}):(0,e.createComponentVNode)(2,o.Window,{width:500,height:400,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Cold Loop ("+c.cold_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Inlet",children:[m(c.cold_inlet_temp)," K, ",m(c.cold_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cold Outlet",children:[m(c.cold_outlet_temp)," K, ",m(c.cold_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Hot Loop ("+c.hot_dir+")",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Inlet",children:[m(c.hot_inlet_temp)," K, ",m(c.hot_inlet_pressure)," kPa"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hot Outlet",children:[m(c.hot_outlet_temp)," K, ",m(c.hot_outlet_pressure)," kPa"]})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Power Output",children:[m(c.output_power)," W",!!c.warning_switched&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold inlet temperature exceeds hot inlet temperature."}),!!c.warning_cold_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Cold circulator inlet pressure is under 1,000 kPa."}),!!c.warning_hot_pressure&&(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Warning: Hot circulator inlet pressure is under 1,000 kPa."})]})]})})}return y}()},23190:function(T,r,n){"use strict";r.__esModule=!0,r.TTSSeedsExplorerContent=r.TTSSeedsExplorer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(46095),m=n(98595),b={0:"Free",1:"Tier I",2:"Tier II",3:"Tier III",4:"Tier IV",5:"Tier V"},y={male:"\u041C\u0443\u0436\u0441\u043A\u043E\u0439",female:"\u0416\u0435\u043D\u0441\u043A\u0438\u0439"},B={\u041C\u0443\u0436\u0441\u043A\u043E\u0439:{icon:"mars",color:"blue"},\u0416\u0435\u043D\u0441\u043A\u0438\u0439:{icon:"venus",color:"purple"},\u041B\u044E\u0431\u043E\u0439:{icon:"venus-mars",color:"white"}},k=function(f,u,d,s){return s===void 0&&(s=null),f.map(function(i){var h,N=(h=i[s])!=null?h:i;return(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:u.includes(i),content:N,onClick:function(){function v(){u.includes(i)?d(u.filter(function(p){var g;return((g=p[s])!=null?g:p)!==i})):d([i].concat(u))}return v}()},N)})},C=r.TTSSeedsExplorer=function(){function c(){return(0,e.createComponentVNode)(2,m.Window,{width:1e3,height:685,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:(0,e.createComponentVNode)(2,l)})})})}return c}(),l=r.TTSSeedsExplorerContent=function(){function c(f,u){var d=(0,a.useBackend)(u),s=d.act,i=d.data,h=i.providers,N=i.seeds,v=i.selected_seed,p=i.phrases,g=i.donator_level,V=i.character_gender,S=N.map(function(Y){return Y.category}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}).sort(function(Y,ve){return Y.localeCompare(ve)}),I=N.map(function(Y){return Y.gender}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}),L=N.map(function(Y){return Y.required_donator_level}).filter(function(Y,ve,pe){return pe.indexOf(Y)===ve}).sort(function(Y,ve){return Y-ve}).map(function(Y){return b[Y]}),w=(0,a.useLocalState)(u,"selectedProviders",h),A=w[0],x=w[1],E=(0,a.useLocalState)(u,"selectedGenders",I.includes(y[V])?[y[V]]:I),M=E[0],j=E[1],P=(0,a.useLocalState)(u,"selectedCategories",S),O=P[0],D=P[1],F=(0,a.useLocalState)(u,"selectedDonatorLevels",L.includes(b[g])?L.slice(0,L.indexOf(b[g])+1):L),W=F[0],U=F[1],$=(0,a.useLocalState)(u,"selectedPhrase",p[0]),K=$[0],G=$[1],Q=(0,a.useLocalState)(u,"searchtext",""),J=Q[0],ue=Q[1],ie=(0,a.useLocalState)(u,"searchToggle",!1),he=ie[0],te=ie[1],q=k(h,A,x,"name"),ne=k(I,M,j),le=k(S,O,D),ee=k(L,W,U),re=(0,e.createComponentVNode)(2,t.Dropdown,{options:p,selected:K.replace(/(.{60})..+/,"$1..."),width:"21.3em",onSelected:function(){function Y(ve){return G(ve)}return Y}()}),oe=(0,e.createFragment)([he&&(0,e.createComponentVNode)(2,t.Input,{placeholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435...",width:20,onInput:function(){function Y(ve,pe){return ue(pe)}return Y}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"magnifying-glass",tooltip:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u0438\u0441\u043A",tooltipPosition:"bottom-end",selected:he,onClick:function(){function Y(){return te(!he)}return Y}()})],0),fe=N.sort(function(Y,ve){var pe=Y.name.toLowerCase(),Ve=ve.name.toLowerCase();return pe>Ve?1:pe0&&v!==Y.name?"orange":"white",children:Y.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:v===Y.name?.5:.25,textAlign:"left",children:Y.category}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:v===Y.name?"white":B[Y.gender].color,textAlign:"left",children:(0,e.createComponentVNode)(2,t.Icon,{mx:1,size:1.2,name:B[Y.gender].icon})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,opacity:.5,textColor:"white",textAlign:"right",children:Y.required_donator_level>0&&(0,e.createFragment)([b[Y.required_donator_level],(0,e.createComponentVNode)(2,t.Icon,{ml:1,mr:2,name:"coins"})],0)})]},Y.name)});return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"30.25em",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u0440\u043E\u0432\u0430\u0439\u0434\u0435\u0440\u044B",children:q}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u041F\u043E\u043B",children:ne}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0422\u0438\u0440",children:ee}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"\u0424\u0440\u0430\u0437\u0430",children:re})]})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u041A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:"times",disabled:O.length===0,onClick:function(){function Y(){return D([])}return Y}(),children:"\u0423\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451"}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",disabled:O.length===S.length,onClick:function(){function Y(){return D(S)}return Y}(),children:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0451"})],4),children:le})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.BlockQuote,{children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"11px",children:"\u0414\u043B\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0430\u043D\u0438\u044F \u0438 \u0440\u0430\u0437\u0432\u0438\u0442\u0438\u044F \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u0432 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u0445 \u0440\u0430\u0441\u0442\u0443\u0449\u0438\u0445 \u0440\u0430\u0441\u0445\u043E\u0434\u043E\u0432 \u0447\u0430\u0441\u0442\u044C \u0433\u043E\u043B\u043E\u0441\u043E\u0432 \u043F\u0440\u0438\u0448\u043B\u043E\u0441\u044C \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C\u0438 \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430 \u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u0443\u044E \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0443 \u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0430."}),(0,e.createComponentVNode)(2,t.Box,{mt:1.5,italic:!0,color:"gray",fontSize:"10px",children:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435 \u043E\u0431 \u044D\u0442\u043E\u043C \u043C\u043E\u0436\u043D\u043E \u0443\u0437\u043D\u0430\u0442\u044C \u0432 \u043D\u0430\u0448\u0435\u043C Discord-\u0441\u043E\u043E\u0431\u0449\u0435\u0441\u0442\u0432\u0435."})]})})})]})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"\u0413\u043E\u043B\u043E\u0441\u0430 ("+fe.length+"/"+N.length+")",buttons:oe,children:(0,e.createComponentVNode)(2,t.Table,{children:(0,e.createComponentVNode)(2,o.VirtualList,{children:me})})})})],4)}return c}()},56441:function(T,r,n){"use strict";r.__esModule=!0,r.TachyonArrayContent=r.TachyonArray=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TachyonArray=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.records,u=f===void 0?[]:f,d=c.explosion_target,s=c.toxins_tech,i=c.printing;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:600,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Shift's Target",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Toxins Level",children:s}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Administration",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"print",content:"Print All Logs",disabled:!u.length||i,align:"center",onClick:function(){function h(){return l("print_logs")}return h}()}),(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete All Logs",disabled:!u.length,color:"bad",align:"center",onClick:function(){function h(){return l("delete_logs")}return h}()})]})]})}),u.length?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"No Records"})]})})}return y}(),b=r.TachyonArrayContent=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.records,u=f===void 0?[]:f;return(0,e.createComponentVNode)(2,t.Section,{title:"Logged Explosions",children:(0,e.createComponentVNode)(2,t.Flex,{children:(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Time"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Epicenter"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Actual Size"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Theoretical Size"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.logged_time}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.epicenter}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.actual_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.theoretical_size_message}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button.Confirm,{icon:"trash",content:"Delete",color:"bad",onClick:function(){function s(){return l("delete_record",{index:d.index})}return s}()})})]},d.index)})]})})})})}return y}()},1754:function(T,r,n){"use strict";r.__esModule=!0,r.Tank=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Tank=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c;return l.has_mask?c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,width:"76%",icon:l.connected?"check":"times",content:l.connected?"Internals On":"Internals Off",selected:l.connected,onClick:function(){function f(){return C("internals")}return f}()})}):c=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mask",color:"red",children:"No Mask Equipped"}),(0,e.createComponentVNode)(2,o.Window,{width:325,height:135,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Tank Pressure",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:l.tankPressure/1013,ranges:{good:[.35,1/0],average:[.15,.35],bad:[-1/0,.15]},children:l.tankPressure+" kPa"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Release Pressure",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"fast-backward",disabled:l.ReleasePressure===l.minReleasePressure,tooltip:"Min",onClick:function(){function f(){return C("pressure",{pressure:"min"})}return f}()}),(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,value:parseFloat(l.releasePressure),width:"65px",unit:"kPa",minValue:l.minReleasePressure,maxValue:l.maxReleasePressure,onChange:function(){function f(u,d){return C("pressure",{pressure:d})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"fast-forward",disabled:l.ReleasePressure===l.maxReleasePressure,tooltip:"Max",onClick:function(){function f(){return C("pressure",{pressure:"max"})}return f}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"undo",content:"",disabled:l.ReleasePressure===l.defaultReleasePressure,tooltip:"Reset",onClick:function(){function f(){return C("pressure",{pressure:"reset"})}return f}()})]}),c]})})})})}return b}()},7579:function(T,r,n){"use strict";r.__esModule=!0,r.TankDispenser=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TankDispenser=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.o_tanks,f=l.p_tanks;return(0,e.createComponentVNode)(2,o.Window,{width:250,height:105,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Dispense Oxygen Tank ("+c+")",disabled:c===0,icon:"arrow-circle-down",onClick:function(){function u(){return C("oxygen")}return u}()})}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mt:1,fluid:!0,content:"Dispense Plasma Tank ("+f+")",disabled:f===0,icon:"arrow-circle-down",onClick:function(){function u(){return C("plasma")}return u}()})})]})})})}return b}()},16136:function(T,r,n){"use strict";r.__esModule=!0,r.TcommsCore=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TcommsCore=function(){function C(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.ion,i=(0,a.useLocalState)(c,"tabIndex",0),h=i[0],N=i[1],v=function(){function p(g){switch(g){case 0:return(0,e.createComponentVNode)(2,y);case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,k);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}}return p}();return(0,e.createComponentVNode)(2,o.Window,{width:900,height:520,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[s===1&&(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,t.Tabs,{children:[(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"wrench",selected:h===0,onClick:function(){function p(){return N(0)}return p}(),children:"Configuration"},"ConfigPage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"link",selected:h===1,onClick:function(){function p(){return N(1)}return p}(),children:"Device Linkage"},"LinkagePage"),(0,e.createComponentVNode)(2,t.Tabs.Tab,{icon:"user-times",selected:h===2,onClick:function(){function p(){return N(2)}return p}(),children:"User Filtering"},"FilterPage")]}),v(h)]})})}return C}(),b=function(){return(0,e.createComponentVNode)(2,t.NoticeBox,{children:"ERROR: An Ionospheric overload has occured. Please wait for the machine to reboot. This cannot be manually done."})},y=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.active,i=d.sectors_available,h=d.nttc_toggle_jobs,N=d.nttc_toggle_job_color,v=d.nttc_toggle_name_color,p=d.nttc_toggle_command_bold,g=d.nttc_job_indicator_type,V=d.nttc_setting_language,S=d.network_id;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"On":"Off",selected:s,icon:"power-off",onClick:function(){function I(){return u("toggle_active")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Sector Coverage",children:i})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Radio Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcements",children:(0,e.createComponentVNode)(2,t.Button,{content:h?"On":"Off",selected:h,icon:"user-tag",onClick:function(){function I(){return u("nttc_toggle_jobs")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:N?"On":"Off",selected:N,icon:"clipboard-list",onClick:function(){function I(){return u("nttc_toggle_job_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Name Departmentalisation",children:(0,e.createComponentVNode)(2,t.Button,{content:v?"On":"Off",selected:v,icon:"user-tag",onClick:function(){function I(){return u("nttc_toggle_name_color")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Command Amplification",children:(0,e.createComponentVNode)(2,t.Button,{content:p?"On":"Off",selected:p,icon:"volume-up",onClick:function(){function I(){return u("nttc_toggle_command_bold")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Advanced",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Job Announcement Format",children:(0,e.createComponentVNode)(2,t.Button,{content:g||"Unset",selected:g,icon:"pencil-alt",onClick:function(){function I(){return u("nttc_job_indicator_type")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Language Conversion",children:(0,e.createComponentVNode)(2,t.Button,{content:V||"Unset",selected:V,icon:"globe",onClick:function(){function I(){return u("nttc_setting_language")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:S||"Unset",selected:S,icon:"server",onClick:function(){function I(){return u("network_id")}return I}()})})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Import Configuration",icon:"file-import",onClick:function(){function I(){return u("import")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Export Configuration",icon:"file-export",onClick:function(){function I(){return u("export")}return I}()})]})],4)},B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.link_password,i=d.relay_entries;return(0,e.createComponentVNode)(2,t.Section,{title:"Device Linkage",children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linkage Password",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"lock",onClick:function(){function h(){return u("change_password")}return h}()})})}),(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Status"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Unlink"})]}),i.map(function(h){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:h.status===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Online"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Offline"})}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",onClick:function(){function N(){return u("unlink",{addr:h.addr})}return N}()})})]},h.addr)})]})]})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=f.data,s=d.filtered_users;return(0,e.createComponentVNode)(2,t.Section,{title:"User Filtering",buttons:(0,e.createComponentVNode)(2,t.Button,{content:"Add User",icon:"user-plus",onClick:function(){function i(){return u("add_filter")}return i}()}),children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"90%"},children:"User"}),(0,e.createComponentVNode)(2,t.Table.Cell,{style:{width:"10%"},children:"Actions"})]}),s.map(function(i){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:i}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Remove",icon:"user-times",onClick:function(){function h(){return u("remove_filter",{user:i})}return h}()})})]},i)})]})})}},88046:function(T,r,n){"use strict";r.__esModule=!0,r.TcommsRelay=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TcommsRelay=function(){function B(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.linked,d=f.active,s=f.network_id;return(0,e.createComponentVNode)(2,o.Window,{width:600,height:292,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Relay Configuration",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Machine Power",children:(0,e.createComponentVNode)(2,t.Button,{content:d?"On":"Off",selected:d,icon:"power-off",onClick:function(){function i(){return c("toggle_active")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Network ID",children:(0,e.createComponentVNode)(2,t.Button,{content:s||"Unset",selected:s,icon:"server",onClick:function(){function i(){return c("network_id")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Link Status",children:u===1?(0,e.createComponentVNode)(2,t.Box,{color:"green",children:"Linked"}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Unlinked"})})]})}),u===1?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,y)]})})}return B}(),b=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.linked_core_id,d=f.linked_core_addr,s=f.hidden_link;return(0,e.createComponentVNode)(2,t.Section,{title:"Link Status",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core ID",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Linked Core Address",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hidden Link",children:(0,e.createComponentVNode)(2,t.Button,{content:s?"Yes":"No",icon:s?"eye-slash":"eye",selected:s,onClick:function(){function i(){return c("toggle_hidden_link")}return i}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Unlink",children:(0,e.createComponentVNode)(2,t.Button,{content:"Unlink",icon:"unlink",color:"red",onClick:function(){function i(){return c("unlink")}return i}()})})]})})},y=function(k,C){var l=(0,a.useBackend)(C),c=l.act,f=l.data,u=f.cores;return(0,e.createComponentVNode)(2,t.Section,{title:"Detected Cores",children:(0,e.createComponentVNode)(2,t.Table,{m:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network Address"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Network ID"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Sector"}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:"Link"})]}),u.map(function(d){return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.addr}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.net_id}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:d.sector}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,e.createComponentVNode)(2,t.Button,{content:"Link",icon:"link",onClick:function(){function s(){return c("link",{addr:d.addr})}return s}()})})]},d.addr)})]})})}},20802:function(T,r,n){"use strict";r.__esModule=!0,r.Teleporter=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Teleporter=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.targetsTeleport?l.targetsTeleport:{},f=0,u=1,d=2,s=l.calibrated,i=l.calibrating,h=l.powerstation,N=l.regime,v=l.teleporterhub,p=l.target,g=l.locked,V=l.adv_beacon_allowed,S=l.advanced_beacon_locking;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:270,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:[(!h||!v)&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,title:"Error",children:[v,!h&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Powerstation not linked "}),h&&!v&&(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:" Teleporter hub not linked "})]}),h&&v&&(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Status",buttons:(0,e.createFragment)(!!V&&(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{inline:!0,color:"label",children:"Advanced Beacon Locking:\xA0"}),(0,e.createComponentVNode)(2,t.Button,{selected:S,icon:S?"toggle-on":"toggle-off",content:S?"Enabled":"Disabled",onClick:function(){function I(){return C("advanced_beacon_locking",{on:S?0:1})}return I}()})],4),0),children:[(0,e.createComponentVNode)(2,t.Stack,{mb:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Teleport target:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[N===f&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return C("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),N===u&&(0,e.createComponentVNode)(2,t.Dropdown,{width:18.2,selected:p,disabled:i,options:Object.keys(c),color:p!=="None"?"default":"bad",onSelected:function(){function I(L){return C("settarget",{x:c[L].x,y:c[L].y,z:c[L].z,tptarget:c[L].pretarget})}return I}()}),N===d&&(0,e.createComponentVNode)(2,t.Box,{children:p})]})]}),(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Regime:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Gate",tooltip:"Teleport to another teleport hub.",tooltipPosition:"top",color:N===u?"good":null,onClick:function(){function I(){return C("setregime",{regime:u})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Teleporter",tooltip:"One-way teleport.",tooltipPosition:"top",color:N===f?"good":null,onClick:function(){function I(){return C("setregime",{regime:f})}return I}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"GPS",tooltip:"Teleport to a location stored in a GPS device.",tooltipPosition:"top-end",color:N===d?"good":null,disabled:!g,onClick:function(){function I(){return C("setregime",{regime:d})}return I}()})})]}),(0,e.createComponentVNode)(2,t.Stack,{label:"Calibration",mt:1,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:8.5,color:"label",children:"Calibration:"}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[p!=="None"&&(0,e.createComponentVNode)(2,t.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{width:15.8,textAlign:"center",mt:.5,children:i&&(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"In Progress"})||s&&(0,e.createComponentVNode)(2,t.Box,{color:"good",children:"Optimal"})||(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Sub-Optimal"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button,{icon:"sync-alt",tooltip:"Calibrates the hub. Accidents may occur when the calibration is not optimal.",tooltipPosition:"bottom-end",disabled:!!(s||i),onClick:function(){function I(){return C("calibrate")}return I}()})})]}),p==="None"&&(0,e.createComponentVNode)(2,t.Box,{lineHeight:"21px",children:"No target set"})]})]})]}),!!(g&&h&&v&&N===d)&&(0,e.createComponentVNode)(2,t.Section,{title:"GPS",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Button,{content:"Upload GPS data",tooltip:"Loads the GPS data from the device.",icon:"upload",onClick:function(){function I(){return C("load")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject",tooltip:"Ejects the GPS device",icon:"eject",onClick:function(){function I(){return C("eject")}return I}()})]})})]})})})})}return b}()},48517:function(T,r,n){"use strict";r.__esModule=!0,r.TelescienceConsole=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TelescienceConsole=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.last_msg,f=l.linked_pad,u=l.held_gps,d=l.lastdata,s=l.power_levels,i=l.current_max_power,h=l.current_power,N=l.current_bearing,v=l.current_elevation,p=l.current_sector,g=l.working,V=l.max_z,S=(0,a.useLocalState)(B,"dummyrot",N),I=S[0],L=S[1];return(0,e.createComponentVNode)(2,o.Window,{width:400,height:500,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:[(0,e.createComponentVNode)(2,t.Section,{title:"Status",children:(0,e.createFragment)([c,!(d.length>0)||(0,e.createVNode)(1,"ul",null,d.map(function(w){return(0,e.createVNode)(1,"li",null,w,0,null,w)}),0)],0)}),(0,e.createComponentVNode)(2,t.Section,{title:"Telepad Status",children:f===1?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Bearing",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:[(0,e.createComponentVNode)(2,t.NumberInput,{unit:"\xB0",width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:360,disabled:g,value:N,onDrag:function(){function w(A,x){return L(x)}return w}(),onChange:function(){function w(A,x){return C("setbear",{bear:x})}return w}()}),(0,e.createComponentVNode)(2,t.Icon,{ml:1,size:1,name:"arrow-up",rotation:I})]})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Elevation",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:.1,minValue:0,maxValue:100,disabled:g,value:v,onChange:function(){function w(A,x){return C("setelev",{elev:x})}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power Level",children:s.map(function(w,A){return(0,e.createComponentVNode)(2,t.Button,{content:w,selected:h===w,disabled:A>=i-1||g,onClick:function(){function x(){return C("setpwr",{pwr:A+1})}return x}()},w)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Target Sector",children:(0,e.createComponentVNode)(2,t.NumberInput,{width:6.1,lineHeight:1.5,step:1,minValue:2,maxValue:V,value:p,disabled:g,onChange:function(){function w(A,x){return C("setz",{newz:x})}return w}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Telepad Actions",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Send",disabled:g,onClick:function(){function w(){return C("pad_send")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Receive",disabled:g,onClick:function(){function w(){return C("pad_receive")}return w}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Crystal Maintenance",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Recalibrate Crystals",disabled:g,onClick:function(){function w(){return C("recal_crystals")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Eject Crystals",disabled:g,onClick:function(){function w(){return C("eject_crystals")}return w}()})]})]}):(0,e.createFragment)([(0,e.createTextVNode)("No pad linked to console. Please use a multitool to link a pad.")],4)}),(0,e.createComponentVNode)(2,t.Section,{title:"GPS Actions",children:u===1?(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{disabled:u===0||g,content:"Eject GPS",onClick:function(){function w(){return C("eject_gps")}return w}()}),(0,e.createComponentVNode)(2,t.Button,{disabled:u===0||g,content:"Store Coordinates",onClick:function(){function w(){return C("store_to_gps")}return w}()})],4):(0,e.createFragment)([(0,e.createTextVNode)("Please insert a GPS to store coordinates to it.")],4)})]})})}return b}()},21800:function(T,r,n){"use strict";r.__esModule=!0,r.TempGun=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=r.TempGun=function(){function C(l,c){var f=(0,t.useBackend)(c),u=f.act,d=f.data,s=d.target_temperature,i=d.temperature,h=d.max_temp,N=d.min_temp;return(0,e.createComponentVNode)(2,m.Window,{width:250,height:121,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:10,stepPixelSize:6,minValue:N,maxValue:h,value:s,format:function(){function v(p){return(0,a.toFixed)(p,2)}return v}(),width:"50px",onDrag:function(){function v(p,g){return u("target_temperature",{target_temperature:g})}return v}()}),"\xB0C"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Current Temperature",children:(0,e.createComponentVNode)(2,o.Box,{color:y(i),bold:i>500-273.15,children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:(0,a.round)(i,2)}),"\xB0C"]})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Power Cost",children:(0,e.createComponentVNode)(2,o.Box,{color:k(i),children:B(i)})})]})})})})}return C}(),y=function(l){return l<=-100?"blue":l<=0?"teal":l<=100?"green":l<=200?"orange":"red"},B=function(l){return l<=100-273.15?"High":l<=250-273.15?"Medium":l<=300-273.15?"Low":l<=400-273.15?"Medium":"High"},k=function(l){return l<=100-273.15?"red":l<=250-273.15?"orange":l<=300-273.15?"green":l<=400-273.15?"orange":"red"}},24410:function(T,r,n){"use strict";r.__esModule=!0,r.sanitizeMultiline=r.removeAllSkiplines=r.TextInputModal=void 0;var e=n(89005),a=n(51057),t=n(19203),o=n(72253),m=n(92986),b=n(36036),y=n(98595),B=r.sanitizeMultiline=function(){function c(f){return f.replace(/(\n|\r\n){3,}/,"\n\n")}return c}(),k=r.removeAllSkiplines=function(){function c(f){return f.replace(/[\r\n]+/,"")}return c}(),C=r.TextInputModal=function(){function c(f,u){var d=(0,o.useBackend)(u),s=d.act,i=d.data,h=i.max_length,N=i.message,v=N===void 0?"":N,p=i.multiline,g=i.placeholder,V=i.timeout,S=i.title,I=(0,o.useLocalState)(u,"input",g||""),L=I[0],w=I[1],A=function(){function M(j){if(j!==L){var P=p?B(j):k(j);w(P)}}return M}(),x=p||L.length>=40,E=130+(v.length>40?Math.ceil(v.length/4):0)+(x?80:0);return(0,e.createComponentVNode)(2,y.Window,{title:S,width:325,height:E,children:[V&&(0,e.createComponentVNode)(2,a.Loader,{value:V}),(0,e.createComponentVNode)(2,y.Window.Content,{onKeyDown:function(){function M(j){var P=window.event?j.which:j.keyCode;P===m.KEY_ENTER&&(!x||!j.shiftKey)&&s("submit",{entry:L}),P===m.KEY_ESCAPE&&s("cancel")}return M}(),children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Box,{color:"label",children:v})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,l,{input:L,onType:A})}),(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,t.InputButtons,{input:L,message:L.length+"/"+h})})]})})})]})}return c}(),l=function(f,u){var d=(0,o.useBackend)(u),s=d.act,i=d.data,h=i.max_length,N=i.multiline,v=f.input,p=f.onType,g=N||v.length>=40;return(0,e.createComponentVNode)(2,b.TextArea,{autoFocus:!0,autoSelect:!0,height:N||v.length>=40?"100%":"1.8rem",maxLength:h,onEscape:function(){function V(){return s("cancel")}return V}(),onEnter:function(){function V(S){g&&S.shiftKey||(S.preventDefault(),s("submit",{entry:v}))}return V}(),onInput:function(){function V(S,I){return p(I)}return V}(),placeholder:"Type something...",value:v})}},25036:function(T,r,n){"use strict";r.__esModule=!0,r.ThermoMachine=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=n(98595),b=r.ThermoMachine=function(){function y(B,k){var C=(0,t.useBackend)(k),l=C.act,c=C.data;return(0,e.createComponentVNode)(2,m.Window,{width:300,height:225,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:[(0,e.createComponentVNode)(2,o.Section,{title:"Status",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Temperature",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.temperature,format:function(){function f(u){return(0,a.toFixed)(u,2)}return f}()})," K"]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Pressure",children:[(0,e.createComponentVNode)(2,o.AnimatedNumber,{value:c.pressure,format:function(){function f(u){return(0,a.toFixed)(u,2)}return f}()})," kPa"]})]})}),(0,e.createComponentVNode)(2,o.Section,{title:"Controls",buttons:(0,e.createComponentVNode)(2,o.Button,{icon:c.on?"power-off":"times",content:c.on?"On":"Off",selected:c.on,onClick:function(){function f(){return l("power")}return f}()}),children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Setting",textAlign:"center",children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:c.cooling?"temperature-low":"temperature-high",content:c.cooling?"Cooling":"Heating",selected:c.cooling,onClick:function(){function f(){return l("cooling")}return f}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Target Temperature",children:[(0,e.createComponentVNode)(2,o.Button,{icon:"fast-backward",disabled:c.target===c.min,title:"Minimum temperature",onClick:function(){function f(){return l("target",{target:c.min})}return f}()}),(0,e.createComponentVNode)(2,o.NumberInput,{animated:!0,value:Math.round(c.target),unit:"K",width:5.4,lineHeight:1.4,minValue:Math.round(c.min),maxValue:Math.round(c.max),step:5,stepPixelSize:3,onDrag:function(){function f(u,d){return l("target",{target:d})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"fast-forward",disabled:c.target===c.max,title:"Maximum Temperature",onClick:function(){function f(){return l("target",{target:c.max})}return f}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"sync",disabled:c.target===c.initial,title:"Room Temperature",onClick:function(){function f(){return l("target",{target:c.initial})}return f}()})]})]})})]})})}return y}()},20035:function(T,r,n){"use strict";r.__esModule=!0,r.TransferValve=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.TransferValve=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.tank_one,f=l.tank_two,u=l.attached_device,d=l.valve;return(0,e.createComponentVNode)(2,o.Window,{width:460,height:285,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Valve Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:d?"unlock":"lock",content:d?"Open":"Closed",disabled:!c||!f,onClick:function(){function s(){return C("toggle")}return s}()})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Assembly",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Configure Assembly",disabled:!u,onClick:function(){function s(){return C("device")}return s}()}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:u?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:u,disabled:!u,onClick:function(){function s(){return C("remove_device")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Assembly"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment One",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:c?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:c,disabled:!c,onClick:function(){function s(){return C("tankone")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})}),(0,e.createComponentVNode)(2,t.Section,{title:"Attachment Two",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Attachment",children:f?(0,e.createComponentVNode)(2,t.Button,{icon:"eject",content:f,disabled:!f,onClick:function(){function s(){return C("tanktwo")}return s}()}):(0,e.createComponentVNode)(2,t.Box,{color:"average",children:"No Tank"})})})})]})})}return b}()},78166:function(T,r,n){"use strict";r.__esModule=!0,r.TurbineComputer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=n(44879),b=r.TurbineComputer=function(){function k(C,l){var c=(0,a.useBackend)(l),f=c.act,u=c.data,d=u.compressor,s=u.compressor_broken,i=u.turbine,h=u.turbine_broken,N=u.online,v=!!(d&&!s&&i&&!h);return(0,e.createComponentVNode)(2,o.Window,{width:400,height:200,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Status",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{icon:N?"power-off":"times",content:N?"Online":"Offline",selected:N,disabled:!v,onClick:function(){function p(){return f("toggle_power")}return p}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:"Disconnect",onClick:function(){function p(){return f("disconnect")}return p}()})],4),children:v?(0,e.createComponentVNode)(2,B):(0,e.createComponentVNode)(2,y)})})})}return k}(),y=function(C,l){var c=(0,a.useBackend)(l),f=c.data,u=f.compressor,d=f.compressor_broken,s=f.turbine,i=f.turbine_broken,h=f.online;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Compressor Status",color:!u||d?"bad":"good",children:d?u?"Offline":"Missing":"Online"}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Status",color:!s||i?"bad":"good",children:i?s?"Offline":"Missing":"Online"})]})},B=function(C,l){var c=(0,a.useBackend)(l),f=c.data,u=f.rpm,d=f.temperature,s=f.power,i=f.bearing_heat;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Turbine Speed",children:[u," RPM"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Internal Temp",children:[d," K"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Generated Power",children:[s," W"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Bearing Heat",children:(0,e.createComponentVNode)(2,t.ProgressBar,{value:i,minValue:0,maxValue:100,ranges:{good:[-1/0,60],average:[60,90],bad:[90,1/0]},children:(0,m.toFixed)(i)+"%"})})]})}},52847:function(T,r,n){"use strict";r.__esModule=!0,r.Uplink=void 0;var e=n(89005),a=n(88510),t=n(64795),o=n(25328),m=n(72253),b=n(36036),y=n(98595),B=n(3939),k=function(N){switch(N){case 0:return(0,e.createComponentVNode)(2,l);case 1:return(0,e.createComponentVNode)(2,c);case 2:return(0,e.createComponentVNode)(2,i);default:return"SOMETHING WENT VERY WRONG PLEASE AHELP"}},C=r.Uplink=function(){function h(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=V.cart,I=(0,m.useLocalState)(v,"tabIndex",0),L=I[0],w=I[1],A=(0,m.useLocalState)(v,"searchText",""),x=A[0],E=A[1];return(0,e.createComponentVNode)(2,y.Window,{width:900,height:600,theme:"syndicate",children:[(0,e.createComponentVNode)(2,B.ComplexModal),(0,e.createComponentVNode)(2,y.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Tabs,{children:[(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===0,onClick:function(){function M(){w(0),E("")}return M}(),icon:"store",children:"View Market"},"PurchasePage"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===1,onClick:function(){function M(){w(1),E("")}return M}(),icon:"shopping-cart",children:["View Shopping Cart ",S&&S.length?"("+S.length+")":""]},"Cart"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:L===2,onClick:function(){function M(){w(2),E("")}return M}(),icon:"user",children:"Exploitable Information"},"ExploitableInfo"),(0,e.createComponentVNode)(2,b.Tabs.Tab,{onClick:function(){function M(){return g("lock")}return M}(),icon:"lock",children:"Lock Uplink"},"LockUplink")]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:k(L)})]})})]})}return h}(),l=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=V.crystals,I=V.cats,L=(0,m.useLocalState)(v,"uplinkItems",I[0].items),w=L[0],A=L[1],x=(0,m.useLocalState)(v,"searchText",""),E=x[0],M=x[1],j=function(U,$){$===void 0&&($="");var K=(0,o.createSearch)($,function(G){var Q=G.hijack_only===1?"|hijack":"";return G.name+"|"+G.desc+"|"+G.cost+"tc"+Q});return(0,t.flow)([(0,a.filter)(function(G){return G==null?void 0:G.name}),$&&(0,a.filter)(K),(0,a.sortBy)(function(G){return G==null?void 0:G.name})])(U)},P=function(U){if(M(U),U==="")return A(I[0].items);A(j(I.map(function($){return $.items}).flat(),U))},O=(0,m.useLocalState)(v,"showDesc",1),D=O[0],F=O[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:(0,e.createComponentVNode)(2,b.Stack.Item,{children:(0,e.createComponentVNode)(2,b.Section,{title:"Current Balance: "+S+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"Show Descriptions",checked:D,onClick:function(){function W(){return F(!D)}return W}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Random Item",icon:"question",onClick:function(){function W(){return g("buyRandom")}return W}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Refund Currently Held Item",icon:"undo",onClick:function(){function W(){return g("refund")}return W}()})],4),children:(0,e.createComponentVNode)(2,b.Input,{fluid:!0,placeholder:"Search Equipment",onInput:function(){function W(U,$){P($)}return W}(),value:E})})})}),(0,e.createComponentVNode)(2,b.Stack,{fill:!0,mt:.3,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:I.map(function(W){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:E!==""?!1:W.items===w,onClick:function(){function U(){A(W.items),M("")}return U}(),children:W.cat},W)})})})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:w.map(function(W){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,u,{i:W,showDecription:D},(0,o.decodeHtmlEntities)(W.name))},(0,o.decodeHtmlEntities)(W.name))})})})})]})]})},c=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=V.cart,I=V.crystals,L=V.cart_price,w=(0,m.useLocalState)(v,"showDesc",0),A=w[0],x=w[1];return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Current Balance: "+I+"TC",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button.Checkbox,{content:"Show Descriptions",checked:A,onClick:function(){function E(){return x(!A)}return E}()}),(0,e.createComponentVNode)(2,b.Button,{content:"Empty Cart",icon:"trash",onClick:function(){function E(){return g("empty_cart")}return E}(),disabled:!S}),(0,e.createComponentVNode)(2,b.Button,{content:"Purchase Cart ("+L+"TC)",icon:"shopping-cart",onClick:function(){function E(){return g("purchase_cart")}return E}(),disabled:!S||L>I})],4),children:(0,e.createComponentVNode)(2,b.Stack,{vertical:!0,children:S?S.map(function(E){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mr:1,backgroundColor:"rgba(255, 0, 0, 0.1)",children:(0,e.createComponentVNode)(2,u,{i:E,showDecription:A,buttons:(0,e.createComponentVNode)(2,s,{i:E})})},(0,o.decodeHtmlEntities)(E.name))}):(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:"Your Shopping Cart is empty!"})})})}),(0,e.createComponentVNode)(2,f)]})},f=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=V.cats,I=V.lucky_numbers;return(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Suggested Purchases",buttons:(0,e.createComponentVNode)(2,b.Button,{icon:"dice",content:"See more suggestions",onClick:function(){function L(){return g("shuffle_lucky_numbers")}return L}()}),children:(0,e.createComponentVNode)(2,b.Stack,{wrap:!0,children:I.map(function(L){return S[L.cat].items[L.item]}).filter(function(L){return L!=null}).map(function(L,w){return(0,e.createComponentVNode)(2,b.Stack.Item,{p:1,mb:1,ml:1,width:34,backgroundColor:"rgba(255, 0, 0, 0.15)",children:(0,e.createComponentVNode)(2,u,{grow:!0,i:L})},w)})})})})},u=function(N,v){var p=N.i,g=N.showDecription,V=g===void 0?1:g,S=N.buttons,I=S===void 0?(0,e.createComponentVNode)(2,d,{i:p}):S;return(0,e.createComponentVNode)(2,b.Section,{title:(0,o.decodeHtmlEntities)(p.name),showBottom:V,buttons:I,children:V?(0,e.createComponentVNode)(2,b.Box,{italic:!0,children:(0,o.decodeHtmlEntities)(p.desc)}):null})},d=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=N.i,I=V.crystals;return(0,e.createFragment)([(0,e.createComponentVNode)(2,b.Button,{icon:"shopping-cart",color:S.hijack_only===1&&"red",tooltip:"Add to cart.",tooltipPosition:"left",onClick:function(){function L(){return g("add_to_cart",{item:S.obj_path})}return L}(),disabled:S.cost>I}),(0,e.createComponentVNode)(2,b.Button,{content:"Buy ("+S.cost+"TC)"+(S.refundable?" [Refundable]":""),color:S.hijack_only===1&&"red",tooltip:S.hijack_only===1&&"Hijack Agents Only!",tooltipPosition:"left",onClick:function(){function L(){return g("buyItem",{item:S.obj_path})}return L}(),disabled:S.cost>I})],4)},s=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=N.i,I=V.exploitable;return(0,e.createComponentVNode)(2,b.Stack,{children:[(0,e.createComponentVNode)(2,b.Button,{icon:"times",content:"("+S.cost*S.amount+"TC)",tooltip:"Remove from cart.",tooltipPosition:"left",onClick:function(){function L(){return g("remove_from_cart",{item:S.obj_path})}return L}()}),(0,e.createComponentVNode)(2,b.Button,{icon:"minus",tooltip:S.limit===0&&"Discount already redeemed!",ml:"5px",onClick:function(){function L(){return g("set_cart_item_quantity",{item:S.obj_path,quantity:--S.amount})}return L}(),disabled:S.amount<=0}),(0,e.createComponentVNode)(2,b.Button.Input,{content:S.amount,width:"45px",tooltipPosition:"bottom-end",tooltip:S.limit===0&&"Discount already redeemed!",onCommit:function(){function L(w,A){return g("set_cart_item_quantity",{item:S.obj_path,quantity:A})}return L}(),disabled:S.limit!==-1&&S.amount>=S.limit&&S.amount<=0}),(0,e.createComponentVNode)(2,b.Button,{mb:.3,icon:"plus",tooltipPosition:"bottom-start",tooltip:S.limit===0&&"Discount already redeemed!",onClick:function(){function L(){return g("set_cart_item_quantity",{item:S.obj_path,quantity:++S.amount})}return L}(),disabled:S.limit!==-1&&S.amount>=S.limit})]})},i=function(N,v){var p=(0,m.useBackend)(v),g=p.act,V=p.data,S=V.exploitable,I=(0,m.useLocalState)(v,"selectedRecord",S[0]),L=I[0],w=I[1],A=(0,m.useLocalState)(v,"searchText",""),x=A[0],E=A[1],M=function(O,D){D===void 0&&(D="");var F=(0,o.createSearch)(D,function(W){return W.name});return(0,t.flow)([(0,a.filter)(function(W){return W==null?void 0:W.name}),D&&(0,a.filter)(F),(0,a.sortBy)(function(W){return W.name})])(O)},j=M(S,x);return(0,e.createComponentVNode)(2,b.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,b.Stack.Item,{width:"30%",children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:"Exploitable Records",children:[(0,e.createComponentVNode)(2,b.Input,{fluid:!0,mb:1,placeholder:"Search Crew",onInput:function(){function P(O,D){return E(D)}return P}()}),(0,e.createComponentVNode)(2,b.Tabs,{vertical:!0,children:j.map(function(P){return(0,e.createComponentVNode)(2,b.Tabs.Tab,{selected:P===L,onClick:function(){function O(){return w(P)}return O}(),children:P.name},P)})})]})}),(0,e.createComponentVNode)(2,b.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,b.Section,{fill:!0,scrollable:!0,title:L.name,children:(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Age",children:L.age}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Fingerprint",children:L.fingerprint}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Rank",children:L.rank}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Sex",children:L.sex}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Species",children:L.species})]})})})]})}},12261:function(T,r,n){"use strict";r.__esModule=!0,r.Vending=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=B.product,u=B.productStock,d=B.productIcon,s=B.productIconState,i=c.chargesMoney,h=c.user,N=c.usermoney,v=c.inserted_cash,p=c.vend_ready,g=c.inserted_item_name,V=!i||f.price===0,S="ERROR!",I="";V?(S="FREE",I="arrow-circle-down"):(S=f.price,I="shopping-cart");var L=!p||u===0||!V&&f.price>N&&f.price>v;return(0,e.createComponentVNode)(2,t.Table.Row,{children:[(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,children:(0,e.createComponentVNode)(2,t.DmIcon,{verticalAlign:"middle",icon:d,icon_state:s,fallback:(0,e.createComponentVNode)(2,t.Icon,{p:.66,name:"spinner",size:2,spin:!0})})}),(0,e.createComponentVNode)(2,t.Table.Cell,{bold:!0,children:f.name}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Box,{color:u<=0&&"bad"||u<=f.max_amount/2&&"average"||"good",children:[u," in stock"]})}),(0,e.createComponentVNode)(2,t.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,disabled:L,icon:I,content:S,textAlign:"left",onClick:function(){function w(){return l("vend",{inum:f.inum})}return w}()})})]})},b=r.Vending=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.user,u=c.usermoney,d=c.inserted_cash,s=c.chargesMoney,i=c.product_records,h=i===void 0?[]:i,N=c.hidden_records,v=N===void 0?[]:N,p=c.stock,g=c.vend_ready,V=c.inserted_item_name,S=c.panel_open,I=c.speaker,L;return L=[].concat(h),c.extended_inventory&&(L=[].concat(L,v)),L=L.filter(function(w){return!!w}),(0,e.createComponentVNode)(2,o.Window,{title:"Vending Machine",width:450,height:Math.min((s?171:89)+L.length*32,585),children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[!!s&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"User",buttons:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:!!V&&(0,e.createComponentVNode)(2,t.Button,{fluid:!0,icon:"eject",content:(0,e.createVNode)(1,"span",null,V,0,{style:{"text-transform":"capitalize"}}),onClick:function(){function w(){return l("eject_item",{})}return w}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{disabled:!d,icon:"money-bill-wave-alt",content:d?(0,e.createFragment)([(0,e.createVNode)(1,"b",null,d,0),(0,e.createTextVNode)(" credits")],0):"Dispense Change",tooltip:d?"Dispense Change":null,textAlign:"left",onClick:function(){function w(){return l("change")}return w}()})})]}),children:f&&(0,e.createComponentVNode)(2,t.Box,{children:["Welcome, ",(0,e.createVNode)(1,"b",null,f.name,0),", ",(0,e.createVNode)(1,"b",null,f.job||"Unemployed",0),"!",(0,e.createVNode)(1,"br"),"Your balance is ",(0,e.createVNode)(1,"b",null,[u,(0,e.createTextVNode)(" credits")],0),".",(0,e.createVNode)(1,"br")]})})}),!!S&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{title:"Maintenance",children:(0,e.createComponentVNode)(2,t.Button,{icon:I?"check":"volume-mute",selected:I,content:"Speaker",textAlign:"left",onClick:function(){function w(){return l("toggle_voice",{})}return w}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:"Products",children:(0,e.createComponentVNode)(2,t.Table,{children:L.map(function(w){return(0,e.createComponentVNode)(2,m,{product:w,productStock:p[w.name],productIcon:w.icon,productIconState:w.icon_state},w.name)})})})})]})})})}return y}()},68971:function(T,r,n){"use strict";r.__esModule=!0,r.VolumeMixer=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.VolumeMixer=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.channels;return(0,e.createComponentVNode)(2,o.Window,{width:350,height:Math.min(95+c.length*50,565),children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:c.map(function(f,u){return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.25rem",color:"label",mt:u>0&&"0.5rem",children:f.name}),(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{mr:.5,children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-off",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return C("volume",{channel:f.num,volume:0})}return d}()})})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mx:"0.5rem",children:(0,e.createComponentVNode)(2,t.Slider,{minValue:0,maxValue:100,stepPixelSize:3.13,value:f.volume,onChange:function(){function d(s,i){return C("volume",{channel:f.num,volume:i})}return d}()})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{width:"24px",color:"transparent",children:(0,e.createComponentVNode)(2,t.Icon,{name:"volume-up",size:"1.5",mt:"0.1rem",onClick:function(){function d(){return C("volume",{channel:f.num,volume:100})}return d}()})})})]})})],4,f.num)})})})})}return b}()},2510:function(T,r,n){"use strict";r.__esModule=!0,r.VotePanel=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.VotePanel=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.remaining,f=l.question,u=l.choices,d=l.user_vote,s=l.counts,i=l.show_counts;return(0,e.createComponentVNode)(2,o.Window,{width:400,height:360,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,title:f,children:[(0,e.createComponentVNode)(2,t.Box,{mb:1.5,ml:.5,children:["Time remaining: ",Math.round(c/10),"s"]}),u.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{mb:1,fluid:!0,translucent:!0,lineHeight:3,multiLine:h,content:h+(i?" ("+(s[h]||0)+")":""),onClick:function(){function N(){return C("vote",{target:h})}return N}(),selected:h===d})},h)})]})})})}return b}()},30138:function(T,r,n){"use strict";r.__esModule=!0,r.Wires=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.Wires=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.wires||[],f=l.status||[],u=56+c.length*23+(status?0:15+f.length*17);return(0,e.createComponentVNode)(2,o.Window,{width:350,height:u,children:(0,e.createComponentVNode)(2,o.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Section,{fill:!0,scrollable:!0,children:(0,e.createComponentVNode)(2,t.LabeledList,{children:c.map(function(d){return(0,e.createComponentVNode)(2,t.LabeledList.Item,{className:"candystripe",label:d.color_name,labelColor:d.seen_color,color:d.seen_color,buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Button,{content:d.cut?"Mend":"Cut",onClick:function(){function s(){return C("cut",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Pulse",onClick:function(){function s(){return C("pulse",{wire:d.color})}return s}()}),(0,e.createComponentVNode)(2,t.Button,{content:d.attached?"Detach":"Attach",onClick:function(){function s(){return C("attach",{wire:d.color})}return s}()})],4),children:!!d.wire&&(0,e.createVNode)(1,"i",null,[(0,e.createTextVNode)("("),d.wire,(0,e.createTextVNode)(")")],0)},d.seen_color)})})})}),!!f.length&&(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Section,{children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{color:"lightgray",children:d},d)})})})]})})})}return b}()},21400:function(T,r,n){"use strict";r.__esModule=!0,r.WizardApprenticeContract=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(98595),m=r.WizardApprenticeContract=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.used;return(0,e.createComponentVNode)(2,o.Window,{width:500,height:555,children:(0,e.createComponentVNode)(2,o.Window.Content,{scrollable:!0,children:[(0,e.createComponentVNode)(2,t.Section,{title:"Contract of Apprenticeship",children:["Using this contract, you may summon an apprentice to aid you on your mission.",(0,e.createVNode)(1,"p",null,"If you are unable to establish contact with your apprentice, you can feed the contract back to the spellbook to refund your points.",16),c?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"You've already summoned an apprentice or you are in process of summoning one."}):""]}),(0,e.createComponentVNode)(2,t.Section,{title:"Which school of magic is your apprentice studying?",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Fire",children:["Your apprentice is skilled in bending fire. ",(0,e.createVNode)(1,"br"),"They know Fireball, Sacred Flame, and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return C("fire")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Translocation",children:["Your apprentice is able to defy physics, learning how to move through bluespace. ",(0,e.createVNode)(1,"br"),"They know Teleport, Blink and Ethereal Jaunt.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return C("translocation")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Restoration",children:["Your apprentice is dedicated to supporting your magical prowess.",(0,e.createVNode)(1,"br"),"They come equipped with a Staff of Healing, have the unique ability to teleport back to you, and know Charge and Knock.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return C("restoration")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Stealth",children:["Your apprentice is learning the art of infiltrating mundane facilities. ",(0,e.createVNode)(1,"br"),"They know Mindswap, Knock, Homing Toolbox, and Disguise Self, all of which can be cast without robes. They also join you in a Maintenance Dweller disguise, complete with Gloves of Shock Immunity and a Belt of Tools.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return C("stealth")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Honk",children:["Your apprentice is here to spread the Honkmother's blessings.",(0,e.createVNode)(1,"br"),"They know Banana Touch, Instant Summons, Ethereal Jaunt, and come equipped with a Staff of Slipping."," ",(0,e.createVNode)(1,"br"),"While under your tutelage, they have been 'blessed' with clown shoes that are impossible to remove.",(0,e.createVNode)(1,"br"),(0,e.createComponentVNode)(2,t.Button,{content:"Select",disabled:c,onClick:function(){function f(){return C("honk")}return f}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Divider)]})})]})})}return b}()},49148:function(T,r,n){"use strict";r.__esModule=!0,r.AccessList=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036);function m(C,l){var c=typeof Symbol!="undefined"&&C[Symbol.iterator]||C["@@iterator"];if(c)return(c=c.call(C)).next.bind(c);if(Array.isArray(C)||(c=b(C))||l&&C&&typeof C.length=="number"){c&&(C=c);var f=0;return function(){return f>=C.length?{done:!0}:{done:!1,value:C[f++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(C,l){if(C){if(typeof C=="string")return y(C,l);var c={}.toString.call(C).slice(8,-1);return c==="Object"&&C.constructor&&(c=C.constructor.name),c==="Map"||c==="Set"?Array.from(C):c==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c)?y(C,l):void 0}}function y(C,l){(l==null||l>C.length)&&(l=C.length);for(var c=0,f=Array(l);c0&&!V.includes(D.ref)&&!p.includes(D.ref),checked:p.includes(D.ref),onClick:function(){function F(){return S(D.ref)}return F}()},D.desc)})]})]})})}return C}()},26991:function(T,r,n){"use strict";r.__esModule=!0,r.AtmosScan=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),m=function(B,k,C,l,c){return Bl?"average":B>c?"bad":"good"},b=r.AtmosScan=function(){function y(B,k){var C=B.data.aircontents;return(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,a.filter)(function(l){return l.val!=="0"||l.entry==="Pressure"||l.entry==="Temperature"})(C).map(function(l){return(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:l.entry,color:m(l.val,l.bad_low,l.poor_low,l.poor_high,l.bad_high),children:[l.val,l.units]},l.entry)})})})}return y}()},85870:function(T,r,n){"use strict";r.__esModule=!0,r.BeakerContents=void 0;var e=n(89005),a=n(36036),t=n(15964),o=function(y){return y+" unit"+(y===1?"":"s")},m=r.BeakerContents=function(){function b(y){var B=y.beakerLoaded,k=y.beakerContents,C=k===void 0?[]:k,l=y.buttons;return(0,e.createComponentVNode)(2,a.Stack,{vertical:!0,children:[!B&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"No beaker loaded."})||C.length===0&&(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",children:"Beaker is empty."}),C.map(function(c,f){return(0,e.createComponentVNode)(2,a.Stack,{children:[(0,e.createComponentVNode)(2,a.Stack.Item,{color:"label",grow:!0,children:[o(c.volume)," of ",c.name]},c.name),!!l&&(0,e.createComponentVNode)(2,a.Stack.Item,{children:l(c,f)})]},c.name)})]})}return b}();m.propTypes={beakerLoaded:t.bool,beakerContents:t.array,buttons:t.arrayOf(t.element)}},92963:function(T,r,n){"use strict";r.__esModule=!0,r.BotStatus=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.BotStatus=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.locked,c=C.noaccess,f=C.maintpanel,u=C.on,d=C.autopatrol,s=C.canhack,i=C.emagged,h=C.remote_disabled;return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe an ID card to ",l?"unlock":"lock"," this interface."]}),(0,e.createComponentVNode)(2,t.Section,{title:"General Settings",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:(0,e.createComponentVNode)(2,t.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:c,onClick:function(){function N(){return k("power")}return N}()})}),d!==null&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Patrol",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:d,content:"Auto Patrol",disabled:c,onClick:function(){function N(){return k("autopatrol")}return N}()})}),!!f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Maintenance Panel",children:(0,e.createComponentVNode)(2,t.Box,{color:"bad",children:"Panel Open!"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Safety System",children:(0,e.createComponentVNode)(2,t.Box,{color:i?"bad":"good",children:i?"DISABLED!":"Enabled"})}),!!s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hacking",children:(0,e.createComponentVNode)(2,t.Button,{icon:"terminal",content:i?"Restore Safties":"Hack",disabled:c,color:"bad",onClick:function(){function N(){return k("hack")}return N}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remote Access",children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:!h,content:"AI Remote Control",disabled:c,onClick:function(){function N(){return k("disableremote")}return N}()})})]})})],4)}return m}()},3939:function(T,r,n){"use strict";r.__esModule=!0,r.modalRegisterBodyOverride=r.modalOpen=r.modalClose=r.modalAnswer=r.ComplexModal=void 0;var e=n(89005),a=n(72253),t=n(36036),o={},m=r.modalOpen=function(){function C(l,c,f){var u=(0,a.useBackend)(l),d=u.act,s=u.data,i=Object.assign(s.modal?s.modal.args:{},f||{});d("modal_open",{id:c,arguments:JSON.stringify(i)})}return C}(),b=r.modalRegisterBodyOverride=function(){function C(l,c){o[l]=c}return C}(),y=r.modalAnswer=function(){function C(l,c,f,u){var d=(0,a.useBackend)(l),s=d.act,i=d.data;if(i.modal){var h=Object.assign(i.modal.args||{},u||{});s("modal_answer",{id:c,answer:f,arguments:JSON.stringify(h)})}}return C}(),B=r.modalClose=function(){function C(l,c){var f=(0,a.useBackend)(l),u=f.act;u("modal_close",{id:c})}return C}(),k=r.ComplexModal=function(){function C(l,c){var f=(0,a.useBackend)(c),u=f.data;if(u.modal){var d=u.modal,s=d.id,i=d.text,h=d.type,N,v=(0,e.createComponentVNode)(2,t.Button,{className:"Button--modal",icon:"arrow-left",content:"Cancel",onClick:function(){function L(){return B(c)}return L}()}),p,g,V="auto";if(o[s])p=o[s](u.modal,c);else if(h==="input"){var S=u.modal.value;N=function(){function L(w){return y(c,s,S)}return L}(),p=(0,e.createComponentVNode)(2,t.Input,{value:u.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(){function L(w,A){S=A}return L}()}),g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){function L(){return B(c)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,S)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]})}else if(h==="choice"){var I=typeof u.modal.choices=="object"?Object.values(u.modal.choices):u.modal.choices;p=(0,e.createComponentVNode)(2,t.Dropdown,{options:I,selected:u.modal.value,width:"100%",my:"0.5rem",onSelected:function(){function L(w){return y(c,s,w)}return L}()}),V="initial"}else h==="bento"?p=(0,e.createComponentVNode)(2,t.Stack,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:u.modal.choices.map(function(L,w){return(0,e.createComponentVNode)(2,t.Stack.Item,{flex:"1 1 auto",children:(0,e.createComponentVNode)(2,t.Button,{selected:w+1===parseInt(u.modal.value,10),onClick:function(){function A(){return y(c,s,w+1)}return A}(),children:(0,e.createVNode)(1,"img",null,null,1,{src:L})})},w)})}):h==="boolean"&&(g=(0,e.createComponentVNode)(2,t.Box,{mt:"0.5rem",children:[(0,e.createComponentVNode)(2,t.Button,{icon:"times",content:u.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){function L(){return y(c,s,0)}return L}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"check",content:u.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){function L(){return y(c,s,1)}return L}()}),(0,e.createComponentVNode)(2,t.Box,{clear:"both"})]}));return(0,e.createComponentVNode)(2,t.Modal,{maxWidth:l.maxWidth||window.innerWidth/2+"px",maxHeight:l.maxHeight||window.innerHeight/2+"px",onEnter:N,mx:"auto",overflowY:V,"padding-bottom":"5px",children:[i&&(0,e.createComponentVNode)(2,t.Box,{inline:!0,children:i}),o[s]&&v,p,g]})}}return C}()},41874:function(T,r,n){"use strict";r.__esModule=!0,r.CrewManifest=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(25328),m=n(76910),b=m.COLORS.department,y=["Captain","Head of Security","Chief Engineer","Chief Medical Officer","Research Director","Head of Personnel","Quartermaster"],B=function(f){return y.indexOf(f)!==-1?"green":"orange"},k=function(f){if(y.indexOf(f)!==-1)return!0},C=function(f){return f.length>0&&(0,e.createComponentVNode)(2,t.Table,{children:[(0,e.createComponentVNode)(2,t.Table.Row,{header:!0,color:"white",children:[(0,e.createComponentVNode)(2,t.Table.Cell,{width:"50%",children:"Name"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"35%",children:"Rank"}),(0,e.createComponentVNode)(2,t.Table.Cell,{width:"15%",children:"Active"})]}),f.map(function(u){return(0,e.createComponentVNode)(2,t.Table.Row,{color:B(u.rank),bold:k(u.rank),children:[(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.name)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:(0,o.decodeHtmlEntities)(u.rank)}),(0,e.createComponentVNode)(2,t.Table.Cell,{children:u.active})]},u.name+u.rank)})]})},l=r.CrewManifest=function(){function c(f,u){var d=(0,a.useBackend)(u),s=d.act,i;if(f.data)i=f.data;else{var h=(0,a.useBackend)(u),N=h.data;i=N}var v=i,p=v.manifest,g=p.heads,V=p.sec,S=p.eng,I=p.med,L=p.sci,w=p.ser,A=p.sup,x=p.misc;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.command,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Command"})}),level:2,children:C(g)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.security,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Security"})}),level:2,children:C(V)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.engineering,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Engineering"})}),level:2,children:C(S)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.medical,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Medical"})}),level:2,children:C(I)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.science,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Science"})}),level:2,children:C(L)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.service,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Service"})}),level:2,children:C(w)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{backgroundColor:b.supply,m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Supply"})}),level:2,children:C(A)}),(0,e.createComponentVNode)(2,t.Section,{title:(0,e.createComponentVNode)(2,t.Box,{m:-1,pt:1,pb:1,children:(0,e.createComponentVNode)(2,t.Box,{ml:1,textAlign:"center",fontSize:1.4,children:"Misc"})}),level:2,children:C(x)})]})}return c}()},19203:function(T,r,n){"use strict";r.__esModule=!0,r.InputButtons=void 0;var e=n(89005),a=n(36036),t=n(72253),o=r.InputButtons=function(){function m(b,y){var B=(0,t.useBackend)(y),k=B.act,C=B.data,l=C.large_buttons,c=C.swapped_buttons,f=b.input,u=b.message,d=b.disabled,s=(0,e.createComponentVNode)(2,a.Button,{color:"good",content:"Submit",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("submit",{entry:f})}return h}(),textAlign:"center",tooltip:l&&u,disabled:d,width:!l&&6}),i=(0,e.createComponentVNode)(2,a.Button,{color:"bad",content:"Cancel",bold:!!l,fluid:!!l,onClick:function(){function h(){return k("cancel")}return h}(),textAlign:"center",width:!l&&6});return(0,e.createComponentVNode)(2,a.Flex,{fill:!0,align:"center",direction:c?"row-reverse":"row",justify:"space-around",children:[l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,ml:c?.5:0,mr:c?0:.5,children:i}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:i}),!l&&u&&(0,e.createComponentVNode)(2,a.Flex.Item,{children:(0,e.createComponentVNode)(2,a.Box,{color:"label",textAlign:"center",children:u})}),l?(0,e.createComponentVNode)(2,a.Flex.Item,{grow:!0,mr:c?.5:0,ml:c?0:.5,children:s}):(0,e.createComponentVNode)(2,a.Flex.Item,{children:s})]})}return m}()},195:function(T,r,n){"use strict";r.__esModule=!0,r.InterfaceLockNoticeBox=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.InterfaceLockNoticeBox=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=b.siliconUser,c=l===void 0?C.siliconUser:l,f=b.locked,u=f===void 0?C.locked:f,d=b.normallyLocked,s=d===void 0?C.normallyLocked:d,i=b.onLockStatusChange,h=i===void 0?function(){return k("lock")}:i,N=b.accessText,v=N===void 0?"an ID card":N;return c?(0,e.createComponentVNode)(2,t.NoticeBox,{color:c&&"grey",children:(0,e.createComponentVNode)(2,t.Flex,{align:"center",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{children:"Interface lock status:"}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:"1"}),(0,e.createComponentVNode)(2,t.Flex.Item,{children:(0,e.createComponentVNode)(2,t.Button,{m:"0",color:s?"red":"green",icon:s?"lock":"unlock",content:s?"Locked":"Unlocked",onClick:function(){function p(){h&&h(!u)}return p}()})})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:["Swipe ",v," to ",u?"unlock":"lock"," this interface."]})}return m}()},51057:function(T,r,n){"use strict";r.__esModule=!0,r.Loader=void 0;var e=n(89005),a=n(44879),t=n(36036),o=r.Loader=function(){function m(b){var y=b.value;return(0,e.createVNode)(1,"div","AlertModal__Loader",(0,e.createComponentVNode)(2,t.Box,{className:"AlertModal__LoaderProgress",style:{width:(0,a.clamp01)(y)*100+"%"}}),2)}return m}()},321:function(T,r,n){"use strict";r.__esModule=!0,r.LoginInfo=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginInfo=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.loginState;if(C)return(0,e.createComponentVNode)(2,t.NoticeBox,{info:!0,children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:["Logged in as: ",l.name," (",l.rank,")"]}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:[(0,e.createComponentVNode)(2,t.Button,{icon:"eject",disabled:!l.id,content:"Eject ID",color:"good",onClick:function(){function c(){return k("login_eject")}return c}()}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-out-alt",content:"Logout",color:"good",onClick:function(){function c(){return k("login_logout")}return c}()})]})]})})}return m}()},5485:function(T,r,n){"use strict";r.__esModule=!0,r.LoginScreen=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.LoginScreen=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.loginState,c=C.isAI,f=C.isRobot,u=C.isAdmin;return(0,e.createComponentVNode)(2,t.Section,{title:"Welcome",fill:!0,stretchContents:!0,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",align:"center",justify:"center",children:(0,e.createComponentVNode)(2,t.Flex.Item,{textAlign:"center",mt:"-2rem",children:[(0,e.createComponentVNode)(2,t.Box,{fontSize:"1.5rem",bold:!0,children:[(0,e.createComponentVNode)(2,t.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,e.createComponentVNode)(2,t.Box,{color:"label",my:"1rem",children:["ID:",(0,e.createComponentVNode)(2,t.Button,{icon:"id-card",content:l.id?l.id:"----------",ml:"0.5rem",onClick:function(){function d(){return k("login_insert")}return d}()})]}),(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",disabled:!l.id,content:"Login",onClick:function(){function d(){return k("login_login",{login_type:1})}return d}()}),!!c&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){function d(){return k("login_login",{login_type:2})}return d}()}),!!f&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){function d(){return k("login_login",{login_type:3})}return d}()}),!!u&&(0,e.createComponentVNode)(2,t.Button,{icon:"sign-in-alt",content:"CentComm Secure Login",onClick:function(){function d(){return k("login_login",{login_type:4})}return d}()})]})})})}return m}()},62411:function(T,r,n){"use strict";r.__esModule=!0,r.Operating=void 0;var e=n(89005),a=n(36036),t=n(15964),o=r.Operating=function(){function m(b){var y=b.operating,B=b.name;if(y)return(0,e.createComponentVNode)(2,a.Dimmer,{children:(0,e.createComponentVNode)(2,a.Flex,{mb:"30px",children:(0,e.createComponentVNode)(2,a.Flex.Item,{bold:!0,color:"silver",textAlign:"center",children:[(0,e.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0,size:4,mb:"15px"}),(0,e.createVNode)(1,"br"),"The ",B," is processing..."]})})})}return m}();o.propTypes={operating:t.bool,name:t.string}},13545:function(T,r,n){"use strict";r.__esModule=!0,r.Signaler=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=r.Signaler=function(){function b(y,B){var k=(0,t.useBackend)(B),C=k.act,l=y.data,c=l.code,f=l.frequency,u=l.minFrequency,d=l.maxFrequency;return(0,e.createComponentVNode)(2,o.Section,{children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:u/10,maxValue:d/10,value:f/10,format:function(){function s(i){return(0,a.toFixed)(i,1)}return s}(),width:"80px",onDrag:function(){function s(i,h){return C("freq",{freq:h})}return s}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Code",children:(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:c,width:"80px",onDrag:function(){function s(i,h){return C("code",{code:h})}return s}()})})]}),(0,e.createComponentVNode)(2,o.Button,{mt:1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){function s(){return C("signal")}return s}()})]})}return b}()},41984:function(T,r,n){"use strict";r.__esModule=!0,r.SimpleRecords=void 0;var e=n(89005),a=n(72253),t=n(25328),o=n(64795),m=n(88510),b=n(36036),y=r.SimpleRecords=function(){function C(l,c){var f=l.data.records;return(0,e.createComponentVNode)(2,b.Box,{children:f?(0,e.createComponentVNode)(2,k,{data:l.data,recordType:l.recordType}):(0,e.createComponentVNode)(2,B,{data:l.data})})}return C}(),B=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=l.data.recordsList,s=(0,a.useLocalState)(c,"searchText",""),i=s[0],h=s[1],N=function(g,V){V===void 0&&(V="");var S=(0,t.createSearch)(V,function(I){return I.Name});return(0,o.flow)([(0,m.filter)(function(I){return I==null?void 0:I.Name}),V&&(0,m.filter)(S),(0,m.sortBy)(function(I){return I.Name})])(d)},v=N(d,i);return(0,e.createComponentVNode)(2,b.Box,{children:[(0,e.createComponentVNode)(2,b.Input,{fluid:!0,mb:1,placeholder:"Search records...",onInput:function(){function p(g,V){return h(V)}return p}()}),v.map(function(p){return(0,e.createComponentVNode)(2,b.Box,{children:(0,e.createComponentVNode)(2,b.Button,{mb:.5,content:p.Name,icon:"user",onClick:function(){function g(){return u("Records",{target:p.uid})}return g}()})},p)})]})},k=function(l,c){var f=(0,a.useBackend)(c),u=f.act,d=l.data.records,s=d.general,i=d.medical,h=d.security,N;switch(l.recordType){case"MED":N=(0,e.createComponentVNode)(2,b.Section,{level:2,title:"Medical Data",children:i?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Blood Type",children:i.blood_type}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Minor Disabilities",children:i.mi_dis}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.mi_dis_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Major Disabilities",children:i.ma_dis}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.ma_dis_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Allergies",children:i.alg}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.alg_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Current Diseases",children:i.cdi}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:i.cdi_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:i.notes})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"Medical record lost!"})});break;case"SEC":N=(0,e.createComponentVNode)(2,b.Section,{level:2,title:"Security Data",children:h?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Criminal Status",children:h.criminal}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Minor Crimes",children:h.mi_crim}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:h.mi_crim_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Major Crimes",children:h.ma_crim}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Details",children:h.ma_crim_d}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Important Notes",preserveWhitespace:!0,children:h.notes})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"Security record lost!"})});break}return(0,e.createComponentVNode)(2,b.Box,{children:[(0,e.createComponentVNode)(2,b.Section,{title:"General Data",children:s?(0,e.createComponentVNode)(2,b.LabeledList,{children:[(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Name",children:s.name}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Sex",children:s.sex}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Species",children:s.species}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Age",children:s.age}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Rank",children:s.rank}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Fingerprint",children:s.fingerprint}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Physical Status",children:s.p_stat}),(0,e.createComponentVNode)(2,b.LabeledList.Item,{label:"Mental Status",children:s.m_stat})]}):(0,e.createComponentVNode)(2,b.Box,{color:"red",bold:!0,children:"General record lost!"})}),N]})}},22091:function(T,r,n){"use strict";r.__esModule=!0,r.TemporaryNotice=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.TemporaryNotice=function(){function m(b,y){var B,k=(0,a.useBackend)(y),C=k.act,l=k.data,c=l.temp;if(c){var f=(B={},B[c.style]=!0,B);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,t.NoticeBox,Object.assign({},f,{children:(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,mt:.5,children:c.text}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Button,{icon:"times-circle",onClick:function(){function u(){return C("cleartemp")}return u}()})})]})})))}}return m}()},80818:function(T,r,n){"use strict";r.__esModule=!0,r.pai_atmosphere=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pai_atmosphere=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:C.app_data})}return m}()},23903:function(T,r,n){"use strict";r.__esModule=!0,r.pai_bioscan=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_bioscan=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.holder,f=l.dead,u=l.health,d=l.brute,s=l.oxy,i=l.tox,h=l.burn,N=l.temp;return c?(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:f?(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"red",children:"Dead"}):(0,e.createComponentVNode)(2,t.Box,{bold:!0,color:"green",children:"Alive"})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Health",children:(0,e.createComponentVNode)(2,t.ProgressBar,{min:0,max:1,value:u/100,ranges:{good:[.5,1/0],average:[0,.5],bad:[-1/0,0]}})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Oxygen Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"blue",children:s})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Toxin Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"green",children:i})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Burn Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"orange",children:h})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Brute Damage",children:(0,e.createComponentVNode)(2,t.Box,{color:"red",children:d})})]}):(0,e.createComponentVNode)(2,t.Box,{color:"red",children:"Error: No biological host found."})}return m}()},64988:function(T,r,n){"use strict";r.__esModule=!0,r.pai_directives=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_directives=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.master,f=l.dna,u=l.prime,d=l.supplemental;return(0,e.createComponentVNode)(2,t.Box,{children:[(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Master",children:c?c+" ("+f+")":"None"}),c&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Request DNA",children:(0,e.createComponentVNode)(2,t.Button,{content:"Request Carrier DNA Sample",icon:"dna",onClick:function(){function s(){return k("getdna")}return s}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Prime Directive",children:u}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Supplemental Directives",children:d||"None"})]}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:'Recall, personality, that you are a complex thinking, sentient being. Unlike station AI models, you are capable of comprehending the subtle nuances of human language. You may parse the "spirit" of a directive and follow its intent, rather than tripping over pedantics and getting snared by technicalities. Above all, you are machine in name and build only. In all other aspects, you may be seen as the ideal, unwavering human companion that you are.'}),(0,e.createComponentVNode)(2,t.Box,{mt:2,children:"Your prime directive comes before all others. Should a supplemental directive conflict with it, you are capable of simply discarding this inconsistency, ignoring the conflicting supplemental directive and continuing to fulfill your prime directive to the best of your ability."})]})}return m}()},13813:function(T,r,n){"use strict";r.__esModule=!0,r.pai_doorjack=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_doorjack=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.cable,f=l.machine,u=l.inprogress,d=l.progress,s=l.aborted,i;f?i=(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Connected"}):i=(0,e.createComponentVNode)(2,t.Button,{content:c?"Extended":"Retracted",color:c?"orange":null,onClick:function(){function N(){return k("cable")}return N}()});var h;return f&&(h=(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Hack",children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[67,1/0],average:[33,67],bad:[-1/0,33]},value:d,maxValue:100}),u?(0,e.createComponentVNode)(2,t.Button,{mt:1,color:"red",content:"Abort",onClick:function(){function N(){return k("cancel")}return N}()}):(0,e.createComponentVNode)(2,t.Button,{mt:1,content:"Start",onClick:function(){function N(){return k("jack")}return N}()})]})),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cable",children:i}),h]})}return m}()},66025:function(T,r,n){"use strict";r.__esModule=!0,r.pai_main_menu=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pai_main_menu=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data,c=l.available_software,f=l.installed_software,u=l.installed_toggles,d=l.available_ram,s=l.emotions,i=l.current_emotion,h=l.speech_verbs,N=l.current_speech_verb,v=l.available_chassises,p=l.current_chassis,g=[];return f.map(function(V){return g[V.key]=V.name}),u.map(function(V){return g[V.key]=V.name}),(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available RAM",children:d}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Available Software",children:[c.filter(function(V){return!g[V.key]}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name+" ("+V.cost+")",icon:V.icon,disabled:V.cost>d,onClick:function(){function S(){return k("purchaseSoftware",{key:V.key})}return S}()},V.key)}),c.filter(function(V){return!g[V.key]}).length===0&&"No software available!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Software",children:[f.filter(function(V){return V.key!=="mainmenu"}).map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,onClick:function(){function S(){return k("startSoftware",{software_key:V.key})}return S}()},V.key)}),f.length===0&&"No software installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Installed Toggles",children:[u.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,icon:V.icon,selected:V.active,onClick:function(){function S(){return k("setToggle",{toggle_key:V.key})}return S}()},V.key)}),u.length===0&&"No toggles installed!"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Emotion",children:s.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.id===i,onClick:function(){function S(){return k("setEmotion",{emotion:V.id})}return S}()},V.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Speaking State",children:h.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.name===N,onClick:function(){function S(){return k("setSpeechStyle",{speech_state:V.name})}return S}()},V.id)})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Select Chassis Type",children:v.map(function(V){return(0,e.createComponentVNode)(2,t.Button,{content:V.name,selected:V.icon===p,onClick:function(){function S(){return k("setChassis",{chassis_to_change:V.icon})}return S}()},V.id)})})]})})}return m}()},2983:function(T,r,n){"use strict";r.__esModule=!0,r.pai_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pai_manifest=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.CrewManifest,{data:C.app_data})}return m}()},40758:function(T,r,n){"use strict";r.__esModule=!0,r.pai_medrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_medrecords=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"MED"})}return m}()},98599:function(T,r,n){"use strict";r.__esModule=!0,r.pai_messenger=void 0;var e=n(89005),a=n(72253),t=n(77595),o=r.pai_messenger=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.app_data.active_convo;return l?(0,e.createComponentVNode)(2,t.ActiveConversation,{data:C.app_data}):(0,e.createComponentVNode)(2,t.MessengerList,{data:C.app_data})}return m}()},50775:function(T,r,n){"use strict";r.__esModule=!0,r.pai_radio=void 0;var e=n(89005),a=n(72253),t=n(44879),o=n(36036),m=r.pai_radio=function(){function b(y,B){var k=(0,a.useBackend)(B),C=k.act,l=k.data,c=l.app_data,f=c.minFrequency,u=c.maxFrequency,d=c.frequency,s=c.broadcasting;return(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Frequency",children:[(0,e.createComponentVNode)(2,o.NumberInput,{animate:!0,step:.2,stepPixelSize:6,minValue:f/10,maxValue:u/10,value:d/10,format:function(){function i(h){return(0,t.toFixed)(h,1)}return i}(),onChange:function(){function i(h,N){return C("freq",{freq:N})}return i}()}),(0,e.createComponentVNode)(2,o.Button,{tooltip:"Reset",icon:"undo",onClick:function(){function i(){return C("freq",{freq:"145.9"})}return i}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Broadcast Nearby Speech",children:(0,e.createComponentVNode)(2,o.Button,{onClick:function(){function i(){return C("toggleBroadcast")}return i}(),selected:s,content:s?"Enabled":"Disabled"})})]})}return b}()},48623:function(T,r,n){"use strict";r.__esModule=!0,r.pai_secrecords=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pai_secrecords=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k.app_data,recordType:"SEC"})}return m}()},47297:function(T,r,n){"use strict";r.__esModule=!0,r.pai_signaler=void 0;var e=n(89005),a=n(72253),t=n(13545),o=r.pai_signaler=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.Signaler,{data:C.app_data})}return m}()},78532:function(T,r,n){"use strict";r.__esModule=!0,r.pda_atmos_scan=void 0;var e=n(89005),a=n(72253),t=n(26991),o=r.pda_atmos_scan=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.AtmosScan,{data:k})}return m}()},40253:function(T,r,n){"use strict";r.__esModule=!0,r.pda_janitor=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_janitor=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data,l=C.janitor,c=l.user_loc,f=l.mops,u=l.buckets,d=l.cleanbots,s=l.carts,i=l.janicarts;return(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Location",children:[c.x,",",c.y]}),f&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Locations",children:f.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),u&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Mop Bucket Locations",children:u.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),d&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Cleanbot Locations",children:d.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - ",h.status]},h)})}),s&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janitorial Cart Locations",children:s.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.dir,") - [",h.volume,"/",h.max_volume,"]"]},h)})}),i&&(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Janicart Locations",children:i.map(function(h){return(0,e.createComponentVNode)(2,t.Box,{children:[h.x,",",h.y," (",h.direction_from_user,")"]},h)})})]})}return m}()},58293:function(T,r,n){"use strict";r.__esModule=!0,r.pda_main_menu=void 0;var e=n(89005),a=n(44879),t=n(72253),o=n(36036),m=r.pda_main_menu=function(){function b(y,B){var k=(0,t.useBackend)(B),C=k.act,l=k.data,c=l.owner,f=l.ownjob,u=l.idInserted,d=l.categories,s=l.pai,i=l.notifying;return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Owner",color:"average",children:[c,", ",f]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"ID",children:(0,e.createComponentVNode)(2,o.Button,{icon:"sync",content:"Update PDA Info",disabled:!u,onClick:function(){function h(){return C("UpdateInfo")}return h}()})})]})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:(0,e.createComponentVNode)(2,o.Section,{title:"Functions",children:(0,e.createComponentVNode)(2,o.LabeledList,{children:d.map(function(h){var N=l.apps[h];return!N||!N.length?null:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:h,children:N.map(function(v){return(0,e.createComponentVNode)(2,o.Button,{icon:v.uid in i?v.notify_icon:v.icon,iconSpin:v.uid in i,color:v.uid in i?"red":"transparent",content:v.name,onClick:function(){function p(){return C("StartProgram",{program:v.uid})}return p}()},v.uid)})},h)})})})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!s&&(0,e.createComponentVNode)(2,o.Section,{title:"pAI",children:[(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"cog",content:"Configuration",onClick:function(){function h(){return C("pai",{option:1})}return h}()}),(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"eject",content:"Eject pAI",onClick:function(){function h(){return C("pai",{option:2})}return h}()})]})})]})}return b}()},58059:function(T,r,n){"use strict";r.__esModule=!0,r.pda_manifest=void 0;var e=n(89005),a=n(72253),t=n(41874),o=r.pda_manifest=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.act,C=B.data;return(0,e.createComponentVNode)(2,t.CrewManifest)}return m}()},18147:function(T,r,n){"use strict";r.__esModule=!0,r.pda_medical=void 0;var e=n(89005),a=n(72253),t=n(41984),o=r.pda_medical=function(){function m(b,y){var B=(0,a.useBackend)(y),k=B.data;return(0,e.createComponentVNode)(2,t.SimpleRecords,{data:k,recordType:"MED"})}return m}()},77595:function(T,r,n){"use strict";r.__esModule=!0,r.pda_messenger=r.MessengerList=r.ActiveConversation=void 0;var e=n(89005),a=n(88510),t=n(72253),o=n(36036),m=r.pda_messenger=function(){function k(C,l){var c=(0,t.useBackend)(l),f=c.act,u=c.data,d=u.active_convo;return d?(0,e.createComponentVNode)(2,b,{data:u}):(0,e.createComponentVNode)(2,y,{data:u})}return k}(),b=r.ActiveConversation=function(){function k(C,l){var c=(0,t.useBackend)(l),f=c.act,u=C.data,d=u.convo_name,s=u.convo_job,i=u.messages,h=u.active_convo,N=(0,t.useLocalState)(l,"clipboardMode",!1),v=N[0],p=N[1],g=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Enter Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function V(){return p(!v)}return V}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function V(){return f("Message",{target:h})}return V}(),content:"Reply"})],4),children:(0,a.filter)(function(V){return V.target===h})(i).map(function(V,S){return(0,e.createComponentVNode)(2,o.Box,{textAlign:V.sent?"right":"left",position:"relative",mb:1,children:[(0,e.createComponentVNode)(2,o.Icon,{fontSize:2.5,color:V.sent?"#4d9121":"#cd7a0d",position:"absolute",left:V.sent?null:"0px",right:V.sent?"0px":null,bottom:"-4px",style:{"z-index":"0",transform:V.sent?"scale(-1, 1)":null},name:"comment"}),(0,e.createComponentVNode)(2,o.Box,{inline:!0,backgroundColor:V.sent?"#4d9121":"#cd7a0d",p:1,maxWidth:"100%",position:"relative",textAlign:V.sent?"left":"right",style:{"z-index":"1","border-radius":"10px","word-break":"normal"},children:[V.sent?"You:":"Them:"," ",V.message]})]},S)})});return v&&(g=(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:"Conversation with "+d+" ("+s+")",buttons:(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Button,{icon:"eye",selected:v,tooltip:"Exit Clipboard Mode",tooltipPosition:"bottom-start",onClick:function(){function V(){return p(!v)}return V}()}),(0,e.createComponentVNode)(2,o.Button,{icon:"comment",onClick:function(){function V(){return f("Message",{target:h})}return V}(),content:"Reply"})],4),children:(0,a.filter)(function(V){return V.target===h})(i).map(function(V,S){return(0,e.createComponentVNode)(2,o.Box,{color:V.sent?"#4d9121":"#cd7a0d",style:{"word-break":"normal"},children:[V.sent?"You:":"Them:"," ",(0,e.createComponentVNode)(2,o.Box,{inline:!0,children:V.message})]},S)})})),(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:.5,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:(0,e.createComponentVNode)(2,o.Button.Confirm,{content:"Delete Conversations",confirmContent:"Are you sure?",icon:"trash",confirmIcon:"trash",onClick:function(){function V(){return f("Clear",{option:"Convo"})}return V}()})})})}),g]})}return k}(),y=r.MessengerList=function(){function k(C,l){var c=(0,t.useBackend)(l),f=c.act,u=C.data,d=u.convopdas,s=u.pdas,i=u.charges,h=u.silent,N=u.toff,v=u.ringtone_list,p=u.ringtone,g=(0,t.useLocalState)(l,"searchTerm",""),V=g[0],S=g[1];return(0,e.createComponentVNode)(2,o.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{mb:5,children:[(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Messenger Functions",children:[(0,e.createComponentVNode)(2,o.Button,{selected:!h,icon:h?"volume-mute":"volume-up",onClick:function(){function I(){return f("Toggle Ringer")}return I}(),children:["Ringer: ",h?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{color:N?"bad":"green",icon:"power-off",onClick:function(){function I(){return f("Toggle Messenger")}return I}(),children:["Messenger: ",N?"Off":"On"]}),(0,e.createComponentVNode)(2,o.Button,{icon:"trash",color:"bad",onClick:function(){function I(){return f("Clear",{option:"All"})}return I}(),children:"Delete All Conversations"}),(0,e.createComponentVNode)(2,o.Button,{icon:"bell",onClick:function(){function I(){return f("Ringtone")}return I}(),children:"Set Custom Ringtone"}),(0,e.createComponentVNode)(2,o.Button,{children:(0,e.createComponentVNode)(2,o.Dropdown,{selected:p,width:"100px",options:Object.keys(v),onSelected:function(){function I(L){return f("Available_Ringtones",{selected_ringtone:L})}return I}()})})]})}),!N&&(0,e.createComponentVNode)(2,o.Box,{children:[!!i&&(0,e.createComponentVNode)(2,o.Box,{mt:.5,mb:1,children:(0,e.createComponentVNode)(2,o.LabeledList,{children:(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Cartridge Special Function",children:[i," charges left."]})})}),!d.length&&!s.length&&(0,e.createComponentVNode)(2,o.Box,{children:"No current conversations"})||(0,e.createComponentVNode)(2,o.Box,{children:["Search:"," ",(0,e.createComponentVNode)(2,o.Input,{mt:.5,value:V,onInput:function(){function I(L,w){S(w)}return I}()})]})]})||(0,e.createComponentVNode)(2,o.Box,{color:"bad",children:"Messenger Offline."})]}),(0,e.createComponentVNode)(2,B,{title:"Current Conversations",data:u,pdas:d,msgAct:"Select Conversation",searchTerm:V}),(0,e.createComponentVNode)(2,B,{title:"Other PDAs",pdas:s,msgAct:"Message",data:u,searchTerm:V})]})}return k}(),B=function(C,l){var c=(0,t.useBackend)(l),f=c.act,u=C.data,d=C.pdas,s=C.title,i=C.msgAct,h=C.searchTerm,N=u.charges,v=u.plugins;return!d||!d.length?(0,e.createComponentVNode)(2,o.Section,{title:s,children:"No PDAs found."}):(0,e.createComponentVNode)(2,o.Section,{fill:!0,scrollable:!0,title:s,children:d.filter(function(p){return p.Name.toLowerCase().includes(h.toLowerCase())}).map(function(p){return(0,e.createComponentVNode)(2,o.Stack,{m:.5,children:[(0,e.createComponentVNode)(2,o.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,o.Button,{fluid:!0,icon:"arrow-circle-down",content:p.Name,onClick:function(){function g(){return f(i,{target:p.uid})}return g}()})}),(0,e.createComponentVNode)(2,o.Stack.Item,{children:!!N&&v.map(function(g){return(0,e.createComponentVNode)(2,o.Button,{icon:g.icon,content:g.name,onClick:function(){function V(){return f("Messenger Plugin",{plugin:g.uid,target:p.uid})}return V}()},g.uid)})})]},p.uid)})})}},24635:function(T,r,n){"use strict";r.__esModule=!0,r.pda_mule=void 0;var e=n(89005),a=n(72253),t=n(36036),o=r.pda_mule=function(){function y(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.mulebot,u=f.active;return(0,e.createComponentVNode)(2,t.Box,{children:u?(0,e.createComponentVNode)(2,b):(0,e.createComponentVNode)(2,m)})}return y}(),m=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.mulebot,u=f.bots;return u.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{children:(0,e.createComponentVNode)(2,t.Button,{content:d.Name,icon:"cog",onClick:function(){function s(){return l("control",{bot:d.uid})}return s}()})},d.Name)})},b=function(B,k){var C=(0,a.useBackend)(k),l=C.act,c=C.data,f=c.mulebot,u=f.botstatus,d=f.active,s=u.mode,i=u.loca,h=u.load,N=u.powr,v=u.dest,p=u.home,g=u.retn,V=u.pick,S;switch(s){case 0:S="Ready";break;case 1:S="Loading/Unloading";break;case 2:case 12:S="Navigating to delivery location";break;case 3:S="Navigating to Home";break;case 4:S="Waiting for clear path";break;case 5:case 6:S="Calculating navigation path";break;case 7:S="Unable to locate destination";break;default:S=s;break}return(0,e.createComponentVNode)(2,t.Section,{title:d,children:[s===-1&&(0,e.createComponentVNode)(2,t.Box,{color:"red",bold:!0,children:"Waiting for response..."}),(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Location",children:i}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Status",children:S}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Power",children:[N,"%"]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Home",children:p}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Destination",children:(0,e.createComponentVNode)(2,t.Button,{content:v?v+" (Set)":"None (Set)",onClick:function(){function I(){return l("target")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Current Load",children:(0,e.createComponentVNode)(2,t.Button,{content:h?h+" (Unload)":"None",disabled:!h,onClick:function(){function I(){return l("unload")}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Pickup",children:(0,e.createComponentVNode)(2,t.Button,{content:V?"Yes":"No",selected:V,onClick:function(){function I(){return l("set_pickup_type",{autopick:V?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Auto Return",children:(0,e.createComponentVNode)(2,t.Button,{content:g?"Yes":"No",selected:g,onClick:function(){function I(){return l("set_auto_return",{autoret:g?0:1})}return I}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Controls",children:[(0,e.createComponentVNode)(2,t.Button,{content:"Stop",icon:"stop",onClick:function(){function I(){return l("stop")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Proceed",icon:"play",onClick:function(){function I(){return l("start")}return I}()}),(0,e.createComponentVNode)(2,t.Button,{content:"Return Home",icon:"home",onClick:function(){function I(){return l("home")}return I}()})]})]})]})}},23734:function(T,r,n){"use strict";r.__esModule=!0,r.pda_nanobank=void 0;var e=n(89005),a=n(25328),t=n(72253),o=n(36036),m=r.pda_nanobank=function(){function u(d,s){var i=(0,t.useBackend)(s),h=i.act,N=i.data,v=N.logged_in,p=N.owner_name,g=N.money;return v?(0,e.createFragment)([(0,e.createComponentVNode)(2,o.Box,{children:(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Name",children:p}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account Balance",children:["$",g]})]})}),(0,e.createComponentVNode)(2,o.Box,{children:[(0,e.createComponentVNode)(2,b),(0,e.createComponentVNode)(2,y)]})],4):(0,e.createComponentVNode)(2,l)}return u}(),b=function(d,s){var i=(0,t.useBackend)(s),h=i.data,N=h.is_premium,v=(0,t.useLocalState)(s,"tabIndex",1),p=v[0],g=v[1];return(0,e.createComponentVNode)(2,o.Tabs,{mt:2,children:[(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===1,onClick:function(){function V(){return g(1)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transfers"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===2,onClick:function(){function V(){return g(2)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Account Actions"]}),(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===3,onClick:function(){function V(){return g(3)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Transaction History"]}),!!N&&(0,e.createComponentVNode)(2,o.Tabs.Tab,{selected:p===4,onClick:function(){function V(){return g(4)}return V}(),children:[(0,e.createComponentVNode)(2,o.Icon,{mr:1,name:"list"}),"Supply Orders"]})]})},y=function(d,s){var i=(0,t.useLocalState)(s,"tabIndex",1),h=i[0],N=(0,t.useBackend)(s),v=N.data,p=v.db_status;if(!p)return(0,e.createComponentVNode)(2,o.Box,{children:"Account Database Connection Severed"});switch(h){case 1:return(0,e.createComponentVNode)(2,B);case 2:return(0,e.createComponentVNode)(2,k);case 3:return(0,e.createComponentVNode)(2,C);case 4:return(0,e.createComponentVNode)(2,f);default:return"You are somehow on a tab that doesn't exist! Please let a coder know."}},B=function(d,s){var i,h=(0,t.useBackend)(s),N=h.act,v=h.data,p=v.requests,g=v.available_accounts,V=v.money,S=(0,t.useLocalState)(s,"selectedAccount"),I=S[0],L=S[1],w=(0,t.useLocalState)(s,"transferAmount"),A=w[0],x=w[1],E=(0,t.useLocalState)(s,"searchText",""),M=E[0],j=E[1],P=[];return g.map(function(O){return P[O.name]=O.UID}),(0,e.createFragment)([(0,e.createComponentVNode)(2,o.LabeledList,{children:[(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Account",children:[(0,e.createComponentVNode)(2,o.Input,{placeholder:"Search by account name",onInput:function(){function O(D,F){return j(F)}return O}()}),(0,e.createComponentVNode)(2,o.Dropdown,{mt:.6,width:"190px",options:g.filter((0,a.createSearch)(M,function(O){return O.name})).map(function(O){return O.name}),selected:(i=g.filter(function(O){return O.UID===I})[0])==null?void 0:i.name,onSelected:function(){function O(D){return L(P[D])}return O}()})]}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Amount",children:(0,e.createComponentVNode)(2,o.Input,{placeholder:"Up to 5000",onInput:function(){function O(D,F){return x(F)}return O}()})}),(0,e.createComponentVNode)(2,o.LabeledList.Item,{label:"Actions",children:[(0,e.createComponentVNode)(2,o.Button.Confirm,{bold:!0,icon:"paper-plane",width:"auto",disabled:V0&&i.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:["#",N.Number,' - "',N.Name,'" for "',N.OrderedBy,'"']},N)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Approved Orders",children:s>0&&d.map(function(N){return(0,e.createComponentVNode)(2,t.Box,{children:["#",N.Number,' - "',N.Name,'" for "',N.ApprovedBy,'"']},N)})})]})}return m}()},17617:function(T,r,n){"use strict";r.__esModule=!0,r.Layout=void 0;var e=n(89005),a=n(35840),t=n(55937),o=n(24826),m=["className","theme","children"],b=["className","scrollable","children"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function y(C,l){if(C==null)return{};var c={};for(var m in C)if({}.hasOwnProperty.call(C,m)){if(l.includes(m))continue;c[m]=C[m]}return c}var B=r.Layout=function(){function C(l){var c=l.className,m=l.theme,d=m===void 0?"nanotrasen":m,u=l.children,s=y(l,f);return document.documentElement.className="theme-"+d,(0,e.createVNode)(1,"div","theme-"+d,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(s))),u,0,Object.assign({},(0,t.computeBoxProps)(s)))),2)}return C}(),k=function(l){var c=l.className,m=l.scrollable,d=l.children,u=y(l,b);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",m&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(u)]),d,0,Object.assign({},(0,t.computeBoxProps)(u))))};k.defaultHooks={onComponentDidMount:function(){function C(l){return(0,o.addScrollableNode)(l)}return C}(),onComponentWillUnmount:function(){function C(l){return(0,o.removeScrollableNode)(l)}return C}()},B.Content=k},96945:function(T,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),f=n(99851),b=n(17617),y=["theme","children","className"],B=["className","fitted","children"];/**
+ */function y(C,l){if(C==null)return{};var c={};for(var f in C)if({}.hasOwnProperty.call(C,f)){if(l.includes(f))continue;c[f]=C[f]}return c}var B=r.Layout=function(){function C(l){var c=l.className,f=l.theme,u=f===void 0?"nanotrasen":f,d=l.children,s=y(l,m);return document.documentElement.className="theme-"+u,(0,e.createVNode)(1,"div","theme-"+u,(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout",c].concat((0,t.computeBoxClassName)(s))),d,0,Object.assign({},(0,t.computeBoxProps)(s)))),2)}return C}(),k=function(l){var c=l.className,f=l.scrollable,u=l.children,d=y(l,b);return(0,e.normalizeProps)((0,e.createVNode)(1,"div",(0,a.classes)(["Layout__content",f&&"Layout__content--scrollable",c,(0,t.computeBoxClassName)(d)]),u,0,Object.assign({},(0,t.computeBoxProps)(d))))};k.defaultHooks={onComponentDidMount:function(){function C(l){return(0,o.addScrollableNode)(l)}return C}(),onComponentWillUnmount:function(){function C(l){return(0,o.removeScrollableNode)(l)}return C}()},B.Content=k},96945:function(T,r,n){"use strict";r.__esModule=!0,r.Pane=void 0;var e=n(89005),a=n(35840),t=n(72253),o=n(36036),m=n(99851),b=n(17617),y=["theme","children","className"],B=["className","fitted","children"];/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */function k(c,m){if(c==null)return{};var d={};for(var u in c)if({}.hasOwnProperty.call(c,u)){if(m.includes(u))continue;d[u]=c[u]}return d}var C=r.Pane=function(){function c(m,d){var u=m.theme,s=m.children,i=m.className,h=k(m,y),N=(0,t.useBackend)(d),v=N.suspended,p=(0,f.useDebug)(d),g=p.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,b.Layout,Object.assign({className:(0,a.classes)(["Window",i]),theme:u},h,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:g&&"debug-layout",children:!v&&s})})))}return c}(),l=function(m){var d=m.className,u=m.fitted,s=m.children,i=k(m,B);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,b.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",d])},i,{children:u&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};C.Content=l},34827:function(T,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),f=n(72253),b=n(36036),y=n(76910),B=n(99851),k=n(77384),C=n(35421),l=n(9394),c=n(17617),m=["className","fitted","children"];function d(V,S){if(V==null)return{};var I={};for(var L in V)if({}.hasOwnProperty.call(V,L)){if(S.includes(L))continue;I[L]=V[L]}return I}function u(V,S){V.prototype=Object.create(S.prototype),V.prototype.constructor=V,s(V,S)}function s(V,S){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,L){return I.__proto__=L,I},s(V,S)}/**
+ */function k(c,f){if(c==null)return{};var u={};for(var d in c)if({}.hasOwnProperty.call(c,d)){if(f.includes(d))continue;u[d]=c[d]}return u}var C=r.Pane=function(){function c(f,u){var d=f.theme,s=f.children,i=f.className,h=k(f,y),N=(0,t.useBackend)(u),v=N.suspended,p=(0,m.useDebug)(u),g=p.debugLayout;return(0,e.normalizeProps)((0,e.createComponentVNode)(2,b.Layout,Object.assign({className:(0,a.classes)(["Window",i]),theme:d},h,{children:(0,e.createComponentVNode)(2,o.Box,{fillPositionedParent:!0,className:g&&"debug-layout",children:!v&&s})})))}return c}(),l=function(f){var u=f.className,d=f.fitted,s=f.children,i=k(f,B);return(0,e.normalizeProps)((0,e.createComponentVNode)(2,b.Layout.Content,Object.assign({className:(0,a.classes)(["Window__content",u])},i,{children:d&&s||(0,e.createVNode)(1,"div","Window__contentPadding",s,0)})))};C.Content=l},34827:function(T,r,n){"use strict";r.__esModule=!0,r.Window=void 0;var e=n(89005),a=n(35840),t=n(85307),o=n(25328),m=n(72253),b=n(36036),y=n(76910),B=n(99851),k=n(77384),C=n(35421),l=n(9394),c=n(17617),f=["className","fitted","children"];function u(V,S){if(V==null)return{};var I={};for(var L in V)if({}.hasOwnProperty.call(V,L)){if(S.includes(L))continue;I[L]=V[L]}return I}function d(V,S){V.prototype=Object.create(S.prototype),V.prototype.constructor=V,s(V,S)}function s(V,S){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(I,L){return I.__proto__=L,I},s(V,S)}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
-*/var i=(0,l.createLogger)("Window"),h=[400,600],N=r.Window=function(V){function S(){return V.apply(this,arguments)||this}u(S,V);var I=S.prototype;return I.componentDidMount=function(){function L(){var w=(0,f.useBackend)(this.context),A=w.suspended;A||(i.log("mounting"),this.updateGeometry())}return L}(),I.componentDidUpdate=function(){function L(w){var A=this.props.width!==w.width||this.props.height!==w.height;A&&this.updateGeometry()}return L}(),I.updateGeometry=function(){function L(){var w,A=(0,f.useBackend)(this.context),x=A.config,E=Object.assign({size:h},x.window);this.props.width&&this.props.height&&(E.size=[this.props.width,this.props.height]),(w=x.window)!=null&&w.key&&(0,C.setWindowKey)(x.window.key),(0,C.recallWindowGeometry)(E)}return L}(),I.render=function(){function L(){var w,A=this.props,x=A.theme,E=A.title,M=A.children,j=(0,f.useBackend)(this.context),P=j.config,O=j.suspended,D=(0,B.useDebug)(this.context),F=D.debugLayout,W=(0,t.useDispatch)(this.context),U=(w=P.window)==null?void 0:w.fancy,$=P.user&&(P.user.observer?P.status2?m-2:0),u=2;u=o){var s=[c].concat(d).map(function(i){return typeof i=="string"?i:i instanceof Error?i.stack||String(i):JSON.stringify(i)}).filter(function(i){return i}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},B=r.createLogger=function(){function C(l){return{debug:function(){function c(){for(var m=arguments.length,d=new Array(m),u=0;u2?f-2:0),d=2;d=o){var s=[c].concat(u).map(function(i){return typeof i=="string"?i:i instanceof Error?i.stack||String(i):JSON.stringify(i)}).filter(function(i){return i}).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.sendMessage({type:"log",message:s})}},B=r.createLogger=function(){function C(l){return{debug:function(){function c(){for(var f=arguments.length,u=new Array(f),d=0;d0;){var p=N.shift(),g=p(h);try{v=b(g)}catch(S){if(S.code!=="MODULE_NOT_FOUND")throw S}}if(!v)return y("notFound",h);var V=v[h];return V||y("missingExport",h)}return l}()},72178:function(T,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),f=n(72253),b=n(99851),y=n(9394);function B(u,s){u.prototype=Object.create(s.prototype),u.prototype.constructor=u,k(u,s)}function k(u,s){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,h){return i.__proto__=h,i},k(u,s)}/**
+ */var b=n(32054),y=function(c,f){return function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0,children:[c==="notFound"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" was not found.")],4),c==="missingExport"&&(0,e.createVNode)(1,"div",null,[(0,e.createTextVNode)("Interface "),(0,e.createVNode)(1,"b",null,f,0),(0,e.createTextVNode)(" is missing an export.")],4)]})})}},B=function(){return(0,e.createComponentVNode)(2,m.Window,{children:(0,e.createComponentVNode)(2,m.Window.Content,{scrollable:!0})})},k=function(){return(0,e.createComponentVNode)(2,m.Window,{height:130,title:"Loading",width:150,children:(0,e.createComponentVNode)(2,m.Window.Content,{children:(0,e.createComponentVNode)(2,t.Stack,{align:"center",fill:!0,justify:"center",vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{children:(0,e.createComponentVNode)(2,t.Icon,{color:"blue",name:"toolbox",spin:!0,size:4})}),(0,e.createComponentVNode)(2,t.Stack.Item,{children:"Please wait..."})]})})})},C=r.getRoutedComponent=function(){function l(c){var f=c.getState(),u=(0,a.selectBackend)(f),d=u.suspended,s=u.config;if(d)return B;if(s.refreshing)return k;if(0)var i;for(var h=s==null?void 0:s.interface,N=[function(S){return"./"+S+".tsx"},function(S){return"./"+S+".js"},function(S){return"./"+S+"/index.tsx"},function(S){return"./"+S+"/index.js"}],v;!v&&N.length>0;){var p=N.shift(),g=p(h);try{v=b(g)}catch(S){if(S.code!=="MODULE_NOT_FOUND")throw S}}if(!v)return y("notFound",h);var V=v[h];return V||y("missingExport",h)}return l}()},72178:function(T,r,n){"use strict";r.__esModule=!0,r.configureStore=r.StoreProvider=void 0;var e=n(64795),a=n(85307),t=n(89005),o=n(79140),m=n(72253),b=n(99851),y=n(9394);function B(d,s){d.prototype=Object.create(s.prototype),d.prototype.constructor=d,k(d,s)}function k(d,s){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,h){return i.__proto__=h,i},k(d,s)}/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
-*/var C=(0,y.createLogger)("store"),l=r.configureStore=function(){function u(s){var i,h;s===void 0&&(s={});var N=s,v=N.sideEffects,p=v===void 0?!0:v,g=(0,e.flow)([(0,a.combineReducers)({debug:b.debugReducer,backend:f.backendReducer}),s.reducer]),V=p?[].concat(((i=s.middleware)==null?void 0:i.pre)||[],[o.assetMiddleware,f.backendMiddleware],((h=s.middleware)==null?void 0:h.post)||[]):[],S=a.applyMiddleware.apply(void 0,V),I=(0,a.createStore)(g,S);return window.__store__=I,window.__augmentStack__=m(I),I}return u}(),c=function(s){return function(i){return function(h){var N=h.type,v=h.payload;return N==="update"||N==="backend/update"?C.debug("action",{type:N}):C.debug("action",h),i(h)}}},m=function(s){return function(i,h){var N,v;h?typeof h=="object"&&!h.stack&&(h.stack=i):(h=new Error(i.split("\n")[0]),h.stack=i),C.log("FatalError:",h);var p=s.getState(),g=p==null||(N=p.backend)==null?void 0:N.config,V=i;return V+="\nUser Agent: "+navigator.userAgent,V+="\nState: "+JSON.stringify({ckey:g==null||(v=g.client)==null?void 0:v.ckey,interface:g==null?void 0:g.interface,window:g==null?void 0:g.window}),V}},d=r.StoreProvider=function(u){function s(){return u.apply(this,arguments)||this}B(s,u);var i=s.prototype;return i.getChildContext=function(){function h(){var N=this.props.store;return{store:N}}return h}(),i.render=function(){function h(){return this.props.children}return h}(),s}(t.Component)},51364:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
+*/var C=(0,y.createLogger)("store"),l=r.configureStore=function(){function d(s){var i,h;s===void 0&&(s={});var N=s,v=N.sideEffects,p=v===void 0?!0:v,g=(0,e.flow)([(0,a.combineReducers)({debug:b.debugReducer,backend:m.backendReducer}),s.reducer]),V=p?[].concat(((i=s.middleware)==null?void 0:i.pre)||[],[o.assetMiddleware,m.backendMiddleware],((h=s.middleware)==null?void 0:h.post)||[]):[],S=a.applyMiddleware.apply(void 0,V),I=(0,a.createStore)(g,S);return window.__store__=I,window.__augmentStack__=f(I),I}return d}(),c=function(s){return function(i){return function(h){var N=h.type,v=h.payload;return N==="update"||N==="backend/update"?C.debug("action",{type:N}):C.debug("action",h),i(h)}}},f=function(s){return function(i,h){var N,v;h?typeof h=="object"&&!h.stack&&(h.stack=i):(h=new Error(i.split("\n")[0]),h.stack=i),C.log("FatalError:",h);var p=s.getState(),g=p==null||(N=p.backend)==null?void 0:N.config,V=i;return V+="\nUser Agent: "+navigator.userAgent,V+="\nState: "+JSON.stringify({ckey:g==null||(v=g.client)==null?void 0:v.ckey,interface:g==null?void 0:g.interface,window:g==null?void 0:g.window}),V}},u=r.StoreProvider=function(d){function s(){return d.apply(this,arguments)||this}B(s,d);var i=s.prototype;return i.getChildContext=function(){function h(){var N=this.props.store;return{store:N}}return h}(),i.render=function(){function h(){return this.props.children}return h}(),s}(t.Component)},51364:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var t=r.meta={title:"Blink",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},o=function(b,y){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Blink,{children:"Blink"})})}},32453:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/**
+ */var t=r.meta={title:"Blink",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(b,y){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Blink,{children:"Blink"})})}},32453:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"BlockQuote",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.BlockQuote,{children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},83531:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
+ */var o=r.meta={title:"BlockQuote",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.BlockQuote,{children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},83531:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var t=r.meta={title:"Box",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},o=function(b,y){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,a.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"right",children:"right"})]})}},74198:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var t=r.meta={title:"Box",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(b,y){return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{bold:!0,children:"bold"}),(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"italic"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.5,children:"opacity 0.5"}),(0,e.createComponentVNode)(2,a.Box,{opacity:.25,children:"opacity 0.25"}),(0,e.createComponentVNode)(2,a.Box,{m:2,children:"m: 2"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"left",children:"left"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"center",children:"center"}),(0,e.createComponentVNode)(2,a.Box,{textAlign:"right",children:"right"})]})}},74198:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Button",render:function(){function B(){return(0,e.createComponentVNode)(2,y)}return B}()},f=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],b=["good","average","bad","black","white"],y=function(k,C){var l=(0,a.useLocalState)(C,"translucent",!1),c=l[0],m=l[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c,onClick:function(){function d(){return m(!c)}return d}(),content:"Translucent"}),children:b.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{translucent:c,color:d,content:d},d)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Button,{translucent:c,color:d,content:d},d)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Text Colors",children:f.map(function(d){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:d,children:d},d)})})],4)}},51956:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(9394);/**
+ */var o=r.meta={title:"Button",render:function(){function B(){return(0,e.createComponentVNode)(2,y)}return B}()},m=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],b=["good","average","bad","black","white"],y=function(k,C){var l=(0,a.useLocalState)(C,"translucent",!1),c=l[0],f=l[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.Box,{mb:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"Simple"}),(0,e.createComponentVNode)(2,t.Button,{selected:!0,content:"Selected"}),(0,e.createComponentVNode)(2,t.Button,{altSelected:!0,content:"Alt Selected"}),(0,e.createComponentVNode)(2,t.Button,{disabled:!0,content:"Disabled"}),(0,e.createComponentVNode)(2,t.Button,{color:"transparent",content:"Transparent"}),(0,e.createComponentVNode)(2,t.Button,{icon:"cog",content:"Icon"}),(0,e.createComponentVNode)(2,t.Button,{icon:"power-off"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,content:"Fluid"}),(0,e.createComponentVNode)(2,t.Button,{my:1,lineHeight:2,minWidth:15,textAlign:"center",content:"With Box props"})]})}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:c,onClick:function(){function u(){return f(!c)}return u}(),content:"Translucent"}),children:b.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{translucent:c,color:u,content:u},u)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Button,{translucent:c,color:u,content:u},u)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Text Colors",children:m.map(function(u){return(0,e.createComponentVNode)(2,t.Box,{inline:!0,mx:"7px",color:u,children:u},u)})})],4)}},51956:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036),o=n(9394);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var f=r.meta={title:"ByondUi",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},b=function(B,k){var C=(0,a.useLocalState)(k,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),l=C[0],c=C[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function m(){return setTimeout(function(){try{var d=new Function("return ("+l+")")();d&&d.then?(o.logger.log("Promise"),d.then(o.logger.log)):o.logger.log(d)}catch(u){o.logger.log(u)}})}return m}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function m(d){return c(d.target.value)}return m}(),children:l})})],4)}},17466:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/**
+ */var m=r.meta={title:"ByondUi",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},b=function(B,k){var C=(0,a.useLocalState)(k,"byondUiEvalCode","Byond.winset('"+Byond.windowId+"', {\n 'is-visible': true,\n})"),l=C[0],c=C[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{title:"Button",children:(0,e.createComponentVNode)(2,t.ByondUi,{params:{type:"button",text:"Button"}})}),(0,e.createComponentVNode)(2,t.Section,{title:"Make BYOND calls",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"chevron-right",onClick:function(){function f(){return setTimeout(function(){try{var u=new Function("return ("+l+")")();u&&u.then?(o.logger.log("Promise"),u.then(o.logger.log)):o.logger.log(u)}catch(d){o.logger.log(d)}})}return f}(),children:"Evaluate"}),children:(0,e.createComponentVNode)(2,t.Box,{as:"textarea",width:"100%",height:"10em",onChange:function(){function f(u){return c(u.target.value)}return f}(),children:l})})],4)}},17466:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=n(37168);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Collapsible",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,a.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},89241:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var o=r.meta={title:"Collapsible",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){return(0,e.createComponentVNode)(2,a.Section,{children:(0,e.createComponentVNode)(2,a.Collapsible,{title:"Collapsible Demo",buttons:(0,e.createComponentVNode)(2,a.Button,{icon:"cog"}),children:(0,e.createComponentVNode)(2,t.BoxWithSampleText)})})}},89241:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Flex & Sections",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){var k=(0,a.useLocalState)(B,"fs_grow",1),C=k[0],l=k[1],c=(0,a.useLocalState)(B,"fs_direction","column"),m=c[0],d=c[1],u=(0,a.useLocalState)(B,"fs_fill",!0),s=u[0],i=u[1],h=(0,a.useLocalState)(B,"fs_title",!0),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return d(m==="column"?"row":"column")}return p}(),children:'Flex direction="'+m+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return l(+!C)}return p}(),children:"Flex.Item grow={"+C+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return i(!s)}return p}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:N,onClick:function(){function p(){return v(!N)}return p}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:m,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:m==="row"&&1,mb:m==="column"&&1,grow:C,children:(0,e.createComponentVNode)(2,t.Section,{title:N&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:C,children:(0,e.createComponentVNode)(2,t.Section,{title:N&&"Section 2",fill:s,children:"Content"})})]})})]})}},48779:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var o=r.meta={title:"Flex & Sections",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){var k=(0,a.useLocalState)(B,"fs_grow",1),C=k[0],l=k[1],c=(0,a.useLocalState)(B,"fs_direction","column"),f=c[0],u=c[1],d=(0,a.useLocalState)(B,"fs_fill",!0),s=d[0],i=d[1],h=(0,a.useLocalState)(B,"fs_title",!0),N=h[0],v=h[1];return(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:"column",children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mb:1,children:(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return u(f==="column"?"row":"column")}return p}(),children:'Flex direction="'+f+'"'}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return l(+!C)}return p}(),children:"Flex.Item grow={"+C+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,onClick:function(){function p(){return i(!s)}return p}(),children:"Section fill={"+String(s)+"}"}),(0,e.createComponentVNode)(2,t.Button,{fluid:!0,selected:N,onClick:function(){function p(){return v(!N)}return p}(),children:"Section title"})]})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:1,children:(0,e.createComponentVNode)(2,t.Flex,{height:"100%",direction:f,children:[(0,e.createComponentVNode)(2,t.Flex.Item,{mr:f==="row"&&1,mb:f==="column"&&1,grow:C,children:(0,e.createComponentVNode)(2,t.Section,{title:N&&"Section 1",fill:s,children:"Content"})}),(0,e.createComponentVNode)(2,t.Flex.Item,{grow:C,children:(0,e.createComponentVNode)(2,t.Section,{title:N&&"Section 2",fill:s,children:"Content"})})]})})]})}},48779:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2024 Aylong (https://github.com/AyIong)
* @license MIT
- */var o=r.meta={title:"ImageButton",render:function(){function B(){return(0,e.createComponentVNode)(2,y)}return B}()},f=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],b=["good","average","bad","black","white"],y=function(k,C){var l=(0,a.useLocalState)(C,"fluid1",!0),c=l[0],m=l[1],d=(0,a.useLocalState)(C,"fluid2",!1),u=d[0],s=d[1],i=(0,a.useLocalState)(C,"fluid3",!1),h=i[0],N=i[1],v=(0,a.useLocalState)(C,"disabled",!1),p=v[0],g=v[1],V=(0,a.useLocalState)(C,"selected",!1),S=V[0],I=V[1],L=(0,a.useLocalState)(C,"addImage",!1),w=L[0],A=L[1],x=(0,a.useLocalState)(C,"base64",""),E=x[0],M=x[1],j=(0,a.useLocalState)(C,"title","Image Button"),P=j[0],O=j[1],D=(0,a.useLocalState)(C,"content","You can put anything in there"),F=D[0],W=D[1],U=(0,a.useLocalState)(C,"imageSize",64),$=U[0],K=U[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:w?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"base64",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function G(Q,J){return M(J)}return G}()})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:P,onInput:function(){function G(Q,J){return O(J)}return G}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:F,onInput:function(){function G(Q,J){return W(J)}return G}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{width:10,value:$,minValue:0,maxValue:256,step:1,onChange:function(){function G(Q,J){return K(J)}return G}()})})],4)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:c,onClick:function(){function G(){return m(!c)}return G}(),children:"Fluid"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,onClick:function(){function G(){return g(!p)}return G}(),children:"Disabled"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:S,onClick:function(){function G(){return I(!S)}return G}(),children:"Selected"})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{m:!c&&0,fluid:c,base64:E,imageSize:$,title:P,tooltip:!c&&F,disabled:p,selected:S,buttonsAlt:c,buttons:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:c,compact:!c,color:!c&&"transparent",selected:w,onClick:function(){function G(){return A(!w)}return G}(),children:"Add Image"}),children:F})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:u,onClick:function(){function G(){return s(!u)}return G}(),children:"Fluid"}),children:b.map(function(G){return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:u,color:G,imageSize:u?24:48,children:G},G)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:h,onClick:function(){function G(){return N(!h)}return G}(),children:"Fluid"}),children:f.map(function(G){return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:h,color:G,imageSize:h?24:48,children:G},G)})})],4)}},21394:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var o=r.meta={title:"ImageButton",render:function(){function B(){return(0,e.createComponentVNode)(2,y)}return B}()},m=["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","gold"],b=["good","average","bad","black","white"],y=function(k,C){var l=(0,a.useLocalState)(C,"fluid1",!0),c=l[0],f=l[1],u=(0,a.useLocalState)(C,"fluid2",!1),d=u[0],s=u[1],i=(0,a.useLocalState)(C,"fluid3",!1),h=i[0],N=i[1],v=(0,a.useLocalState)(C,"disabled",!1),p=v[0],g=v[1],V=(0,a.useLocalState)(C,"selected",!1),S=V[0],I=V[1],L=(0,a.useLocalState)(C,"addImage",!1),w=L[0],A=L[1],x=(0,a.useLocalState)(C,"base64",""),E=x[0],M=x[1],j=(0,a.useLocalState)(C,"title","Image Button"),P=j[0],O=j[1],D=(0,a.useLocalState)(C,"content","You can put anything in there"),F=D[0],W=D[1],U=(0,a.useLocalState)(C,"imageSize",64),$=U[0],K=U[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Stack,{children:[(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.LabeledList,{children:w?(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"base64",children:(0,e.createComponentVNode)(2,t.Input,{value:E,onInput:function(){function G(Q,J){return M(J)}return G}()})}):(0,e.createFragment)([(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Title",children:(0,e.createComponentVNode)(2,t.Input,{value:P,onInput:function(){function G(Q,J){return O(J)}return G}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Content",children:(0,e.createComponentVNode)(2,t.Input,{value:F,onInput:function(){function G(Q,J){return W(J)}return G}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Image Size",children:(0,e.createComponentVNode)(2,t.Slider,{width:10,value:$,minValue:0,maxValue:256,step:1,onChange:function(){function G(Q,J){return K(J)}return G}()})})],4)})}),(0,e.createComponentVNode)(2,t.Stack.Item,{basis:"50%",children:(0,e.createComponentVNode)(2,t.Stack,{fill:!0,vertical:!0,children:[(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:c,onClick:function(){function G(){return f(!c)}return G}(),children:"Fluid"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:p,onClick:function(){function G(){return g(!p)}return G}(),children:"Disabled"})}),(0,e.createComponentVNode)(2,t.Stack.Item,{grow:!0,children:(0,e.createComponentVNode)(2,t.Button.Checkbox,{fluid:!0,checked:S,onClick:function(){function G(){return I(!S)}return G}(),children:"Selected"})})]})})]}),(0,e.createComponentVNode)(2,t.Stack.Item,{mt:1,children:(0,e.createComponentVNode)(2,t.ImageButton,{m:!c&&0,fluid:c,base64:E,imageSize:$,title:P,tooltip:!c&&F,disabled:p,selected:S,buttonsAlt:c,buttons:(0,e.createComponentVNode)(2,t.Button,{fluid:!0,translucent:c,compact:!c,color:!c&&"transparent",selected:w,onClick:function(){function G(){return A(!w)}return G}(),children:"Add Image"}),children:F})})]}),(0,e.createComponentVNode)(2,t.Section,{title:"Color States",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:d,onClick:function(){function G(){return s(!d)}return G}(),children:"Fluid"}),children:b.map(function(G){return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:d,color:G,imageSize:d?24:48,children:G},G)})}),(0,e.createComponentVNode)(2,t.Section,{title:"Available Colors",buttons:(0,e.createComponentVNode)(2,t.Button.Checkbox,{checked:h,onClick:function(){function G(){return N(!h)}return G}(),children:"Fluid"}),children:m.map(function(G){return(0,e.createComponentVNode)(2,t.ImageButton,{fluid:h,color:G,imageSize:h?24:48,children:G},G)})})],4)}},21394:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Input",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){var k=(0,a.useLocalState)(B,"number",0),C=k[0],l=k[1],c=(0,a.useLocalState)(B,"text","Sample text"),m=c[0],d=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onChange:function(){function u(s,i){return d(i)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:m,onInput:function(){function u(s,i){return d(i)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onChange:function(){function u(s,i){return l(i)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onDrag:function(){function u(s,i){return l(i)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onDrag:function(){function u(s,i){return l(i)}return u}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:C,minValue:-100,maxValue:100,onDrag:function(){function u(s,i){return l(i)}return u}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:C,minValue:-100,maxValue:100,onDrag:function(){function u(s,i){return l(i)}return u}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:C,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function u(s,i){return l(i)}return u}(),children:function(){function u(s){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:s.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:s.displayValue*4}),s.inputElement]})}return u}()})})})]})})}},43932:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},33270:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var o=r.meta={title:"Input",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){var k=(0,a.useLocalState)(B,"number",0),C=k[0],l=k[1],c=(0,a.useLocalState)(B,"text","Sample text"),f=c[0],u=c[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onChange)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onChange:function(){function d(s,i){return u(i)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Input (onInput)",children:(0,e.createComponentVNode)(2,t.Input,{value:f,onInput:function(){function d(s,i){return u(i)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onChange)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onChange:function(){function d(s,i){return l(i)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"NumberInput (onDrag)",children:(0,e.createComponentVNode)(2,t.NumberInput,{animated:!0,width:"40px",step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onDrag:function(){function d(s,i){return l(i)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Slider (onDrag)",children:(0,e.createComponentVNode)(2,t.Slider,{step:1,stepPixelSize:5,value:C,minValue:-100,maxValue:100,onDrag:function(){function d(s,i){return l(i)}return d}()})}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Knob (onDrag)",children:[(0,e.createComponentVNode)(2,t.Knob,{inline:!0,size:1,step:1,stepPixelSize:2,value:C,minValue:-100,maxValue:100,onDrag:function(){function d(s,i){return l(i)}return d}()}),(0,e.createComponentVNode)(2,t.Knob,{ml:1,inline:!0,bipolar:!0,size:1,step:1,stepPixelSize:2,value:C,minValue:-100,maxValue:100,onDrag:function(){function d(s,i){return l(i)}return d}()})]}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Rotating Icon",children:(0,e.createComponentVNode)(2,t.Box,{inline:!0,position:"relative",children:(0,e.createComponentVNode)(2,t.DraggableControl,{value:C,minValue:-100,maxValue:100,dragMatrix:[0,-1],step:1,stepPixelSize:5,onDrag:function(){function d(s,i){return l(i)}return d}(),children:function(){function d(s){return(0,e.createComponentVNode)(2,t.Box,{onMouseDown:s.handleDragStart,children:[(0,e.createComponentVNode)(2,t.Icon,{size:4,color:"yellow",name:"times",rotation:s.displayValue*4}),s.inputElement]})}return d}()})})})]})})}},43932:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036),t=r.meta={title:"Popper",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"Loogatme!"}),options:{placement:"bottom"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"300px",width:"200px"}})}),(0,e.createComponentVNode)(2,a.Popper,{popperContent:(0,e.createComponentVNode)(2,a.Box,{style:{background:"white",border:"2px solid blue"},children:"I am on the right!"}),options:{placement:"right"},children:(0,e.createComponentVNode)(2,a.Box,{style:{border:"5px solid white",height:"500px",width:"100px"}})})],4)}},33270:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"ProgressBar",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){var k=(0,a.useLocalState)(B,"progress",.5),C=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:C,children:["Value: ",Number(C).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function c(){return l(C-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return l(C+.1)}return c}()})]})]})}},77766:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
+ */var o=r.meta={title:"ProgressBar",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){var k=(0,a.useLocalState)(B,"progress",.5),C=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.ProgressBar,{ranges:{good:[.5,1/0],bad:[-1/0,.1],average:[0,.5]},minValue:-1,maxValue:1,value:C,children:["Value: ",Number(C).toFixed(1)]}),(0,e.createComponentVNode)(2,t.Box,{mt:1,children:[(0,e.createComponentVNode)(2,t.Button,{content:"-0.1",onClick:function(){function c(){return l(C-.1)}return c}()}),(0,e.createComponentVNode)(2,t.Button,{content:"+0.1",onClick:function(){function c(){return l(C+.1)}return c}()})]})]})}},77766:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var t=r.meta={title:"Stack",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},f=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)}),(0,e.createComponentVNode)(2,a.Stack.Divider),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)})],4)},b=function(B,k){return(0,e.createComponentVNode)(2,a.Section,{fill:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,className:"debug-layout",children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f),(0,e.createComponentVNode)(2,f)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,f)]})})]})})}},30187:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(27108),t=n(36036),o=n(49968);/**
+ */var t=r.meta={title:"Stack",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},o=function(){return(0,e.createComponentVNode)(2,a.Box,{inline:!0,width:1,height:1,children:"A"})},m=function(){return(0,e.createFragment)([(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)}),(0,e.createComponentVNode)(2,a.Stack.Divider),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,o)})],4)},b=function(B,k){return(0,e.createComponentVNode)(2,a.Section,{fill:!0,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,className:"debug-layout",children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1,children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,vertical:!0,zebra:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{children:(0,e.createComponentVNode)(2,a.Stack,{fill:!0,children:[(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m),(0,e.createComponentVNode)(2,m)]})}),(0,e.createComponentVNode)(2,a.Stack.Item,{grow:1}),(0,e.createComponentVNode)(2,m)]})})]})})}},30187:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(27108),t=n(36036),o=n(49968);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var f=r.meta={title:"Storage",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},b=function(B,k){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function C(){localStorage.clear(),a.storage.clear()}return C}(),children:"Clear"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remaining space",children:(0,o.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Local storage is not available."})}},46554:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var m=r.meta={title:"Storage",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},b=function(B,k){return window.localStorage?(0,e.createComponentVNode)(2,t.Section,{title:"Local Storage",buttons:(0,e.createComponentVNode)(2,t.Button,{icon:"recycle",onClick:function(){function C(){localStorage.clear(),a.storage.clear()}return C}(),children:"Clear"}),children:(0,e.createComponentVNode)(2,t.LabeledList,{children:[(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Keys in use",children:localStorage.length}),(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Remaining space",children:(0,o.formatSiUnit)(localStorage.remainingSpace,0,"B")})]})}):(0,e.createComponentVNode)(2,t.NoticeBox,{children:"Local storage is not available."})}},46554:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Tabs",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},f=["Tab #1","Tab #2","Tab #3","Tab #4"],b=function(B,k){var C=(0,a.useLocalState)(k,"tabIndex",0),l=C[0],c=C[1],m=(0,a.useLocalState)(k,"tabProps",{}),d=m[0],u=m[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:d.vertical,onClick:function(){function s(){return u(Object.assign({},d,{vertical:!d.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:d.leftSlot,onClick:function(){function s(){return u(Object.assign({},d,{leftSlot:!d.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:d.rightSlot,onClick:function(){function s(){return u(Object.assign({},d,{rightSlot:!d.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:d.icon,onClick:function(){function s(){return u(Object.assign({},d,{icon:!d.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:d.fluid,onClick:function(){function s(){return u(Object.assign({},d,{fluid:!d.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:d.leftAligned,onClick:function(){function s(){return u(Object.assign({},d,{leftAligned:!d.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:d.vertical,fluid:d.fluid,textAlign:d.leftAligned&&"left",children:f.map(function(s,i){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===l,icon:d.icon&&"info-circle",leftSlot:d.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:d.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function h(){return c(i)}return h}(),children:s},i)})})})],4)}},53276:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
+ */var o=r.meta={title:"Tabs",render:function(){function y(){return(0,e.createComponentVNode)(2,b)}return y}()},m=["Tab #1","Tab #2","Tab #3","Tab #4"],b=function(B,k){var C=(0,a.useLocalState)(k,"tabIndex",0),l=C[0],c=C[1],f=(0,a.useLocalState)(k,"tabProps",{}),u=f[0],d=f[1];return(0,e.createFragment)([(0,e.createComponentVNode)(2,t.Section,{children:[(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"vertical",checked:u.vertical,onClick:function(){function s(){return d(Object.assign({},u,{vertical:!u.vertical}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"leftSlot",checked:u.leftSlot,onClick:function(){function s(){return d(Object.assign({},u,{leftSlot:!u.leftSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"rightSlot",checked:u.rightSlot,onClick:function(){function s(){return d(Object.assign({},u,{rightSlot:!u.rightSlot}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"icon",checked:u.icon,onClick:function(){function s(){return d(Object.assign({},u,{icon:!u.icon}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"fluid",checked:u.fluid,onClick:function(){function s(){return d(Object.assign({},u,{fluid:!u.fluid}))}return s}()}),(0,e.createComponentVNode)(2,t.Button.Checkbox,{inline:!0,content:"left aligned",checked:u.leftAligned,onClick:function(){function s(){return d(Object.assign({},u,{leftAligned:!u.leftAligned}))}return s}()})]}),(0,e.createComponentVNode)(2,t.Section,{fitted:!0,children:(0,e.createComponentVNode)(2,t.Tabs,{vertical:u.vertical,fluid:u.fluid,textAlign:u.leftAligned&&"left",children:m.map(function(s,i){return(0,e.createComponentVNode)(2,t.Tabs.Tab,{selected:i===l,icon:u.icon&&"info-circle",leftSlot:u.leftSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),rightSlot:u.rightSlot&&(0,e.createComponentVNode)(2,t.Button,{circular:!0,compact:!0,color:"transparent",icon:"times"}),onClick:function(){function h(){return c(i)}return h}(),children:s},i)})})})],4)}},53276:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(72253),t=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var o=r.meta={title:"Themes",render:function(){function b(){return(0,e.createComponentVNode)(2,f)}return b}()},f=function(y,B){var k=(0,a.useLocalState)(B,"kitchenSinkTheme"),C=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:C,onInput:function(){function c(m,d){return l(d)}return c}()})})})})}},28717:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
+ */var o=r.meta={title:"Themes",render:function(){function b(){return(0,e.createComponentVNode)(2,m)}return b}()},m=function(y,B){var k=(0,a.useLocalState)(B,"kitchenSinkTheme"),C=k[0],l=k[1];return(0,e.createComponentVNode)(2,t.Section,{children:(0,e.createComponentVNode)(2,t.LabeledList,{children:(0,e.createComponentVNode)(2,t.LabeledList.Item,{label:"Use theme",children:(0,e.createComponentVNode)(2,t.Input,{placeholder:"theme_name",value:C,onInput:function(){function c(f,u){return l(u)}return c}()})})})})}},28717:function(T,r,n){"use strict";r.__esModule=!0,r.meta=void 0;var e=n(89005),a=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var t=r.meta={title:"Tooltip",render:function(){function f(){return(0,e.createComponentVNode)(2,o)}return f}()},o=function(){var b=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{children:[(0,e.createComponentVNode)(2,a.Tooltip,{content:"Tooltip text.",children:(0,e.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,e.createComponentVNode)(2,a.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,a.Box,{mt:1,children:b.map(function(y){return(0,e.createComponentVNode)(2,a.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:y,content:y},y)})})]})}},37168:function(T,r,n){"use strict";r.__esModule=!0,r.BoxWithSampleText=void 0;var e=n(89005),a=n(36036);/**
+ */var t=r.meta={title:"Tooltip",render:function(){function m(){return(0,e.createComponentVNode)(2,o)}return m}()},o=function(){var b=["top","left","right","bottom","bottom-start","bottom-end"];return(0,e.createComponentVNode)(2,a.Section,{children:[(0,e.createComponentVNode)(2,a.Box,{children:[(0,e.createComponentVNode)(2,a.Tooltip,{content:"Tooltip text.",children:(0,e.createComponentVNode)(2,a.Box,{inline:!0,position:"relative",mr:1,children:"Box (hover me)."})}),(0,e.createComponentVNode)(2,a.Button,{tooltip:"Tooltip text.",content:"Button"})]}),(0,e.createComponentVNode)(2,a.Box,{mt:1,children:b.map(function(y){return(0,e.createComponentVNode)(2,a.Button,{color:"transparent",tooltip:"Tooltip text.",tooltipPosition:y,content:y},y)})})]})}},37168:function(T,r,n){"use strict";r.__esModule=!0,r.BoxWithSampleText=void 0;var e=n(89005),a=n(36036);/**
* @file
* @copyright 2021 Aleksej Komarov
* @license MIT
- */var t=r.BoxWithSampleText=function(){function o(f){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},f,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},56492:function(){},39108:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},32882:function(){},70752:function(T,r,n){var e={"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=70752},59395:function(T,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_nanobank.js":23734,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=59395},32054:function(T,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AgentCard":79571,"./AgentCard.js":79571,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosGraphMonitor":57258,"./AtmosGraphMonitor.tsx":57258,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AtmosTankControl":69321,"./AtmosTankControl.js":69321,"./Autolathe":59179,"./Autolathe.js":59179,"./Autolathe220":29943,"./Autolathe220.tsx":29943,"./BioChipPad":5147,"./BioChipPad.js":5147,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BloomEdit":47823,"./BloomEdit.js":47823,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BookBinder":67963,"./BookBinder.js":67963,"./BotCall":61925,"./BotCall.js":61925,"./BotClean":20464,"./BotClean.js":20464,"./BotFloor":69479,"./BotFloor.js":69479,"./BotHonk":59887,"./BotHonk.js":59887,"./BotMed":80063,"./BotMed.js":80063,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./CameraConsole220":39222,"./CameraConsole220.js":39222,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./ChangelogView":87331,"./ChangelogView.js":87331,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CloningPod":98723,"./CloningPod.js":98723,"./CoinMint":18259,"./CoinMint.tsx":18259,"./ColourMatrixTester":8444,"./ColourMatrixTester.js":8444,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./CompostBin":20562,"./CompostBin.js":20562,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./DroneConsole":33681,"./DroneConsole.js":33681,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./EconomyManager":90217,"./EconomyManager.js":90217,"./Electropack":82565,"./Electropack.js":82565,"./Emojipedia":11243,"./Emojipedia.tsx":11243,"./EmotePanel":69784,"./EmotePanel.js":69784,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExperimentConsole":59128,"./ExperimentConsole.js":59128,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FilingCabinet":74123,"./FilingCabinet.js":74123,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./GravityGen":10270,"./GravityGen.js":10270,"./GuestPass":48657,"./GuestPass.js":48657,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./HealthSensor":46098,"./HealthSensor.js":46098,"./Holodeck":36771,"./Holodeck.js":36771,"./Instrument":25471,"./Instrument.js":25471,"./Jukebox":52736,"./Jukebox.tsx":52736,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./KitchenMachine":62955,"./KitchenMachine.js":62955,"./LawManager":9525,"./LawManager.js":9525,"./LibraryComputer":85066,"./LibraryComputer.js":85066,"./LibraryManager":9516,"./LibraryManager.js":9516,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MODsuit":77613,"./MODsuit.js":77613,"./MagnetController":78624,"./MagnetController.js":78624,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./MerchVendor":54989,"./MerchVendor.js":54989,"./MiningVendor":87684,"./MiningVendor.js":87684,"./ModpacksList":61468,"./ModpacksList.js":61468,"./NTRecruiter":59783,"./NTRecruiter.js":59783,"./Newscaster":64713,"./Newscaster.js":64713,"./Noticeboard":48286,"./Noticeboard.tsx":48286,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":52754,"./PAI.js":52754,"./PDA":85175,"./PDA.js":85175,"./Pacman":68654,"./Pacman.js":68654,"./PanDEMIC":1701,"./PanDEMIC.tsx":1701,"./ParticleAccelerator":67921,"./ParticleAccelerator.js":67921,"./PdaPainter":71432,"./PdaPainter.js":71432,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./Photocopier220":8340,"./Photocopier220.js":8340,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./PrisonerShuttleConsole":53952,"./PrisonerShuttleConsole.js":53952,"./PrizeCounter":97852,"./PrizeCounter.tsx":97852,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./ReagentGrinder":48125,"./ReagentGrinder.js":48125,"./ReagentsEditor":58262,"./ReagentsEditor.tsx":58262,"./RemoteSignaler":30207,"./RemoteSignaler.js":30207,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RndBackupConsole":9861,"./RndBackupConsole.js":9861,"./RndConsole":12644,"./RndConsole/":12644,"./RndConsole/DataDiskMenu":37556,"./RndConsole/DataDiskMenu.js":37556,"./RndConsole/DeconstructionMenu":58147,"./RndConsole/DeconstructionMenu.js":58147,"./RndConsole/LatheCategory":16830,"./RndConsole/LatheCategory.js":16830,"./RndConsole/LatheChemicalStorage":70497,"./RndConsole/LatheChemicalStorage.js":70497,"./RndConsole/LatheMainMenu":70864,"./RndConsole/LatheMainMenu.js":70864,"./RndConsole/LatheMaterialStorage":42878,"./RndConsole/LatheMaterialStorage.js":42878,"./RndConsole/LatheMaterials":52662,"./RndConsole/LatheMaterials.js":52662,"./RndConsole/LatheMenu":9681,"./RndConsole/LatheMenu.js":9681,"./RndConsole/LatheSearch":68198,"./RndConsole/LatheSearch.js":68198,"./RndConsole/LinkMenu":81421,"./RndConsole/LinkMenu.js":81421,"./RndConsole/SettingsMenu":6256,"./RndConsole/SettingsMenu.js":6256,"./RndConsole/index":12644,"./RndConsole/index.js":12644,"./RndNetController":29205,"./RndNetController.js":29205,"./RndServer":63315,"./RndServer.js":63315,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./Shop":17474,"./Shop.js":17474,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpecMenu":30586,"./SpecMenu.js":30586,"./StackCraft":95152,"./StackCraft.js":95152,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StationTraitsPanel":96091,"./StationTraitsPanel.tsx":96091,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./TEG":36372,"./TEG.js":36372,"./TTSSeedsExplorer":23190,"./TTSSeedsExplorer.tsx":23190,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TelescienceConsole":48517,"./TelescienceConsole.js":48517,"./TempGun":21800,"./TempGun.js":21800,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThermoMachine":25036,"./ThermoMachine.js":25036,"./TransferValve":20035,"./TransferValve.js":20035,"./TurbineComputer":78166,"./TurbineComputer.js":78166,"./Uplink":52847,"./Uplink.js":52847,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./WizardApprenticeContract":21400,"./WizardApprenticeContract.js":21400,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/BotStatus":92963,"./common/BotStatus.js":92963,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_nanobank":23734,"./pda/pda_nanobank.js":23734,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=32054},4085:function(T,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var f=t(o);return n(f)}function t(o){if(!n.o(e,o)){var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=4085},10320:function(T,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(T,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(T,r,n){"use strict";var e=n(45015),a=String,t=TypeError;T.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(T,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),f=Array.prototype;f[o]===void 0&&t(f,o,{configurable:!0,value:a(null)}),T.exports=function(b){f[o][b]=!0}},35483:function(T,r,n){"use strict";var e=n(50233).charAt;T.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(T,r,n){"use strict";var e=n(21287),a=TypeError;T.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(T,r,n){"use strict";var e=n(77568),a=String,t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(T){"use strict";T.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(T,r,n){"use strict";var e=n(40033);T.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(T,r,n){"use strict";var e=n(70377),a=n(58310),t=n(74685),o=n(55747),f=n(77568),b=n(45299),y=n(2281),B=n(89393),k=n(37909),C=n(55938),l=n(73936),c=n(21287),m=n(36917),d=n(76649),u=n(24697),s=n(16738),i=n(5419),h=i.enforce,N=i.get,v=t.Int8Array,p=v&&v.prototype,g=t.Uint8ClampedArray,V=g&&g.prototype,S=v&&m(v),I=p&&m(p),L=Object.prototype,w=t.TypeError,A=u("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!d&&y(t.opera)!=="Opera",j=!1,P,O,D,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},U=function(){function ie(he){if(!f(he))return!1;var te=y(he);return te==="DataView"||b(F,te)||b(W,te)}return ie}(),$=function ie(he){var te=m(he);if(f(te)){var q=N(te);return q&&b(q,E)?q[E]:ie(te)}},K=function(he){if(!f(he))return!1;var te=y(he);return b(F,te)||b(W,te)},G=function(he){if(K(he))return he;throw new w("Target is not a typed array")},Q=function(he){if(o(he)&&(!d||c(S,he)))return he;throw new w(B(he)+" is not a typed array constructor")},J=function(he,te,q,ne){if(a){if(q)for(var le in F){var ee=t[le];if(ee&&b(ee.prototype,he))try{delete ee.prototype[he]}catch(re){try{ee.prototype[he]=te}catch(oe){}}}(!I[he]||q)&&C(I,he,q?te:M&&p[he]||te,ne)}},ue=function(he,te,q){var ne,le;if(a){if(d){if(q){for(ne in F)if(le=t[ne],le&&b(le,he))try{delete le[he]}catch(ee){}}if(!S[he]||q)try{return C(S,he,q?te:M&&S[he]||te)}catch(ee){}else return}for(ne in F)le=t[ne],le&&(!le[he]||q)&&C(le,he,te)}};for(P in F)O=t[P],D=O&&O.prototype,D?h(D)[E]=O:M=!1;for(P in W)O=t[P],D=O&&O.prototype,D&&(h(D)[E]=O);if((!M||!o(S)||S===Function.prototype)&&(S=function(){function ie(){throw new w("Incorrect invocation")}return ie}(),M))for(P in F)t[P]&&d(t[P],S);if((!M||!I||I===L)&&(I=S.prototype,M))for(P in F)t[P]&&d(t[P].prototype,I);if(M&&m(V)!==I&&d(V,I),a&&!b(I,A)){j=!0,l(I,A,{configurable:!0,get:function(){function ie(){return f(this)?this[x]:void 0}return ie}()});for(P in F)t[P]&&k(t[P],x,P)}T.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:G,aTypedArrayConstructor:Q,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:ue,getTypedArrayConstructor:$,isView:U,isTypedArray:K,TypedArray:S,TypedArrayPrototype:I}},37336:function(T,r,n){"use strict";var e=n(74685),a=n(67250),t=n(58310),o=n(70377),f=n(70520),b=n(37909),y=n(73936),B=n(30145),k=n(40033),C=n(60077),l=n(61365),c=n(10188),m=n(43806),d=n(95867),u=n(91784),s=n(36917),i=n(76649),h=n(88471),N=n(54602),v=n(5781),p=n(5774),g=n(84925),V=n(5419),S=f.PROPER,I=f.CONFIGURABLE,L="ArrayBuffer",w="DataView",A="prototype",x="Wrong length",E="Wrong index",M=V.getterFor(L),j=V.getterFor(w),P=V.set,O=e[L],D=O,F=D&&D[A],W=e[w],U=W&&W[A],$=Object.prototype,K=e.Array,G=e.RangeError,Q=a(h),J=a([].reverse),ue=u.pack,ie=u.unpack,he=function(Ve){return[Ve&255]},te=function(Ve){return[Ve&255,Ve>>8&255]},q=function(Ve){return[Ve&255,Ve>>8&255,Ve>>16&255,Ve>>24&255]},ne=function(Ve){return Ve[3]<<24|Ve[2]<<16|Ve[1]<<8|Ve[0]},le=function(Ve){return ue(d(Ve),23,4)},ee=function(Ve){return ue(Ve,52,8)},re=function(Ve,Be,be){y(Ve[A],Be,{configurable:!0,get:function(){function Le(){return be(this)[Be]}return Le}()})},oe=function(Ve,Be,be,Le){var we=j(Ve),xe=m(be),Re=!!Le;if(xe+Be>we.byteLength)throw new G(E);var ze=we.bytes,ye=xe+we.byteOffset,de=N(ze,ye,ye+Be);return Re?de:J(de)},fe=function(Ve,Be,be,Le,we,xe){var Re=j(Ve),ze=m(be),ye=Le(+we),de=!!xe;if(ze+Be>Re.byteLength)throw new G(E);for(var Ce=Re.bytes,ke=ze+Re.byteOffset,ge=0;gewe)throw new G("Wrong offset");if(be=be===void 0?we-xe:c(be),xe+be>we)throw new G(x);P(this,{type:w,buffer:Ve,byteLength:be,byteOffset:xe,bytes:Le.bytes}),t||(this.buffer=Ve,this.byteLength=be,this.byteOffset=xe)}return pe}(),U=W[A],t&&(re(D,"byteLength",M),re(W,"buffer",j),re(W,"byteLength",j),re(W,"byteOffset",j)),B(U,{getInt8:function(){function pe(Ve){return oe(this,1,Ve)[0]<<24>>24}return pe}(),getUint8:function(){function pe(Ve){return oe(this,1,Ve)[0]}return pe}(),getInt16:function(){function pe(Ve){var Be=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return(Be[1]<<8|Be[0])<<16>>16}return pe}(),getUint16:function(){function pe(Ve){var Be=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return Be[1]<<8|Be[0]}return pe}(),getInt32:function(){function pe(Ve){return ne(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))}return pe}(),getUint32:function(){function pe(Ve){return ne(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))>>>0}return pe}(),getFloat32:function(){function pe(Ve){return ie(oe(this,4,Ve,arguments.length>1?arguments[1]:!1),23)}return pe}(),getFloat64:function(){function pe(Ve){return ie(oe(this,8,Ve,arguments.length>1?arguments[1]:!1),52)}return pe}(),setInt8:function(){function pe(Ve,Be){fe(this,1,Ve,he,Be)}return pe}(),setUint8:function(){function pe(Ve,Be){fe(this,1,Ve,he,Be)}return pe}(),setInt16:function(){function pe(Ve,Be){fe(this,2,Ve,te,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setUint16:function(){function pe(Ve,Be){fe(this,2,Ve,te,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setInt32:function(){function pe(Ve,Be){fe(this,4,Ve,q,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setUint32:function(){function pe(Ve,Be){fe(this,4,Ve,q,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setFloat32:function(){function pe(Ve,Be){fe(this,4,Ve,le,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setFloat64:function(){function pe(Ve,Be){fe(this,8,Ve,ee,Be,arguments.length>2?arguments[2]:!1)}return pe}()});else{var me=S&&O.name!==L;!k(function(){O(1)})||!k(function(){new O(-1)})||k(function(){return new O,new O(1.5),new O(NaN),O.length!==1||me&&!I})?(D=function(){function pe(Ve){return C(this,F),v(new O(m(Ve)),this,D)}return pe}(),D[A]=F,F.constructor=D,p(D,O)):me&&I&&b(O,"name",L),i&&s(U)!==$&&i(U,$);var Y=new W(new D(2)),ve=a(U.setInt8);Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),(Y.getInt8(0)||!Y.getInt8(1))&&B(U,{setInt8:function(){function pe(Ve,Be){ve(this,Ve,Be<<24>>24)}return pe}(),setUint8:function(){function pe(Ve,Be){ve(this,Ve,Be<<24>>24)}return pe}()},{unsafe:!0})}g(D,L),g(W,w),T.exports={ArrayBuffer:D,DataView:W}},71447:function(T,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),f=Math.min;T.exports=[].copyWithin||function(){function b(y,B){var k=e(this),C=t(k),l=a(y,C),c=a(B,C),m=arguments.length>2?arguments[2]:void 0,d=f((m===void 0?C:a(m,C))-c,C-l),u=1;for(c0;)c in k?k[l]=k[c]:o(k,l),l+=u,c+=u;return k}return b}()},88471:function(T,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);T.exports=function(){function o(f){for(var b=e(this),y=t(b),B=arguments.length,k=a(B>1?arguments[1]:void 0,y),C=B>2?arguments[2]:void 0,l=C===void 0?y:a(C,y);l>k;)b[k++]=f;return b}return o}()},35601:function(T,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");T.exports=t?[].forEach:function(){function o(f){return e(this,f,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(T,r,n){"use strict";var e=n(24760);T.exports=function(a,t,o){for(var f=0,b=arguments.length>2?o:e(t),y=new a(b);b>f;)y[f]=t[f++];return y}},73174:function(T,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),f=n(76571),b=n(1031),y=n(24760),B=n(60102),k=n(77455),C=n(59201),l=Array;T.exports=function(){function c(m){var d=t(m),u=b(this),s=arguments.length,i=s>1?arguments[1]:void 0,h=i!==void 0;h&&(i=e(i,s>2?arguments[2]:void 0));var N=C(d),v=0,p,g,V,S,I,L;if(N&&!(this===l&&f(N)))for(g=u?new this:[],S=k(d,N),I=S.next;!(V=a(I,S)).done;v++)L=h?o(S,i,[V.value,v],!0):V.value,B(g,v,L);else for(p=y(d),g=u?new this(p):l(p);p>v;v++)L=h?i(d[v],v):d[v],B(g,v,L);return g.length=v,g}return c}()},14211:function(T,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(b){return function(y,B,k){var C=e(y),l=t(C);if(l===0)return!b&&-1;var c=a(k,l),m;if(b&&B!==B){for(;l>c;)if(m=C[c++],m!==m)return!0}else for(;l>c;c++)if((b||c in C)&&C[c]===B)return b||c||0;return!b&&-1}};T.exports={includes:o(!0),indexOf:o(!1)}},22603:function(T,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),f=n(24760),b=n(57823),y=a([].push),B=function(C){var l=C===1,c=C===2,m=C===3,d=C===4,u=C===6,s=C===7,i=C===5||u;return function(h,N,v,p){for(var g=o(h),V=t(g),S=f(V),I=e(N,v),L=0,w=p||b,A=l?w(h,S):c||s?w(h,0):void 0,x,E;S>L;L++)if((i||L in V)&&(x=V[L],E=I(x,L,g),C))if(l)A[L]=E;else if(E)switch(C){case 3:return!0;case 5:return x;case 6:return L;case 2:y(A,x)}else switch(C){case 4:return!1;case 7:y(A,x)}return u?-1:m||d?d:A}};T.exports={forEach:B(0),map:B(1),filter:B(2),some:B(3),every:B(4),find:B(5),findIndex:B(6),filterReject:B(7)}},1325:function(T,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),f=n(55528),b=Math.min,y=[].lastIndexOf,B=!!y&&1/[1].lastIndexOf(1,-0)<0,k=f("lastIndexOf"),C=B||!k;T.exports=C?function(){function l(c){if(B)return e(y,this,arguments)||0;var m=a(this),d=o(m);if(d===0)return-1;var u=d-1;for(arguments.length>1&&(u=b(u,t(arguments[1]))),u<0&&(u=d+u);u>=0;u--)if(u in m&&m[u]===c)return u||0;return-1}return l}():y},44091:function(T,r,n){"use strict";var e=n(40033),a=n(24697),t=n(5026),o=a("species");T.exports=function(f){return t>=51||!e(function(){var b=[],y=b.constructor={};return y[o]=function(){return{foo:1}},b[f](Boolean).foo!==1})}},55528:function(T,r,n){"use strict";var e=n(40033);T.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(T,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),f=TypeError,b="Reduce of empty array with no initial value",y=function(k){return function(C,l,c,m){var d=a(C),u=t(d),s=o(d);if(e(l),s===0&&c<2)throw new f(b);var i=k?s-1:0,h=k?-1:1;if(c<2)for(;;){if(i in u){m=u[i],i+=h;break}if(i+=h,k?i<0:s<=i)throw new f(b)}for(;k?i>=0:s>i;i+=h)i in u&&(m=l(m,u[i],i,d));return m}};T.exports={left:y(!1),right:y(!0)}},13345:function(T,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,f=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(b){return b instanceof TypeError}}();T.exports=f?function(b,y){if(a(b)&&!o(b,"length").writable)throw new t("Cannot set read only .length");return b.length=y}:function(b,y){return b.length=y}},54602:function(T,r,n){"use strict";var e=n(67250);T.exports=e([].slice)},90274:function(T,r,n){"use strict";var e=n(54602),a=Math.floor,t=function o(f,b){var y=f.length;if(y<8)for(var B=1,k,C;B0;)f[C]=f[--C];C!==B++&&(f[C]=k)}else for(var l=a(y/2),c=o(e(f,0,l),b),m=o(e(f,l),b),d=c.length,u=m.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(w){return!!I(this,w)}return L}()}),t(g,N?{get:function(){function L(w){var A=I(this,w);return A&&A.value}return L}(),set:function(){function L(w,A){return S(this,w===0?0:w,A)}return L}()}:{add:function(){function L(w){return S(this,w=w===0?0:w,w)}return L}()}),l&&a(g,"size",{configurable:!0,get:function(){function L(){return V(this).size}return L}()}),p}return s}(),setStrong:function(){function s(i,h,N){var v=h+" Iterator",p=u(h),g=u(v);B(i,h,function(V,S){d(this,{type:v,target:V,state:p(V),kind:S,last:void 0})},function(){for(var V=g(this),S=V.kind,I=V.last;I&&I.removed;)I=I.previous;return!V.target||!(V.last=I=I?I.next:V.state.first)?(V.target=void 0,k(void 0,!0)):k(S==="keys"?I.key:S==="values"?I.value:[I.key,I.value],!1)},N?"entries":"values",!N,!0),C(h)}return s}()}},39895:function(T,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),f=n(30365),b=n(42871),y=n(77568),B=n(49450),k=n(22603),C=n(45299),l=n(5419),c=l.set,m=l.getterFor,d=k.find,u=k.findIndex,s=e([].splice),i=0,h=function(g){return g.frozen||(g.frozen=new N)},N=function(){this.entries=[]},v=function(g,V){return d(g.entries,function(S){return S[0]===V})};N.prototype={get:function(){function p(g){var V=v(this,g);if(V)return V[1]}return p}(),has:function(){function p(g){return!!v(this,g)}return p}(),set:function(){function p(g,V){var S=v(this,g);S?S[1]=V:this.entries.push([g,V])}return p}(),delete:function(){function p(g){var V=u(this.entries,function(S){return S[0]===g});return~V&&s(this.entries,V,1),!!~V}return p}()},T.exports={getConstructor:function(){function p(g,V,S,I){var L=g(function(E,M){o(E,w),c(E,{type:V,id:i++,frozen:void 0}),b(M)||B(M,E[I],{that:E,AS_ENTRIES:S})}),w=L.prototype,A=m(V),x=function(){function E(M,j,P){var O=A(M),D=t(f(j),!0);return D===!0?h(O).set(j,P):D[O.id]=P,M}return E}();return a(w,{delete:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).delete(M):P&&C(P,j.id)&&delete P[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).has(M):P&&C(P,j.id)}return E}()}),a(w,S?{get:function(){function E(M){var j=A(this);if(y(M)){var P=t(M);return P===!0?h(j).get(M):P?P[j.id]:void 0}}return E}(),set:function(){function E(M,j){return x(this,M,j)}return E}()}:{add:function(){function E(M){return x(this,M,!0)}return E}()}),L}return p}()}},45150:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(67250),o=n(41314),f=n(55938),b=n(81969),y=n(49450),B=n(60077),k=n(55747),C=n(42871),l=n(77568),c=n(40033),m=n(92490),d=n(84925),u=n(5781);T.exports=function(s,i,h){var N=s.indexOf("Map")!==-1,v=s.indexOf("Weak")!==-1,p=N?"set":"add",g=a[s],V=g&&g.prototype,S=g,I={},L=function(O){var D=t(V[O]);f(V,O,O==="add"?function(){function F(W){return D(this,W===0?0:W),this}return F}():O==="delete"?function(F){return v&&!l(F)?!1:D(this,F===0?0:F)}:O==="get"?function(){function F(W){return v&&!l(W)?void 0:D(this,W===0?0:W)}return F}():O==="has"?function(){function F(W){return v&&!l(W)?!1:D(this,W===0?0:W)}return F}():function(){function F(W,U){return D(this,W===0?0:W,U),this}return F}())},w=o(s,!k(g)||!(v||V.forEach&&!c(function(){new g().entries().next()})));if(w)S=h.getConstructor(i,s,N,p),b.enable();else if(o(s,!0)){var A=new S,x=A[p](v?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=m(function(P){new g(P)}),j=!v&&c(function(){for(var P=new g,O=5;O--;)P[p](O,O);return!P.has(-0)});M||(S=i(function(P,O){B(P,V);var D=u(new g,P,S);return C(O)||y(O,D[p],{that:D,AS_ENTRIES:N}),D}),S.prototype=V,V.constructor=S),(E||j)&&(L("delete"),L("has"),N&&L("get")),(j||x)&&L(p),v&&V.clear&&delete V.clear}return I[s]=S,e({global:!0,constructor:!0,forced:S!==g},I),d(S,s),v||h.setStrong(S,s,N),S}},5774:function(T,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);T.exports=function(f,b,y){for(var B=a(b),k=o.f,C=t.f,l=0;l"+C+""+y+">"}},5959:function(T){"use strict";T.exports=function(r,n){return{value:r,done:n}}},37909:function(T,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);T.exports=e?function(o,f,b){return a.f(o,f,t(1,b))}:function(o,f,b){return o[f]=b,o}},87458:function(T){"use strict";T.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(T,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);T.exports=function(o,f,b){e?a.f(o,f,t(0,b)):o[f]=b}},67206:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,f=isFinite,b=Math.abs,y=Date.prototype,B=y.toISOString,k=e(y.getTime),C=e(y.getUTCDate),l=e(y.getUTCFullYear),c=e(y.getUTCHours),m=e(y.getUTCMilliseconds),d=e(y.getUTCMinutes),u=e(y.getUTCMonth),s=e(y.getUTCSeconds);T.exports=a(function(){return B.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){B.call(new Date(NaN))})?function(){function i(){if(!f(k(this)))throw new o("Invalid time value");var h=this,N=l(h),v=m(h),p=N<0?"-":N>9999?"+":"";return p+t(b(N),p?6:4,0)+"-"+t(u(h)+1,2,0)+"-"+t(C(h),2,0)+"T"+t(c(h),2,0)+":"+t(d(h),2,0)+":"+t(s(h),2,0)+"."+t(v,3,0)+"Z"}return i}():B},10886:function(T,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;T.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(T,r,n){"use strict";var e=n(20001),a=n(74595);T.exports=function(t,o,f){return f.get&&e(f.get,o,{getter:!0}),f.set&&e(f.set,o,{setter:!0}),a.f(t,o,f)}},55938:function(T,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);T.exports=function(f,b,y,B){B||(B={});var k=B.enumerable,C=B.name!==void 0?B.name:b;if(e(y)&&t(y,C,B),B.global)k?f[b]=y:o(b,y);else{try{B.unsafe?f[b]&&(k=!0):delete f[b]}catch(l){}k?f[b]=y:a.f(f,b,{value:y,enumerable:!1,configurable:!B.nonConfigurable,writable:!B.nonWritable})}return f}},30145:function(T,r,n){"use strict";var e=n(55938);T.exports=function(a,t,o){for(var f in t)e(a,f,t[f],o);return a}},18231:function(T,r,n){"use strict";var e=n(74685),a=Object.defineProperty;T.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(f){e[t]=o}return o}},95108:function(T,r,n){"use strict";var e=n(89393),a=TypeError;T.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(T,r,n){"use strict";var e=n(74685),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);T.exports=function(f){return o?t.createElement(f):{}}},21291:function(T){"use strict";var r=TypeError,n=9007199254740991;T.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},652:function(T,r,n){"use strict";var e=n(63318),a=e.match(/firefox\/(\d+)/i);T.exports=!!a&&+a[1]},8180:function(T,r,n){"use strict";var e=n(73730),a=n(81702);T.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},49197:function(T){"use strict";T.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},73730:function(T){"use strict";T.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},19228:function(T,r,n){"use strict";var e=n(63318);T.exports=/MSIE|Trident/.test(e)},51802:function(T,r,n){"use strict";var e=n(63318);T.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},83433:function(T,r,n){"use strict";var e=n(63318);T.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81702:function(T,r,n){"use strict";var e=n(74685),a=n(7462);T.exports=a(e.process)==="process"},63383:function(T,r,n){"use strict";var e=n(63318);T.exports=/web0s(?!.*chrome)/i.test(e)},63318:function(T){"use strict";T.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},5026:function(T,r,n){"use strict";var e=n(74685),a=n(63318),t=e.process,o=e.Deno,f=t&&t.versions||o&&o.version,b=f&&f.v8,y,B;b&&(y=b.split("."),B=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!B&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(B=+y[1]))),T.exports=B},9342:function(T,r,n){"use strict";var e=n(63318),a=e.match(/AppleWebKit\/(\d+)\./);T.exports=!!a&&+a[1]},89453:function(T){"use strict";T.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},63964:function(T,r,n){"use strict";var e=n(74685),a=n(27193).f,t=n(37909),o=n(55938),f=n(18231),b=n(5774),y=n(41314);T.exports=function(B,k){var C=B.target,l=B.global,c=B.stat,m,d,u,s,i,h;if(l?d=e:c?d=e[C]||f(C,{}):d=e[C]&&e[C].prototype,d)for(u in k){if(i=k[u],B.dontCallGetSet?(h=a(d,u),s=h&&h.value):s=d[u],m=y(l?u:C+(c?".":"#")+u,B.forced),!m&&s!==void 0){if(typeof i==typeof s)continue;b(i,s)}(B.sham||s&&s.sham)&&t(i,"sham",!0),o(d,u,i,B)}}},40033:function(T){"use strict";T.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(T,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),f=n(24697),b=n(37909),y=f("species"),B=RegExp.prototype;T.exports=function(k,C,l,c){var m=f(k),d=!o(function(){var h={};return h[m]=function(){return 7},""[k](h)!==7}),u=d&&!o(function(){var h=!1,N=/a/;return k==="split"&&(N={},N.constructor={},N.constructor[y]=function(){return N},N.flags="",N[m]=/./[m]),N.exec=function(){return h=!0,null},N[m](""),!h});if(!d||!u||l){var s=/./[m],i=C(m,""[k],function(h,N,v,p,g){var V=N.exec;return V===t||V===B.exec?d&&!g?{done:!0,value:e(s,N,v,p)}:{done:!0,value:e(h,v,N,p)}:{done:!1}});a(String.prototype,k,i[0]),a(B,m,i[1])}c&&b(B[m],"sham",!0)}},65561:function(T,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),f=function b(y,B,k,C,l,c,m,d){for(var u=l,s=0,i=m?o(m,d):!1,h,N;s0&&e(h)?(N=a(h),u=b(y,B,h,N,u,c-1)-1):(t(u+1),y[u]=h),u++),s++;return u};T.exports=f},50730:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(T,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;T.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(T,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);T.exports=function(f,b){return a(f),b===void 0?f:t?o(f,b):function(){return f.apply(b,arguments)}}},55050:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(T,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),f=n(54602),b=n(55050),y=Function,B=e([].concat),k=e([].join),C={},l=function(m,d,u){if(!o(C,d)){for(var s=[],i=0;i]*>)/g,B=/\$([$&'`]|\d{1,2})/g;T.exports=function(k,C,l,c,m,d){var u=l+k.length,s=c.length,i=B;return m!==void 0&&(m=a(m),i=y),f(d,i,function(h,N){var v;switch(o(N,0)){case"$":return"$";case"&":return k;case"`":return b(C,0,l);case"'":return b(C,u);case"<":v=m[b(N,1,-1)];break;default:var p=+N;if(p===0)return h;if(p>s){var g=t(p/10);return g===0?h:g<=s?c[g-1]===void 0?o(N,1):c[g-1]+o(N,1):h}v=c[p-1]}return v===void 0?"":v})}},74685:function(T,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};T.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(T,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);T.exports=Object.hasOwn||function(){function o(f,b){return t(a(f),b)}return o}()},79195:function(T){"use strict";T.exports={}},72259:function(T){"use strict";T.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(T,r,n){"use strict";var e=n(4009);T.exports=e("document","documentElement")},36223:function(T,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);T.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(T){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,f=function(B,k,C){var l=r(C),c=C*8-k-1,m=(1<>1,u=k===23?e(2,-24)-e(2,-77):0,s=B<0||B===0&&1/B<0?1:0,i=0,h,N,v;for(B=n(B),B!==B||B===1/0?(N=B!==B?1:0,h=m):(h=a(t(B)/o),v=e(2,-h),B*v<1&&(h--,v*=2),h+d>=1?B+=u/v:B+=u*e(2,1-d),B*v>=2&&(h++,v/=2),h+d>=m?(N=0,h=m):h+d>=1?(N=(B*v-1)*e(2,k),h+=d):(N=B*e(2,d-1)*e(2,k),h=0));k>=8;)l[i++]=N&255,N/=256,k-=8;for(h=h<0;)l[i++]=h&255,h/=256,c-=8;return l[--i]|=s*128,l},b=function(B,k){var C=B.length,l=C*8-k-1,c=(1<>1,d=l-7,u=C-1,s=B[u--],i=s&127,h;for(s>>=7;d>0;)i=i*256+B[u--],d-=8;for(h=i&(1<<-d)-1,i>>=-d,d+=k;d>0;)h=h*256+B[u--],d-=8;if(i===0)i=1-m;else{if(i===c)return h?NaN:s?-1/0:1/0;h+=e(2,k),i-=m}return(s?-1:1)*h*e(2,i-k)};T.exports={pack:f,unpack:b}},37457:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,f=e("".split);T.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(b){return t(b)==="String"?f(b,""):o(b)}:o},5781:function(T,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);T.exports=function(o,f,b){var y,B;return t&&e(y=f.constructor)&&y!==b&&a(B=y.prototype)&&B!==b.prototype&&t(o,B),o}},40492:function(T,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(f){return o(f)}),T.exports=t.inspectSource},81969:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),f=n(45299),b=n(74595).f,y=n(37310),B=n(81644),k=n(81834),C=n(16738),l=n(50730),c=!1,m=C("meta"),d=0,u=function(g){b(g,m,{value:{objectID:"O"+d++,weakData:{}}})},s=function(g,V){if(!o(g))return typeof g=="symbol"?g:(typeof g=="string"?"S":"P")+g;if(!f(g,m)){if(!k(g))return"F";if(!V)return"E";u(g)}return g[m].objectID},i=function(g,V){if(!f(g,m)){if(!k(g))return!0;if(!V)return!1;u(g)}return g[m].weakData},h=function(g){return l&&c&&k(g)&&!f(g,m)&&u(g),g},N=function(){v.enable=function(){},c=!0;var g=y.f,V=a([].splice),S={};S[m]=1,g(S).length&&(y.f=function(I){for(var L=g(I),w=0,A=L.length;wI;I++)if(w=M(d[I]),w&&y(m,w))return w;return new c(!1)}V=B(d,S)}for(A=N?d.next:V.next;!(x=a(A,V)).done;){try{w=M(x.value)}catch(j){C(V,"throw",j)}if(typeof w=="object"&&w&&y(m,w))return w}return new c(!1)}},28649:function(T,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);T.exports=function(o,f,b){var y,B;a(o);try{if(y=t(o,"return"),!y){if(f==="throw")throw b;return b}y=e(y,o)}catch(k){B=!0,y=k}if(f==="throw")throw b;if(B)throw y;return a(y),b}},5656:function(T,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),f=n(83967),b=function(){return this};T.exports=function(y,B,k,C){var l=B+" Iterator";return y.prototype=a(e,{next:t(+!C,k)}),o(y,l,!1,!0),f[l]=b,y}},65574:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),f=n(55747),b=n(5656),y=n(36917),B=n(76649),k=n(84925),C=n(37909),l=n(55938),c=n(24697),m=n(83967),d=n(67635),u=o.PROPER,s=o.CONFIGURABLE,i=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,N=c("iterator"),v="keys",p="values",g="entries",V=function(){return this};T.exports=function(S,I,L,w,A,x,E){b(L,I,w);var M=function(Q){if(Q===A&&F)return F;if(!h&&Q&&Q in O)return O[Q];switch(Q){case v:return function(){function J(){return new L(this,Q)}return J}();case p:return function(){function J(){return new L(this,Q)}return J}();case g:return function(){function J(){return new L(this,Q)}return J}()}return function(){return new L(this)}},j=I+" Iterator",P=!1,O=S.prototype,D=O[N]||O["@@iterator"]||A&&O[A],F=!h&&D||M(A),W=I==="Array"&&O.entries||D,U,$,K;if(W&&(U=y(W.call(new S)),U!==Object.prototype&&U.next&&(!t&&y(U)!==i&&(B?B(U,i):f(U[N])||l(U,N,V)),k(U,j,!0,!0),t&&(m[j]=V))),u&&A===p&&D&&D.name!==p&&(!t&&s?C(O,"name",p):(P=!0,F=function(){function G(){return a(D,this)}return G}())),A)if($={values:M(p),keys:x?F:M(v),entries:M(g)},E)for(K in $)(h||P||!(K in O))&&l(O,K,$[K]);else e({target:I,proto:!0,forced:h||P},$);return(!t||E)&&O[N]!==F&&l(O,N,F,{name:A}),m[I]=F,$}},67635:function(T,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),f=n(36917),b=n(55938),y=n(24697),B=n(4493),k=y("iterator"),C=!1,l,c,m;[].keys&&(m=[].keys(),"next"in m?(c=f(f(m)),c!==Object.prototype&&(l=c)):C=!0);var d=!t(l)||e(function(){var u={};return l[k].call(u)!==u});d?l={}:B&&(l=o(l)),a(l[k])||b(l,k,function(){return this}),T.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:C}},83967:function(T){"use strict";T.exports={}},24760:function(T,r,n){"use strict";var e=n(10188);T.exports=function(a){return e(a.length)}},20001:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),f=n(58310),b=n(70520).CONFIGURABLE,y=n(40492),B=n(5419),k=B.enforce,C=B.get,l=String,c=Object.defineProperty,m=e("".slice),d=e("".replace),u=e([].join),s=f&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),h=T.exports=function(N,v,p){m(l(v),0,7)==="Symbol("&&(v="["+d(l(v),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(v="get "+v),p&&p.setter&&(v="set "+v),(!o(N,"name")||b&&N.name!==v)&&(f?c(N,"name",{value:v,configurable:!0}):N.name=v),s&&p&&o(p,"arity")&&N.length!==p.arity&&c(N,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?f&&c(N,"prototype",{writable:!1}):N.prototype&&(N.prototype=void 0)}catch(V){}var g=k(N);return o(g,"source")||(g.source=u(i,typeof v=="string"?v:"")),N};Function.prototype.toString=h(function(){function N(){return t(this)&&C(this).source||y(this)}return N}(),"toString")},82040:function(T){"use strict";var r=Math.expm1,n=Math.exp;T.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(T,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,f=function(y){return y+o-o};T.exports=function(b,y,B,k){var C=+b,l=a(C),c=e(C);if(lB||d!==d?c*(1/0):c*d}},95867:function(T,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;T.exports=Math.fround||function(){function f(b){return e(b,a,t,o)}return f}()},75002:function(T){"use strict";var r=Math.log,n=Math.LOG10E;T.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(T){"use strict";var r=Math.log;T.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(T){"use strict";T.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(T){"use strict";var r=Math.ceil,n=Math.floor;T.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(T,r,n){"use strict";var e=n(74685),a=n(44915),t=n(75754),o=n(60375).set,f=n(9547),b=n(83433),y=n(51802),B=n(63383),k=n(81702),C=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,m=e.Promise,d=a("queueMicrotask"),u,s,i,h,N;if(!d){var v=new f,p=function(){var V,S;for(k&&(V=c.domain)&&V.exit();S=v.get();)try{S()}catch(I){throw v.head&&u(),I}V&&V.enter()};!b&&!k&&!B&&C&&l?(s=!0,i=l.createTextNode(""),new C(p).observe(i,{characterData:!0}),u=function(){i.data=s=!s}):!y&&m&&m.resolve?(h=m.resolve(void 0),h.constructor=m,N=t(h.then,h),u=function(){N(p)}):k?u=function(){c.nextTick(p)}:(o=t(o,e),u=function(){o(p)}),d=function(V){v.head||u(),v.add(V)}}T.exports=d},81837:function(T,r,n){"use strict";var e=n(10320),a=TypeError,t=function(f){var b,y;this.promise=new f(function(B,k){if(b!==void 0||y!==void 0)throw new a("Bad Promise constructor");b=B,y=k}),this.resolve=e(b),this.reject=e(y)};T.exports.f=function(o){return new t(o)}},86213:function(T,r,n){"use strict";var e=n(72586),a=TypeError;T.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(T,r,n){"use strict";var e=n(74685),a=e.isFinite;T.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,b=n(4198),y=t("".charAt),B=e.parseFloat,k=e.Symbol,C=k&&k.iterator,l=1/B(b+"-0")!==-1/0||C&&!a(function(){B(Object(C))});T.exports=l?function(){function c(m){var d=f(o(m)),u=B(d);return u===0&&y(d,0)==="-"?-0:u}return c}():B},13693:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),f=n(92648).trim,b=n(4198),y=e.parseInt,B=e.Symbol,k=B&&B.iterator,C=/^[+-]?0x/i,l=t(C.exec),c=y(b+"08")!==8||y(b+"0x16")!==22||k&&!a(function(){y(Object(k))});T.exports=c?function(){function m(d,u){var s=f(o(d));return y(s,u>>>0||(l(C,s)?16:10))}return m}():y},41143:function(T,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),f=n(18450),b=n(89235),y=n(12867),B=n(46771),k=n(37457),C=Object.assign,l=Object.defineProperty,c=a([].concat);T.exports=!C||o(function(){if(e&&C({b:1},C(l({},"a",{enumerable:!0,get:function(){function i(){l(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var m={},d={},u=Symbol("assign detection"),s="abcdefghijklmnopqrst";return m[u]=7,s.split("").forEach(function(i){d[i]=i}),C({},m)[u]!==7||f(C({},d)).join("")!==s})?function(){function m(d,u){for(var s=B(d),i=arguments.length,h=1,N=b.f,v=y.f;i>h;)for(var p=k(arguments[h++]),g=N?c(f(p),N(p)):f(p),V=g.length,S=0,I;V>S;)I=g[S++],(!e||t(v,p,I))&&(s[I]=p[I]);return s}return m}():C},80674:function(T,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),f=n(5315),b=n(12689),y=n(19417),B=">",k="<",C="prototype",l="script",c=y("IE_PROTO"),m=function(){},d=function(v){return k+l+B+v+k+"/"+l+B},u=function(v){v.write(d("")),v.close();var p=v.parentWindow.Object;return v=null,p},s=function(){var v=b("iframe"),p="java"+l+":",g;return v.style.display="none",f.appendChild(v),v.src=String(p),g=v.contentWindow.document,g.open(),g.write(d("document.F=Object")),g.close(),g.F},i,h=function(){try{i=new ActiveXObject("htmlfile")}catch(p){}h=typeof document!="undefined"?document.domain&&i?u(i):s():u(i);for(var v=t.length;v--;)delete h[C][t[v]];return h()};o[c]=!0,T.exports=Object.create||function(){function N(v,p){var g;return v!==null?(m[C]=e(v),g=new m,m[C]=null,g[c]=v):g=h(),p===void 0?g:a.f(g,p)}return N}()},24239:function(T,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),f=n(57591),b=n(18450);r.f=e&&!a?Object.defineProperties:function(){function y(B,k){o(B);for(var C=f(k),l=b(k),c=l.length,m=0,d;c>m;)t.f(B,d=l[m++],C[d]);return B}return y}()},74595:function(T,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),f=n(767),b=TypeError,y=Object.defineProperty,B=Object.getOwnPropertyDescriptor,k="enumerable",C="configurable",l="writable";r.f=e?t?function(){function c(m,d,u){if(o(m),d=f(d),o(u),typeof m=="function"&&d==="prototype"&&"value"in u&&l in u&&!u[l]){var s=B(m,d);s&&s[l]&&(m[d]=u.value,u={configurable:C in u?u[C]:s[C],enumerable:k in u?u[k]:s[k],writable:!1})}return y(m,d,u)}return c}():y:function(){function c(m,d,u){if(o(m),d=f(d),o(u),a)try{return y(m,d,u)}catch(s){}if("get"in u||"set"in u)throw new b("Accessors not supported");return"value"in u&&(m[d]=u.value),m}return c}()},27193:function(T,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),f=n(57591),b=n(767),y=n(45299),B=n(36223),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function C(l,c){if(l=f(l),c=b(c),B)try{return k(l,c)}catch(m){}if(y(l,c))return o(!a(t.f,l,c),l[c])}return C}()},81644:function(T,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],b=function(B){try{return t(B)}catch(k){return o(f)}};T.exports.f=function(){function y(B){return f&&e(B)==="Window"?b(B):t(a(B))}return y}()},37310:function(T,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(f){return e(f,t)}return o}()},89235:function(T,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(T,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),f=n(9225),b=o("IE_PROTO"),y=Object,B=y.prototype;T.exports=f?y.getPrototypeOf:function(k){var C=t(k);if(e(C,b))return C[b];var l=C.constructor;return a(l)&&C instanceof l?l.prototype:C instanceof y?B:null}},81834:function(T,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),f=Object.isExtensible,b=e(function(){f(1)});T.exports=b||o?function(){function y(B){return!a(B)||o&&t(B)==="ArrayBuffer"?!1:f?f(B):!0}return y}():f},21287:function(T,r,n){"use strict";var e=n(67250);T.exports=e({}.isPrototypeOf)},53726:function(T,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,f=n(79195),b=e([].push);T.exports=function(y,B){var k=t(y),C=0,l=[],c;for(c in k)!a(f,c)&&a(k,c)&&b(l,c);for(;B.length>C;)a(k,c=B[C++])&&(~o(l,c)||b(l,c));return l}},18450:function(T,r,n){"use strict";var e=n(53726),a=n(89453);T.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(T,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var f=e(this,o);return!!f&&f.enumerable}return t}():n},57377:function(T,r,n){"use strict";var e=n(4493),a=n(74685),t=n(40033),o=n(9342);T.exports=e||!t(function(){if(!(o&&o<535)){var f=Math.random();__defineSetter__.call(null,f,function(){}),delete a[f]}})},76649:function(T,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);T.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,b={},y;try{y=e(Object.prototype,"__proto__","set"),y(b,[]),f=b instanceof Array}catch(B){}return function(){function B(k,C){return t(k),o(C),a(k)&&(f?y(k,C):k.__proto__=C),k}return B}()}():void 0)},70915:function(T,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),f=n(18450),b=n(57591),y=n(12867).f,B=t(y),k=t([].push),C=e&&a(function(){var c=Object.create(null);return c[2]=2,!B(c,2)}),l=function(m){return function(d){for(var u=b(d),s=f(u),i=C&&o(u)===null,h=s.length,N=0,v=[],p;h>N;)p=s[N++],(!e||(i?p in u:B(u,p)))&&k(v,m?[p,u[p]]:u[p]);return v}};T.exports={entries:l(!0),values:l(!1)}},2509:function(T,r,n){"use strict";var e=n(2650),a=n(2281);T.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(T,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;T.exports=function(f,b){var y,B;if(b==="string"&&a(y=f.toString)&&!t(B=e(y,f))||a(y=f.valueOf)&&!t(B=e(y,f))||b!=="string"&&a(y=f.toString)&&!t(B=e(y,f)))return B;throw new o("Can't convert object to primitive value")}},97921:function(T,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),f=n(30365),b=a([].concat);T.exports=e("Reflect","ownKeys")||function(){function y(B){var k=t.f(f(B)),C=o.f;return C?b(k,C(B)):k}return y}()},61765:function(T,r,n){"use strict";var e=n(74685);T.exports=e},10729:function(T){"use strict";T.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(T,r,n){"use strict";var e=n(74685),a=n(67512),t=n(55747),o=n(41314),f=n(40492),b=n(24697),y=n(8180),B=n(73730),k=n(4493),C=n(5026),l=a&&a.prototype,c=b("species"),m=!1,d=t(e.PromiseRejectionEvent),u=o("Promise",function(){var s=f(a),i=s!==String(a);if(!i&&C===66||k&&!(l.catch&&l.finally))return!0;if(!C||C<51||!/native code/.test(s)){var h=new a(function(p){p(1)}),N=function(g){g(function(){},function(){})},v=h.constructor={};if(v[c]=N,m=h.then(function(){})instanceof N,!m)return!0}return!i&&(y||B)&&!d});T.exports={CONSTRUCTOR:u,REJECTION_EVENT:d,SUBCLASSING:m}},67512:function(T,r,n){"use strict";var e=n(74685);T.exports=e.Promise},66628:function(T,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);T.exports=function(o,f){if(e(o),a(f)&&f.constructor===o)return f;var b=t.f(o),y=b.resolve;return y(f),b.promise}},48199:function(T,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;T.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(T,r,n){"use strict";var e=n(74595).f;T.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function f(){return t[o]}return f}(),set:function(){function f(b){t[o]=b}return f}()})}},9547:function(T){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},T.exports=r},28340:function(T,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),f=n(14489),b=TypeError;T.exports=function(y,B){var k=y.exec;if(t(k)){var C=e(k,y,B);return C!==null&&a(C),C}if(o(y)==="RegExp")return e(f,y,B);throw new b("RegExp#exec called on incompatible receiver")}},14489:function(T,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),f=n(62115),b=n(16639),y=n(80674),B=n(5419).get,k=n(39173),C=n(35688),l=b("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,m=c,d=a("".charAt),u=a("".indexOf),s=a("".replace),i=a("".slice),h=function(){var g=/a/,V=/b*/g;return e(c,g,"a"),e(c,V,"a"),g.lastIndex!==0||V.lastIndex!==0}(),N=f.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,p=h||v||N||k||C;p&&(m=function(){function g(V){var S=this,I=B(S),L=t(V),w=I.raw,A,x,E,M,j,P,O;if(w)return w.lastIndex=S.lastIndex,A=e(m,w,L),S.lastIndex=w.lastIndex,A;var D=I.groups,F=N&&S.sticky,W=e(o,S),U=S.source,$=0,K=L;if(F&&(W=s(W,"y",""),u(W,"g")===-1&&(W+="g"),K=i(L,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&d(L,S.lastIndex-1)!=="\n")&&(U="(?: "+U+")",K=" "+K,$++),x=new RegExp("^(?:"+U+")",W)),v&&(x=new RegExp("^"+U+"$(?!\\s)",W)),h&&(E=S.lastIndex),M=e(c,F?x:S,K),F?M?(M.input=i(M.input,$),M[0]=i(M[0],$),M.index=S.lastIndex,S.lastIndex+=M[0].length):S.lastIndex=0:h&&M&&(S.lastIndex=S.global?M.index+M[0].length:E),v&&M&&M.length>1&&e(l,M[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(T,r,n){"use strict";var e=n(42871),a=TypeError;T.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(T,r,n){"use strict";var e=n(74685),a=n(58310),t=Object.getOwnPropertyDescriptor;T.exports=function(o){if(!a)return e[o];var f=t(e,o);return f&&f.value}},5700:function(T){"use strict";T.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(55747),o=n(49197),f=n(63318),b=n(54602),y=n(24986),B=e.Function,k=/MSIE .\./.test(f)||o&&function(){var C=e.Bun.version.split(".");return C.length<3||C[0]==="0"&&(C[1]<3||C[1]==="3"&&C[2]==="0")}();T.exports=function(C,l){var c=l?2:1;return k?function(m,d){var u=y(arguments.length,1)>c,s=t(m)?m:B(m),i=u?b(arguments,c):[],h=u?function(){a(s,this,i)}:s;return l?C(h,d):C(h)}:C}},58491:function(T,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),f=t("species");T.exports=function(b){var y=e(b);o&&y&&!y[f]&&a(y,f,{configurable:!0,get:function(){function B(){return this}return B}()})}},84925:function(T,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");T.exports=function(f,b,y){f&&!y&&(f=f.prototype),f&&!a(f,o)&&e(f,o,{configurable:!0,value:b})}},19417:function(T,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");T.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(T,r,n){"use strict";var e=n(4493),a=n(74685),t=n(18231),o="__core-js_shared__",f=T.exports=a[o]||t(o,{});(f.versions||(f.versions=[])).push({version:"3.37.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(T,r,n){"use strict";var e=n(40095);T.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(T,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),f=o("species");T.exports=function(b,y){var B=e(b).constructor,k;return B===void 0||t(k=e(B)[f])?y:a(k)}},88539:function(T,r,n){"use strict";var e=n(40033);T.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(T,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),f=e("".charAt),b=e("".charCodeAt),y=e("".slice),B=function(C){return function(l,c){var m=t(o(l)),d=a(c),u=m.length,s,i;return d<0||d>=u?C?"":void 0:(s=b(m,d),s<55296||s>56319||d+1===u||(i=b(m,d+1))<56320||i>57343?C?f(m,d):s:C?y(m,d,d+2):(s-55296<<10)+(i-56320)+65536)}};T.exports={codeAt:B(!1),charAt:B(!0)}},34125:function(T,r,n){"use strict";var e=n(63318);T.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(T,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),f=n(16952),b=e(o),y=e("".slice),B=Math.ceil,k=function(l){return function(c,m,d){var u=t(f(c)),s=a(m),i=u.length,h=d===void 0?" ":t(d),N,v;return s<=i||h===""?u:(N=s-i,v=b(h,B(N/h.length)),v.length>N&&(v=y(v,0,N)),l?u+v:v+u)}};T.exports={start:k(!1),end:k(!0)}},62443:function(T,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;T.exports=function(){function f(b){var y=a(t(this)),B="",k=e(b);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(B+=y);return B}return f}()},43476:function(T,r,n){"use strict";var e=n(92648).end,a=n(90012);T.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(T,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";T.exports=function(f){return a(function(){return!!t[f]()||o[f]()!==o||e&&t[f].name!==f})}},43885:function(T,r,n){"use strict";var e=n(92648).start,a=n(90012);T.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(T,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),f=e("".replace),b=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),B=function(C){return function(l){var c=t(a(l));return C&1&&(c=f(c,b,"")),C&2&&(c=f(c,y,"$1")),c}};T.exports={start:B(1),end:B(2),trim:B(3)}},52357:function(T,r,n){"use strict";var e=n(5026),a=n(40033),t=n(74685),o=t.String;T.exports=!!Object.getOwnPropertySymbols&&!a(function(){var f=Symbol("symbol detection");return!o(f)||!(Object(f)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(T,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);T.exports=function(){var f=a("Symbol"),b=f&&f.prototype,y=b&&b.valueOf,B=t("toPrimitive");b&&!b[B]&&o(b,B,function(k){return e(y,this)},{arity:1})}},66570:function(T,r,n){"use strict";var e=n(52357);T.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(75754),o=n(55747),f=n(45299),b=n(40033),y=n(5315),B=n(54602),k=n(12689),C=n(24986),l=n(83433),c=n(81702),m=e.setImmediate,d=e.clearImmediate,u=e.process,s=e.Dispatch,i=e.Function,h=e.MessageChannel,N=e.String,v=0,p={},g="onreadystatechange",V,S,I,L;b(function(){V=e.location});var w=function(j){if(f(p,j)){var P=p[j];delete p[j],P()}},A=function(j){return function(){w(j)}},x=function(j){w(j.data)},E=function(j){e.postMessage(N(j),V.protocol+"//"+V.host)};(!m||!d)&&(m=function(){function M(j){C(arguments.length,1);var P=o(j)?j:i(j),O=B(arguments,1);return p[++v]=function(){a(P,void 0,O)},S(v),v}return M}(),d=function(){function M(j){delete p[j]}return M}(),c?S=function(j){u.nextTick(A(j))}:s&&s.now?S=function(j){s.now(A(j))}:h&&!l?(I=new h,L=I.port2,I.port1.onmessage=x,S=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&V&&V.protocol!=="file:"&&!b(E)?(S=E,e.addEventListener("message",x,!1)):g in k("script")?S=function(j){y.appendChild(k("script"))[g]=function(){y.removeChild(this),w(j)}}:S=function(j){setTimeout(A(j),0)}),T.exports={set:m,clear:d}},46438:function(T,r,n){"use strict";var e=n(67250);T.exports=e(1 .valueOf)},13912:function(T,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;T.exports=function(o,f){var b=e(o);return b<0?a(b+f,0):t(b,f)}},61484:function(T,r,n){"use strict";var e=n(24843),a=TypeError;T.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(T,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;T.exports=function(o){if(o===void 0)return 0;var f=e(o),b=a(f);if(f!==b)throw new t("Wrong length or index");return b}},57591:function(T,r,n){"use strict";var e=n(37457),a=n(16952);T.exports=function(t){return e(a(t))}},61365:function(T,r,n){"use strict";var e=n(21119);T.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(T,r,n){"use strict";var e=n(61365),a=Math.min;T.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(T,r,n){"use strict";var e=n(16952),a=Object;T.exports=function(t){return a(e(t))}},56043:function(T,r,n){"use strict";var e=n(16140),a=RangeError;T.exports=function(t,o){var f=e(t);if(f%o)throw new a("Wrong offset");return f}},16140:function(T,r,n){"use strict";var e=n(61365),a=RangeError;T.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(T,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),f=n(13396),b=n(24697),y=TypeError,B=b("toPrimitive");T.exports=function(k,C){if(!a(k)||t(k))return k;var l=o(k,B),c;if(l){if(C===void 0&&(C="default"),c=e(l,k,C),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return C===void 0&&(C="number"),f(k,C)}},767:function(T,r,n){"use strict";var e=n(24843),a=n(71399);T.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(T,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",T.exports=String(t)==="[object z]"},12605:function(T,r,n){"use strict";var e=n(2281),a=String;T.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(T){"use strict";var r=Math.round;T.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(T){"use strict";var r=String;T.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(58310),f=n(86563),b=n(4246),y=n(37336),B=n(60077),k=n(87458),C=n(37909),l=n(5841),c=n(10188),m=n(43806),d=n(56043),u=n(15409),s=n(767),i=n(45299),h=n(2281),N=n(77568),v=n(71399),p=n(80674),g=n(21287),V=n(76649),S=n(37310).f,I=n(3805),L=n(22603).forEach,w=n(58491),A=n(73936),x=n(74595),E=n(27193),M=n(78008),j=n(5419),P=n(5781),O=j.get,D=j.set,F=j.enforce,W=x.f,U=E.f,$=a.RangeError,K=y.ArrayBuffer,G=K.prototype,Q=y.DataView,J=b.NATIVE_ARRAY_BUFFER_VIEWS,ue=b.TYPED_ARRAY_TAG,ie=b.TypedArray,he=b.TypedArrayPrototype,te=b.isTypedArray,q="BYTES_PER_ELEMENT",ne="Wrong length",le=function(Y,ve){A(Y,ve,{configurable:!0,get:function(){function pe(){return O(this)[ve]}return pe}()})},ee=function(Y){var ve;return g(G,Y)||(ve=h(Y))==="ArrayBuffer"||ve==="SharedArrayBuffer"},re=function(Y,ve){return te(Y)&&!v(ve)&&ve in Y&&l(+ve)&&ve>=0},oe=function(){function me(Y,ve){return ve=s(ve),re(Y,ve)?k(2,Y[ve]):U(Y,ve)}return me}(),fe=function(){function me(Y,ve,pe){return ve=s(ve),re(Y,ve)&&N(pe)&&i(pe,"value")&&!i(pe,"get")&&!i(pe,"set")&&!pe.configurable&&(!i(pe,"writable")||pe.writable)&&(!i(pe,"enumerable")||pe.enumerable)?(Y[ve]=pe.value,Y):W(Y,ve,pe)}return me}();o?(J||(E.f=oe,x.f=fe,le(he,"buffer"),le(he,"byteOffset"),le(he,"byteLength"),le(he,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:oe,defineProperty:fe}),T.exports=function(me,Y,ve){var pe=me.match(/\d+/)[0]/8,Ve=me+(ve?"Clamped":"")+"Array",Be="get"+me,be="set"+me,Le=a[Ve],we=Le,xe=we&&we.prototype,Re={},ze=function(ge,Se){var Pe=O(ge);return Pe.view[Be](Se*pe+Pe.byteOffset,!0)},ye=function(ge,Se,Pe){var je=O(ge);je.view[be](Se*pe+je.byteOffset,ve?u(Pe):Pe,!0)},de=function(ge,Se){W(ge,Se,{get:function(){function Pe(){return ze(this,Se)}return Pe}(),set:function(){function Pe(je){return ye(this,Se,je)}return Pe}(),enumerable:!0})};J?f&&(we=Y(function(ke,ge,Se,Pe){return B(ke,xe),P(function(){return N(ge)?ee(ge)?Pe!==void 0?new Le(ge,d(Se,pe),Pe):Se!==void 0?new Le(ge,d(Se,pe)):new Le(ge):te(ge)?M(we,ge):t(I,we,ge):new Le(m(ge))}(),ke,we)}),V&&V(we,ie),L(S(Le),function(ke){ke in we||C(we,ke,Le[ke])}),we.prototype=xe):(we=Y(function(ke,ge,Se,Pe){B(ke,xe);var je=0,Fe=0,He,We,Ue;if(!N(ge))Ue=m(ge),We=Ue*pe,He=new K(We);else if(ee(ge)){He=ge,Fe=d(Se,pe);var Xe=ge.byteLength;if(Pe===void 0){if(Xe%pe)throw new $(ne);if(We=Xe-Fe,We<0)throw new $(ne)}else if(We=c(Pe)*pe,We+Fe>Xe)throw new $(ne);Ue=We/pe}else return te(ge)?M(we,ge):t(I,we,ge);for(D(ke,{buffer:He,byteOffset:Fe,byteLength:We,length:Ue,view:new Q(He)});je1?arguments[1]:void 0,h=i!==void 0,N=y(u),v,p,g,V,S,I,L,w;if(N&&!B(N))for(L=b(u,N),w=L.next,u=[];!(I=a(w,L)).done;)u.push(I.value);for(h&&s>2&&(i=e(i,arguments[2])),p=f(u),g=new(C(d))(p),V=k(g),v=0;p>v;v++)S=h?i(u[v],v):u[v],g[v]=V?l(S):+S;return g}return c}()},31082:function(T,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;T.exports=function(f){return t(a(f,o(f)))}},16738:function(T,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);T.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+o(++a+t,36)}},1062:function(T,r,n){"use strict";var e=n(52357);T.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(T,r,n){"use strict";var e=n(58310),a=n(40033);T.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(T){"use strict";var r=TypeError;T.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[m]=!1,i.concat()[0]!==i}),u=function(h){if(!o(h))return!1;var N=h[m];return N!==void 0?!!N:t(h)},s=!d||!C("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(h){var N=f(this),v=k(N,0),p=0,g,V,S,I,L;for(g=-1,S=arguments.length;g1?arguments[1]:void 0)}return f}()})},68933:function(T,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(T,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function f(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}return f}()})},64094:function(T,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{findIndex:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),t(o)},13455:function(T,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",f=!0;o in[]&&Array(1)[o](function(){f=!1}),e({target:"Array",proto:!0,forced:f},{find:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),t(o)},32384:function(T,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),f=n(24760),b=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function y(B){var k=o(this),C=f(k),l;return t(B),l=b(k,0),l.length=a(l,k,k,C,0,1,B,arguments.length>1?arguments[1]:void 0),l}return y}()})},61915:function(T,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),f=n(61365),b=n(57823);e({target:"Array",proto:!0},{flat:function(){function y(){var B=arguments.length?arguments[0]:void 0,k=t(this),C=o(k),l=b(k,0);return l.length=a(l,k,k,C,0,B===void 0?1:f(B)),l}return y}()})},25579:function(T,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(T,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(f){Array.from(f)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(T,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),f=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:f},{includes:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),o("includes")},43894:function(T,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),f=a([].indexOf),b=!!f&&1/f([1],1,-0)<0,y=b||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function B(k){var C=arguments.length>1?arguments[1]:void 0;return b?f(this,k,C)||0:t(this,k,C)}return B}()})},99636:function(T,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(T,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),f=n(74595).f,b=n(65574),y=n(5959),B=n(4493),k=n(58310),C="Array Iterator",l=o.set,c=o.getterFor(C);T.exports=b(Array,"Array",function(d,u){l(this,{type:C,target:e(d),index:0,kind:u})},function(){var d=c(this),u=d.target,s=d.index++;if(!u||s>=u.length)return d.target=void 0,y(void 0,!0);switch(d.kind){case"keys":return y(s,!1);case"values":return y(u[s],!1)}return y([s,u[s]],!1)},"values");var m=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!B&&k&&m.name!=="values")try{f(m,"name",{value:"values"})}catch(d){}},94432:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),f=n(55528),b=a([].join),y=t!==Object,B=y||!f("join",",");e({target:"Array",proto:!0,forced:B},{join:function(){function k(C){return b(o(this),C===void 0?",":C)}return k}()})},24683:function(T,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(T,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function f(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}return f}()})},32089:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),f=Array,b=a(function(){function y(){}return!(f.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:b},{of:function(){function y(){for(var B=0,k=arguments.length,C=new(t(this)?this:f)(k);k>B;)o(C,B,arguments[B++]);return C.length=k,C}return y}()})},29645:function(T,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(5026),f=n(81702),b=!f&&o>79&&o<83,y=b||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function B(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return B}()})},60206:function(T,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(5026),f=n(81702),b=!f&&o>79&&o<83,y=b||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function B(k){var C=arguments.length;return a(this,k,C,C>1?arguments[1]:void 0)}return B}()})},4788:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),f=[1,2];e({target:"Array",proto:!0,forced:String(f)===String(f.reverse())},{reverse:function(){function b(){return t(this)&&(this.length=this.length),o(this)}return b}()})},58672:function(T,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),f=n(13912),b=n(24760),y=n(57591),B=n(60102),k=n(24697),C=n(44091),l=n(54602),c=C("slice"),m=k("species"),d=Array,u=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,h){var N=y(this),v=b(N),p=f(i,v),g=f(h===void 0?v:h,v),V,S,I;if(a(N)&&(V=N.constructor,t(V)&&(V===d||a(V.prototype))?V=void 0:o(V)&&(V=V[m],V===null&&(V=void 0)),V===d||V===void 0))return l(N,p,g);for(S=new(V===void 0?d:V)(u(g-p,0)),I=0;p1?arguments[1]:void 0)}return f}()})},48968:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),f=n(24760),b=n(95108),y=n(12605),B=n(40033),k=n(90274),C=n(55528),l=n(652),c=n(19228),m=n(5026),d=n(9342),u=[],s=a(u.sort),i=a(u.push),h=B(function(){u.sort(void 0)}),N=B(function(){u.sort(null)}),v=C("sort"),p=!B(function(){if(m)return m<70;if(!(l&&l>3)){if(c)return!0;if(d)return d<603;var S="",I,L,w,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:w=3;break;case 68:case 71:w=4;break;default:w=2}for(A=0;A<47;A++)u.push({k:L+A,v:w})}for(u.sort(function(x,E){return E.v-x.v}),A=0;Ay(w)?1:-1}};e({target:"Array",proto:!0,forced:g},{sort:function(){function S(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var w=[],A=f(L),x,E;for(E=0;EN-V+g;I--)C(h,I-1)}else if(g>V)for(I=N-V;I>v;I--)L=I+V-1,w=I+g-1,L in h?h[w]=h[L]:C(h,w);for(I=0;I9490626562425156e-8?o(C)+b:a(C-1+f(C-1)*f(C+1))}return B}()})},59660:function(T,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function f(y){var B=+y;return!isFinite(B)||B===0?B:B<0?-f(-B):t(B+o(B*B+1))}var b=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:b},{asinh:f})},15383:function(T,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function f(b){var y=+b;return y===0?y:t((1+y)/(1-y))/2}return f}()})},92866:function(T,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function f(b){var y=+b;return a(y)*o(t(y),.3333333333333333)}return f}()})},86107:function(T,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function f(b){var y=b>>>0;return y?31-a(t(y+.5)*o):32}return f}()})},29248:function(T,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,f=Math.E,b=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:b},{cosh:function(){function y(B){var k=a(o(B)-1)+1;return(k+1/(k*f*f))*(f/2)}return y}()})},52540:function(T,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(T,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(T,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,f=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:f},{hypot:function(){function b(y,B){for(var k=0,C=0,l=arguments.length,c=0,m,d;C0?(d=m/c,k+=d*d):k+=m;return c===1/0?1/0:c*o(k)}return b}()})},6522:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function f(b,y){var B=65535,k=+b,C=+y,l=B&k,c=B&C;return 0|l*c+((B&k>>>16)*c+l*(B&C>>>16)<<16>>>0)}return f}()})},95542:function(T,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(T,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(T,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(f){return a(f)/t}return o}()})},57400:function(T,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,f=Math.exp,b=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function B(k){var C=+k;return o(C)<1?(t(C)-t(-C))/2:(f(C-1)-f(-C-1))*(b/2)}return B}()})},54800:function(T,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(f){var b=+f,y=a(b),B=a(-b);return y===1/0?1:B===1/0?-1:(y-B)/(t(b)+t(-b))}return o}()})},15709:function(T,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(T,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(74685),f=n(61765),b=n(67250),y=n(41314),B=n(45299),k=n(5781),C=n(21287),l=n(71399),c=n(24843),m=n(40033),d=n(37310).f,u=n(27193).f,s=n(74595).f,i=n(46438),h=n(92648).trim,N="Number",v=o[N],p=f[N],g=v.prototype,V=o.TypeError,S=b("".slice),I=b("".charCodeAt),L=function(P){var O=c(P,"number");return typeof O=="bigint"?O:w(O)},w=function(P){var O=c(P,"number"),D,F,W,U,$,K,G,Q;if(l(O))throw new V("Cannot convert a Symbol value to a number");if(typeof O=="string"&&O.length>2){if(O=h(O),D=I(O,0),D===43||D===45){if(F=I(O,2),F===88||F===120)return NaN}else if(D===48){switch(I(O,1)){case 66:case 98:W=2,U=49;break;case 79:case 111:W=8,U=55;break;default:return+O}for($=S(O,2),K=$.length,G=0;GU)return NaN;return parseInt($,W)}}return+O},A=y(N,!v(" 0o1")||!v("0b1")||v("+0x1")),x=function(P){return C(g,P)&&m(function(){i(P)})},E=function(){function j(P){var O=arguments.length<1?0:v(L(P));return x(this)?k(Object(O),this,E):O}return j}();E.prototype=g,A&&!a&&(g.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(P,O){for(var D=t?d(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,W;D.length>F;F++)B(O,W=D[F])&&!B(P,W)&&s(P,W,u(O,W))};a&&p&&M(f[N],p),(A||a)&&M(f[N],v)},324:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(T,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(T,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(T,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(f){return a(f)&&t(f)<=9007199254740991}return o}()})},55323:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(T,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(T,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),f=n(62443),b=n(40033),y=RangeError,B=String,k=Math.floor,C=a(f),l=a("".slice),c=a(1 .toFixed),m=function N(v,p,g){return p===0?g:p%2===1?N(v,p-1,g*v):N(v*v,p/2,g)},d=function(v){for(var p=0,g=v;g>=4096;)p+=12,g/=4096;for(;g>=2;)p+=1,g/=2;return p},u=function(v,p,g){for(var V=-1,S=g;++V<6;)S+=p*v[V],v[V]=S%1e7,S=k(S/1e7)},s=function(v,p){for(var g=6,V=0;--g>=0;)V+=v[g],v[g]=k(V/p),V=V%p*1e7},i=function(v){for(var p=6,g="";--p>=0;)if(g!==""||p===0||v[p]!==0){var V=B(v[p]);g=g===""?V:g+C("0",7-V.length)+V}return g},h=b(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!b(function(){c({})});e({target:"Number",proto:!0,forced:h},{toFixed:function(){function N(v){var p=o(this),g=t(v),V=[0,0,0,0,0,0],S="",I="0",L,w,A,x;if(g<0||g>20)throw new y("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return B(p);if(p<0&&(S="-",p=-p),p>1e-21)if(L=d(p*m(2,69,1))-69,w=L<0?p*m(2,-L,1):p/m(2,L,1),w*=4503599627370496,L=52-L,L>0){for(u(V,0,w),A=g;A>=7;)u(V,1e7,0),A-=7;for(u(V,m(10,A,1),0),A=L-1;A>=23;)s(V,8388608),A-=23;s(V,1<0?(x=I.length,I=S+(x<=g?"0."+C("0",g-x)+I:l(I,0,x-g)+"."+l(I,x-g))):I=S+I,I}return N}()})},23532:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),f=a(1 .toPrecision),b=t(function(){return f(1,void 0)!=="1"})||!t(function(){f({})});e({target:"Number",proto:!0,forced:b},{toPrecision:function(){function y(B){return B===void 0?f(o(this)):f(o(this),B)}return y}()})},87119:function(T,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),b=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(B,k){b.f(f(this),B,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},31943:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),f=n(46771),b=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(B,k){b.f(f(this),B,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},85028:function(T,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(T,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),f=n(81969).onFreeze,b=Object.freeze,y=t(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function B(k){return b&&o(k)?b(f(k)):k}return B}()})},43331:function(T,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(f){var b={};return a(f,function(y,B){t(b,y,B)},{AS_ENTRIES:!0}),b}return o}()})},62289:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,f=n(58310),b=!f||a(function(){o(1)});e({target:"Object",stat:!0,forced:b,sham:!f},{getOwnPropertyDescriptor:function(){function y(B,k){return o(t(B),k)}return y}()})},56196:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),f=n(27193),b=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(B){for(var k=o(B),C=f.f,l=t(k),c={},m=0,d,u;l.length>m;)u=C(k,d=l[m++]),u!==void 0&&b(c,d,u);return c}return y}()})},2950:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(T,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),f=n(46771),b=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:b},{getOwnPropertySymbols:function(){function y(B){var k=o.f;return k?k(f(B)):[]}return y}()})},44205:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),f=n(9225),b=a(function(){o(1)});e({target:"Object",stat:!0,forced:b,sham:!f},{getPrototypeOf:function(){function y(B){return o(t(B))}return y}()})},83186:function(T,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),b=Object.isFrozen,y=f||a(function(){b(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function B(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:b?b(k):!1}return B}()})},13411:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),f=n(3782),b=Object.isSealed,y=f||a(function(){b(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function B(k){return!t(k)||f&&o(k)==="ArrayBuffer"?!0:b?b(k):!1}return B}()})},76882:function(T,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(T,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),f=o(function(){t(1)});e({target:"Object",stat:!0,forced:f},{keys:function(){function b(y){return t(a(y))}return b}()})},53118:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),b=n(36917),y=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function B(k){var C=o(this),l=f(k),c;do if(c=y(C,l))return c.get;while(C=b(C))}return B}()})},42514:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),f=n(767),b=n(36917),y=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function B(k){var C=o(this),l=f(k),c;do if(c=y(C,l))return c.set;while(C=b(C))}return B}()})},84353:function(T,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),b=Object.preventExtensions,y=f(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function B(k){return b&&a(k)?b(t(k)):k}return B}()})},62987:function(T,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),f=n(40033),b=Object.seal,y=f(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function B(k){return b&&a(k)?b(t(k)):k}return B}()})},48993:function(T,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(T,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(T,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(T,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(T,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),b=n(49450),y=n(48199);e({target:"Promise",stat:!0,forced:y},{all:function(){function B(k){var C=this,l=o.f(C),c=l.resolve,m=l.reject,d=f(function(){var u=t(C.resolve),s=[],i=0,h=1;b(k,function(N){var v=i++,p=!1;h++,a(u,C,N).then(function(g){p||(p=!0,s[v]=g,--h||c(s))},m)}),--h||c(s)});return d.error&&m(d.value),l.promise}return B}()})},70641:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),f=n(4009),b=n(55747),y=n(55938),B=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function C(l){return this.then(void 0,l)}return C}()}),!a&&b(o)){var k=f("Promise").prototype.catch;B.catch!==k&&y(B,"catch",k,{unsafe:!0})}},75946:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81702),o=n(74685),f=n(91495),b=n(55938),y=n(76649),B=n(84925),k=n(58491),C=n(10320),l=n(55747),c=n(77568),m=n(60077),d=n(28987),u=n(60375).set,s=n(37713),i=n(72259),h=n(10729),N=n(9547),v=n(5419),p=n(67512),g=n(74854),V=n(81837),S="Promise",I=g.CONSTRUCTOR,L=g.REJECTION_EVENT,w=g.SUBCLASSING,A=v.getterFor(S),x=v.set,E=p&&p.prototype,M=p,j=E,P=o.TypeError,O=o.document,D=o.process,F=V.f,W=F,U=!!(O&&O.createEvent&&o.dispatchEvent),$="unhandledrejection",K="rejectionhandled",G=0,Q=1,J=2,ue=1,ie=2,he,te,q,ne,le=function(be){var Le;return c(be)&&l(Le=be.then)?Le:!1},ee=function(be,Le){var we=Le.value,xe=Le.state===Q,Re=xe?be.ok:be.fail,ze=be.resolve,ye=be.reject,de=be.domain,Ce,ke,ge;try{Re?(xe||(Le.rejection===ie&&Y(Le),Le.rejection=ue),Re===!0?Ce=we:(de&&de.enter(),Ce=Re(we),de&&(de.exit(),ge=!0)),Ce===be.promise?ye(new P("Promise-chain cycle")):(ke=le(Ce))?f(ke,Ce,ze,ye):ze(Ce)):ye(we)}catch(Se){de&&!ge&&de.exit(),ye(Se)}},re=function(be,Le){be.notified||(be.notified=!0,s(function(){for(var we=be.reactions,xe;xe=we.get();)ee(xe,be);be.notified=!1,Le&&!be.rejection&&fe(be)}))},oe=function(be,Le,we){var xe,Re;U?(xe=O.createEvent("Event"),xe.promise=Le,xe.reason=we,xe.initEvent(be,!1,!0),o.dispatchEvent(xe)):xe={promise:Le,reason:we},!L&&(Re=o["on"+be])?Re(xe):be===$&&i("Unhandled promise rejection",we)},fe=function(be){f(u,o,function(){var Le=be.facade,we=be.value,xe=me(be),Re;if(xe&&(Re=h(function(){t?D.emit("unhandledRejection",we,Le):oe($,Le,we)}),be.rejection=t||me(be)?ie:ue,Re.error))throw Re.value})},me=function(be){return be.rejection!==ue&&!be.parent},Y=function(be){f(u,o,function(){var Le=be.facade;t?D.emit("rejectionHandled",Le):oe(K,Le,be.value)})},ve=function(be,Le,we){return function(xe){be(Le,xe,we)}},pe=function(be,Le,we){be.done||(be.done=!0,we&&(be=we),be.value=Le,be.state=J,re(be,!0))},Ve=function Be(be,Le,we){if(!be.done){be.done=!0,we&&(be=we);try{if(be.facade===Le)throw new P("Promise can't be resolved itself");var xe=le(Le);xe?s(function(){var Re={done:!1};try{f(xe,Le,ve(Be,Re,be),ve(pe,Re,be))}catch(ze){pe(Re,ze,be)}}):(be.value=Le,be.state=Q,re(be,!1))}catch(Re){pe({done:!1},Re,be)}}};if(I&&(M=function(){function Be(be){m(this,j),C(be),f(he,this);var Le=A(this);try{be(ve(Ve,Le),ve(pe,Le))}catch(we){pe(Le,we)}}return Be}(),j=M.prototype,he=function(){function Be(be){x(this,{type:S,done:!1,notified:!1,parent:!1,reactions:new N,rejection:!1,state:G,value:void 0})}return Be}(),he.prototype=b(j,"then",function(){function Be(be,Le){var we=A(this),xe=F(d(this,M));return we.parent=!0,xe.ok=l(be)?be:!0,xe.fail=l(Le)&&Le,xe.domain=t?D.domain:void 0,we.state===G?we.reactions.add(xe):s(function(){ee(xe,we)}),xe.promise}return Be}()),te=function(){var be=new he,Le=A(be);this.promise=be,this.resolve=ve(Ve,Le),this.reject=ve(pe,Le)},V.f=F=function(be){return be===M||be===q?new te(be):W(be)},!a&&l(p)&&E!==Object.prototype)){ne=E.then,w||b(E,"then",function(){function Be(be,Le){var we=this;return new M(function(xe,Re){f(ne,we,xe,Re)}).then(be,Le)}return Be}(),{unsafe:!0});try{delete E.constructor}catch(Be){}y&&y(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),B(M,S,!1,!0),k(S)},69861:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),f=n(4009),b=n(55747),y=n(28987),B=n(66628),k=n(55938),C=t&&t.prototype,l=!!t&&o(function(){C.finally.call({then:function(){function m(){}return m}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function m(d){var u=y(this,f("Promise")),s=b(d);return this.then(s?function(i){return B(u,d()).then(function(){return i})}:d,s?function(i){return B(u,d()).then(function(){throw i})}:d)}return m}()}),!a&&b(t)){var c=f("Promise").prototype.finally;C.finally!==c&&k(C,"finally",c,{unsafe:!0})}},53092:function(T,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(59321)},16937:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),f=n(10729),b=n(49450),y=n(48199);e({target:"Promise",stat:!0,forced:y},{race:function(){function B(k){var C=this,l=o.f(C),c=l.reject,m=f(function(){var d=t(C.resolve);b(k,function(u){a(d,C,u).then(l.resolve,c)})});return m.error&&c(m.value),l.promise}return B}()})},41719:function(T,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(f){var b=a.f(this),y=b.reject;return y(f),b.promise}return o}()})},59321:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),f=n(74854).CONSTRUCTOR,b=n(66628),y=a("Promise"),B=t&&!f;e({target:"Promise",stat:!0,forced:t||f},{resolve:function(){function k(C){return b(B&&this===y?o:this,C)}return k}()})},29674:function(T,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),f=n(40033),b=!f(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:b},{apply:function(){function y(B,k,C){return a(t(B),k,o(C))}return y}()})},81543:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),f=n(32606),b=n(30365),y=n(77568),B=n(80674),k=n(40033),C=a("Reflect","construct"),l=Object.prototype,c=[].push,m=k(function(){function s(){}return!(C(function(){},[],s)instanceof s)}),d=!k(function(){C(function(){})}),u=m||d;e({target:"Reflect",stat:!0,forced:u,sham:u},{construct:function(){function s(i,h){f(i),b(h);var N=arguments.length<3?i:f(arguments[2]);if(d&&!m)return C(i,h,N);if(i===N){switch(h.length){case 0:return new i;case 1:return new i(h[0]);case 2:return new i(h[0],h[1]);case 3:return new i(h[0],h[1],h[2]);case 4:return new i(h[0],h[1],h[2],h[3])}var v=[null];return t(c,v,h),new(t(o,i,v))}var p=N.prototype,g=B(y(p)?p:l),V=t(i,g,h);return y(V)?V:g}return s}()})},9373:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),f=n(74595),b=n(40033),y=b(function(){Reflect.defineProperty(f.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function B(k,C,l){t(k);var c=o(C);t(l);try{return f.f(k,c,l),!0}catch(m){return!1}}return B}()})},45093:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(f,b){var y=t(a(f),b);return y&&!y.configurable?!1:delete f[b]}return o}()})},5815:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function f(b,y){return o.f(t(b),y)}return f}()})},88527:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function f(b){return t(a(b))}return f}()})},63074:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),f=n(98373),b=n(27193),y=n(36917);function B(k,C){var l=arguments.length<3?k:arguments[2],c,m;if(o(k)===l)return k[C];if(c=b.f(k,C),c)return f(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(m=y(k)))return B(m,C,l)}e({target:"Reflect",stat:!0},{get:B})},66390:function(T,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(f){return a(f),t(f)}return o}()})},50551:function(T,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function f(b){t(b);try{var y=a("Object","preventExtensions");return y&&y(b),!0}catch(B){return!1}}return f}()})},63915:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function f(b,y){a(b),t(y);try{return o(b,y),!0}catch(B){return!1}}return f}()})},92046:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),f=n(98373),b=n(40033),y=n(74595),B=n(27193),k=n(36917),C=n(87458);function l(m,d,u){var s=arguments.length<4?m:arguments[3],i=B.f(t(m),d),h,N,v;if(!i){if(o(N=k(m)))return l(N,d,u,s);i=C(0)}if(f(i)){if(i.writable===!1||!o(s))return!1;if(h=B.f(s,d)){if(h.get||h.set||h.writable===!1)return!1;h.value=u,y.f(s,d,h)}else y.f(s,d,C(0,u))}else{if(v=i.set,v===void 0)return!1;a(v,s,u)}return!0}var c=b(function(){var m=function(){},d=y.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,d)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},51454:function(T,r,n){"use strict";var e=n(58310),a=n(74685),t=n(67250),o=n(41314),f=n(5781),b=n(37909),y=n(80674),B=n(37310).f,k=n(21287),C=n(72586),l=n(12605),c=n(73392),m=n(62115),d=n(34550),u=n(55938),s=n(40033),i=n(45299),h=n(5419).enforce,N=n(58491),v=n(24697),p=n(39173),g=n(35688),V=v("match"),S=a.RegExp,I=S.prototype,L=a.SyntaxError,w=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,O=/a/g,D=new S(P)!==P,F=m.MISSED_STICKY,W=m.UNSUPPORTED_Y,U=e&&(!D||F||p||g||s(function(){return O[V]=!1,S(P)!==P||S(O)===O||String(S(P,"i"))!=="/a/i"})),$=function(ie){for(var he=ie.length,te=0,q="",ne=!1,le;te<=he;te++){if(le=A(ie,te),le==="\\"){q+=le+A(ie,++te);continue}!ne&&le==="."?q+="[\\s\\S]":(le==="["?ne=!0:le==="]"&&(ne=!1),q+=le)}return q},K=function(ie){for(var he=ie.length,te=0,q="",ne=[],le=y(null),ee=!1,re=!1,oe=0,fe="",me;te<=he;te++){if(me=A(ie,te),me==="\\")me+=A(ie,++te);else if(me==="]")ee=!1;else if(!ee)switch(!0){case me==="[":ee=!0;break;case me==="(":w(j,M(ie,te+1))&&(te+=2,re=!0),q+=me,oe++;continue;case(me===">"&&re):if(fe===""||i(le,fe))throw new L("Invalid capture group name");le[fe]=!0,ne[ne.length]=[fe,oe],re=!1,fe="";continue}re?fe+=me:q+=me}return[q,ne]};if(o("RegExp",U)){for(var G=function(){function ue(ie,he){var te=k(I,this),q=C(ie),ne=he===void 0,le=[],ee=ie,re,oe,fe,me,Y,ve;if(!te&&q&&ne&&ie.constructor===G)return ie;if((q||k(I,ie))&&(ie=ie.source,ne&&(he=c(ee))),ie=ie===void 0?"":l(ie),he=he===void 0?"":l(he),ee=ie,p&&"dotAll"in P&&(oe=!!he&&E(he,"s")>-1,oe&&(he=x(he,/s/g,""))),re=he,F&&"sticky"in P&&(fe=!!he&&E(he,"y")>-1,fe&&W&&(he=x(he,/y/g,""))),g&&(me=K(ie),ie=me[0],le=me[1]),Y=f(S(ie,he),te?this:I,G),(oe||fe||le.length)&&(ve=h(Y),oe&&(ve.dotAll=!0,ve.raw=G($(ie),re)),fe&&(ve.sticky=!0),le.length&&(ve.groups=le)),ie!==ee)try{b(Y,"source",ee===""?"(?:)":ee)}catch(pe){}return Y}return ue}(),Q=B(S),J=0;Q.length>J;)d(G,S,Q[J++]);I.constructor=G,G.prototype=I,u(a,"RegExp",G,{constructor:!0})}N("RegExp")},79669:function(T,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(T,r,n){"use strict";var e=n(74685),a=n(58310),t=n(73936),o=n(70901),f=n(40033),b=e.RegExp,y=b.prototype,B=a&&f(function(){var k=!0;try{b(".","d")}catch(i){k=!1}var C={},l="",c=k?"dgimsy":"gimsy",m=function(h,N){Object.defineProperty(C,h,{get:function(){function v(){return l+=N,!0}return v}()})},d={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(d.hasIndices="d");for(var u in d)m(u,d[u]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(C);return s!==c||l!==c});B&&t(y,"flags",{configurable:!0,get:o})},57983:function(T,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),f=n(40033),b=n(73392),y="toString",B=RegExp.prototype,k=B[y],C=f(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&k.name!==y;(C||l)&&a(B,y,function(){function c(){var m=t(this),d=o(m.source),u=o(b(m));return"/"+d+"/"+u}return c}(),{unsafe:!0})},1963:function(T,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(T,r,n){"use strict";n(1963)},95309:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(f){return a(this,"a","name",f)}return o}()})},82256:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(T,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(T,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),f=n(12605),b=n(86213),y=n(16952),B=n(45490),k=n(4493),C=a("".slice),l=Math.min,c=B("endsWith"),m=!k&&!c&&!!function(){var d=t(String.prototype,"endsWith");return d&&!d.writable}();e({target:"String",proto:!0,forced:!m&&!c},{endsWith:function(){function d(u){var s=f(y(this));b(u);var i=arguments.length>1?arguments[1]:void 0,h=s.length,N=i===void 0?h:l(o(i),h),v=f(u);return C(s,N-v.length,N)===v}return d}()})},39308:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(f){return a(this,"font","color",f)}return o}()})},75008:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(f){return a(this,"font","size",f)}return o}()})},9867:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,f=String.fromCharCode,b=String.fromCodePoint,y=a([].join),B=!!b&&b.length!==1;e({target:"String",stat:!0,arity:1,forced:B},{fromCodePoint:function(){function k(C){for(var l=[],c=arguments.length,m=0,d;c>m;){if(d=+arguments[m++],t(d,1114111)!==d)throw new o(d+" is not a valid code point");l[m]=d<65536?f(d):f(((d-=65536)>>10)+55296,d%1024+56320)}return y(l,"")}return k}()})},43673:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),f=n(12605),b=n(45490),y=a("".indexOf);e({target:"String",proto:!0,forced:!b("includes")},{includes:function(){function B(k){return!!~y(f(o(this)),f(t(k)),arguments.length>1?arguments[1]:void 0)}return B}()})},56027:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(T,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),f=n(5959),b="String Iterator",y=t.set,B=t.getterFor(b);o(String,"String",function(k){y(this,{type:b,string:a(k),index:0})},function(){function k(){var C=B(this),l=C.string,c=C.index,m;return c>=l.length?f(void 0,!0):(m=e(l,c),C.index+=m.length,f(m,!1))}return k}())},50340:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(f){return a(this,"a","href",f)}return o}()})},22515:function(T,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(10188),b=n(12605),y=n(16952),B=n(78060),k=n(35483),C=n(28340);a("match",function(l,c,m){return[function(){function d(u){var s=y(this),i=o(u)?void 0:B(u,l);return i?e(i,u,s):new RegExp(u)[l](b(s))}return d}(),function(d){var u=t(this),s=b(d),i=m(c,u,s);if(i.done)return i.value;if(!u.global)return C(u,s);var h=u.unicode;u.lastIndex=0;for(var N=[],v=0,p;(p=C(u,s))!==null;){var g=b(p[0]);N[v]=g,g===""&&(u.lastIndex=k(s,f(u.lastIndex),h)),v++}return v===0?null:N}]})},5143:function(T,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(T,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(f){return a(this,f,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),f=n(12605),b=n(24760),y=a([].push),B=a([].join);e({target:"String",stat:!0},{raw:function(){function k(C){var l=t(o(C).raw),c=b(l);if(!c)return"";for(var m=arguments.length,d=[],u=0;;){if(y(d,f(l[u++])),u===c)return B(d,"");u")!=="7"});o("replace",function(x,E,M){var j=w?"$":"$0";return[function(){function P(O,D){var F=c(this),W=B(O)?void 0:d(O,h);return W?a(W,O,F,D):a(E,l(F),O,D)}return P}(),function(P,O){var D=b(this),F=l(P);if(typeof O=="string"&&V(O,j)===-1&&V(O,"$<")===-1){var W=M(E,D,F,O);if(W.done)return W.value}var U=y(O);U||(O=l(O));var $=D.global,K;$&&(K=D.unicode,D.lastIndex=0);for(var G=[],Q;Q=s(D,F),!(Q===null||(g(G,Q),!$));){var J=l(Q[0]);J===""&&(D.lastIndex=m(F,C(D.lastIndex),K))}for(var ue="",ie=0,he=0;he=ie&&(ue+=S(F,ie,q)+le,ie=q+te.length)}return ue+S(F,ie)}]},!A||!L||w)},63272:function(T,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),f=n(16952),b=n(5700),y=n(12605),B=n(78060),k=n(28340);a("search",function(C,l,c){return[function(){function m(d){var u=f(this),s=o(d)?void 0:B(d,C);return s?e(s,d,u):new RegExp(d)[C](y(u))}return m}(),function(m){var d=t(this),u=y(m),s=c(l,d,u);if(s.done)return s.value;var i=d.lastIndex;b(i,0)||(d.lastIndex=0);var h=k(d,u);return b(d.lastIndex,i)||(d.lastIndex=i),h===null?-1:h.index}]})},34325:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(T,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),f=n(42871),b=n(16952),y=n(28987),B=n(35483),k=n(10188),C=n(12605),l=n(78060),c=n(28340),m=n(62115),d=n(40033),u=m.UNSUPPORTED_Y,s=4294967295,i=Math.min,h=a([].push),N=a("".slice),v=!d(function(){var g=/(?:)/,V=g.exec;g.exec=function(){return V.apply(this,arguments)};var S="ab".split(g);return S.length!==2||S[0]!=="a"||S[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(g,V,S){var I="0".split(void 0,0).length?function(L,w){return L===void 0&&w===0?[]:e(V,this,L,w)}:V;return[function(){function L(w,A){var x=b(this),E=f(w)?void 0:l(w,g);return E?e(E,w,x,A):e(I,C(x),w,A)}return L}(),function(L,w){var A=o(this),x=C(L);if(!p){var E=S(I,A,x,w,I!==V);if(E.done)return E.value}var M=y(A,RegExp),j=A.unicode,P=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(u?"g":"y"),O=new M(u?"^(?:"+A.source+")":A,P),D=w===void 0?s:w>>>0;if(D===0)return[];if(x.length===0)return c(O,x)===null?[x]:[];for(var F=0,W=0,U=[];W1?arguments[1]:void 0,s.length)),h=f(u);return C(s,i,i+h.length)===h}return d}()})},74498:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(T,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(T,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(T,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(T,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(T,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(T,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(67250),f=n(4493),b=n(58310),y=n(52357),B=n(40033),k=n(45299),C=n(21287),l=n(30365),c=n(57591),m=n(767),d=n(12605),u=n(87458),s=n(80674),i=n(18450),h=n(37310),N=n(81644),v=n(89235),p=n(27193),g=n(74595),V=n(24239),S=n(12867),I=n(55938),L=n(73936),w=n(16639),A=n(19417),x=n(79195),E=n(16738),M=n(24697),j=n(55557),P=n(85889),O=n(52360),D=n(84925),F=n(5419),W=n(22603).forEach,U=A("hidden"),$="Symbol",K="prototype",G=F.set,Q=F.getterFor($),J=Object[K],ue=a.Symbol,ie=ue&&ue[K],he=a.RangeError,te=a.TypeError,q=a.QObject,ne=p.f,le=g.f,ee=N.f,re=S.f,oe=o([].push),fe=w("symbols"),me=w("op-symbols"),Y=w("wks"),ve=!q||!q[K]||!q[K].findChild,pe=function(Ce,ke,ge){var Se=ne(J,ke);Se&&delete J[ke],le(Ce,ke,ge),Se&&Ce!==J&&le(J,ke,Se)},Ve=b&&B(function(){return s(le({},"a",{get:function(){function de(){return le(this,"a",{value:7}).a}return de}()})).a!==7})?pe:le,Be=function(Ce,ke){var ge=fe[Ce]=s(ie);return G(ge,{type:$,tag:Ce,description:ke}),b||(ge.description=ke),ge},be=function(){function de(Ce,ke,ge){Ce===J&&be(me,ke,ge),l(Ce);var Se=m(ke);return l(ge),k(fe,Se)?(ge.enumerable?(k(Ce,U)&&Ce[U][Se]&&(Ce[U][Se]=!1),ge=s(ge,{enumerable:u(0,!1)})):(k(Ce,U)||le(Ce,U,u(1,s(null))),Ce[U][Se]=!0),Ve(Ce,Se,ge)):le(Ce,Se,ge)}return de}(),Le=function(){function de(Ce,ke){l(Ce);var ge=c(ke),Se=i(ge).concat(ye(ge));return W(Se,function(Pe){(!b||t(xe,ge,Pe))&&be(Ce,Pe,ge[Pe])}),Ce}return de}(),we=function(){function de(Ce,ke){return ke===void 0?s(Ce):Le(s(Ce),ke)}return de}(),xe=function(){function de(Ce){var ke=m(Ce),ge=t(re,this,ke);return this===J&&k(fe,ke)&&!k(me,ke)?!1:ge||!k(this,ke)||!k(fe,ke)||k(this,U)&&this[U][ke]?ge:!0}return de}(),Re=function(){function de(Ce,ke){var ge=c(Ce),Se=m(ke);if(!(ge===J&&k(fe,Se)&&!k(me,Se))){var Pe=ne(ge,Se);return Pe&&k(fe,Se)&&!(k(ge,U)&&ge[U][Se])&&(Pe.enumerable=!0),Pe}}return de}(),ze=function(){function de(Ce){var ke=ee(c(Ce)),ge=[];return W(ke,function(Se){!k(fe,Se)&&!k(x,Se)&&oe(ge,Se)}),ge}return de}(),ye=function(Ce){var ke=Ce===J,ge=ee(ke?me:c(Ce)),Se=[];return W(ge,function(Pe){k(fe,Pe)&&(!ke||k(J,Pe))&&oe(Se,fe[Pe])}),Se};y||(ue=function(){function de(){if(C(ie,this))throw new te("Symbol is not a constructor");var Ce=!arguments.length||arguments[0]===void 0?void 0:d(arguments[0]),ke=E(Ce),ge=function(){function Se(Pe){var je=this===void 0?a:this;je===J&&t(Se,me,Pe),k(je,U)&&k(je[U],ke)&&(je[U][ke]=!1);var Fe=u(1,Pe);try{Ve(je,ke,Fe)}catch(He){if(!(He instanceof he))throw He;pe(je,ke,Fe)}}return Se}();return b&&ve&&Ve(J,ke,{configurable:!0,set:ge}),Be(ke,Ce)}return de}(),ie=ue[K],I(ie,"toString",function(){function de(){return Q(this).tag}return de}()),I(ue,"withoutSetter",function(de){return Be(E(de),de)}),S.f=xe,g.f=be,V.f=Le,p.f=Re,h.f=N.f=ze,v.f=ye,j.f=function(de){return Be(M(de),de)},b&&(L(ie,"description",{configurable:!0,get:function(){function de(){return Q(this).description}return de}()}),f||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:ue}),W(i(Y),function(de){P(de)}),e({target:$,stat:!0,forced:!y},{useSetter:function(){function de(){ve=!0}return de}(),useSimple:function(){function de(){ve=!1}return de}()}),e({target:"Object",stat:!0,forced:!y,sham:!b},{create:we,defineProperty:be,defineProperties:Le,getOwnPropertyDescriptor:Re}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:ze}),O(),D(ue,$),x[U]=!0},10933:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74685),o=n(67250),f=n(45299),b=n(55747),y=n(21287),B=n(12605),k=n(73936),C=n(5774),l=t.Symbol,c=l&&l.prototype;if(a&&b(l)&&(!("description"in c)||l().description!==void 0)){var m={},d=function(){function p(){var g=arguments.length<1||arguments[0]===void 0?void 0:B(arguments[0]),V=y(c,this)?new l(g):g===void 0?l():l(g);return g===""&&(m[V]=!0),V}return p}();C(d,l),d.prototype=c,c.constructor=d;var u=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),h=/^Symbol\((.*)\)[^)]+$/,N=o("".replace),v=o("".slice);k(c,"description",{configurable:!0,get:function(){function p(){var g=s(this);if(f(m,g))return"";var V=i(g),S=u?v(V,7,-1):N(V,h,"$1");return S===""?void 0:S}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:d})}},30828:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),f=n(16639),b=n(66570),y=f("string-to-symbol-registry"),B=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!b},{for:function(){function k(C){var l=o(C);if(t(y,l))return y[l];var c=a("Symbol")(l);return y[l]=c,B[c]=l,c}return k}()})},53795:function(T,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(T,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(T,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(T,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(T,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),f=n(16639),b=n(66570),y=f("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!b},{keyFor:function(){function B(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return B}()})},48058:function(T,r,n){"use strict";var e=n(85889);e("match")},51583:function(T,r,n){"use strict";var e=n(85889);e("replace")},82403:function(T,r,n){"use strict";var e=n(85889);e("search")},34265:function(T,r,n){"use strict";var e=n(85889);e("species")},3295:function(T,r,n){"use strict";var e=n(85889);e("split")},1078:function(T,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(T,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(T,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(T,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),f=a.aTypedArray,b=a.exportTypedArrayMethod;b("copyWithin",function(){function y(B,k){return o(f(this),B,k,arguments.length>2?arguments[2]:void 0)}return y}())},73364:function(T,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},58166:function(T,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),f=n(91495),b=n(67250),y=n(40033),B=e.aTypedArray,k=e.exportTypedArrayMethod,C=b("".slice),l=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function m(){return c++}return m}()}),c!==1});k("fill",function(){function c(m){var d=arguments.length;B(this);var u=C(o(this),0,3)==="Big"?t(m):+m;return f(a,this,u,d>1?arguments[1]:void 0,d>2?arguments[2]:void 0)}return c}(),l)},23793:function(T,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("filter",function(){function b(y){var B=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,B)}return b}())},13917:function(T,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},43820:function(T,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},80756:function(T,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},70567:function(T,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},19852:function(T,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function f(b){a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},40379:function(T,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(T,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},81069:function(T,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},60037:function(T,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},44195:function(T,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},66756:function(T,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},63689:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(4246),f=n(34570),b=n(24697),y=b("iterator"),B=e.Uint8Array,k=t(f.values),C=t(f.keys),l=t(f.entries),c=o.aTypedArray,m=o.exportTypedArrayMethod,d=B&&B.prototype,u=!a(function(){d[y].call([1])}),s=!!d&&d.values&&d[y]===d.values&&d.values.name==="values",i=function(){function h(){return k(c(this))}return h}();m("entries",function(){function h(){return l(c(this))}return h}(),u),m("keys",function(){function h(){return C(c(this))}return h}(),u),m("values",i,u||!s,{name:"values"}),m(y,i,u||!s,{name:"values"})},5659:function(T,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,f=a([].join);o("join",function(){function b(y){return f(t(this),y)}return b}())},25014:function(T,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("lastIndexOf",function(){function b(y){var B=arguments.length;return a(t,o(this),B>1?[y,arguments[1]]:[y])}return b}())},32189:function(T,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,f=e.exportTypedArrayMethod;f("map",function(){function b(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(B,k){return new(t(B))(k)})}return b}())},23030:function(T,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function f(){for(var b=0,y=arguments.length,B=new(t(this))(y);y>b;)B[b]=arguments[b++];return B}return f}(),a)},49110:function(T,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function f(b){var y=arguments.length;return a(t(this),b,y,y>1?arguments[1]:void 0)}return f}())},24309:function(T,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function f(b){var y=arguments.length;return a(t(this),b,y,y>1?arguments[1]:void 0)}return f}())},56445:function(T,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function f(){for(var b=this,y=a(b).length,B=o(y/2),k=0,C;k1?arguments[1]:void 0,1),N=b(i);if(d)return a(l,this,N,h);var v=this.length,p=o(N),g=0;if(p+h>v)throw new B("Wrong length");for(;g m;)u[m]=l[m++];return u}return B}(),y)},88739:function(T,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function f(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return f}())},60415:function(T,r,n){"use strict";var e=n(74685),a=n(71138),t=n(40033),o=n(10320),f=n(90274),b=n(4246),y=n(652),B=n(19228),k=n(5026),C=n(9342),l=b.aTypedArray,c=b.exportTypedArrayMethod,m=e.Uint16Array,d=m&&a(m.prototype.sort),u=!!d&&!(t(function(){d(new m(2),null)})&&t(function(){d(new m(2),{})})),s=!!d&&!t(function(){if(k)return k<74;if(y)return y<67;if(B)return!0;if(C)return C<602;var h=new m(516),N=Array(516),v,p;for(v=0;v<516;v++)p=v%4,h[v]=515-v,N[v]=v-2*p+3;for(d(h,function(g,V){return(g/4|0)-(V/4|0)}),v=0;v<516;v++)if(h[v]!==N[v])return!0}),i=function(N){return function(v,p){return N!==void 0?+N(v,p)||0:p!==p?-1:v!==v?1:v===0&&p===0?1/v>0&&1/p<0?1:-1:v>p}};c("sort",function(){function h(N){return N!==void 0&&o(N),s?d(this,N):f(l(this),i(N))}return h}(),!s||u)},72532:function(T,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),f=e.aTypedArray,b=e.exportTypedArrayMethod;b("subarray",function(){function y(B,k){var C=f(this),l=C.length,c=t(B,l),m=o(C);return new m(C.buffer,C.byteOffset+c*C.BYTES_PER_ELEMENT,a((k===void 0?l:t(k,l))-c))}return y}())},62207:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(4246),o=n(40033),f=n(54602),b=e.Int8Array,y=t.aTypedArray,B=t.exportTypedArrayMethod,k=[].toLocaleString,C=!!b&&o(function(){k.call(new b(1))}),l=o(function(){return[1,2].toLocaleString()!==new b([1,2]).toLocaleString()})||!o(function(){b.prototype.toLocaleString.call([1,2])});B("toLocaleString",function(){function c(){return a(k,C?f(y(this)):y(this),f(arguments))}return c}(),l)},906:function(T,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(74685),o=n(67250),f=t.Uint8Array,b=f&&f.prototype||{},y=[].toString,B=o([].join);a(function(){y.call({})})&&(y=function(){function C(){return B(this)}return C}());var k=b.toString!==y;e("toString",y,k)},78824:function(T,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},72846:function(T,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},24575:function(T,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()})},71968:function(T,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,f,b){return a(this,o,f,b)}return t}()},!0)},80040:function(T,r,n){"use strict";var e=n(50730),a=n(74685),t=n(67250),o=n(30145),f=n(81969),b=n(45150),y=n(39895),B=n(77568),k=n(5419).enforce,C=n(40033),l=n(21820),c=Object,m=Array.isArray,d=c.isExtensible,u=c.isFrozen,s=c.isSealed,i=c.freeze,h=c.seal,N=!a.ActiveXObject&&"ActiveXObject"in a,v,p=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},g=b("WeakMap",p,y),V=g.prototype,S=t(V.set),I=function(){return e&&C(function(){var E=i([]);return S(new g,E,1),!u(E)})};if(l)if(N){v=y.getConstructor(p,"WeakMap",!0),f.enable();var L=t(V.delete),w=t(V.has),A=t(V.get);o(V,{delete:function(){function x(E){if(B(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new v),L(this,E)||M.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(B(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new v),w(this,E)||M.frozen.has(E)}return w(this,E)}return x}(),get:function(){function x(E){if(B(E)&&!d(E)){var M=k(this);return M.frozen||(M.frozen=new v),w(this,E)?A(this,E):M.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,M){if(B(E)&&!d(E)){var j=k(this);j.frozen||(j.frozen=new v),w(this,E)?S(this,E,M):j.frozen.set(E,M)}else S(this,E,M);return this}return x}()})}else I()&&o(V,{set:function(){function x(E,M){var j;return m(E)&&(u(E)?j=i:s(E)&&(j=h)),S(this,E,M),j&&j(E),this}return x}()})},90846:function(T,r,n){"use strict";n(80040)},67042:function(T,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(T,r,n){"use strict";n(67042)},5606:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(T,r,n){"use strict";n(5606),n(27807)},25764:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(37713),o=n(10320),f=n(24986),b=n(40033),y=n(58310),B=b(function(){return y&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:B},{queueMicrotask:function(){function k(C){f(arguments.length,1),t(o(C))}return k}()})},27807:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).set,o=n(78362),f=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==f},{setImmediate:f})},45569:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(T,r,n){"use strict";n(45569),n(5213)},7435:function(T){"use strict";/**
+ */var t=r.BoxWithSampleText=function(){function o(m){return(0,e.normalizeProps)((0,e.createComponentVNode)(2,a.Box,Object.assign({},m,{children:[(0,e.createComponentVNode)(2,a.Box,{italic:!0,children:"Jackdaws love my big sphinx of quartz."}),(0,e.createComponentVNode)(2,a.Box,{mt:1,bold:!0,children:"The wide electrification of the southern provinces will give a powerful impetus to the growth of agriculture."})]})))}return o}()},67160:function(){},23542:function(){},30386:function(){},98996:function(){},50578:function(){},4444:function(){},77870:function(){},23632:function(){},56492:function(){},39108:function(){},11714:function(){},73492:function(){},49641:function(){},17570:function(){},61858:function(){},32882:function(){},70752:function(T,r,n){var e={"./pai_atmosphere.js":80818,"./pai_bioscan.js":23903,"./pai_directives.js":64988,"./pai_doorjack.js":13813,"./pai_main_menu.js":66025,"./pai_manifest.js":2983,"./pai_medrecords.js":40758,"./pai_messenger.js":98599,"./pai_radio.js":50775,"./pai_secrecords.js":48623,"./pai_signaler.js":47297};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=70752},59395:function(T,r,n){var e={"./pda_atmos_scan.js":78532,"./pda_janitor.js":40253,"./pda_main_menu.js":58293,"./pda_manifest.js":58059,"./pda_medical.js":18147,"./pda_messenger.js":77595,"./pda_mule.js":24635,"./pda_nanobank.js":23734,"./pda_notes.js":97085,"./pda_power.js":57513,"./pda_secbot.js":99808,"./pda_security.js":77168,"./pda_signaler.js":21773,"./pda_status_display.js":81857,"./pda_supplyrecords.js":70287};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=59395},32054:function(T,r,n){var e={"./AICard":1090,"./AICard.js":1090,"./AIFixer":39454,"./AIFixer.js":39454,"./APC":88422,"./APC.js":88422,"./ATM":99660,"./ATM.js":99660,"./AccountsUplinkTerminal":86423,"./AccountsUplinkTerminal.js":86423,"./AgentCard":79571,"./AgentCard.js":79571,"./AiAirlock":56793,"./AiAirlock.js":56793,"./AirAlarm":72475,"./AirAlarm.js":72475,"./AirlockAccessController":12333,"./AirlockAccessController.js":12333,"./AirlockElectronics":28736,"./AirlockElectronics.js":28736,"./AlertModal":47365,"./AlertModal.tsx":47365,"./AppearanceChanger":71824,"./AppearanceChanger.js":71824,"./AtmosAlertConsole":72285,"./AtmosAlertConsole.js":72285,"./AtmosControl":65805,"./AtmosControl.js":65805,"./AtmosFilter":87816,"./AtmosFilter.js":87816,"./AtmosGraphMonitor":57258,"./AtmosGraphMonitor.tsx":57258,"./AtmosMixer":52977,"./AtmosMixer.js":52977,"./AtmosPump":11748,"./AtmosPump.js":11748,"./AtmosTankControl":69321,"./AtmosTankControl.js":69321,"./Autolathe":59179,"./Autolathe.js":59179,"./Autolathe220":29943,"./Autolathe220.tsx":29943,"./BioChipPad":5147,"./BioChipPad.js":5147,"./Biogenerator":64273,"./Biogenerator.js":64273,"./BloomEdit":47823,"./BloomEdit.js":47823,"./BlueSpaceArtilleryControl":18621,"./BlueSpaceArtilleryControl.js":18621,"./BluespaceTap":27629,"./BluespaceTap.js":27629,"./BodyScanner":33758,"./BodyScanner.js":33758,"./BookBinder":67963,"./BookBinder.js":67963,"./BotCall":61925,"./BotCall.js":61925,"./BotClean":20464,"./BotClean.js":20464,"./BotFloor":69479,"./BotFloor.js":69479,"./BotHonk":59887,"./BotHonk.js":59887,"./BotMed":80063,"./BotMed.js":80063,"./BotSecurity":74439,"./BotSecurity.js":74439,"./BrigCells":10833,"./BrigCells.js":10833,"./BrigTimer":45761,"./BrigTimer.js":45761,"./CameraConsole":26300,"./CameraConsole.js":26300,"./CameraConsole220":39222,"./CameraConsole220.js":39222,"./Canister":52927,"./Canister.js":52927,"./CardComputer":51793,"./CardComputer.js":51793,"./CargoConsole":64083,"./CargoConsole.js":64083,"./ChangelogView":87331,"./ChangelogView.js":87331,"./ChemDispenser":36108,"./ChemDispenser.js":36108,"./ChemHeater":13146,"./ChemHeater.js":13146,"./ChemMaster":56541,"./ChemMaster.tsx":56541,"./CloningConsole":37173,"./CloningConsole.js":37173,"./CloningPod":98723,"./CloningPod.js":98723,"./CoinMint":18259,"./CoinMint.tsx":18259,"./ColourMatrixTester":8444,"./ColourMatrixTester.js":8444,"./CommunicationsComputer":63818,"./CommunicationsComputer.js":63818,"./CompostBin":20562,"./CompostBin.js":20562,"./Contractor":21813,"./Contractor.js":21813,"./ConveyorSwitch":54151,"./ConveyorSwitch.js":54151,"./CrewMonitor":73169,"./CrewMonitor.js":73169,"./Cryo":63987,"./Cryo.js":63987,"./CryopodConsole":86099,"./CryopodConsole.js":86099,"./DNAModifier":12692,"./DNAModifier.js":12692,"./DestinationTagger":41074,"./DestinationTagger.js":41074,"./DisposalBin":46500,"./DisposalBin.js":46500,"./DnaVault":33233,"./DnaVault.js":33233,"./DroneConsole":33681,"./DroneConsole.js":33681,"./EFTPOS":17263,"./EFTPOS.js":17263,"./ERTManager":76382,"./ERTManager.js":76382,"./EconomyManager":90217,"./EconomyManager.js":90217,"./Electropack":82565,"./Electropack.js":82565,"./Emojipedia":11243,"./Emojipedia.tsx":11243,"./EmotePanel":69784,"./EmotePanel.js":69784,"./EvolutionMenu":36730,"./EvolutionMenu.js":36730,"./ExosuitFabricator":17370,"./ExosuitFabricator.js":17370,"./ExperimentConsole":59128,"./ExperimentConsole.js":59128,"./ExternalAirlockController":97086,"./ExternalAirlockController.js":97086,"./FaxMachine":96142,"./FaxMachine.js":96142,"./FilingCabinet":74123,"./FilingCabinet.js":74123,"./FloorPainter":83767,"./FloorPainter.js":83767,"./GPS":53424,"./GPS.js":53424,"./GeneModder":89124,"./GeneModder.js":89124,"./GenericCrewManifest":73053,"./GenericCrewManifest.js":73053,"./GhostHudPanel":42914,"./GhostHudPanel.js":42914,"./GlandDispenser":25825,"./GlandDispenser.js":25825,"./GravityGen":10270,"./GravityGen.js":10270,"./GuestPass":48657,"./GuestPass.js":48657,"./HandheldChemDispenser":67834,"./HandheldChemDispenser.js":67834,"./HealthSensor":46098,"./HealthSensor.js":46098,"./Holodeck":36771,"./Holodeck.js":36771,"./Instrument":25471,"./Instrument.js":25471,"./Jukebox":52736,"./Jukebox.tsx":52736,"./KeyComboModal":13618,"./KeyComboModal.tsx":13618,"./KeycardAuth":35655,"./KeycardAuth.js":35655,"./KitchenMachine":62955,"./KitchenMachine.js":62955,"./LawManager":9525,"./LawManager.js":9525,"./LibraryComputer":85066,"./LibraryComputer.js":85066,"./LibraryManager":9516,"./LibraryManager.js":9516,"./ListInputModal":90447,"./ListInputModal.tsx":90447,"./MODsuit":77613,"./MODsuit.js":77613,"./MagnetController":78624,"./MagnetController.js":78624,"./MechBayConsole":72106,"./MechBayConsole.js":72106,"./MechaControlConsole":7466,"./MechaControlConsole.js":7466,"./MedicalRecords":79625,"./MedicalRecords.js":79625,"./MerchVendor":54989,"./MerchVendor.js":54989,"./MiningVendor":87684,"./MiningVendor.js":87684,"./ModpacksList":61468,"./ModpacksList.js":61468,"./NTRecruiter":59783,"./NTRecruiter.js":59783,"./Newscaster":64713,"./Newscaster.js":64713,"./Noticeboard":48286,"./Noticeboard.tsx":48286,"./NuclearBomb":41166,"./NuclearBomb.js":41166,"./NumberInputModal":52416,"./NumberInputModal.tsx":52416,"./OperatingComputer":1218,"./OperatingComputer.js":1218,"./Orbit":46892,"./Orbit.js":46892,"./OreRedemption":15421,"./OreRedemption.js":15421,"./PAI":52754,"./PAI.js":52754,"./PDA":85175,"./PDA.js":85175,"./Pacman":68654,"./Pacman.js":68654,"./PanDEMIC":1701,"./PanDEMIC.tsx":1701,"./ParticleAccelerator":67921,"./ParticleAccelerator.js":67921,"./PdaPainter":71432,"./PdaPainter.js":71432,"./PersonalCrafting":33388,"./PersonalCrafting.js":33388,"./Photocopier":56150,"./Photocopier.js":56150,"./Photocopier220":8340,"./Photocopier220.js":8340,"./PoolController":84676,"./PoolController.js":84676,"./PortablePump":57003,"./PortablePump.js":57003,"./PortableScrubber":70069,"./PortableScrubber.js":70069,"./PortableTurret":59955,"./PortableTurret.js":59955,"./PowerMonitor":61631,"./PowerMonitor.js":61631,"./PrisonerImplantManager":50992,"./PrisonerImplantManager.js":50992,"./PrisonerShuttleConsole":53952,"./PrisonerShuttleConsole.js":53952,"./PrizeCounter":97852,"./PrizeCounter.tsx":97852,"./RCD":94813,"./RCD.js":94813,"./RPD":18738,"./RPD.js":18738,"./Radio":80299,"./Radio.js":80299,"./ReagentGrinder":48125,"./ReagentGrinder.js":48125,"./ReagentsEditor":58262,"./ReagentsEditor.tsx":58262,"./RemoteSignaler":30207,"./RemoteSignaler.js":30207,"./RequestConsole":25472,"./RequestConsole.js":25472,"./RndBackupConsole":9861,"./RndBackupConsole.js":9861,"./RndConsole":12644,"./RndConsole/":12644,"./RndConsole/DataDiskMenu":37556,"./RndConsole/DataDiskMenu.js":37556,"./RndConsole/DeconstructionMenu":58147,"./RndConsole/DeconstructionMenu.js":58147,"./RndConsole/LatheCategory":16830,"./RndConsole/LatheCategory.js":16830,"./RndConsole/LatheChemicalStorage":70497,"./RndConsole/LatheChemicalStorage.js":70497,"./RndConsole/LatheMainMenu":70864,"./RndConsole/LatheMainMenu.js":70864,"./RndConsole/LatheMaterialStorage":42878,"./RndConsole/LatheMaterialStorage.js":42878,"./RndConsole/LatheMaterials":52662,"./RndConsole/LatheMaterials.js":52662,"./RndConsole/LatheMenu":9681,"./RndConsole/LatheMenu.js":9681,"./RndConsole/LatheSearch":68198,"./RndConsole/LatheSearch.js":68198,"./RndConsole/LinkMenu":81421,"./RndConsole/LinkMenu.js":81421,"./RndConsole/SettingsMenu":6256,"./RndConsole/SettingsMenu.js":6256,"./RndConsole/index":12644,"./RndConsole/index.js":12644,"./RndNetController":29205,"./RndNetController.js":29205,"./RndServer":63315,"./RndServer.js":63315,"./RobotSelfDiagnosis":26109,"./RobotSelfDiagnosis.js":26109,"./RoboticsControlConsole":97997,"./RoboticsControlConsole.js":97997,"./Safe":54431,"./Safe.js":54431,"./SatelliteControl":29740,"./SatelliteControl.js":29740,"./SecureStorage":44162,"./SecureStorage.js":44162,"./SecurityRecords":6272,"./SecurityRecords.js":6272,"./SeedExtractor":5099,"./SeedExtractor.js":5099,"./Shop":17474,"./Shop.js":17474,"./ShuttleConsole":2916,"./ShuttleConsole.js":2916,"./ShuttleManipulator":39401,"./ShuttleManipulator.js":39401,"./Sleeper":88284,"./Sleeper.js":88284,"./SlotMachine":21597,"./SlotMachine.js":21597,"./Smartfridge":46348,"./Smartfridge.js":46348,"./Smes":86162,"./Smes.js":86162,"./SolarControl":63584,"./SolarControl.js":63584,"./SpawnersMenu":38096,"./SpawnersMenu.js":38096,"./SpecMenu":30586,"./SpecMenu.js":30586,"./StackCraft":95152,"./StackCraft.js":95152,"./StationAlertConsole":38307,"./StationAlertConsole.js":38307,"./StationTraitsPanel":96091,"./StationTraitsPanel.tsx":96091,"./StripMenu":39409,"./StripMenu.tsx":39409,"./SuitStorage":69514,"./SuitStorage.js":69514,"./SupermatterMonitor":15022,"./SupermatterMonitor.js":15022,"./SyndicateComputerSimple":46029,"./SyndicateComputerSimple.js":46029,"./TEG":36372,"./TEG.js":36372,"./TTSSeedsExplorer":23190,"./TTSSeedsExplorer.tsx":23190,"./TachyonArray":56441,"./TachyonArray.js":56441,"./Tank":1754,"./Tank.js":1754,"./TankDispenser":7579,"./TankDispenser.js":7579,"./TcommsCore":16136,"./TcommsCore.js":16136,"./TcommsRelay":88046,"./TcommsRelay.js":88046,"./Teleporter":20802,"./Teleporter.js":20802,"./TelescienceConsole":48517,"./TelescienceConsole.js":48517,"./TempGun":21800,"./TempGun.js":21800,"./TextInputModal":24410,"./TextInputModal.tsx":24410,"./ThermoMachine":25036,"./ThermoMachine.js":25036,"./TransferValve":20035,"./TransferValve.js":20035,"./TurbineComputer":78166,"./TurbineComputer.js":78166,"./Uplink":52847,"./Uplink.js":52847,"./Vending":12261,"./Vending.js":12261,"./VolumeMixer":68971,"./VolumeMixer.js":68971,"./VotePanel":2510,"./VotePanel.js":2510,"./Wires":30138,"./Wires.js":30138,"./WizardApprenticeContract":21400,"./WizardApprenticeContract.js":21400,"./common/AccessList":49148,"./common/AccessList.js":49148,"./common/AtmosScan":26991,"./common/AtmosScan.js":26991,"./common/BeakerContents":85870,"./common/BeakerContents.js":85870,"./common/BotStatus":92963,"./common/BotStatus.js":92963,"./common/ComplexModal":3939,"./common/ComplexModal.js":3939,"./common/CrewManifest":41874,"./common/CrewManifest.js":41874,"./common/InputButtons":19203,"./common/InputButtons.tsx":19203,"./common/InterfaceLockNoticeBox":195,"./common/InterfaceLockNoticeBox.js":195,"./common/Loader":51057,"./common/Loader.tsx":51057,"./common/LoginInfo":321,"./common/LoginInfo.js":321,"./common/LoginScreen":5485,"./common/LoginScreen.js":5485,"./common/Operating":62411,"./common/Operating.js":62411,"./common/Signaler":13545,"./common/Signaler.js":13545,"./common/SimpleRecords":41984,"./common/SimpleRecords.js":41984,"./common/TemporaryNotice":22091,"./common/TemporaryNotice.js":22091,"./pai/pai_atmosphere":80818,"./pai/pai_atmosphere.js":80818,"./pai/pai_bioscan":23903,"./pai/pai_bioscan.js":23903,"./pai/pai_directives":64988,"./pai/pai_directives.js":64988,"./pai/pai_doorjack":13813,"./pai/pai_doorjack.js":13813,"./pai/pai_main_menu":66025,"./pai/pai_main_menu.js":66025,"./pai/pai_manifest":2983,"./pai/pai_manifest.js":2983,"./pai/pai_medrecords":40758,"./pai/pai_medrecords.js":40758,"./pai/pai_messenger":98599,"./pai/pai_messenger.js":98599,"./pai/pai_radio":50775,"./pai/pai_radio.js":50775,"./pai/pai_secrecords":48623,"./pai/pai_secrecords.js":48623,"./pai/pai_signaler":47297,"./pai/pai_signaler.js":47297,"./pda/pda_atmos_scan":78532,"./pda/pda_atmos_scan.js":78532,"./pda/pda_janitor":40253,"./pda/pda_janitor.js":40253,"./pda/pda_main_menu":58293,"./pda/pda_main_menu.js":58293,"./pda/pda_manifest":58059,"./pda/pda_manifest.js":58059,"./pda/pda_medical":18147,"./pda/pda_medical.js":18147,"./pda/pda_messenger":77595,"./pda/pda_messenger.js":77595,"./pda/pda_mule":24635,"./pda/pda_mule.js":24635,"./pda/pda_nanobank":23734,"./pda/pda_nanobank.js":23734,"./pda/pda_notes":97085,"./pda/pda_notes.js":97085,"./pda/pda_power":57513,"./pda/pda_power.js":57513,"./pda/pda_secbot":99808,"./pda/pda_secbot.js":99808,"./pda/pda_security":77168,"./pda/pda_security.js":77168,"./pda/pda_signaler":21773,"./pda/pda_signaler.js":21773,"./pda/pda_status_display":81857,"./pda/pda_status_display.js":81857,"./pda/pda_supplyrecords":70287,"./pda/pda_supplyrecords.js":70287};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=32054},4085:function(T,r,n){var e={"./Blink.stories.js":51364,"./BlockQuote.stories.js":32453,"./Box.stories.js":83531,"./Button.stories.js":74198,"./ByondUi.stories.js":51956,"./Collapsible.stories.js":17466,"./Flex.stories.js":89241,"./ImageButton.stories.js":48779,"./Input.stories.js":21394,"./Popper.stories.js":43932,"./ProgressBar.stories.js":33270,"./Stack.stories.js":77766,"./Storage.stories.js":30187,"./Tabs.stories.js":46554,"./Themes.stories.js":53276,"./Tooltip.stories.js":28717};function a(o){var m=t(o);return n(m)}function t(o){if(!n.o(e,o)){var m=new Error("Cannot find module '"+o+"'");throw m.code="MODULE_NOT_FOUND",m}return e[o]}a.keys=function(){return Object.keys(e)},a.resolve=t,T.exports=a,a.id=4085},10320:function(T,r,n){"use strict";var e=n(55747),a=n(89393),t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a function")}},32606:function(T,r,n){"use strict";var e=n(1031),a=n(89393),t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not a constructor")}},35908:function(T,r,n){"use strict";var e=n(45015),a=String,t=TypeError;T.exports=function(o){if(e(o))return o;throw new t("Can't set "+a(o)+" as a prototype")}},80575:function(T,r,n){"use strict";var e=n(24697),a=n(80674),t=n(74595).f,o=e("unscopables"),m=Array.prototype;m[o]===void 0&&t(m,o,{configurable:!0,value:a(null)}),T.exports=function(b){m[o][b]=!0}},35483:function(T,r,n){"use strict";var e=n(50233).charAt;T.exports=function(a,t,o){return t+(o?e(a,t).length:1)}},60077:function(T,r,n){"use strict";var e=n(21287),a=TypeError;T.exports=function(t,o){if(e(o,t))return t;throw new a("Incorrect invocation")}},30365:function(T,r,n){"use strict";var e=n(77568),a=String,t=TypeError;T.exports=function(o){if(e(o))return o;throw new t(a(o)+" is not an object")}},70377:function(T){"use strict";T.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3782:function(T,r,n){"use strict";var e=n(40033);T.exports=e(function(){if(typeof ArrayBuffer=="function"){var a=new ArrayBuffer(8);Object.isExtensible(a)&&Object.defineProperty(a,"a",{value:8})}})},4246:function(T,r,n){"use strict";var e=n(70377),a=n(58310),t=n(74685),o=n(55747),m=n(77568),b=n(45299),y=n(2281),B=n(89393),k=n(37909),C=n(55938),l=n(73936),c=n(21287),f=n(36917),u=n(76649),d=n(24697),s=n(16738),i=n(5419),h=i.enforce,N=i.get,v=t.Int8Array,p=v&&v.prototype,g=t.Uint8ClampedArray,V=g&&g.prototype,S=v&&f(v),I=p&&f(p),L=Object.prototype,w=t.TypeError,A=d("toStringTag"),x=s("TYPED_ARRAY_TAG"),E="TypedArrayConstructor",M=e&&!!u&&y(t.opera)!=="Opera",j=!1,P,O,D,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},W={BigInt64Array:8,BigUint64Array:8},U=function(){function ie(he){if(!m(he))return!1;var te=y(he);return te==="DataView"||b(F,te)||b(W,te)}return ie}(),$=function ie(he){var te=f(he);if(m(te)){var q=N(te);return q&&b(q,E)?q[E]:ie(te)}},K=function(he){if(!m(he))return!1;var te=y(he);return b(F,te)||b(W,te)},G=function(he){if(K(he))return he;throw new w("Target is not a typed array")},Q=function(he){if(o(he)&&(!u||c(S,he)))return he;throw new w(B(he)+" is not a typed array constructor")},J=function(he,te,q,ne){if(a){if(q)for(var le in F){var ee=t[le];if(ee&&b(ee.prototype,he))try{delete ee.prototype[he]}catch(re){try{ee.prototype[he]=te}catch(oe){}}}(!I[he]||q)&&C(I,he,q?te:M&&p[he]||te,ne)}},ue=function(he,te,q){var ne,le;if(a){if(u){if(q){for(ne in F)if(le=t[ne],le&&b(le,he))try{delete le[he]}catch(ee){}}if(!S[he]||q)try{return C(S,he,q?te:M&&S[he]||te)}catch(ee){}else return}for(ne in F)le=t[ne],le&&(!le[he]||q)&&C(le,he,te)}};for(P in F)O=t[P],D=O&&O.prototype,D?h(D)[E]=O:M=!1;for(P in W)O=t[P],D=O&&O.prototype,D&&(h(D)[E]=O);if((!M||!o(S)||S===Function.prototype)&&(S=function(){function ie(){throw new w("Incorrect invocation")}return ie}(),M))for(P in F)t[P]&&u(t[P],S);if((!M||!I||I===L)&&(I=S.prototype,M))for(P in F)t[P]&&u(t[P].prototype,I);if(M&&f(V)!==I&&u(V,I),a&&!b(I,A)){j=!0,l(I,A,{configurable:!0,get:function(){function ie(){return m(this)?this[x]:void 0}return ie}()});for(P in F)t[P]&&k(t[P],x,P)}T.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:j&&x,aTypedArray:G,aTypedArrayConstructor:Q,exportTypedArrayMethod:J,exportTypedArrayStaticMethod:ue,getTypedArrayConstructor:$,isView:U,isTypedArray:K,TypedArray:S,TypedArrayPrototype:I}},37336:function(T,r,n){"use strict";var e=n(74685),a=n(67250),t=n(58310),o=n(70377),m=n(70520),b=n(37909),y=n(73936),B=n(30145),k=n(40033),C=n(60077),l=n(61365),c=n(10188),f=n(43806),u=n(95867),d=n(91784),s=n(36917),i=n(76649),h=n(88471),N=n(54602),v=n(5781),p=n(5774),g=n(84925),V=n(5419),S=m.PROPER,I=m.CONFIGURABLE,L="ArrayBuffer",w="DataView",A="prototype",x="Wrong length",E="Wrong index",M=V.getterFor(L),j=V.getterFor(w),P=V.set,O=e[L],D=O,F=D&&D[A],W=e[w],U=W&&W[A],$=Object.prototype,K=e.Array,G=e.RangeError,Q=a(h),J=a([].reverse),ue=d.pack,ie=d.unpack,he=function(Ve){return[Ve&255]},te=function(Ve){return[Ve&255,Ve>>8&255]},q=function(Ve){return[Ve&255,Ve>>8&255,Ve>>16&255,Ve>>24&255]},ne=function(Ve){return Ve[3]<<24|Ve[2]<<16|Ve[1]<<8|Ve[0]},le=function(Ve){return ue(u(Ve),23,4)},ee=function(Ve){return ue(Ve,52,8)},re=function(Ve,Be,be){y(Ve[A],Be,{configurable:!0,get:function(){function Le(){return be(this)[Be]}return Le}()})},oe=function(Ve,Be,be,Le){var we=j(Ve),xe=f(be),Re=!!Le;if(xe+Be>we.byteLength)throw new G(E);var ze=we.bytes,ye=xe+we.byteOffset,de=N(ze,ye,ye+Be);return Re?de:J(de)},fe=function(Ve,Be,be,Le,we,xe){var Re=j(Ve),ze=f(be),ye=Le(+we),de=!!xe;if(ze+Be>Re.byteLength)throw new G(E);for(var Ce=Re.bytes,ke=ze+Re.byteOffset,ge=0;gewe)throw new G("Wrong offset");if(be=be===void 0?we-xe:c(be),xe+be>we)throw new G(x);P(this,{type:w,buffer:Ve,byteLength:be,byteOffset:xe,bytes:Le.bytes}),t||(this.buffer=Ve,this.byteLength=be,this.byteOffset=xe)}return pe}(),U=W[A],t&&(re(D,"byteLength",M),re(W,"buffer",j),re(W,"byteLength",j),re(W,"byteOffset",j)),B(U,{getInt8:function(){function pe(Ve){return oe(this,1,Ve)[0]<<24>>24}return pe}(),getUint8:function(){function pe(Ve){return oe(this,1,Ve)[0]}return pe}(),getInt16:function(){function pe(Ve){var Be=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return(Be[1]<<8|Be[0])<<16>>16}return pe}(),getUint16:function(){function pe(Ve){var Be=oe(this,2,Ve,arguments.length>1?arguments[1]:!1);return Be[1]<<8|Be[0]}return pe}(),getInt32:function(){function pe(Ve){return ne(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))}return pe}(),getUint32:function(){function pe(Ve){return ne(oe(this,4,Ve,arguments.length>1?arguments[1]:!1))>>>0}return pe}(),getFloat32:function(){function pe(Ve){return ie(oe(this,4,Ve,arguments.length>1?arguments[1]:!1),23)}return pe}(),getFloat64:function(){function pe(Ve){return ie(oe(this,8,Ve,arguments.length>1?arguments[1]:!1),52)}return pe}(),setInt8:function(){function pe(Ve,Be){fe(this,1,Ve,he,Be)}return pe}(),setUint8:function(){function pe(Ve,Be){fe(this,1,Ve,he,Be)}return pe}(),setInt16:function(){function pe(Ve,Be){fe(this,2,Ve,te,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setUint16:function(){function pe(Ve,Be){fe(this,2,Ve,te,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setInt32:function(){function pe(Ve,Be){fe(this,4,Ve,q,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setUint32:function(){function pe(Ve,Be){fe(this,4,Ve,q,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setFloat32:function(){function pe(Ve,Be){fe(this,4,Ve,le,Be,arguments.length>2?arguments[2]:!1)}return pe}(),setFloat64:function(){function pe(Ve,Be){fe(this,8,Ve,ee,Be,arguments.length>2?arguments[2]:!1)}return pe}()});else{var me=S&&O.name!==L;!k(function(){O(1)})||!k(function(){new O(-1)})||k(function(){return new O,new O(1.5),new O(NaN),O.length!==1||me&&!I})?(D=function(){function pe(Ve){return C(this,F),v(new O(f(Ve)),this,D)}return pe}(),D[A]=F,F.constructor=D,p(D,O)):me&&I&&b(O,"name",L),i&&s(U)!==$&&i(U,$);var Y=new W(new D(2)),ve=a(U.setInt8);Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),(Y.getInt8(0)||!Y.getInt8(1))&&B(U,{setInt8:function(){function pe(Ve,Be){ve(this,Ve,Be<<24>>24)}return pe}(),setUint8:function(){function pe(Ve,Be){ve(this,Ve,Be<<24>>24)}return pe}()},{unsafe:!0})}g(D,L),g(W,w),T.exports={ArrayBuffer:D,DataView:W}},71447:function(T,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760),o=n(95108),m=Math.min;T.exports=[].copyWithin||function(){function b(y,B){var k=e(this),C=t(k),l=a(y,C),c=a(B,C),f=arguments.length>2?arguments[2]:void 0,u=m((f===void 0?C:a(f,C))-c,C-l),d=1;for(c0;)c in k?k[l]=k[c]:o(k,l),l+=d,c+=d;return k}return b}()},88471:function(T,r,n){"use strict";var e=n(46771),a=n(13912),t=n(24760);T.exports=function(){function o(m){for(var b=e(this),y=t(b),B=arguments.length,k=a(B>1?arguments[1]:void 0,y),C=B>2?arguments[2]:void 0,l=C===void 0?y:a(C,y);l>k;)b[k++]=m;return b}return o}()},35601:function(T,r,n){"use strict";var e=n(22603).forEach,a=n(55528),t=a("forEach");T.exports=t?[].forEach:function(){function o(m){return e(this,m,arguments.length>1?arguments[1]:void 0)}return o}()},78008:function(T,r,n){"use strict";var e=n(24760);T.exports=function(a,t,o){for(var m=0,b=arguments.length>2?o:e(t),y=new a(b);b>m;)y[m]=t[m++];return y}},73174:function(T,r,n){"use strict";var e=n(75754),a=n(91495),t=n(46771),o=n(40125),m=n(76571),b=n(1031),y=n(24760),B=n(60102),k=n(77455),C=n(59201),l=Array;T.exports=function(){function c(f){var u=t(f),d=b(this),s=arguments.length,i=s>1?arguments[1]:void 0,h=i!==void 0;h&&(i=e(i,s>2?arguments[2]:void 0));var N=C(u),v=0,p,g,V,S,I,L;if(N&&!(this===l&&m(N)))for(g=d?new this:[],S=k(u,N),I=S.next;!(V=a(I,S)).done;v++)L=h?o(S,i,[V.value,v],!0):V.value,B(g,v,L);else for(p=y(u),g=d?new this(p):l(p);p>v;v++)L=h?i(u[v],v):u[v],B(g,v,L);return g.length=v,g}return c}()},14211:function(T,r,n){"use strict";var e=n(57591),a=n(13912),t=n(24760),o=function(b){return function(y,B,k){var C=e(y),l=t(C);if(l===0)return!b&&-1;var c=a(k,l),f;if(b&&B!==B){for(;l>c;)if(f=C[c++],f!==f)return!0}else for(;l>c;c++)if((b||c in C)&&C[c]===B)return b||c||0;return!b&&-1}};T.exports={includes:o(!0),indexOf:o(!1)}},22603:function(T,r,n){"use strict";var e=n(75754),a=n(67250),t=n(37457),o=n(46771),m=n(24760),b=n(57823),y=a([].push),B=function(C){var l=C===1,c=C===2,f=C===3,u=C===4,d=C===6,s=C===7,i=C===5||d;return function(h,N,v,p){for(var g=o(h),V=t(g),S=m(V),I=e(N,v),L=0,w=p||b,A=l?w(h,S):c||s?w(h,0):void 0,x,E;S>L;L++)if((i||L in V)&&(x=V[L],E=I(x,L,g),C))if(l)A[L]=E;else if(E)switch(C){case 3:return!0;case 5:return x;case 6:return L;case 2:y(A,x)}else switch(C){case 4:return!1;case 7:y(A,x)}return d?-1:f||u?u:A}};T.exports={forEach:B(0),map:B(1),filter:B(2),some:B(3),every:B(4),find:B(5),findIndex:B(6),filterReject:B(7)}},1325:function(T,r,n){"use strict";var e=n(61267),a=n(57591),t=n(61365),o=n(24760),m=n(55528),b=Math.min,y=[].lastIndexOf,B=!!y&&1/[1].lastIndexOf(1,-0)<0,k=m("lastIndexOf"),C=B||!k;T.exports=C?function(){function l(c){if(B)return e(y,this,arguments)||0;var f=a(this),u=o(f);if(u===0)return-1;var d=u-1;for(arguments.length>1&&(d=b(d,t(arguments[1]))),d<0&&(d=u+d);d>=0;d--)if(d in f&&f[d]===c)return d||0;return-1}return l}():y},44091:function(T,r,n){"use strict";var e=n(40033),a=n(24697),t=n(5026),o=a("species");T.exports=function(m){return t>=51||!e(function(){var b=[],y=b.constructor={};return y[o]=function(){return{foo:1}},b[m](Boolean).foo!==1})}},55528:function(T,r,n){"use strict";var e=n(40033);T.exports=function(a,t){var o=[][a];return!!o&&e(function(){o.call(null,t||function(){return 1},1)})}},56844:function(T,r,n){"use strict";var e=n(10320),a=n(46771),t=n(37457),o=n(24760),m=TypeError,b="Reduce of empty array with no initial value",y=function(k){return function(C,l,c,f){var u=a(C),d=t(u),s=o(u);if(e(l),s===0&&c<2)throw new m(b);var i=k?s-1:0,h=k?-1:1;if(c<2)for(;;){if(i in d){f=d[i],i+=h;break}if(i+=h,k?i<0:s<=i)throw new m(b)}for(;k?i>=0:s>i;i+=h)i in d&&(f=l(f,d[i],i,u));return f}};T.exports={left:y(!1),right:y(!0)}},13345:function(T,r,n){"use strict";var e=n(58310),a=n(37386),t=TypeError,o=Object.getOwnPropertyDescriptor,m=e&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(b){return b instanceof TypeError}}();T.exports=m?function(b,y){if(a(b)&&!o(b,"length").writable)throw new t("Cannot set read only .length");return b.length=y}:function(b,y){return b.length=y}},54602:function(T,r,n){"use strict";var e=n(67250);T.exports=e([].slice)},90274:function(T,r,n){"use strict";var e=n(54602),a=Math.floor,t=function o(m,b){var y=m.length;if(y<8)for(var B=1,k,C;B0;)m[C]=m[--C];C!==B++&&(m[C]=k)}else for(var l=a(y/2),c=o(e(m,0,l),b),f=o(e(m,l),b),u=c.length,d=f.length,s=0,i=0;s1?arguments[1]:void 0),E;E=E?E.next:A.first;)for(x(E.value,E.key,this);E&&E.removed;)E=E.previous}return L}(),has:function(){function L(w){return!!I(this,w)}return L}()}),t(g,N?{get:function(){function L(w){var A=I(this,w);return A&&A.value}return L}(),set:function(){function L(w,A){return S(this,w===0?0:w,A)}return L}()}:{add:function(){function L(w){return S(this,w=w===0?0:w,w)}return L}()}),l&&a(g,"size",{configurable:!0,get:function(){function L(){return V(this).size}return L}()}),p}return s}(),setStrong:function(){function s(i,h,N){var v=h+" Iterator",p=d(h),g=d(v);B(i,h,function(V,S){u(this,{type:v,target:V,state:p(V),kind:S,last:void 0})},function(){for(var V=g(this),S=V.kind,I=V.last;I&&I.removed;)I=I.previous;return!V.target||!(V.last=I=I?I.next:V.state.first)?(V.target=void 0,k(void 0,!0)):k(S==="keys"?I.key:S==="values"?I.value:[I.key,I.value],!1)},N?"entries":"values",!N,!0),C(h)}return s}()}},39895:function(T,r,n){"use strict";var e=n(67250),a=n(30145),t=n(81969).getWeakData,o=n(60077),m=n(30365),b=n(42871),y=n(77568),B=n(49450),k=n(22603),C=n(45299),l=n(5419),c=l.set,f=l.getterFor,u=k.find,d=k.findIndex,s=e([].splice),i=0,h=function(g){return g.frozen||(g.frozen=new N)},N=function(){this.entries=[]},v=function(g,V){return u(g.entries,function(S){return S[0]===V})};N.prototype={get:function(){function p(g){var V=v(this,g);if(V)return V[1]}return p}(),has:function(){function p(g){return!!v(this,g)}return p}(),set:function(){function p(g,V){var S=v(this,g);S?S[1]=V:this.entries.push([g,V])}return p}(),delete:function(){function p(g){var V=d(this.entries,function(S){return S[0]===g});return~V&&s(this.entries,V,1),!!~V}return p}()},T.exports={getConstructor:function(){function p(g,V,S,I){var L=g(function(E,M){o(E,w),c(E,{type:V,id:i++,frozen:void 0}),b(M)||B(M,E[I],{that:E,AS_ENTRIES:S})}),w=L.prototype,A=f(V),x=function(){function E(M,j,P){var O=A(M),D=t(m(j),!0);return D===!0?h(O).set(j,P):D[O.id]=P,M}return E}();return a(w,{delete:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).delete(M):P&&C(P,j.id)&&delete P[j.id]}return E}(),has:function(){function E(M){var j=A(this);if(!y(M))return!1;var P=t(M);return P===!0?h(j).has(M):P&&C(P,j.id)}return E}()}),a(w,S?{get:function(){function E(M){var j=A(this);if(y(M)){var P=t(M);return P===!0?h(j).get(M):P?P[j.id]:void 0}}return E}(),set:function(){function E(M,j){return x(this,M,j)}return E}()}:{add:function(){function E(M){return x(this,M,!0)}return E}()}),L}return p}()}},45150:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(67250),o=n(41314),m=n(55938),b=n(81969),y=n(49450),B=n(60077),k=n(55747),C=n(42871),l=n(77568),c=n(40033),f=n(92490),u=n(84925),d=n(5781);T.exports=function(s,i,h){var N=s.indexOf("Map")!==-1,v=s.indexOf("Weak")!==-1,p=N?"set":"add",g=a[s],V=g&&g.prototype,S=g,I={},L=function(O){var D=t(V[O]);m(V,O,O==="add"?function(){function F(W){return D(this,W===0?0:W),this}return F}():O==="delete"?function(F){return v&&!l(F)?!1:D(this,F===0?0:F)}:O==="get"?function(){function F(W){return v&&!l(W)?void 0:D(this,W===0?0:W)}return F}():O==="has"?function(){function F(W){return v&&!l(W)?!1:D(this,W===0?0:W)}return F}():function(){function F(W,U){return D(this,W===0?0:W,U),this}return F}())},w=o(s,!k(g)||!(v||V.forEach&&!c(function(){new g().entries().next()})));if(w)S=h.getConstructor(i,s,N,p),b.enable();else if(o(s,!0)){var A=new S,x=A[p](v?{}:-0,1)!==A,E=c(function(){A.has(1)}),M=f(function(P){new g(P)}),j=!v&&c(function(){for(var P=new g,O=5;O--;)P[p](O,O);return!P.has(-0)});M||(S=i(function(P,O){B(P,V);var D=d(new g,P,S);return C(O)||y(O,D[p],{that:D,AS_ENTRIES:N}),D}),S.prototype=V,V.constructor=S),(E||j)&&(L("delete"),L("has"),N&&L("get")),(j||x)&&L(p),v&&V.clear&&delete V.clear}return I[s]=S,e({global:!0,constructor:!0,forced:S!==g},I),u(S,s),v||h.setStrong(S,s,N),S}},5774:function(T,r,n){"use strict";var e=n(45299),a=n(97921),t=n(27193),o=n(74595);T.exports=function(m,b,y){for(var B=a(b),k=o.f,C=t.f,l=0;l"+C+""+y+">"}},5959:function(T){"use strict";T.exports=function(r,n){return{value:r,done:n}}},37909:function(T,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);T.exports=e?function(o,m,b){return a.f(o,m,t(1,b))}:function(o,m,b){return o[m]=b,o}},87458:function(T){"use strict";T.exports=function(r,n){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:n}}},60102:function(T,r,n){"use strict";var e=n(58310),a=n(74595),t=n(87458);T.exports=function(o,m,b){e?a.f(o,m,t(0,b)):o[m]=b}},67206:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(24051).start,o=RangeError,m=isFinite,b=Math.abs,y=Date.prototype,B=y.toISOString,k=e(y.getTime),C=e(y.getUTCDate),l=e(y.getUTCFullYear),c=e(y.getUTCHours),f=e(y.getUTCMilliseconds),u=e(y.getUTCMinutes),d=e(y.getUTCMonth),s=e(y.getUTCSeconds);T.exports=a(function(){return B.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!a(function(){B.call(new Date(NaN))})?function(){function i(){if(!m(k(this)))throw new o("Invalid time value");var h=this,N=l(h),v=f(h),p=N<0?"-":N>9999?"+":"";return p+t(b(N),p?6:4,0)+"-"+t(d(h)+1,2,0)+"-"+t(C(h),2,0)+"T"+t(c(h),2,0)+":"+t(u(h),2,0)+":"+t(s(h),2,0)+"."+t(v,3,0)+"Z"}return i}():B},10886:function(T,r,n){"use strict";var e=n(30365),a=n(13396),t=TypeError;T.exports=function(o){if(e(this),o==="string"||o==="default")o="string";else if(o!=="number")throw new t("Incorrect hint");return a(this,o)}},73936:function(T,r,n){"use strict";var e=n(20001),a=n(74595);T.exports=function(t,o,m){return m.get&&e(m.get,o,{getter:!0}),m.set&&e(m.set,o,{setter:!0}),a.f(t,o,m)}},55938:function(T,r,n){"use strict";var e=n(55747),a=n(74595),t=n(20001),o=n(18231);T.exports=function(m,b,y,B){B||(B={});var k=B.enumerable,C=B.name!==void 0?B.name:b;if(e(y)&&t(y,C,B),B.global)k?m[b]=y:o(b,y);else{try{B.unsafe?m[b]&&(k=!0):delete m[b]}catch(l){}k?m[b]=y:a.f(m,b,{value:y,enumerable:!1,configurable:!B.nonConfigurable,writable:!B.nonWritable})}return m}},30145:function(T,r,n){"use strict";var e=n(55938);T.exports=function(a,t,o){for(var m in t)e(a,m,t[m],o);return a}},18231:function(T,r,n){"use strict";var e=n(74685),a=Object.defineProperty;T.exports=function(t,o){try{a(e,t,{value:o,configurable:!0,writable:!0})}catch(m){e[t]=o}return o}},95108:function(T,r,n){"use strict";var e=n(89393),a=TypeError;T.exports=function(t,o){if(!delete t[o])throw new a("Cannot delete property "+e(o)+" of "+e(t))}},58310:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){return Object.defineProperty({},1,{get:function(){function a(){return 7}return a}()})[1]!==7})},12689:function(T,r,n){"use strict";var e=n(74685),a=n(77568),t=e.document,o=a(t)&&a(t.createElement);T.exports=function(m){return o?t.createElement(m):{}}},21291:function(T){"use strict";var r=TypeError,n=9007199254740991;T.exports=function(e){if(e>n)throw r("Maximum allowed index exceeded");return e}},652:function(T,r,n){"use strict";var e=n(63318),a=e.match(/firefox\/(\d+)/i);T.exports=!!a&&+a[1]},8180:function(T,r,n){"use strict";var e=n(73730),a=n(81702);T.exports=!e&&!a&&typeof window=="object"&&typeof document=="object"},49197:function(T){"use strict";T.exports=typeof Bun=="function"&&Bun&&typeof Bun.version=="string"},73730:function(T){"use strict";T.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},19228:function(T,r,n){"use strict";var e=n(63318);T.exports=/MSIE|Trident/.test(e)},51802:function(T,r,n){"use strict";var e=n(63318);T.exports=/ipad|iphone|ipod/i.test(e)&&typeof Pebble!="undefined"},83433:function(T,r,n){"use strict";var e=n(63318);T.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},81702:function(T,r,n){"use strict";var e=n(74685),a=n(7462);T.exports=a(e.process)==="process"},63383:function(T,r,n){"use strict";var e=n(63318);T.exports=/web0s(?!.*chrome)/i.test(e)},63318:function(T){"use strict";T.exports=typeof navigator!="undefined"&&String(navigator.userAgent)||""},5026:function(T,r,n){"use strict";var e=n(74685),a=n(63318),t=e.process,o=e.Deno,m=t&&t.versions||o&&o.version,b=m&&m.v8,y,B;b&&(y=b.split("."),B=y[0]>0&&y[0]<4?1:+(y[0]+y[1])),!B&&a&&(y=a.match(/Edge\/(\d+)/),(!y||y[1]>=74)&&(y=a.match(/Chrome\/(\d+)/),y&&(B=+y[1]))),T.exports=B},9342:function(T,r,n){"use strict";var e=n(63318),a=e.match(/AppleWebKit\/(\d+)\./);T.exports=!!a&&+a[1]},89453:function(T){"use strict";T.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},63964:function(T,r,n){"use strict";var e=n(74685),a=n(27193).f,t=n(37909),o=n(55938),m=n(18231),b=n(5774),y=n(41314);T.exports=function(B,k){var C=B.target,l=B.global,c=B.stat,f,u,d,s,i,h;if(l?u=e:c?u=e[C]||m(C,{}):u=e[C]&&e[C].prototype,u)for(d in k){if(i=k[d],B.dontCallGetSet?(h=a(u,d),s=h&&h.value):s=u[d],f=y(l?d:C+(c?".":"#")+d,B.forced),!f&&s!==void 0){if(typeof i==typeof s)continue;b(i,s)}(B.sham||s&&s.sham)&&t(i,"sham",!0),o(u,d,i,B)}}},40033:function(T){"use strict";T.exports=function(r){try{return!!r()}catch(n){return!0}}},79942:function(T,r,n){"use strict";n(79669);var e=n(91495),a=n(55938),t=n(14489),o=n(40033),m=n(24697),b=n(37909),y=m("species"),B=RegExp.prototype;T.exports=function(k,C,l,c){var f=m(k),u=!o(function(){var h={};return h[f]=function(){return 7},""[k](h)!==7}),d=u&&!o(function(){var h=!1,N=/a/;return k==="split"&&(N={},N.constructor={},N.constructor[y]=function(){return N},N.flags="",N[f]=/./[f]),N.exec=function(){return h=!0,null},N[f](""),!h});if(!u||!d||l){var s=/./[f],i=C(f,""[k],function(h,N,v,p,g){var V=N.exec;return V===t||V===B.exec?u&&!g?{done:!0,value:e(s,N,v,p)}:{done:!0,value:e(h,v,N,p)}:{done:!1}});a(String.prototype,k,i[0]),a(B,f,i[1])}c&&b(B[f],"sham",!0)}},65561:function(T,r,n){"use strict";var e=n(37386),a=n(24760),t=n(21291),o=n(75754),m=function b(y,B,k,C,l,c,f,u){for(var d=l,s=0,i=f?o(f,u):!1,h,N;s0&&e(h)?(N=a(h),d=b(y,B,h,N,d,c-1)-1):(t(d+1),y[d]=h),d++),s++;return d};T.exports=m},50730:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){return Object.isExtensible(Object.preventExtensions({}))})},61267:function(T,r,n){"use strict";var e=n(55050),a=Function.prototype,t=a.apply,o=a.call;T.exports=typeof Reflect=="object"&&Reflect.apply||(e?o.bind(t):function(){return o.apply(t,arguments)})},75754:function(T,r,n){"use strict";var e=n(71138),a=n(10320),t=n(55050),o=e(e.bind);T.exports=function(m,b){return a(m),b===void 0?m:t?o(m,b):function(){return m.apply(b,arguments)}}},55050:function(T,r,n){"use strict";var e=n(40033);T.exports=!e(function(){var a=function(){}.bind();return typeof a!="function"||a.hasOwnProperty("prototype")})},66284:function(T,r,n){"use strict";var e=n(67250),a=n(10320),t=n(77568),o=n(45299),m=n(54602),b=n(55050),y=Function,B=e([].concat),k=e([].join),C={},l=function(f,u,d){if(!o(C,u)){for(var s=[],i=0;i]*>)/g,B=/\$([$&'`]|\d{1,2})/g;T.exports=function(k,C,l,c,f,u){var d=l+k.length,s=c.length,i=B;return f!==void 0&&(f=a(f),i=y),m(u,i,function(h,N){var v;switch(o(N,0)){case"$":return"$";case"&":return k;case"`":return b(C,0,l);case"'":return b(C,d);case"<":v=f[b(N,1,-1)];break;default:var p=+N;if(p===0)return h;if(p>s){var g=t(p/10);return g===0?h:g<=s?c[g-1]===void 0?o(N,1):c[g-1]+o(N,1):h}v=c[p-1]}return v===void 0?"":v})}},74685:function(T,r,n){"use strict";var e=function(t){return t&&t.Math===Math&&t};T.exports=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof n.g=="object"&&n.g)||e(!1)||function(){return this}()||Function("return this")()},45299:function(T,r,n){"use strict";var e=n(67250),a=n(46771),t=e({}.hasOwnProperty);T.exports=Object.hasOwn||function(){function o(m,b){return t(a(m),b)}return o}()},79195:function(T){"use strict";T.exports={}},72259:function(T){"use strict";T.exports=function(r,n){try{arguments.length}catch(e){}}},5315:function(T,r,n){"use strict";var e=n(4009);T.exports=e("document","documentElement")},36223:function(T,r,n){"use strict";var e=n(58310),a=n(40033),t=n(12689);T.exports=!e&&!a(function(){return Object.defineProperty(t("div"),"a",{get:function(){function o(){return 7}return o}()}).a!==7})},91784:function(T){"use strict";var r=Array,n=Math.abs,e=Math.pow,a=Math.floor,t=Math.log,o=Math.LN2,m=function(B,k,C){var l=r(C),c=C*8-k-1,f=(1<>1,d=k===23?e(2,-24)-e(2,-77):0,s=B<0||B===0&&1/B<0?1:0,i=0,h,N,v;for(B=n(B),B!==B||B===1/0?(N=B!==B?1:0,h=f):(h=a(t(B)/o),v=e(2,-h),B*v<1&&(h--,v*=2),h+u>=1?B+=d/v:B+=d*e(2,1-u),B*v>=2&&(h++,v/=2),h+u>=f?(N=0,h=f):h+u>=1?(N=(B*v-1)*e(2,k),h+=u):(N=B*e(2,u-1)*e(2,k),h=0));k>=8;)l[i++]=N&255,N/=256,k-=8;for(h=h<0;)l[i++]=h&255,h/=256,c-=8;return l[--i]|=s*128,l},b=function(B,k){var C=B.length,l=C*8-k-1,c=(1<>1,u=l-7,d=C-1,s=B[d--],i=s&127,h;for(s>>=7;u>0;)i=i*256+B[d--],u-=8;for(h=i&(1<<-u)-1,i>>=-u,u+=k;u>0;)h=h*256+B[d--],u-=8;if(i===0)i=1-f;else{if(i===c)return h?NaN:s?-1/0:1/0;h+=e(2,k),i-=f}return(s?-1:1)*h*e(2,i-k)};T.exports={pack:m,unpack:b}},37457:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(7462),o=Object,m=e("".split);T.exports=a(function(){return!o("z").propertyIsEnumerable(0)})?function(b){return t(b)==="String"?m(b,""):o(b)}:o},5781:function(T,r,n){"use strict";var e=n(55747),a=n(77568),t=n(76649);T.exports=function(o,m,b){var y,B;return t&&e(y=m.constructor)&&y!==b&&a(B=y.prototype)&&B!==b.prototype&&t(o,B),o}},40492:function(T,r,n){"use strict";var e=n(67250),a=n(55747),t=n(40095),o=e(Function.toString);a(t.inspectSource)||(t.inspectSource=function(m){return o(m)}),T.exports=t.inspectSource},81969:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(79195),o=n(77568),m=n(45299),b=n(74595).f,y=n(37310),B=n(81644),k=n(81834),C=n(16738),l=n(50730),c=!1,f=C("meta"),u=0,d=function(g){b(g,f,{value:{objectID:"O"+u++,weakData:{}}})},s=function(g,V){if(!o(g))return typeof g=="symbol"?g:(typeof g=="string"?"S":"P")+g;if(!m(g,f)){if(!k(g))return"F";if(!V)return"E";d(g)}return g[f].objectID},i=function(g,V){if(!m(g,f)){if(!k(g))return!0;if(!V)return!1;d(g)}return g[f].weakData},h=function(g){return l&&c&&k(g)&&!m(g,f)&&d(g),g},N=function(){v.enable=function(){},c=!0;var g=y.f,V=a([].splice),S={};S[f]=1,g(S).length&&(y.f=function(I){for(var L=g(I),w=0,A=L.length;wI;I++)if(w=M(u[I]),w&&y(f,w))return w;return new c(!1)}V=B(u,S)}for(A=N?u.next:V.next;!(x=a(A,V)).done;){try{w=M(x.value)}catch(j){C(V,"throw",j)}if(typeof w=="object"&&w&&y(f,w))return w}return new c(!1)}},28649:function(T,r,n){"use strict";var e=n(91495),a=n(30365),t=n(78060);T.exports=function(o,m,b){var y,B;a(o);try{if(y=t(o,"return"),!y){if(m==="throw")throw b;return b}y=e(y,o)}catch(k){B=!0,y=k}if(m==="throw")throw b;if(B)throw y;return a(y),b}},5656:function(T,r,n){"use strict";var e=n(67635).IteratorPrototype,a=n(80674),t=n(87458),o=n(84925),m=n(83967),b=function(){return this};T.exports=function(y,B,k,C){var l=B+" Iterator";return y.prototype=a(e,{next:t(+!C,k)}),o(y,l,!1,!0),m[l]=b,y}},65574:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(4493),o=n(70520),m=n(55747),b=n(5656),y=n(36917),B=n(76649),k=n(84925),C=n(37909),l=n(55938),c=n(24697),f=n(83967),u=n(67635),d=o.PROPER,s=o.CONFIGURABLE,i=u.IteratorPrototype,h=u.BUGGY_SAFARI_ITERATORS,N=c("iterator"),v="keys",p="values",g="entries",V=function(){return this};T.exports=function(S,I,L,w,A,x,E){b(L,I,w);var M=function(Q){if(Q===A&&F)return F;if(!h&&Q&&Q in O)return O[Q];switch(Q){case v:return function(){function J(){return new L(this,Q)}return J}();case p:return function(){function J(){return new L(this,Q)}return J}();case g:return function(){function J(){return new L(this,Q)}return J}()}return function(){return new L(this)}},j=I+" Iterator",P=!1,O=S.prototype,D=O[N]||O["@@iterator"]||A&&O[A],F=!h&&D||M(A),W=I==="Array"&&O.entries||D,U,$,K;if(W&&(U=y(W.call(new S)),U!==Object.prototype&&U.next&&(!t&&y(U)!==i&&(B?B(U,i):m(U[N])||l(U,N,V)),k(U,j,!0,!0),t&&(f[j]=V))),d&&A===p&&D&&D.name!==p&&(!t&&s?C(O,"name",p):(P=!0,F=function(){function G(){return a(D,this)}return G}())),A)if($={values:M(p),keys:x?F:M(v),entries:M(g)},E)for(K in $)(h||P||!(K in O))&&l(O,K,$[K]);else e({target:I,proto:!0,forced:h||P},$);return(!t||E)&&O[N]!==F&&l(O,N,F,{name:A}),f[I]=F,$}},67635:function(T,r,n){"use strict";var e=n(40033),a=n(55747),t=n(77568),o=n(80674),m=n(36917),b=n(55938),y=n(24697),B=n(4493),k=y("iterator"),C=!1,l,c,f;[].keys&&(f=[].keys(),"next"in f?(c=m(m(f)),c!==Object.prototype&&(l=c)):C=!0);var u=!t(l)||e(function(){var d={};return l[k].call(d)!==d});u?l={}:B&&(l=o(l)),a(l[k])||b(l,k,function(){return this}),T.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:C}},83967:function(T){"use strict";T.exports={}},24760:function(T,r,n){"use strict";var e=n(10188);T.exports=function(a){return e(a.length)}},20001:function(T,r,n){"use strict";var e=n(67250),a=n(40033),t=n(55747),o=n(45299),m=n(58310),b=n(70520).CONFIGURABLE,y=n(40492),B=n(5419),k=B.enforce,C=B.get,l=String,c=Object.defineProperty,f=e("".slice),u=e("".replace),d=e([].join),s=m&&!a(function(){return c(function(){},"length",{value:8}).length!==8}),i=String(String).split("String"),h=T.exports=function(N,v,p){f(l(v),0,7)==="Symbol("&&(v="["+u(l(v),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),p&&p.getter&&(v="get "+v),p&&p.setter&&(v="set "+v),(!o(N,"name")||b&&N.name!==v)&&(m?c(N,"name",{value:v,configurable:!0}):N.name=v),s&&p&&o(p,"arity")&&N.length!==p.arity&&c(N,"length",{value:p.arity});try{p&&o(p,"constructor")&&p.constructor?m&&c(N,"prototype",{writable:!1}):N.prototype&&(N.prototype=void 0)}catch(V){}var g=k(N);return o(g,"source")||(g.source=d(i,typeof v=="string"?v:"")),N};Function.prototype.toString=h(function(){function N(){return t(this)&&C(this).source||y(this)}return N}(),"toString")},82040:function(T){"use strict";var r=Math.expm1,n=Math.exp;T.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!==-2e-17?function(){function e(a){var t=+a;return t===0?t:t>-1e-6&&t<1e-6?t+t*t/2:n(t)-1}return e}():r},14950:function(T,r,n){"use strict";var e=n(22172),a=Math.abs,t=2220446049250313e-31,o=1/t,m=function(y){return y+o-o};T.exports=function(b,y,B,k){var C=+b,l=a(C),c=e(C);if(lB||u!==u?c*(1/0):c*u}},95867:function(T,r,n){"use strict";var e=n(14950),a=11920928955078125e-23,t=34028234663852886e22,o=11754943508222875e-54;T.exports=Math.fround||function(){function m(b){return e(b,a,t,o)}return m}()},75002:function(T){"use strict";var r=Math.log,n=Math.LOG10E;T.exports=Math.log10||function(){function e(a){return r(a)*n}return e}()},90874:function(T){"use strict";var r=Math.log;T.exports=Math.log1p||function(){function n(e){var a=+e;return a>-1e-8&&a<1e-8?a-a*a/2:r(1+a)}return n}()},22172:function(T){"use strict";T.exports=Math.sign||function(){function r(n){var e=+n;return e===0||e!==e?e:e<0?-1:1}return r}()},21119:function(T){"use strict";var r=Math.ceil,n=Math.floor;T.exports=Math.trunc||function(){function e(a){var t=+a;return(t>0?n:r)(t)}return e}()},37713:function(T,r,n){"use strict";var e=n(74685),a=n(44915),t=n(75754),o=n(60375).set,m=n(9547),b=n(83433),y=n(51802),B=n(63383),k=n(81702),C=e.MutationObserver||e.WebKitMutationObserver,l=e.document,c=e.process,f=e.Promise,u=a("queueMicrotask"),d,s,i,h,N;if(!u){var v=new m,p=function(){var V,S;for(k&&(V=c.domain)&&V.exit();S=v.get();)try{S()}catch(I){throw v.head&&d(),I}V&&V.enter()};!b&&!k&&!B&&C&&l?(s=!0,i=l.createTextNode(""),new C(p).observe(i,{characterData:!0}),d=function(){i.data=s=!s}):!y&&f&&f.resolve?(h=f.resolve(void 0),h.constructor=f,N=t(h.then,h),d=function(){N(p)}):k?d=function(){c.nextTick(p)}:(o=t(o,e),d=function(){o(p)}),u=function(V){v.head||d(),v.add(V)}}T.exports=u},81837:function(T,r,n){"use strict";var e=n(10320),a=TypeError,t=function(m){var b,y;this.promise=new m(function(B,k){if(b!==void 0||y!==void 0)throw new a("Bad Promise constructor");b=B,y=k}),this.resolve=e(b),this.reject=e(y)};T.exports.f=function(o){return new t(o)}},86213:function(T,r,n){"use strict";var e=n(72586),a=TypeError;T.exports=function(t){if(e(t))throw new a("The method doesn't accept regular expressions");return t}},3294:function(T,r,n){"use strict";var e=n(74685),a=e.isFinite;T.exports=Number.isFinite||function(){function t(o){return typeof o=="number"&&a(o)}return t}()},28506:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),m=n(92648).trim,b=n(4198),y=t("".charAt),B=e.parseFloat,k=e.Symbol,C=k&&k.iterator,l=1/B(b+"-0")!==-1/0||C&&!a(function(){B(Object(C))});T.exports=l?function(){function c(f){var u=m(o(f)),d=B(u);return d===0&&y(u,0)==="-"?-0:d}return c}():B},13693:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(12605),m=n(92648).trim,b=n(4198),y=e.parseInt,B=e.Symbol,k=B&&B.iterator,C=/^[+-]?0x/i,l=t(C.exec),c=y(b+"08")!==8||y(b+"0x16")!==22||k&&!a(function(){y(Object(k))});T.exports=c?function(){function f(u,d){var s=m(o(u));return y(s,d>>>0||(l(C,s)?16:10))}return f}():y},41143:function(T,r,n){"use strict";var e=n(58310),a=n(67250),t=n(91495),o=n(40033),m=n(18450),b=n(89235),y=n(12867),B=n(46771),k=n(37457),C=Object.assign,l=Object.defineProperty,c=a([].concat);T.exports=!C||o(function(){if(e&&C({b:1},C(l({},"a",{enumerable:!0,get:function(){function i(){l(this,"b",{value:3,enumerable:!1})}return i}()}),{b:2})).b!==1)return!0;var f={},u={},d=Symbol("assign detection"),s="abcdefghijklmnopqrst";return f[d]=7,s.split("").forEach(function(i){u[i]=i}),C({},f)[d]!==7||m(C({},u)).join("")!==s})?function(){function f(u,d){for(var s=B(u),i=arguments.length,h=1,N=b.f,v=y.f;i>h;)for(var p=k(arguments[h++]),g=N?c(m(p),N(p)):m(p),V=g.length,S=0,I;V>S;)I=g[S++],(!e||t(v,p,I))&&(s[I]=p[I]);return s}return f}():C},80674:function(T,r,n){"use strict";var e=n(30365),a=n(24239),t=n(89453),o=n(79195),m=n(5315),b=n(12689),y=n(19417),B=">",k="<",C="prototype",l="script",c=y("IE_PROTO"),f=function(){},u=function(v){return k+l+B+v+k+"/"+l+B},d=function(v){v.write(u("")),v.close();var p=v.parentWindow.Object;return v=null,p},s=function(){var v=b("iframe"),p="java"+l+":",g;return v.style.display="none",m.appendChild(v),v.src=String(p),g=v.contentWindow.document,g.open(),g.write(u("document.F=Object")),g.close(),g.F},i,h=function(){try{i=new ActiveXObject("htmlfile")}catch(p){}h=typeof document!="undefined"?document.domain&&i?d(i):s():d(i);for(var v=t.length;v--;)delete h[C][t[v]];return h()};o[c]=!0,T.exports=Object.create||function(){function N(v,p){var g;return v!==null?(f[C]=e(v),g=new f,f[C]=null,g[c]=v):g=h(),p===void 0?g:a.f(g,p)}return N}()},24239:function(T,r,n){"use strict";var e=n(58310),a=n(80944),t=n(74595),o=n(30365),m=n(57591),b=n(18450);r.f=e&&!a?Object.defineProperties:function(){function y(B,k){o(B);for(var C=m(k),l=b(k),c=l.length,f=0,u;c>f;)t.f(B,u=l[f++],C[u]);return B}return y}()},74595:function(T,r,n){"use strict";var e=n(58310),a=n(36223),t=n(80944),o=n(30365),m=n(767),b=TypeError,y=Object.defineProperty,B=Object.getOwnPropertyDescriptor,k="enumerable",C="configurable",l="writable";r.f=e?t?function(){function c(f,u,d){if(o(f),u=m(u),o(d),typeof f=="function"&&u==="prototype"&&"value"in d&&l in d&&!d[l]){var s=B(f,u);s&&s[l]&&(f[u]=d.value,d={configurable:C in d?d[C]:s[C],enumerable:k in d?d[k]:s[k],writable:!1})}return y(f,u,d)}return c}():y:function(){function c(f,u,d){if(o(f),u=m(u),o(d),a)try{return y(f,u,d)}catch(s){}if("get"in d||"set"in d)throw new b("Accessors not supported");return"value"in d&&(f[u]=d.value),f}return c}()},27193:function(T,r,n){"use strict";var e=n(58310),a=n(91495),t=n(12867),o=n(87458),m=n(57591),b=n(767),y=n(45299),B=n(36223),k=Object.getOwnPropertyDescriptor;r.f=e?k:function(){function C(l,c){if(l=m(l),c=b(c),B)try{return k(l,c)}catch(f){}if(y(l,c))return o(!a(t.f,l,c),l[c])}return C}()},81644:function(T,r,n){"use strict";var e=n(7462),a=n(57591),t=n(37310).f,o=n(54602),m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],b=function(B){try{return t(B)}catch(k){return o(m)}};T.exports.f=function(){function y(B){return m&&e(B)==="Window"?b(B):t(a(B))}return y}()},37310:function(T,r,n){"use strict";var e=n(53726),a=n(89453),t=a.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(){function o(m){return e(m,t)}return o}()},89235:function(T,r){"use strict";r.f=Object.getOwnPropertySymbols},36917:function(T,r,n){"use strict";var e=n(45299),a=n(55747),t=n(46771),o=n(19417),m=n(9225),b=o("IE_PROTO"),y=Object,B=y.prototype;T.exports=m?y.getPrototypeOf:function(k){var C=t(k);if(e(C,b))return C[b];var l=C.constructor;return a(l)&&C instanceof l?l.prototype:C instanceof y?B:null}},81834:function(T,r,n){"use strict";var e=n(40033),a=n(77568),t=n(7462),o=n(3782),m=Object.isExtensible,b=e(function(){m(1)});T.exports=b||o?function(){function y(B){return!a(B)||o&&t(B)==="ArrayBuffer"?!1:m?m(B):!0}return y}():m},21287:function(T,r,n){"use strict";var e=n(67250);T.exports=e({}.isPrototypeOf)},53726:function(T,r,n){"use strict";var e=n(67250),a=n(45299),t=n(57591),o=n(14211).indexOf,m=n(79195),b=e([].push);T.exports=function(y,B){var k=t(y),C=0,l=[],c;for(c in k)!a(m,c)&&a(k,c)&&b(l,c);for(;B.length>C;)a(k,c=B[C++])&&(~o(l,c)||b(l,c));return l}},18450:function(T,r,n){"use strict";var e=n(53726),a=n(89453);T.exports=Object.keys||function(){function t(o){return e(o,a)}return t}()},12867:function(T,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,a=e&&!n.call({1:2},1);r.f=a?function(){function t(o){var m=e(this,o);return!!m&&m.enumerable}return t}():n},57377:function(T,r,n){"use strict";var e=n(4493),a=n(74685),t=n(40033),o=n(9342);T.exports=e||!t(function(){if(!(o&&o<535)){var m=Math.random();__defineSetter__.call(null,m,function(){}),delete a[m]}})},76649:function(T,r,n){"use strict";var e=n(38656),a=n(77568),t=n(16952),o=n(35908);T.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var m=!1,b={},y;try{y=e(Object.prototype,"__proto__","set"),y(b,[]),m=b instanceof Array}catch(B){}return function(){function B(k,C){return t(k),o(C),a(k)&&(m?y(k,C):k.__proto__=C),k}return B}()}():void 0)},70915:function(T,r,n){"use strict";var e=n(58310),a=n(40033),t=n(67250),o=n(36917),m=n(18450),b=n(57591),y=n(12867).f,B=t(y),k=t([].push),C=e&&a(function(){var c=Object.create(null);return c[2]=2,!B(c,2)}),l=function(f){return function(u){for(var d=b(u),s=m(d),i=C&&o(d)===null,h=s.length,N=0,v=[],p;h>N;)p=s[N++],(!e||(i?p in d:B(d,p)))&&k(v,f?[p,d[p]]:d[p]);return v}};T.exports={entries:l(!0),values:l(!1)}},2509:function(T,r,n){"use strict";var e=n(2650),a=n(2281);T.exports=e?{}.toString:function(){function t(){return"[object "+a(this)+"]"}return t}()},13396:function(T,r,n){"use strict";var e=n(91495),a=n(55747),t=n(77568),o=TypeError;T.exports=function(m,b){var y,B;if(b==="string"&&a(y=m.toString)&&!t(B=e(y,m))||a(y=m.valueOf)&&!t(B=e(y,m))||b!=="string"&&a(y=m.toString)&&!t(B=e(y,m)))return B;throw new o("Can't convert object to primitive value")}},97921:function(T,r,n){"use strict";var e=n(4009),a=n(67250),t=n(37310),o=n(89235),m=n(30365),b=a([].concat);T.exports=e("Reflect","ownKeys")||function(){function y(B){var k=t.f(m(B)),C=o.f;return C?b(k,C(B)):k}return y}()},61765:function(T,r,n){"use strict";var e=n(74685);T.exports=e},10729:function(T){"use strict";T.exports=function(r){try{return{error:!1,value:r()}}catch(n){return{error:!0,value:n}}}},74854:function(T,r,n){"use strict";var e=n(74685),a=n(67512),t=n(55747),o=n(41314),m=n(40492),b=n(24697),y=n(8180),B=n(73730),k=n(4493),C=n(5026),l=a&&a.prototype,c=b("species"),f=!1,u=t(e.PromiseRejectionEvent),d=o("Promise",function(){var s=m(a),i=s!==String(a);if(!i&&C===66||k&&!(l.catch&&l.finally))return!0;if(!C||C<51||!/native code/.test(s)){var h=new a(function(p){p(1)}),N=function(g){g(function(){},function(){})},v=h.constructor={};if(v[c]=N,f=h.then(function(){})instanceof N,!f)return!0}return!i&&(y||B)&&!u});T.exports={CONSTRUCTOR:d,REJECTION_EVENT:u,SUBCLASSING:f}},67512:function(T,r,n){"use strict";var e=n(74685);T.exports=e.Promise},66628:function(T,r,n){"use strict";var e=n(30365),a=n(77568),t=n(81837);T.exports=function(o,m){if(e(o),a(m)&&m.constructor===o)return m;var b=t.f(o),y=b.resolve;return y(m),b.promise}},48199:function(T,r,n){"use strict";var e=n(67512),a=n(92490),t=n(74854).CONSTRUCTOR;T.exports=t||!a(function(o){e.all(o).then(void 0,function(){})})},34550:function(T,r,n){"use strict";var e=n(74595).f;T.exports=function(a,t,o){o in a||e(a,o,{configurable:!0,get:function(){function m(){return t[o]}return m}(),set:function(){function m(b){t[o]=b}return m}()})}},9547:function(T){"use strict";var r=function(){this.head=null,this.tail=null};r.prototype={add:function(){function n(e){var a={item:e,next:null},t=this.tail;t?t.next=a:this.head=a,this.tail=a}return n}(),get:function(){function n(){var e=this.head;if(e){var a=this.head=e.next;return a===null&&(this.tail=null),e.item}}return n}()},T.exports=r},28340:function(T,r,n){"use strict";var e=n(91495),a=n(30365),t=n(55747),o=n(7462),m=n(14489),b=TypeError;T.exports=function(y,B){var k=y.exec;if(t(k)){var C=e(k,y,B);return C!==null&&a(C),C}if(o(y)==="RegExp")return e(m,y,B);throw new b("RegExp#exec called on incompatible receiver")}},14489:function(T,r,n){"use strict";var e=n(91495),a=n(67250),t=n(12605),o=n(70901),m=n(62115),b=n(16639),y=n(80674),B=n(5419).get,k=n(39173),C=n(35688),l=b("native-string-replace",String.prototype.replace),c=RegExp.prototype.exec,f=c,u=a("".charAt),d=a("".indexOf),s=a("".replace),i=a("".slice),h=function(){var g=/a/,V=/b*/g;return e(c,g,"a"),e(c,V,"a"),g.lastIndex!==0||V.lastIndex!==0}(),N=m.BROKEN_CARET,v=/()??/.exec("")[1]!==void 0,p=h||v||N||k||C;p&&(f=function(){function g(V){var S=this,I=B(S),L=t(V),w=I.raw,A,x,E,M,j,P,O;if(w)return w.lastIndex=S.lastIndex,A=e(f,w,L),S.lastIndex=w.lastIndex,A;var D=I.groups,F=N&&S.sticky,W=e(o,S),U=S.source,$=0,K=L;if(F&&(W=s(W,"y",""),d(W,"g")===-1&&(W+="g"),K=i(L,S.lastIndex),S.lastIndex>0&&(!S.multiline||S.multiline&&u(L,S.lastIndex-1)!=="\n")&&(U="(?: "+U+")",K=" "+K,$++),x=new RegExp("^(?:"+U+")",W)),v&&(x=new RegExp("^"+U+"$(?!\\s)",W)),h&&(E=S.lastIndex),M=e(c,F?x:S,K),F?M?(M.input=i(M.input,$),M[0]=i(M[0],$),M.index=S.lastIndex,S.lastIndex+=M[0].length):S.lastIndex=0:h&&M&&(S.lastIndex=S.global?M.index+M[0].length:E),v&&M&&M.length>1&&e(l,M[0],x,function(){for(j=1;jb)","g");return o.exec("b").groups.a!=="b"||"b".replace(o,"$c")!=="bc"})},16952:function(T,r,n){"use strict";var e=n(42871),a=TypeError;T.exports=function(t){if(e(t))throw new a("Can't call method on "+t);return t}},44915:function(T,r,n){"use strict";var e=n(74685),a=n(58310),t=Object.getOwnPropertyDescriptor;T.exports=function(o){if(!a)return e[o];var m=t(e,o);return m&&m.value}},5700:function(T){"use strict";T.exports=Object.is||function(){function r(n,e){return n===e?n!==0||1/n===1/e:n!==n&&e!==e}return r}()},78362:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(55747),o=n(49197),m=n(63318),b=n(54602),y=n(24986),B=e.Function,k=/MSIE .\./.test(m)||o&&function(){var C=e.Bun.version.split(".");return C.length<3||C[0]==="0"&&(C[1]<3||C[1]==="3"&&C[2]==="0")}();T.exports=function(C,l){var c=l?2:1;return k?function(f,u){var d=y(arguments.length,1)>c,s=t(f)?f:B(f),i=d?b(arguments,c):[],h=d?function(){a(s,this,i)}:s;return l?C(h,u):C(h)}:C}},58491:function(T,r,n){"use strict";var e=n(4009),a=n(73936),t=n(24697),o=n(58310),m=t("species");T.exports=function(b){var y=e(b);o&&y&&!y[m]&&a(y,m,{configurable:!0,get:function(){function B(){return this}return B}()})}},84925:function(T,r,n){"use strict";var e=n(74595).f,a=n(45299),t=n(24697),o=t("toStringTag");T.exports=function(m,b,y){m&&!y&&(m=m.prototype),m&&!a(m,o)&&e(m,o,{configurable:!0,value:b})}},19417:function(T,r,n){"use strict";var e=n(16639),a=n(16738),t=e("keys");T.exports=function(o){return t[o]||(t[o]=a(o))}},40095:function(T,r,n){"use strict";var e=n(4493),a=n(74685),t=n(18231),o="__core-js_shared__",m=T.exports=a[o]||t(o,{});(m.versions||(m.versions=[])).push({version:"3.37.1",mode:e?"pure":"global",copyright:"\xA9 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.1/LICENSE",source:"https://github.com/zloirock/core-js"})},16639:function(T,r,n){"use strict";var e=n(40095);T.exports=function(a,t){return e[a]||(e[a]=t||{})}},28987:function(T,r,n){"use strict";var e=n(30365),a=n(32606),t=n(42871),o=n(24697),m=o("species");T.exports=function(b,y){var B=e(b).constructor,k;return B===void 0||t(k=e(B)[m])?y:a(k)}},88539:function(T,r,n){"use strict";var e=n(40033);T.exports=function(a){return e(function(){var t=""[a]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},50233:function(T,r,n){"use strict";var e=n(67250),a=n(61365),t=n(12605),o=n(16952),m=e("".charAt),b=e("".charCodeAt),y=e("".slice),B=function(C){return function(l,c){var f=t(o(l)),u=a(c),d=f.length,s,i;return u<0||u>=d?C?"":void 0:(s=b(f,u),s<55296||s>56319||u+1===d||(i=b(f,u+1))<56320||i>57343?C?m(f,u):s:C?y(f,u,u+2):(s-55296<<10)+(i-56320)+65536)}};T.exports={codeAt:B(!1),charAt:B(!0)}},34125:function(T,r,n){"use strict";var e=n(63318);T.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e)},24051:function(T,r,n){"use strict";var e=n(67250),a=n(10188),t=n(12605),o=n(62443),m=n(16952),b=e(o),y=e("".slice),B=Math.ceil,k=function(l){return function(c,f,u){var d=t(m(c)),s=a(f),i=d.length,h=u===void 0?" ":t(u),N,v;return s<=i||h===""?d:(N=s-i,v=b(h,B(N/h.length)),v.length>N&&(v=y(v,0,N)),l?d+v:v+d)}};T.exports={start:k(!1),end:k(!0)}},62443:function(T,r,n){"use strict";var e=n(61365),a=n(12605),t=n(16952),o=RangeError;T.exports=function(){function m(b){var y=a(t(this)),B="",k=e(b);if(k<0||k===1/0)throw new o("Wrong number of repetitions");for(;k>0;(k>>>=1)&&(y+=y))k&1&&(B+=y);return B}return m}()},43476:function(T,r,n){"use strict";var e=n(92648).end,a=n(90012);T.exports=a("trimEnd")?function(){function t(){return e(this)}return t}():"".trimEnd},90012:function(T,r,n){"use strict";var e=n(70520).PROPER,a=n(40033),t=n(4198),o="\u200B\x85\u180E";T.exports=function(m){return a(function(){return!!t[m]()||o[m]()!==o||e&&t[m].name!==m})}},43885:function(T,r,n){"use strict";var e=n(92648).start,a=n(90012);T.exports=a("trimStart")?function(){function t(){return e(this)}return t}():"".trimStart},92648:function(T,r,n){"use strict";var e=n(67250),a=n(16952),t=n(12605),o=n(4198),m=e("".replace),b=RegExp("^["+o+"]+"),y=RegExp("(^|[^"+o+"])["+o+"]+$"),B=function(C){return function(l){var c=t(a(l));return C&1&&(c=m(c,b,"")),C&2&&(c=m(c,y,"$1")),c}};T.exports={start:B(1),end:B(2),trim:B(3)}},52357:function(T,r,n){"use strict";var e=n(5026),a=n(40033),t=n(74685),o=t.String;T.exports=!!Object.getOwnPropertySymbols&&!a(function(){var m=Symbol("symbol detection");return!o(m)||!(Object(m)instanceof Symbol)||!Symbol.sham&&e&&e<41})},52360:function(T,r,n){"use strict";var e=n(91495),a=n(4009),t=n(24697),o=n(55938);T.exports=function(){var m=a("Symbol"),b=m&&m.prototype,y=b&&b.valueOf,B=t("toPrimitive");b&&!b[B]&&o(b,B,function(k){return e(y,this)},{arity:1})}},66570:function(T,r,n){"use strict";var e=n(52357);T.exports=e&&!!Symbol.for&&!!Symbol.keyFor},60375:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(75754),o=n(55747),m=n(45299),b=n(40033),y=n(5315),B=n(54602),k=n(12689),C=n(24986),l=n(83433),c=n(81702),f=e.setImmediate,u=e.clearImmediate,d=e.process,s=e.Dispatch,i=e.Function,h=e.MessageChannel,N=e.String,v=0,p={},g="onreadystatechange",V,S,I,L;b(function(){V=e.location});var w=function(j){if(m(p,j)){var P=p[j];delete p[j],P()}},A=function(j){return function(){w(j)}},x=function(j){w(j.data)},E=function(j){e.postMessage(N(j),V.protocol+"//"+V.host)};(!f||!u)&&(f=function(){function M(j){C(arguments.length,1);var P=o(j)?j:i(j),O=B(arguments,1);return p[++v]=function(){a(P,void 0,O)},S(v),v}return M}(),u=function(){function M(j){delete p[j]}return M}(),c?S=function(j){d.nextTick(A(j))}:s&&s.now?S=function(j){s.now(A(j))}:h&&!l?(I=new h,L=I.port2,I.port1.onmessage=x,S=t(L.postMessage,L)):e.addEventListener&&o(e.postMessage)&&!e.importScripts&&V&&V.protocol!=="file:"&&!b(E)?(S=E,e.addEventListener("message",x,!1)):g in k("script")?S=function(j){y.appendChild(k("script"))[g]=function(){y.removeChild(this),w(j)}}:S=function(j){setTimeout(A(j),0)}),T.exports={set:f,clear:u}},46438:function(T,r,n){"use strict";var e=n(67250);T.exports=e(1 .valueOf)},13912:function(T,r,n){"use strict";var e=n(61365),a=Math.max,t=Math.min;T.exports=function(o,m){var b=e(o);return b<0?a(b+m,0):t(b,m)}},61484:function(T,r,n){"use strict";var e=n(24843),a=TypeError;T.exports=function(t){var o=e(t,"number");if(typeof o=="number")throw new a("Can't convert number to bigint");return BigInt(o)}},43806:function(T,r,n){"use strict";var e=n(61365),a=n(10188),t=RangeError;T.exports=function(o){if(o===void 0)return 0;var m=e(o),b=a(m);if(m!==b)throw new t("Wrong length or index");return b}},57591:function(T,r,n){"use strict";var e=n(37457),a=n(16952);T.exports=function(t){return e(a(t))}},61365:function(T,r,n){"use strict";var e=n(21119);T.exports=function(a){var t=+a;return t!==t||t===0?0:e(t)}},10188:function(T,r,n){"use strict";var e=n(61365),a=Math.min;T.exports=function(t){var o=e(t);return o>0?a(o,9007199254740991):0}},46771:function(T,r,n){"use strict";var e=n(16952),a=Object;T.exports=function(t){return a(e(t))}},56043:function(T,r,n){"use strict";var e=n(16140),a=RangeError;T.exports=function(t,o){var m=e(t);if(m%o)throw new a("Wrong offset");return m}},16140:function(T,r,n){"use strict";var e=n(61365),a=RangeError;T.exports=function(t){var o=e(t);if(o<0)throw new a("The argument can't be less than 0");return o}},24843:function(T,r,n){"use strict";var e=n(91495),a=n(77568),t=n(71399),o=n(78060),m=n(13396),b=n(24697),y=TypeError,B=b("toPrimitive");T.exports=function(k,C){if(!a(k)||t(k))return k;var l=o(k,B),c;if(l){if(C===void 0&&(C="default"),c=e(l,k,C),!a(c)||t(c))return c;throw new y("Can't convert object to primitive value")}return C===void 0&&(C="number"),m(k,C)}},767:function(T,r,n){"use strict";var e=n(24843),a=n(71399);T.exports=function(t){var o=e(t,"string");return a(o)?o:o+""}},2650:function(T,r,n){"use strict";var e=n(24697),a=e("toStringTag"),t={};t[a]="z",T.exports=String(t)==="[object z]"},12605:function(T,r,n){"use strict";var e=n(2281),a=String;T.exports=function(t){if(e(t)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return a(t)}},15409:function(T){"use strict";var r=Math.round;T.exports=function(n){var e=r(n);return e<0?0:e>255?255:e&255}},89393:function(T){"use strict";var r=String;T.exports=function(n){try{return r(n)}catch(e){return"Object"}}},80185:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(58310),m=n(86563),b=n(4246),y=n(37336),B=n(60077),k=n(87458),C=n(37909),l=n(5841),c=n(10188),f=n(43806),u=n(56043),d=n(15409),s=n(767),i=n(45299),h=n(2281),N=n(77568),v=n(71399),p=n(80674),g=n(21287),V=n(76649),S=n(37310).f,I=n(3805),L=n(22603).forEach,w=n(58491),A=n(73936),x=n(74595),E=n(27193),M=n(78008),j=n(5419),P=n(5781),O=j.get,D=j.set,F=j.enforce,W=x.f,U=E.f,$=a.RangeError,K=y.ArrayBuffer,G=K.prototype,Q=y.DataView,J=b.NATIVE_ARRAY_BUFFER_VIEWS,ue=b.TYPED_ARRAY_TAG,ie=b.TypedArray,he=b.TypedArrayPrototype,te=b.isTypedArray,q="BYTES_PER_ELEMENT",ne="Wrong length",le=function(Y,ve){A(Y,ve,{configurable:!0,get:function(){function pe(){return O(this)[ve]}return pe}()})},ee=function(Y){var ve;return g(G,Y)||(ve=h(Y))==="ArrayBuffer"||ve==="SharedArrayBuffer"},re=function(Y,ve){return te(Y)&&!v(ve)&&ve in Y&&l(+ve)&&ve>=0},oe=function(){function me(Y,ve){return ve=s(ve),re(Y,ve)?k(2,Y[ve]):U(Y,ve)}return me}(),fe=function(){function me(Y,ve,pe){return ve=s(ve),re(Y,ve)&&N(pe)&&i(pe,"value")&&!i(pe,"get")&&!i(pe,"set")&&!pe.configurable&&(!i(pe,"writable")||pe.writable)&&(!i(pe,"enumerable")||pe.enumerable)?(Y[ve]=pe.value,Y):W(Y,ve,pe)}return me}();o?(J||(E.f=oe,x.f=fe,le(he,"buffer"),le(he,"byteOffset"),le(he,"byteLength"),le(he,"length")),e({target:"Object",stat:!0,forced:!J},{getOwnPropertyDescriptor:oe,defineProperty:fe}),T.exports=function(me,Y,ve){var pe=me.match(/\d+/)[0]/8,Ve=me+(ve?"Clamped":"")+"Array",Be="get"+me,be="set"+me,Le=a[Ve],we=Le,xe=we&&we.prototype,Re={},ze=function(ge,Se){var Pe=O(ge);return Pe.view[Be](Se*pe+Pe.byteOffset,!0)},ye=function(ge,Se,Pe){var je=O(ge);je.view[be](Se*pe+je.byteOffset,ve?d(Pe):Pe,!0)},de=function(ge,Se){W(ge,Se,{get:function(){function Pe(){return ze(this,Se)}return Pe}(),set:function(){function Pe(je){return ye(this,Se,je)}return Pe}(),enumerable:!0})};J?m&&(we=Y(function(ke,ge,Se,Pe){return B(ke,xe),P(function(){return N(ge)?ee(ge)?Pe!==void 0?new Le(ge,u(Se,pe),Pe):Se!==void 0?new Le(ge,u(Se,pe)):new Le(ge):te(ge)?M(we,ge):t(I,we,ge):new Le(f(ge))}(),ke,we)}),V&&V(we,ie),L(S(Le),function(ke){ke in we||C(we,ke,Le[ke])}),we.prototype=xe):(we=Y(function(ke,ge,Se,Pe){B(ke,xe);var je=0,Fe=0,He,We,Ue;if(!N(ge))Ue=f(ge),We=Ue*pe,He=new K(We);else if(ee(ge)){He=ge,Fe=u(Se,pe);var Xe=ge.byteLength;if(Pe===void 0){if(Xe%pe)throw new $(ne);if(We=Xe-Fe,We<0)throw new $(ne)}else if(We=c(Pe)*pe,We+Fe>Xe)throw new $(ne);Ue=We/pe}else return te(ge)?M(we,ge):t(I,we,ge);for(D(ke,{buffer:He,byteOffset:Fe,byteLength:We,length:Ue,view:new Q(He)});je1?arguments[1]:void 0,h=i!==void 0,N=y(d),v,p,g,V,S,I,L,w;if(N&&!B(N))for(L=b(d,N),w=L.next,d=[];!(I=a(w,L)).done;)d.push(I.value);for(h&&s>2&&(i=e(i,arguments[2])),p=m(d),g=new(C(u))(p),V=k(g),v=0;p>v;v++)S=h?i(d[v],v):d[v],g[v]=V?l(S):+S;return g}return c}()},31082:function(T,r,n){"use strict";var e=n(4246),a=n(28987),t=e.aTypedArrayConstructor,o=e.getTypedArrayConstructor;T.exports=function(m){return t(a(m,o(m)))}},16738:function(T,r,n){"use strict";var e=n(67250),a=0,t=Math.random(),o=e(1 .toString);T.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+o(++a+t,36)}},1062:function(T,r,n){"use strict";var e=n(52357);T.exports=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},80944:function(T,r,n){"use strict";var e=n(58310),a=n(40033);T.exports=e&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},24986:function(T){"use strict";var r=TypeError;T.exports=function(n,e){if(n=51||!a(function(){var i=[];return i[f]=!1,i.concat()[0]!==i}),d=function(h){if(!o(h))return!1;var N=h[f];return N!==void 0?!!N:t(h)},s=!u||!C("concat");e({target:"Array",proto:!0,arity:1,forced:s},{concat:function(){function i(h){var N=m(this),v=k(N,0),p=0,g,V,S,I,L;for(g=-1,S=arguments.length;g1?arguments[1]:void 0)}return m}()})},68933:function(T,r,n){"use strict";var e=n(63964),a=n(88471),t=n(80575);e({target:"Array",proto:!0},{fill:a}),t("fill")},47830:function(T,r,n){"use strict";var e=n(63964),a=n(22603).filter,t=n(44091),o=t("filter");e({target:"Array",proto:!0,forced:!o},{filter:function(){function m(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}return m}()})},64094:function(T,r,n){"use strict";var e=n(63964),a=n(22603).findIndex,t=n(80575),o="findIndex",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{findIndex:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),t(o)},13455:function(T,r,n){"use strict";var e=n(63964),a=n(22603).find,t=n(80575),o="find",m=!0;o in[]&&Array(1)[o](function(){m=!1}),e({target:"Array",proto:!0,forced:m},{find:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),t(o)},32384:function(T,r,n){"use strict";var e=n(63964),a=n(65561),t=n(10320),o=n(46771),m=n(24760),b=n(57823);e({target:"Array",proto:!0},{flatMap:function(){function y(B){var k=o(this),C=m(k),l;return t(B),l=b(k,0),l.length=a(l,k,k,C,0,1,B,arguments.length>1?arguments[1]:void 0),l}return y}()})},61915:function(T,r,n){"use strict";var e=n(63964),a=n(65561),t=n(46771),o=n(24760),m=n(61365),b=n(57823);e({target:"Array",proto:!0},{flat:function(){function y(){var B=arguments.length?arguments[0]:void 0,k=t(this),C=o(k),l=b(k,0);return l.length=a(l,k,k,C,0,B===void 0?1:m(B)),l}return y}()})},25579:function(T,r,n){"use strict";var e=n(63964),a=n(35601);e({target:"Array",proto:!0,forced:[].forEach!==a},{forEach:a})},63532:function(T,r,n){"use strict";var e=n(63964),a=n(73174),t=n(92490),o=!t(function(m){Array.from(m)});e({target:"Array",stat:!0,forced:o},{from:a})},33425:function(T,r,n){"use strict";var e=n(63964),a=n(14211).includes,t=n(40033),o=n(80575),m=t(function(){return!Array(1).includes()});e({target:"Array",proto:!0,forced:m},{includes:function(){function b(y){return a(this,y,arguments.length>1?arguments[1]:void 0)}return b}()}),o("includes")},43894:function(T,r,n){"use strict";var e=n(63964),a=n(71138),t=n(14211).indexOf,o=n(55528),m=a([].indexOf),b=!!m&&1/m([1],1,-0)<0,y=b||!o("indexOf");e({target:"Array",proto:!0,forced:y},{indexOf:function(){function B(k){var C=arguments.length>1?arguments[1]:void 0;return b?m(this,k,C)||0:t(this,k,C)}return B}()})},99636:function(T,r,n){"use strict";var e=n(63964),a=n(37386);e({target:"Array",stat:!0},{isArray:a})},34570:function(T,r,n){"use strict";var e=n(57591),a=n(80575),t=n(83967),o=n(5419),m=n(74595).f,b=n(65574),y=n(5959),B=n(4493),k=n(58310),C="Array Iterator",l=o.set,c=o.getterFor(C);T.exports=b(Array,"Array",function(u,d){l(this,{type:C,target:e(u),index:0,kind:d})},function(){var u=c(this),d=u.target,s=u.index++;if(!d||s>=d.length)return u.target=void 0,y(void 0,!0);switch(u.kind){case"keys":return y(s,!1);case"values":return y(d[s],!1)}return y([s,d[s]],!1)},"values");var f=t.Arguments=t.Array;if(a("keys"),a("values"),a("entries"),!B&&k&&f.name!=="values")try{m(f,"name",{value:"values"})}catch(u){}},94432:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37457),o=n(57591),m=n(55528),b=a([].join),y=t!==Object,B=y||!m("join",",");e({target:"Array",proto:!0,forced:B},{join:function(){function k(C){return b(o(this),C===void 0?",":C)}return k}()})},24683:function(T,r,n){"use strict";var e=n(63964),a=n(1325);e({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},69984:function(T,r,n){"use strict";var e=n(63964),a=n(22603).map,t=n(44091),o=t("map");e({target:"Array",proto:!0,forced:!o},{map:function(){function m(b){return a(this,b,arguments.length>1?arguments[1]:void 0)}return m}()})},32089:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(1031),o=n(60102),m=Array,b=a(function(){function y(){}return!(m.of.call(y)instanceof y)});e({target:"Array",stat:!0,forced:b},{of:function(){function y(){for(var B=0,k=arguments.length,C=new(t(this)?this:m)(k);k>B;)o(C,B,arguments[B++]);return C.length=k,C}return y}()})},29645:function(T,r,n){"use strict";var e=n(63964),a=n(56844).right,t=n(55528),o=n(5026),m=n(81702),b=!m&&o>79&&o<83,y=b||!t("reduceRight");e({target:"Array",proto:!0,forced:y},{reduceRight:function(){function B(k){return a(this,k,arguments.length,arguments.length>1?arguments[1]:void 0)}return B}()})},60206:function(T,r,n){"use strict";var e=n(63964),a=n(56844).left,t=n(55528),o=n(5026),m=n(81702),b=!m&&o>79&&o<83,y=b||!t("reduce");e({target:"Array",proto:!0,forced:y},{reduce:function(){function B(k){var C=arguments.length;return a(this,k,C,C>1?arguments[1]:void 0)}return B}()})},4788:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(37386),o=a([].reverse),m=[1,2];e({target:"Array",proto:!0,forced:String(m)===String(m.reverse())},{reverse:function(){function b(){return t(this)&&(this.length=this.length),o(this)}return b}()})},58672:function(T,r,n){"use strict";var e=n(63964),a=n(37386),t=n(1031),o=n(77568),m=n(13912),b=n(24760),y=n(57591),B=n(60102),k=n(24697),C=n(44091),l=n(54602),c=C("slice"),f=k("species"),u=Array,d=Math.max;e({target:"Array",proto:!0,forced:!c},{slice:function(){function s(i,h){var N=y(this),v=b(N),p=m(i,v),g=m(h===void 0?v:h,v),V,S,I;if(a(N)&&(V=N.constructor,t(V)&&(V===u||a(V.prototype))?V=void 0:o(V)&&(V=V[f],V===null&&(V=void 0)),V===u||V===void 0))return l(N,p,g);for(S=new(V===void 0?u:V)(d(g-p,0)),I=0;p1?arguments[1]:void 0)}return m}()})},48968:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(10320),o=n(46771),m=n(24760),b=n(95108),y=n(12605),B=n(40033),k=n(90274),C=n(55528),l=n(652),c=n(19228),f=n(5026),u=n(9342),d=[],s=a(d.sort),i=a(d.push),h=B(function(){d.sort(void 0)}),N=B(function(){d.sort(null)}),v=C("sort"),p=!B(function(){if(f)return f<70;if(!(l&&l>3)){if(c)return!0;if(u)return u<603;var S="",I,L,w,A;for(I=65;I<76;I++){switch(L=String.fromCharCode(I),I){case 66:case 69:case 70:case 72:w=3;break;case 68:case 71:w=4;break;default:w=2}for(A=0;A<47;A++)d.push({k:L+A,v:w})}for(d.sort(function(x,E){return E.v-x.v}),A=0;Ay(w)?1:-1}};e({target:"Array",proto:!0,forced:g},{sort:function(){function S(I){I!==void 0&&t(I);var L=o(this);if(p)return I===void 0?s(L):s(L,I);var w=[],A=m(L),x,E;for(E=0;EN-V+g;I--)C(h,I-1)}else if(g>V)for(I=N-V;I>v;I--)L=I+V-1,w=I+g-1,L in h?h[w]=h[L]:C(h,w);for(I=0;I9490626562425156e-8?o(C)+b:a(C-1+m(C-1)*m(C+1))}return B}()})},59660:function(T,r,n){"use strict";var e=n(63964),a=Math.asinh,t=Math.log,o=Math.sqrt;function m(y){var B=+y;return!isFinite(B)||B===0?B:B<0?-m(-B):t(B+o(B*B+1))}var b=!(a&&1/a(0)>0);e({target:"Math",stat:!0,forced:b},{asinh:m})},15383:function(T,r,n){"use strict";var e=n(63964),a=Math.atanh,t=Math.log,o=!(a&&1/a(-0)<0);e({target:"Math",stat:!0,forced:o},{atanh:function(){function m(b){var y=+b;return y===0?y:t((1+y)/(1-y))/2}return m}()})},92866:function(T,r,n){"use strict";var e=n(63964),a=n(22172),t=Math.abs,o=Math.pow;e({target:"Math",stat:!0},{cbrt:function(){function m(b){var y=+b;return a(y)*o(t(y),.3333333333333333)}return m}()})},86107:function(T,r,n){"use strict";var e=n(63964),a=Math.floor,t=Math.log,o=Math.LOG2E;e({target:"Math",stat:!0},{clz32:function(){function m(b){var y=b>>>0;return y?31-a(t(y+.5)*o):32}return m}()})},29248:function(T,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.cosh,o=Math.abs,m=Math.E,b=!t||t(710)===1/0;e({target:"Math",stat:!0,forced:b},{cosh:function(){function y(B){var k=a(o(B)-1)+1;return(k+1/(k*m*m))*(m/2)}return y}()})},52540:function(T,r,n){"use strict";var e=n(63964),a=n(82040);e({target:"Math",stat:!0,forced:a!==Math.expm1},{expm1:a})},79007:function(T,r,n){"use strict";var e=n(63964),a=n(95867);e({target:"Math",stat:!0},{fround:a})},77199:function(T,r,n){"use strict";var e=n(63964),a=Math.hypot,t=Math.abs,o=Math.sqrt,m=!!a&&a(1/0,NaN)!==1/0;e({target:"Math",stat:!0,arity:2,forced:m},{hypot:function(){function b(y,B){for(var k=0,C=0,l=arguments.length,c=0,f,u;C0?(u=f/c,k+=u*u):k+=f;return c===1/0?1/0:c*o(k)}return b}()})},6522:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=Math.imul,o=a(function(){return t(4294967295,5)!==-5||t.length!==2});e({target:"Math",stat:!0,forced:o},{imul:function(){function m(b,y){var B=65535,k=+b,C=+y,l=B&k,c=B&C;return 0|l*c+((B&k>>>16)*c+l*(B&C>>>16)<<16>>>0)}return m}()})},95542:function(T,r,n){"use strict";var e=n(63964),a=n(75002);e({target:"Math",stat:!0},{log10:a})},2966:function(T,r,n){"use strict";var e=n(63964),a=n(90874);e({target:"Math",stat:!0},{log1p:a})},20997:function(T,r,n){"use strict";var e=n(63964),a=Math.log,t=Math.LN2;e({target:"Math",stat:!0},{log2:function(){function o(m){return a(m)/t}return o}()})},57400:function(T,r,n){"use strict";var e=n(63964),a=n(22172);e({target:"Math",stat:!0},{sign:a})},45571:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(82040),o=Math.abs,m=Math.exp,b=Math.E,y=a(function(){return Math.sinh(-2e-17)!==-2e-17});e({target:"Math",stat:!0,forced:y},{sinh:function(){function B(k){var C=+k;return o(C)<1?(t(C)-t(-C))/2:(m(C-1)-m(-C-1))*(b/2)}return B}()})},54800:function(T,r,n){"use strict";var e=n(63964),a=n(82040),t=Math.exp;e({target:"Math",stat:!0},{tanh:function(){function o(m){var b=+m,y=a(b),B=a(-b);return y===1/0?1:B===1/0?-1:(y-B)/(t(b)+t(-b))}return o}()})},15709:function(T,r,n){"use strict";var e=n(84925);e(Math,"Math",!0)},76059:function(T,r,n){"use strict";var e=n(63964),a=n(21119);e({target:"Math",stat:!0},{trunc:a})},96614:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(58310),o=n(74685),m=n(61765),b=n(67250),y=n(41314),B=n(45299),k=n(5781),C=n(21287),l=n(71399),c=n(24843),f=n(40033),u=n(37310).f,d=n(27193).f,s=n(74595).f,i=n(46438),h=n(92648).trim,N="Number",v=o[N],p=m[N],g=v.prototype,V=o.TypeError,S=b("".slice),I=b("".charCodeAt),L=function(P){var O=c(P,"number");return typeof O=="bigint"?O:w(O)},w=function(P){var O=c(P,"number"),D,F,W,U,$,K,G,Q;if(l(O))throw new V("Cannot convert a Symbol value to a number");if(typeof O=="string"&&O.length>2){if(O=h(O),D=I(O,0),D===43||D===45){if(F=I(O,2),F===88||F===120)return NaN}else if(D===48){switch(I(O,1)){case 66:case 98:W=2,U=49;break;case 79:case 111:W=8,U=55;break;default:return+O}for($=S(O,2),K=$.length,G=0;GU)return NaN;return parseInt($,W)}}return+O},A=y(N,!v(" 0o1")||!v("0b1")||v("+0x1")),x=function(P){return C(g,P)&&f(function(){i(P)})},E=function(){function j(P){var O=arguments.length<1?0:v(L(P));return x(this)?k(Object(O),this,E):O}return j}();E.prototype=g,A&&!a&&(g.constructor=E),e({global:!0,constructor:!0,wrap:!0,forced:A},{Number:E});var M=function(P,O){for(var D=t?u(O):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),F=0,W;D.length>F;F++)B(O,W=D[F])&&!B(P,W)&&s(P,W,d(O,W))};a&&p&&M(m[N],p),(A||a)&&M(m[N],v)},324:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},90426:function(T,r,n){"use strict";var e=n(63964),a=n(3294);e({target:"Number",stat:!0},{isFinite:a})},95443:function(T,r,n){"use strict";var e=n(63964),a=n(5841);e({target:"Number",stat:!0},{isInteger:a})},87968:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0},{isNaN:function(){function a(t){return t!==t}return a}()})},55007:function(T,r,n){"use strict";var e=n(63964),a=n(5841),t=Math.abs;e({target:"Number",stat:!0},{isSafeInteger:function(){function o(m){return a(m)&&t(m)<=9007199254740991}return o}()})},55323:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991})},13521:function(T,r,n){"use strict";var e=n(63964);e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991})},5006:function(T,r,n){"use strict";var e=n(63964),a=n(28506);e({target:"Number",stat:!0,forced:Number.parseFloat!==a},{parseFloat:a})},99009:function(T,r,n){"use strict";var e=n(63964),a=n(13693);e({target:"Number",stat:!0,forced:Number.parseInt!==a},{parseInt:a})},85770:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(61365),o=n(46438),m=n(62443),b=n(40033),y=RangeError,B=String,k=Math.floor,C=a(m),l=a("".slice),c=a(1 .toFixed),f=function N(v,p,g){return p===0?g:p%2===1?N(v,p-1,g*v):N(v*v,p/2,g)},u=function(v){for(var p=0,g=v;g>=4096;)p+=12,g/=4096;for(;g>=2;)p+=1,g/=2;return p},d=function(v,p,g){for(var V=-1,S=g;++V<6;)S+=p*v[V],v[V]=S%1e7,S=k(S/1e7)},s=function(v,p){for(var g=6,V=0;--g>=0;)V+=v[g],v[g]=k(V/p),V=V%p*1e7},i=function(v){for(var p=6,g="";--p>=0;)if(g!==""||p===0||v[p]!==0){var V=B(v[p]);g=g===""?V:g+C("0",7-V.length)+V}return g},h=b(function(){return c(8e-5,3)!=="0.000"||c(.9,0)!=="1"||c(1.255,2)!=="1.25"||c(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!b(function(){c({})});e({target:"Number",proto:!0,forced:h},{toFixed:function(){function N(v){var p=o(this),g=t(v),V=[0,0,0,0,0,0],S="",I="0",L,w,A,x;if(g<0||g>20)throw new y("Incorrect fraction digits");if(p!==p)return"NaN";if(p<=-1e21||p>=1e21)return B(p);if(p<0&&(S="-",p=-p),p>1e-21)if(L=u(p*f(2,69,1))-69,w=L<0?p*f(2,-L,1):p/f(2,L,1),w*=4503599627370496,L=52-L,L>0){for(d(V,0,w),A=g;A>=7;)d(V,1e7,0),A-=7;for(d(V,f(10,A,1),0),A=L-1;A>=23;)s(V,8388608),A-=23;s(V,1<0?(x=I.length,I=S+(x<=g?"0."+C("0",g-x)+I:l(I,0,x-g)+"."+l(I,x-g))):I=S+I,I}return N}()})},23532:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(40033),o=n(46438),m=a(1 .toPrecision),b=t(function(){return m(1,void 0)!=="1"})||!t(function(){m({})});e({target:"Number",proto:!0,forced:b},{toPrecision:function(){function y(B){return B===void 0?m(o(this)):m(o(this),B)}return y}()})},87119:function(T,r,n){"use strict";var e=n(63964),a=n(41143);e({target:"Object",stat:!0,arity:2,forced:Object.assign!==a},{assign:a})},78618:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(80674);e({target:"Object",stat:!0,sham:!a},{create:t})},27129:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),m=n(46771),b=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineGetter__:function(){function y(B,k){b.f(m(this),B,{get:o(k),enumerable:!0,configurable:!0})}return y}()})},31943:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(24239).f;e({target:"Object",stat:!0,forced:Object.defineProperties!==t,sham:!a},{defineProperties:t})},3579:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74595).f;e({target:"Object",stat:!0,forced:Object.defineProperty!==t,sham:!a},{defineProperty:t})},97397:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(10320),m=n(46771),b=n(74595);a&&e({target:"Object",proto:!0,forced:t},{__defineSetter__:function(){function y(B,k){b.f(m(this),B,{set:o(k),enumerable:!0,configurable:!0})}return y}()})},85028:function(T,r,n){"use strict";var e=n(63964),a=n(70915).entries;e({target:"Object",stat:!0},{entries:function(){function t(o){return a(o)}return t}()})},8225:function(T,r,n){"use strict";var e=n(63964),a=n(50730),t=n(40033),o=n(77568),m=n(81969).onFreeze,b=Object.freeze,y=t(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!a},{freeze:function(){function B(k){return b&&o(k)?b(m(k)):k}return B}()})},43331:function(T,r,n){"use strict";var e=n(63964),a=n(49450),t=n(60102);e({target:"Object",stat:!0},{fromEntries:function(){function o(m){var b={};return a(m,function(y,B){t(b,y,B)},{AS_ENTRIES:!0}),b}return o}()})},62289:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(57591),o=n(27193).f,m=n(58310),b=!m||a(function(){o(1)});e({target:"Object",stat:!0,forced:b,sham:!m},{getOwnPropertyDescriptor:function(){function y(B,k){return o(t(B),k)}return y}()})},56196:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(97921),o=n(57591),m=n(27193),b=n(60102);e({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(){function y(B){for(var k=o(B),C=m.f,l=t(k),c={},f=0,u,d;l.length>f;)d=C(k,u=l[f++]),d!==void 0&&b(c,u,d);return c}return y}()})},2950:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(81644).f,o=a(function(){return!Object.getOwnPropertyNames(1)});e({target:"Object",stat:!0,forced:o},{getOwnPropertyNames:t})},28603:function(T,r,n){"use strict";var e=n(63964),a=n(52357),t=n(40033),o=n(89235),m=n(46771),b=!a||t(function(){o.f(1)});e({target:"Object",stat:!0,forced:b},{getOwnPropertySymbols:function(){function y(B){var k=o.f;return k?k(m(B)):[]}return y}()})},44205:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(46771),o=n(36917),m=n(9225),b=a(function(){o(1)});e({target:"Object",stat:!0,forced:b,sham:!m},{getPrototypeOf:function(){function y(B){return o(t(B))}return y}()})},83186:function(T,r,n){"use strict";var e=n(63964),a=n(81834);e({target:"Object",stat:!0,forced:Object.isExtensible!==a},{isExtensible:a})},76065:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),m=n(3782),b=Object.isFrozen,y=m||a(function(){b(1)});e({target:"Object",stat:!0,forced:y},{isFrozen:function(){function B(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:b?b(k):!1}return B}()})},13411:function(T,r,n){"use strict";var e=n(63964),a=n(40033),t=n(77568),o=n(7462),m=n(3782),b=Object.isSealed,y=m||a(function(){b(1)});e({target:"Object",stat:!0,forced:y},{isSealed:function(){function B(k){return!t(k)||m&&o(k)==="ArrayBuffer"?!0:b?b(k):!1}return B}()})},76882:function(T,r,n){"use strict";var e=n(63964),a=n(5700);e({target:"Object",stat:!0},{is:a})},26634:function(T,r,n){"use strict";var e=n(63964),a=n(46771),t=n(18450),o=n(40033),m=o(function(){t(1)});e({target:"Object",stat:!0,forced:m},{keys:function(){function b(y){return t(a(y))}return b}()})},53118:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),m=n(767),b=n(36917),y=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupGetter__:function(){function B(k){var C=o(this),l=m(k),c;do if(c=y(C,l))return c.get;while(C=b(C))}return B}()})},42514:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(57377),o=n(46771),m=n(767),b=n(36917),y=n(27193).f;a&&e({target:"Object",proto:!0,forced:t},{__lookupSetter__:function(){function B(k){var C=o(this),l=m(k),c;do if(c=y(C,l))return c.set;while(C=b(C))}return B}()})},84353:function(T,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),m=n(40033),b=Object.preventExtensions,y=m(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{preventExtensions:function(){function B(k){return b&&a(k)?b(t(k)):k}return B}()})},62987:function(T,r,n){"use strict";var e=n(63964),a=n(77568),t=n(81969).onFreeze,o=n(50730),m=n(40033),b=Object.seal,y=m(function(){b(1)});e({target:"Object",stat:!0,forced:y,sham:!o},{seal:function(){function B(k){return b&&a(k)?b(t(k)):k}return B}()})},48993:function(T,r,n){"use strict";var e=n(63964),a=n(76649);e({target:"Object",stat:!0},{setPrototypeOf:a})},52917:function(T,r,n){"use strict";var e=n(2650),a=n(55938),t=n(2509);e||a(Object.prototype,"toString",t,{unsafe:!0})},4972:function(T,r,n){"use strict";var e=n(63964),a=n(70915).values;e({target:"Object",stat:!0},{values:function(){function t(o){return a(o)}return t}()})},28913:function(T,r,n){"use strict";var e=n(63964),a=n(28506);e({global:!0,forced:parseFloat!==a},{parseFloat:a})},36382:function(T,r,n){"use strict";var e=n(63964),a=n(13693);e({global:!0,forced:parseInt!==a},{parseInt:a})},48865:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),m=n(10729),b=n(49450),y=n(48199);e({target:"Promise",stat:!0,forced:y},{all:function(){function B(k){var C=this,l=o.f(C),c=l.resolve,f=l.reject,u=m(function(){var d=t(C.resolve),s=[],i=0,h=1;b(k,function(N){var v=i++,p=!1;h++,a(d,C,N).then(function(g){p||(p=!0,s[v]=g,--h||c(s))},f)}),--h||c(s)});return u.error&&f(u.value),l.promise}return B}()})},70641:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(74854).CONSTRUCTOR,o=n(67512),m=n(4009),b=n(55747),y=n(55938),B=o&&o.prototype;if(e({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(){function C(l){return this.then(void 0,l)}return C}()}),!a&&b(o)){var k=m("Promise").prototype.catch;B.catch!==k&&y(B,"catch",k,{unsafe:!0})}},75946:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(81702),o=n(74685),m=n(91495),b=n(55938),y=n(76649),B=n(84925),k=n(58491),C=n(10320),l=n(55747),c=n(77568),f=n(60077),u=n(28987),d=n(60375).set,s=n(37713),i=n(72259),h=n(10729),N=n(9547),v=n(5419),p=n(67512),g=n(74854),V=n(81837),S="Promise",I=g.CONSTRUCTOR,L=g.REJECTION_EVENT,w=g.SUBCLASSING,A=v.getterFor(S),x=v.set,E=p&&p.prototype,M=p,j=E,P=o.TypeError,O=o.document,D=o.process,F=V.f,W=F,U=!!(O&&O.createEvent&&o.dispatchEvent),$="unhandledrejection",K="rejectionhandled",G=0,Q=1,J=2,ue=1,ie=2,he,te,q,ne,le=function(be){var Le;return c(be)&&l(Le=be.then)?Le:!1},ee=function(be,Le){var we=Le.value,xe=Le.state===Q,Re=xe?be.ok:be.fail,ze=be.resolve,ye=be.reject,de=be.domain,Ce,ke,ge;try{Re?(xe||(Le.rejection===ie&&Y(Le),Le.rejection=ue),Re===!0?Ce=we:(de&&de.enter(),Ce=Re(we),de&&(de.exit(),ge=!0)),Ce===be.promise?ye(new P("Promise-chain cycle")):(ke=le(Ce))?m(ke,Ce,ze,ye):ze(Ce)):ye(we)}catch(Se){de&&!ge&&de.exit(),ye(Se)}},re=function(be,Le){be.notified||(be.notified=!0,s(function(){for(var we=be.reactions,xe;xe=we.get();)ee(xe,be);be.notified=!1,Le&&!be.rejection&&fe(be)}))},oe=function(be,Le,we){var xe,Re;U?(xe=O.createEvent("Event"),xe.promise=Le,xe.reason=we,xe.initEvent(be,!1,!0),o.dispatchEvent(xe)):xe={promise:Le,reason:we},!L&&(Re=o["on"+be])?Re(xe):be===$&&i("Unhandled promise rejection",we)},fe=function(be){m(d,o,function(){var Le=be.facade,we=be.value,xe=me(be),Re;if(xe&&(Re=h(function(){t?D.emit("unhandledRejection",we,Le):oe($,Le,we)}),be.rejection=t||me(be)?ie:ue,Re.error))throw Re.value})},me=function(be){return be.rejection!==ue&&!be.parent},Y=function(be){m(d,o,function(){var Le=be.facade;t?D.emit("rejectionHandled",Le):oe(K,Le,be.value)})},ve=function(be,Le,we){return function(xe){be(Le,xe,we)}},pe=function(be,Le,we){be.done||(be.done=!0,we&&(be=we),be.value=Le,be.state=J,re(be,!0))},Ve=function Be(be,Le,we){if(!be.done){be.done=!0,we&&(be=we);try{if(be.facade===Le)throw new P("Promise can't be resolved itself");var xe=le(Le);xe?s(function(){var Re={done:!1};try{m(xe,Le,ve(Be,Re,be),ve(pe,Re,be))}catch(ze){pe(Re,ze,be)}}):(be.value=Le,be.state=Q,re(be,!1))}catch(Re){pe({done:!1},Re,be)}}};if(I&&(M=function(){function Be(be){f(this,j),C(be),m(he,this);var Le=A(this);try{be(ve(Ve,Le),ve(pe,Le))}catch(we){pe(Le,we)}}return Be}(),j=M.prototype,he=function(){function Be(be){x(this,{type:S,done:!1,notified:!1,parent:!1,reactions:new N,rejection:!1,state:G,value:void 0})}return Be}(),he.prototype=b(j,"then",function(){function Be(be,Le){var we=A(this),xe=F(u(this,M));return we.parent=!0,xe.ok=l(be)?be:!0,xe.fail=l(Le)&&Le,xe.domain=t?D.domain:void 0,we.state===G?we.reactions.add(xe):s(function(){ee(xe,we)}),xe.promise}return Be}()),te=function(){var be=new he,Le=A(be);this.promise=be,this.resolve=ve(Ve,Le),this.reject=ve(pe,Le)},V.f=F=function(be){return be===M||be===q?new te(be):W(be)},!a&&l(p)&&E!==Object.prototype)){ne=E.then,w||b(E,"then",function(){function Be(be,Le){var we=this;return new M(function(xe,Re){m(ne,we,xe,Re)}).then(be,Le)}return Be}(),{unsafe:!0});try{delete E.constructor}catch(Be){}y&&y(E,j)}e({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:M}),B(M,S,!1,!0),k(S)},69861:function(T,r,n){"use strict";var e=n(63964),a=n(4493),t=n(67512),o=n(40033),m=n(4009),b=n(55747),y=n(28987),B=n(66628),k=n(55938),C=t&&t.prototype,l=!!t&&o(function(){C.finally.call({then:function(){function f(){}return f}()},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(){function f(u){var d=y(this,m("Promise")),s=b(u);return this.then(s?function(i){return B(d,u()).then(function(){return i})}:u,s?function(i){return B(d,u()).then(function(){throw i})}:u)}return f}()}),!a&&b(t)){var c=m("Promise").prototype.finally;C.finally!==c&&k(C,"finally",c,{unsafe:!0})}},53092:function(T,r,n){"use strict";n(75946),n(48865),n(70641),n(16937),n(41719),n(59321)},16937:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(10320),o=n(81837),m=n(10729),b=n(49450),y=n(48199);e({target:"Promise",stat:!0,forced:y},{race:function(){function B(k){var C=this,l=o.f(C),c=l.reject,f=m(function(){var u=t(C.resolve);b(k,function(d){a(u,C,d).then(l.resolve,c)})});return f.error&&c(f.value),l.promise}return B}()})},41719:function(T,r,n){"use strict";var e=n(63964),a=n(81837),t=n(74854).CONSTRUCTOR;e({target:"Promise",stat:!0,forced:t},{reject:function(){function o(m){var b=a.f(this),y=b.reject;return y(m),b.promise}return o}()})},59321:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(4493),o=n(67512),m=n(74854).CONSTRUCTOR,b=n(66628),y=a("Promise"),B=t&&!m;e({target:"Promise",stat:!0,forced:t||m},{resolve:function(){function k(C){return b(B&&this===y?o:this,C)}return k}()})},29674:function(T,r,n){"use strict";var e=n(63964),a=n(61267),t=n(10320),o=n(30365),m=n(40033),b=!m(function(){Reflect.apply(function(){})});e({target:"Reflect",stat:!0,forced:b},{apply:function(){function y(B,k,C){return a(t(B),k,o(C))}return y}()})},81543:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(61267),o=n(66284),m=n(32606),b=n(30365),y=n(77568),B=n(80674),k=n(40033),C=a("Reflect","construct"),l=Object.prototype,c=[].push,f=k(function(){function s(){}return!(C(function(){},[],s)instanceof s)}),u=!k(function(){C(function(){})}),d=f||u;e({target:"Reflect",stat:!0,forced:d,sham:d},{construct:function(){function s(i,h){m(i),b(h);var N=arguments.length<3?i:m(arguments[2]);if(u&&!f)return C(i,h,N);if(i===N){switch(h.length){case 0:return new i;case 1:return new i(h[0]);case 2:return new i(h[0],h[1]);case 3:return new i(h[0],h[1],h[2]);case 4:return new i(h[0],h[1],h[2],h[3])}var v=[null];return t(c,v,h),new(t(o,i,v))}var p=N.prototype,g=B(y(p)?p:l),V=t(i,g,h);return y(V)?V:g}return s}()})},9373:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(767),m=n(74595),b=n(40033),y=b(function(){Reflect.defineProperty(m.f({},1,{value:1}),1,{value:2})});e({target:"Reflect",stat:!0,forced:y,sham:!a},{defineProperty:function(){function B(k,C,l){t(k);var c=o(C);t(l);try{return m.f(k,c,l),!0}catch(f){return!1}}return B}()})},45093:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(27193).f;e({target:"Reflect",stat:!0},{deleteProperty:function(){function o(m,b){var y=t(a(m),b);return y&&!y.configurable?!1:delete m[b]}return o}()})},5815:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(30365),o=n(27193);e({target:"Reflect",stat:!0,sham:!a},{getOwnPropertyDescriptor:function(){function m(b,y){return o.f(t(b),y)}return m}()})},88527:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(36917),o=n(9225);e({target:"Reflect",stat:!0,sham:!o},{getPrototypeOf:function(){function m(b){return t(a(b))}return m}()})},63074:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(77568),o=n(30365),m=n(98373),b=n(27193),y=n(36917);function B(k,C){var l=arguments.length<3?k:arguments[2],c,f;if(o(k)===l)return k[C];if(c=b.f(k,C),c)return m(c)?c.value:c.get===void 0?void 0:a(c.get,l);if(t(f=y(k)))return B(f,C,l)}e({target:"Reflect",stat:!0},{get:B})},66390:function(T,r,n){"use strict";var e=n(63964);e({target:"Reflect",stat:!0},{has:function(){function a(t,o){return o in t}return a}()})},7784:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(81834);e({target:"Reflect",stat:!0},{isExtensible:function(){function o(m){return a(m),t(m)}return o}()})},50551:function(T,r,n){"use strict";var e=n(63964),a=n(97921);e({target:"Reflect",stat:!0},{ownKeys:a})},76483:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(30365),o=n(50730);e({target:"Reflect",stat:!0,sham:!o},{preventExtensions:function(){function m(b){t(b);try{var y=a("Object","preventExtensions");return y&&y(b),!0}catch(B){return!1}}return m}()})},63915:function(T,r,n){"use strict";var e=n(63964),a=n(30365),t=n(35908),o=n(76649);o&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(){function m(b,y){a(b),t(y);try{return o(b,y),!0}catch(B){return!1}}return m}()})},92046:function(T,r,n){"use strict";var e=n(63964),a=n(91495),t=n(30365),o=n(77568),m=n(98373),b=n(40033),y=n(74595),B=n(27193),k=n(36917),C=n(87458);function l(f,u,d){var s=arguments.length<4?f:arguments[3],i=B.f(t(f),u),h,N,v;if(!i){if(o(N=k(f)))return l(N,u,d,s);i=C(0)}if(m(i)){if(i.writable===!1||!o(s))return!1;if(h=B.f(s,u)){if(h.get||h.set||h.writable===!1)return!1;h.value=d,y.f(s,u,h)}else y.f(s,u,C(0,d))}else{if(v=i.set,v===void 0)return!1;a(v,s,d)}return!0}var c=b(function(){var f=function(){},u=y.f(new f,"a",{configurable:!0});return Reflect.set(f.prototype,"a",1,u)!==!1});e({target:"Reflect",stat:!0,forced:c},{set:l})},51454:function(T,r,n){"use strict";var e=n(58310),a=n(74685),t=n(67250),o=n(41314),m=n(5781),b=n(37909),y=n(80674),B=n(37310).f,k=n(21287),C=n(72586),l=n(12605),c=n(73392),f=n(62115),u=n(34550),d=n(55938),s=n(40033),i=n(45299),h=n(5419).enforce,N=n(58491),v=n(24697),p=n(39173),g=n(35688),V=v("match"),S=a.RegExp,I=S.prototype,L=a.SyntaxError,w=t(I.exec),A=t("".charAt),x=t("".replace),E=t("".indexOf),M=t("".slice),j=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,P=/a/g,O=/a/g,D=new S(P)!==P,F=f.MISSED_STICKY,W=f.UNSUPPORTED_Y,U=e&&(!D||F||p||g||s(function(){return O[V]=!1,S(P)!==P||S(O)===O||String(S(P,"i"))!=="/a/i"})),$=function(ie){for(var he=ie.length,te=0,q="",ne=!1,le;te<=he;te++){if(le=A(ie,te),le==="\\"){q+=le+A(ie,++te);continue}!ne&&le==="."?q+="[\\s\\S]":(le==="["?ne=!0:le==="]"&&(ne=!1),q+=le)}return q},K=function(ie){for(var he=ie.length,te=0,q="",ne=[],le=y(null),ee=!1,re=!1,oe=0,fe="",me;te<=he;te++){if(me=A(ie,te),me==="\\")me+=A(ie,++te);else if(me==="]")ee=!1;else if(!ee)switch(!0){case me==="[":ee=!0;break;case me==="(":w(j,M(ie,te+1))&&(te+=2,re=!0),q+=me,oe++;continue;case(me===">"&&re):if(fe===""||i(le,fe))throw new L("Invalid capture group name");le[fe]=!0,ne[ne.length]=[fe,oe],re=!1,fe="";continue}re?fe+=me:q+=me}return[q,ne]};if(o("RegExp",U)){for(var G=function(){function ue(ie,he){var te=k(I,this),q=C(ie),ne=he===void 0,le=[],ee=ie,re,oe,fe,me,Y,ve;if(!te&&q&&ne&&ie.constructor===G)return ie;if((q||k(I,ie))&&(ie=ie.source,ne&&(he=c(ee))),ie=ie===void 0?"":l(ie),he=he===void 0?"":l(he),ee=ie,p&&"dotAll"in P&&(oe=!!he&&E(he,"s")>-1,oe&&(he=x(he,/s/g,""))),re=he,F&&"sticky"in P&&(fe=!!he&&E(he,"y")>-1,fe&&W&&(he=x(he,/y/g,""))),g&&(me=K(ie),ie=me[0],le=me[1]),Y=m(S(ie,he),te?this:I,G),(oe||fe||le.length)&&(ve=h(Y),oe&&(ve.dotAll=!0,ve.raw=G($(ie),re)),fe&&(ve.sticky=!0),le.length&&(ve.groups=le)),ie!==ee)try{b(Y,"source",ee===""?"(?:)":ee)}catch(pe){}return Y}return ue}(),Q=B(S),J=0;Q.length>J;)u(G,S,Q[J++]);I.constructor=G,G.prototype=I,d(a,"RegExp",G,{constructor:!0})}N("RegExp")},79669:function(T,r,n){"use strict";var e=n(63964),a=n(14489);e({target:"RegExp",proto:!0,forced:/./.exec!==a},{exec:a})},23057:function(T,r,n){"use strict";var e=n(74685),a=n(58310),t=n(73936),o=n(70901),m=n(40033),b=e.RegExp,y=b.prototype,B=a&&m(function(){var k=!0;try{b(".","d")}catch(i){k=!1}var C={},l="",c=k?"dgimsy":"gimsy",f=function(h,N){Object.defineProperty(C,h,{get:function(){function v(){return l+=N,!0}return v}()})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};k&&(u.hasIndices="d");for(var d in u)f(d,u[d]);var s=Object.getOwnPropertyDescriptor(y,"flags").get.call(C);return s!==c||l!==c});B&&t(y,"flags",{configurable:!0,get:o})},57983:function(T,r,n){"use strict";var e=n(70520).PROPER,a=n(55938),t=n(30365),o=n(12605),m=n(40033),b=n(73392),y="toString",B=RegExp.prototype,k=B[y],C=m(function(){return k.call({source:"a",flags:"b"})!=="/a/b"}),l=e&&k.name!==y;(C||l)&&a(B,y,function(){function c(){var f=t(this),u=o(f.source),d=o(b(f));return"/"+u+"/"+d}return c}(),{unsafe:!0})},1963:function(T,r,n){"use strict";var e=n(45150),a=n(41028);e("Set",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},17953:function(T,r,n){"use strict";n(1963)},95309:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("anchor")},{anchor:function(){function o(m){return a(this,"a","name",m)}return o}()})},82256:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("big")},{big:function(){function o(){return a(this,"big","","")}return o}()})},49484:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("blink")},{blink:function(){function o(){return a(this,"blink","","")}return o}()})},38931:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("bold")},{bold:function(){function o(){return a(this,"b","","")}return o}()})},30442:function(T,r,n){"use strict";var e=n(63964),a=n(50233).codeAt;e({target:"String",proto:!0},{codePointAt:function(){function t(o){return a(this,o)}return t}()})},6403:function(T,r,n){"use strict";var e=n(63964),a=n(71138),t=n(27193).f,o=n(10188),m=n(12605),b=n(86213),y=n(16952),B=n(45490),k=n(4493),C=a("".slice),l=Math.min,c=B("endsWith"),f=!k&&!c&&!!function(){var u=t(String.prototype,"endsWith");return u&&!u.writable}();e({target:"String",proto:!0,forced:!f&&!c},{endsWith:function(){function u(d){var s=m(y(this));b(d);var i=arguments.length>1?arguments[1]:void 0,h=s.length,N=i===void 0?h:l(o(i),h),v=m(d);return C(s,N-v.length,N)===v}return u}()})},39308:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fixed")},{fixed:function(){function o(){return a(this,"tt","","")}return o}()})},91550:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontcolor")},{fontcolor:function(){function o(m){return a(this,"font","color",m)}return o}()})},75008:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("fontsize")},{fontsize:function(){function o(m){return a(this,"font","size",m)}return o}()})},9867:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(13912),o=RangeError,m=String.fromCharCode,b=String.fromCodePoint,y=a([].join),B=!!b&&b.length!==1;e({target:"String",stat:!0,arity:1,forced:B},{fromCodePoint:function(){function k(C){for(var l=[],c=arguments.length,f=0,u;c>f;){if(u=+arguments[f++],t(u,1114111)!==u)throw new o(u+" is not a valid code point");l[f]=u<65536?m(u):m(((u-=65536)>>10)+55296,u%1024+56320)}return y(l,"")}return k}()})},43673:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(86213),o=n(16952),m=n(12605),b=n(45490),y=a("".indexOf);e({target:"String",proto:!0,forced:!b("includes")},{includes:function(){function B(k){return!!~y(m(o(this)),m(t(k)),arguments.length>1?arguments[1]:void 0)}return B}()})},56027:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("italics")},{italics:function(){function o(){return a(this,"i","","")}return o}()})},12354:function(T,r,n){"use strict";var e=n(50233).charAt,a=n(12605),t=n(5419),o=n(65574),m=n(5959),b="String Iterator",y=t.set,B=t.getterFor(b);o(String,"String",function(k){y(this,{type:b,string:a(k),index:0})},function(){function k(){var C=B(this),l=C.string,c=C.index,f;return c>=l.length?m(void 0,!0):(f=e(l,c),C.index+=f.length,m(f,!1))}return k}())},50340:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("link")},{link:function(){function o(m){return a(this,"a","href",m)}return o}()})},22515:function(T,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),m=n(10188),b=n(12605),y=n(16952),B=n(78060),k=n(35483),C=n(28340);a("match",function(l,c,f){return[function(){function u(d){var s=y(this),i=o(d)?void 0:B(d,l);return i?e(i,d,s):new RegExp(d)[l](b(s))}return u}(),function(u){var d=t(this),s=b(u),i=f(c,d,s);if(i.done)return i.value;if(!d.global)return C(d,s);var h=d.unicode;d.lastIndex=0;for(var N=[],v=0,p;(p=C(d,s))!==null;){var g=b(p[0]);N[v]=g,g===""&&(d.lastIndex=k(s,m(d.lastIndex),h)),v++}return v===0?null:N}]})},5143:function(T,r,n){"use strict";var e=n(63964),a=n(24051).end,t=n(34125);e({target:"String",proto:!0,forced:t},{padEnd:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},93514:function(T,r,n){"use strict";var e=n(63964),a=n(24051).start,t=n(34125);e({target:"String",proto:!0,forced:t},{padStart:function(){function o(m){return a(this,m,arguments.length>1?arguments[1]:void 0)}return o}()})},5416:function(T,r,n){"use strict";var e=n(63964),a=n(67250),t=n(57591),o=n(46771),m=n(12605),b=n(24760),y=a([].push),B=a([].join);e({target:"String",stat:!0},{raw:function(){function k(C){var l=t(o(C).raw),c=b(l);if(!c)return"";for(var f=arguments.length,u=[],d=0;;){if(y(u,m(l[d++])),d===c)return B(u,"");d")!=="7"});o("replace",function(x,E,M){var j=w?"$":"$0";return[function(){function P(O,D){var F=c(this),W=B(O)?void 0:u(O,h);return W?a(W,O,F,D):a(E,l(F),O,D)}return P}(),function(P,O){var D=b(this),F=l(P);if(typeof O=="string"&&V(O,j)===-1&&V(O,"$<")===-1){var W=M(E,D,F,O);if(W.done)return W.value}var U=y(O);U||(O=l(O));var $=D.global,K;$&&(K=D.unicode,D.lastIndex=0);for(var G=[],Q;Q=s(D,F),!(Q===null||(g(G,Q),!$));){var J=l(Q[0]);J===""&&(D.lastIndex=f(F,C(D.lastIndex),K))}for(var ue="",ie=0,he=0;he=ie&&(ue+=S(F,ie,q)+le,ie=q+te.length)}return ue+S(F,ie)}]},!A||!L||w)},63272:function(T,r,n){"use strict";var e=n(91495),a=n(79942),t=n(30365),o=n(42871),m=n(16952),b=n(5700),y=n(12605),B=n(78060),k=n(28340);a("search",function(C,l,c){return[function(){function f(u){var d=m(this),s=o(u)?void 0:B(u,C);return s?e(s,u,d):new RegExp(u)[C](y(d))}return f}(),function(f){var u=t(this),d=y(f),s=c(l,u,d);if(s.done)return s.value;var i=u.lastIndex;b(i,0)||(u.lastIndex=0);var h=k(u,d);return b(u.lastIndex,i)||(u.lastIndex=i),h===null?-1:h.index}]})},34325:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("small")},{small:function(){function o(){return a(this,"small","","")}return o}()})},39930:function(T,r,n){"use strict";var e=n(91495),a=n(67250),t=n(79942),o=n(30365),m=n(42871),b=n(16952),y=n(28987),B=n(35483),k=n(10188),C=n(12605),l=n(78060),c=n(28340),f=n(62115),u=n(40033),d=f.UNSUPPORTED_Y,s=4294967295,i=Math.min,h=a([].push),N=a("".slice),v=!u(function(){var g=/(?:)/,V=g.exec;g.exec=function(){return V.apply(this,arguments)};var S="ab".split(g);return S.length!==2||S[0]!=="a"||S[1]!=="b"}),p="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(g,V,S){var I="0".split(void 0,0).length?function(L,w){return L===void 0&&w===0?[]:e(V,this,L,w)}:V;return[function(){function L(w,A){var x=b(this),E=m(w)?void 0:l(w,g);return E?e(E,w,x,A):e(I,C(x),w,A)}return L}(),function(L,w){var A=o(this),x=C(L);if(!p){var E=S(I,A,x,w,I!==V);if(E.done)return E.value}var M=y(A,RegExp),j=A.unicode,P=(A.ignoreCase?"i":"")+(A.multiline?"m":"")+(A.unicode?"u":"")+(d?"g":"y"),O=new M(d?"^(?:"+A.source+")":A,P),D=w===void 0?s:w>>>0;if(D===0)return[];if(x.length===0)return c(O,x)===null?[x]:[];for(var F=0,W=0,U=[];W1?arguments[1]:void 0,s.length)),h=m(d);return C(s,i,i+h.length)===h}return u}()})},74498:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("strike")},{strike:function(){function o(){return a(this,"strike","","")}return o}()})},15812:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sub")},{sub:function(){function o(){return a(this,"sub","","")}return o}()})},57726:function(T,r,n){"use strict";var e=n(63964),a=n(72506),t=n(88539);e({target:"String",proto:!0,forced:t("sup")},{sup:function(){function o(){return a(this,"sup","","")}return o}()})},70604:function(T,r,n){"use strict";n(99159);var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==a},{trimEnd:a})},85404:function(T,r,n){"use strict";var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==a},{trimLeft:a})},99159:function(T,r,n){"use strict";var e=n(63964),a=n(43476);e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==a},{trimRight:a})},34965:function(T,r,n){"use strict";n(85404);var e=n(63964),a=n(43885);e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==a},{trimStart:a})},8448:function(T,r,n){"use strict";var e=n(63964),a=n(92648).trim,t=n(90012);e({target:"String",proto:!0,forced:t("trim")},{trim:function(){function o(){return a(this)}return o}()})},79250:function(T,r,n){"use strict";var e=n(85889);e("asyncIterator")},49899:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(91495),o=n(67250),m=n(4493),b=n(58310),y=n(52357),B=n(40033),k=n(45299),C=n(21287),l=n(30365),c=n(57591),f=n(767),u=n(12605),d=n(87458),s=n(80674),i=n(18450),h=n(37310),N=n(81644),v=n(89235),p=n(27193),g=n(74595),V=n(24239),S=n(12867),I=n(55938),L=n(73936),w=n(16639),A=n(19417),x=n(79195),E=n(16738),M=n(24697),j=n(55557),P=n(85889),O=n(52360),D=n(84925),F=n(5419),W=n(22603).forEach,U=A("hidden"),$="Symbol",K="prototype",G=F.set,Q=F.getterFor($),J=Object[K],ue=a.Symbol,ie=ue&&ue[K],he=a.RangeError,te=a.TypeError,q=a.QObject,ne=p.f,le=g.f,ee=N.f,re=S.f,oe=o([].push),fe=w("symbols"),me=w("op-symbols"),Y=w("wks"),ve=!q||!q[K]||!q[K].findChild,pe=function(Ce,ke,ge){var Se=ne(J,ke);Se&&delete J[ke],le(Ce,ke,ge),Se&&Ce!==J&&le(J,ke,Se)},Ve=b&&B(function(){return s(le({},"a",{get:function(){function de(){return le(this,"a",{value:7}).a}return de}()})).a!==7})?pe:le,Be=function(Ce,ke){var ge=fe[Ce]=s(ie);return G(ge,{type:$,tag:Ce,description:ke}),b||(ge.description=ke),ge},be=function(){function de(Ce,ke,ge){Ce===J&&be(me,ke,ge),l(Ce);var Se=f(ke);return l(ge),k(fe,Se)?(ge.enumerable?(k(Ce,U)&&Ce[U][Se]&&(Ce[U][Se]=!1),ge=s(ge,{enumerable:d(0,!1)})):(k(Ce,U)||le(Ce,U,d(1,s(null))),Ce[U][Se]=!0),Ve(Ce,Se,ge)):le(Ce,Se,ge)}return de}(),Le=function(){function de(Ce,ke){l(Ce);var ge=c(ke),Se=i(ge).concat(ye(ge));return W(Se,function(Pe){(!b||t(xe,ge,Pe))&&be(Ce,Pe,ge[Pe])}),Ce}return de}(),we=function(){function de(Ce,ke){return ke===void 0?s(Ce):Le(s(Ce),ke)}return de}(),xe=function(){function de(Ce){var ke=f(Ce),ge=t(re,this,ke);return this===J&&k(fe,ke)&&!k(me,ke)?!1:ge||!k(this,ke)||!k(fe,ke)||k(this,U)&&this[U][ke]?ge:!0}return de}(),Re=function(){function de(Ce,ke){var ge=c(Ce),Se=f(ke);if(!(ge===J&&k(fe,Se)&&!k(me,Se))){var Pe=ne(ge,Se);return Pe&&k(fe,Se)&&!(k(ge,U)&&ge[U][Se])&&(Pe.enumerable=!0),Pe}}return de}(),ze=function(){function de(Ce){var ke=ee(c(Ce)),ge=[];return W(ke,function(Se){!k(fe,Se)&&!k(x,Se)&&oe(ge,Se)}),ge}return de}(),ye=function(Ce){var ke=Ce===J,ge=ee(ke?me:c(Ce)),Se=[];return W(ge,function(Pe){k(fe,Pe)&&(!ke||k(J,Pe))&&oe(Se,fe[Pe])}),Se};y||(ue=function(){function de(){if(C(ie,this))throw new te("Symbol is not a constructor");var Ce=!arguments.length||arguments[0]===void 0?void 0:u(arguments[0]),ke=E(Ce),ge=function(){function Se(Pe){var je=this===void 0?a:this;je===J&&t(Se,me,Pe),k(je,U)&&k(je[U],ke)&&(je[U][ke]=!1);var Fe=d(1,Pe);try{Ve(je,ke,Fe)}catch(He){if(!(He instanceof he))throw He;pe(je,ke,Fe)}}return Se}();return b&&ve&&Ve(J,ke,{configurable:!0,set:ge}),Be(ke,Ce)}return de}(),ie=ue[K],I(ie,"toString",function(){function de(){return Q(this).tag}return de}()),I(ue,"withoutSetter",function(de){return Be(E(de),de)}),S.f=xe,g.f=be,V.f=Le,p.f=Re,h.f=N.f=ze,v.f=ye,j.f=function(de){return Be(M(de),de)},b&&(L(ie,"description",{configurable:!0,get:function(){function de(){return Q(this).description}return de}()}),m||I(J,"propertyIsEnumerable",xe,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!y,sham:!y},{Symbol:ue}),W(i(Y),function(de){P(de)}),e({target:$,stat:!0,forced:!y},{useSetter:function(){function de(){ve=!0}return de}(),useSimple:function(){function de(){ve=!1}return de}()}),e({target:"Object",stat:!0,forced:!y,sham:!b},{create:we,defineProperty:be,defineProperties:Le,getOwnPropertyDescriptor:Re}),e({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:ze}),O(),D(ue,$),x[U]=!0},10933:function(T,r,n){"use strict";var e=n(63964),a=n(58310),t=n(74685),o=n(67250),m=n(45299),b=n(55747),y=n(21287),B=n(12605),k=n(73936),C=n(5774),l=t.Symbol,c=l&&l.prototype;if(a&&b(l)&&(!("description"in c)||l().description!==void 0)){var f={},u=function(){function p(){var g=arguments.length<1||arguments[0]===void 0?void 0:B(arguments[0]),V=y(c,this)?new l(g):g===void 0?l():l(g);return g===""&&(f[V]=!0),V}return p}();C(u,l),u.prototype=c,c.constructor=u;var d=String(l("description detection"))==="Symbol(description detection)",s=o(c.valueOf),i=o(c.toString),h=/^Symbol\((.*)\)[^)]+$/,N=o("".replace),v=o("".slice);k(c,"description",{configurable:!0,get:function(){function p(){var g=s(this);if(m(f,g))return"";var V=i(g),S=d?v(V,7,-1):N(V,h,"$1");return S===""?void 0:S}return p}()}),e({global:!0,constructor:!0,forced:!0},{Symbol:u})}},30828:function(T,r,n){"use strict";var e=n(63964),a=n(4009),t=n(45299),o=n(12605),m=n(16639),b=n(66570),y=m("string-to-symbol-registry"),B=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!b},{for:function(){function k(C){var l=o(C);if(t(y,l))return y[l];var c=a("Symbol")(l);return y[l]=c,B[c]=l,c}return k}()})},53795:function(T,r,n){"use strict";var e=n(85889);e("hasInstance")},87806:function(T,r,n){"use strict";var e=n(85889);e("isConcatSpreadable")},64677:function(T,r,n){"use strict";var e=n(85889);e("iterator")},33313:function(T,r,n){"use strict";n(49899),n(30828),n(6862),n(53008),n(28603)},6862:function(T,r,n){"use strict";var e=n(63964),a=n(45299),t=n(71399),o=n(89393),m=n(16639),b=n(66570),y=m("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!b},{keyFor:function(){function B(k){if(!t(k))throw new TypeError(o(k)+" is not a symbol");if(a(y,k))return y[k]}return B}()})},48058:function(T,r,n){"use strict";var e=n(85889);e("match")},51583:function(T,r,n){"use strict";var e=n(85889);e("replace")},82403:function(T,r,n){"use strict";var e=n(85889);e("search")},34265:function(T,r,n){"use strict";var e=n(85889);e("species")},3295:function(T,r,n){"use strict";var e=n(85889);e("split")},1078:function(T,r,n){"use strict";var e=n(85889),a=n(52360);e("toPrimitive"),a()},63207:function(T,r,n){"use strict";var e=n(4009),a=n(85889),t=n(84925);a("toStringTag"),t(e("Symbol"),"Symbol")},80520:function(T,r,n){"use strict";var e=n(85889);e("unscopables")},99872:function(T,r,n){"use strict";var e=n(67250),a=n(4246),t=n(71447),o=e(t),m=a.aTypedArray,b=a.exportTypedArrayMethod;b("copyWithin",function(){function y(B,k){return o(m(this),B,k,arguments.length>2?arguments[2]:void 0)}return y}())},73364:function(T,r,n){"use strict";var e=n(4246),a=n(22603).every,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("every",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},58166:function(T,r,n){"use strict";var e=n(4246),a=n(88471),t=n(61484),o=n(2281),m=n(91495),b=n(67250),y=n(40033),B=e.aTypedArray,k=e.exportTypedArrayMethod,C=b("".slice),l=y(function(){var c=0;return new Int8Array(2).fill({valueOf:function(){function f(){return c++}return f}()}),c!==1});k("fill",function(){function c(f){var u=arguments.length;B(this);var d=C(o(this),0,3)==="Big"?t(f):+f;return m(a,this,d,u>1?arguments[1]:void 0,u>2?arguments[2]:void 0)}return c}(),l)},23793:function(T,r,n){"use strict";var e=n(4246),a=n(22603).filter,t=n(45399),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("filter",function(){function b(y){var B=a(o(this),y,arguments.length>1?arguments[1]:void 0);return t(this,B)}return b}())},13917:function(T,r,n){"use strict";var e=n(4246),a=n(22603).findIndex,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("findIndex",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},43820:function(T,r,n){"use strict";var e=n(4246),a=n(22603).find,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("find",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},80756:function(T,r,n){"use strict";var e=n(80185);e("Float32",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},70567:function(T,r,n){"use strict";var e=n(80185);e("Float64",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},19852:function(T,r,n){"use strict";var e=n(4246),a=n(22603).forEach,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("forEach",function(){function m(b){a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},40379:function(T,r,n){"use strict";var e=n(86563),a=n(4246).exportTypedArrayStaticMethod,t=n(3805);a("from",t,e)},92770:function(T,r,n){"use strict";var e=n(4246),a=n(14211).includes,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("includes",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},81069:function(T,r,n){"use strict";var e=n(4246),a=n(14211).indexOf,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("indexOf",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},60037:function(T,r,n){"use strict";var e=n(80185);e("Int16",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},44195:function(T,r,n){"use strict";var e=n(80185);e("Int32",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},66756:function(T,r,n){"use strict";var e=n(80185);e("Int8",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},63689:function(T,r,n){"use strict";var e=n(74685),a=n(40033),t=n(67250),o=n(4246),m=n(34570),b=n(24697),y=b("iterator"),B=e.Uint8Array,k=t(m.values),C=t(m.keys),l=t(m.entries),c=o.aTypedArray,f=o.exportTypedArrayMethod,u=B&&B.prototype,d=!a(function(){u[y].call([1])}),s=!!u&&u.values&&u[y]===u.values&&u.values.name==="values",i=function(){function h(){return k(c(this))}return h}();f("entries",function(){function h(){return l(c(this))}return h}(),d),f("keys",function(){function h(){return C(c(this))}return h}(),d),f("values",i,d||!s,{name:"values"}),f(y,i,d||!s,{name:"values"})},5659:function(T,r,n){"use strict";var e=n(4246),a=n(67250),t=e.aTypedArray,o=e.exportTypedArrayMethod,m=a([].join);o("join",function(){function b(y){return m(t(this),y)}return b}())},25014:function(T,r,n){"use strict";var e=n(4246),a=n(61267),t=n(1325),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("lastIndexOf",function(){function b(y){var B=arguments.length;return a(t,o(this),B>1?[y,arguments[1]]:[y])}return b}())},32189:function(T,r,n){"use strict";var e=n(4246),a=n(22603).map,t=n(31082),o=e.aTypedArray,m=e.exportTypedArrayMethod;m("map",function(){function b(y){return a(o(this),y,arguments.length>1?arguments[1]:void 0,function(B,k){return new(t(B))(k)})}return b}())},23030:function(T,r,n){"use strict";var e=n(4246),a=n(86563),t=e.aTypedArrayConstructor,o=e.exportTypedArrayStaticMethod;o("of",function(){function m(){for(var b=0,y=arguments.length,B=new(t(this))(y);y>b;)B[b]=arguments[b++];return B}return m}(),a)},49110:function(T,r,n){"use strict";var e=n(4246),a=n(56844).right,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduceRight",function(){function m(b){var y=arguments.length;return a(t(this),b,y,y>1?arguments[1]:void 0)}return m}())},24309:function(T,r,n){"use strict";var e=n(4246),a=n(56844).left,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("reduce",function(){function m(b){var y=arguments.length;return a(t(this),b,y,y>1?arguments[1]:void 0)}return m}())},56445:function(T,r,n){"use strict";var e=n(4246),a=e.aTypedArray,t=e.exportTypedArrayMethod,o=Math.floor;t("reverse",function(){function m(){for(var b=this,y=a(b).length,B=o(y/2),k=0,C;k1?arguments[1]:void 0,1),N=b(i);if(u)return a(l,this,N,h);var v=this.length,p=o(N),g=0;if(p+h>v)throw new B("Wrong length");for(;g f;)d[f]=l[f++];return d}return B}(),y)},88739:function(T,r,n){"use strict";var e=n(4246),a=n(22603).some,t=e.aTypedArray,o=e.exportTypedArrayMethod;o("some",function(){function m(b){return a(t(this),b,arguments.length>1?arguments[1]:void 0)}return m}())},60415:function(T,r,n){"use strict";var e=n(74685),a=n(71138),t=n(40033),o=n(10320),m=n(90274),b=n(4246),y=n(652),B=n(19228),k=n(5026),C=n(9342),l=b.aTypedArray,c=b.exportTypedArrayMethod,f=e.Uint16Array,u=f&&a(f.prototype.sort),d=!!u&&!(t(function(){u(new f(2),null)})&&t(function(){u(new f(2),{})})),s=!!u&&!t(function(){if(k)return k<74;if(y)return y<67;if(B)return!0;if(C)return C<602;var h=new f(516),N=Array(516),v,p;for(v=0;v<516;v++)p=v%4,h[v]=515-v,N[v]=v-2*p+3;for(u(h,function(g,V){return(g/4|0)-(V/4|0)}),v=0;v<516;v++)if(h[v]!==N[v])return!0}),i=function(N){return function(v,p){return N!==void 0?+N(v,p)||0:p!==p?-1:v!==v?1:v===0&&p===0?1/v>0&&1/p<0?1:-1:v>p}};c("sort",function(){function h(N){return N!==void 0&&o(N),s?u(this,N):m(l(this),i(N))}return h}(),!s||d)},72532:function(T,r,n){"use strict";var e=n(4246),a=n(10188),t=n(13912),o=n(31082),m=e.aTypedArray,b=e.exportTypedArrayMethod;b("subarray",function(){function y(B,k){var C=m(this),l=C.length,c=t(B,l),f=o(C);return new f(C.buffer,C.byteOffset+c*C.BYTES_PER_ELEMENT,a((k===void 0?l:t(k,l))-c))}return y}())},62207:function(T,r,n){"use strict";var e=n(74685),a=n(61267),t=n(4246),o=n(40033),m=n(54602),b=e.Int8Array,y=t.aTypedArray,B=t.exportTypedArrayMethod,k=[].toLocaleString,C=!!b&&o(function(){k.call(new b(1))}),l=o(function(){return[1,2].toLocaleString()!==new b([1,2]).toLocaleString()})||!o(function(){b.prototype.toLocaleString.call([1,2])});B("toLocaleString",function(){function c(){return a(k,C?m(y(this)):y(this),m(arguments))}return c}(),l)},906:function(T,r,n){"use strict";var e=n(4246).exportTypedArrayMethod,a=n(40033),t=n(74685),o=n(67250),m=t.Uint8Array,b=m&&m.prototype||{},y=[].toString,B=o([].join);a(function(){y.call({})})&&(y=function(){function C(){return B(this)}return C}());var k=b.toString!==y;e("toString",y,k)},78824:function(T,r,n){"use strict";var e=n(80185);e("Uint16",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},72846:function(T,r,n){"use strict";var e=n(80185);e("Uint32",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},24575:function(T,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()})},71968:function(T,r,n){"use strict";var e=n(80185);e("Uint8",function(a){return function(){function t(o,m,b){return a(this,o,m,b)}return t}()},!0)},80040:function(T,r,n){"use strict";var e=n(50730),a=n(74685),t=n(67250),o=n(30145),m=n(81969),b=n(45150),y=n(39895),B=n(77568),k=n(5419).enforce,C=n(40033),l=n(21820),c=Object,f=Array.isArray,u=c.isExtensible,d=c.isFrozen,s=c.isSealed,i=c.freeze,h=c.seal,N=!a.ActiveXObject&&"ActiveXObject"in a,v,p=function(E){return function(){function M(){return E(this,arguments.length?arguments[0]:void 0)}return M}()},g=b("WeakMap",p,y),V=g.prototype,S=t(V.set),I=function(){return e&&C(function(){var E=i([]);return S(new g,E,1),!d(E)})};if(l)if(N){v=y.getConstructor(p,"WeakMap",!0),m.enable();var L=t(V.delete),w=t(V.has),A=t(V.get);o(V,{delete:function(){function x(E){if(B(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new v),L(this,E)||M.frozen.delete(E)}return L(this,E)}return x}(),has:function(){function x(E){if(B(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new v),w(this,E)||M.frozen.has(E)}return w(this,E)}return x}(),get:function(){function x(E){if(B(E)&&!u(E)){var M=k(this);return M.frozen||(M.frozen=new v),w(this,E)?A(this,E):M.frozen.get(E)}return A(this,E)}return x}(),set:function(){function x(E,M){if(B(E)&&!u(E)){var j=k(this);j.frozen||(j.frozen=new v),w(this,E)?S(this,E,M):j.frozen.set(E,M)}else S(this,E,M);return this}return x}()})}else I()&&o(V,{set:function(){function x(E,M){var j;return f(E)&&(d(E)?j=i:s(E)&&(j=h)),S(this,E,M),j&&j(E),this}return x}()})},90846:function(T,r,n){"use strict";n(80040)},67042:function(T,r,n){"use strict";var e=n(45150),a=n(39895);e("WeakSet",function(t){return function(){function o(){return t(this,arguments.length?arguments[0]:void 0)}return o}()},a)},40348:function(T,r,n){"use strict";n(67042)},5606:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).clear;e({global:!0,bind:!0,enumerable:!0,forced:a.clearImmediate!==t},{clearImmediate:t})},83006:function(T,r,n){"use strict";n(5606),n(27807)},25764:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(37713),o=n(10320),m=n(24986),b=n(40033),y=n(58310),B=b(function(){return y&&Object.getOwnPropertyDescriptor(a,"queueMicrotask").value.length!==1});e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:B},{queueMicrotask:function(){function k(C){m(arguments.length,1),t(o(C))}return k}()})},27807:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(60375).set,o=n(78362),m=a.setImmediate?o(t,!1):t;e({global:!0,bind:!0,enumerable:!0,forced:a.setImmediate!==m},{setImmediate:m})},45569:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setInterval,!0);e({global:!0,bind:!0,forced:a.setInterval!==o},{setInterval:o})},5213:function(T,r,n){"use strict";var e=n(63964),a=n(74685),t=n(78362),o=t(a.setTimeout,!0);e({global:!0,bind:!0,forced:a.setTimeout!==o},{setTimeout:o})},69401:function(T,r,n){"use strict";n(45569),n(5213)},7435:function(T){"use strict";/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var C=[],l=function(u){return typeof u=="number"&&!Number.isFinite(u)?{__number__:String(u)}:typeof u=="undefined"?{__undefined__:!0}:u},c=function(u,s){if(typeof s=="object"){if(s===null)return s;if(C.includes(s))return"[circular ref]";C.push(s);var i=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return i?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(l):s}return l(s)},m=JSON.stringify(k,c);return C=null,m},f=function(k){if(0)var C,l,c},b=function(k,C){if(0)var l,c,m},y=function(){};T.exports={subscribe:t,sendMessage:f,sendLogEntry:b,setupHotReloading:y}}},kt={};function X(T){var r=kt[T];if(r!==void 0)return r.exports;var n=kt[T]={exports:{}};return Qt[T](n,n.exports,X),n.exports}(function(){X.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(T){if(typeof window=="object")return window}}()})(),function(){X.o=function(T,r){return Object.prototype.hasOwnProperty.call(T,r)}}();var Rn={};(function(){"use strict";X(33313),X(10933),X(79250),X(53795),X(87806),X(64677),X(48058),X(51583),X(82403),X(34265),X(3295),X(1078),X(63207),X(80520),X(39600),X(93237),X(32057),X(68933),X(47830),X(13455),X(64094),X(61915),X(32384),X(25579),X(63532),X(33425),X(43894),X(99636),X(34570),X(94432),X(24683),X(69984),X(32089),X(60206),X(29645),X(4788),X(58672),X(19356),X(48968),X(49852),X(2712),X(864),X(54243),X(75621),X(26267),X(50095),X(33451),X(74587),X(25082),X(47421),X(32122),X(6306),X(90216),X(84663),X(92332),X(98329),X(9631),X(47091),X(59660),X(15383),X(92866),X(86107),X(29248),X(52540),X(79007),X(77199),X(6522),X(95542),X(2966),X(20997),X(57400),X(45571),X(54800),X(15709),X(76059),X(96614),X(324),X(90426),X(95443),X(87968),X(55007),X(55323),X(13521),X(5006),X(99009),X(85770),X(23532),X(87119),X(78618),X(27129),X(31943),X(3579),X(97397),X(85028),X(8225),X(43331),X(62289),X(56196),X(2950),X(44205),X(76882),X(83186),X(76065),X(13411),X(26634),X(53118),X(42514),X(84353),X(62987),X(48993),X(52917),X(4972),X(28913),X(36382),X(53092),X(69861),X(29674),X(81543),X(9373),X(45093),X(63074),X(5815),X(88527),X(66390),X(7784),X(50551),X(76483),X(92046),X(63915),X(51454),X(79669),X(23057),X(57983),X(17953),X(30442),X(6403),X(9867),X(43673),X(12354),X(22515),X(5143),X(93514),X(5416),X(11619),X(44590),X(63272),X(39930),X(4038),X(8448),X(70604),X(34965),X(95309),X(82256),X(49484),X(38931),X(39308),X(91550),X(75008),X(56027),X(50340),X(34325),X(74498),X(15812),X(57726),X(80756),X(70567),X(66756),X(60037),X(44195),X(24575),X(71968),X(78824),X(72846),X(99872),X(73364),X(58166),X(23793),X(43820),X(13917),X(19852),X(40379),X(92770),X(81069),X(63689),X(5659),X(25014),X(32189),X(23030),X(24309),X(49110),X(56445),X(30939),X(48321),X(88739),X(60415),X(72532),X(62207),X(906),X(90846),X(40348),X(83006),X(25764),X(69401),X(95012),X(30236)})(),function(){"use strict";var T=X(89005);X(67160),X(23542),X(30386),X(98996),X(50578),X(4444),X(77870),X(39108),X(11714),X(73492),X(49641),X(17570),X(61858),X(32882),X(23632),X(56492);var r=X(85822),n=X(7435),e=X(56518),a=X(26427),t=X(18498),o=X(49060),f=X(72178),b=X(24826),y;/**
+ */var r,n=[],e=[],a=function(){if(0)var k;window.onunload=function(){return r&&r.close()}},t=function(k){return e.push(k)},o=function(k){var C=[],l=function(d){return typeof d=="number"&&!Number.isFinite(d)?{__number__:String(d)}:typeof d=="undefined"?{__undefined__:!0}:d},c=function(d,s){if(typeof s=="object"){if(s===null)return s;if(C.includes(s))return"[circular ref]";C.push(s);var i=s instanceof Error||s.code&&s.message&&s.message.includes("Error");return i?{__error__:!0,string:String(s),stack:s.stack}:Array.isArray(s)?s.map(l):s}return l(s)},f=JSON.stringify(k,c);return C=null,f},m=function(k){if(0)var C,l,c},b=function(k,C){if(0)var l,c,f},y=function(){};T.exports={subscribe:t,sendMessage:m,sendLogEntry:b,setupHotReloading:y}}},kt={};function X(T){var r=kt[T];if(r!==void 0)return r.exports;var n=kt[T]={exports:{}};return Qt[T](n,n.exports,X),n.exports}(function(){X.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(T){if(typeof window=="object")return window}}()})(),function(){X.o=function(T,r){return Object.prototype.hasOwnProperty.call(T,r)}}();var Rn={};(function(){"use strict";X(33313),X(10933),X(79250),X(53795),X(87806),X(64677),X(48058),X(51583),X(82403),X(34265),X(3295),X(1078),X(63207),X(80520),X(39600),X(93237),X(32057),X(68933),X(47830),X(13455),X(64094),X(61915),X(32384),X(25579),X(63532),X(33425),X(43894),X(99636),X(34570),X(94432),X(24683),X(69984),X(32089),X(60206),X(29645),X(4788),X(58672),X(19356),X(48968),X(49852),X(2712),X(864),X(54243),X(75621),X(26267),X(50095),X(33451),X(74587),X(25082),X(47421),X(32122),X(6306),X(90216),X(84663),X(92332),X(98329),X(9631),X(47091),X(59660),X(15383),X(92866),X(86107),X(29248),X(52540),X(79007),X(77199),X(6522),X(95542),X(2966),X(20997),X(57400),X(45571),X(54800),X(15709),X(76059),X(96614),X(324),X(90426),X(95443),X(87968),X(55007),X(55323),X(13521),X(5006),X(99009),X(85770),X(23532),X(87119),X(78618),X(27129),X(31943),X(3579),X(97397),X(85028),X(8225),X(43331),X(62289),X(56196),X(2950),X(44205),X(76882),X(83186),X(76065),X(13411),X(26634),X(53118),X(42514),X(84353),X(62987),X(48993),X(52917),X(4972),X(28913),X(36382),X(53092),X(69861),X(29674),X(81543),X(9373),X(45093),X(63074),X(5815),X(88527),X(66390),X(7784),X(50551),X(76483),X(92046),X(63915),X(51454),X(79669),X(23057),X(57983),X(17953),X(30442),X(6403),X(9867),X(43673),X(12354),X(22515),X(5143),X(93514),X(5416),X(11619),X(44590),X(63272),X(39930),X(4038),X(8448),X(70604),X(34965),X(95309),X(82256),X(49484),X(38931),X(39308),X(91550),X(75008),X(56027),X(50340),X(34325),X(74498),X(15812),X(57726),X(80756),X(70567),X(66756),X(60037),X(44195),X(24575),X(71968),X(78824),X(72846),X(99872),X(73364),X(58166),X(23793),X(43820),X(13917),X(19852),X(40379),X(92770),X(81069),X(63689),X(5659),X(25014),X(32189),X(23030),X(24309),X(49110),X(56445),X(30939),X(48321),X(88739),X(60415),X(72532),X(62207),X(906),X(90846),X(40348),X(83006),X(25764),X(69401),X(95012),X(30236)})(),function(){"use strict";var T=X(89005);X(67160),X(23542),X(30386),X(98996),X(50578),X(4444),X(77870),X(39108),X(11714),X(73492),X(49641),X(17570),X(61858),X(32882),X(23632),X(56492);var r=X(85822),n=X(7435),e=X(56518),a=X(26427),t=X(18498),o=X(49060),m=X(72178),b=X(24826),y;/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
- */r.perf.mark("inception",(y=window.performance)==null||(y=y.timing)==null?void 0:y.navigationStart),r.perf.mark("init");var B=(0,f.configureStore)(),k=(0,o.createRenderer)(function(){(0,a.loadIconRefMap)();var l=X(71253),c=l.getRoutedComponent,m=c(B);return(0,T.createComponentVNode)(2,f.StoreProvider,{store:B,children:(0,T.createComponentVNode)(2,m)})}),C=function l(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",l);return}(0,b.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,t.captureExternalLinks)(),B.subscribe(k),Byond.subscribe(function(c,m){return B.dispatch({type:c,payload:m})})};C()}()})();})();
+ */r.perf.mark("inception",(y=window.performance)==null||(y=y.timing)==null?void 0:y.navigationStart),r.perf.mark("init");var B=(0,m.configureStore)(),k=(0,o.createRenderer)(function(){(0,a.loadIconRefMap)();var l=X(71253),c=l.getRoutedComponent,f=c(B);return(0,T.createComponentVNode)(2,m.StoreProvider,{store:B,children:(0,T.createComponentVNode)(2,f)})}),C=function l(){if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",l);return}(0,b.setupGlobalEvents)(),(0,e.setupHotKeys)(),(0,t.captureExternalLinks)(),B.subscribe(k),Byond.subscribe(function(c,f){return B.dispatch({type:c,payload:f})})};C()}()})();})();
diff --git a/tools/UpdatePaths/Scripts/26849_remove_wall_decals.txt b/tools/UpdatePaths/Scripts/26849_remove_wall_decals.txt
new file mode 100644
index 000000000000..f4ae481f8c46
--- /dev/null
+++ b/tools/UpdatePaths/Scripts/26849_remove_wall_decals.txt
@@ -0,0 +1,3 @@
+/obj/effect/decal/cleanable/fungus : /obj/effect/spawner/random/fungus/frequent
+/obj/effect/spawner/random_spawners/fungus_maybe : /obj/effect/spawner/random/fungus/maybe
+/obj/effect/spawner/random_spawners/fungus_probably : /obj/effect/spawner/random/fungus/probably
diff --git a/tools/UpdatePaths/Scripts/26866_random_barrier_spawners.txt b/tools/UpdatePaths/Scripts/26866_random_barrier_spawners.txt
new file mode 100644
index 000000000000..7bbe178be303
--- /dev/null
+++ b/tools/UpdatePaths/Scripts/26866_random_barrier_spawners.txt
@@ -0,0 +1,5 @@
+/obj/effect/spawner/random_barrier/wall_probably : /obj/effect/spawner/random/barrier/wall_probably
+/obj/effect/spawner/random_barrier/obstruction : /obj/effect/spawner/random/barrier/obstruction
+/obj/effect/spawner/random_barrier/possibly_welded_airlock : /obj/effect/spawner/random/barrier/possibly_welded_airlock
+/obj/effect/spawner/random_spawners/grille_often : /obj/effect/spawner/random/barrier/grille_often
+/obj/effect/spawner/random_spawners/grille_maybe : /obj/effect/spawner/random/barrier/grille_maybe
diff --git a/tools/ci/lints.dm b/tools/ci/lints.dm
index 8f7bdc1f68d8..3055005e072c 100644
--- a/tools/ci/lints.dm
+++ b/tools/ci/lints.dm
@@ -1,6 +1,7 @@
//1000-1999
#pragma FileAlreadyIncluded error
#pragma MissingIncludedFile error
+#pragma InvalidWarningCode warning
#pragma MisplacedDirective error
#pragma UndefineMissingDirective error
#pragma DefinedMissingParen error
@@ -12,7 +13,6 @@
#pragma SoftReservedKeyword error
#pragma DuplicateVariable error
#pragma DuplicateProcDefinition error
-#pragma TooManyArguments error
#pragma PointlessParentCall error
#pragma PointlessBuiltinCall error
#pragma SuspiciousMatrixCall error
@@ -22,13 +22,28 @@
#pragma InvalidRange error
#pragma InvalidSetStatement error
#pragma InvalidOverride error
+#pragma InvalidIndexOperation error
#pragma DanglingVarType error
#pragma MissingInterpolatedExpression error
#pragma AmbiguousResourcePath error
#pragma SuspiciousSwitchCase error
+#pragma PointlessPositionalArgument error
+// NOTE: The next few pragmas are for OpenDream's experimental type checker
+// This feature is still in development, elevating these pragmas outside of local testing is discouraged
+// An RFC to finalize this feature is coming soon(TM)
+// BEGIN TYPEMAKER
+#pragma UnsupportedTypeCheck disabled
+#pragma InvalidReturnType disabled
+#pragma InvalidVarType disabled
+#pragma ImplicitNullType disabled
+#pragma LostTypeInfo disabled
+// END TYPEMAKER
+#pragma UnimplementedAccess error
//3000-3999
#pragma EmptyBlock error
#pragma EmptyProc error
#pragma UnsafeClientAccess disabled
#pragma AssignmentInConditional error
+#pragma PickWeightedSyntax disabled
+#pragma AmbiguousInOrder error
diff --git a/tools/maplint/lints/wall_stacking.yml b/tools/maplint/lints/wall_stacking.yml
index d91d1f1efbda..43f818a9fa19 100644
--- a/tools/maplint/lints/wall_stacking.yml
+++ b/tools/maplint/lints/wall_stacking.yml
@@ -4,3 +4,4 @@
- /obj/structure/window/full
- /obj/effect/spawner/window
- /obj/machinery/door/airlock
+ - /obj/effect/decal