From 40a54d8e9a664e909c70a1d610e94543dd20adde Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Wed, 24 Jun 2020 07:44:07 +0200 Subject: [PATCH 001/149] Grant brig access to the detective as a .vr tweak Less headaches of low access rights and honestly, they should just be able to walk wherever a junior officer can, given they are sort of higher on the hierarchy. --- code/game/jobs/job/security.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/jobs/job/security.dm b/code/game/jobs/job/security.dm index 684e9cc7c1..a36ad97301 100644 --- a/code/game/jobs/job/security.dm +++ b/code/game/jobs/job/security.dm @@ -77,7 +77,7 @@ spawn_positions = 2 supervisors = "the Head of Security" selection_color = "#601C1C" - access = list(access_security, access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_eva, access_external_airlocks) + access = list(access_security, access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_eva, access_external_airlocks, access_brig) //Vorestation edit - access_brig minimal_access = list(access_security, access_sec_doors, access_forensics_lockers, access_morgue, access_maint_tunnels, access_eva, access_external_airlocks) economic_modifier = 5 minimal_player_age = 3 From 8263926efa66a5046848616d47a798515d196a52 Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Sun, 5 Jul 2020 07:08:35 +0100 Subject: [PATCH 002/149] AR glasses tweaks --- .../loadout/loadout_eyes_vr.dm | 5 ++ code/modules/clothing/glasses/hud_vr.dm | 76 ++++++++++++++++--- 2 files changed, 71 insertions(+), 10 deletions(-) diff --git a/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm b/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm index 276554554f..e32c42f702 100644 --- a/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm +++ b/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm @@ -17,6 +17,11 @@ display_name = "AR-S glasses (Sec)" path = /obj/item/clothing/glasses/omnihud/sec allowed_roles = list("Security Officer","Head of Security","Warden","Detective") + +/datum/gear/eyes/arglasses/sci + display_name = "AR-R glasses (Sci)" + path = /obj/item/clothing/glasses/omnihud/rnd + allowed_roles = list("Research Director","Scientist","Xenobiologist","Roboticist") /datum/gear/eyes/arglasses/eng display_name = "AR-E glasses (Eng)" diff --git a/code/modules/clothing/glasses/hud_vr.dm b/code/modules/clothing/glasses/hud_vr.dm index db22d70e97..c45471ae73 100644 --- a/code/modules/clothing/glasses/hud_vr.dm +++ b/code/modules/clothing/glasses/hud_vr.dm @@ -1,7 +1,8 @@ /obj/item/clothing/glasses/omnihud name = "\improper AR glasses" desc = "The ARG-62 AR Glasses are capable of displaying information on individuals. \ - Commonly used to allow non-augmented crew to interact with virtual interfaces." + Commonly used to allow non-augmented crew to interact with virtual interfaces. \ +
They are also fitted with toggleable electrochromic lenses." origin_tech = list(TECH_MAGNET = 3, TECH_BIO = 3) var/obj/item/clothing/glasses/hud/omni/hud = null var/mode = "civ" @@ -31,6 +32,13 @@ arscreen = null spawn(20 SECONDS) arscreen = disconnect_ar + + //extra fun for non-sci variants; a small chance flip the state to the dumb 3d glasses when EMP'd + if(icon_state == "glasses" || icon_state == "sun") + if(prob(10)) + icon_state = "3d" + if(ishuman(loc)) + to_chat(loc, "The lenses of your [src.name] malfunction!") ..() /obj/item/clothing/glasses/omnihud/proc/flashed() @@ -40,12 +48,18 @@ /obj/item/clothing/glasses/omnihud/prescribe(var/mob/user) prescription = !prescription playsound(src,'sound/items/screwdriver.ogg', 50, 1) - if(prescription) + if(prescription && icon_state == "glasses") name = "[initial(name)] (pr)" user.visible_message("[user] uploads new prescription data to the [src.name].") + icon_state = "glasses" + else if(prescription && icon_state == "sun") + name = "[initial(name)] (shaded, pr)" + user.visible_message("[user] uploads new prescription data to the [src.name].") + icon_state = "sun" else name = "[initial(name)]" - user.visible_message("[user] deletes the prescription data on the [src.name].") + user.visible_message("[user] deletes the prescription data on the [src.name] and resets the lenses.") + icon_state = "glasses" /obj/item/clothing/glasses/omnihud/attack_self(mob/user) if(!ishuman(user)) @@ -58,6 +72,41 @@ if(!ar_interact(H)) to_chat(user, "The [src] does not have any kind of special display.") +//cosmetic shading, doesn't enhance eye protection +/obj/item/clothing/glasses/omnihud/verb/chromatize() + set name = "Toggle AR Glasses Shading" + set desc = "Toggle the cosmetic electrochromatic shading of your AR glasses." + set category = "Object" + set src in usr + if(!usr.canmove || usr.stat || usr.restrained()) + return + if(icon_state == "3d") + to_chat(usr, "You reset the electrochromic lenses of \the [src] back to normal.") + if(prescription) + name = "[initial(name)] (pr)" + else + name = "[initial(name)]" + icon_state = "glasses" + else if(prescription) + if(icon_state == "glasses") + to_chat(usr, "You darken the electrochromic lenses of \the [src] to one-way transparency.") + name = "[initial(name)] (shaded, pr)" + icon_state = "sun" + else if(icon_state == "sun") + to_chat(usr, "You restore the electrochromic lenses of \the [src] to standard two-way transparency.") + name = "[initial(name)] (pr)" + icon_state = "glasses" + else if(!prescription) + if(icon_state == "glasses") + to_chat(usr, "You darken the electrochromic lenses of \the [src] to one-way transparency.") + name = "[initial(name)] (shaded)" + icon_state = "sun" + else if(icon_state == "sun") + to_chat(usr, "You restore the electrochromic lenses of \the [src] to standard two-way transparency.") + name = "[initial(name)]" + icon_state = "glasses" + update_clothing_icon() + /obj/item/clothing/glasses/omnihud/proc/ar_interact(var/mob/living/carbon/human/user) return 0 //The base models do nothing. @@ -68,7 +117,8 @@ /obj/item/clothing/glasses/omnihud/med name = "\improper AR-M glasses" desc = "The ARG-62-M AR Glasses are capable of displaying information on individuals. \ - These have been upgraded with medical records access and virus database integration." + These have been upgraded with medical records access and virus database integration. \ + They can also read data from active suit sensors using the crew monitoring system." mode = "med" action_button_name = "AR Console (Crew Monitor)" arscreen_path = /datum/nano_module/program/crew_monitor @@ -82,7 +132,8 @@ /obj/item/clothing/glasses/omnihud/sec name = "\improper AR-S glasses" desc = "The ARG-62-S AR Glasses are capable of displaying information on individuals. \ - These have been upgraded with security records integration and flash protection." + These have been upgraded with security records integration and flash protection. \ + They also have access to security alerts such as camera and motion sensor alarms." mode = "sec" flash_protection = FLASH_PROTECTION_MAJOR action_button_name = "AR Console (Security Alerts)" @@ -97,7 +148,8 @@ /obj/item/clothing/glasses/omnihud/eng name = "\improper AR-E glasses" desc = "The ARG-62-E AR Glasses are capable of displaying information on individuals. \ - These have been upgraded with advanced electrochromic lenses to protect your eyes during welding." + These have been upgraded with advanced electrochromic lenses to protect your eyes during welding, \ + and can also display a list of atmospheric, fire, and power alarms." mode = "eng" flash_protection = FLASH_PROTECTION_MAJOR action_button_name = "AR Console (Station Alerts)" @@ -111,11 +163,8 @@ /obj/item/clothing/glasses/omnihud/rnd name = "\improper AR-R glasses" desc = "The ARG-62-R AR Glasses are capable of displaying information on individuals. \ - These have been ... modified ... to fit into a different frame." + They... don't seem to do anything particularly interesting? But hey, at least they look kinda science-y." mode = "sci" - icon = 'icons/obj/clothing/glasses.dmi' - icon_override = null - icon_state = "purple" /obj/item/clothing/glasses/omnihud/eng/meson name = "meson scanner HUD" @@ -161,6 +210,13 @@ mode = "best" flash_protection = FLASH_PROTECTION_MAJOR enables_planes = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_STATUS_R,VIS_CH_BACKUP,VIS_CH_WANTED) + action_button_name = "AR Console (All Alerts)" + arscreen_path = /datum/nano_module/alarm_monitor/all + + ar_interact(var/mob/living/carbon/human/user) + if(arscreen) + arscreen.ui_interact(user,"main",null,1,glasses_state) + return 1 /obj/item/clothing/glasses/hud/security/eyepatch name = "Security Hudpatch" From caf631acb8db21e84a658688f1d67d87502b5a5e Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Sun, 5 Jul 2020 08:05:35 +0100 Subject: [PATCH 003/149] Update hud_vr.dm --- code/modules/clothing/glasses/hud_vr.dm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/code/modules/clothing/glasses/hud_vr.dm b/code/modules/clothing/glasses/hud_vr.dm index c45471ae73..71dd4b0b24 100644 --- a/code/modules/clothing/glasses/hud_vr.dm +++ b/code/modules/clothing/glasses/hud_vr.dm @@ -48,18 +48,14 @@ /obj/item/clothing/glasses/omnihud/prescribe(var/mob/user) prescription = !prescription playsound(src,'sound/items/screwdriver.ogg', 50, 1) - if(prescription && icon_state == "glasses") - name = "[initial(name)] (pr)" - user.visible_message("[user] uploads new prescription data to the [src.name].") - icon_state = "glasses" - else if(prescription && icon_state == "sun") - name = "[initial(name)] (shaded, pr)" - user.visible_message("[user] uploads new prescription data to the [src.name].") - icon_state = "sun" + if(prescription) + user.visible_message("[user] uploads new prescription data to the [src.name] and resets the lenses.") + name = "[initial(name)] (pr)" //change the name *after* the text so the message above is accurate + icon_state = "[initial(icon_state)]" //reset the icon state just to be safe else - name = "[initial(name)]" user.visible_message("[user] deletes the prescription data on the [src.name] and resets the lenses.") - icon_state = "glasses" + name = "[initial(name)]" + icon_state = "[initial(icon_state)]" /obj/item/clothing/glasses/omnihud/attack_self(mob/user) if(!ishuman(user)) @@ -86,7 +82,7 @@ name = "[initial(name)] (pr)" else name = "[initial(name)]" - icon_state = "glasses" + icon_state = "[initial(icon_state)]" else if(prescription) if(icon_state == "glasses") to_chat(usr, "You darken the electrochromic lenses of \the [src] to one-way transparency.") @@ -96,6 +92,8 @@ to_chat(usr, "You restore the electrochromic lenses of \the [src] to standard two-way transparency.") name = "[initial(name)] (pr)" icon_state = "glasses" + else + to_chat(usr, "The [src] don't seem to support this functionality.") else if(!prescription) if(icon_state == "glasses") to_chat(usr, "You darken the electrochromic lenses of \the [src] to one-way transparency.") @@ -105,6 +103,8 @@ to_chat(usr, "You restore the electrochromic lenses of \the [src] to standard two-way transparency.") name = "[initial(name)]" icon_state = "glasses" + else + to_chat(usr, "The [src] don't seem to support this functionality.") update_clothing_icon() /obj/item/clothing/glasses/omnihud/proc/ar_interact(var/mob/living/carbon/human/user) From c7c9764319edd30b427c011143f7ba0ba04716ee Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Sun, 5 Jul 2020 23:09:40 +0200 Subject: [PATCH 004/149] Add a check to custom virgo traits to limit synths from taking certain ones. --- .../client/preference_setup/vore/07_traits.dm | 13 +++++++++++++ .../carbon/human/species/station/traits_vr/trait.dm | 1 + 2 files changed, 14 insertions(+) diff --git a/code/modules/client/preference_setup/vore/07_traits.dm b/code/modules/client/preference_setup/vore/07_traits.dm index 6462a142c7..e653166b7a 100644 --- a/code/modules/client/preference_setup/vore/07_traits.dm +++ b/code/modules/client/preference_setup/vore/07_traits.dm @@ -14,6 +14,7 @@ var/traits_cheating = 0 //Varedit by admins allows saving new maximums on people who apply/etc var/starting_trait_points = STARTING_SPECIES_POINTS var/max_traits = MAX_SPECIES_TRAITS + var/dirty_synth = 0 //Are you a synth // Definition of the stuff for Ears /datum/category_item/player_setup_item/vore/traits @@ -82,6 +83,10 @@ /datum/category_item/player_setup_item/vore/traits/copy_to_mob(var/mob/living/carbon/human/character) character.custom_species = pref.custom_species var/datum/species/selected_species = GLOB.all_species[pref.species] + + if(character.isSynthetic()) //Checking if we have a synth on our hands, boys. + pref.dirty_synth = 1 + if(selected_species.selects_bodytype) var/datum/species/custom/CS = character.species var/S = pref.custom_base ? pref.custom_base : "Human" @@ -255,6 +260,14 @@ var/conflict = FALSE + user.isSynthetic() //Recheck just to be sure + if(pref.dirty_synth && instance.not_for_synths)//if you are a synth you can't take this trait. + alert("You cannot take this trait as a SYNTH.\ + Please remove that trait, or pick another trait to add.","Error") + pref.dirty_synth = 0 //Just to be sure + return TOPIC_REFRESH + + if(trait_choice in pref.pos_traits + pref.neu_traits + pref.neg_traits) conflict = instance.name diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/trait.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/trait.dm index 1be1ea0268..434fc8d846 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/trait.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/trait.dm @@ -5,6 +5,7 @@ var/cost = 0 // 0 is neutral, negative cost means negative, positive cost means positive. var/list/var_changes // A list to apply to the custom species vars. var/list/excludes // Store a list of paths of traits to exclude, but done automatically if they change the same vars. + var/not_for_synths = 0 // Can freaking synths use those. //Proc can be overridden lower to include special changes, make sure to call up though for the vars changes /datum/trait/proc/apply(var/datum/species/S,var/mob/living/carbon/human/H) From da9e9fec8f252b2ebfd6016257076bd21735c4ff Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Sun, 5 Jul 2020 23:09:58 +0200 Subject: [PATCH 005/149] Bring back hemophilia. No, it's not a crime! --- .../carbon/human/species/station/traits_vr/negative.dm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm index 402c1928dd..a98eec210f 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm @@ -90,6 +90,13 @@ cost = -2 var_changes = list("siemens_coefficient" = 2.0) //This makes you extremely weak to tasers. +/datum/trait/haemophilia + name = "Haemophilia" + desc = "When you bleed, you bleed a LOT." + cost = -2 + var_changes = list("bloodloss_rate" = 2) + not_for_synths = 1 + /datum/trait/hollow name = "Hollow Bones/Aluminum Alloy" desc = "Your bones and robot limbs are much easier to break." From a73f330d59a524cfffa66cb1c84a3c1b1ac80a99 Mon Sep 17 00:00:00 2001 From: lbnesquik Date: Sun, 5 Jul 2020 23:24:35 +0200 Subject: [PATCH 006/149] Clarify that this isn't for goddamn replicants. --- .../living/carbon/human/species/station/traits_vr/negative.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm index a98eec210f..5a5270bc2c 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/negative.dm @@ -91,8 +91,8 @@ var_changes = list("siemens_coefficient" = 2.0) //This makes you extremely weak to tasers. /datum/trait/haemophilia - name = "Haemophilia" - desc = "When you bleed, you bleed a LOT." + name = "Haemophilia - Organics only" + desc = "When you bleed, you bleed a LOT. This trait is only for organics, buggy with synths!" cost = -2 var_changes = list("bloodloss_rate" = 2) not_for_synths = 1 From 8b92138c1f9bf1ae1859b46345a6609fe3beee9e Mon Sep 17 00:00:00 2001 From: Killian <49700375+KillianKirilenko@users.noreply.github.com> Date: Mon, 6 Jul 2020 22:22:39 +0100 Subject: [PATCH 007/149] add projector to loadout, more minor tweaks --- .../preference_setup/loadout/loadout_eyes_vr.dm | 4 ++++ code/modules/clothing/glasses/hud_vr.dm | 14 ++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm b/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm index e32c42f702..baa19d0aec 100644 --- a/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm +++ b/code/modules/client/preference_setup/loadout/loadout_eyes_vr.dm @@ -47,6 +47,10 @@ display_name = "science goggles (no overlay)" path = /obj/item/clothing/glasses/fluff/science_proper +/datum/gear/eyes/meson/retinal + display_name = "retinal projector, meson (Eng, Sci, Mining)" + path = /obj/item/clothing/glasses/omnihud/eng/meson + /datum/gear/eyes/security/secpatch display_name = "Security HUDpatch" path = /obj/item/clothing/glasses/hud/security/eyepatch diff --git a/code/modules/clothing/glasses/hud_vr.dm b/code/modules/clothing/glasses/hud_vr.dm index 71dd4b0b24..cf02ad326c 100644 --- a/code/modules/clothing/glasses/hud_vr.dm +++ b/code/modules/clothing/glasses/hud_vr.dm @@ -2,7 +2,8 @@ name = "\improper AR glasses" desc = "The ARG-62 AR Glasses are capable of displaying information on individuals. \ Commonly used to allow non-augmented crew to interact with virtual interfaces. \ -
They are also fitted with toggleable electrochromic lenses." +
They are also fitted with toggleable cosmetic electrochromic lenses. \ + The lenses will not protect against sudden bright flashes or welding." origin_tech = list(TECH_MAGNET = 3, TECH_BIO = 3) var/obj/item/clothing/glasses/hud/omni/hud = null var/mode = "civ" @@ -135,7 +136,7 @@ These have been upgraded with security records integration and flash protection. \ They also have access to security alerts such as camera and motion sensor alarms." mode = "sec" - flash_protection = FLASH_PROTECTION_MAJOR + flash_protection = FLASH_PROTECTION_MODERATE //weld protection is a little too widespread action_button_name = "AR Console (Security Alerts)" arscreen_path = /datum/nano_module/alarm_monitor/security enables_planes = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_WANTED,VIS_AUGMENTED) @@ -168,7 +169,7 @@ /obj/item/clothing/glasses/omnihud/eng/meson name = "meson scanner HUD" - desc = "A headset equipped with a scanning lens and mounted retinal projector. They don't provide any eye protection, but they're less obtrusive than goggles." + desc = "A headset equipped with a scanning lens and mounted retinal projector. It doesn't provide any eye protection, but it's less obtrusive than goggles." icon = 'icons/vore/custom_items_vr.dmi' icon_override = 'icons/vore/custom_clothes_vr.dmi' icon_state = "projector" @@ -176,6 +177,7 @@ body_parts_covered = 0 toggleable = 1 vision_flags = SEE_TURFS //but they can spot breaches. Due to the way HUDs work, they don't provide darkvision up-close the way mesons do. + flash_protection = 0 //it's an open, single-eye retinal projector. there's no way it protects your eyes from flashes or welders. /obj/item/clothing/glasses/omnihud/eng/meson/attack_self(mob/user) if(!active) @@ -206,7 +208,8 @@ /obj/item/clothing/glasses/omnihud/all name = "\improper AR-B glasses" desc = "The ARG-62-B AR Glasses are capable of displaying information on individuals. \ - These have been upgraded with every feature the lesser models have. Now we're talkin'." + These have been upgraded with (almost) every feature the lesser models have. Now we're talkin'. \ +
Offers full protection against bright flashes/welders and full access to system alarm monitoring." mode = "best" flash_protection = FLASH_PROTECTION_MAJOR enables_planes = list(VIS_CH_ID,VIS_CH_HEALTH_VR,VIS_CH_STATUS_R,VIS_CH_BACKUP,VIS_CH_WANTED) @@ -263,5 +266,4 @@ icon_state = "[icon_state]_1" else icon_state = initial(icon_state) - update_clothing_icon() - + update_clothing_icon() \ No newline at end of file From 61413eedae807ff8363c028e17142db04574c1d9 Mon Sep 17 00:00:00 2001 From: LunarFleet <66186750+LunarFleet@users.noreply.github.com> Date: Thu, 16 Jul 2020 21:14:31 -0400 Subject: [PATCH 008/149] Whitelist and sprites finished --- .../mob/living/silicon/robot/custom_sprites.dm | 8 +++++++- config/alienwhitelist.txt | 1 + config/custom_sprites.txt | 4 +++- icons/mob/custom_synthetic.dmi | Bin 0 -> 102329 bytes 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/silicon/robot/custom_sprites.dm b/code/modules/mob/living/silicon/robot/custom_sprites.dm index 310f558bad..b189e1a84c 100644 --- a/code/modules/mob/living/silicon/robot/custom_sprites.dm +++ b/code/modules/mob/living/silicon/robot/custom_sprites.dm @@ -11,7 +11,7 @@ GLOBAL_LIST_EMPTY(robot_custom_icons) GLOB.robot_custom_icons = list() for(var/line in lines) //split entry into ckey and real_name - var/list/split_idx = splittext(line, "-") //this works if ckeys and borg names cannot contain dashes, and splittext starts from the beginning ~Mech + var/list/split_idx = splittext(line, "|") //this was set to a - before, even though a good 30% of the borgs I see have a - in their name, set it to | instead if(!split_idx || !split_idx.len) continue //bad entry @@ -32,3 +32,9 @@ GLOBAL_LIST_EMPTY(robot_custom_icons) icon = CUSTOM_ITEM_SYNTH if(icon_state == "robot") icon_state = "[ckey]-[sprite_name]-Standard" //Compliant with robot.dm line 236 ~Mech +// To summarize, if you want to add a whitelisted borg sprite, you have to +// 1. Add ckey and character name to config/custom_sprites, separated by a | +// 2. Add your custom sprite to custom_synthetic.dmi under icon/mob/custom_synthetic.dmi +// 3. Name the sprite, and all of its components, as ckey-charname-module +// Note that, due to the last couple lines of code, your sprite may appear invisible until you select a module. +// You can fix this by adding a 'standard' configuration, or you could probably just ignore it if you're lazy. \ No newline at end of file diff --git a/config/alienwhitelist.txt b/config/alienwhitelist.txt index d182272b99..38ceab2843 100644 --- a/config/alienwhitelist.txt +++ b/config/alienwhitelist.txt @@ -19,6 +19,7 @@ inuzari - Diona jademanique - Xenochimera jemli - Gutter ktccd - Diona +lunarfleet - Gutter mewchild - Diona mewchild - Vox mrsebbi - Xenochimera diff --git a/config/custom_sprites.txt b/config/custom_sprites.txt index db3930a4ae..b99307d173 100644 --- a/config/custom_sprites.txt +++ b/config/custom_sprites.txt @@ -1 +1,3 @@ -ckey-state \ No newline at end of file +ckey|state +lunarfleet|Clea-Nor +jademanique|B.A.U-Kingside \ No newline at end of file diff --git a/icons/mob/custom_synthetic.dmi b/icons/mob/custom_synthetic.dmi index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..8c9cd318f75cafdccad175bd5d0aa421fbdf8121 100644 GIT binary patch literal 102329 zcmd43g;q<7rL;o0pt zZkALnW%XxknYYpU&0Xxz*8I$>92ocCh<@>0wp_+Knr_Yo8*}Rj`=J8|1`h{e*$=f} z+z9sG)GwhH`BfHHoIW@>{~}f4YtMmqXUlk>aiw`3N$U19-)HR2ko(k^PRPbc4^we`1#mr5U7M#%3MqEw33o-IllU@`xsjqv1~ zvbcAF`N`SyrKZ6LH@^7Dah~lTEq9Eu;7Hpc?ksNk zJA=k<_mVyp9Y3|Gv*7M=IqsQ6p)ZD%xiLMexcM-s&NC(b@bsgXH@eJ(`-?7k`uLJ1 zJ{x-F>_olFHZ|0ao4-Z}O}R@4zQoHsij_wLfCh%TIu;?1mzr>1BJ&St|K$JhNS=|L zzx(z=C5yW=>%hV@%^2=r)i8&v-lApN??&ZTR*|j(;*UY_QNui?_r^i7nKW5Q0}t0)LZrAo>9gJz49){F^Mnd zBTB6F_zzNxBy%{igOVlhwjviJ$G1Y8HyeFBd`9aK@eYFjd7RElauC4(?|mkW>%26m;=ZfUcjxlbUcmEuZkpkeOD3pq3CSIC znJ-;gJSlzY4gz_e-z2o(e5<6_M9^Jqp`@gyYDadHdVm)#kA4KxFXu&rW~EHGqj9&S zNG*S|S`a{i+x~Wk!^v*kpRcalzXZBD8U*#HT6PzdcYiBrW0oA_SSx6l?O2Q(S-oxV z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020 22:09:40 -0400 Subject: [PATCH 009/149] Requested changes --- code/__defines/misc.dm | 2 +- icons/mob/custom_synthetic.dmi | Bin 102329 -> 186 bytes icons/mob/custom_synthetic_vr.dmi | Bin 0 -> 102329 bytes 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 icons/mob/custom_synthetic_vr.dmi diff --git a/code/__defines/misc.dm b/code/__defines/misc.dm index 97d4d34fc6..045aa65ceb 100644 --- a/code/__defines/misc.dm +++ b/code/__defines/misc.dm @@ -111,7 +111,7 @@ #define CUSTOM_ITEM_MOB 'icons/mob/custom_items_mob.dmi' #endif #ifndef CUSTOM_ITEM_SYNTH -#define CUSTOM_ITEM_SYNTH 'icons/mob/custom_synthetic.dmi' +#define CUSTOM_ITEM_SYNTH 'icons/mob/custom_synthetic_vr.dmi' //Vorestation edit #endif #define WALL_CAN_OPEN 1 diff --git a/icons/mob/custom_synthetic.dmi b/icons/mob/custom_synthetic.dmi index 8c9cd318f75cafdccad175bd5d0aa421fbdf8121..7854fabe2bfffb7d69260c414594388840726807 100644 GIT binary patch literal 186 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH$P6TB1iv{Bq?iMILR^9L@+#X~K#H*>$S;_| z;n|HeAjhXFB%;J6wK%ybv!En1KaYW-Voq>aK~d@VFTn*Lzdq6O*3~+9=6vvmP=kxc z4<6~9_t8AbP;|y;hlO#F@nvJL2AO1Ky;Rn4d+`ly44;V>*?YcA~7{N dL4x%M&`Jdc#{CC3t^i6fc)I$ztaD0e0szqyI?w;q<7rL;o0pt zZkALnW%XxknYYpU&0Xxz*8I$>92ocCh<@>0wp_+Knr_Yo8*}Rj`=J8|1`h{e*$=f} z+z9sG)GwhH`BfHHoIW@>{~}f4YtMmqXUlk>aiw`3N$U19-)HR2ko(k^PRPbc4^we`1#mr5U7M#%3MqEw33o-IllU@`xsjqv1~ zvbcAF`N`SyrKZ6LH@^7Dah~lTEq9Eu;7Hpc?ksNk zJA=k<_mVyp9Y3|Gv*7M=IqsQ6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HPX40 j9bpNdSG4?Nj|Igav42?im~8bJJ3p Date: Wed, 12 Aug 2020 04:31:00 -0400 Subject: [PATCH 010/149] Adds Mech Toy Battles! Port of https://github.com/tgstation/tgstation/pull/51817 Adds a mech vs mech combat system for the toy mechs earned from arcades and found around the station. You can initiate combat with yourself by hitting a toy mech with another toy mech, or fight another player if you attack a player holding a mech with a mech. Each mech has its own health stat and special ability that they'll use in combat against each other. How exciting! Also slightly refactors toy locations and changes toy mechs from being JUST prizes to their own proper toy subtype! --- .../game/objects/items/{ => toys}/balls_vr.dm | 0 .../objects/items/{ => toys}/godfigures.dm | 0 code/game/objects/items/toys/mech_toys.dm | 642 ++++ code/game/objects/items/{ => toys}/toys.dm | 2969 ++++++++--------- code/game/objects/items/{ => toys}/toys_vr.dm | 0 .../objects/items/weapons/gift_wrappaper.dm | 22 +- code/game/objects/random/misc.dm | 22 +- code/modules/mining/abandonedcrates.dm | 2 +- icons/obj/toy.dmi | Bin 67581 -> 67581 bytes sound/machines/honkbot_evil_laugh.ogg | Bin 0 -> 18967 bytes sound/mecha/mech_shield_deflect.ogg | Bin 0 -> 11708 bytes sound/mecha/mech_shield_drop.ogg | Bin 0 -> 17325 bytes sound/mecha/mech_shield_raise.ogg | Bin 0 -> 25055 bytes sound/weapons/parry.ogg | Bin 0 -> 9924 bytes vorestation.dme | 9 +- 15 files changed, 2110 insertions(+), 1556 deletions(-) rename code/game/objects/items/{ => toys}/balls_vr.dm (100%) rename code/game/objects/items/{ => toys}/godfigures.dm (100%) create mode 100644 code/game/objects/items/toys/mech_toys.dm rename code/game/objects/items/{ => toys}/toys.dm (92%) rename code/game/objects/items/{ => toys}/toys_vr.dm (100%) create mode 100644 sound/machines/honkbot_evil_laugh.ogg create mode 100644 sound/mecha/mech_shield_deflect.ogg create mode 100644 sound/mecha/mech_shield_drop.ogg create mode 100644 sound/mecha/mech_shield_raise.ogg create mode 100644 sound/weapons/parry.ogg diff --git a/code/game/objects/items/balls_vr.dm b/code/game/objects/items/toys/balls_vr.dm similarity index 100% rename from code/game/objects/items/balls_vr.dm rename to code/game/objects/items/toys/balls_vr.dm diff --git a/code/game/objects/items/godfigures.dm b/code/game/objects/items/toys/godfigures.dm similarity index 100% rename from code/game/objects/items/godfigures.dm rename to code/game/objects/items/toys/godfigures.dm diff --git a/code/game/objects/items/toys/mech_toys.dm b/code/game/objects/items/toys/mech_toys.dm new file mode 100644 index 0000000000..826c5d374d --- /dev/null +++ b/code/game/objects/items/toys/mech_toys.dm @@ -0,0 +1,642 @@ +/* + * Mech toys (previously labeled prizes, but that's unintuitive) + * Mech toy combat + */ + +// Mech battle special attack types. +#define SPECIAL_ATTACK_HEAL 1 +#define SPECIAL_ATTACK_DAMAGE 2 +#define SPECIAL_ATTACK_UTILITY 3 +#define SPECIAL_ATTACK_OTHER 4 + +// Max length of a mech battle +#define MAX_BATTLE_LENGTH 50 + +/obj/item/toy/mech + icon = 'icons/obj/toy.dmi' + icon_state = "ripleytoy" + drop_sound = 'sound/mecha/mechstep.ogg' + reach = 2 // So you can battle across the table! + + // Mech Battle Vars + var/timer = 0 // Timer when it'll be off cooldown + var/cooldown = 1.5 SECONDS // Cooldown between play sessions (and interactions) + var/cooldown_multiplier = 20 // Cooldown multiplier after a battle (by default: battle cooldowns are 30 seconds) + var/quiet = FALSE // If it makes noise when played with + var/wants_to_battle = FALSE // TRUE = Offering battle to someone || FALSE = Not offering battle + var/in_combat = FALSE // TRUE = in combat currently || FALSE = Not in combat + var/combat_health = 0 // The mech's health in battle + var/max_combat_health = 0 // The mech's max combat health + var/special_attack_charged = FALSE // TRUE = the special attack is charged || FALSE = not charged + var/special_attack_type = 0 // What type of special attack they use - SPECIAL_ATTACK_DAMAGE, SPECIAL_ATTACK_HEAL, SPECIAL_ATTACK_UTILITY, SPECIAL_ATTACK_OTHER + var/special_attack_type_message = "" // What message their special move gets on examining + var/special_attack_cry = "*flip" // The battlecry when using the special attack + var/special_attack_cooldown = 0 // Current cooldown of their special attack + var/wins = 0 // This mech's win count in combat + var/losses = 0 // ...And their loss count in combat + +/obj/item/toy/mech/Initialize() + . = ..() + desc = "Mini-Mecha action figure! Collect them all! Attack your friends or another mech with one to initiate epic mech combat! [desc]." + combat_health = max_combat_health + switch(special_attack_type) + if(SPECIAL_ATTACK_DAMAGE) + special_attack_type_message = "an aggressive move, which deals bonus damage." + if(SPECIAL_ATTACK_HEAL) + special_attack_type_message = "a defensive move, which grants bonus healing." + if(SPECIAL_ATTACK_UTILITY) + special_attack_type_message = "a utility move, which heals the user and damages the opponent." + if(SPECIAL_ATTACK_OTHER) + special_attack_type_message = "a special move, which [special_attack_type_message]" + else + special_attack_type_message = "a mystery move, even I don't know." + +/obj/item/toy/mech/proc/in_range(source, user) // Modify our in_range proc specifically for mech battles! + if(get_dist(source, user) <= 2) + return 1 + + return 0 //not in range and not telekinetic + +/** + * this proc combines "sleep" while also checking for if the battle should continue + * + * this goes through some of the checks - the toys need to be next to each other to fight! + * if it's player vs themself: They need to be able to "control" both mechs (either must be adjacent or using TK). + * if it's player vs player: Both players need to be able to "control" their mechs (either must be adjacent or using TK). + * if it's player vs mech (suicide): the mech needs to be in range of the player. + * if all the checks are TRUE, it does the sleeps, and returns TRUE. Otherwise, it returns FALSE. + * Arguments: + * * delay - the amount of time the sleep at the end of the check will sleep for + * * attacker - the attacking toy in the battle. + * * attacker_controller - the controller of the attacking toy. there should ALWAYS be an attacker_controller + * * opponent - (optional) the defender controller in the battle, for PvP + */ + +/obj/item/toy/mech/proc/combat_sleep(var/delay, obj/item/toy/mech/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) + if(!attacker_controller) // If the attacker for whatever reason is null, don't continue. + return FALSE + + if(!attacker) // If there's no attacker, then attacker_controller IS the attacker. + if(!in_range(src, attacker_controller)) + attacker_controller.visible_message("[attacker_controller] is running from [src]! The coward!") + return FALSE + else // If there's an attacker, we can procede as normal. + if(!in_range(src, attacker)) // The two toys aren't next to each other, the battle ends. + attacker_controller.visible_message(" [attacker] and [src] separate, ending the battle. ", \ + " [attacker] and [src] separate, ending the battle. ") + return FALSE + + // Dead men tell no tales, incapacitated men fight no fights. + if(attacker_controller.incapacitated()) + return FALSE + // If the attacker_controller isn't next to the attacking toy (and doesn't have telekinesis), the battle ends. + if(!in_range(attacker, attacker_controller)) + attacker_controller.visible_message(" [attacker_controller.name] seperates from [attacker], ending the battle.", \ + " You separate from [attacker], ending the battle. ") + return FALSE + + // If it's PVP and the opponent is not next to the defending(src) toy (and doesn't have telekinesis), the battle ends. + if(opponent) + if(opponent.incapacitated()) + return FALSE + if(!in_range(src, opponent)) + opponent.visible_message(" [opponent.name] seperates from [src], ending the battle.", \ + " You separate from [src], ending the battle. ") + return FALSE + // If it's not PVP and the attacker_controller isn't next to the defending toy (and doesn't have telekinesis), the battle ends. + else + if (!in_range(src, attacker_controller)) + attacker_controller.visible_message(" [attacker_controller.name] seperates from [src] and [attacker], ending the battle.", \ + " You separate [attacker] and [src], ending the battle. ") + return FALSE + + // If all that is good, then we can sleep peacefully. + sleep(delay) + return TRUE + +//all credit to skasi for toy mech fun ideas +/obj/item/toy/mech/attack_self(mob/user) + if(timer < world.time) + to_chat(user, "You play with [src].") + timer = world.time + cooldown + playsound(user, 'sound/mecha/mechstep.ogg', 20, TRUE) + else + . = ..() + +/obj/item/toy/mech/attack_hand(mob/user) + . = ..() + if(.) + return + if(loc == user) + attack_self(user) + +/** + * If you attack a mech with a mech, initiate combat between them + */ +/obj/item/toy/mech/attackby(obj/item/user_toy, mob/living/user) + if(istype(user_toy, /obj/item/toy/mech)) + var/obj/item/toy/mech/M = user_toy + if(check_battle_start(user, M)) + mecha_brawl(M, user) + ..() + +/** + * Attack is called from the user's toy, aimed at target(another human), checking for target's toy. + */ +/obj/item/toy/mech/attack(mob/living/carbon/human/target, mob/living/carbon/human/user) + if(target == user) + to_chat(user, "Target another toy mech if you want to start a battle with yourself.") + return + else if(user.a_intent != I_HURT) + if(wants_to_battle) //prevent spamming someone with offers + to_chat(user, "You already are offering battle to someone!") + return + if(!check_battle_start(user)) //if the user's mech isn't ready, don't bother checking + return + + for(var/obj/item/I in target.get_all_held_items()) + if(istype(I, /obj/item/toy/mech)) //if you attack someone with a mech who's also holding a mech, offer to battle them + var/obj/item/toy/mech/M = I + if(!M.check_battle_start(target, null, user)) //check if the attacker mech is ready + break + + //slap them with the metaphorical white glove + if(M.wants_to_battle) //if the target mech wants to battle, initiate the battle from their POV + mecha_brawl(M, target, user) //P = defender's mech / SRC = attacker's mech / target = defender / user = attacker + M.wants_to_battle = FALSE + return + + //extend the offer of battle to the other mech + var/datum/gender/T = gender_datums[user.get_visible_gender()] + to_chat(user, "You offer battle to [target.name]!") + to_chat(target, "[user.name] wants to battle with [T.His] [name]! Attack them with a toy mech to initiate combat.") + wants_to_battle = TRUE + addtimer(CALLBACK(src, .proc/withdraw_offer, user), 6 SECONDS) + return + + ..() + +/** + * Overrides attack_tk - Sorry, you have to be face to face to initiate a battle, it's good sportsmanship + */ +/obj/item/toy/mech/attack_tk(mob/user) + if(timer < world.time) + to_chat(user, "You telekinetically play with [src].") + timer = world.time + cooldown + playsound(user, 'sound/mecha/mechstep.ogg', 20, TRUE) + +/** + * Resets the request for battle. + * + * For use in a timer, this proc resets the wants_to_battle variable after a short period. + * Arguments: + * * user - the user wanting to do battle + */ +/obj/item/toy/mech/proc/withdraw_offer(mob/living/carbon/user) + if(wants_to_battle) + wants_to_battle = FALSE + to_chat(user, "You get the feeling they don't want to battle.") +/** + * Starts a battle, toy mech vs player. Player... doesn't win. Commented out for now as suicide_act is not physically doable. + */ +/obj/item/toy/mech/suicide_act(mob/living/carbon/user) + if(in_combat) + to_chat(user, "[src] is in battle, let it finish first.") + return + + var/datum/gender/T = gender_datums[user.get_visible_gender()] + user.visible_message("[user] begins a fight [T.His] can't win with [src]! It looks like [T.His] trying to commit suicide!") + + in_combat = TRUE + sleep(1.5 SECONDS) + for(var/i in 1 to 4) + switch(i) + if(1, 3) + SpinAnimation(5, 0) + playsound(src, 'sound/mecha/mechstep.ogg', 30, TRUE) + user.adjustBruteLoss(25) + if(2) + user.SpinAnimation(5, 0) + playsound(user, 'sound/weapons/smash.ogg', 20, TRUE) + combat_health-- //we scratched it! + if(4) + visible_message(special_attack_cry + "!!") + + if(!combat_sleep(1 SECONDS, null, user)) + visible_message("PATHETIC.") + combat_health = max_combat_health + in_combat = FALSE + return (BRUTELOSS) + + sleep(0.5 SECONDS) + user.adjustBruteLoss(450) + + in_combat = FALSE + visible_message("AN EASY WIN. MY POWER INCREASES.") // steal a soul, become swole + color= "#ff7373" + max_combat_health = round(max_combat_health*1.5 + 0.1) + combat_health = max_combat_health + wins++ + return (BRUTELOSS) + +/obj/item/toy/mech/examine() + . = ..() + . += "This toy's special attack is [special_attack_cry], [special_attack_type_message] " + if(in_combat) + . += "This toy has a maximum health of [max_combat_health]. Currently, it's [combat_health]." + . += "Its special move light is [special_attack_cooldown? "flashing red." : "green and is ready!"]" + else + . += "This toy has a maximum health of [max_combat_health]." + + if(wins || losses) + . += "This toy has [wins] wins, and [losses] losses." + +/** + * The 'master' proc of the mech battle. Processes the entire battle's events and makes sure it start and finishes correctly. + * + * src is the defending toy, and the battle proc is called on it to begin the battle. + * After going through a few checks at the beginning to ensure the battle can start properly, the battle begins a loop that lasts + * until either toy has no more health. During this loop, it also ensures the mechs stay in combat range of each other. + * It will then randomly decide attacks for each toy, occasionally making one or the other use their special attack. + * When either mech has no more health, the loop ends, and it displays the victor and the loser while updating their stats and resetting them. + * Arguments: + * * attacker - the attacking toy, the toy in the attacker_controller's hands + * * attacker_controller - the user, the one who is holding the toys / controlling the fight + * * opponent - optional arg used in Mech PvP battles: the other person who is taking part in the fight (controls src) + */ +/obj/item/toy/mech/proc/mecha_brawl(obj/item/toy/mech/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) + //A GOOD DAY FOR A SWELL BATTLE! + attacker_controller.visible_message(" [attacker_controller.name] collides [attacker] with [src]! Looks like they're preparing for a brawl! ", \ + " You collide [attacker] into [src], sparking a fierce battle! ", \ + " You hear hard plastic smacking into hard plastic.") + + /// Who's in control of the defender (src)? + var/mob/living/carbon/src_controller = (opponent)? opponent : attacker_controller + /// How long has the battle been going? + var/battle_length = 0 + + in_combat = TRUE + attacker.in_combat = TRUE + + //1.5 second cooldown * 20 = 30 second cooldown after a fight + timer = world.time + cooldown*cooldown_multiplier + attacker.timer = world.time + attacker.cooldown*attacker.cooldown_multiplier + + sleep(1 SECONDS) + //--THE BATTLE BEGINS-- + while(combat_health > 0 && attacker.combat_health > 0 && battle_length < MAX_BATTLE_LENGTH) + if(!combat_sleep(0.5 SECONDS, attacker, attacker_controller, opponent)) //combat_sleep checks everything we need to have checked for combat to continue + break + + //before we do anything - deal with charged attacks + if(special_attack_charged) + src_controller.visible_message(" [src] unleashes its special attack!! ", \ + " You unleash [src]'s special attack! ") + special_attack_move(attacker) + else if(attacker.special_attack_charged) + + attacker_controller.visible_message(" [attacker] unleashes its special attack!! ", \ + " You unleash [attacker]'s special attack! ") + attacker.special_attack_move(src) + else + //process the cooldowns + if(special_attack_cooldown > 0) + special_attack_cooldown-- + if(attacker.special_attack_cooldown > 0) + attacker.special_attack_cooldown-- + + //combat commences + switch(rand(1,8)) + if(1 to 3) //attacker wins + if(attacker.special_attack_cooldown == 0 && attacker.combat_health <= round(attacker.max_combat_health/3)) //if health is less than 1/3 and special off CD, use it + attacker.special_attack_charged = TRUE + attacker_controller.visible_message(" [attacker] begins charging its special attack!! ", \ + " You begin charging [attacker]'s special attack! ") + else //just attack + attacker.SpinAnimation(5, 0) + playsound(attacker, 'sound/mecha/mechstep.ogg', 30, TRUE) + combat_health-- + attacker_controller.visible_message(" [attacker] devastates [src]! ", \ + " You ram [attacker] into [src]! ", \ + " You hear hard plastic smacking hard plastic.") + if(prob(5)) + combat_health-- + playsound(src, 'sound/effects/meteorimpact.ogg', 20, TRUE) + attacker_controller.visible_message(" ...and lands a CRIPPLING BLOW! ", \ + " ...and you land a CRIPPLING blow on [src]! ", null) + + if(4) //both lose + attacker.SpinAnimation(5, 0) + SpinAnimation(5, 0) + combat_health-- + attacker.combat_health-- + // This is sloppy but we don't have do_sparks. + var/datum/effect/effect/system/spark_spread/sparksrc = new(src) + playsound(src, "sparks", 50, 1) + sparksrc.set_up(2, 0, src) + sparksrc.attach(src) + sparksrc.start() + var/datum/effect/effect/system/spark_spread/sparkatk = new(attacker) + playsound(attacker, "sparks", 50, 1) + sparkatk.set_up(2, 0, attacker) + sparkatk.attach(attacker) + sparkatk.start() + if(prob(50)) + attacker_controller.visible_message(" [attacker] and [src] clash dramatically, causing sparks to fly! ", \ + " [attacker] and [src] clash dramatically, causing sparks to fly! ", \ + " You hear hard plastic rubbing against hard plastic.") + else + src_controller.visible_message(" [src] and [attacker] clash dramatically, causing sparks to fly! ", \ + " [src] and [attacker] clash dramatically, causing sparks to fly! ", \ + " You hear hard plastic rubbing against hard plastic.") + if(5) //both win + playsound(attacker, 'sound/weapons/parry.ogg', 20, TRUE) + if(prob(50)) + attacker_controller.visible_message(" [src]'s attack deflects off of [attacker]. ", \ + " [src]'s attack deflects off of [attacker]. ", \ + " You hear hard plastic bouncing off hard plastic.") + else + src_controller.visible_message(" [attacker]'s attack deflects off of [src]. ", \ + " [attacker]'s attack deflects off of [src]. ", \ + " You hear hard plastic bouncing off hard plastic.") + + if(6 to 8) //defender wins + if(special_attack_cooldown == 0 && combat_health <= round(max_combat_health/3)) //if health is less than 1/3 and special off CD, use it + special_attack_charged = TRUE + src_controller.visible_message(" [src] begins charging its special attack!! ", \ + " You begin charging [src]'s special attack! ") + else //just attack + SpinAnimation(5, 0) + playsound(src, 'sound/mecha/mechstep.ogg', 30, TRUE) + attacker.combat_health-- + src_controller.visible_message(" [src] smashes [attacker]! ", \ + " You smash [src] into [attacker]! ", \ + " You hear hard plastic smashing hard plastic.") + if(prob(5)) + attacker.combat_health-- + playsound(attacker, 'sound/effects/meteorimpact.ogg', 20, TRUE) + src_controller.visible_message(" ...and lands a CRIPPLING BLOW! ", \ + " ...and you land a CRIPPLING blow on [attacker]! ", null) + else + attacker_controller.visible_message(" [src] and [attacker] stand around awkwardly.", \ + " You don't know what to do next.") + + battle_length++ + sleep(0.5 SECONDS) + + /// Lines chosen for the winning mech + var/list/winlines = list("YOU'RE NOTHING BUT SCRAP!", "I'LL YIELD TO NONE!", "GLORY IS MINE!", "AN EASY FIGHT.", "YOU SHOULD HAVE NEVER FACED ME.", "ROCKED AND SOCKED.") + + if(attacker.combat_health <= 0 && combat_health <= 0) //both lose + playsound(src, 'sound/machines/warning-buzzer.ogg', 20, TRUE) + attacker_controller.visible_message(" MUTUALLY ASSURED DESTRUCTION!! [src] and [attacker] both end up destroyed!", \ + " Both [src] and [attacker] are destroyed!") + else if(attacker.combat_health <= 0) //src wins + wins++ + attacker.losses++ + playsound(attacker, 'sound/effects/light_flicker.ogg', 20, TRUE) + attacker_controller.visible_message(" [attacker] falls apart!", \ + " [attacker] falls apart!", null) + visible_message("[pick(winlines)]") + src_controller.visible_message(" [src] destroys [attacker] and walks away victorious!", \ + " You raise up [src] victoriously over [attacker]!") + else if (combat_health <= 0) //attacker wins + attacker.wins++ + losses++ + playsound(src, 'sound/effects/light_flicker.ogg', 20, TRUE) + src_controller.visible_message(" [src] collapses!", \ + " [src] collapses!", null) + attacker.visible_message("[pick(winlines)]") + attacker_controller.visible_message(" [attacker] demolishes [src] and walks away victorious!", \ + " You raise up [attacker] proudly over [src]!") + else //both win? + visible_message("NEXT TIME.") + //don't want to make this a one sided conversation + quiet? attacker.visible_message("I WENT EASY ON YOU.") : attacker.visible_message("OF COURSE.") + + in_combat = FALSE + attacker.in_combat = FALSE + + combat_health = max_combat_health + attacker.combat_health = attacker.max_combat_health + + return + +/** + * This proc checks if a battle can be initiated between src and attacker. + * + * Both SRC and attacker (if attacker is included) timers are checked if they're on cooldown, and + * both SRC and attacker (if attacker is included) are checked if they are in combat already. + * If any of the above are true, the proc returns FALSE and sends a message to user (and target, if included) otherwise, it returns TRUE + * Arguments: + * * user: the user who is initiating the battle + * * attacker: optional arg for checking two mechs at once + * * target: optional arg used in Mech PvP battles (if used, attacker is target's toy) + */ +/obj/item/toy/mech/proc/check_battle_start(mob/living/carbon/user, obj/item/toy/mech/attacker, mob/living/carbon/target) + var/datum/gender/T + if(target) + T = gender_datums[target.get_visible_gender()] // Doing this because Polaris Code has shitty gender datums and it's clunkier than FUCK. + if(attacker && attacker.in_combat) + to_chat(user, "[target ? T.His : "Your" ] [attacker.name] is in combat.") + if(target) + to_chat(target, "Your [attacker.name] is in combat.") + return FALSE + if(in_combat) + to_chat(user, "Your [name] is in combat.") + if(target) + to_chat(target, "[T.His] [name] is in combat.") + return FALSE + if(attacker && attacker.timer > world.time) + to_chat(user, "[target?T.His : "Your" ] [attacker.name] isn't ready for battle.") + if(target) + to_chat(target, "Your [attacker.name] isn't ready for battle.") + return FALSE + if(timer > world.time) + to_chat(user, "Your [name] isn't ready for battle.") + if(target) + to_chat(target, "[T.His] [name] isn't ready for battle.") + return FALSE + + return TRUE + +/** + * Processes any special attack moves that happen in the battle (called in the mechaBattle proc). + * + * Makes the toy shout their special attack cry and updates its cooldown. Then, does the special attack. + * Arguments: + * * victim - the toy being hit by the special move + */ +/obj/item/toy/mech/proc/special_attack_move(obj/item/toy/mech/victim) + visible_message(special_attack_cry + "!!") + + special_attack_charged = FALSE + special_attack_cooldown = 3 + + switch(special_attack_type) + if(SPECIAL_ATTACK_DAMAGE) //+2 damage + victim.combat_health-=2 + playsound(src, 'sound/weapons/marauder.ogg', 20, TRUE) + if(SPECIAL_ATTACK_HEAL) //+2 healing + combat_health+=2 + playsound(src, 'sound/mecha/mech_shield_raise.ogg', 20, TRUE) + if(SPECIAL_ATTACK_UTILITY) //+1 heal, +1 damage + victim.combat_health-- + combat_health++ + playsound(src, 'sound/mecha/mechmove01.ogg', 30, TRUE) + if(SPECIAL_ATTACK_OTHER) //other + super_special_attack(victim) + else + visible_message("I FORGOT MY SPECIAL ATTACK...") + +/** + * Base proc for 'other' special attack moves. + * + * This one is only for inheritance, each mech with an 'other' type move has their procs below. + * Arguments: + * * victim - the toy being hit by the super special move (doesn't necessarily need to be used) + */ +/obj/item/toy/mech/proc/super_special_attack(obj/item/toy/mech/victim) + visible_message(" [src] does a cool flip.") + +/obj/random/mech_toy + name = "Random Mech Toy" + desc = "This is a random mech toy." + icon = 'icons/obj/toy.dmi' + icon_state = "ripleytoy" + +/obj/random/mech_toy/item_to_spawn() + return pick(typesof(/obj/item/toy/mech)) + +/obj/item/toy/mech/ripley + name = "toy ripley" + desc = "Mini-Mecha action figure! Collect them all! 1/11." + max_combat_health = 4 // 200 integrity + special_attack_type = SPECIAL_ATTACK_DAMAGE + special_attack_cry = "GIGA DRILL BREAK" + +/obj/item/toy/mech/fireripley + name = "toy firefighting ripley" + desc = "Mini-Mecha action figure! Collect them all! 2/11." + icon_state = "fireripleytoy" + max_combat_health = 5 // 250 integrity? + special_attack_type = SPECIAL_ATTACK_UTILITY + special_attack_cry = "FIRE SHIELD" + +/obj/item/toy/mech/deathripley + name = "toy deathsquad ripley" + desc = "Mini-Mecha action figure! Collect them all! 3/11." + icon_state = "deathripleytoy" + max_combat_health = 5 // 250 integrity + special_attack_type = SPECIAL_ATTACK_OTHER + special_attack_type_message = "instantly destroys the opposing mech if its health is less than this mech's health." + special_attack_cry = "KILLER CLAMP" + +/obj/item/toy/mech/deathripley/super_special_attack(obj/item/toy/mech/victim) + playsound(src, 'sound/weapons/sonic_jackhammer.ogg', 20, TRUE) + if(victim.combat_health < combat_health) // Instantly kills the other mech if it's health is below our's. + visible_message("EXECUTE!!") + victim.combat_health = 0 + else // Otherwise, just deal one damage. + victim.combat_health-- + +/obj/item/toy/mech/gygax + name = "toy gygax" + desc = "Mini-Mecha action figure! Collect them all! 4/11." + icon_state = "gygaxtoy" + max_combat_health = 5 // 250 integrity + special_attack_type = SPECIAL_ATTACK_UTILITY + special_attack_cry = "SUPER SERVOS" + +/obj/item/toy/mech/durand + name = "toy durand" + desc = "Mini-Mecha action figure! Collect them all! 5/11." + icon_state = "durandtoy" + max_combat_health = 6 // 400 integrity + special_attack_type = SPECIAL_ATTACK_HEAL + special_attack_cry = "SHIELD OF PROTECTION" + +/obj/item/toy/mech/honk + name = "toy H.O.N.K." + desc = "Mini-Mecha action figure! Collect them all! 6/11." + icon_state = "honktoy" + max_combat_health = 4 // 140 integrity + special_attack_type = SPECIAL_ATTACK_OTHER + special_attack_type_message = "puts the opposing mech's special move on cooldown and heals this mech." + special_attack_cry = "MEGA HORN" + +/obj/item/toy/mech/honk/super_special_attack(obj/item/toy/mech/victim) + playsound(src, 'sound/machines/honkbot_evil_laugh.ogg', 20, TRUE) + victim.special_attack_cooldown += 3 // Adds cooldown to the other mech and gives a minor self heal + combat_health++ + +/obj/item/toy/mech/marauder + name = "toy marauder" + desc = "Mini-Mecha action figure! Collect them all! 7/11." + icon_state = "maraudertoy" + max_combat_health = 7 // 500 integrity + special_attack_type = SPECIAL_ATTACK_DAMAGE + special_attack_cry = "BEAM BLAST" + +/obj/item/toy/mech/seraph + name = "toy seraph" + desc = "Mini-Mecha action figure! Collect them all! 8/11." + icon_state = "seraphtoy" + max_combat_health = 8 // 550 integrity + special_attack_type = SPECIAL_ATTACK_DAMAGE + special_attack_cry = "ROCKET BARRAGE" + +/obj/item/toy/mech/mauler + name = "toy mauler" + desc = "Mini-Mecha action figure! Collect them all! 9/11." + icon_state = "maulertoy" + max_combat_health = 7 // 500 integrity + special_attack_type = SPECIAL_ATTACK_DAMAGE + special_attack_cry = "BULLET STORM" + +/obj/item/toy/mech/odysseus + name = "toy odysseus" + desc = "Mini-Mecha action figure! Collect them all! 10/11." + icon_state = "odysseustoy" + max_combat_health = 4 // 120 integrity + special_attack_type = SPECIAL_ATTACK_HEAL + special_attack_cry = "MECHA BEAM" + +/obj/item/toy/mech/phazon + name = "toy phazon" + desc = "Mini-Mecha action figure! Collect them all! 11/11." + icon_state = "phazontoy" + max_combat_health = 6 // 200 integrity + special_attack_type = SPECIAL_ATTACK_UTILITY + special_attack_cry = "NO-CLIP" + +/* // TG-Station Added toys, commenting these out until I port 'em later. +/obj/item/toy/mech/reticence + name = "toy Reticence" + desc = "12/13" + icon_state = "reticencetoy" + quiet = TRUE + max_combat_health = 4 //100 integrity + special_attack_type = SPECIAL_ATTACK_OTHER + special_attack_type_message = "has a lower cooldown than normal special moves, increases the opponent's cooldown, and deals damage." + special_attack_cry = "*wave" + +/obj/item/toy/mech/reticence/super_special_attack(obj/item/toy/mech/victim) + special_attack_cooldown-- //Has a lower cooldown... + victim.special_attack_cooldown++ //and increases the opponent's cooldown by 1... + victim.combat_health-- //and some free damage. + +/obj/item/toy/mech/clarke + name = "toy Clarke" + desc = "13/13" + icon_state = "clarketoy" + max_combat_health = 4 //200 integrity + special_attack_type = SPECIAL_ATTACK_UTILITY + special_attack_cry = "ROLL OUT" +*/ + +#undef SPECIAL_ATTACK_HEAL +#undef SPECIAL_ATTACK_DAMAGE +#undef SPECIAL_ATTACK_UTILITY +#undef SPECIAL_ATTACK_OTHER +#undef MAX_BATTLE_LENGTH \ No newline at end of file diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys/toys.dm similarity index 92% rename from code/game/objects/items/toys.dm rename to code/game/objects/items/toys/toys.dm index 7873f78a60..7ce9851c7b 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys/toys.dm @@ -1,1530 +1,1441 @@ -/* Toys! - * Contains: - * Balloons - * Fake telebeacon - * Fake singularity - * Toy gun - * Toy crossbow - * Toy swords - * Toy bosun's whistle - * Toy mechs - * Snap pops - * Water flower - * Therapy dolls - * Toddler doll - * Inflatable duck - * Action figures - * Plushies - * Toy cult sword - * Bouquets - Stick Horse - */ - - -/obj/item/toy - throwforce = 0 - throw_speed = 4 - throw_range = 20 - force = 0 - drop_sound = 'sound/items/drop/gloves.ogg' - - -/* - * Balloons - */ -/obj/item/toy/balloon - name = "water balloon" - desc = "A translucent balloon. There's nothing in it." - icon = 'icons/obj/toy.dmi' - icon_state = "waterballoon-e" - drop_sound = 'sound/items/drop/rubber.ogg' - -/obj/item/toy/balloon/New() - var/datum/reagents/R = new/datum/reagents(10) - reagents = R - R.my_atom = src - -/obj/item/toy/balloon/attack(mob/living/carbon/human/M as mob, mob/user as mob) - return - -/obj/item/toy/balloon/afterattack(atom/A as mob|obj, mob/user as mob, proximity) - if(!proximity) return - if (istype(A, /obj/structure/reagent_dispensers/watertank) && get_dist(src,A) <= 1) - A.reagents.trans_to_obj(src, 10) - to_chat(user, "You fill the balloon with the contents of [A].") - src.desc = "A translucent balloon with some form of liquid sloshing around in it." - src.update_icon() - return - -/obj/item/toy/balloon/attackby(obj/O as obj, mob/user as mob) - if(istype(O, /obj/item/weapon/reagent_containers/glass)) - if(O.reagents) - if(O.reagents.total_volume < 1) - to_chat(user, "The [O] is empty.") - else if(O.reagents.total_volume >= 1) - if(O.reagents.has_reagent("pacid", 1)) - to_chat(user, "The acid chews through the balloon!") - O.reagents.splash(user, reagents.total_volume) - qdel(src) - else - src.desc = "A translucent balloon with some form of liquid sloshing around in it." - to_chat(user, "You fill the balloon with the contents of [O].") - O.reagents.trans_to_obj(src, 10) - src.update_icon() - return - -/obj/item/toy/balloon/throw_impact(atom/hit_atom) - if(src.reagents.total_volume >= 1) - src.visible_message("\The [src] bursts!","You hear a pop and a splash.") - src.reagents.touch_turf(get_turf(hit_atom)) - for(var/atom/A in get_turf(hit_atom)) - src.reagents.touch(A) - src.icon_state = "burst" - spawn(5) - if(src) - qdel(src) - return - -/obj/item/toy/balloon/update_icon() - if(src.reagents.total_volume >= 1) - icon_state = "waterballoon" - else - icon_state = "waterballoon-e" - -/obj/item/toy/syndicateballoon - name = "criminal balloon" - desc = "There is a tag on the back that reads \"FUK NT!11!\"." - throwforce = 0 - throw_speed = 4 - throw_range = 20 - force = 0 - icon = 'icons/obj/weapons.dmi' - icon_state = "syndballoon" - w_class = ITEMSIZE_LARGE - drop_sound = 'sound/items/drop/rubber.ogg' - -/obj/item/toy/nanotrasenballoon - name = "criminal balloon" - desc = "Across the balloon the following is printed: \"Man, I love NanoTrasen soooo much. I use only NT products. You have NO idea.\"" - throwforce = 0 - throw_speed = 4 - throw_range = 20 - force = 0 - icon = 'icons/obj/weapons.dmi' - icon_state = "ntballoon" - w_class = ITEMSIZE_LARGE - drop_sound = 'sound/items/drop/rubber.ogg' - -/* - * Fake telebeacon - */ -/obj/item/toy/blink - name = "electronic blink toy game" - desc = "Blink. Blink. Blink. Ages 8 and up." - icon = 'icons/obj/radio.dmi' - icon_state = "beacon" - item_state = "signaler" - -/* - * Fake singularity - */ -/obj/item/toy/spinningtoy - name = "gravitational singularity" - desc = "\"Singulo\" brand spinning toy." - icon = 'icons/obj/singularity.dmi' - icon_state = "singularity_s1" - -/* - * Toy crossbow - */ - -/obj/item/toy/crossbow - name = "foam dart crossbow" - desc = "A weapon favored by many overactive children. Ages 8 and up." - icon = 'icons/obj/gun.dmi' - icon_state = "crossbow" - item_icons = list( - icon_l_hand = 'icons/mob/items/lefthand_guns.dmi', - icon_r_hand = 'icons/mob/items/righthand_guns.dmi', - ) - slot_flags = SLOT_HOLSTER - w_class = ITEMSIZE_SMALL - attack_verb = list("attacked", "struck", "hit") - var/bullets = 5 - drop_sound = 'sound/items/drop/gun.ogg' - - examine(mob/user) - . = ..() - if(bullets && get_dist(user, src) <= 2) - . += "It is loaded with [bullets] foam darts!" - - attackby(obj/item/I as obj, mob/user as mob) - if(istype(I, /obj/item/toy/ammo/crossbow)) - if(bullets <= 4) - user.drop_item() - qdel(I) - bullets++ - to_chat(user, "You load the foam dart into the crossbow.") - else - to_chat(usr, "It's already fully loaded.") - - - afterattack(atom/target as mob|obj|turf|area, mob/user as mob, flag) - if(!isturf(target.loc) || target == user) return - if(flag) return - - if (locate (/obj/structure/table, src.loc)) - return - else if (bullets) - var/turf/trg = get_turf(target) - var/obj/effect/foam_dart_dummy/D = new/obj/effect/foam_dart_dummy(get_turf(src)) - bullets-- - D.icon_state = "foamdart" - D.name = "foam dart" - playsound(src, 'sound/items/syringeproj.ogg', 50, 1) - - for(var/i=0, i<6, i++) - if (D) - if(D.loc == trg) break - step_towards(D,trg) - - for(var/mob/living/M in D.loc) - if(!istype(M,/mob/living)) continue - if(M == user) continue - for(var/mob/O in viewers(world.view, D)) - O.show_message(text("\The [] was hit by the foam dart!", M), 1) - new /obj/item/toy/ammo/crossbow(M.loc) - qdel(D) - return - - for(var/atom/A in D.loc) - if(A == user) continue - if(A.density) - new /obj/item/toy/ammo/crossbow(A.loc) - qdel(D) - - sleep(1) - - spawn(10) - if(D) - new /obj/item/toy/ammo/crossbow(D.loc) - qdel(D) - - return - else if (bullets == 0) - user.Weaken(5) - for(var/mob/O in viewers(world.view, user)) - O.show_message(text("\The [] realized they were out of ammo and starting scrounging for some!", user), 1) - - - attack(mob/M as mob, mob/user as mob) - src.add_fingerprint(user) - -// ******* Check - - if (src.bullets > 0 && M.lying) - - for(var/mob/O in viewers(M, null)) - if(O.client) - O.show_message(text("\The [] casually lines up a shot with []'s head and pulls the trigger!", user, M), 1, "You hear the sound of foam against skull", 2) - O.show_message(text("\The [] was hit in the head by the foam dart!", M), 1) - - playsound(src, 'sound/items/syringeproj.ogg', 50, 1) - new /obj/item/toy/ammo/crossbow(M.loc) - src.bullets-- - else if (M.lying && src.bullets == 0) - for(var/mob/O in viewers(M, null)) - if (O.client) O.show_message(text("\The [] casually lines up a shot with []'s head, pulls the trigger, then realizes they are out of ammo and drops to the floor in search of some!", user, M), 1, "You hear someone fall", 2) - user.Weaken(5) - return - -/obj/item/toy/ammo/crossbow - name = "foam dart" - desc = "It's nerf or nothing! Ages 8 and up." - icon = 'icons/obj/toy.dmi' - icon_state = "foamdart" - w_class = ITEMSIZE_TINY - slot_flags = SLOT_EARS - drop_sound = 'sound/items/drop/food.ogg' - -/obj/effect/foam_dart_dummy - name = "" - desc = "" - icon = 'icons/obj/toy.dmi' - icon_state = "null" - anchored = 1 - density = 0 - -/* - * Toy swords - */ -/obj/item/toy/sword - name = "toy sword" - desc = "A cheap, plastic replica of an energy sword. Realistic sounds! Ages 8 and up." - icon = 'icons/obj/weapons.dmi' - icon_state = "esword" - drop_sound = 'sound/items/drop/gun.ogg' - var/lcolor - var/rainbow = FALSE - item_icons = list( - slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', - slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', - ) - var/active = 0 - w_class = ITEMSIZE_SMALL - attack_verb = list("attacked", "struck", "hit") - - attack_self(mob/user as mob) - src.active = !( src.active ) - if (src.active) - to_chat(user, "You extend the plastic blade with a quick flick of your wrist.") - playsound(src, 'sound/weapons/saberon.ogg', 50, 1) - src.item_state = "[icon_state]_blade" - src.w_class = ITEMSIZE_LARGE - else - to_chat(user, "You push the plastic blade back down into the handle.") - playsound(src, 'sound/weapons/saberoff.ogg', 50, 1) - src.item_state = "[icon_state]" - src.w_class = ITEMSIZE_SMALL - update_icon() - src.add_fingerprint(user) - return - -/obj/item/toy/sword/update_icon() - . = ..() - var/mutable_appearance/blade_overlay = mutable_appearance(icon, "[icon_state]_blade") - blade_overlay.color = lcolor - cut_overlays() //So that it doesn't keep stacking overlays non-stop on top of each other - if(active) - add_overlay(blade_overlay) - if(istype(usr,/mob/living/carbon/human)) - var/mob/living/carbon/human/H = usr - H.update_inv_l_hand() - H.update_inv_r_hand() - -/obj/item/toy/sword/AltClick(mob/living/user) - if(!in_range(src, user)) //Basic checks to prevent abuse - return - if(user.incapacitated() || !istype(user)) - to_chat(user, "You can't do that right now!") - return - - if(alert("Are you sure you want to recolor your blade?", "Confirm Recolor", "Yes", "No") == "Yes") - var/energy_color_input = input(usr,"","Choose Energy Color",lcolor) as color|null - if(energy_color_input) - lcolor = sanitize_hexcolor(energy_color_input) - update_icon() - -/obj/item/toy/sword/examine(mob/user) - . = ..() - . += "Alt-click to recolor it." - -/obj/item/toy/sword/attackby(obj/item/weapon/W, mob/user) - if(istype(W, /obj/item/device/multitool) && !active) - if(!rainbow) - rainbow = TRUE - else - rainbow = FALSE - to_chat(user, "You manipulate the color controller in [src].") - update_icon() -/obj/item/toy/katana - name = "replica katana" - desc = "Woefully underpowered in D20." - icon = 'icons/obj/weapons.dmi' - icon_state = "katana" - item_state = "katana" - item_icons = list( - slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', - slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', - ) - slot_flags = SLOT_BELT | SLOT_BACK - force = 5 - throwforce = 5 - w_class = ITEMSIZE_NORMAL - attack_verb = list("attacked", "slashed", "stabbed", "sliced") - -/* - * Snap pops - */ -/obj/item/toy/snappop - name = "snap pop" - desc = "Wow!" - icon = 'icons/obj/toy.dmi' - icon_state = "snappop" - w_class = ITEMSIZE_TINY - drop_sound = null - - throw_impact(atom/hit_atom) - ..() - var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread - s.set_up(3, 1, src) - s.start() - new /obj/effect/decal/cleanable/ash(src.loc) - src.visible_message("The [src.name] explodes!","You hear a snap!") - playsound(src, 'sound/effects/snap.ogg', 50, 1) - qdel(src) - -/obj/item/toy/snappop/Crossed(atom/movable/H as mob|obj) - if(H.is_incorporeal()) - return - if((ishuman(H))) //i guess carp and shit shouldn't set them off - var/mob/living/carbon/M = H - if(M.m_intent == "run") - to_chat(M, "You step on the snap pop!") - - var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread - s.set_up(2, 0, src) - s.start() - new /obj/effect/decal/cleanable/ash(src.loc) - src.visible_message("The [src.name] explodes!","You hear a snap!") - playsound(src, 'sound/effects/snap.ogg', 50, 1) - qdel(src) - -/* - * Bosun's whistle - */ - -/obj/item/toy/bosunwhistle - name = "bosun's whistle" - desc = "A genuine Admiral Krush Bosun's Whistle, for the aspiring ship's captain! Suitable for ages 8 and up, do not swallow." - icon = 'icons/obj/toy.dmi' - icon_state = "bosunwhistle" - drop_sound = 'sound/items/drop/card.ogg' - var/cooldown = 0 - w_class = ITEMSIZE_TINY - slot_flags = SLOT_EARS | SLOT_HOLSTER - -/obj/item/toy/bosunwhistle/attack_self(mob/user as mob) - if(cooldown < world.time - 35) - to_chat(user, "You blow on [src], creating an ear-splitting noise!") - playsound(src, 'sound/misc/boatswain.ogg', 20, 1) - cooldown = world.time - -/* - * Mech prizes - */ -/obj/item/toy/prize - icon = 'icons/obj/toy.dmi' - icon_state = "ripleytoy" - var/cooldown = 0 - drop_sound = 'sound/mecha/mechstep.ogg' - -//all credit to skasi for toy mech fun ideas -/obj/item/toy/prize/attack_self(mob/user as mob) - if(cooldown < world.time - 8) - to_chat(user, "You play with [src].") - playsound(src, 'sound/mecha/mechstep.ogg', 20, 1) - cooldown = world.time - -/obj/item/toy/prize/attack_hand(mob/user as mob) - if(loc == user) - if(cooldown < world.time - 8) - to_chat(user, "You play with [src].") - playsound(src, 'sound/mecha/mechturn.ogg', 20, 1) - cooldown = world.time - return - ..() - -/obj/random/mech_toy - name = "Random Mech Toy" - desc = "This is a random mech toy." - icon = 'icons/obj/toy.dmi' - icon_state = "ripleytoy" - -/obj/random/mech_toy/item_to_spawn() - return pick(typesof(/obj/item/toy/prize)) - -/obj/item/toy/prize/ripley - name = "toy ripley" - desc = "Mini-Mecha action figure! Collect them all! 1/11." - -/obj/item/toy/prize/fireripley - name = "toy firefighting ripley" - desc = "Mini-Mecha action figure! Collect them all! 2/11." - icon_state = "fireripleytoy" - -/obj/item/toy/prize/deathripley - name = "toy deathsquad ripley" - desc = "Mini-Mecha action figure! Collect them all! 3/11." - icon_state = "deathripleytoy" - -/obj/item/toy/prize/gygax - name = "toy gygax" - desc = "Mini-Mecha action figure! Collect them all! 4/11." - icon_state = "gygaxtoy" - -/obj/item/toy/prize/durand - name = "toy durand" - desc = "Mini-Mecha action figure! Collect them all! 5/11." - icon_state = "durandprize" - -/obj/item/toy/prize/honk - name = "toy H.O.N.K." - desc = "Mini-Mecha action figure! Collect them all! 6/11." - icon_state = "honkprize" - -/obj/item/toy/prize/marauder - name = "toy marauder" - desc = "Mini-Mecha action figure! Collect them all! 7/11." - icon_state = "marauderprize" - -/obj/item/toy/prize/seraph - name = "toy seraph" - desc = "Mini-Mecha action figure! Collect them all! 8/11." - icon_state = "seraphprize" - -/obj/item/toy/prize/mauler - name = "toy mauler" - desc = "Mini-Mecha action figure! Collect them all! 9/11." - icon_state = "maulerprize" - -/obj/item/toy/prize/odysseus - name = "toy odysseus" - desc = "Mini-Mecha action figure! Collect them all! 10/11." - icon_state = "odysseusprize" - -/obj/item/toy/prize/phazon - name = "toy phazon" - desc = "Mini-Mecha action figure! Collect them all! 11/11." - icon_state = "phazonprize" - -/* - * Action figures - */ -/obj/item/toy/figure - name = "Non-Specific Action Figure action figure" - desc = "A \"Space Life\" brand... wait, what the hell is this thing?" - icon = 'icons/obj/toy.dmi' - icon_state = "nuketoy" - var/cooldown = 0 - var/toysay = "What the fuck did you do?" - drop_sound = 'sound/items/drop/accessory.ogg' - -/obj/item/toy/figure/New() - ..() - desc = "A \"Space Life\" brand [name]" - -/obj/item/toy/figure/attack_self(mob/user as mob) - if(cooldown < world.time) - cooldown = (world.time + 30) //3 second cooldown - user.visible_message("The [src] says \"[toysay]\".") - playsound(src, 'sound/machines/click.ogg', 20, 1) - -/obj/item/toy/figure/cmo - name = "Chief Medical Officer action figure" - desc = "A \"Space Life\" brand Chief Medical Officer action figure." - icon_state = "cmo" - toysay = "Suit sensors!" - -/obj/item/toy/figure/assistant - name = "Assistant action figure" - desc = "A \"Space Life\" brand Assistant action figure." - icon_state = "assistant" - toysay = "Grey tide station wide!" - -/obj/item/toy/figure/atmos - name = "Atmospheric Technician action figure" - desc = "A \"Space Life\" brand Atmospheric Technician action figure." - icon_state = "atmos" - toysay = "Glory to Atmosia!" - -/obj/item/toy/figure/bartender - name = "Bartender action figure" - desc = "A \"Space Life\" brand Bartender action figure." - icon_state = "bartender" - toysay = "Where's my monkey?" - -/obj/item/toy/figure/borg - name = "Drone action figure" - desc = "A \"Space Life\" brand Drone action figure." - icon_state = "borg" - toysay = "I. LIVE. AGAIN." - -/obj/item/toy/figure/gardener - name = "Gardener action figure" - desc = "A \"Space Life\" brand Gardener action figure." - icon_state = "botanist" - toysay = "Dude, I see colors..." - -/obj/item/toy/figure/captain - name = "Colony Director action figure" - desc = "A \"Space Life\" brand Colony Director action figure." - icon_state = "captain" - toysay = "How do I open this display case?" - -/obj/item/toy/figure/cargotech - name = "Cargo Technician action figure" - desc = "A \"Space Life\" brand Cargo Technician action figure." - icon_state = "cargotech" - toysay = "For Cargonia!" - -/obj/item/toy/figure/ce - name = "Chief Engineer action figure" - desc = "A \"Space Life\" brand Chief Engineer action figure." - icon_state = "ce" - toysay = "Wire the solars!" - -/obj/item/toy/figure/chaplain - name = "Chaplain action figure" - desc = "A \"Space Life\" brand Chaplain action figure." - icon_state = "chaplain" - toysay = "Gods make me a killing machine please!" - -/obj/item/toy/figure/chef - name = "Chef action figure" - desc = "A \"Space Life\" brand Chef action figure." - icon_state = "chef" - toysay = "I swear it's not human meat." - -/obj/item/toy/figure/chemist - name = "Chemist action figure" - desc = "A \"Space Life\" brand Chemist action figure." - icon_state = "chemist" - toysay = "Get your pills!" - -/obj/item/toy/figure/clown - name = "Clown action figure" - desc = "A \"Space Life\" brand Clown action figure." - icon_state = "clown" - toysay = "Honk!" - -/obj/item/toy/figure/corgi - name = "Corgi action figure" - desc = "A \"Space Life\" brand Corgi action figure." - icon_state = "ian" - toysay = "Arf!" - -/obj/item/toy/figure/detective - name = "Detective action figure" - desc = "A \"Space Life\" brand Detective action figure." - icon_state = "detective" - toysay = "This airlock has grey jumpsuit and insulated glove fibers on it." - -/obj/item/toy/figure/dsquad - name = "Space Commando action figure" - desc = "A \"Space Life\" brand Space Commando action figure." - icon_state = "dsquad" - toysay = "Eliminate all threats!" - -/obj/item/toy/figure/engineer - name = "Engineer action figure" - desc = "A \"Space Life\" brand Engineer action figure." - icon_state = "engineer" - toysay = "Oh god, the engine is gonna go!" - -/obj/item/toy/figure/geneticist - name = "Geneticist action figure" - desc = "A \"Space Life\" brand Geneticist action figure, which was recently dicontinued." - icon_state = "geneticist" - toysay = "I'm not qualified for this job." - -/obj/item/toy/figure/hop - name = "Head of Personnel action figure" - desc = "A \"Space Life\" brand Head of Personnel action figure." - icon_state = "hop" - toysay = "Giving out all access!" - -/obj/item/toy/figure/hos - name = "Head of Security action figure" - desc = "A \"Space Life\" brand Head of Security action figure." - icon_state = "hos" - toysay = "I'm here to win, anything else is secondary." - -/obj/item/toy/figure/qm - name = "Quartermaster action figure" - desc = "A \"Space Life\" brand Quartermaster action figure." - icon_state = "qm" - toysay = "Hail Cargonia!" - -/obj/item/toy/figure/janitor - name = "Janitor action figure" - desc = "A \"Space Life\" brand Janitor action figure." - icon_state = "janitor" - toysay = "Look at the signs, you idiot." - -/obj/item/toy/figure/agent - name = "Internal Affairs Agent action figure" - desc = "A \"Space Life\" brand Internal Affairs Agent action figure." - icon_state = "agent" - toysay = "Standard Operating Procedure says they're guilty! Hacking is proof they're an Enemy of the Corporation!" - -/obj/item/toy/figure/librarian - name = "Librarian action figure" - desc = "A \"Space Life\" brand Librarian action figure." - icon_state = "librarian" - toysay = "One day while..." - -/obj/item/toy/figure/md - name = "Medical Doctor action figure" - desc = "A \"Space Life\" brand Medical Doctor action figure." - icon_state = "md" - toysay = "The patient is already dead!" - -/obj/item/toy/figure/mime - name = "Mime action figure" - desc = "A \"Space Life\" brand Mime action figure." - icon_state = "mime" - toysay = "..." - -/obj/item/toy/figure/miner - name = "Shaft Miner action figure" - desc = "A \"Space Life\" brand Shaft Miner action figure." - icon_state = "miner" - toysay = "Oh god, it's eating my intestines!" - -/obj/item/toy/figure/ninja - name = "Space Ninja action figure" - desc = "A \"Space Life\" brand Space Ninja action figure." - icon_state = "ninja" - toysay = "Oh god! Stop shooting, I'm friendly!" - -/obj/item/toy/figure/wizard - name = "Wizard action figure" - desc = "A \"Space Life\" brand Wizard action figure." - icon_state = "wizard" - toysay = "Ei Nath!" - -/obj/item/toy/figure/rd - name = "Research Director action figure" - desc = "A \"Space Life\" brand Research Director action figure." - icon_state = "rd" - toysay = "Blowing all of the borgs!" - -/obj/item/toy/figure/roboticist - name = "Roboticist action figure" - desc = "A \"Space Life\" brand Roboticist action figure." - icon_state = "roboticist" - toysay = "He asked to be borged!" - -/obj/item/toy/figure/scientist - name = "Scientist action figure" - desc = "A \"Space Life\" brand Scientist action figure." - icon_state = "scientist" - toysay = "Someone else must have made those bombs!" - -/obj/item/toy/figure/syndie - name = "Doom Operative action figure" - desc = "A \"Space Life\" brand Doom Operative action figure." - icon_state = "syndie" - toysay = "Get that fucking disk!" - -/obj/item/toy/figure/secofficer - name = "Security Officer action figure" - desc = "A \"Space Life\" brand Security Officer action figure." - icon_state = "secofficer" - toysay = "I am the law!" - -/obj/item/toy/figure/virologist - name = "Virologist action figure" - desc = "A \"Space Life\" brand Virologist action figure." - icon_state = "virologist" - toysay = "The cure is potassium!" - -/obj/item/toy/figure/warden - name = "Warden action figure" - desc = "A \"Space Life\" brand Warden action figure." - icon_state = "warden" - toysay = "Execute him for breaking in!" - -/obj/item/toy/figure/psychologist - name = "Psychologist action figure" - desc = "A \"Space Life\" brand Psychologist action figure." - icon_state = "psychologist" - toysay = "The analyzer says you're fine!" - -/obj/item/toy/figure/paramedic - name = "Paramedic action figure" - desc = "A \"Space Life\" brand Paramedic action figure." - icon_state = "paramedic" - toysay = "WHERE ARE YOU??" - -/obj/item/toy/figure/ert - name = "Emergency Response Team Commander action figure" - desc = "A \"Space Life\" brand Emergency Response Team Commander action figure." - icon_state = "ert" - toysay = "We're probably the good guys!" - -/* - * Plushies - */ - -/* - * Carp plushie - */ - -/obj/item/toy/plushie/carp - name = "space carp plushie" - desc = "An adorable stuffed toy that resembles a space carp." - icon = 'icons/obj/toy.dmi' - icon_state = "basecarp" - attack_verb = list("bitten", "eaten", "fin slapped") - var/bitesound = 'sound/weapons/bite.ogg' - -// Attack mob -/obj/item/toy/plushie/carp/attack(mob/M as mob, mob/user as mob) - playsound(src, bitesound, 20, 1) // Play bite sound in local area - return ..() - -// Attack self -/obj/item/toy/plushie/carp/attack_self(mob/user as mob) - playsound(src, bitesound, 20, 1) - return ..() - - -/obj/random/carp_plushie - name = "Random Carp Plushie" - desc = "This is a random plushie" - icon = 'icons/obj/toy.dmi' - icon_state = "basecarp" - -/obj/random/carp_plushie/item_to_spawn() - return pick(typesof(/obj/item/toy/plushie/carp)) //can pick any carp plushie, even the original. - -/obj/item/toy/plushie/carp/ice - name = "ice carp plushie" - icon_state = "icecarp" - -/obj/item/toy/plushie/carp/silent - name = "monochrome carp plushie" - icon_state = "silentcarp" - -/obj/item/toy/plushie/carp/electric - name = "electric carp plushie" - icon_state = "electriccarp" - -/obj/item/toy/plushie/carp/gold - name = "golden carp plushie" - icon_state = "goldcarp" - -/obj/item/toy/plushie/carp/toxin - name = "toxic carp plushie" - icon_state = "toxincarp" - -/obj/item/toy/plushie/carp/dragon - name = "dragon carp plushie" - icon_state = "dragoncarp" - -/obj/item/toy/plushie/carp/pink - name = "pink carp plushie" - icon_state = "pinkcarp" - -/obj/item/toy/plushie/carp/candy - name = "candy carp plushie" - icon_state = "candycarp" - -/obj/item/toy/plushie/carp/nebula - name = "nebula carp plushie" - icon_state = "nebulacarp" - -/obj/item/toy/plushie/carp/void - name = "void carp plushie" - icon_state = "voidcarp" - -//Large plushies. -/obj/structure/plushie - name = "generic plush" - desc = "A very generic plushie. It seems to not want to exist." - icon = 'icons/obj/toy.dmi' - icon_state = "ianplushie" - anchored = 0 - density = 1 - var/phrase = "I don't want to exist anymore!" - var/searching = FALSE - var/opened = FALSE // has this been slit open? this will allow you to store an object in a plushie. - var/obj/item/stored_item // Note: Stored items can't be bigger than the plushie itself. - -/obj/structure/plushie/examine(mob/user) - . = ..() - if(opened) - . += "You notice an incision has been made on [src]." - if(in_range(user, src) && stored_item) - . += "You can see something in there..." - -/obj/structure/plushie/attack_hand(mob/user) - user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) - - if(stored_item && opened && !searching) - searching = TRUE - if(do_after(user, 10)) - to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!") - stored_item.forceMove(get_turf(src)) - stored_item = null - searching = FALSE - return - else - searching = FALSE - - if(user.a_intent == I_HELP) - user.visible_message("\The [user] hugs [src]!","You hug [src]!") - else if (user.a_intent == I_HURT) - user.visible_message("\The [user] punches [src]!","You punch [src]!") - else if (user.a_intent == I_GRAB) - user.visible_message("\The [user] attempts to strangle [src]!","You attempt to strangle [src]!") - else - user.visible_message("\The [user] pokes the [src].","You poke the [src].") - visible_message("[src] says, \"[phrase]\"") - - -/obj/structure/plushie/attackby(obj/item/I as obj, mob/user as mob) - if(istype(I, /obj/item/device/threadneedle) && opened) - to_chat(user, "You sew the hole in [src].") - opened = FALSE - return - - if(is_sharp(I) && !opened) - to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") - opened = TRUE - return - - if(opened) - if(stored_item) - to_chat(user, "There is already something in here.") - return - - if(!(I.w_class > w_class)) - to_chat(user, "You place [I] inside [src].") - user.drop_from_inventory(I, src) - I.forceMove(src) - stored_item = I - return - else - to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") - - - ..() - -/obj/structure/plushie/ian - name = "plush corgi" - desc = "A plushie of an adorable corgi! Don't you just want to hug it and squeeze it and call it \"Ian\"?" - icon_state = "ianplushie" - phrase = "Arf!" - -/obj/structure/plushie/drone - name = "plush drone" - desc = "A plushie of a happy drone! It appears to be smiling." - icon_state = "droneplushie" - phrase = "Beep boop!" - -/obj/structure/plushie/carp - name = "plush carp" - desc = "A plushie of an elated carp! Straight from the wilds of the Vir frontier, now right here in your hands." - icon_state = "carpplushie" - phrase = "Glorf!" - -/obj/structure/plushie/beepsky - name = "plush Officer Sweepsky" - desc = "A plushie of a popular industrious cleaning robot! If it could feel emotions, it would love you." - icon_state = "beepskyplushie" - phrase = "Ping!" - -//Small plushies. -/obj/item/toy/plushie - name = "generic small plush" - desc = "A small toy plushie. It's very cute." - icon = 'icons/obj/toy.dmi' - icon_state = "nymphplushie" - drop_sound = 'sound/items/drop/plushie.ogg' - w_class = ITEMSIZE_TINY - var/last_message = 0 - var/pokephrase = "Uww!" - var/searching = FALSE - var/opened = FALSE // has this been slit open? this will allow you to store an object in a plushie. - var/obj/item/stored_item // Note: Stored items can't be bigger than the plushie itself. - - -/obj/item/toy/plushie/examine(mob/user) - . = ..() - if(opened) - . += "You notice an incision has been made on [src]." - if(in_range(user, src) && stored_item) - . += "You can see something in there..." - -/obj/item/toy/plushie/attack_self(mob/user as mob) - if(stored_item && opened && !searching) - searching = TRUE - if(do_after(user, 10)) - to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!") - stored_item.forceMove(get_turf(src)) - stored_item = null - searching = FALSE - return - else - searching = FALSE - - if(world.time - last_message <= 1 SECOND) - return - if(user.a_intent == I_HELP) - user.visible_message("\The [user] hugs [src]!","You hug [src]!") - else if (user.a_intent == I_HURT) - user.visible_message("\The [user] punches [src]!","You punch [src]!") - else if (user.a_intent == I_GRAB) - user.visible_message("\The [user] attempts to strangle [src]!","You attempt to strangle [src]!") - else - user.visible_message("\The [user] pokes [src].","You poke [src].") - playsound(src, 'sound/items/drop/plushie.ogg', 25, 0) - visible_message("[src] says, \"[pokephrase]\"") - last_message = world.time - -/obj/item/toy/plushie/verb/rename_plushie() - set name = "Name Plushie" - set category = "Object" - set desc = "Give your plushie a cute name!" - var/mob/M = usr - if(!M.mind) - return 0 - - var/input = sanitizeSafe(input("What do you want to name the plushie?", ,""), MAX_NAME_LEN) - - if(src && input && !M.stat && in_range(M,src)) - name = input - to_chat(M, "You name the plushie [input], giving it a hug for good luck.") - return 1 - -/obj/item/toy/plushie/attackby(obj/item/I as obj, mob/user as mob) - if(istype(I, /obj/item/toy/plushie) || istype(I, /obj/item/organ/external/head)) - user.visible_message("[user] makes \the [I] kiss \the [src]!.", \ - "You make \the [I] kiss \the [src]!.") - return - - - if(istype(I, /obj/item/device/threadneedle) && opened) - to_chat(user, "You sew the hole underneath [src].") - opened = FALSE - return - - if(is_sharp(I) && !opened) - to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") - opened = TRUE - return - - if( (!(I.w_class > w_class)) && opened) - if(stored_item) - to_chat(user, "There is already something in here.") - return - - to_chat(user, "You place [I] inside [src].") - user.drop_from_inventory(I, src) - I.forceMove(src) - stored_item = I - to_chat(user, "You placed [I] into [src].") - return - - return ..() - -/obj/item/toy/plushie/nymph - name = "diona nymph plush" - desc = "A plushie of an adorable diona nymph! While its level of self-awareness is still being debated, its level of cuteness is not." - icon_state = "nymphplushie" - pokephrase = "Chirp!" - -/obj/item/toy/plushie/teshari - name = "teshari plush" - desc = "This is a plush teshari. Very soft, with a pompom on the tail. The toy is made well, as if alive. Looks like she is sleeping. Shhh!" - icon_state = "teshariplushie" - pokephrase = "Rya!" - -/obj/item/toy/plushie/mouse - name = "mouse plush" - desc = "A plushie of a delightful mouse! What was once considered a vile rodent is now your very best friend." - icon_state = "mouseplushie" //TFF 12/11/19 - updated icon to show a sprite that doesn't replicate a dead mouse. Heck you for that! >:C - pokephrase = "Squeak!" - -/obj/item/toy/plushie/kitten - name = "kitten plush" - desc = "A plushie of a cute kitten! Watch as it purrs its way right into your heart." - icon_state = "kittenplushie" - pokephrase = "Mrow!" - -/obj/item/toy/plushie/lizard - name = "lizard plush" - desc = "A plushie of a scaly lizard! Very controversial, after being accused as \"racist\" by some Unathi." - icon_state = "lizardplushie" - pokephrase = "Hiss!" - -/obj/item/toy/plushie/spider - name = "spider plush" - desc = "A plushie of a fuzzy spider! It has eight legs - all the better to hug you with." - icon_state = "spiderplushie" - pokephrase = "Sksksk!" - -/obj/item/toy/plushie/farwa - name = "farwa plush" - desc = "A farwa plush doll. It's soft and comforting!" - icon_state = "farwaplushie" - pokephrase = "Squaw!" - -/obj/item/toy/plushie/corgi - name = "corgi plushie" - icon_state = "corgi" - pokephrase = "Woof!" - -/obj/item/toy/plushie/girly_corgi - name = "corgi plushie" - icon_state = "girlycorgi" - pokephrase = "Arf!" - -/obj/item/toy/plushie/robo_corgi - name = "borgi plushie" - icon_state = "robotcorgi" - pokephrase = "Bark." - -/obj/item/toy/plushie/octopus - name = "octopus plushie" - icon_state = "loveable" - pokephrase = "Squish!" - -/obj/item/toy/plushie/face_hugger - name = "facehugger plushie" - icon_state = "huggable" - pokephrase = "Hug!" - -//foxes are basically the best - -/obj/item/toy/plushie/red_fox - name = "red fox plushie" - icon_state = "redfox" - pokephrase = "Gecker!" - -/obj/item/toy/plushie/black_fox - name = "black fox plushie" - icon_state = "blackfox" - pokephrase = "Ack!" - -/obj/item/toy/plushie/marble_fox - name = "marble fox plushie" - icon_state = "marblefox" - pokephrase = "Awoo!" - -/obj/item/toy/plushie/blue_fox - name = "blue fox plushie" - icon_state = "bluefox" - pokephrase = "Yoww!" - -/obj/item/toy/plushie/orange_fox - name = "orange fox plushie" - icon_state = "orangefox" - pokephrase = "Yagh!" - -/obj/item/toy/plushie/coffee_fox - name = "coffee fox plushie" - icon_state = "coffeefox" - pokephrase = "Gerr!" - -/obj/item/toy/plushie/pink_fox - name = "pink fox plushie" - icon_state = "pinkfox" - pokephrase = "Yack!" - -/obj/item/toy/plushie/purple_fox - name = "purple fox plushie" - icon_state = "purplefox" - pokephrase = "Whine!" - -/obj/item/toy/plushie/crimson_fox - name = "crimson fox plushie" - icon_state = "crimsonfox" - pokephrase = "Auuu!" - -/obj/item/toy/plushie/deer - name = "deer plushie" - icon_state = "deer" - pokephrase = "Bleat!" - -/obj/item/toy/plushie/black_cat - name = "black cat plushie" - icon_state = "blackcat" - pokephrase = "Mlem!" - -/obj/item/toy/plushie/grey_cat - name = "grey cat plushie" - icon_state = "greycat" - pokephrase = "Mraw!" - -/obj/item/toy/plushie/white_cat - name = "white cat plushie" - icon_state = "whitecat" - pokephrase = "Mew!" - -/obj/item/toy/plushie/orange_cat - name = "orange cat plushie" - icon_state = "orangecat" - pokephrase = "Meow!" - -/obj/item/toy/plushie/siamese_cat - name = "siamese cat plushie" - icon_state = "siamesecat" - pokephrase = "Mrew?" - -/obj/item/toy/plushie/tabby_cat - name = "tabby cat plushie" - icon_state = "tabbycat" - pokephrase = "Purr!" - -/obj/item/toy/plushie/tuxedo_cat - name = "tuxedo cat plushie" - icon_state = "tuxedocat" - pokephrase = "Mrowww!!" - -// nah, squids are better than foxes :> - -/obj/item/toy/plushie/squid/green - name = "green squid plushie" - desc = "A small, cute and loveable squid friend. This one is green." - icon = 'icons/obj/toy.dmi' - icon_state = "greensquid" - slot_flags = SLOT_HEAD - pokephrase = "Squrr!" - -/obj/item/toy/plushie/squid/mint - name = "mint squid plushie" - desc = "A small, cute and loveable squid friend. This one is mint coloured." - icon = 'icons/obj/toy.dmi' - icon_state = "mintsquid" - slot_flags = SLOT_HEAD - pokephrase = "Blurble!" - -/obj/item/toy/plushie/squid/blue - name = "blue squid plushie" - desc = "A small, cute and loveable squid friend. This one is blue." - icon = 'icons/obj/toy.dmi' - icon_state = "bluesquid" - slot_flags = SLOT_HEAD - pokephrase = "Blob!" - -/obj/item/toy/plushie/squid/orange - name = "orange squid plushie" - desc = "A small, cute and loveable squid friend. This one is orange." - icon = 'icons/obj/toy.dmi' - icon_state = "orangesquid" - slot_flags = SLOT_HEAD - pokephrase = "Squash!" - -/obj/item/toy/plushie/squid/yellow - name = "yellow squid plushie" - desc = "A small, cute and loveable squid friend. This one is yellow." - icon = 'icons/obj/toy.dmi' - icon_state = "yellowsquid" - slot_flags = SLOT_HEAD - pokephrase = "Glorble!" - -/obj/item/toy/plushie/squid/pink - name = "pink squid plushie" - desc = "A small, cute and loveable squid friend. This one is pink." - icon = 'icons/obj/toy.dmi' - icon_state = "pinksquid" - slot_flags = SLOT_HEAD - pokephrase = "Wobble!" - -/obj/item/toy/plushie/therapy/red - name = "red therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is red." - icon = 'icons/obj/toy.dmi' - icon_state = "therapyred" - item_state = "egg4" // It's the red egg in items_left/righthand - -/obj/item/toy/plushie/therapy/purple - name = "purple therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is purple." - icon = 'icons/obj/toy.dmi' - icon_state = "therapypurple" - item_state = "egg1" // It's the magenta egg in items_left/righthand - -/obj/item/toy/plushie/therapy/blue - name = "blue therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is blue." - icon = 'icons/obj/toy.dmi' - icon_state = "therapyblue" - item_state = "egg2" // It's the blue egg in items_left/righthand - -/obj/item/toy/plushie/therapy/yellow - name = "yellow therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is yellow." - icon = 'icons/obj/toy.dmi' - icon_state = "therapyyellow" - item_state = "egg5" // It's the yellow egg in items_left/righthand - -/obj/item/toy/plushie/therapy/orange - name = "orange therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is orange." - icon = 'icons/obj/toy.dmi' - icon_state = "therapyorange" - item_state = "egg4" // It's the red one again, lacking an orange item_state and making a new one is pointless - -/obj/item/toy/plushie/therapy/green - name = "green therapy doll" - desc = "A toy for therapeutic and recreational purposes. This one is green." - icon = 'icons/obj/toy.dmi' - icon_state = "therapygreen" - item_state = "egg3" // It's the green egg in items_left/righthand - - -//Toy cult sword -/obj/item/toy/cultsword - name = "foam sword" - desc = "An arcane weapon (made of foam) wielded by the followers of the hit Saturday morning cartoon \"King Nursee and the Acolytes of Heroism\"." - icon = 'icons/obj/weapons.dmi' - icon_state = "cultblade" - item_icons = list( - slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', - slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', - ) - w_class = ITEMSIZE_LARGE - attack_verb = list("attacked", "slashed", "stabbed", "poked") - -//Flowers fake & real - -/obj/item/toy/bouquet - name = "bouquet" - desc = "A lovely bouquet of flowers. Smells nice!" - icon = 'icons/obj/items.dmi' - icon_state = "bouquet" - w_class = ITEMSIZE_SMALL - -/obj/item/toy/bouquet/fake - name = "plastic bouquet" - desc = "A cheap plastic bouquet of flowers. Smells like cheap, toxic plastic." - -/obj/item/toy/stickhorse - name = "stick horse" - desc = "A pretend horse on a stick for any aspiring little cowboy to ride." - icon = 'icons/obj/toy.dmi' - icon_state = "stickhorse" - w_class = ITEMSIZE_LARGE - -////////////////////////////////////////////////////// -// Magic 8-Ball / Conch // -////////////////////////////////////////////////////// - -/obj/item/toy/eight_ball - name = "\improper Magic 8-Ball" - desc = "Mystical! Magical! Ages 8+!" - icon = 'icons/obj/toy.dmi' - icon_state = "eight-ball" - var/use_action = "shakes the ball" - var/cooldown = 0 - var/list/possible_answers = list("Definitely.", "All signs point to yes.", "Most likely.", "Yes.", "Ask again later.", "Better not tell you now.", "Future unclear.", "Maybe.", "Doubtful.", "No.", "Don't count on it.", "Never.") - -/obj/item/toy/eight_ball/attack_self(mob/user as mob) - if(!cooldown) - var/answer = pick(possible_answers) - user.visible_message("[user] focuses on their question and [use_action]...") - user.visible_message("The [src] says \"[answer]\"") - spawn(30) - cooldown = 0 - return - -/obj/item/toy/eight_ball/conch - name = "Magic Conch shell" - desc = "All hail the Magic Conch!" - icon_state = "conch" - use_action = "pulls the string" - possible_answers = list("Yes.", "No.", "Try asking again.", "Nothing.", "I don't think so.", "Neither.", "Maybe someday.") - -// DND Character minis. Use the naming convention (type)character for the icon states. -/obj/item/toy/character - icon = 'icons/obj/toy.dmi' - w_class = ITEMSIZE_SMALL - pixel_z = 5 - -/obj/item/toy/character/alien - name = "xenomorph xiniature" - desc = "A miniature xenomorph. Scary!" - icon_state = "aliencharacter" -/obj/item/toy/character/cleric - name = "cleric miniature" - desc = "A wee little cleric, with his wee little staff." - icon_state = "clericcharacter" -/obj/item/toy/character/warrior - name = "warrior miniature" - desc = "That sword would make a decent toothpick." - icon_state = "warriorcharacter" -/obj/item/toy/character/thief - name = "thief miniature" - desc = "Hey, where did my wallet go!?" - icon_state = "thiefcharacter" -/obj/item/toy/character/wizard - name = "wizard miniature" - desc = "MAGIC!" - icon_state = "wizardcharacter" -/obj/item/toy/character/voidone - name = "void one miniature" - desc = "The dark lord has risen!" - icon_state = "darkmastercharacter" -/obj/item/toy/character/lich - name = "lich miniature" - desc = "Murderboner extraordinaire." - icon_state = "lichcharacter" -/obj/item/weapon/storage/box/characters - name = "box of miniatures" - desc = "The nerd's best friends." - icon_state = "box" -/obj/item/weapon/storage/box/characters/starts_with = list( -// /obj/item/toy/character/alien, - /obj/item/toy/character/cleric, - /obj/item/toy/character/warrior, - /obj/item/toy/character/thief, - /obj/item/toy/character/wizard, - /obj/item/toy/character/voidone, - /obj/item/toy/character/lich - ) - -/obj/item/toy/AI - name = "toy AI" - desc = "A little toy model AI core!"// with real law announcing action!" //Alas, requires a rewrite of how ion laws work. - icon = 'icons/obj/toy.dmi' - icon_state = "AI" - w_class = ITEMSIZE_SMALL - var/cooldown = 0 -/* -/obj/item/toy/AI/attack_self(mob/user) - if(!cooldown) //for the sanity of everyone - var/message = generate_ion_law() - to_chat(user, "You press the button on [src].") - playsound(src, 'sound/machines/click.ogg', 20, 1) - visible_message("[message]") - cooldown = 1 - spawn(30) cooldown = 0 - return - ..() -*/ -/obj/item/toy/owl - name = "owl action figure" - desc = "An action figure modeled after 'The Owl', defender of justice." - icon = 'icons/obj/toy.dmi' - icon_state = "owlprize" - w_class = ITEMSIZE_SMALL - var/cooldown = 0 - -/obj/item/toy/owl/attack_self(mob/user) - if(!cooldown) //for the sanity of everyone - var/message = pick("You won't get away this time, Griffin!", "Stop right there, criminal!", "Hoot! Hoot!", "I am the night!") - to_chat(user, "You pull the string on the [src].") - //playsound(src, 'sound/misc/hoot.ogg', 25, 1) - visible_message("[message]") - cooldown = 1 - spawn(30) cooldown = 0 - return - ..() - -/obj/item/toy/griffin - name = "griffin action figure" - desc = "An action figure modeled after 'The Griffin', criminal mastermind." - icon = 'icons/obj/toy.dmi' - icon_state = "griffinprize" - w_class = ITEMSIZE_SMALL - var/cooldown = 0 - -/obj/item/toy/griffin/attack_self(mob/user) - if(!cooldown) //for the sanity of everyone - var/message = pick("You can't stop me, Owl!", "My plan is flawless! The vault is mine!", "Caaaawwww!", "You will never catch me!") - to_chat(user, "You pull the string on the [src].") - //playsound(src, 'sound/misc/caw.ogg', 25, 1) - visible_message("[message]") - cooldown = 1 - spawn(30) cooldown = 0 - return - ..() - -/* NYET. -/obj/item/weapon/toddler - icon_state = "toddler" - name = "toddler" - desc = "This baby looks almost real. Wait, did it just burp?" - force = 5 - w_class = ITEMSIZE_LARGE - slot_flags = SLOT_BACK -*/ - -//This should really be somewhere else but I don't know where. w/e - -/obj/item/weapon/inflatable_duck - name = "inflatable duck" - desc = "No bother to sink or swim when you can just float!" - icon_state = "inflatable" - icon = 'icons/obj/clothing/belts.dmi' - slot_flags = SLOT_BELT - drop_sound = 'sound/items/drop/rubber.ogg' - -/obj/item/toy/xmastree - name = "Miniature Christmas tree" - desc = "Tiny cute Christmas tree." - icon = 'icons/obj/toy.dmi' - icon_state = "tinyxmastree" - w_class = ITEMSIZE_TINY - force = 1 - throwforce = 1 - drop_sound = 'sound/items/drop/box.ogg' - -////////////////////////////////////////////////////// -// Chess Pieces // -////////////////////////////////////////////////////// - -/obj/item/toy/chess - name = "chess piece" - desc = "This should never display." - icon = 'icons/obj/chess.dmi' - w_class = ITEMSIZE_SMALL - force = 1 - throwforce = 1 - drop_sound = 'sound/items/drop/glass.ogg' - -/obj/item/toy/chess/pawn_white - name = "blue pawn" - desc = "A large pawn piece for playing chess. It's made of a blue-colored glass." - description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." - icon_state = "w-pawn" -/obj/item/toy/chess/pawn_black - name = "purple pawn" - desc = "A large pawn piece for playing chess. It's made of a purple-colored glass." - description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." - icon_state = "b-pawn" -/obj/item/toy/chess/rook_white - name = "blue rook" - desc = "A large rook piece for playing chess. It's made of a blue-colored glass." - description_info = "The Rook can move any number of vacant squares vertically or horizontally." - icon_state = "w-rook" -/obj/item/toy/chess/rook_black - name = "purple rook" - desc = "A large rook piece for playing chess. It's made of a purple-colored glass." - description_info = "The Rook can move any number of vacant squares vertically or horizontally." - icon_state = "b-rook" -/obj/item/toy/chess/knight_white - name = "blue knight" - desc = "A large knight piece for playing chess. It's made of a blue-colored glass. Sadly, you can't ride it." - description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." - icon_state = "w-knight" -/obj/item/toy/chess/knight_black - name = "purple knight" - desc = "A large knight piece for playing chess. It's made of a purple-colored glass. 'Just a flesh wound.'" - description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." - icon_state = "b-knight" -/obj/item/toy/chess/bishop_white - name = "blue bishop" - desc = "A large bishop piece for playing chess. It's made of a blue-colored glass." - description_info = "The Bishop can move any number of vacant squares in any diagonal direction." - icon_state = "w-bishop" -/obj/item/toy/chess/bishop_black - name = "purple bishop" - desc = "A large bishop piece for playing chess. It's made of a purple-colored glass." - description_info = "The Bishop can move any number of vacant squares in any diagonal direction." - icon_state = "b-bishop" -/obj/item/toy/chess/queen_white - name = "blue queen" - desc = "A large queen piece for playing chess. It's made of a blue-colored glass." - description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." - icon_state = "w-queen" -/obj/item/toy/chess/queen_black - name = "purple queen" - desc = "A large queen piece for playing chess. It's made of a purple-colored glass." - description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." - icon_state = "b-queen" -/obj/item/toy/chess/king_white - name = "blue king" - desc = "A large king piece for playing chess. It's made of a blue-colored glass." - description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." - icon_state = "w-king" -/obj/item/toy/chess/king_black - name = "purple king" - desc = "A large king piece for playing chess. It's made of a purple-colored glass." - description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." +/* Toys! + * Contains: + * Balloons + * Fake telebeacon + * Fake singularity + * Toy gun + * Toy crossbow + * Toy swords + * Toy bosun's whistle + * Snap pops + * Water flower + * Therapy dolls + * Toddler doll + * Inflatable duck + * Action figures + * Plushies + * Toy cult sword + * Bouquets + Stick Horse + */ + + +/obj/item/toy + throwforce = 0 + throw_speed = 4 + throw_range = 20 + force = 0 + drop_sound = 'sound/items/drop/gloves.ogg' + + +/* + * Balloons + */ +/obj/item/toy/balloon + name = "water balloon" + desc = "A translucent balloon. There's nothing in it." + icon = 'icons/obj/toy.dmi' + icon_state = "waterballoon-e" + drop_sound = 'sound/items/drop/rubber.ogg' + +/obj/item/toy/balloon/New() + var/datum/reagents/R = new/datum/reagents(10) + reagents = R + R.my_atom = src + +/obj/item/toy/balloon/attack(mob/living/carbon/human/M as mob, mob/user as mob) + return + +/obj/item/toy/balloon/afterattack(atom/A as mob|obj, mob/user as mob, proximity) + if(!proximity) return + if (istype(A, /obj/structure/reagent_dispensers/watertank) && get_dist(src,A) <= 1) + A.reagents.trans_to_obj(src, 10) + to_chat(user, "You fill the balloon with the contents of [A].") + src.desc = "A translucent balloon with some form of liquid sloshing around in it." + src.update_icon() + return + +/obj/item/toy/balloon/attackby(obj/O as obj, mob/user as mob) + if(istype(O, /obj/item/weapon/reagent_containers/glass)) + if(O.reagents) + if(O.reagents.total_volume < 1) + to_chat(user, "The [O] is empty.") + else if(O.reagents.total_volume >= 1) + if(O.reagents.has_reagent("pacid", 1)) + to_chat(user, "The acid chews through the balloon!") + O.reagents.splash(user, reagents.total_volume) + qdel(src) + else + src.desc = "A translucent balloon with some form of liquid sloshing around in it." + to_chat(user, "You fill the balloon with the contents of [O].") + O.reagents.trans_to_obj(src, 10) + src.update_icon() + return + +/obj/item/toy/balloon/throw_impact(atom/hit_atom) + if(src.reagents.total_volume >= 1) + src.visible_message("\The [src] bursts!","You hear a pop and a splash.") + src.reagents.touch_turf(get_turf(hit_atom)) + for(var/atom/A in get_turf(hit_atom)) + src.reagents.touch(A) + src.icon_state = "burst" + spawn(5) + if(src) + qdel(src) + return + +/obj/item/toy/balloon/update_icon() + if(src.reagents.total_volume >= 1) + icon_state = "waterballoon" + else + icon_state = "waterballoon-e" + +/obj/item/toy/syndicateballoon + name = "criminal balloon" + desc = "There is a tag on the back that reads \"FUK NT!11!\"." + throwforce = 0 + throw_speed = 4 + throw_range = 20 + force = 0 + icon = 'icons/obj/weapons.dmi' + icon_state = "syndballoon" + w_class = ITEMSIZE_LARGE + drop_sound = 'sound/items/drop/rubber.ogg' + +/obj/item/toy/nanotrasenballoon + name = "criminal balloon" + desc = "Across the balloon the following is printed: \"Man, I love NanoTrasen soooo much. I use only NT products. You have NO idea.\"" + throwforce = 0 + throw_speed = 4 + throw_range = 20 + force = 0 + icon = 'icons/obj/weapons.dmi' + icon_state = "ntballoon" + w_class = ITEMSIZE_LARGE + drop_sound = 'sound/items/drop/rubber.ogg' + +/* + * Fake telebeacon + */ +/obj/item/toy/blink + name = "electronic blink toy game" + desc = "Blink. Blink. Blink. Ages 8 and up." + icon = 'icons/obj/radio.dmi' + icon_state = "beacon" + item_state = "signaler" + +/* + * Fake singularity + */ +/obj/item/toy/spinningtoy + name = "gravitational singularity" + desc = "\"Singulo\" brand spinning toy." + icon = 'icons/obj/singularity.dmi' + icon_state = "singularity_s1" + +/* + * Toy crossbow + */ + +/obj/item/toy/crossbow + name = "foam dart crossbow" + desc = "A weapon favored by many overactive children. Ages 8 and up." + icon = 'icons/obj/gun.dmi' + icon_state = "crossbow" + item_icons = list( + icon_l_hand = 'icons/mob/items/lefthand_guns.dmi', + icon_r_hand = 'icons/mob/items/righthand_guns.dmi', + ) + slot_flags = SLOT_HOLSTER + w_class = ITEMSIZE_SMALL + attack_verb = list("attacked", "struck", "hit") + var/bullets = 5 + drop_sound = 'sound/items/drop/gun.ogg' + + examine(mob/user) + . = ..() + if(bullets && get_dist(user, src) <= 2) + . += "It is loaded with [bullets] foam darts!" + + attackby(obj/item/I as obj, mob/user as mob) + if(istype(I, /obj/item/toy/ammo/crossbow)) + if(bullets <= 4) + user.drop_item() + qdel(I) + bullets++ + to_chat(user, "You load the foam dart into the crossbow.") + else + to_chat(usr, "It's already fully loaded.") + + + afterattack(atom/target as mob|obj|turf|area, mob/user as mob, flag) + if(!isturf(target.loc) || target == user) return + if(flag) return + + if (locate (/obj/structure/table, src.loc)) + return + else if (bullets) + var/turf/trg = get_turf(target) + var/obj/effect/foam_dart_dummy/D = new/obj/effect/foam_dart_dummy(get_turf(src)) + bullets-- + D.icon_state = "foamdart" + D.name = "foam dart" + playsound(src, 'sound/items/syringeproj.ogg', 50, 1) + + for(var/i=0, i<6, i++) + if (D) + if(D.loc == trg) break + step_towards(D,trg) + + for(var/mob/living/M in D.loc) + if(!istype(M,/mob/living)) continue + if(M == user) continue + for(var/mob/O in viewers(world.view, D)) + O.show_message(text("\The [] was hit by the foam dart!", M), 1) + new /obj/item/toy/ammo/crossbow(M.loc) + qdel(D) + return + + for(var/atom/A in D.loc) + if(A == user) continue + if(A.density) + new /obj/item/toy/ammo/crossbow(A.loc) + qdel(D) + + sleep(1) + + spawn(10) + if(D) + new /obj/item/toy/ammo/crossbow(D.loc) + qdel(D) + + return + else if (bullets == 0) + user.Weaken(5) + for(var/mob/O in viewers(world.view, user)) + O.show_message(text("\The [] realized they were out of ammo and starting scrounging for some!", user), 1) + + + attack(mob/M as mob, mob/user as mob) + src.add_fingerprint(user) + +// ******* Check + + if (src.bullets > 0 && M.lying) + + for(var/mob/O in viewers(M, null)) + if(O.client) + O.show_message(text("\The [] casually lines up a shot with []'s head and pulls the trigger!", user, M), 1, "You hear the sound of foam against skull", 2) + O.show_message(text("\The [] was hit in the head by the foam dart!", M), 1) + + playsound(src, 'sound/items/syringeproj.ogg', 50, 1) + new /obj/item/toy/ammo/crossbow(M.loc) + src.bullets-- + else if (M.lying && src.bullets == 0) + for(var/mob/O in viewers(M, null)) + if (O.client) O.show_message(text("\The [] casually lines up a shot with []'s head, pulls the trigger, then realizes they are out of ammo and drops to the floor in search of some!", user, M), 1, "You hear someone fall", 2) + user.Weaken(5) + return + +/obj/item/toy/ammo/crossbow + name = "foam dart" + desc = "It's nerf or nothing! Ages 8 and up." + icon = 'icons/obj/toy.dmi' + icon_state = "foamdart" + w_class = ITEMSIZE_TINY + slot_flags = SLOT_EARS + drop_sound = 'sound/items/drop/food.ogg' + +/obj/effect/foam_dart_dummy + name = "" + desc = "" + icon = 'icons/obj/toy.dmi' + icon_state = "null" + anchored = 1 + density = 0 + +/* + * Toy swords + */ +/obj/item/toy/sword + name = "toy sword" + desc = "A cheap, plastic replica of an energy sword. Realistic sounds! Ages 8 and up." + icon = 'icons/obj/weapons.dmi' + icon_state = "esword" + drop_sound = 'sound/items/drop/gun.ogg' + var/lcolor + var/rainbow = FALSE + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) + var/active = 0 + w_class = ITEMSIZE_SMALL + attack_verb = list("attacked", "struck", "hit") + + attack_self(mob/user as mob) + src.active = !( src.active ) + if (src.active) + to_chat(user, "You extend the plastic blade with a quick flick of your wrist.") + playsound(src, 'sound/weapons/saberon.ogg', 50, 1) + src.item_state = "[icon_state]_blade" + src.w_class = ITEMSIZE_LARGE + else + to_chat(user, "You push the plastic blade back down into the handle.") + playsound(src, 'sound/weapons/saberoff.ogg', 50, 1) + src.item_state = "[icon_state]" + src.w_class = ITEMSIZE_SMALL + update_icon() + src.add_fingerprint(user) + return + +/obj/item/toy/sword/update_icon() + . = ..() + var/mutable_appearance/blade_overlay = mutable_appearance(icon, "[icon_state]_blade") + blade_overlay.color = lcolor + cut_overlays() //So that it doesn't keep stacking overlays non-stop on top of each other + if(active) + add_overlay(blade_overlay) + if(istype(usr,/mob/living/carbon/human)) + var/mob/living/carbon/human/H = usr + H.update_inv_l_hand() + H.update_inv_r_hand() + +/obj/item/toy/sword/AltClick(mob/living/user) + if(!in_range(src, user)) //Basic checks to prevent abuse + return + if(user.incapacitated() || !istype(user)) + to_chat(user, "You can't do that right now!") + return + + if(alert("Are you sure you want to recolor your blade?", "Confirm Recolor", "Yes", "No") == "Yes") + var/energy_color_input = input(usr,"","Choose Energy Color",lcolor) as color|null + if(energy_color_input) + lcolor = sanitize_hexcolor(energy_color_input) + update_icon() + +/obj/item/toy/sword/examine(mob/user) + . = ..() + . += "Alt-click to recolor it." + +/obj/item/toy/sword/attackby(obj/item/weapon/W, mob/user) + if(istype(W, /obj/item/device/multitool) && !active) + if(!rainbow) + rainbow = TRUE + else + rainbow = FALSE + to_chat(user, "You manipulate the color controller in [src].") + update_icon() +/obj/item/toy/katana + name = "replica katana" + desc = "Woefully underpowered in D20." + icon = 'icons/obj/weapons.dmi' + icon_state = "katana" + item_state = "katana" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_material.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_material.dmi', + ) + slot_flags = SLOT_BELT | SLOT_BACK + force = 5 + throwforce = 5 + w_class = ITEMSIZE_NORMAL + attack_verb = list("attacked", "slashed", "stabbed", "sliced") + +/* + * Snap pops + */ +/obj/item/toy/snappop + name = "snap pop" + desc = "Wow!" + icon = 'icons/obj/toy.dmi' + icon_state = "snappop" + w_class = ITEMSIZE_TINY + drop_sound = null + + throw_impact(atom/hit_atom) + ..() + var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread + s.set_up(3, 1, src) + s.start() + new /obj/effect/decal/cleanable/ash(src.loc) + src.visible_message("The [src.name] explodes!","You hear a snap!") + playsound(src, 'sound/effects/snap.ogg', 50, 1) + qdel(src) + +/obj/item/toy/snappop/Crossed(atom/movable/H as mob|obj) + if(H.is_incorporeal()) + return + if((ishuman(H))) //i guess carp and shit shouldn't set them off + var/mob/living/carbon/M = H + if(M.m_intent == "run") + to_chat(M, "You step on the snap pop!") + + var/datum/effect/effect/system/spark_spread/s = new /datum/effect/effect/system/spark_spread + s.set_up(2, 0, src) + s.start() + new /obj/effect/decal/cleanable/ash(src.loc) + src.visible_message("The [src.name] explodes!","You hear a snap!") + playsound(src, 'sound/effects/snap.ogg', 50, 1) + qdel(src) + +/* + * Bosun's whistle + */ + +/obj/item/toy/bosunwhistle + name = "bosun's whistle" + desc = "A genuine Admiral Krush Bosun's Whistle, for the aspiring ship's captain! Suitable for ages 8 and up, do not swallow." + icon = 'icons/obj/toy.dmi' + icon_state = "bosunwhistle" + drop_sound = 'sound/items/drop/card.ogg' + var/cooldown = 0 + w_class = ITEMSIZE_TINY + slot_flags = SLOT_EARS | SLOT_HOLSTER + +/obj/item/toy/bosunwhistle/attack_self(mob/user as mob) + if(cooldown < world.time - 35) + to_chat(user, "You blow on [src], creating an ear-splitting noise!") + playsound(src, 'sound/misc/boatswain.ogg', 20, 1) + cooldown = world.time + +/* + * Action figures + */ +/obj/item/toy/figure + name = "Non-Specific Action Figure action figure" + desc = "A \"Space Life\" brand... wait, what the hell is this thing?" + icon = 'icons/obj/toy.dmi' + icon_state = "nuketoy" + var/cooldown = 0 + var/toysay = "What the fuck did you do?" + drop_sound = 'sound/items/drop/accessory.ogg' + +/obj/item/toy/figure/New() + ..() + desc = "A \"Space Life\" brand [name]" + +/obj/item/toy/figure/attack_self(mob/user as mob) + if(cooldown < world.time) + cooldown = (world.time + 30) //3 second cooldown + user.visible_message("The [src] says \"[toysay]\".") + playsound(src, 'sound/machines/click.ogg', 20, 1) + +/obj/item/toy/figure/cmo + name = "Chief Medical Officer action figure" + desc = "A \"Space Life\" brand Chief Medical Officer action figure." + icon_state = "cmo" + toysay = "Suit sensors!" + +/obj/item/toy/figure/assistant + name = "Assistant action figure" + desc = "A \"Space Life\" brand Assistant action figure." + icon_state = "assistant" + toysay = "Grey tide station wide!" + +/obj/item/toy/figure/atmos + name = "Atmospheric Technician action figure" + desc = "A \"Space Life\" brand Atmospheric Technician action figure." + icon_state = "atmos" + toysay = "Glory to Atmosia!" + +/obj/item/toy/figure/bartender + name = "Bartender action figure" + desc = "A \"Space Life\" brand Bartender action figure." + icon_state = "bartender" + toysay = "Where's my monkey?" + +/obj/item/toy/figure/borg + name = "Drone action figure" + desc = "A \"Space Life\" brand Drone action figure." + icon_state = "borg" + toysay = "I. LIVE. AGAIN." + +/obj/item/toy/figure/gardener + name = "Gardener action figure" + desc = "A \"Space Life\" brand Gardener action figure." + icon_state = "botanist" + toysay = "Dude, I see colors..." + +/obj/item/toy/figure/captain + name = "Colony Director action figure" + desc = "A \"Space Life\" brand Colony Director action figure." + icon_state = "captain" + toysay = "How do I open this display case?" + +/obj/item/toy/figure/cargotech + name = "Cargo Technician action figure" + desc = "A \"Space Life\" brand Cargo Technician action figure." + icon_state = "cargotech" + toysay = "For Cargonia!" + +/obj/item/toy/figure/ce + name = "Chief Engineer action figure" + desc = "A \"Space Life\" brand Chief Engineer action figure." + icon_state = "ce" + toysay = "Wire the solars!" + +/obj/item/toy/figure/chaplain + name = "Chaplain action figure" + desc = "A \"Space Life\" brand Chaplain action figure." + icon_state = "chaplain" + toysay = "Gods make me a killing machine please!" + +/obj/item/toy/figure/chef + name = "Chef action figure" + desc = "A \"Space Life\" brand Chef action figure." + icon_state = "chef" + toysay = "I swear it's not human meat." + +/obj/item/toy/figure/chemist + name = "Chemist action figure" + desc = "A \"Space Life\" brand Chemist action figure." + icon_state = "chemist" + toysay = "Get your pills!" + +/obj/item/toy/figure/clown + name = "Clown action figure" + desc = "A \"Space Life\" brand Clown action figure." + icon_state = "clown" + toysay = "Honk!" + +/obj/item/toy/figure/corgi + name = "Corgi action figure" + desc = "A \"Space Life\" brand Corgi action figure." + icon_state = "ian" + toysay = "Arf!" + +/obj/item/toy/figure/detective + name = "Detective action figure" + desc = "A \"Space Life\" brand Detective action figure." + icon_state = "detective" + toysay = "This airlock has grey jumpsuit and insulated glove fibers on it." + +/obj/item/toy/figure/dsquad + name = "Space Commando action figure" + desc = "A \"Space Life\" brand Space Commando action figure." + icon_state = "dsquad" + toysay = "Eliminate all threats!" + +/obj/item/toy/figure/engineer + name = "Engineer action figure" + desc = "A \"Space Life\" brand Engineer action figure." + icon_state = "engineer" + toysay = "Oh god, the engine is gonna go!" + +/obj/item/toy/figure/geneticist + name = "Geneticist action figure" + desc = "A \"Space Life\" brand Geneticist action figure, which was recently dicontinued." + icon_state = "geneticist" + toysay = "I'm not qualified for this job." + +/obj/item/toy/figure/hop + name = "Head of Personnel action figure" + desc = "A \"Space Life\" brand Head of Personnel action figure." + icon_state = "hop" + toysay = "Giving out all access!" + +/obj/item/toy/figure/hos + name = "Head of Security action figure" + desc = "A \"Space Life\" brand Head of Security action figure." + icon_state = "hos" + toysay = "I'm here to win, anything else is secondary." + +/obj/item/toy/figure/qm + name = "Quartermaster action figure" + desc = "A \"Space Life\" brand Quartermaster action figure." + icon_state = "qm" + toysay = "Hail Cargonia!" + +/obj/item/toy/figure/janitor + name = "Janitor action figure" + desc = "A \"Space Life\" brand Janitor action figure." + icon_state = "janitor" + toysay = "Look at the signs, you idiot." + +/obj/item/toy/figure/agent + name = "Internal Affairs Agent action figure" + desc = "A \"Space Life\" brand Internal Affairs Agent action figure." + icon_state = "agent" + toysay = "Standard Operating Procedure says they're guilty! Hacking is proof they're an Enemy of the Corporation!" + +/obj/item/toy/figure/librarian + name = "Librarian action figure" + desc = "A \"Space Life\" brand Librarian action figure." + icon_state = "librarian" + toysay = "One day while..." + +/obj/item/toy/figure/md + name = "Medical Doctor action figure" + desc = "A \"Space Life\" brand Medical Doctor action figure." + icon_state = "md" + toysay = "The patient is already dead!" + +/obj/item/toy/figure/mime + name = "Mime action figure" + desc = "A \"Space Life\" brand Mime action figure." + icon_state = "mime" + toysay = "..." + +/obj/item/toy/figure/miner + name = "Shaft Miner action figure" + desc = "A \"Space Life\" brand Shaft Miner action figure." + icon_state = "miner" + toysay = "Oh god, it's eating my intestines!" + +/obj/item/toy/figure/ninja + name = "Space Ninja action figure" + desc = "A \"Space Life\" brand Space Ninja action figure." + icon_state = "ninja" + toysay = "Oh god! Stop shooting, I'm friendly!" + +/obj/item/toy/figure/wizard + name = "Wizard action figure" + desc = "A \"Space Life\" brand Wizard action figure." + icon_state = "wizard" + toysay = "Ei Nath!" + +/obj/item/toy/figure/rd + name = "Research Director action figure" + desc = "A \"Space Life\" brand Research Director action figure." + icon_state = "rd" + toysay = "Blowing all of the borgs!" + +/obj/item/toy/figure/roboticist + name = "Roboticist action figure" + desc = "A \"Space Life\" brand Roboticist action figure." + icon_state = "roboticist" + toysay = "He asked to be borged!" + +/obj/item/toy/figure/scientist + name = "Scientist action figure" + desc = "A \"Space Life\" brand Scientist action figure." + icon_state = "scientist" + toysay = "Someone else must have made those bombs!" + +/obj/item/toy/figure/syndie + name = "Doom Operative action figure" + desc = "A \"Space Life\" brand Doom Operative action figure." + icon_state = "syndie" + toysay = "Get that fucking disk!" + +/obj/item/toy/figure/secofficer + name = "Security Officer action figure" + desc = "A \"Space Life\" brand Security Officer action figure." + icon_state = "secofficer" + toysay = "I am the law!" + +/obj/item/toy/figure/virologist + name = "Virologist action figure" + desc = "A \"Space Life\" brand Virologist action figure." + icon_state = "virologist" + toysay = "The cure is potassium!" + +/obj/item/toy/figure/warden + name = "Warden action figure" + desc = "A \"Space Life\" brand Warden action figure." + icon_state = "warden" + toysay = "Execute him for breaking in!" + +/obj/item/toy/figure/psychologist + name = "Psychologist action figure" + desc = "A \"Space Life\" brand Psychologist action figure." + icon_state = "psychologist" + toysay = "The analyzer says you're fine!" + +/obj/item/toy/figure/paramedic + name = "Paramedic action figure" + desc = "A \"Space Life\" brand Paramedic action figure." + icon_state = "paramedic" + toysay = "WHERE ARE YOU??" + +/obj/item/toy/figure/ert + name = "Emergency Response Team Commander action figure" + desc = "A \"Space Life\" brand Emergency Response Team Commander action figure." + icon_state = "ert" + toysay = "We're probably the good guys!" + +/* + * Plushies + */ + +/* + * Carp plushie + */ + +/obj/item/toy/plushie/carp + name = "space carp plushie" + desc = "An adorable stuffed toy that resembles a space carp." + icon = 'icons/obj/toy.dmi' + icon_state = "basecarp" + attack_verb = list("bitten", "eaten", "fin slapped") + var/bitesound = 'sound/weapons/bite.ogg' + +// Attack mob +/obj/item/toy/plushie/carp/attack(mob/M as mob, mob/user as mob) + playsound(src, bitesound, 20, 1) // Play bite sound in local area + return ..() + +// Attack self +/obj/item/toy/plushie/carp/attack_self(mob/user as mob) + playsound(src, bitesound, 20, 1) + return ..() + + +/obj/random/carp_plushie + name = "Random Carp Plushie" + desc = "This is a random plushie" + icon = 'icons/obj/toy.dmi' + icon_state = "basecarp" + +/obj/random/carp_plushie/item_to_spawn() + return pick(typesof(/obj/item/toy/plushie/carp)) //can pick any carp plushie, even the original. + +/obj/item/toy/plushie/carp/ice + name = "ice carp plushie" + icon_state = "icecarp" + +/obj/item/toy/plushie/carp/silent + name = "monochrome carp plushie" + icon_state = "silentcarp" + +/obj/item/toy/plushie/carp/electric + name = "electric carp plushie" + icon_state = "electriccarp" + +/obj/item/toy/plushie/carp/gold + name = "golden carp plushie" + icon_state = "goldcarp" + +/obj/item/toy/plushie/carp/toxin + name = "toxic carp plushie" + icon_state = "toxincarp" + +/obj/item/toy/plushie/carp/dragon + name = "dragon carp plushie" + icon_state = "dragoncarp" + +/obj/item/toy/plushie/carp/pink + name = "pink carp plushie" + icon_state = "pinkcarp" + +/obj/item/toy/plushie/carp/candy + name = "candy carp plushie" + icon_state = "candycarp" + +/obj/item/toy/plushie/carp/nebula + name = "nebula carp plushie" + icon_state = "nebulacarp" + +/obj/item/toy/plushie/carp/void + name = "void carp plushie" + icon_state = "voidcarp" + +//Large plushies. +/obj/structure/plushie + name = "generic plush" + desc = "A very generic plushie. It seems to not want to exist." + icon = 'icons/obj/toy.dmi' + icon_state = "ianplushie" + anchored = 0 + density = 1 + var/phrase = "I don't want to exist anymore!" + var/searching = FALSE + var/opened = FALSE // has this been slit open? this will allow you to store an object in a plushie. + var/obj/item/stored_item // Note: Stored items can't be bigger than the plushie itself. + +/obj/structure/plushie/examine(mob/user) + . = ..() + if(opened) + . += "You notice an incision has been made on [src]." + if(in_range(user, src) && stored_item) + . += "You can see something in there..." + +/obj/structure/plushie/attack_hand(mob/user) + user.setClickCooldown(DEFAULT_ATTACK_COOLDOWN) + + if(stored_item && opened && !searching) + searching = TRUE + if(do_after(user, 10)) + to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!") + stored_item.forceMove(get_turf(src)) + stored_item = null + searching = FALSE + return + else + searching = FALSE + + if(user.a_intent == I_HELP) + user.visible_message("\The [user] hugs [src]!","You hug [src]!") + else if (user.a_intent == I_HURT) + user.visible_message("\The [user] punches [src]!","You punch [src]!") + else if (user.a_intent == I_GRAB) + user.visible_message("\The [user] attempts to strangle [src]!","You attempt to strangle [src]!") + else + user.visible_message("\The [user] pokes the [src].","You poke the [src].") + visible_message("[src] says, \"[phrase]\"") + + +/obj/structure/plushie/attackby(obj/item/I as obj, mob/user as mob) + if(istype(I, /obj/item/device/threadneedle) && opened) + to_chat(user, "You sew the hole in [src].") + opened = FALSE + return + + if(is_sharp(I) && !opened) + to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") + opened = TRUE + return + + if(opened) + if(stored_item) + to_chat(user, "There is already something in here.") + return + + if(!(I.w_class > w_class)) + to_chat(user, "You place [I] inside [src].") + user.drop_from_inventory(I, src) + I.forceMove(src) + stored_item = I + return + else + to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") + + + ..() + +/obj/structure/plushie/ian + name = "plush corgi" + desc = "A plushie of an adorable corgi! Don't you just want to hug it and squeeze it and call it \"Ian\"?" + icon_state = "ianplushie" + phrase = "Arf!" + +/obj/structure/plushie/drone + name = "plush drone" + desc = "A plushie of a happy drone! It appears to be smiling." + icon_state = "droneplushie" + phrase = "Beep boop!" + +/obj/structure/plushie/carp + name = "plush carp" + desc = "A plushie of an elated carp! Straight from the wilds of the Vir frontier, now right here in your hands." + icon_state = "carpplushie" + phrase = "Glorf!" + +/obj/structure/plushie/beepsky + name = "plush Officer Sweepsky" + desc = "A plushie of a popular industrious cleaning robot! If it could feel emotions, it would love you." + icon_state = "beepskyplushie" + phrase = "Ping!" + +//Small plushies. +/obj/item/toy/plushie + name = "generic small plush" + desc = "A small toy plushie. It's very cute." + icon = 'icons/obj/toy.dmi' + icon_state = "nymphplushie" + drop_sound = 'sound/items/drop/plushie.ogg' + w_class = ITEMSIZE_TINY + var/last_message = 0 + var/pokephrase = "Uww!" + var/searching = FALSE + var/opened = FALSE // has this been slit open? this will allow you to store an object in a plushie. + var/obj/item/stored_item // Note: Stored items can't be bigger than the plushie itself. + + +/obj/item/toy/plushie/examine(mob/user) + . = ..() + if(opened) + . += "You notice an incision has been made on [src]." + if(in_range(user, src) && stored_item) + . += "You can see something in there..." + +/obj/item/toy/plushie/attack_self(mob/user as mob) + if(stored_item && opened && !searching) + searching = TRUE + if(do_after(user, 10)) + to_chat(user, "You find \icon[stored_item] [stored_item] in [src]!") + stored_item.forceMove(get_turf(src)) + stored_item = null + searching = FALSE + return + else + searching = FALSE + + if(world.time - last_message <= 1 SECOND) + return + if(user.a_intent == I_HELP) + user.visible_message("\The [user] hugs [src]!","You hug [src]!") + else if (user.a_intent == I_HURT) + user.visible_message("\The [user] punches [src]!","You punch [src]!") + else if (user.a_intent == I_GRAB) + user.visible_message("\The [user] attempts to strangle [src]!","You attempt to strangle [src]!") + else + user.visible_message("\The [user] pokes [src].","You poke [src].") + playsound(src, 'sound/items/drop/plushie.ogg', 25, 0) + visible_message("[src] says, \"[pokephrase]\"") + last_message = world.time + +/obj/item/toy/plushie/verb/rename_plushie() + set name = "Name Plushie" + set category = "Object" + set desc = "Give your plushie a cute name!" + var/mob/M = usr + if(!M.mind) + return 0 + + var/input = sanitizeSafe(input("What do you want to name the plushie?", ,""), MAX_NAME_LEN) + + if(src && input && !M.stat && in_range(M,src)) + name = input + to_chat(M, "You name the plushie [input], giving it a hug for good luck.") + return 1 + +/obj/item/toy/plushie/attackby(obj/item/I as obj, mob/user as mob) + if(istype(I, /obj/item/toy/plushie) || istype(I, /obj/item/organ/external/head)) + user.visible_message("[user] makes \the [I] kiss \the [src]!.", \ + "You make \the [I] kiss \the [src]!.") + return + + + if(istype(I, /obj/item/device/threadneedle) && opened) + to_chat(user, "You sew the hole underneath [src].") + opened = FALSE + return + + if(is_sharp(I) && !opened) + to_chat(user, "You open a small incision in [src]. You can place tiny items inside.") + opened = TRUE + return + + if( (!(I.w_class > w_class)) && opened) + if(stored_item) + to_chat(user, "There is already something in here.") + return + + to_chat(user, "You place [I] inside [src].") + user.drop_from_inventory(I, src) + I.forceMove(src) + stored_item = I + to_chat(user, "You placed [I] into [src].") + return + + return ..() + +/obj/item/toy/plushie/nymph + name = "diona nymph plush" + desc = "A plushie of an adorable diona nymph! While its level of self-awareness is still being debated, its level of cuteness is not." + icon_state = "nymphplushie" + pokephrase = "Chirp!" + +/obj/item/toy/plushie/teshari + name = "teshari plush" + desc = "This is a plush teshari. Very soft, with a pompom on the tail. The toy is made well, as if alive. Looks like she is sleeping. Shhh!" + icon_state = "teshariplushie" + pokephrase = "Rya!" + +/obj/item/toy/plushie/mouse + name = "mouse plush" + desc = "A plushie of a delightful mouse! What was once considered a vile rodent is now your very best friend." + icon_state = "mouseplushie" //TFF 12/11/19 - updated icon to show a sprite that doesn't replicate a dead mouse. Heck you for that! >:C + pokephrase = "Squeak!" + +/obj/item/toy/plushie/kitten + name = "kitten plush" + desc = "A plushie of a cute kitten! Watch as it purrs its way right into your heart." + icon_state = "kittenplushie" + pokephrase = "Mrow!" + +/obj/item/toy/plushie/lizard + name = "lizard plush" + desc = "A plushie of a scaly lizard! Very controversial, after being accused as \"racist\" by some Unathi." + icon_state = "lizardplushie" + pokephrase = "Hiss!" + +/obj/item/toy/plushie/spider + name = "spider plush" + desc = "A plushie of a fuzzy spider! It has eight legs - all the better to hug you with." + icon_state = "spiderplushie" + pokephrase = "Sksksk!" + +/obj/item/toy/plushie/farwa + name = "farwa plush" + desc = "A farwa plush doll. It's soft and comforting!" + icon_state = "farwaplushie" + pokephrase = "Squaw!" + +/obj/item/toy/plushie/corgi + name = "corgi plushie" + icon_state = "corgi" + pokephrase = "Woof!" + +/obj/item/toy/plushie/girly_corgi + name = "corgi plushie" + icon_state = "girlycorgi" + pokephrase = "Arf!" + +/obj/item/toy/plushie/robo_corgi + name = "borgi plushie" + icon_state = "robotcorgi" + pokephrase = "Bark." + +/obj/item/toy/plushie/octopus + name = "octopus plushie" + icon_state = "loveable" + pokephrase = "Squish!" + +/obj/item/toy/plushie/face_hugger + name = "facehugger plushie" + icon_state = "huggable" + pokephrase = "Hug!" + +//foxes are basically the best + +/obj/item/toy/plushie/red_fox + name = "red fox plushie" + icon_state = "redfox" + pokephrase = "Gecker!" + +/obj/item/toy/plushie/black_fox + name = "black fox plushie" + icon_state = "blackfox" + pokephrase = "Ack!" + +/obj/item/toy/plushie/marble_fox + name = "marble fox plushie" + icon_state = "marblefox" + pokephrase = "Awoo!" + +/obj/item/toy/plushie/blue_fox + name = "blue fox plushie" + icon_state = "bluefox" + pokephrase = "Yoww!" + +/obj/item/toy/plushie/orange_fox + name = "orange fox plushie" + icon_state = "orangefox" + pokephrase = "Yagh!" + +/obj/item/toy/plushie/coffee_fox + name = "coffee fox plushie" + icon_state = "coffeefox" + pokephrase = "Gerr!" + +/obj/item/toy/plushie/pink_fox + name = "pink fox plushie" + icon_state = "pinkfox" + pokephrase = "Yack!" + +/obj/item/toy/plushie/purple_fox + name = "purple fox plushie" + icon_state = "purplefox" + pokephrase = "Whine!" + +/obj/item/toy/plushie/crimson_fox + name = "crimson fox plushie" + icon_state = "crimsonfox" + pokephrase = "Auuu!" + +/obj/item/toy/plushie/deer + name = "deer plushie" + icon_state = "deer" + pokephrase = "Bleat!" + +/obj/item/toy/plushie/black_cat + name = "black cat plushie" + icon_state = "blackcat" + pokephrase = "Mlem!" + +/obj/item/toy/plushie/grey_cat + name = "grey cat plushie" + icon_state = "greycat" + pokephrase = "Mraw!" + +/obj/item/toy/plushie/white_cat + name = "white cat plushie" + icon_state = "whitecat" + pokephrase = "Mew!" + +/obj/item/toy/plushie/orange_cat + name = "orange cat plushie" + icon_state = "orangecat" + pokephrase = "Meow!" + +/obj/item/toy/plushie/siamese_cat + name = "siamese cat plushie" + icon_state = "siamesecat" + pokephrase = "Mrew?" + +/obj/item/toy/plushie/tabby_cat + name = "tabby cat plushie" + icon_state = "tabbycat" + pokephrase = "Purr!" + +/obj/item/toy/plushie/tuxedo_cat + name = "tuxedo cat plushie" + icon_state = "tuxedocat" + pokephrase = "Mrowww!!" + +// nah, squids are better than foxes :> + +/obj/item/toy/plushie/squid/green + name = "green squid plushie" + desc = "A small, cute and loveable squid friend. This one is green." + icon = 'icons/obj/toy.dmi' + icon_state = "greensquid" + slot_flags = SLOT_HEAD + pokephrase = "Squrr!" + +/obj/item/toy/plushie/squid/mint + name = "mint squid plushie" + desc = "A small, cute and loveable squid friend. This one is mint coloured." + icon = 'icons/obj/toy.dmi' + icon_state = "mintsquid" + slot_flags = SLOT_HEAD + pokephrase = "Blurble!" + +/obj/item/toy/plushie/squid/blue + name = "blue squid plushie" + desc = "A small, cute and loveable squid friend. This one is blue." + icon = 'icons/obj/toy.dmi' + icon_state = "bluesquid" + slot_flags = SLOT_HEAD + pokephrase = "Blob!" + +/obj/item/toy/plushie/squid/orange + name = "orange squid plushie" + desc = "A small, cute and loveable squid friend. This one is orange." + icon = 'icons/obj/toy.dmi' + icon_state = "orangesquid" + slot_flags = SLOT_HEAD + pokephrase = "Squash!" + +/obj/item/toy/plushie/squid/yellow + name = "yellow squid plushie" + desc = "A small, cute and loveable squid friend. This one is yellow." + icon = 'icons/obj/toy.dmi' + icon_state = "yellowsquid" + slot_flags = SLOT_HEAD + pokephrase = "Glorble!" + +/obj/item/toy/plushie/squid/pink + name = "pink squid plushie" + desc = "A small, cute and loveable squid friend. This one is pink." + icon = 'icons/obj/toy.dmi' + icon_state = "pinksquid" + slot_flags = SLOT_HEAD + pokephrase = "Wobble!" + +/obj/item/toy/plushie/therapy/red + name = "red therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is red." + icon = 'icons/obj/toy.dmi' + icon_state = "therapyred" + item_state = "egg4" // It's the red egg in items_left/righthand + +/obj/item/toy/plushie/therapy/purple + name = "purple therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is purple." + icon = 'icons/obj/toy.dmi' + icon_state = "therapypurple" + item_state = "egg1" // It's the magenta egg in items_left/righthand + +/obj/item/toy/plushie/therapy/blue + name = "blue therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is blue." + icon = 'icons/obj/toy.dmi' + icon_state = "therapyblue" + item_state = "egg2" // It's the blue egg in items_left/righthand + +/obj/item/toy/plushie/therapy/yellow + name = "yellow therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is yellow." + icon = 'icons/obj/toy.dmi' + icon_state = "therapyyellow" + item_state = "egg5" // It's the yellow egg in items_left/righthand + +/obj/item/toy/plushie/therapy/orange + name = "orange therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is orange." + icon = 'icons/obj/toy.dmi' + icon_state = "therapyorange" + item_state = "egg4" // It's the red one again, lacking an orange item_state and making a new one is pointless + +/obj/item/toy/plushie/therapy/green + name = "green therapy doll" + desc = "A toy for therapeutic and recreational purposes. This one is green." + icon = 'icons/obj/toy.dmi' + icon_state = "therapygreen" + item_state = "egg3" // It's the green egg in items_left/righthand + + +//Toy cult sword +/obj/item/toy/cultsword + name = "foam sword" + desc = "An arcane weapon (made of foam) wielded by the followers of the hit Saturday morning cartoon \"King Nursee and the Acolytes of Heroism\"." + icon = 'icons/obj/weapons.dmi' + icon_state = "cultblade" + item_icons = list( + slot_l_hand_str = 'icons/mob/items/lefthand_melee.dmi', + slot_r_hand_str = 'icons/mob/items/righthand_melee.dmi', + ) + w_class = ITEMSIZE_LARGE + attack_verb = list("attacked", "slashed", "stabbed", "poked") + +//Flowers fake & real + +/obj/item/toy/bouquet + name = "bouquet" + desc = "A lovely bouquet of flowers. Smells nice!" + icon = 'icons/obj/items.dmi' + icon_state = "bouquet" + w_class = ITEMSIZE_SMALL + +/obj/item/toy/bouquet/fake + name = "plastic bouquet" + desc = "A cheap plastic bouquet of flowers. Smells like cheap, toxic plastic." + +/obj/item/toy/stickhorse + name = "stick horse" + desc = "A pretend horse on a stick for any aspiring little cowboy to ride." + icon = 'icons/obj/toy.dmi' + icon_state = "stickhorse" + w_class = ITEMSIZE_LARGE + +////////////////////////////////////////////////////// +// Magic 8-Ball / Conch // +////////////////////////////////////////////////////// + +/obj/item/toy/eight_ball + name = "\improper Magic 8-Ball" + desc = "Mystical! Magical! Ages 8+!" + icon = 'icons/obj/toy.dmi' + icon_state = "eight-ball" + var/use_action = "shakes the ball" + var/cooldown = 0 + var/list/possible_answers = list("Definitely.", "All signs point to yes.", "Most likely.", "Yes.", "Ask again later.", "Better not tell you now.", "Future unclear.", "Maybe.", "Doubtful.", "No.", "Don't count on it.", "Never.") + +/obj/item/toy/eight_ball/attack_self(mob/user as mob) + if(!cooldown) + var/answer = pick(possible_answers) + user.visible_message("[user] focuses on their question and [use_action]...") + user.visible_message("The [src] says \"[answer]\"") + spawn(30) + cooldown = 0 + return + +/obj/item/toy/eight_ball/conch + name = "Magic Conch shell" + desc = "All hail the Magic Conch!" + icon_state = "conch" + use_action = "pulls the string" + possible_answers = list("Yes.", "No.", "Try asking again.", "Nothing.", "I don't think so.", "Neither.", "Maybe someday.") + +// DND Character minis. Use the naming convention (type)character for the icon states. +/obj/item/toy/character + icon = 'icons/obj/toy.dmi' + w_class = ITEMSIZE_SMALL + pixel_z = 5 + +/obj/item/toy/character/alien + name = "xenomorph xiniature" + desc = "A miniature xenomorph. Scary!" + icon_state = "aliencharacter" +/obj/item/toy/character/cleric + name = "cleric miniature" + desc = "A wee little cleric, with his wee little staff." + icon_state = "clericcharacter" +/obj/item/toy/character/warrior + name = "warrior miniature" + desc = "That sword would make a decent toothpick." + icon_state = "warriorcharacter" +/obj/item/toy/character/thief + name = "thief miniature" + desc = "Hey, where did my wallet go!?" + icon_state = "thiefcharacter" +/obj/item/toy/character/wizard + name = "wizard miniature" + desc = "MAGIC!" + icon_state = "wizardcharacter" +/obj/item/toy/character/voidone + name = "void one miniature" + desc = "The dark lord has risen!" + icon_state = "darkmastercharacter" +/obj/item/toy/character/lich + name = "lich miniature" + desc = "Murderboner extraordinaire." + icon_state = "lichcharacter" +/obj/item/weapon/storage/box/characters + name = "box of miniatures" + desc = "The nerd's best friends." + icon_state = "box" +/obj/item/weapon/storage/box/characters/starts_with = list( +// /obj/item/toy/character/alien, + /obj/item/toy/character/cleric, + /obj/item/toy/character/warrior, + /obj/item/toy/character/thief, + /obj/item/toy/character/wizard, + /obj/item/toy/character/voidone, + /obj/item/toy/character/lich + ) + +/obj/item/toy/AI + name = "toy AI" + desc = "A little toy model AI core!"// with real law announcing action!" //Alas, requires a rewrite of how ion laws work. + icon = 'icons/obj/toy.dmi' + icon_state = "AI" + w_class = ITEMSIZE_SMALL + var/cooldown = 0 +/* +/obj/item/toy/AI/attack_self(mob/user) + if(!cooldown) //for the sanity of everyone + var/message = generate_ion_law() + to_chat(user, "You press the button on [src].") + playsound(src, 'sound/machines/click.ogg', 20, 1) + visible_message("[message]") + cooldown = 1 + spawn(30) cooldown = 0 + return + ..() +*/ +/obj/item/toy/owl + name = "owl action figure" + desc = "An action figure modeled after 'The Owl', defender of justice." + icon = 'icons/obj/toy.dmi' + icon_state = "owlprize" + w_class = ITEMSIZE_SMALL + var/cooldown = 0 + +/obj/item/toy/owl/attack_self(mob/user) + if(!cooldown) //for the sanity of everyone + var/message = pick("You won't get away this time, Griffin!", "Stop right there, criminal!", "Hoot! Hoot!", "I am the night!") + to_chat(user, "You pull the string on the [src].") + //playsound(src, 'sound/misc/hoot.ogg', 25, 1) + visible_message("[message]") + cooldown = 1 + spawn(30) cooldown = 0 + return + ..() + +/obj/item/toy/griffin + name = "griffin action figure" + desc = "An action figure modeled after 'The Griffin', criminal mastermind." + icon = 'icons/obj/toy.dmi' + icon_state = "griffinprize" + w_class = ITEMSIZE_SMALL + var/cooldown = 0 + +/obj/item/toy/griffin/attack_self(mob/user) + if(!cooldown) //for the sanity of everyone + var/message = pick("You can't stop me, Owl!", "My plan is flawless! The vault is mine!", "Caaaawwww!", "You will never catch me!") + to_chat(user, "You pull the string on the [src].") + //playsound(src, 'sound/misc/caw.ogg', 25, 1) + visible_message("[message]") + cooldown = 1 + spawn(30) cooldown = 0 + return + ..() + +/* NYET. +/obj/item/weapon/toddler + icon_state = "toddler" + name = "toddler" + desc = "This baby looks almost real. Wait, did it just burp?" + force = 5 + w_class = ITEMSIZE_LARGE + slot_flags = SLOT_BACK +*/ + +//This should really be somewhere else but I don't know where. w/e + +/obj/item/weapon/inflatable_duck + name = "inflatable duck" + desc = "No bother to sink or swim when you can just float!" + icon_state = "inflatable" + icon = 'icons/obj/clothing/belts.dmi' + slot_flags = SLOT_BELT + drop_sound = 'sound/items/drop/rubber.ogg' + +/obj/item/toy/xmastree + name = "Miniature Christmas tree" + desc = "Tiny cute Christmas tree." + icon = 'icons/obj/toy.dmi' + icon_state = "tinyxmastree" + w_class = ITEMSIZE_TINY + force = 1 + throwforce = 1 + drop_sound = 'sound/items/drop/box.ogg' + +////////////////////////////////////////////////////// +// Chess Pieces // +////////////////////////////////////////////////////// + +/obj/item/toy/chess + name = "chess piece" + desc = "This should never display." + icon = 'icons/obj/chess.dmi' + w_class = ITEMSIZE_SMALL + force = 1 + throwforce = 1 + drop_sound = 'sound/items/drop/glass.ogg' + +/obj/item/toy/chess/pawn_white + name = "blue pawn" + desc = "A large pawn piece for playing chess. It's made of a blue-colored glass." + description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." + icon_state = "w-pawn" +/obj/item/toy/chess/pawn_black + name = "purple pawn" + desc = "A large pawn piece for playing chess. It's made of a purple-colored glass." + description_info = "Pawns can move forward one square, if that square is unoccupied. If the pawn has not yet moved, it has the option of moving two squares forward provided both squares in front of the pawn are unoccupied. A pawn cannot move backward. They can only capture an enemy piece on either of the two tiles diagonally in front of them, but not the tile directly in front of them." + icon_state = "b-pawn" +/obj/item/toy/chess/rook_white + name = "blue rook" + desc = "A large rook piece for playing chess. It's made of a blue-colored glass." + description_info = "The Rook can move any number of vacant squares vertically or horizontally." + icon_state = "w-rook" +/obj/item/toy/chess/rook_black + name = "purple rook" + desc = "A large rook piece for playing chess. It's made of a purple-colored glass." + description_info = "The Rook can move any number of vacant squares vertically or horizontally." + icon_state = "b-rook" +/obj/item/toy/chess/knight_white + name = "blue knight" + desc = "A large knight piece for playing chess. It's made of a blue-colored glass. Sadly, you can't ride it." + description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." + icon_state = "w-knight" +/obj/item/toy/chess/knight_black + name = "purple knight" + desc = "A large knight piece for playing chess. It's made of a purple-colored glass. 'Just a flesh wound.'" + description_info = "The Knight can either move two squares horizontally and one square vertically or two squares vertically and one square horizontally. The knight's movement can also be viewed as an 'L' laid out at any horizontal or vertical angle." + icon_state = "b-knight" +/obj/item/toy/chess/bishop_white + name = "blue bishop" + desc = "A large bishop piece for playing chess. It's made of a blue-colored glass." + description_info = "The Bishop can move any number of vacant squares in any diagonal direction." + icon_state = "w-bishop" +/obj/item/toy/chess/bishop_black + name = "purple bishop" + desc = "A large bishop piece for playing chess. It's made of a purple-colored glass." + description_info = "The Bishop can move any number of vacant squares in any diagonal direction." + icon_state = "b-bishop" +/obj/item/toy/chess/queen_white + name = "blue queen" + desc = "A large queen piece for playing chess. It's made of a blue-colored glass." + description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." + icon_state = "w-queen" +/obj/item/toy/chess/queen_black + name = "purple queen" + desc = "A large queen piece for playing chess. It's made of a purple-colored glass." + description_info = "The Queen can move any number of vacant squares diagonally, horizontally, or vertically." + icon_state = "b-queen" +/obj/item/toy/chess/king_white + name = "blue king" + desc = "A large king piece for playing chess. It's made of a blue-colored glass." + description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." + icon_state = "w-king" +/obj/item/toy/chess/king_black + name = "purple king" + desc = "A large king piece for playing chess. It's made of a purple-colored glass." + description_info = "The King can move exactly one square horizontally, vertically, or diagonally. If your opponent captures this piece, you lose." icon_state = "b-king" \ No newline at end of file diff --git a/code/game/objects/items/toys_vr.dm b/code/game/objects/items/toys/toys_vr.dm similarity index 100% rename from code/game/objects/items/toys_vr.dm rename to code/game/objects/items/toys/toys_vr.dm diff --git a/code/game/objects/items/weapons/gift_wrappaper.dm b/code/game/objects/items/weapons/gift_wrappaper.dm index 88d9b0ff5d..7739514b4c 100644 --- a/code/game/objects/items/weapons/gift_wrappaper.dm +++ b/code/game/objects/items/weapons/gift_wrappaper.dm @@ -87,17 +87,17 @@ /obj/item/toy/crossbow, /obj/item/weapon/gun/projectile/revolver/capgun, /obj/item/toy/katana, - /obj/item/toy/prize/deathripley, - /obj/item/toy/prize/durand, - /obj/item/toy/prize/fireripley, - /obj/item/toy/prize/gygax, - /obj/item/toy/prize/honk, - /obj/item/toy/prize/marauder, - /obj/item/toy/prize/mauler, - /obj/item/toy/prize/odysseus, - /obj/item/toy/prize/phazon, - /obj/item/toy/prize/ripley, - /obj/item/toy/prize/seraph, + /obj/item/toy/mech/deathripley, + /obj/item/toy/mech/durand, + /obj/item/toy/mech/fireripley, + /obj/item/toy/mech/gygax, + /obj/item/toy/mech/honk, + /obj/item/toy/mech/marauder, + /obj/item/toy/mech/mauler, + /obj/item/toy/mech/odysseus, + /obj/item/toy/mech/phazon, + /obj/item/toy/mech/ripley, + /obj/item/toy/mech/seraph, /obj/item/toy/spinningtoy, /obj/item/toy/sword, /obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiadeus, diff --git a/code/game/objects/random/misc.dm b/code/game/objects/random/misc.dm index 73796038e1..7435fd6597 100644 --- a/code/game/objects/random/misc.dm +++ b/code/game/objects/random/misc.dm @@ -520,17 +520,17 @@ /obj/item/weapon/reagent_containers/spray/waterflower, /obj/item/toy/eight_ball, /obj/item/toy/eight_ball/conch, - /obj/item/toy/prize/ripley, - /obj/item/toy/prize/fireripley, - /obj/item/toy/prize/deathripley, - /obj/item/toy/prize/gygax, - /obj/item/toy/prize/durand, - /obj/item/toy/prize/honk, - /obj/item/toy/prize/marauder, - /obj/item/toy/prize/seraph, - /obj/item/toy/prize/mauler, - /obj/item/toy/prize/odysseus, - /obj/item/toy/prize/phazon) + /obj/item/toy/mech/ripley, + /obj/item/toy/mech/fireripley, + /obj/item/toy/mech/deathripley, + /obj/item/toy/mech/gygax, + /obj/item/toy/mech/durand, + /obj/item/toy/mech/honk, + /obj/item/toy/mech/marauder, + /obj/item/toy/mech/seraph, + /obj/item/toy/mech/mauler, + /obj/item/toy/mech/odysseus, + /obj/item/toy/mech/phazon) /obj/random/mouseremains name = "random mouseremains" diff --git a/code/modules/mining/abandonedcrates.dm b/code/modules/mining/abandonedcrates.dm index 7c866dd570..e05904896a 100644 --- a/code/modules/mining/abandonedcrates.dm +++ b/code/modules/mining/abandonedcrates.dm @@ -58,7 +58,7 @@ if(53 to 54) new/obj/item/latexballon(src) if(55 to 56) - var/newitem = pick(typesof(/obj/item/toy/prize) - /obj/item/toy/prize) + var/newitem = pick(typesof(/obj/item/toy/mech) - /obj/item/toy/mech) new newitem(src) if(57 to 58) new/obj/item/toy/syndicateballoon(src) diff --git a/icons/obj/toy.dmi b/icons/obj/toy.dmi index 15f9143b6963247fd49e0d98aa4ec5dfa718d3bb..21b649006c0f1983ecbc2b7789ddf96ce839e87b 100644 GIT binary patch delta 918 zcmV;H18MyIj|BaX1dvF7XtD{gmpOEiqR63r2U?;n*0QKjavbOB_b>%An`EHB$SJ@l zN~9%@?9bi5-@ZTm?CyU&?4Q_*XzGsL?O$K^yH$J*-Ld=oX1@z8W2mQpN~Ox(vHLVA z&7Q1&+V8wr>5kp)em5A+T)Ja-{R$oBaY?W2`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M}@NT@oGc?U~umv4t1w2>(~)eJw{0<%{6dEh@BzXLK@oA@S44W z&I3+*lwdLwu$kO7y){N^YN5*nt7*?!%bizEvFHO{klMr-X#o1yfp7;w=Z!1l^uO~Na{v4_e=_hlZS%+1Zf3`WW(=k5bW|lR@ZbP<(=0CAi9RddW5T>- zyN|##Hmaxv9t`{VOf12(*JQ$aY=-5Kr|0XfP@H^Z^#H82~B2 z8{Wiw4L95q*`454yFNfZyL*7Bekp*7{7nAmi9E;v7>;AljofO(xu2gktmpOo{Hy_h JU%LU|6#!;eSx*1} literal 0 HcmV?d00001 diff --git a/sound/mecha/mech_shield_deflect.ogg b/sound/mecha/mech_shield_deflect.ogg new file mode 100644 index 0000000000000000000000000000000000000000..5c1970d872408b831b705f2785f4a0fc9dcfd536 GIT binary patch literal 11708 zcmaiZ1z1%<^Y@`sIwhpxUO+;S5Tq3@9hU~_?h-^0Dd`63zI1mBBHbV$tstF}BB0*^ z-}>I~d;b4@_U^N1XLn|2<~Mt0&sDaxR0oiOe-vtwza6s&V~>$&kvtq-OsrjRhmfSp z{xRhx(p{$sN%?l=zsl{(Tgn4c#YTcBfBvsBfby3SJ4n~IcCvb?>|#l0XKkW+$DU4( zj+dK+u_pfdc>m02nbr z@Zv4xAc%w?kT9oaN&D&2GpuoGGAFm|5U6dCkyu(&EE{VfgHwjbVnbtI|Xh%1A?Knf{Lk z>rM|ka4(YRlx75yn78ahAO*=TAgjM>(E)y-n!xi|61i%Up=#=p2`1%Z4pn0QiAOT( z8j5hRxEpABn9q8+&wBXiBnRm=`RFtS>3s<@xCk<)2>wU?>9cZiTklk-LjtlHg_71F zxeWJnSA}v>0)xwt0kd0^&|$?fK;rV`3M_0YtkW8-N*nBlYB+{!aPOvoK1IFV4Ulb} zTJZl=3!NnM|GkP^^+N%1(3XA9)P2rOGHOhHE*uzl7VZZ?pNgw-^tkXncjfDI6#?sW zH|c={g^^PQ{C_&(*6jcw&O_bfOg#WvLydFFg#+ zNj83%k7A7P%;E>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MY?kmgeSM#^$=mr(BiJXYT8 z81_473p_g zB1uWjgzZ>M^vD;T`+;YWg{8j7dB|zZPkvX@Df7LL-I>@qFOr#R_}+GWqUR%hpRfzDgxvrtIub0uzv?BZ6;-ut*U{LPDBA>8%&Nz0=&8!UY0Pzqb-X3Ek jBj?yN5)l=(`gbTSO#=7iPsqFk#xpdOmz4m#|0@3ni1Hr_ literal 0 HcmV?d00001 diff --git a/sound/mecha/mech_shield_drop.ogg b/sound/mecha/mech_shield_drop.ogg new file mode 100644 index 0000000000000000000000000000000000000000..21c6cb5edb9c1646e03eba1e18bca3e2e22b04bc GIT binary patch literal 17325 zcmajH1z1Hv+G)PHFcZYO0f;31&5XGmF|Gu6^K2b1CynN94AOAnsAoO2GPs}we?9E>)I+~GMTNtYUVNWVe%ErRV z#=^$JPD-n2V{2jWXyRmI>rD5=8v^@xD4p0VbqIg}wy?^P_WDi4r~v>v02olxp?)%z zrYnfgq4h|PmwKx8vVh$t03ht#s&Zwz>gL&DsM;Ha*WpumnO!NL-A(_eK>VWz zDL5A~I6Px?F@z`fp>&1Gjv%YQYLNndpqhYWES7W))^H8s=p?1$4@MuNIR>N4l*qnRA6-Rz^;9IQPbta}~&4maeV`AZQI`rYT3xw@!j{PV#f0DV{9yzhC};@B%7AmSLJ` z>4(4`^X`vX{6Mz2IS8+i|4ITogyw9KrcR_@jPjzUZfBQZrA>VaQ%$33DM?QI<3Z~& zyiL%TbVDh<*(npLPGi!@sRe&)9vErx6(!%mHoV<*)IPj-U_Xm*sqiHW8sJ#XiPW9q z7A&w97N17b(4zX6-#@S@(Muou!n*;E2wP0EYC+TmYd6N}C!>f@ZT}NKBB0;i&ExiE z1d#ef!5Lza6_R}-c8*5A`f+&t`*vWLNp@?Vkj6e8rjQJYe6F#n01Y}%;rJW&+Vag>^I)ET5NH-z(^|YC{mQ} zLLKRC9t3dNg8`HPz>jr+^((I9nDk(__!ui3QFz z2lL}`Wy3S_F^s}0z(D{!`1dSlA_f~Gf&~DE$j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96KgS|A5Zi0Jf+h<5_OKEw(WVfj})2fW>{Gg#nB+u!}Z zP~l7XwzUE9XM%7byDrXLa^|9I4#c7ol#fz%!|zEQ6`b@RozRp#^j?1HBqL436xiFOC3K^Tj-F4UF*zYI0WKak zHU!HC@U$q;AS;U`_(X>q=4?jusJqZP}SFxL{*qRP#k?j(MyscDb% zam0+l53?a>%HfZS?T(F96nX=6nB4IsjoUvn;<2UT5g-S`-aT z`E9VG>N6U2MnUZfxcNvhpfa-#_`u`6OPd0x;y=;qA%F#Bn%u4SUpEKwA~(U<`@x$( zt%5+;bL=x_WuhsgwP$HEr4=L?szIsZg_w?_vb$Ox5jsP0)!cf)ybP)E&e9a_PZM!! zben~>hyH-*E(Pw0zy+WTNR3sNhjK(v)sROuEjf{zMX)}3y;YHK7Y$RIv(DyR3}Aqw z+nd}Dpql-Api#;H{09m7w50G_kbJ^)HiyJ*4`toS9|vR9TPQb}Te4Sv@pM!0B2b9n zu(~;Jc>o?4L>Y)sz%O5U*z?uQD=cIMm@`T4>yh262XpoGvJZ26Sy^$Y#nAua50B6n_+&ufP1g+@5-OVv zthdNw=OG4V-NM=@)DDm-Gf66d3eMsW&+Mov1vDO{?Nl;mhfb^P(bxNp&z!+tceH00{DOPAVtK)eWH_+n$PC~*`HoTWQb)td7^>t_-Fh&>mRxZ z&aaSrR_tac5$-=~F@tKs#~3`(y0(-MyM%~=uG7tkmM<_JCU@7gB>$$0m>J0eO;Uge z!u*qu{~D0D5)>x{^frf!7bp^ rB~S?qo^1Wsd`14W0XYBZM*6o!^8adi@wY`Eoa^5%|7P;{5kUPv=_6=o literal 0 HcmV?d00001 diff --git a/sound/mecha/mech_shield_raise.ogg b/sound/mecha/mech_shield_raise.ogg new file mode 100644 index 0000000000000000000000000000000000000000..65ad70ad14d61464448b9fab2e278189d360c950 GIT binary patch literal 25055 zcmagG1ymi+vM)RvcZc8>T!Oma>d;ow0zzoQ7g*&o#Qv%k6^l`3v z0=7#0rId(Ks#^lceV26RP9=>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LrX+7ggwr$ef{jE zNU&AT0~N;L3o}1UpWDOtCe@F#dY%CcXuOv^7*}c4baf7TjDS_#{AVsw^Z!kjq@D)u+-m$T+gX-&D4R1-sAX=9L)@~wBOPnDak_yy+*-b`T((Bu`er!suCS9d?9q3wH2gn4HxEd41jBSB6 zzsw*S4cO}=c6;947??2%f@v(tLcBCBUn@Q+@u?|&P%j?)dY07Z1b b4m`ZHkqC?^0QQtXD1%MizTk_;BEbIxNX@vh literal 0 HcmV?d00001 diff --git a/sound/weapons/parry.ogg b/sound/weapons/parry.ogg new file mode 100644 index 0000000000000000000000000000000000000000..ff60f3c8b8fea911d4ce05415c693cbda9fd2c66 GIT binary patch literal 9924 zcmaia2UwHM^6w_0*U*cA0YM1OP$kxYC?@pKo6~|NniKefHgXcXnsyH?y-FOuf7;022KDd_J+&P)=PT zBBT%zCqi6(LK$5M{hGf&If>Y8v>;3wBmey{MlvV|&1#v^dpG{Crw_HoND0zyeS*AI zO+&me{ywhOo9r<}j5a;Qfctu9%Xm}qJopKCosyQ9c-tl9nTVPpZnP1=lR*sF^ju}9`5ROVG3X&O>YqIn? zQCKBOg!D?67ld#qR?y-&)O#`UM(Q6+E}QK6SW%q5=aWL?pdP16<1ooc?YXsE-F+6P zGob_c*@C|-_Dwl3a4mW)V(w@?HU|4-Y*|hSWVIz022h}wz~GV~@uuLDn-WilWKF** zn+s?SX&kn&G`50IxRXtU$9P2ecto^aPNG9gv|UT0!$hLfN}`MCxxdS5^yCVoY>JLS z0NM_G_IvDg8S(4y@YhiZ=W39^ouLv8d!`IFvzS=s>09TM-|Su89Pp$;`AGxU<|ojm zOpMh4nonNY|5H5evOWIyLh$ZY1O%wdo?wZdVA;cD*`5$()=drf0%%hLS-C4j(;!r{ zCv+by24VVrRHLWgjd=fM1cuoGAgD=n1xxfnZID$)LbPl`_m77fk3&^3H1a<`XE*Tz z1(Ck$ne9tq)5vhyR0{>N6)j>r#I-dO{2;mL114`UZ}};nCvTcoDVRUfo?@9V-&&c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ctZIb^=brMI6vIaZ&!KaZi<{4Y(_j zT-sx-dGkJZeUe)g6RxiY_1c~Qnt(<<*;A(p?+ge3Xy`|fjl=f6E1~=~%~U}RX3d$7 zm3&@{qRE?qRf#7*2)~0rD&O~7(^))x`lR-P-RF?G{Yrb|XQz>$^)J|QerQ$~UO|Ba zNA`*HceaUqUc^z4E9|mKI^IBRnW*MqDD+ipG zt$sG}-17u=&mX1O8}HMr{jmIXx=>}xxgjr-iK4 Date: Mon, 10 Aug 2020 22:45:09 -0400 Subject: [PATCH 011/149] Less wind per wind Correct Edition Comments out slowdown from wind as requested by mining players. Shouldn't(?) affect flavor text of existing wind --- code/modules/mob/living/carbon/human/human_movement.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index cd2d368d6d..0d6766b7a3 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -162,6 +162,9 @@ . += turf_move_cost // Wind makes it easier or harder to move, depending on if you're with or against the wind. + // I don't like that so I'm commenting it out :) + // VOREstation Edit Start +/* if(T.outdoors && (T.z <= SSplanets.z_to_planet.len)) var/datum/planet/P = SSplanets.z_to_planet[z] if(P) @@ -174,6 +177,8 @@ else if(direct & reverse_dir[WH.wind_dir]) . += WH.wind_speed +*/ +// VOREstation Edit End. #undef HUMAN_LOWEST_SLOWDOWN /mob/living/carbon/human/Process_Spacemove(var/check_drift = 0) From 5acb88413c282b7985830e5a87bc2667efa58f12 Mon Sep 17 00:00:00 2001 From: Rykka Date: Wed, 12 Aug 2020 20:08:05 -0400 Subject: [PATCH 012/149] Rename toy/mech to toy/mecha to match mecha code. --- code/game/objects/items/toys/mech_toys.dm | 74 +++++++++---------- .../objects/items/weapons/gift_wrappaper.dm | 22 +++--- code/game/objects/random/misc.dm | 22 +++--- code/modules/mining/abandonedcrates.dm | 2 +- 4 files changed, 60 insertions(+), 60 deletions(-) diff --git a/code/game/objects/items/toys/mech_toys.dm b/code/game/objects/items/toys/mech_toys.dm index 826c5d374d..cf1b493489 100644 --- a/code/game/objects/items/toys/mech_toys.dm +++ b/code/game/objects/items/toys/mech_toys.dm @@ -12,7 +12,7 @@ // Max length of a mech battle #define MAX_BATTLE_LENGTH 50 -/obj/item/toy/mech +/obj/item/toy/mecha icon = 'icons/obj/toy.dmi' icon_state = "ripleytoy" drop_sound = 'sound/mecha/mechstep.ogg' @@ -35,7 +35,7 @@ var/wins = 0 // This mech's win count in combat var/losses = 0 // ...And their loss count in combat -/obj/item/toy/mech/Initialize() +/obj/item/toy/mecha/Initialize() . = ..() desc = "Mini-Mecha action figure! Collect them all! Attack your friends or another mech with one to initiate epic mech combat! [desc]." combat_health = max_combat_health @@ -51,7 +51,7 @@ else special_attack_type_message = "a mystery move, even I don't know." -/obj/item/toy/mech/proc/in_range(source, user) // Modify our in_range proc specifically for mech battles! +/obj/item/toy/mecha/proc/in_range(source, user) // Modify our in_range proc specifically for mech battles! if(get_dist(source, user) <= 2) return 1 @@ -72,7 +72,7 @@ * * opponent - (optional) the defender controller in the battle, for PvP */ -/obj/item/toy/mech/proc/combat_sleep(var/delay, obj/item/toy/mech/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) +/obj/item/toy/mecha/proc/combat_sleep(var/delay, obj/item/toy/mecha/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) if(!attacker_controller) // If the attacker for whatever reason is null, don't continue. return FALSE @@ -115,7 +115,7 @@ return TRUE //all credit to skasi for toy mech fun ideas -/obj/item/toy/mech/attack_self(mob/user) +/obj/item/toy/mecha/attack_self(mob/user) if(timer < world.time) to_chat(user, "You play with [src].") timer = world.time + cooldown @@ -123,7 +123,7 @@ else . = ..() -/obj/item/toy/mech/attack_hand(mob/user) +/obj/item/toy/mecha/attack_hand(mob/user) . = ..() if(.) return @@ -133,9 +133,9 @@ /** * If you attack a mech with a mech, initiate combat between them */ -/obj/item/toy/mech/attackby(obj/item/user_toy, mob/living/user) - if(istype(user_toy, /obj/item/toy/mech)) - var/obj/item/toy/mech/M = user_toy +/obj/item/toy/mecha/attackby(obj/item/user_toy, mob/living/user) + if(istype(user_toy, /obj/item/toy/mecha)) + var/obj/item/toy/mecha/M = user_toy if(check_battle_start(user, M)) mecha_brawl(M, user) ..() @@ -143,7 +143,7 @@ /** * Attack is called from the user's toy, aimed at target(another human), checking for target's toy. */ -/obj/item/toy/mech/attack(mob/living/carbon/human/target, mob/living/carbon/human/user) +/obj/item/toy/mecha/attack(mob/living/carbon/human/target, mob/living/carbon/human/user) if(target == user) to_chat(user, "Target another toy mech if you want to start a battle with yourself.") return @@ -155,8 +155,8 @@ return for(var/obj/item/I in target.get_all_held_items()) - if(istype(I, /obj/item/toy/mech)) //if you attack someone with a mech who's also holding a mech, offer to battle them - var/obj/item/toy/mech/M = I + if(istype(I, /obj/item/toy/mecha)) //if you attack someone with a mech who's also holding a mech, offer to battle them + var/obj/item/toy/mecha/M = I if(!M.check_battle_start(target, null, user)) //check if the attacker mech is ready break @@ -179,7 +179,7 @@ /** * Overrides attack_tk - Sorry, you have to be face to face to initiate a battle, it's good sportsmanship */ -/obj/item/toy/mech/attack_tk(mob/user) +/obj/item/toy/mecha/attack_tk(mob/user) if(timer < world.time) to_chat(user, "You telekinetically play with [src].") timer = world.time + cooldown @@ -192,14 +192,14 @@ * Arguments: * * user - the user wanting to do battle */ -/obj/item/toy/mech/proc/withdraw_offer(mob/living/carbon/user) +/obj/item/toy/mecha/proc/withdraw_offer(mob/living/carbon/user) if(wants_to_battle) wants_to_battle = FALSE to_chat(user, "You get the feeling they don't want to battle.") /** * Starts a battle, toy mech vs player. Player... doesn't win. Commented out for now as suicide_act is not physically doable. */ -/obj/item/toy/mech/suicide_act(mob/living/carbon/user) +/obj/item/toy/mecha/suicide_act(mob/living/carbon/user) if(in_combat) to_chat(user, "[src] is in battle, let it finish first.") return @@ -239,7 +239,7 @@ wins++ return (BRUTELOSS) -/obj/item/toy/mech/examine() +/obj/item/toy/mecha/examine() . = ..() . += "This toy's special attack is [special_attack_cry], [special_attack_type_message] " if(in_combat) @@ -264,7 +264,7 @@ * * attacker_controller - the user, the one who is holding the toys / controlling the fight * * opponent - optional arg used in Mech PvP battles: the other person who is taking part in the fight (controls src) */ -/obj/item/toy/mech/proc/mecha_brawl(obj/item/toy/mech/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) +/obj/item/toy/mecha/proc/mecha_brawl(obj/item/toy/mecha/attacker, mob/living/carbon/attacker_controller, mob/living/carbon/opponent) //A GOOD DAY FOR A SWELL BATTLE! attacker_controller.visible_message(" [attacker_controller.name] collides [attacker] with [src]! Looks like they're preparing for a brawl! ", \ " You collide [attacker] into [src], sparking a fierce battle! ", \ @@ -433,7 +433,7 @@ * * attacker: optional arg for checking two mechs at once * * target: optional arg used in Mech PvP battles (if used, attacker is target's toy) */ -/obj/item/toy/mech/proc/check_battle_start(mob/living/carbon/user, obj/item/toy/mech/attacker, mob/living/carbon/target) +/obj/item/toy/mecha/proc/check_battle_start(mob/living/carbon/user, obj/item/toy/mecha/attacker, mob/living/carbon/target) var/datum/gender/T if(target) T = gender_datums[target.get_visible_gender()] // Doing this because Polaris Code has shitty gender datums and it's clunkier than FUCK. @@ -467,7 +467,7 @@ * Arguments: * * victim - the toy being hit by the special move */ -/obj/item/toy/mech/proc/special_attack_move(obj/item/toy/mech/victim) +/obj/item/toy/mecha/proc/special_attack_move(obj/item/toy/mecha/victim) visible_message(special_attack_cry + "!!") special_attack_charged = FALSE @@ -496,7 +496,7 @@ * Arguments: * * victim - the toy being hit by the super special move (doesn't necessarily need to be used) */ -/obj/item/toy/mech/proc/super_special_attack(obj/item/toy/mech/victim) +/obj/item/toy/mecha/proc/super_special_attack(obj/item/toy/mecha/victim) visible_message(" [src] does a cool flip.") /obj/random/mech_toy @@ -506,16 +506,16 @@ icon_state = "ripleytoy" /obj/random/mech_toy/item_to_spawn() - return pick(typesof(/obj/item/toy/mech)) + return pick(typesof(/obj/item/toy/mecha)) -/obj/item/toy/mech/ripley +/obj/item/toy/mecha/ripley name = "toy ripley" desc = "Mini-Mecha action figure! Collect them all! 1/11." max_combat_health = 4 // 200 integrity special_attack_type = SPECIAL_ATTACK_DAMAGE special_attack_cry = "GIGA DRILL BREAK" -/obj/item/toy/mech/fireripley +/obj/item/toy/mecha/fireripley name = "toy firefighting ripley" desc = "Mini-Mecha action figure! Collect them all! 2/11." icon_state = "fireripleytoy" @@ -523,7 +523,7 @@ special_attack_type = SPECIAL_ATTACK_UTILITY special_attack_cry = "FIRE SHIELD" -/obj/item/toy/mech/deathripley +/obj/item/toy/mecha/deathripley name = "toy deathsquad ripley" desc = "Mini-Mecha action figure! Collect them all! 3/11." icon_state = "deathripleytoy" @@ -532,7 +532,7 @@ special_attack_type_message = "instantly destroys the opposing mech if its health is less than this mech's health." special_attack_cry = "KILLER CLAMP" -/obj/item/toy/mech/deathripley/super_special_attack(obj/item/toy/mech/victim) +/obj/item/toy/mecha/deathripley/super_special_attack(obj/item/toy/mecha/victim) playsound(src, 'sound/weapons/sonic_jackhammer.ogg', 20, TRUE) if(victim.combat_health < combat_health) // Instantly kills the other mech if it's health is below our's. visible_message("EXECUTE!!") @@ -540,7 +540,7 @@ else // Otherwise, just deal one damage. victim.combat_health-- -/obj/item/toy/mech/gygax +/obj/item/toy/mecha/gygax name = "toy gygax" desc = "Mini-Mecha action figure! Collect them all! 4/11." icon_state = "gygaxtoy" @@ -548,7 +548,7 @@ special_attack_type = SPECIAL_ATTACK_UTILITY special_attack_cry = "SUPER SERVOS" -/obj/item/toy/mech/durand +/obj/item/toy/mecha/durand name = "toy durand" desc = "Mini-Mecha action figure! Collect them all! 5/11." icon_state = "durandtoy" @@ -556,7 +556,7 @@ special_attack_type = SPECIAL_ATTACK_HEAL special_attack_cry = "SHIELD OF PROTECTION" -/obj/item/toy/mech/honk +/obj/item/toy/mecha/honk name = "toy H.O.N.K." desc = "Mini-Mecha action figure! Collect them all! 6/11." icon_state = "honktoy" @@ -565,12 +565,12 @@ special_attack_type_message = "puts the opposing mech's special move on cooldown and heals this mech." special_attack_cry = "MEGA HORN" -/obj/item/toy/mech/honk/super_special_attack(obj/item/toy/mech/victim) +/obj/item/toy/mecha/honk/super_special_attack(obj/item/toy/mecha/victim) playsound(src, 'sound/machines/honkbot_evil_laugh.ogg', 20, TRUE) victim.special_attack_cooldown += 3 // Adds cooldown to the other mech and gives a minor self heal combat_health++ -/obj/item/toy/mech/marauder +/obj/item/toy/mecha/marauder name = "toy marauder" desc = "Mini-Mecha action figure! Collect them all! 7/11." icon_state = "maraudertoy" @@ -578,7 +578,7 @@ special_attack_type = SPECIAL_ATTACK_DAMAGE special_attack_cry = "BEAM BLAST" -/obj/item/toy/mech/seraph +/obj/item/toy/mecha/seraph name = "toy seraph" desc = "Mini-Mecha action figure! Collect them all! 8/11." icon_state = "seraphtoy" @@ -586,7 +586,7 @@ special_attack_type = SPECIAL_ATTACK_DAMAGE special_attack_cry = "ROCKET BARRAGE" -/obj/item/toy/mech/mauler +/obj/item/toy/mecha/mauler name = "toy mauler" desc = "Mini-Mecha action figure! Collect them all! 9/11." icon_state = "maulertoy" @@ -594,7 +594,7 @@ special_attack_type = SPECIAL_ATTACK_DAMAGE special_attack_cry = "BULLET STORM" -/obj/item/toy/mech/odysseus +/obj/item/toy/mecha/odysseus name = "toy odysseus" desc = "Mini-Mecha action figure! Collect them all! 10/11." icon_state = "odysseustoy" @@ -602,7 +602,7 @@ special_attack_type = SPECIAL_ATTACK_HEAL special_attack_cry = "MECHA BEAM" -/obj/item/toy/mech/phazon +/obj/item/toy/mecha/phazon name = "toy phazon" desc = "Mini-Mecha action figure! Collect them all! 11/11." icon_state = "phazontoy" @@ -611,7 +611,7 @@ special_attack_cry = "NO-CLIP" /* // TG-Station Added toys, commenting these out until I port 'em later. -/obj/item/toy/mech/reticence +/obj/item/toy/mecha/reticence name = "toy Reticence" desc = "12/13" icon_state = "reticencetoy" @@ -621,12 +621,12 @@ special_attack_type_message = "has a lower cooldown than normal special moves, increases the opponent's cooldown, and deals damage." special_attack_cry = "*wave" -/obj/item/toy/mech/reticence/super_special_attack(obj/item/toy/mech/victim) +/obj/item/toy/mecha/reticence/super_special_attack(obj/item/toy/mecha/victim) special_attack_cooldown-- //Has a lower cooldown... victim.special_attack_cooldown++ //and increases the opponent's cooldown by 1... victim.combat_health-- //and some free damage. -/obj/item/toy/mech/clarke +/obj/item/toy/mecha/clarke name = "toy Clarke" desc = "13/13" icon_state = "clarketoy" diff --git a/code/game/objects/items/weapons/gift_wrappaper.dm b/code/game/objects/items/weapons/gift_wrappaper.dm index 7739514b4c..22abe36ab4 100644 --- a/code/game/objects/items/weapons/gift_wrappaper.dm +++ b/code/game/objects/items/weapons/gift_wrappaper.dm @@ -87,17 +87,17 @@ /obj/item/toy/crossbow, /obj/item/weapon/gun/projectile/revolver/capgun, /obj/item/toy/katana, - /obj/item/toy/mech/deathripley, - /obj/item/toy/mech/durand, - /obj/item/toy/mech/fireripley, - /obj/item/toy/mech/gygax, - /obj/item/toy/mech/honk, - /obj/item/toy/mech/marauder, - /obj/item/toy/mech/mauler, - /obj/item/toy/mech/odysseus, - /obj/item/toy/mech/phazon, - /obj/item/toy/mech/ripley, - /obj/item/toy/mech/seraph, + /obj/item/toy/mecha/deathripley, + /obj/item/toy/mecha/durand, + /obj/item/toy/mecha/fireripley, + /obj/item/toy/mecha/gygax, + /obj/item/toy/mecha/honk, + /obj/item/toy/mecha/marauder, + /obj/item/toy/mecha/mauler, + /obj/item/toy/mecha/odysseus, + /obj/item/toy/mecha/phazon, + /obj/item/toy/mecha/ripley, + /obj/item/toy/mecha/seraph, /obj/item/toy/spinningtoy, /obj/item/toy/sword, /obj/item/weapon/reagent_containers/food/snacks/grown/ambrosiadeus, diff --git a/code/game/objects/random/misc.dm b/code/game/objects/random/misc.dm index 7435fd6597..df8ffc645c 100644 --- a/code/game/objects/random/misc.dm +++ b/code/game/objects/random/misc.dm @@ -520,17 +520,17 @@ /obj/item/weapon/reagent_containers/spray/waterflower, /obj/item/toy/eight_ball, /obj/item/toy/eight_ball/conch, - /obj/item/toy/mech/ripley, - /obj/item/toy/mech/fireripley, - /obj/item/toy/mech/deathripley, - /obj/item/toy/mech/gygax, - /obj/item/toy/mech/durand, - /obj/item/toy/mech/honk, - /obj/item/toy/mech/marauder, - /obj/item/toy/mech/seraph, - /obj/item/toy/mech/mauler, - /obj/item/toy/mech/odysseus, - /obj/item/toy/mech/phazon) + /obj/item/toy/mecha/ripley, + /obj/item/toy/mecha/fireripley, + /obj/item/toy/mecha/deathripley, + /obj/item/toy/mecha/gygax, + /obj/item/toy/mecha/durand, + /obj/item/toy/mecha/honk, + /obj/item/toy/mecha/marauder, + /obj/item/toy/mecha/seraph, + /obj/item/toy/mecha/mauler, + /obj/item/toy/mecha/odysseus, + /obj/item/toy/mecha/phazon) /obj/random/mouseremains name = "random mouseremains" diff --git a/code/modules/mining/abandonedcrates.dm b/code/modules/mining/abandonedcrates.dm index e05904896a..199b1ed0d0 100644 --- a/code/modules/mining/abandonedcrates.dm +++ b/code/modules/mining/abandonedcrates.dm @@ -58,7 +58,7 @@ if(53 to 54) new/obj/item/latexballon(src) if(55 to 56) - var/newitem = pick(typesof(/obj/item/toy/mech) - /obj/item/toy/mech) + var/newitem = pick(typesof(/obj/item/toy/mecha) - /obj/item/toy/mecha) new newitem(src) if(57 to 58) new/obj/item/toy/syndicateballoon(src) From ad6870c78d2956f2efecfbfc852c6ac621c313c1 Mon Sep 17 00:00:00 2001 From: Rykka Date: Sun, 16 Aug 2020 09:48:46 -0400 Subject: [PATCH 013/149] Persistence Patch - Fixes Paper and font tags stacking across rounds, as shown in: ![](https://cdn.discordapp.com/attachments/187013248309002240/741937939382141000/164fdd3a37fb22f18dfa9b5c431ffc04.png) - Fixes Graffiti being persistent for over 50 rounds (10+ days) - Sets Trash to be persistent for 4 rounds instead of 5 - Fixes Persistence being always-on because of if("persistence_enabled") config.persistence_enabled = 1. As explained: > it's on by default, which means config.txt will be read and if it's not there it stays at 1. If it is there,it gets set to 1. There is no way to disable it - Adds config options to enable/disable **Persistence for Maploaded objects**, as well as a verb to toggle such. - Adds Persistence to config. Currently IGNORE_MAPLOAD for Persistance is **Disabled.** Maploaded objects/dirt/etc will be saved by persistence, preserving current behavior. --- code/controllers/configuration.dm | 10 ++++++--- code/controllers/subsystems/persistence.dm | 2 +- code/game/objects/effects/decals/cleanable.dm | 5 +++-- code/game/objects/items/trash.dm | 3 ++- code/game/world.dm | 6 +++-- code/modules/admin/admin.dm | 22 +++++++++++++++---- code/modules/paperwork/paper.dm | 9 ++++++++ code/modules/persistence/datum/datum_filth.dm | 2 +- .../persistence/datum/datum_graffiti.dm | 2 +- code/modules/persistence/datum/datum_paper.dm | 6 +++-- .../persistence/datum/persistence_datum.dm | 4 ++-- code/modules/persistence/graffiti.dm | 3 ++- config/example/config.txt | 6 +++++ 13 files changed, 60 insertions(+), 20 deletions(-) diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index ed77065e19..7138482301 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -236,7 +236,8 @@ var/list/gamemode_cache = list() var/static/dooc_allowed = 1 var/static/dsay_allowed = 1 - var/persistence_enabled = 1 + var/persistence_disabled = FALSE + var/persistence_ignore_mapload = FALSE var/allow_byond_links = 0 var/allow_discord_links = 0 @@ -579,8 +580,11 @@ var/list/gamemode_cache = list() if("protect_roles_from_antagonist") config.protect_roles_from_antagonist = 1 - if ("persistence_enabled") - config.persistence_enabled = 1 + if("persistence_disabled") + config.persistence_disabled = TRUE // Previously this forcibly set persistence enabled in the saves. + + if("persistence_ignore_mapload") + config.persistence_ignore_mapload = TRUE if ("probability") var/prob_pos = findtext(value, " ") diff --git a/code/controllers/subsystems/persistence.dm b/code/controllers/subsystems/persistence.dm index 49f3d601fe..c2724c2d60 100644 --- a/code/controllers/subsystems/persistence.dm +++ b/code/controllers/subsystems/persistence.dm @@ -19,7 +19,7 @@ SUBSYSTEM_DEF(persistence) /datum/controller/subsystem/persistence/proc/track_value(var/atom/value, var/track_type) - if(config.persistence_enabled == 0) //if the config is not set to persistent nothing will save or load. + if(config.persistence_disabled) //if the config is set to persistence disabled, nothing will save or load. return var/turf/T = get_turf(value) diff --git a/code/game/objects/effects/decals/cleanable.dm b/code/game/objects/effects/decals/cleanable.dm index 2ef6582553..0df27515c7 100644 --- a/code/game/objects/effects/decals/cleanable.dm +++ b/code/game/objects/effects/decals/cleanable.dm @@ -12,12 +12,13 @@ generic_filth = TRUE means when the decal is saved, it will be switched out for var/age = 0 var/list/random_icon_states = list() -/obj/effect/decal/cleanable/Initialize(var/ml, var/_age) +/obj/effect/decal/cleanable/Initialize(var/mapload, var/_age) if(!isnull(_age)) age = _age if(random_icon_states && length(src.random_icon_states) > 0) src.icon_state = pick(src.random_icon_states) - SSpersistence.track_value(src, /datum/persistent/filth) + if(!mapload || !config.persistence_ignore_mapload) + SSpersistence.track_value(src, /datum/persistent/filth) . = ..() /obj/effect/decal/cleanable/Destroy() diff --git a/code/game/objects/items/trash.dm b/code/game/objects/items/trash.dm index aa4b02b284..49e7c7f8b2 100644 --- a/code/game/objects/items/trash.dm +++ b/code/game/objects/items/trash.dm @@ -15,7 +15,8 @@ age = _age /obj/item/trash/Initialize() - SSpersistence.track_value(src, /datum/persistent/filth/trash) + if(!mapload || !config.persistence_ignore_mapload) + SSpersistence.track_value(src, /datum/persistent/filth/trash) . = ..() /obj/item/trash/Destroy() diff --git a/code/game/world.dm b/code/game/world.dm index 628a12f2e5..931e0fe516 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -108,7 +108,7 @@ var/world_topic_spam_protect_time = world.timeofday s["version"] = game_version s["mode"] = master_mode s["respawn"] = config.abandon_allowed - s["persistance"] = config.persistence_enabled + s["persistance"] = config.persistence_disabled s["enter"] = config.enter_allowed s["vote"] = config.allow_vote_mode s["ai"] = config.allow_ai @@ -529,7 +529,9 @@ var/world_topic_spam_protect_time = world.timeofday features += config.abandon_allowed ? "respawn" : "no respawn" - features += config.persistence_enabled ? "persistence enabled" : "persistence disabled" + features += config.persistence_disabled ? "persistence disabled" : "persistence enabled" + + features += config.persistence_ignore_mapload ? "persistence mapload disabled" : "persistence mapload enabled" if (config && config.allow_vote_mode) features += "vote" diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm index b8abe8619e..c0bcd0f101 100644 --- a/code/modules/admin/admin.dm +++ b/code/modules/admin/admin.dm @@ -937,15 +937,29 @@ var/datum/announcement/minor/admin_min_announcer = new set category = "Server" set desc="Whether persistent data will be saved from now on." set name="Toggle Persistent Data" - config.persistence_enabled = !(config.persistence_enabled) - if(config.persistence_enabled) + config.persistence_disabled = !(config.persistence_disabled) + if(!config.persistence_disabled) to_world("Persistence is now enabled..") else to_world("Persistence is no longer enabled.") - message_admins("[key_name_admin(usr)] toggled persistence to [config.persistence_enabled ? "On" : "Off"].", 1) - log_admin("[key_name(usr)] toggled persistence to [config.persistence_enabled ? "On" : "Off"].") + message_admins("[key_name_admin(usr)] toggled persistence to [config.persistence_disabled ? "Off" : "On"].", 1) + log_admin("[key_name(usr)] toggled persistence to [config.persistence_disabled ? "Off" : "On"].") world.update_status() feedback_add_details("admin_verb","TPD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! + +/datum/admins/proc/togglemaploadpersistence() + set category = "Server" + set desc="Whether mapload persistent data will be saved from now on." + set name="Toggle Mapload Persistent Data" + config.persistence_ignore_mapload = !(config.persistence_ignore_mapload) + if(!config.persistence_ignore_mapload) + to_world("Persistence is now enabled..") + else + to_world("Persistence is no longer enabled.") + message_admins("[key_name_admin(usr)] toggled persistence to [config.persistence_ignore_mapload ? "Off" : "On"].", 1) + log_admin("[key_name(usr)] toggled persistence to [config.persistence_ignore_mapload ? "Off" : "On"].") + world.update_status() + feedback_add_details("admin_verb","TMPD") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc! /datum/admins/proc/toggle_aliens() set category = "Server" diff --git a/code/modules/paperwork/paper.dm b/code/modules/paperwork/paper.dm index 5618257494..292d277de4 100644 --- a/code/modules/paperwork/paper.dm +++ b/code/modules/paperwork/paper.dm @@ -34,6 +34,8 @@ var/spam_flag = 0 var/age = 0 var/last_modified_ckey + + var/was_maploaded = FALSE // This tracks if the paper was created on mapload. var/const/deffont = "Verdana" var/const/signfont = "Times New Roman" @@ -103,6 +105,12 @@ //lipstick wiping is in code/game/objects/items/weapons/cosmetics.dm! +/obj/item/weapon/paper/Initialize(mapload) + . = ..() + + if(mapload) // Jank, but we do this to prevent maploaded papers from somehow stacking across rounds if re-added to the board by a player. + was_maploaded = TRUE + /obj/item/weapon/paper/New(var/newloc, var/text, var/title) ..() pixel_y = rand(-8, 8) @@ -463,6 +471,7 @@ //t = html_encode(t) t = replacetext(t, "\n", "
") t = parsepencode(t, i, usr, iscrayon) // Encode everything from pencode to html + was_maploaded = FALSE // Set this to FALSE because a user has written on us. This is for persistence purposes. if(fields > 50)//large amount of fields creates a heavy load on the server, see updateinfolinks() and addtofield() diff --git a/code/modules/persistence/datum/datum_filth.dm b/code/modules/persistence/datum/datum_filth.dm index f41fffcfb7..10b304e18e 100644 --- a/code/modules/persistence/datum/datum_filth.dm +++ b/code/modules/persistence/datum/datum_filth.dm @@ -1,7 +1,7 @@ /datum/persistent/filth name = "filth" tokens_per_line = 5 - entries_expire_at = 5 + entries_expire_at = 4 // 4 rounds, 24 hours. /datum/persistent/filth/LabelTokens(var/list/tokens) var/list/labelled_tokens = ..() diff --git a/code/modules/persistence/datum/datum_graffiti.dm b/code/modules/persistence/datum/datum_graffiti.dm index b70b7f9475..6ca1bbf32f 100644 --- a/code/modules/persistence/datum/datum_graffiti.dm +++ b/code/modules/persistence/datum/datum_graffiti.dm @@ -1,7 +1,7 @@ /datum/persistent/graffiti name = "graffiti" tokens_per_line = 6 - entries_expire_at = 50 + entries_expire_at = 4 // This previously was at 50 rounds??? Over 10 days. has_admin_data = TRUE /datum/persistent/graffiti/LabelTokens(var/list/tokens) diff --git a/code/modules/persistence/datum/datum_paper.dm b/code/modules/persistence/datum/datum_paper.dm index e572faea01..71faa5c088 100644 --- a/code/modules/persistence/datum/datum_paper.dm +++ b/code/modules/persistence/datum/datum_paper.dm @@ -24,11 +24,13 @@ if(requires_noticeboard && LAZYLEN(board.notices) >= board.max_notices) return var/obj/item/weapon/paper/paper = new paper_type(creating) - paper.set_content(tokens["message"], tokens["title"]) + paper.info = tokens["message"] + paper.title = tokens["title"]) paper.last_modified_ckey = tokens["author"] if(requires_noticeboard) board.add_paper(paper) - SSpersistence.track_value(paper, type) + if(!paper.was_maploaded) // If we were created/loaded when the map was made, skip us! + SSpersistence.track_value(paper, type) return paper /datum/persistent/paper/GetEntryAge(var/atom/entry) diff --git a/code/modules/persistence/datum/persistence_datum.dm b/code/modules/persistence/datum/persistence_datum.dm index 8a409404cd..e001e12e30 100644 --- a/code/modules/persistence/datum/persistence_datum.dm +++ b/code/modules/persistence/datum/persistence_datum.dm @@ -6,8 +6,8 @@ var/name var/filename var/tokens_per_line - var/entries_expire_at - var/entries_decay_at + var/entries_expire_at // Set in rounds, this controls when the item is finally removed permanently regardless if cleaned or not. + var/entries_decay_at // Set in rounds. This controls when item messages start getting scrambled. var/entry_decay_weight = 0.5 var/file_entry_split_character = "\t" var/file_entry_substitute_character = " " diff --git a/code/modules/persistence/graffiti.dm b/code/modules/persistence/graffiti.dm index ee1a1b7fce..f78ef1bf0a 100644 --- a/code/modules/persistence/graffiti.dm +++ b/code/modules/persistence/graffiti.dm @@ -27,7 +27,8 @@ random_icon_states.Remove(W.icon_state) if(random_icon_states.len) icon_state = pick(random_icon_states) - SSpersistence.track_value(src, /datum/persistent/graffiti) + if(!mapload || !config.persistence_ignore_mapload) + SSpersistence.track_value(src, /datum/persistent/graffiti) . = ..() /obj/effect/decal/writing/Destroy() diff --git a/config/example/config.txt b/config/example/config.txt index eaff246194..978722c9dc 100644 --- a/config/example/config.txt +++ b/config/example/config.txt @@ -151,6 +151,12 @@ TRAITOR_SCALING ## If security is prohibited from being most antagonists #PROTECT_ROLES_FROM_ANTAGONIST +## Uncomment this to DISABLE persistence +#PERSISTENCE_DISABLED + +## Uncomment this to DISABLE maploaded trash/paper/etc from being saved by the persistence system. +#PERSISTENCE_IGNORE_MAPLOAD + ## Comment this out to stop admins being able to choose their personal ooccolor ALLOW_ADMIN_OOCCOLOR From 3531ae5a84fa05f75f7a6beb815fceaa586a3eba Mon Sep 17 00:00:00 2001 From: Rykka Date: Sun, 16 Aug 2020 09:55:32 -0400 Subject: [PATCH 014/149] Forgot to remove a stray ) --- code/modules/persistence/datum/datum_paper.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/persistence/datum/datum_paper.dm b/code/modules/persistence/datum/datum_paper.dm index 71faa5c088..9cda723aa1 100644 --- a/code/modules/persistence/datum/datum_paper.dm +++ b/code/modules/persistence/datum/datum_paper.dm @@ -25,7 +25,7 @@ return var/obj/item/weapon/paper/paper = new paper_type(creating) paper.info = tokens["message"] - paper.title = tokens["title"]) + paper.title = tokens["title"] paper.last_modified_ckey = tokens["author"] if(requires_noticeboard) board.add_paper(paper) From b586bb97e88d922cafd381d2f43d6b0822888bce Mon Sep 17 00:00:00 2001 From: Rykka Date: Sun, 16 Aug 2020 10:08:51 -0400 Subject: [PATCH 015/149] Fix Travis errors, define mapload as Initialize() argument --- code/game/objects/items/trash.dm | 2 +- code/modules/persistence/datum/datum_paper.dm | 2 +- code/modules/persistence/graffiti.dm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/game/objects/items/trash.dm b/code/game/objects/items/trash.dm index 49e7c7f8b2..87a6b3ebaf 100644 --- a/code/game/objects/items/trash.dm +++ b/code/game/objects/items/trash.dm @@ -14,7 +14,7 @@ if(!isnull(_age)) age = _age -/obj/item/trash/Initialize() +/obj/item/trash/Initialize(mapload) if(!mapload || !config.persistence_ignore_mapload) SSpersistence.track_value(src, /datum/persistent/filth/trash) . = ..() diff --git a/code/modules/persistence/datum/datum_paper.dm b/code/modules/persistence/datum/datum_paper.dm index 9cda723aa1..fe2ef81368 100644 --- a/code/modules/persistence/datum/datum_paper.dm +++ b/code/modules/persistence/datum/datum_paper.dm @@ -25,7 +25,7 @@ return var/obj/item/weapon/paper/paper = new paper_type(creating) paper.info = tokens["message"] - paper.title = tokens["title"] + paper.name = tokens["title"] paper.last_modified_ckey = tokens["author"] if(requires_noticeboard) board.add_paper(paper) diff --git a/code/modules/persistence/graffiti.dm b/code/modules/persistence/graffiti.dm index f78ef1bf0a..2780c3b9a4 100644 --- a/code/modules/persistence/graffiti.dm +++ b/code/modules/persistence/graffiti.dm @@ -21,7 +21,7 @@ if(!isnull(author)) author = _author -/obj/effect/decal/writing/Initialize() +/obj/effect/decal/writing/Initialize(mapload) var/list/random_icon_states = icon_states(icon) for(var/obj/effect/decal/writing/W in loc) random_icon_states.Remove(W.icon_state) From c39149f4d10b82db8c4fe2cd9249867cb222c41d Mon Sep 17 00:00:00 2001 From: Draycu <28820640+Draycu@users.noreply.github.com> Date: Mon, 17 Aug 2020 00:24:25 -0500 Subject: [PATCH 016/149] Update alienwhitelist.txt Making a quick whitelist change request after being approved to play as a vox~! https://forum.vore-station.net/viewtopic.php?f=46&t=1793 --- config/alienwhitelist.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/config/alienwhitelist.txt b/config/alienwhitelist.txt index 37f35cba96..739940d29c 100644 --- a/config/alienwhitelist.txt +++ b/config/alienwhitelist.txt @@ -14,6 +14,7 @@ bricker98 - Protean crossexonar - Protean chillyfang - Black-Eyed Shadekin cgr - Protean +draycu - Vox flaktual - Vox funnyman2003 - Xenochimera flurriee - Protean From 6f9545ea631a97c19b29f73899dd647fcef88643 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Wed, 12 Aug 2020 10:11:08 -0700 Subject: [PATCH 017/149] TGUI Destination Tagger --- code/_global_vars/lists/misc.dm | 5 +- code/global.dm | 3 - .../silicon/robot/drone/drone_abilities.dm | 2 +- .../silicon/robot/drone/drone_console.dm | 4 +- code/modules/recycling/disposal.dm | 4 +- code/modules/recycling/sortingmachinery.dm | 726 +++++++++--------- .../tgui/interfaces/DestinationTagger.js | 34 + 7 files changed, 408 insertions(+), 370 deletions(-) create mode 100644 tgui/packages/tgui/interfaces/DestinationTagger.js diff --git a/code/_global_vars/lists/misc.dm b/code/_global_vars/lists/misc.dm index adec2bf824..e02c99290c 100644 --- a/code/_global_vars/lists/misc.dm +++ b/code/_global_vars/lists/misc.dm @@ -2,4 +2,7 @@ GLOBAL_LIST_INIT(speech_toppings, list("|" = "i", "+" = "b", "_" = "u")) GLOBAL_LIST_EMPTY(meteor_list) /// List of wire colors for each object type of that round. One for airlocks, one for vendors, etc. -GLOBAL_LIST_EMPTY(wire_color_directory) // This is an associative list with the `holder_type` as the key, and a list of colors as the value. \ No newline at end of file +GLOBAL_LIST_EMPTY(wire_color_directory) // This is an associative list with the `holder_type` as the key, and a list of colors as the value. + +// Reference list for disposal sort junctions. Filled up by sorting junction's New() +GLOBAL_LIST_EMPTY(tagger_locations) \ No newline at end of file diff --git a/code/global.dm b/code/global.dm index 9e6b6c555b..48628c5e02 100644 --- a/code/global.dm +++ b/code/global.dm @@ -130,9 +130,6 @@ var/custom_event_msg = null var/DBConnection/dbcon = new() // Feedback database (New database) var/DBConnection/dbcon_old = new() // /tg/station database (Old database) -- see the files in the SQL folder for information on what goes where. -// Reference list for disposal sort junctions. Filled up by sorting junction's New() -/var/list/tagger_locations = list() - // Added for Xenoarchaeology, might be useful for other stuff. var/global/list/alphabet_uppercase = list("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z") diff --git a/code/modules/mob/living/silicon/robot/drone/drone_abilities.dm b/code/modules/mob/living/silicon/robot/drone/drone_abilities.dm index 6d28b6ce61..a799e2a1c9 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_abilities.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_abilities.dm @@ -4,7 +4,7 @@ set desc = "Tag yourself for delivery through the disposals system." set category = "Robot Commands" - var/new_tag = input("Select the desired destination.", "Set Mail Tag", null) as null|anything in tagger_locations + var/new_tag = input("Select the desired destination.", "Set Mail Tag", null) as null|anything in GLOB.tagger_locations if(!new_tag) mail_destination = "" diff --git a/code/modules/mob/living/silicon/robot/drone/drone_console.dm b/code/modules/mob/living/silicon/robot/drone/drone_console.dm index 94b8bb2e2c..77486ecfff 100644 --- a/code/modules/mob/living/silicon/robot/drone/drone_console.dm +++ b/code/modules/mob/living/silicon/robot/drone/drone_console.dm @@ -53,7 +53,7 @@ data["fabricator"] = dronefab data["fabPower"] = dronefab?.produce_drones - data["areas"] = tagger_locations + data["areas"] = GLOB.tagger_locations data["selected_area"] = "[drone_call_area]" return data @@ -65,7 +65,7 @@ switch(action) if("set_dcall_area") var/t_area = params["area"] - if(!t_area || !(t_area in tagger_locations)) + if(!t_area || !(t_area in GLOB.tagger_locations)) return drone_call_area = t_area diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 3437c8b582..1d46e16ce5 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -1210,7 +1210,7 @@ New() . = ..() dpdir = dir | turn(dir, 180) - if(sort_tag) tagger_locations |= sort_tag + if(sort_tag) GLOB.tagger_locations |= sort_tag updatename() updatedesc() update() @@ -1276,7 +1276,7 @@ New() . = ..() - if(sortType) tagger_locations |= sortType + if(sortType) GLOB.tagger_locations |= sortType updatedir() updatename() diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index 315b492e6b..a97c2894c2 100755 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -14,100 +14,100 @@ var/label_x var/tag_x - attack_hand(mob/user as mob) - unwrap() +/obj/structure/bigDelivery/attack_hand(mob/user as mob) + unwrap() - proc/unwrap() - playsound(src, 'sound/items/package_unwrap.ogg', 50, 1) - // Destroy will drop our wrapped object on the turf, so let it. - qdel(src) +/obj/structure/bigDelivery/proc/unwrap() + playsound(src, 'sound/items/package_unwrap.ogg', 50, 1) + // Destroy will drop our wrapped object on the turf, so let it. + qdel(src) - attackby(obj/item/W as obj, mob/user as mob) - if(istype(W, /obj/item/device/destTagger)) - var/obj/item/device/destTagger/O = W - if(O.currTag) - if(src.sortTag != O.currTag) - to_chat(user, "You have labeled the destination as [O.currTag].") - if(!src.sortTag) - src.sortTag = O.currTag - update_icon() - else - src.sortTag = O.currTag - playsound(src, 'sound/machines/twobeep.ogg', 50, 1) +/obj/structure/bigDelivery/attackby(obj/item/W as obj, mob/user as mob) + if(istype(W, /obj/item/device/destTagger)) + var/obj/item/device/destTagger/O = W + if(O.currTag) + if(src.sortTag != O.currTag) + to_chat(user, "You have labeled the destination as [O.currTag].") + if(!src.sortTag) + src.sortTag = O.currTag + update_icon() else - to_chat(user, "The package is already labeled for [O.currTag].") + src.sortTag = O.currTag + playsound(src, 'sound/machines/twobeep.ogg', 50, 1) else - to_chat(user, "You need to set a destination first!") + to_chat(user, "The package is already labeled for [O.currTag].") + else + to_chat(user, "You need to set a destination first!") - else if(istype(W, /obj/item/weapon/pen)) - switch(alert("What would you like to alter?",,"Title","Description", "Cancel")) - if("Title") - var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN) - if(!str || !length(str)) - to_chat(user, " Invalid text.") - return - user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\ - "You title \the [src]: \"[str]\"",\ - "You hear someone scribbling a note.") - playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) - name = "[name] ([str])" - if(!examtext && !nameset) - nameset = 1 - update_icon() - else - nameset = 1 - if("Description") - var/str = sanitize(input(usr,"Label text?","Set label","")) - if(!str || !length(str)) - to_chat(user, "Invalid text.") - return - if(!examtext && !nameset) - examtext = str - update_icon() - else - examtext = str - user.visible_message("\The [user] labels \the [src] with \a [W], scribbling down: \"[examtext]\"",\ - "You label \the [src]: \"[examtext]\"",\ - "You hear someone scribbling a note.") - playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) - return + else if(istype(W, /obj/item/weapon/pen)) + switch(alert("What would you like to alter?",,"Title","Description", "Cancel")) + if("Title") + var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN) + if(!str || !length(str)) + to_chat(user, " Invalid text.") + return + user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\ + "You title \the [src]: \"[str]\"",\ + "You hear someone scribbling a note.") + playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) + name = "[name] ([str])" + if(!examtext && !nameset) + nameset = 1 + update_icon() + else + nameset = 1 + if("Description") + var/str = sanitize(input(usr,"Label text?","Set label","")) + if(!str || !length(str)) + to_chat(user, "Invalid text.") + return + if(!examtext && !nameset) + examtext = str + update_icon() + else + examtext = str + user.visible_message("\The [user] labels \the [src] with \a [W], scribbling down: \"[examtext]\"",\ + "You label \the [src]: \"[examtext]\"",\ + "You hear someone scribbling a note.") + playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) + return - update_icon() - overlays = new() - if(nameset || examtext) - var/image/I = new/image('icons/obj/storage.dmi',"delivery_label") - if(icon_state == "deliverycloset") - I.pixel_x = 2 - if(label_y == null) - label_y = rand(-6, 11) - I.pixel_y = label_y - else if(icon_state == "deliverycrate") - if(label_x == null) - label_x = rand(-8, 6) - I.pixel_x = label_x - I.pixel_y = -3 - overlays += I - if(src.sortTag) - var/image/I = new/image('icons/obj/storage.dmi',"delivery_tag") - if(icon_state == "deliverycloset") - if(tag_x == null) - tag_x = rand(-2, 3) - I.pixel_x = tag_x - I.pixel_y = 9 - else if(icon_state == "deliverycrate") - if(tag_x == null) - tag_x = rand(-8, 6) - I.pixel_x = tag_x - I.pixel_y = -3 - overlays += I +/obj/structure/bigDelivery/update_icon() + overlays = new() + if(nameset || examtext) + var/image/I = new/image('icons/obj/storage.dmi',"delivery_label") + if(icon_state == "deliverycloset") + I.pixel_x = 2 + if(label_y == null) + label_y = rand(-6, 11) + I.pixel_y = label_y + else if(icon_state == "deliverycrate") + if(label_x == null) + label_x = rand(-8, 6) + I.pixel_x = label_x + I.pixel_y = -3 + overlays += I + if(src.sortTag) + var/image/I = new/image('icons/obj/storage.dmi',"delivery_tag") + if(icon_state == "deliverycloset") + if(tag_x == null) + tag_x = rand(-2, 3) + I.pixel_x = tag_x + I.pixel_y = 9 + else if(icon_state == "deliverycrate") + if(tag_x == null) + tag_x = rand(-8, 6) + I.pixel_x = tag_x + I.pixel_y = -3 + overlays += I - examine(mob/user) - . = ..() - if(get_dist(user, src) <= 4) - if(sortTag) - . += "It is labeled \"[sortTag]\"" - if(examtext) - . += "It has a note attached which reads, \"[examtext]\"" +/obj/structure/bigDelivery/examine(mob/user) + . = ..() + if(get_dist(user, src) <= 4) + if(sortTag) + . += "It is labeled \"[sortTag]\"" + if(examtext) + . += "It has a note attached which reads, \"[examtext]\"" /obj/item/smallDelivery desc = "A small wrapped package." @@ -121,100 +121,100 @@ var/nameset = 0 var/tag_x - attack_self(mob/user as mob) - if (src.wrapped) //sometimes items can disappear. For example, bombs. --rastaf0 - wrapped.loc = user.loc - if(ishuman(user)) - user.put_in_hands(wrapped) - else - wrapped.loc = get_turf(src) +/obj/item/smallDelivery/attack_self(mob/user as mob) + if (src.wrapped) //sometimes items can disappear. For example, bombs. --rastaf0 + wrapped.loc = user.loc + if(ishuman(user)) + user.put_in_hands(wrapped) + else + wrapped.loc = get_turf(src) - qdel(src) - return + qdel(src) + return - attackby(obj/item/W as obj, mob/user as mob) - if(istype(W, /obj/item/device/destTagger)) - var/obj/item/device/destTagger/O = W - if(O.currTag) - if(src.sortTag != O.currTag) - to_chat(user, "You have labeled the destination as [O.currTag].") - if(!src.sortTag) - src.sortTag = O.currTag - update_icon() - else - src.sortTag = O.currTag - playsound(src, 'sound/machines/twobeep.ogg', 50, 1) +/obj/item/smallDelivery/attackby(obj/item/W as obj, mob/user as mob) + if(istype(W, /obj/item/device/destTagger)) + var/obj/item/device/destTagger/O = W + if(O.currTag) + if(src.sortTag != O.currTag) + to_chat(user, "You have labeled the destination as [O.currTag].") + if(!src.sortTag) + src.sortTag = O.currTag + update_icon() else - to_chat(user, "The package is already labeled for [O.currTag].") + src.sortTag = O.currTag + playsound(src, 'sound/machines/twobeep.ogg', 50, 1) else - to_chat(user, "You need to set a destination first!") + to_chat(user, "The package is already labeled for [O.currTag].") + else + to_chat(user, "You need to set a destination first!") - else if(istype(W, /obj/item/weapon/pen)) - switch(alert("What would you like to alter?",,"Title","Description", "Cancel")) - if("Title") - var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN) - if(!str || !length(str)) - to_chat(user, " Invalid text.") - return - user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\ - "You title \the [src]: \"[str]\"",\ - "You hear someone scribbling a note.") - playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) - name = "[name] ([str])" - if(!examtext && !nameset) - nameset = 1 - update_icon() - else - nameset = 1 + else if(istype(W, /obj/item/weapon/pen)) + switch(alert("What would you like to alter?",,"Title","Description", "Cancel")) + if("Title") + var/str = sanitizeSafe(input(usr,"Label text?","Set label",""), MAX_NAME_LEN) + if(!str || !length(str)) + to_chat(user, " Invalid text.") + return + user.visible_message("\The [user] titles \the [src] with \a [W], marking down: \"[str]\"",\ + "You title \the [src]: \"[str]\"",\ + "You hear someone scribbling a note.") + playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) + name = "[name] ([str])" + if(!examtext && !nameset) + nameset = 1 + update_icon() + else + nameset = 1 - if("Description") - var/str = sanitize(input(usr,"Label text?","Set label","")) - if(!str || !length(str)) - to_chat(user, "Invalid text.") - return - if(!examtext && !nameset) - examtext = str - update_icon() - else - examtext = str - user.visible_message("\The [user] labels \the [src] with \a [W], scribbling down: \"[examtext]\"",\ - "You label \the [src]: \"[examtext]\"",\ - "You hear someone scribbling a note.") - playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) - return + if("Description") + var/str = sanitize(input(usr,"Label text?","Set label","")) + if(!str || !length(str)) + to_chat(user, "Invalid text.") + return + if(!examtext && !nameset) + examtext = str + update_icon() + else + examtext = str + user.visible_message("\The [user] labels \the [src] with \a [W], scribbling down: \"[examtext]\"",\ + "You label \the [src]: \"[examtext]\"",\ + "You hear someone scribbling a note.") + playsound(src, pick('sound/bureaucracy/pen1.ogg','sound/bureaucracy/pen2.ogg'), 20) + return - update_icon() - overlays = new() - if((nameset || examtext) && icon_state != "deliverycrate1") - var/image/I = new/image('icons/obj/storage.dmi',"delivery_label") - if(icon_state == "deliverycrate5") - I.pixel_y = -1 - overlays += I - if(src.sortTag) - var/image/I = new/image('icons/obj/storage.dmi',"delivery_tag") - switch(icon_state) - if("deliverycrate1") - I.pixel_y = -5 - if("deliverycrate2") - I.pixel_y = -2 - if("deliverycrate3") - I.pixel_y = 0 - if("deliverycrate4") - if(tag_x == null) - tag_x = rand(0,5) - I.pixel_x = tag_x - I.pixel_y = 3 - if("deliverycrate5") - I.pixel_y = -3 - overlays += I +/obj/item/smallDelivery/update_icon() + overlays = new() + if((nameset || examtext) && icon_state != "deliverycrate1") + var/image/I = new/image('icons/obj/storage.dmi',"delivery_label") + if(icon_state == "deliverycrate5") + I.pixel_y = -1 + overlays += I + if(src.sortTag) + var/image/I = new/image('icons/obj/storage.dmi',"delivery_tag") + switch(icon_state) + if("deliverycrate1") + I.pixel_y = -5 + if("deliverycrate2") + I.pixel_y = -2 + if("deliverycrate3") + I.pixel_y = 0 + if("deliverycrate4") + if(tag_x == null) + tag_x = rand(0,5) + I.pixel_x = tag_x + I.pixel_y = 3 + if("deliverycrate5") + I.pixel_y = -3 + overlays += I - examine(mob/user) - . = ..() - if(get_dist(user, src) <= 4) - if(sortTag) - . += "It is labeled \"[sortTag]\"" - if(examtext) - . += "It has a note attached which reads, \"[examtext]\"" +/obj/item/smallDelivery/examine(mob/user) + . = ..() + if(get_dist(user, src) <= 4) + if(sortTag) + . += "It is labeled \"[sortTag]\"" + if(examtext) + . += "It has a note attached which reads, \"[examtext]\"" /obj/item/weapon/packageWrap name = "package wrapper" @@ -226,95 +226,95 @@ drop_sound = 'sound/items/drop/wrapper.ogg' - afterattack(var/obj/target as obj, mob/user as mob, proximity) - if(!proximity) return - if(!istype(target)) //this really shouldn't be necessary (but it is). -Pete - return - if(istype(target, /obj/item/smallDelivery) || istype(target,/obj/structure/bigDelivery) \ - || istype(target, /obj/item/weapon/gift) || istype(target, /obj/item/weapon/evidencebag)) - return - if(target.anchored) - return - if(target in user) - return - if(user in target) //no wrapping closets that you are inside - it's not physically possible - return - - user.attack_log += text("\[[time_stamp()]\] Has used [src.name] on \ref[target]") - - - if (istype(target, /obj/item) && !(istype(target, /obj/item/weapon/storage) && !istype(target,/obj/item/weapon/storage/box))) - var/obj/item/O = target - if (src.amount > 1) - var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(get_turf(O.loc)) //Aaannd wrap it up! - if(!istype(O.loc, /turf)) - if(user.client) - user.client.screen -= O - P.wrapped = O - O.forceMove(P) - P.w_class = O.w_class - var/i = round(O.w_class) - if(i in list(1,2,3,4,5)) - P.icon_state = "deliverycrate[i]" - switch(i) - if(1) P.name = "tiny parcel" - if(3) P.name = "normal-sized parcel" - if(4) P.name = "large parcel" - if(5) P.name = "huge parcel" - if(i < 1) - P.icon_state = "deliverycrate1" - P.name = "tiny parcel" - if(i > 5) - P.icon_state = "deliverycrate5" - P.name = "huge parcel" - P.add_fingerprint(usr) - O.add_fingerprint(usr) - src.add_fingerprint(usr) - src.amount -= 1 - user.visible_message("\The [user] wraps \a [target] with \a [src].",\ - "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ - "You hear someone taping paper around a small object.") - playsound(src, 'sound/items/package_wrap.ogg', 50, 1) - else if (istype(target, /obj/structure/closet/crate)) - var/obj/structure/closet/crate/O = target - if (src.amount > 3 && !O.opened) - var/obj/structure/bigDelivery/P = new /obj/structure/bigDelivery(get_turf(O.loc)) - P.icon_state = "deliverycrate" - P.wrapped = O - O.loc = P - src.amount -= 3 - user.visible_message("\The [user] wraps \a [target] with \a [src].",\ - "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ - "You hear someone taping paper around a large object.") - playsound(src, 'sound/items/package_wrap.ogg', 50, 1) - else if(src.amount < 3) - to_chat(user, "You need more paper.") - else if (istype (target, /obj/structure/closet)) - var/obj/structure/closet/O = target - if (src.amount > 3 && !O.opened) - var/obj/structure/bigDelivery/P = new /obj/structure/bigDelivery(get_turf(O.loc)) - P.wrapped = O - O.sealed = 1 - O.loc = P - src.amount -= 3 - user.visible_message("\The [user] wraps \a [target] with \a [src].",\ - "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ - "You hear someone taping paper around a large object.") - playsound(src, 'sound/items/package_wrap.ogg', 50, 1) - else if(src.amount < 3) - to_chat(user, "You need more paper.") - else - to_chat(user, "The object you are trying to wrap is unsuitable for the sorting machinery!") - if (src.amount <= 0) - new /obj/item/weapon/c_tube( src.loc ) - qdel(src) - return +/obj/item/weapon/packageWrap/afterattack(var/obj/target as obj, mob/user as mob, proximity) + if(!proximity) return + if(!istype(target)) //this really shouldn't be necessary (but it is). -Pete + return + if(istype(target, /obj/item/smallDelivery) || istype(target,/obj/structure/bigDelivery) \ + || istype(target, /obj/item/weapon/gift) || istype(target, /obj/item/weapon/evidencebag)) + return + if(target.anchored) + return + if(target in user) + return + if(user in target) //no wrapping closets that you are inside - it's not physically possible return - examine(mob/user) - . = ..() - if(get_dist(user, src) <= 0) - . += "There are [amount] units of package wrap left!" + user.attack_log += text("\[[time_stamp()]\] Has used [src.name] on \ref[target]") + + + if (istype(target, /obj/item) && !(istype(target, /obj/item/weapon/storage) && !istype(target,/obj/item/weapon/storage/box))) + var/obj/item/O = target + if (src.amount > 1) + var/obj/item/smallDelivery/P = new /obj/item/smallDelivery(get_turf(O.loc)) //Aaannd wrap it up! + if(!istype(O.loc, /turf)) + if(user.client) + user.client.screen -= O + P.wrapped = O + O.forceMove(P) + P.w_class = O.w_class + var/i = round(O.w_class) + if(i in list(1,2,3,4,5)) + P.icon_state = "deliverycrate[i]" + switch(i) + if(1) P.name = "tiny parcel" + if(3) P.name = "normal-sized parcel" + if(4) P.name = "large parcel" + if(5) P.name = "huge parcel" + if(i < 1) + P.icon_state = "deliverycrate1" + P.name = "tiny parcel" + if(i > 5) + P.icon_state = "deliverycrate5" + P.name = "huge parcel" + P.add_fingerprint(usr) + O.add_fingerprint(usr) + src.add_fingerprint(usr) + src.amount -= 1 + user.visible_message("\The [user] wraps \a [target] with \a [src].",\ + "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ + "You hear someone taping paper around a small object.") + playsound(src, 'sound/items/package_wrap.ogg', 50, 1) + else if (istype(target, /obj/structure/closet/crate)) + var/obj/structure/closet/crate/O = target + if (src.amount > 3 && !O.opened) + var/obj/structure/bigDelivery/P = new /obj/structure/bigDelivery(get_turf(O.loc)) + P.icon_state = "deliverycrate" + P.wrapped = O + O.loc = P + src.amount -= 3 + user.visible_message("\The [user] wraps \a [target] with \a [src].",\ + "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ + "You hear someone taping paper around a large object.") + playsound(src, 'sound/items/package_wrap.ogg', 50, 1) + else if(src.amount < 3) + to_chat(user, "You need more paper.") + else if (istype (target, /obj/structure/closet)) + var/obj/structure/closet/O = target + if (src.amount > 3 && !O.opened) + var/obj/structure/bigDelivery/P = new /obj/structure/bigDelivery(get_turf(O.loc)) + P.wrapped = O + O.sealed = 1 + O.loc = P + src.amount -= 3 + user.visible_message("\The [user] wraps \a [target] with \a [src].",\ + "You wrap \the [target], leaving [amount] units of paper on \the [src].",\ + "You hear someone taping paper around a large object.") + playsound(src, 'sound/items/package_wrap.ogg', 50, 1) + else if(src.amount < 3) + to_chat(user, "You need more paper.") + else + to_chat(user, "The object you are trying to wrap is unsuitable for the sorting machinery!") + if (src.amount <= 0) + new /obj/item/weapon/c_tube( src.loc ) + qdel(src) + return + return + +/obj/item/weapon/packageWrap/examine(mob/user) + . = ..() + if(get_dist(user, src) <= 0) + . += "There are [amount] units of package wrap left!" /obj/structure/bigDelivery/Destroy() if(wrapped) //sometimes items can disappear. For example, bombs. --rastaf0 @@ -338,30 +338,34 @@ item_state = "electronic" slot_flags = SLOT_BELT - proc/openwindow(mob/user as mob) - var/dat = "

TagMaster 2.3

" +/obj/item/device/destTagger/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "DestinationTagger", name) + ui.open() - dat += "" - for(var/i = 1, i <= tagger_locations.len, i++) - dat += "" +/obj/item/device/destTagger/tgui_data(mob/user, datum/tgui/ui) + var/list/data = ..() - if (i%4==0) - dat += "" + data["currTag"] = currTag + data["taggerLocs"] = GLOB.tagger_locations - dat += "
[tagger_locations[i]]

Current Selection: [currTag ? currTag : "None"]
" + return data - user << browse(dat, "window=destTagScreen;size=450x350") - onclose(user, "destTagScreen") +/obj/item/device/destTagger/attack_self(mob/user as mob) + tgui_interact(user) - attack_self(mob/user as mob) - openwindow(user) - return - - Topic(href, href_list) - src.add_fingerprint(usr) - if(href_list["nextTag"] && href_list["nextTag"] in tagger_locations) - src.currTag = href_list["nextTag"] - openwindow(usr) +/obj/item/device/destTagger/tgui_act(action, params) + if(..()) + return TRUE + add_fingerprint(usr) + switch(action) + if("set_tag") + var/new_tag = params["tag"] + if(!(new_tag in GLOB.tagger_locations)) + return FALSE + currTag = new_tag + . = TRUE /obj/machinery/disposal/deliveryChute name = "Delivery chute" @@ -371,94 +375,94 @@ var/c_mode = 0 - New() - ..() - spawn(5) - trunk = locate() in src.loc - if(trunk) - trunk.linked = src // link the pipe trunk to self +/obj/machinery/disposal/deliveryChute/New() + ..() + spawn(5) + trunk = locate() in src.loc + if(trunk) + trunk.linked = src // link the pipe trunk to self - interact() - return +/obj/machinery/disposal/deliveryChute/interact() + return +/obj/machinery/disposal/deliveryChute/update() + return + +/obj/machinery/disposal/deliveryChute/Bumped(var/atom/movable/AM) //Go straight into the chute + if(istype(AM, /obj/item/projectile) || istype(AM, /obj/effect) || istype(AM, /obj/mecha)) return + switch(dir) + if(NORTH) + if(AM.loc.y != src.loc.y+1) return + if(EAST) + if(AM.loc.x != src.loc.x+1) return + if(SOUTH) + if(AM.loc.y != src.loc.y-1) return + if(WEST) + if(AM.loc.x != src.loc.x-1) return + + if(istype(AM, /obj)) + var/obj/O = AM + O.loc = src + else if(istype(AM, /mob)) + var/mob/M = AM + M.loc = src + src.flush() + +/obj/machinery/disposal/deliveryChute/flush() + flushing = 1 + flick("intake-closing", src) + var/obj/structure/disposalholder/H = new() // virtual holder object which actually + // travels through the pipes. + air_contents = new() // new empty gas resv. + + sleep(10) + playsound(src, 'sound/machines/disposalflush.ogg', 50, 0, 0) + sleep(5) // wait for animation to finish + + H.init(src) // copy the contents of disposer to holder + + H.start(src) // start the holder processing movement + flushing = 0 + // now reset disposal state + flush = 0 + if(mode == 2) // if was ready, + mode = 1 // switch to charging update() + return + +/obj/machinery/disposal/deliveryChute/attackby(var/obj/item/I, var/mob/user) + if(!I || !user) return - Bumped(var/atom/movable/AM) //Go straight into the chute - if(istype(AM, /obj/item/projectile) || istype(AM, /obj/effect) || istype(AM, /obj/mecha)) return - switch(dir) - if(NORTH) - if(AM.loc.y != src.loc.y+1) return - if(EAST) - if(AM.loc.x != src.loc.x+1) return - if(SOUTH) - if(AM.loc.y != src.loc.y-1) return - if(WEST) - if(AM.loc.x != src.loc.x-1) return - - if(istype(AM, /obj)) - var/obj/O = AM - O.loc = src - else if(istype(AM, /mob)) - var/mob/M = AM - M.loc = src - src.flush() - - flush() - flushing = 1 - flick("intake-closing", src) - var/obj/structure/disposalholder/H = new() // virtual holder object which actually - // travels through the pipes. - air_contents = new() // new empty gas resv. - - sleep(10) - playsound(src, 'sound/machines/disposalflush.ogg', 50, 0, 0) - sleep(5) // wait for animation to finish - - H.init(src) // copy the contents of disposer to holder - - H.start(src) // start the holder processing movement - flushing = 0 - // now reset disposal state - flush = 0 - if(mode == 2) // if was ready, - mode = 1 // switch to charging - update() - return - - attackby(var/obj/item/I, var/mob/user) - if(!I || !user) + if(I.is_screwdriver()) + if(c_mode==0) + c_mode=1 + playsound(src, I.usesound, 50, 1) + to_chat(user, "You remove the screws around the power connection.") + return + else if(c_mode==1) + c_mode=0 + playsound(src, I.usesound, 50, 1) + to_chat(user, "You attach the screws around the power connection.") + return + else if(istype(I, /obj/item/weapon/weldingtool) && c_mode==1) + var/obj/item/weapon/weldingtool/W = I + if(W.remove_fuel(0,user)) + playsound(src, W.usesound, 50, 1) + to_chat(user, "You start slicing the floorweld off the delivery chute.") + if(do_after(user,20 * W.toolspeed)) + if(!src || !W.isOn()) return + to_chat(user, "You sliced the floorweld off the delivery chute.") + var/obj/structure/disposalconstruct/C = new (src.loc) + C.ptype = 8 // 8 = Delivery chute + C.update() + C.anchored = 1 + C.density = 1 + qdel(src) + return + else + to_chat(user, "You need more welding fuel to complete this task.") return - - if(I.is_screwdriver()) - if(c_mode==0) - c_mode=1 - playsound(src, I.usesound, 50, 1) - to_chat(user, "You remove the screws around the power connection.") - return - else if(c_mode==1) - c_mode=0 - playsound(src, I.usesound, 50, 1) - to_chat(user, "You attach the screws around the power connection.") - return - else if(istype(I, /obj/item/weapon/weldingtool) && c_mode==1) - var/obj/item/weapon/weldingtool/W = I - if(W.remove_fuel(0,user)) - playsound(src, W.usesound, 50, 1) - to_chat(user, "You start slicing the floorweld off the delivery chute.") - if(do_after(user,20 * W.toolspeed)) - if(!src || !W.isOn()) return - to_chat(user, "You sliced the floorweld off the delivery chute.") - var/obj/structure/disposalconstruct/C = new (src.loc) - C.ptype = 8 // 8 = Delivery chute - C.update() - C.anchored = 1 - C.density = 1 - qdel(src) - return - else - to_chat(user, "You need more welding fuel to complete this task.") - return /obj/machinery/disposal/deliveryChute/Destroy() if(trunk) diff --git a/tgui/packages/tgui/interfaces/DestinationTagger.js b/tgui/packages/tgui/interfaces/DestinationTagger.js new file mode 100644 index 0000000000..5a70ede6d6 --- /dev/null +++ b/tgui/packages/tgui/interfaces/DestinationTagger.js @@ -0,0 +1,34 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, Table } from "../components"; +import { Window } from "../layouts"; + +export const DestinationTagger = (props, context) => { + const { act, data } = useBackend(context); + + const { + currTag, + taggerLocs, + } = data; + + return ( + + +
+ + {taggerLocs.sort().map(tag => ( + +
+
+
+ ); +}; \ No newline at end of file From dd088ae636fece1f6f515814118a068497c9907d Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Wed, 12 Aug 2020 11:13:52 -0700 Subject: [PATCH 018/149] TGUI Mulebot --- code/modules/mob/living/bot/mulebot.dm | 78 ++++++------- tgui/packages/tgui/interfaces/MuleBot.js | 139 +++++++++++++++++++++++ 2 files changed, 172 insertions(+), 45 deletions(-) create mode 100644 tgui/packages/tgui/interfaces/MuleBot.js diff --git a/code/modules/mob/living/bot/mulebot.dm b/code/modules/mob/living/bot/mulebot.dm index 67fc8fd051..fa0b76009f 100644 --- a/code/modules/mob/living/bot/mulebot.dm +++ b/code/modules/mob/living/bot/mulebot.dm @@ -61,72 +61,57 @@ load(C) /mob/living/bot/mulebot/attack_hand(var/mob/user) - interact(user) + tgui_interact(user) -/mob/living/bot/mulebot/proc/interact(var/mob/user) - var/dat - dat += "Multiple Utility Load Effector Mk. III

" - dat += "ID: [suffix]
" - dat += "Power: [on ? "On" : "Off"]
" +/mob/living/bot/mulebot/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "MuleBot", "Mulebot [suffix ? "([suffix])" : ""]") + ui.open() - if(!open) - dat += "
Current Load: [load ? load.name : "none"]
" +/mob/living/bot/mulebot/tgui_data(mob/user) + var/list/data = list( + "suffix" = suffix, + "power" = on, + "issilicon" = issilicon(user), + "load" = load, + "locked" = locked, + "auto_return" = auto_return, + "crates_only" = crates_only, + "hatch" = open, + "safety" = safety, + ) + return data - if(locked) - dat += "
Controls are locked" - else - dat += "
Controls are unlocked

" - - if(!locked || issilicon(user)) - dat += "Toggle power
" - dat += "Stop
" - dat += "Proceed
" - dat += "Return to home
" - dat += "Set destination
" - dat += "Set home
" - dat += "Toggle auto return home ([auto_return ? "On" : "Off"])
" - dat += "Toggle non-standard cargo ([crates_only ? "Off" : "On"])
" - - if(load) - dat += "Unload now
" - dat += "
The maintenance hatch is closed.
" - - else - if(!issilicon(user)) - dat += "The maintenance hatch is open.

" - - dat += "Toggle safety ([safety ? "On" : "Off - DANGER"])
" - else - dat += "The bot is in maintenance mode and cannot be controlled.
" - - user << browse("Mulebot [suffix ? "([suffix])" : ""][dat]", "window=mulebot;size=350x500") - onclose(user, "mulebot") - return - -/mob/living/bot/mulebot/Topic(href, href_list) +/mob/living/bot/mulebot/tgui_act(action, params) if(..()) - return - usr.set_machine(src) + return TRUE + add_fingerprint(usr) - switch(href_list["op"]) + switch(action) if("power") if(on) turn_off() else turn_on() visible_message("[usr] switches [on ? "on" : "off"] [src].") + . = TRUE if("stop") obeyCommand("Stop") + . = TRUE if("go") obeyCommand("GoTD") + . = TRUE if("home") obeyCommand("Home") + . = TRUE if("destination") obeyCommand("SetD") + . = TRUE if("sethome") var/new_dest @@ -138,20 +123,23 @@ if(new_dest) home = get_turf(beaconlist[new_dest]) homeName = new_dest + . = TRUE if("unload") unload() + . = TRUE if("autoret") auto_return = !auto_return + . = TRUE if("cargotypes") crates_only = !crates_only + . = TRUE if("safety") safety = !safety - - interact(usr) + . = TRUE /mob/living/bot/mulebot/attackby(var/obj/item/O, var/mob/user) ..() diff --git a/tgui/packages/tgui/interfaces/MuleBot.js b/tgui/packages/tgui/interfaces/MuleBot.js new file mode 100644 index 0000000000..57794e0426 --- /dev/null +++ b/tgui/packages/tgui/interfaces/MuleBot.js @@ -0,0 +1,139 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section } from "../components"; +import { Window } from "../layouts"; + +export const MuleBot = (props, context) => { + const { act, data } = useBackend(context); + const { + suffix, + power, + load, + locked, + issilicon, + auto_return, + crates_only, + hatch, + safety, + } = data; + return ( + + +
+ + + {suffix} + + act("unload")} /> + }> + {load ? load : "None."} + + + {hatch ? : } +
+
+
+ ); +}; + +const MuleBotClosed = (props, context) => { + const { act, data } = useBackend(context); + const { + suffix, + power, + load, + locked, + issilicon, + auto_return, + crates_only, + open, + safety, + } = data; + + return ( +
act("power")} /> + }> + {(locked && !issilicon) ? ( + This interface is currently locked. + ) : ( + +
+ ); +}; + +const MuleBotOpen = (props, context) => { + const { act, data } = useBackend(context); + const { + suffix, + power, + load, + locked, + issilicon, + auto_return, + crates_only, + open, + safety, + } = data; + + return ( +
+
+ ); +}; \ No newline at end of file From 78d1d2e9a1153c59d4e341daaa995a1cc580c520 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Thu, 13 Aug 2020 00:28:42 -0700 Subject: [PATCH 019/149] TGUI Supply Computer --- code/game/machinery/computer/supply.dm | 494 ++++++++++-------- tgui/packages/tgui/format.js | 11 +- .../packages/tgui/interfaces/SupplyConsole.js | 439 ++++++++++++++++ .../tgui/styles/components/Table.scss | 2 +- 4 files changed, 731 insertions(+), 215 deletions(-) create mode 100644 tgui/packages/tgui/interfaces/SupplyConsole.js diff --git a/code/game/machinery/computer/supply.dm b/code/game/machinery/computer/supply.dm index a310b33f78..6a6fd60703 100644 --- a/code/game/machinery/computer/supply.dm +++ b/code/game/machinery/computer/supply.dm @@ -36,7 +36,7 @@ if(!allowed(user)) return user.set_machine(src) - ui_interact(user) + tgui_interact(user) return /obj/machinery/computer/supplycomp/emag_act(var/remaining_charges, var/mob/user) @@ -44,24 +44,27 @@ to_chat(user, "Special supplies unlocked.") authorization |= SUP_CONTRABAND req_access = list() + can_order_contraband = TRUE return 1 +// TGUI +/obj/machinery/computer/supplycomp/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "SupplyConsole", name) + ui.open() - -/obj/machinery/computer/supplycomp/ui_interact(mob/user, ui_key = "supply_records", var/datum/nanoui/ui = null, var/force_open = 1, var/key_state = null) - var/data[0] - var/shuttle_status[0] // Supply shuttle status - var/pack_list[0] // List of supply packs within the active_category - var/orders[0] - var/receipts[0] +/obj/machinery/computer/supplycomp/tgui_data(mob/user) + var/list/data = ..() + var/list/shuttle_status = list() var/datum/shuttle/autodock/ferry/supply/shuttle = SSsupply.shuttle if(shuttle) if(shuttle.has_arrive_time()) shuttle_status["location"] = "In transit" shuttle_status["mode"] = SUP_SHUTTLE_TRANSIT - shuttle_status["time"] = shuttle.eta_minutes() + shuttle_status["time"] = shuttle.eta_seconds() else shuttle_status["time"] = 0 @@ -107,149 +110,192 @@ shuttle_status["engine"] = "Engaged" else - shuttle["mode"] = SUP_SHUTTLE_ERROR - - for(var/pack_name in SSsupply.supply_pack) - var/datum/supply_pack/P = SSsupply.supply_pack[pack_name] - if(P.group == active_category) - var/list/pack = list( - "name" = P.name, - "cost" = P.cost, - "contraband" = P.contraband, - "manifest" = uniquelist(P.manifest), - "random" = P.num_contained, - "expand" = 0, - "ref" = "\ref[P]" - ) - - if(P in expanded_packs) - pack["expand"] = 1 - - pack_list[++pack_list.len] = pack + shuttle_status["mode"] = SUP_SHUTTLE_ERROR // Compile user-side orders // Status determines which menus the entry will display in // Organized in field-entry list for iterative display // List is nested so both the list of orders, and the list of elements in each order, can be iterated over + var/list/orders = list() for(var/datum/supply_order/S in SSsupply.order_history) - orders[++orders.len] = list( - "ref" = "\ref[S]", - "status" = S.status, - "entries" = list( - list("field" = "Supply Pack", "entry" = S.name), - list("field" = "Cost", "entry" = S.cost), - list("field" = "Index", "entry" = S.index), - list("field" = "Reason", "entry" = S.comment), - list("field" = "Ordered by", "entry" = S.ordered_by), - list("field" = "Ordered at", "entry" = S.ordered_at), - list("field" = "Approved by", "entry" = S.approved_by), - list("field" = "Approved at", "entry" = S.approved_at) - ) - ) + orders.Add(list(list( + "ref" = "\ref[S]", + "status" = S.status, + "cost" = S.cost, + "entries" = list( + list("field" = "Supply Pack", "entry" = S.name), + list("field" = "Cost", "entry" = S.cost), + list("field" = "Index", "entry" = S.index), + list("field" = "Reason", "entry" = S.comment), + list("field" = "Ordered by", "entry" = S.ordered_by), + list("field" = "Ordered at", "entry" = S.ordered_at), + list("field" = "Approved by", "entry" = S.approved_by), + list("field" = "Approved at", "entry" = S.approved_at) + ) + ))) // Compile exported crates + var/list/receipts = list() for(var/datum/exported_crate/E in SSsupply.exported_crates) - receipts[++receipts.len] = list( - "ref" = "\ref[E]", - "contents" = E.contents, - "error" = E.contents["error"], - "title" = list( - list("field" = "Name", "entry" = E.name), - list("field" = "Value", "entry" = E.value) - ) + receipts.Add(list(list( + "ref" = "\ref[E]", + "contents" = E.contents, + "error" = E.contents["error"], + "title" = list( + list("field" = "Name", "entry" = E.name), + list("field" = "Value", "entry" = E.value) ) + ))) - data["user"] = "\ref[user]" - data["currentTab"] = menu_tab // Communicator compatibility, controls which menu is in use data["shuttle_auth"] = (authorization & SUP_SEND_SHUTTLE) // Whether this ui is permitted to control the supply shuttle data["order_auth"] = (authorization & SUP_ACCEPT_ORDERS) // Whether this ui is permitted to accept/deny requested orders data["shuttle"] = shuttle_status data["supply_points"] = SSsupply.points - data["categories"] = all_supply_groups - data["active_category"] = active_category - data["supply_packs"] = pack_list data["orders"] = orders data["receipts"] = receipts data["contraband"] = can_order_contraband || (authorization & SUP_CONTRABAND) + data["modal"] = tgui_modal_data(src) + return data - // update the ui if it exists, returns null if no ui is passed/found - ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open) - if(!ui) - // the ui does not exist, so we'll create a new() one - // for a list of parameters and their descriptions see the code docs in \code\modules\nano\nanoui.dm - ui = new(user, src, ui_key, "supply_records.tmpl", "Supply Console", 475, 700, state = key_state) - // when the ui is first opened this is the data it will use - ui.set_initial_data(data) - // open the new ui window - ui.open() - // auto update every 20 Master Controller tick - ui.set_auto_update(20) // Longer term to reduce the rate of data collection and processing +/obj/machinery/computer/supplycomp/tgui_static_data(mob/user) + var/list/data = ..() + + var/list/pack_list = list() + for(var/pack_name in SSsupply.supply_pack) + var/datum/supply_pack/P = SSsupply.supply_pack[pack_name] + var/list/pack = list( + "name" = P.name, + "cost" = P.cost, + "group" = P.group, + "contraband" = P.contraband, + "manifest" = uniquelist(P.manifest), + "random" = P.num_contained, + "ref" = "\ref[P]" + ) + pack_list.Add(list(pack)) + data["supply_packs"] = pack_list + data["categories"] = all_supply_groups + return data - - -/obj/machinery/computer/supplycomp/Topic(href, href_list) - if(!SSsupply) - to_world_log("## ERROR: The SSsupply datum is missing.") - return - var/datum/shuttle/autodock/ferry/supply/shuttle = SSsupply.shuttle - if (!shuttle) - to_world_log("## ERROR: The supply shuttle datum is missing.") - return +/obj/machinery/computer/supplycomp/tgui_act(action, params) if(..()) - return 1 + return TRUE + if(!SSsupply) + log_runtime(EXCEPTION("## ERROR: The SSsupply datum is missing.")) + return TRUE + var/datum/shuttle/autodock/ferry/supply/shuttle = SSsupply.shuttle + if(!shuttle) + log_runtime(EXCEPTION("## ERROR: The supply shuttle datum is missing.")) + return TRUE - if(isturf(loc) && ( in_range(src, usr) || istype(usr, /mob/living/silicon) ) ) - usr.set_machine(src) + if(tgui_modal_act(src, action, params)) + return TRUE - // NEW TOPIC + switch(action) + if("view_crate") + var/datum/supply_pack/P = locate(params["crate"]) + if(!istype(P)) + return FALSE + var/list/payload = list( + "name" = P.name, + "cost" = P.cost, + "manifest" = uniquelist(P.manifest), + "ref" = "\ref[P]", + "random" = P.num_contained, + ) + tgui_modal_message(src, action, "", null, payload) + . = TRUE + if("request_crate_multi") + var/datum/supply_pack/S = locate(params["ref"]) - // Switch menu - if(href_list["switch_tab"]) - menu_tab = href_list["switch_tab"] + // Invalid ref + if(!istype(S)) + return FALSE - if(href_list["active_category"]) - active_category = href_list["active_category"] - - if(href_list["pack_ref"]) - var/datum/supply_pack/S = locate(href_list["pack_ref"]) - - // Invalid ref - if(!istype(S)) - return - - // Expand the supply pack's contents - if(href_list["expand"]) - expanded_packs ^= S - - // Make a request for the pack - if(href_list["request"]) - var/mob/user = locate(href_list["user"]) - if(!istype(user)) // Invalid ref - return + if(S.contraband && !(authorization & SUP_CONTRABAND || can_order_contraband)) + return FALSE if(world.time < reqtime) visible_message("[src]'s monitor flashes, \"[reqtime - world.time] seconds remaining until another requisition form may be printed.\"") - return + return FALSE + + var/amount = clamp(input(usr, "How many crates? (0 to 20)") as num|null, 0, 20) + if(!amount) + return FALSE var/timeout = world.time + 600 - var/reason = sanitize(input(user, "Reason:","Why do you require this item?","") as null|text) + var/reason = sanitize(input(usr, "Reason:","Why do you require this item?","") as null|text) if(world.time > timeout) - to_chat(user, "Error. Request timed out.") - return + to_chat(usr, "Error. Request timed out.") + return FALSE if(!reason) - return + return FALSE - SSsupply.create_order(S, user, reason) + for(var/i in 1 to amount) + SSsupply.create_order(S, usr, reason) var/idname = "*None Provided*" var/idrank = "*None Provided*" - if(ishuman(user)) - var/mob/living/carbon/human/H = user + if(ishuman(usr)) + var/mob/living/carbon/human/H = usr idname = H.get_authentification_name() idrank = H.get_assignment() - else if(issilicon(user)) - idname = user.real_name + else if(issilicon(usr)) + idname = usr.real_name + idrank = "Stationbound synthetic" + + var/obj/item/weapon/paper/reqform = new /obj/item/weapon/paper(loc) + reqform.name = "Requisition Form - [S.name]" + reqform.info += "

[station_name()] Supply Requisition Form


" + reqform.info += "INDEX: #[SSsupply.ordernum]
" + reqform.info += "REQUESTED BY: [idname]
" + reqform.info += "RANK: [idrank]
" + reqform.info += "REASON: [reason]
" + reqform.info += "SUPPLY CRATE TYPE: [S.name]
" + reqform.info += "ACCESS RESTRICTION: [get_access_desc(S.access)]
" + reqform.info += "AMOUNT: [amount]
" + reqform.info += "CONTENTS:
" + reqform.info += S.get_html_manifest() + reqform.info += "
" + reqform.info += "STAMP BELOW TO APPROVE THIS REQUISITION:
" + + reqform.update_icon() //Fix for appearing blank when printed. + reqtime = (world.time + 5) % 1e5 + . = TRUE + + if("request_crate") + var/datum/supply_pack/S = locate(params["ref"]) + + // Invalid ref + if(!istype(S)) + return FALSE + + if(S.contraband && !(authorization & SUP_CONTRABAND || can_order_contraband)) + return FALSE + + if(world.time < reqtime) + visible_message("[src]'s monitor flashes, \"[reqtime - world.time] seconds remaining until another requisition form may be printed.\"") + return FALSE + + var/timeout = world.time + 600 + var/reason = sanitize(input(usr, "Reason:","Why do you require this item?","") as null|text) + if(world.time > timeout) + to_chat(usr, "Error. Request timed out.") + return FALSE + if(!reason) + return FALSE + + SSsupply.create_order(S, usr, reason) + + var/idname = "*None Provided*" + var/idrank = "*None Provided*" + if(ishuman(usr)) + var/mob/living/carbon/human/H = usr + idname = H.get_authentification_name() + idrank = H.get_assignment() + else if(issilicon(usr)) + idname = usr.real_name idrank = "Stationbound synthetic" var/obj/item/weapon/paper/reqform = new /obj/item/weapon/paper(loc) @@ -268,24 +314,19 @@ reqform.update_icon() //Fix for appearing blank when printed. reqtime = (world.time + 5) % 1e5 - - if(href_list["order_ref"]) - var/datum/supply_order/O = locate(href_list["order_ref"]) - - // Invalid ref - if(!istype(O)) - return - - var/mob/user = locate(href_list["user"]) - if(!istype(user)) // Invalid ref - return - - if(href_list["edit"]) - var/new_val = sanitize(input(user, href_list["edit"], "Enter the new value for this field:", href_list["default"]) as null|text) + . = TRUE + // Approving Orders + if("edit_order_value") + var/datum/supply_order/O = locate(params["ref"]) + if(!istype(O)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + var/new_val = sanitize(input(usr, params["edit"], "Enter the new value for this field:", params["default"]) as null|text) if(!new_val) - return + return FALSE - switch(href_list["edit"]) + switch(params["edit"]) if("Supply Pack") O.name = new_val @@ -313,68 +354,95 @@ if("Approved at") O.approved_at = new_val + . = TRUE + if("approve_order") + var/datum/supply_order/O = locate(params["ref"]) + if(!istype(O)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.approve_order(O, usr) + . = TRUE + if("deny_order") + var/datum/supply_order/O = locate(params["ref"]) + if(!istype(O)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.deny_order(O, usr) + . = TRUE + if("delete_order") + var/datum/supply_order/O = locate(params["ref"]) + if(!istype(O)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.delete_order(O, usr) + . = TRUE + if("clear_all_requests") + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.deny_all_pending(usr) + . = TRUE + // Exports + if("export_edit_field") + var/datum/exported_crate/E = locate(params["ref"]) + // Invalid ref + if(!istype(E)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + var/list/L = E.contents[params["index"]] + var/field = alert(usr, "Select which field to edit", , "Name", "Quantity", "Value") - if(href_list["approve"]) - SSsupply.approve_order(O, user) - - if(href_list["deny"]) - SSsupply.deny_order(O, user) - - if(href_list["delete"]) - SSsupply.delete_order(O, user) - - if(href_list["clear_all_requests"]) - var/mob/user = locate(href_list["user"]) - if(!istype(user)) // Invalid ref - return - - SSsupply.deny_all_pending(user) - - if(href_list["export_ref"]) - var/datum/exported_crate/E = locate(href_list["export_ref"]) - - // Invalid ref - if(!istype(E)) - return - - var/mob/user = locate(href_list["user"]) - if(!istype(user)) // Invalid ref - return - - if(href_list["index"]) - var/list/L = E.contents[href_list["index"]] - - if(href_list["edit"]) - var/field = alert(user, "Select which field to edit", , "Name", "Quantity", "Value") - - var/new_val = sanitize(input(user, href_list["edit"], "Enter the new value for this field:", href_list["default"]) as null|text) - if(!new_val) - return - - switch(field) - if("Name") - L["object"] = new_val - - if("Quantity") - var/num = text2num(new_val) - if(num) - L["quantity"] = num - - if("Value") - var/num = text2num(new_val) - if(num) - L["value"] = num - - if(href_list["delete"]) - E.contents.Cut(href_list["index"], href_list["index"] + 1) - - // Else clause means they're editing/deleting the whole export report, rather than a specific item in it - else if(href_list["edit"]) - var/new_val = sanitize(input(user, href_list["edit"], "Enter the new value for this field:", href_list["default"]) as null|text) + var/new_val = sanitize(input(usr, field, "Enter the new value for this field:", L[lowertext(field)]) as null|text) if(!new_val) return - switch(href_list["edit"]) + switch(field) + if("Name") + L["object"] = new_val + + if("Quantity") + var/num = text2num(new_val) + if(num) + L["quantity"] = num + + if("Value") + var/num = text2num(new_val) + if(num) + L["value"] = num + . = TRUE + if("export_delete_field") + var/datum/exported_crate/E = locate(params["ref"]) + // Invalid ref + if(!istype(E)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + E.contents.Cut(params["index"], params["index"] + 1) + . = TRUE + if("export_add_field") + var/datum/exported_crate/E = locate(params["ref"]) + // Invalid ref + if(!istype(E)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.add_export_item(E, usr) + . = TRUE + if("export_edit") + var/datum/exported_crate/E = locate(params["ref"]) + // Invalid ref + if(!istype(E)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + var/new_val = sanitize(input(usr, params["edit"], "Enter the new value for this field:", params["default"]) as null|text) + if(!new_val) + return + + switch(params["edit"]) if("Name") E.name = new_val @@ -382,39 +450,39 @@ var/num = text2num(new_val) if(num) E.value = num + . = TRUE + if("export_delete") + var/datum/exported_crate/E = locate(params["ref"]) + // Invalid ref + if(!istype(E)) + return FALSE + if(!(authorization & SUP_ACCEPT_ORDERS)) + return FALSE + SSsupply.delete_export(E, usr) + . = TRUE + if("send_shuttle") + switch(params["mode"]) + if("send_away") + if (shuttle.forbidden_atoms_check()) + to_chat(usr, "For safety reasons the automated supply shuttle cannot transport live organisms, classified nuclear weaponry or homing beacons.") + else + shuttle.launch(src) + to_chat(usr, "Initiating launch sequence.") - else if(href_list["delete"]) - SSsupply.delete_export(E, user) + if("send_to_station") + shuttle.launch(src) + to_chat(usr, "The supply shuttle has been called and will arrive in approximately [round(SSsupply.movetime/600,1)] minutes.") - else if(href_list["add_item"]) - SSsupply.add_export_item(E, user) + if("cancel_shuttle") + shuttle.cancel_launch(src) - - - switch(href_list["send_shuttle"]) - if("send_away") - if (shuttle.forbidden_atoms_check()) - to_chat(usr, "For safety reasons the automated supply shuttle cannot transport live organisms, classified nuclear weaponry or homing beacons.") - else - shuttle.launch(src) - to_chat(usr, "Initiating launch sequence.") - - if("send_to_station") - shuttle.launch(src) - to_chat(usr, "The supply shuttle has been called and will arrive in approximately [round(SSsupply.movetime/600,1)] minutes.") - - if("cancel_shuttle") - shuttle.cancel_launch(src) - - if("force_shuttle") - shuttle.force_launch(src) + if("force_shuttle") + shuttle.force_launch(src) + . = TRUE add_fingerprint(usr) - updateUsrDialog() - return /obj/machinery/computer/supplycomp/proc/post_signal(var/command) - var/datum/radio_frequency/frequency = radio_controller.return_frequency(1435) if(!frequency) return diff --git a/tgui/packages/tgui/format.js b/tgui/packages/tgui/format.js index db21025bdf..8bddc19bff 100644 --- a/tgui/packages/tgui/format.js +++ b/tgui/packages/tgui/format.js @@ -103,4 +103,13 @@ export const formatCommaNumber = value => { let parts = value.toString().split("."); parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ","); return parts.join("."); -}; \ No newline at end of file + +// Function from https://stackoverflow.com/a/34841026. CC BY-SA 4.0. +export const formatTime = seconds => { + let hours = Math.floor(seconds / 3600); + let minutes = Math.floor(seconds / 60) % 60; + return [hours, minutes, seconds % 60] + .map(v => v < 10 ? "0" + v : v) + .filter((v, i) => v !== "00" || i > 0) + .join(":"); +}; diff --git a/tgui/packages/tgui/interfaces/SupplyConsole.js b/tgui/packages/tgui/interfaces/SupplyConsole.js new file mode 100644 index 0000000000..69ee550849 --- /dev/null +++ b/tgui/packages/tgui/interfaces/SupplyConsole.js @@ -0,0 +1,439 @@ +import { filter, sortBy } from 'common/collections'; +import { round } from "common/math"; +import { Fragment } from "inferno"; +import { formatTime } from "../format"; +import { useBackend, useLocalState } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, Tabs, Collapsible, AnimatedNumber } from "../components"; +import { ComplexModal, modalRegisterBodyOverride } from '../interfaces/common/ComplexModal'; +import { Window } from "../layouts"; +import { flow } from 'common/fp'; + +const viewCrateContents = (modal, context) => { + const { act, data } = useBackend(context); + const { + supply_points, + } = data; + const { + name, + cost, + manifest, + ref, + random, + } = modal.args; + return ( +
supply_points} + onClick={() => act("request_crate", { ref: ref })} /> + }> +
+ {manifest.map(m => ( + + {m} + + ))} +
+
+ ); +}; + +export const SupplyConsole = (props, context) => { + const { act, data } = useBackend(context); + modalRegisterBodyOverride("view_crate", viewCrateContents); + return ( + + + +
+ + +
+
+
+ ); +}; + +const SupplyConsoleShuttleStatus = (props, context) => { + const { act, data } = useBackend(context); + + const { + supply_points, + shuttle, + shuttle_auth, + } = data; + + let shuttle_buttons = null; + let showShuttleForce = false; + + if (shuttle_auth) { + if (shuttle.launch === 1 && shuttle.mode === 0) { + shuttle_buttons = ( + + + ); +}; + +const RequestConsoleSupplies = (props, context) => { + const { act, data } = useBackend(context); + const { + department, + supply_dept, + } = data; + return ( +
+ +
+ ); +}; + +const RequestConsoleAssistance = (props, context) => { + const { act, data } = useBackend(context); + const { + department, + assist_dept, + } = data; + return ( +
+ +
+ ); +}; + +const RequestConsoleRelay = (props, context) => { + const { act, data } = useBackend(context); + const { + department, + info_dept, + } = data; + return ( +
+ +
+ ); +}; + +const RequestConsoleSendMenu = (props, context) => { + const { act } = useBackend(context); + const { + dept_list, + department, + } = props; + return ( + + {dept_list.sort().map(dept => dept !== department && ( + + + + + } /> + ) || null)} + + ); +}; + +const RequestConsoleSendPass = (props, context) => { + const { act, data } = useBackend(context); + return ( +
+ + Message Sent Successfully + + + + +
+ ); +}; + +const RequestConsoleSendFail = (props, context) => { + const { act, data } = useBackend(context); + return ( +
+ + An error occured. Message Not Sent. + + + + +
+ ); +}; + +const RequestConsoleViewMessages = (props, context) => { + const { act, data } = useBackend(context); + const { + message_log, + } = data; + return ( +
+ {(message_log.length && message_log.map((msg, i) => ( + act("print", { print: i + 1 })}> + Print + + }> + {decodeHtmlEntities(msg[1])} + + ))) || ( + + No messages. + + )} +
+ ); +}; + +const RequestConsoleMessageAuth = (props, context) => { + const { act, data } = useBackend(context); + const { + message, + recipient, + priority, + msgStamped, + msgVerified, + } = data; + return ( +
+ + + {message} + + + {priority === 2 ? "High Priority" : (priority === 1 ? "Normal Priority" : "Unknown")} + + + {decodeHtmlEntities(msgVerified) || "No Validation"} + + + {decodeHtmlEntities(msgStamped) || "No Stamp"} + + + + +
+ ); +}; + +const RequestConsoleAnnounce = (props, context) => { + const { act, data } = useBackend(context); + const { + department, + screen, + message_log, + newmessagepriority, + silent, + announcementConsole, + assist_dept, + supply_dept, + info_dept, + message, + recipient, + priority, + msgStamped, + msgVerified, + announceAuth, + } = data; + return ( +
+ {announceAuth && ( + + + ID Verified. Authentication Accepted. + +
act("writeAnnouncement")}> + Edit + + }> + {message || "No Message"} +
+
+ ) || ( + + Swipe your ID card to authenticate yourself. + + )} + + +
+ ); +}; + +let screenToTemplate = {}; +screenToTemplate[RCS_MAINMENU] = RequestConsoleSettings; +screenToTemplate[RCS_RQASSIST] = RequestConsoleAssistance; +screenToTemplate[RCS_RQSUPPLY] = RequestConsoleSupplies; +screenToTemplate[RCS_SENDINFO] = RequestConsoleRelay; +screenToTemplate[RCS_SENTPASS] = RequestConsoleSendPass; +screenToTemplate[RCS_SENTFAIL] = RequestConsoleSendFail; +screenToTemplate[RCS_VIEWMSGS] = RequestConsoleViewMessages; +screenToTemplate[RCS_MESSAUTH] = RequestConsoleMessageAuth; +screenToTemplate[RCS_ANNOUNCE] = RequestConsoleAnnounce; + +export const RequestConsole = (props, context) => { + const { act, data } = useBackend(context); + const { + screen, + newmessagepriority, + announcementConsole, + } = data; + + let BodyElement = screenToTemplate[screen]; + + return ( + + + + act("setScreen", { setScreen: RCS_VIEWMSGS })} + icon="envelope-open-text"> + Messages + + act("setScreen", { setScreen: RCS_RQASSIST })} + icon="share-square"> + Assistance + + act("setScreen", { setScreen: RCS_RQSUPPLY })} + icon="share-square"> + Supplies + + act("setScreen", { setScreen: RCS_SENDINFO })} + icon="share-square-o"> + Report + + {announcementConsole && ( + act("setScreen", { setScreen: RCS_ANNOUNCE })} + icon="volume-up"> + Announce + + ) || null} + act("setScreen", { setScreen: RCS_MAINMENU })} + icon="cog" /> + + {newmessagepriority && ( +
1 ? "NEW PRIORITY MESSAGES" : "There are new messages!"} + color={newmessagepriority > 1 ? "bad" : "average"} bold={newmessagepriority > 1} /> + ) || null} + + + + ); +}; \ No newline at end of file From 510162d2d54902f89fc018f1c3e990056ca10b71 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Sat, 15 Aug 2020 16:05:22 -0700 Subject: [PATCH 022/149] TGUI Mining Equipment Vendor --- .../equipment_vendor.dm | 316 ++++++++++-------- tgui/packages/tgui/interfaces/MiningVendor.js | 217 ++++++++++++ 2 files changed, 398 insertions(+), 135 deletions(-) create mode 100644 tgui/packages/tgui/interfaces/MiningVendor.js diff --git a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm index 822dccaf57..90fa2659aa 100644 --- a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm +++ b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm @@ -1,3 +1,9 @@ +// Use this define to register something as a purchasable! +// * n — The proper name of the purchasable +// * o — The object type path of the purchasable to spawn +// * p — The price of the purchasable in mining points +#define EQUIPMENT(n, o, p) n = new /datum/data/mining_equipment(n, o, p) + /**********************Mining Equipment Locker**************************/ /obj/machinery/mineral/equipment_vendor @@ -11,81 +17,8 @@ var/icon_vend = "adh-tool-vend" circuit = /obj/item/weapon/circuitboard/mining_equipment_vendor var/obj/item/weapon/card/id/inserted_id - //VOREStation Edit Start - Heavily modified list - var/list/prize_list = list( - new /datum/data/mining_equipment("1 Marker Beacon", /obj/item/stack/marker_beacon, 10), - new /datum/data/mining_equipment("10 Marker Beacons", /obj/item/stack/marker_beacon/ten, 100), - new /datum/data/mining_equipment("30 Marker Beacons", /obj/item/stack/marker_beacon/thirty, 300), - new /datum/data/mining_equipment("Whiskey", /obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey, 125), - new /datum/data/mining_equipment("Absinthe", /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe, 125), - new /datum/data/mining_equipment("Cigar", /obj/item/clothing/mask/smokable/cigarette/cigar/havana, 150), - new /datum/data/mining_equipment("Soap", /obj/item/weapon/soap/nanotrasen, 200), - new /datum/data/mining_equipment("Laser Pointer", /obj/item/device/laser_pointer, 900), - new /datum/data/mining_equipment("Geiger Counter", /obj/item/device/geiger, 750), - new /datum/data/mining_equipment("Plush Toy", /obj/random/plushie, 300), - new /datum/data/mining_equipment("GPS Device", /obj/item/device/gps/mining, 100), - // TODO new /datum/data/mining_equipment("Advanced Scanner", /obj/item/device/t_scanner/adv_mining_scanner, 800), - new /datum/data/mining_equipment("Fulton Beacon", /obj/item/fulton_core, 500), - new /datum/data/mining_equipment("Shelter Capsule", /obj/item/device/survivalcapsule, 500), - // TODO new /datum/data/mining_equipment("Explorer's Webbing", /obj/item/storage/belt/mining, 500), - new /datum/data/mining_equipment("Umbrella", /obj/item/weapon/melee/umbrella/random, 200), - new /datum/data/mining_equipment("Point Transfer Card", /obj/item/weapon/card/mining_point_card, 500), - new /datum/data/mining_equipment("Trauma Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/trauma, 250), - new /datum/data/mining_equipment("Burn Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/burn, 250), - new /datum/data/mining_equipment("Oxy Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/oxy, 250), - new /datum/data/mining_equipment("Detox Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/detox, 250), - new /datum/data/mining_equipment("Mini-Translocator", /obj/item/device/perfect_tele/one_beacon, 1200), - // new /datum/data/mining_equipment("Kinetic Crusher", /obj/item/twohanded/required/kinetic_crusher, 750), - new /datum/data/mining_equipment("Kinetic Accelerator", /obj/item/weapon/gun/energy/kinetic_accelerator, 900), - new /datum/data/mining_equipment("Resonator", /obj/item/resonator, 900), - new /datum/data/mining_equipment("Fulton Pack", /obj/item/extraction_pack, 1200), - new /datum/data/mining_equipment("Silver Pickaxe", /obj/item/weapon/pickaxe/silver, 1200), - // new /datum/data/mining_equipment("Mining Conscription Kit", /obj/item/storage/backpack/duffelbag/mining_conscript, 1000), - new /datum/data/mining_equipment("Thalers - 100", /obj/item/weapon/spacecash/c100, 1000), - new /datum/data/mining_equipment("Hardsuit - Control Module", /obj/item/weapon/rig/industrial/vendor, 2000), - new /datum/data/mining_equipment("Hardsuit - Plasma Cutter", /obj/item/rig_module/device/plasmacutter, 800), - new /datum/data/mining_equipment("Hardsuit - Drill", /obj/item/rig_module/device/drill, 5000), - new /datum/data/mining_equipment("Hardsuit - Ore Scanner", /obj/item/rig_module/device/orescanner, 1000), - new /datum/data/mining_equipment("Hardsuit - Material Scanner", /obj/item/rig_module/vision/material, 500), - new /datum/data/mining_equipment("Hardsuit - Maneuvering Jets", /obj/item/rig_module/maneuvering_jets, 1250), - new /datum/data/mining_equipment("Hardsuit - Intelligence Storage", /obj/item/rig_module/ai_container, 2500), - new /datum/data/mining_equipment("Hardsuit - Smoke Bomb Deployer", /obj/item/rig_module/grenade_launcher/smoke, 2000), - new /datum/data/mining_equipment("Industrial Equipment - Phoron Bore", /obj/item/weapon/gun/magnetic/matfed, 3000), - new /datum/data/mining_equipment("Industrial Equipment - Sheet-Snatcher",/obj/item/weapon/storage/bag/sheetsnatcher, 500), - new /datum/data/mining_equipment("Digital Tablet - Standard", /obj/item/modular_computer/tablet/preset/custom_loadout/standard, 500), - new /datum/data/mining_equipment("Digital Tablet - Advanced", /obj/item/modular_computer/tablet/preset/custom_loadout/advanced, 1000), - // new /datum/data/mining_equipment("Diamond Pickaxe", /obj/item/weapon/pickaxe/diamond, 2000), - new /datum/data/mining_equipment("Super Resonator", /obj/item/resonator/upgraded, 2500), - new /datum/data/mining_equipment("Jump Boots", /obj/item/clothing/shoes/bhop, 2500), - new /datum/data/mining_equipment("Luxury Shelter Capsule", /obj/item/device/survivalcapsule/luxury, 3100), - new /datum/data/mining_equipment("Bar Shelter Capsule", /obj/item/device/survivalcapsule/luxurybar, 10000), - new /datum/data/mining_equipment("KA White Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer, 125), - new /datum/data/mining_equipment("KA Adjustable Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer/adjustable, 175), - new /datum/data/mining_equipment("KA Super Chassis", /obj/item/borg/upgrade/modkit/chassis_mod, 250), - new /datum/data/mining_equipment("KA Hyper Chassis", /obj/item/borg/upgrade/modkit/chassis_mod/orange, 300), - new /datum/data/mining_equipment("KA Range Increase", /obj/item/borg/upgrade/modkit/range, 1000), - new /datum/data/mining_equipment("KA Damage Increase", /obj/item/borg/upgrade/modkit/damage, 1000), - new /datum/data/mining_equipment("KA Efficiency Increase", /obj/item/borg/upgrade/modkit/efficiency, 1200), - new /datum/data/mining_equipment("KA AoE Damage", /obj/item/borg/upgrade/modkit/aoe/mobs, 2000), - new /datum/data/mining_equipment("KA Holster", /obj/item/clothing/accessory/holster/waist/kinetic_accelerator, 350), - new /datum/data/mining_equipment("Fine Excavation Kit - Chisels",/obj/item/weapon/storage/excavation, 500), - new /datum/data/mining_equipment("Fine Excavation Kit - Measuring Tape",/obj/item/device/measuring_tape, 125), - new /datum/data/mining_equipment("Fine Excavation Kit - Hand Pick",/obj/item/weapon/pickaxe/hand, 375), - new /datum/data/mining_equipment("Explosive Excavation Kit - Plastic Charge",/obj/item/weapon/plastique/seismic/locked, 1500), - new /datum/data/mining_equipment("Injector (L) - Glucose",/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/glucose, 500), - new /datum/data/mining_equipment("Injector (L) - Panacea",/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/purity, 500), - new /datum/data/mining_equipment("Injector (L) - Trauma",/obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/brute, 500), - new /datum/data/mining_equipment("Nanopaste Tube", /obj/item/stack/nanopaste, 1000), - new /datum/data/mining_equipment("Defense Equipment - Smoke Bomb",/obj/item/weapon/grenade/smokebomb, 100), - new /datum/data/mining_equipment("Defense Equipment - Razor Drone Deployer",/obj/item/weapon/grenade/spawnergrenade/manhacks/station/locked, 1000), - new /datum/data/mining_equipment("Defense Equipment - Sentry Drone Deployer",/obj/item/weapon/grenade/spawnergrenade/ward, 1500), - new /datum/data/mining_equipment("Defense Equipment - Plasteel Machete", /obj/item/weapon/material/knife/machete, 500), - new /datum/data/mining_equipment("Fishing Net", /obj/item/weapon/material/fishing_net, 500), - new /datum/data/mining_equipment("Titanium Fishing Rod", /obj/item/weapon/material/fishing_rod/modern, 1000), - new /datum/data/mining_equipment("Durasteel Fishing Rod", /obj/item/weapon/material/fishing_rod/modern/strong, 7500), - new /datum/data/mining_equipment("Survival Equipment - Insulated Poncho", /obj/random/thermalponcho, 750) - ) - //VOREStation Edit End + var/list/prize_list // Initialized just below! (if you're wondering why - check CONTRIBUTING.md, look for: "hidden" init proc) + var/dirty_items = FALSE // Used to refresh the static/redundant data in case the machine gets VV'd /datum/data/mining_equipment var/equipment_name = "generic" @@ -97,9 +30,96 @@ src.equipment_path = path src.cost = cost -/obj/machinery/power/quantumpad/Initialize() +/obj/machinery/mineral/equipment_vendor/Initialize(mapload) . = ..() - default_apply_parts() + //VOREStation Edit Start - Heavily modified list + prize_list = list() + prize_list["Gear"] = list( + // TODO EQUIPMENT("Advanced Scanner", /obj/item/device/t_scanner/adv_mining_scanner, 800), + // TODO EQUIPMENT("Explorer's Webbing", /obj/item/storage/belt/mining, 500), + EQUIPMENT("Defense Equipment - Smoke Bomb", /obj/item/weapon/grenade/smokebomb, 100), + EQUIPMENT("Defense Equipment - Razor Drone Deployer", /obj/item/weapon/grenade/spawnergrenade/manhacks/station/locked, 1000), + EQUIPMENT("Defense Equipment - Sentry Drone Deployer", /obj/item/weapon/grenade/spawnergrenade/ward, 1500), + EQUIPMENT("Defense Equipment - Plasteel Machete", /obj/item/weapon/material/knife/machete, 500), + EQUIPMENT("Durasteel Fishing Rod", /obj/item/weapon/material/fishing_rod/modern/strong, 7500), + EQUIPMENT("Fishing Net", /obj/item/weapon/material/fishing_net, 500), + EQUIPMENT("Titanium Fishing Rod", /obj/item/weapon/material/fishing_rod/modern, 1000), + EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 500), + EQUIPMENT("Geiger Counter", /obj/item/device/geiger, 750), + EQUIPMENT("GPS Device", /obj/item/device/gps/mining, 100), + // EQUIPMENT("Mining Conscription Kit", /obj/item/storage/backpack/duffelbag/mining_conscript, 1000), + EQUIPMENT("Jump Boots", /obj/item/clothing/shoes/bhop, 2500), + EQUIPMENT("Mini-Translocator", /obj/item/device/perfect_tele/one_beacon, 1200), + EQUIPMENT("Survival Equipment - Insulated Poncho", /obj/random/thermalponcho, 750), + + ) + prize_list["Consumables"] = list( + EQUIPMENT("1 Marker Beacon", /obj/item/stack/marker_beacon, 10), + EQUIPMENT("10 Marker Beacons", /obj/item/stack/marker_beacon/ten, 100), + EQUIPMENT("30 Marker Beacons", /obj/item/stack/marker_beacon/thirty, 300), + EQUIPMENT("Fulton Pack", /obj/item/extraction_pack, 1200), + EQUIPMENT("Point Transfer Card", /obj/item/weapon/card/mining_point_card, 500), + EQUIPMENT("Shelter Capsule", /obj/item/device/survivalcapsule, 500), + EQUIPMENT("Trauma Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/trauma, 250), + EQUIPMENT("Burn Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/burn, 250), + EQUIPMENT("Oxy Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/oxy, 250), + EQUIPMENT("Detox Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/detox, 250), + EQUIPMENT("Injector (L) - Glucose", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/glucose, 500), + EQUIPMENT("Injector (L) - Panacea", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/purity, 500), + EQUIPMENT("Injector (L) - Trauma", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/brute, 500), + EQUIPMENT("Nanopaste Tube", /obj/item/stack/nanopaste, 1000), + ) + prize_list["Kinetic Accelerator"] = list( + EQUIPMENT("Kinetic Accelerator", /obj/item/weapon/gun/energy/kinetic_accelerator, 900), + EQUIPMENT("KA White Tracer Rounds", /obj/item/borg/upgrade/modkit/tracer, 125), + EQUIPMENT("KA Adjustable Tracer Rounds",/obj/item/borg/upgrade/modkit/tracer/adjustable, 175), + EQUIPMENT("KA Super Chassis", /obj/item/borg/upgrade/modkit/chassis_mod, 250), + EQUIPMENT("KA Hyper Chassis", /obj/item/borg/upgrade/modkit/chassis_mod/orange, 300), + EQUIPMENT("KA Range Increase", /obj/item/borg/upgrade/modkit/range, 1000), + EQUIPMENT("KA Damage Increase", /obj/item/borg/upgrade/modkit/damage, 1000), + EQUIPMENT("KA Efficiency Increase", /obj/item/borg/upgrade/modkit/efficiency, 1200), + EQUIPMENT("KA AoE Damage", /obj/item/borg/upgrade/modkit/aoe/mobs, 2000), + EQUIPMENT("KA Holster", /obj/item/clothing/accessory/holster/waist/kinetic_accelerator, 350), + ) + prize_list["Digging Tools"] = list( + // EQUIPMENT("Diamond Pickaxe", /obj/item/weapon/pickaxe/diamond, 2000), + // EQUIPMENT("Kinetic Crusher", /obj/item/twohanded/required/kinetic_crusher, 750), + EQUIPMENT("Resonator", /obj/item/resonator, 900), + EQUIPMENT("Silver Pickaxe", /obj/item/weapon/pickaxe/silver, 1200), + EQUIPMENT("Super Resonator", /obj/item/resonator/upgraded, 2500), + EQUIPMENT("Fine Excavation Kit - Chisels", /obj/item/weapon/storage/excavation, 500), + EQUIPMENT("Fine Excavation Kit - Measuring Tape", /obj/item/device/measuring_tape, 125), + EQUIPMENT("Fine Excavation Kit - Hand Pick", /obj/item/weapon/pickaxe/hand, 375), + EQUIPMENT("Explosive Excavation Kit - Plastic Charge",/obj/item/weapon/plastique/seismic/locked, 1500), + ) + prize_list["Hardsuit"] = list( + EQUIPMENT("Hardsuit - Control Module", /obj/item/weapon/rig/industrial/vendor, 2000), + EQUIPMENT("Hardsuit - Plasma Cutter", /obj/item/rig_module/device/plasmacutter, 800), + EQUIPMENT("Hardsuit - Drill", /obj/item/rig_module/device/drill, 5000), + EQUIPMENT("Hardsuit - Ore Scanner", /obj/item/rig_module/device/orescanner, 1000), + EQUIPMENT("Hardsuit - Material Scanner", /obj/item/rig_module/vision/material, 500), + EQUIPMENT("Hardsuit - Maneuvering Jets", /obj/item/rig_module/maneuvering_jets, 1250), + EQUIPMENT("Hardsuit - Intelligence Storage",/obj/item/rig_module/ai_container, 2500), + EQUIPMENT("Hardsuit - Smoke Bomb Deployer", /obj/item/rig_module/grenade_launcher/smoke,2000), + ) + prize_list["Miscellaneous"] = list( + EQUIPMENT("Absinthe", /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe, 125), + EQUIPMENT("Bar Shelter Capsule", /obj/item/device/survivalcapsule/luxurybar, 10000), + EQUIPMENT("Cigar", /obj/item/clothing/mask/smokable/cigarette/cigar/havana, 150), + EQUIPMENT("Digital Tablet - Standard", /obj/item/modular_computer/tablet/preset/custom_loadout/standard, 500), + EQUIPMENT("Digital Tablet - Advanced", /obj/item/modular_computer/tablet/preset/custom_loadout/advanced, 1000), + EQUIPMENT("Industrial Equipment - Phoron Bore", /obj/item/weapon/gun/magnetic/matfed, 3000), + EQUIPMENT("Industrial Equipment - Sheet-Snatcher",/obj/item/weapon/storage/bag/sheetsnatcher, 500), + EQUIPMENT("Laser Pointer", /obj/item/device/laser_pointer, 900), + EQUIPMENT("Luxury Shelter Capsule", /obj/item/device/survivalcapsule/luxury, 3100), + EQUIPMENT("Plush Toy", /obj/random/plushie, 300), + EQUIPMENT("Soap", /obj/item/weapon/soap/nanotrasen, 200), + EQUIPMENT("Thalers - 100", /obj/item/weapon/spacecash/c100, 1000), + EQUIPMENT("Umbrella", /obj/item/weapon/melee/umbrella/random, 200), + EQUIPMENT("Whiskey", /obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey, 125), + ) + prize_list["Extra"] = list() // Used in child vendors + //VOREStation Edit End /obj/machinery/mineral/equipment_vendor/power_change() var/old_stat = stat @@ -126,73 +146,92 @@ /obj/machinery/mineral/equipment_vendor/attack_hand(mob/user) if(..()) return - interact(user) + tgui_interact(user) /obj/machinery/mineral/equipment_vendor/attack_ghost(mob/user) - interact(user) + tgui_interact(user) -/obj/machinery/mineral/equipment_vendor/interact(mob/user) - user.set_machine(src) +/obj/machinery/mineral/equipment_vendor/tgui_data(mob/user) + var/list/data = ..() - var/dat - dat +="
" - if(istype(inserted_id)) - dat += "You have [inserted_id.mining_points] mining points collected. Eject ID.
" + // ID + if(inserted_id) + data["has_id"] = TRUE + data["id"] = list( + "name" = inserted_id.registered_name, + "points" = inserted_id.mining_points, + ) else - dat += "No ID inserted. Insert ID.
" - dat += "
" - dat += "
Equipment point cost list:
" - for(var/datum/data/mining_equipment/prize in prize_list) - dat += "" - dat += "
[prize.equipment_name][prize.cost]Purchase
" - var/datum/browser/popup = new(user, "miningvendor", "Mining Equipment Vendor", 400, 600) - popup.set_content(dat) - popup.open() + data["has_id"] = FALSE -/obj/machinery/mineral/equipment_vendor/Topic(href, href_list) + return data + +/obj/machinery/mineral/equipment_vendor/tgui_static_data(mob/user) + var/list/static_data[0] + + // Available items - in static data because we don't wanna compute this list every time! It hardly changes. + static_data["items"] = list() + for(var/cat in prize_list) + var/list/cat_items = list() + for(var/prize_name in prize_list[cat]) + var/datum/data/mining_equipment/prize = prize_list[cat][prize_name] + cat_items[prize_name] = list("name" = prize_name, "price" = prize.cost) + static_data["items"][cat] = cat_items + + return static_data + +/obj/machinery/mineral/equipment_vendor/vv_edit_var(var_name, var_value) + // Gotta update the static data in case an admin VV's the items for some reason..! + if(var_name == "prize_list") + dirty_items = TRUE + return ..() + +/obj/machinery/mineral/equipment_vendor/tgui_interact(mob/user, datum/tgui/ui = null) + // Update static data if need be + if(dirty_items) + update_tgui_static_data(user, ui) + dirty_items = FALSE + + // Open the window + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "MiningVendor", name) + ui.open() + ui.set_autoupdate(FALSE) + + +/obj/machinery/mineral/equipment_vendor/tgui_act(action, params) if(..()) - return 1 + return - if(href_list["choice"]) - if(istype(inserted_id)) - if(href_list["choice"] == "eject") - to_chat(usr, "You eject the ID from [src]'s card slot.") - usr.put_in_hands(inserted_id) - inserted_id = null - else if(href_list["choice"] == "insert") - var/obj/item/weapon/card/id/I = usr.get_active_hand() - if(istype(I) && !inserted_id && usr.unEquip(I)) - I.forceMove(src) - inserted_id = I - interact(usr) - to_chat(usr, "You insert the ID into [src]'s card slot.") - else - to_chat(usr, "No valid ID.") - flick(icon_deny, src) - - if(href_list["purchase"]) - if(istype(inserted_id)) - var/datum/data/mining_equipment/prize = locate(href_list["purchase"]) - if (!prize || !(prize in prize_list)) - to_chat(usr, "Error: Invalid choice!") - flick(icon_deny, src) + . = TRUE + switch(action) + if("logoff") + if(!inserted_id) return - if(prize.cost > inserted_id.mining_points) - to_chat(usr, "Error: Insufficent points for [prize.equipment_name]!") - flick(icon_deny, src) - else - inserted_id.mining_points -= prize.cost - to_chat(usr, "[src] clanks to life briefly before vending [prize.equipment_name]!") - new prize.equipment_path(drop_location()) - flick(icon_vend, src) + usr.put_in_hands(inserted_id) + inserted_id = null + if("purchase") + if(!inserted_id) + return + var/category = params["cat"] // meow + var/name = params["name"] + if(!(category in prize_list) || !(name in prize_list[category])) // Not trying something that's not in the list, are you? + return + var/datum/data/mining_equipment/prize = prize_list[category][name] + if(prize.cost > inserted_id.mining_points) // shouldn't be able to access this since the button is greyed out, but.. + to_chat(usr, "You have insufficient points.") + return + + inserted_id.mining_points -= prize.cost + new prize.equipment_path(loc) else - to_chat(usr, "Error: Please insert a valid ID!") - flick(icon_deny, src) - updateUsrDialog() + return FALSE + add_fingerprint() + /obj/machinery/mineral/equipment_vendor/attackby(obj/item/I, mob/user, params) if(default_deconstruction_screwdriver(user, I)) - updateUsrDialog() return if(default_part_replacement(user, I)) return @@ -201,7 +240,7 @@ if(istype(I, /obj/item/mining_voucher)) if(!powered()) return - RedeemVoucher(I, user) + redeem_voucher(I, user) return if(istype(I,/obj/item/weapon/card/id)) if(!powered()) @@ -209,16 +248,23 @@ else if(!inserted_id && user.unEquip(I)) I.forceMove(src) inserted_id = I - interact(user) + tgui_interact(user) return - ..() + return ..() /obj/machinery/mineral/equipment_vendor/dismantle() if(inserted_id) inserted_id.forceMove(loc) //Prevents deconstructing the ORM from deleting whatever ID was inside it. . = ..() -/obj/machinery/mineral/equipment_vendor/proc/RedeemVoucher(obj/item/mining_voucher/voucher, mob/redeemer) +/** + * Called when someone slaps the machine with a mining voucher + * + * Arguments: + * * voucher - The voucher card item + * * redeemer - The person holding it + */ +/obj/machinery/mineral/equipment_vendor/proc/redeem_voucher(obj/item/mining_voucher/voucher, mob/redeemer) var/selection = input(redeemer, "Pick your equipment", "Mining Voucher Redemption") as null|anything in list("Kinetic Accelerator", "Resonator", "Mining Drone", "Advanced Scanner", "Crusher") if(!selection || !Adjacent(redeemer) || voucher.loc != redeemer) return diff --git a/tgui/packages/tgui/interfaces/MiningVendor.js b/tgui/packages/tgui/interfaces/MiningVendor.js new file mode 100644 index 0000000000..1aef533916 --- /dev/null +++ b/tgui/packages/tgui/interfaces/MiningVendor.js @@ -0,0 +1,217 @@ +import { createSearch } from 'common/string'; +import { Fragment } from 'inferno'; +import { useBackend, useLocalState } from "../backend"; +import { Box, Button, Collapsible, Dropdown, Flex, Input, NoticeBox, Section } from '../components'; +import { Window } from "../layouts"; +import { refocusLayout } from '../layouts'; + +const sortTypes = { + 'Alphabetical': (a, b) => a - b, + 'By availability': (a, b) => -(a.affordable - b.affordable), + 'By price': (a, b) => a.price - b.price, +}; + +export const MiningVendor = (_properties, _context) => { + return ( + + + + + + + + ); +}; + +const MiningVendorUser = (_properties, context) => { + const { act, data } = useBackend(context); + const { + has_id, + id, + } = data; + return ( + + {has_id ? ( + + + Logged in as {id.name}.
+ You have {id.points.toLocaleString('en-US')} points. +
+
+ {!!power && ( + +
+ + {currentArea} ({currentCoordsText}) + +
+
+ + + + + + + {signals.map(signal => ( + + + {signal.entrytag} + + + {signal.degrees !== undefined && ( + + )} + {signal.dist !== undefined && ( + signal.dist + 'm' + )} + + + {signal.coordsText} + + + ))} +
+
+
+ )} +
+
+ ); +}; diff --git a/tgui/packages/tgui/interfaces/MiningOreProcessingConsole.js b/tgui/packages/tgui/interfaces/MiningOreProcessingConsole.js new file mode 100644 index 0000000000..f1a22fbe8b --- /dev/null +++ b/tgui/packages/tgui/interfaces/MiningOreProcessingConsole.js @@ -0,0 +1,145 @@ +import { toTitleCase } from 'common/string'; +import { Fragment } from 'inferno'; +import { useBackend, useLocalState } from "../backend"; +import { Box, Button, Collapsible, Dropdown, Flex, Input, NoticeBox, Section, LabeledList, AnimatedNumber } from '../components'; +import { Window } from "../layouts"; +import { refocusLayout } from '../layouts'; +import { sortBy } from 'common/collections'; +import { MiningUser } from './common/Mining'; + +export const MiningOreProcessingConsole = (props, context) => { + const { act, data } = useBackend(context); + + const { + unclaimedPoints, + ores, + showAllOres, + power, + } = data; + + return ( + + + + + in order to claim points. + + )} /> +
act("power")}> + {power ? "Smelting" : "Not Smelting"} + + }> + + act("claim")}> + Claim + + }> + + + +
+ +
+
+ ); +}; + +// ORDER IS IMPORTANT HERE. +const processingOptions = [ + "Not Processing", + "Smelting", + "Compressing", + "Alloying", +]; + +// Higher in the list == closer to top +// This is just kind of an arbitrary list to sort by because the machine has no predictable ore order in it's list +// and alphabetizing them doesn't really make sense +const oreOrder = [ + "verdantium", + "mhydrogen", + "diamond", + "platinum", + "uranium", + "gold", + "silver", + "rutile", + "phoron", + "marble", + "lead", + "sand", + "carbon", + "hematite", +]; + +const oreSorter = (a, b) => { + if (oreOrder.indexOf(a.ore) === -1) { + return a.ore - b.ore; + } + if (oreOrder.indexOf(b.ore) === -1) { + return a.ore - b.ore; + } + return oreOrder.indexOf(b.ore) - oreOrder.indexOf(a.ore); +}; + +const MOPCOres = (props, context) => { + const { act, data } = useBackend(context); + const { + ores, + showAllOres, + power, + } = data; + return ( +
act("showAllOres")}> + {showAllOres ? "All Ores" : "Ores in Machine"} + + }> + + {ores.length && ores.sort(oreSorter).map(ore => ( + act("toggleSmelting", { + ore: ore.ore, + set: processingOptions.indexOf(val), + })} /> + }> + + + + + )) || ( + + No ores in machine. + + )} + +
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/MiningVendor.js b/tgui/packages/tgui/interfaces/MiningVendor.js index 1aef533916..2b653faaae 100644 --- a/tgui/packages/tgui/interfaces/MiningVendor.js +++ b/tgui/packages/tgui/interfaces/MiningVendor.js @@ -4,6 +4,7 @@ import { useBackend, useLocalState } from "../backend"; import { Box, Button, Collapsible, Dropdown, Flex, Input, NoticeBox, Section } from '../components'; import { Window } from "../layouts"; import { refocusLayout } from '../layouts'; +import { MiningUser } from './common/Mining'; const sortTypes = { 'Alphabetical': (a, b) => a - b, @@ -11,11 +12,11 @@ const sortTypes = { 'By price': (a, b) => a.price - b.price, }; -export const MiningVendor = (_properties, _context) => { +export const MiningVendor = (props, context) => { return ( - + @@ -23,47 +24,8 @@ export const MiningVendor = (_properties, _context) => { ); }; -const MiningVendorUser = (_properties, context) => { - const { act, data } = useBackend(context); - const { - has_id, - id, - } = data; - return ( - - {has_id ? ( - - - Logged in as {id.name}.
- You have {id.points.toLocaleString('en-US')} points. -
- + }> + + + )) || ( + + No stacks in machine. + + )} + + + +
+ ); +}; From 3d21087f8b907b2434621eb7ed15506cb9e2c3d7 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Sun, 16 Aug 2020 18:13:43 -0700 Subject: [PATCH 025/149] TGUI Asteroid Belt Scanning Console --- code/modules/rogueminer_vr/zone_console.dm | 51 +++++------ nano/templates/zone_console.tmpl | 83 ----------------- tgui/packages/tgui/interfaces/RogueZones.js | 98 +++++++++++++++++++++ 3 files changed, 119 insertions(+), 113 deletions(-) delete mode 100644 nano/templates/zone_console.tmpl create mode 100644 tgui/packages/tgui/interfaces/RogueZones.js diff --git a/code/modules/rogueminer_vr/zone_console.dm b/code/modules/rogueminer_vr/zone_console.dm index be367629ca..56544479a3 100644 --- a/code/modules/rogueminer_vr/zone_console.dm +++ b/code/modules/rogueminer_vr/zone_console.dm @@ -36,17 +36,19 @@ add_fingerprint(user) if(stat & (BROKEN|NOPOWER)) return - user.set_machine(src) - ui_interact(user) - -/obj/machinery/computer/roguezones/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1) - user.set_machine(src) + tgui_interact(user) +/obj/machinery/computer/roguezones/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "RogueZones", name) + ui.open() +/obj/machinery/computer/roguezones/tgui_data(mob/user) var/chargePercent = min(100, ((((world.time - rm_controller.last_scan) / 10) / 60) / rm_controller.scan_wait) * 100) var/curZoneOccupied = rm_controller.current_zone ? rm_controller.current_zone.is_occupied() : 0 - var/list/data = list() + var/list/data = ..() data["timeout_percent"] = chargePercent data["diffstep"] = rm_controller.diffstep data["difficulty"] = rm_controller.diffstep_strs[rm_controller.diffstep] @@ -80,32 +82,24 @@ // Permit emergency recall of the shuttle if its stranded in a zone with just dead people. data["can_recall_shuttle"] = (shuttle_control && (shuttle_control.z in using_map.belter_belt_z) && !curZoneOccupied) + return data - ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open) - if (!ui) - ui = new(user, src, ui_key, "zone_console.tmpl", src.name, 600, 400) - ui.set_initial_data(data) - ui.open() - ui.set_auto_update(5) - -/obj/machinery/computer/roguezones/Topic(href, href_list) +/obj/machinery/computer/roguezones/tgui_act(action, list/params) if(..()) - return 1 - usr.set_machine(src) - if (href_list["action"]) - switch(href_list["action"]) - if ("scan_for_new") - scan_for_new_zone() - if ("point_at_old") - point_at_old_zone() - if ("recall_shuttle") - failsafe_shuttle_recall() + return TRUE + switch(action) + if("scan_for_new") + scan_for_new_zone() + . = TRUE + if("recall_shuttle") + failsafe_shuttle_recall() + . = TRUE - src.add_fingerprint(usr) - SSnanoui.update_uis(src) + add_fingerprint(usr) /obj/machinery/computer/roguezones/proc/scan_for_new_zone() - if(scanning) return + if(scanning) + return //Set some kinda scanning var to pause UI input on console rm_controller.last_scan = world.time @@ -137,9 +131,6 @@ return -/obj/machinery/computer/roguezones/proc/point_at_old_zone() - - return /obj/machinery/computer/roguezones/proc/failsafe_shuttle_recall() if(!shuttle_control) diff --git a/nano/templates/zone_console.tmpl b/nano/templates/zone_console.tmpl deleted file mode 100644 index cb7389f978..0000000000 --- a/nano/templates/zone_console.tmpl +++ /dev/null @@ -1,83 +0,0 @@ -
-
-
- Scn. Ramestat Core: -
-
- {{:helper.displayBar(data.timeout_percent, 0, 100, (data.timeout_percent < 75) ? 'bad' : (data.timeout_percent < 100) ? 'average' : 'good')}} -
-
-
-
-
- Mineral Content: -
-
- {{:data.difficulty}} -
-
- -
-
- Shuttle Location: -
-
- {{:data.shuttle_location}} -
- {{if data.can_recall_shuttle > 0}} -
- {{:helper.link('Recall Shuttle', 'alert-red', {'action' : 'recall_shuttle'}, null)}} -
- {{/if}} -
-{{if data.occupied > 0}} -
-
- WARNING: -
-
- Area Occupied by {{:data.occupied}} personnel! -
-
-{{/if}} - - -

Scanner Operation

-
-
- Scanner Activation: -
-
- {{:helper.link('Scan For Asteroids', 'power', {'action' : 'scan_for_new'}, data.scan_ready ? null : 'disabled')}} -
-
-{{if data.scanning > 0}} -
-
- Scanning: -
-
- In Progress... -
-
-{{/if}} -{{if data.updated > 0 && data.scanning == 0}} -
-
- Info: -
-
- Updated shuttle destination! -
-
-{{/if}} -{{if data.debug > 0}} -
-
- DEBUG: -
-
- TP:{{:data.timeout_percent}},DS:{{:data.diffstep}},D:{{:data.difficulty}},O:{{:data.occupied}},DBG:{{:data.debug}},SL:{{:data.shuttle_location}},SAS:{{:data.shuttle_at_station}},SR:{{:data.scan_ready}} -
-
-{{/if}} \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/RogueZones.js b/tgui/packages/tgui/interfaces/RogueZones.js new file mode 100644 index 0000000000..3e01200cd6 --- /dev/null +++ b/tgui/packages/tgui/interfaces/RogueZones.js @@ -0,0 +1,98 @@ +import { useBackend } from "../backend"; +import { Box, Button, LabeledList, ProgressBar, Section } from "../components"; +import { Window } from "../layouts"; + +export const RogueZones = (props, context) => { + const { act, data } = useBackend(context); + const { + timeout_percent, + diffstep, + difficulty, + occupied, + scanning, + updated, + debug, + shuttle_location, + shuttle_at_station, + scan_ready, + can_recall_shuttle, + } = data; + return ( + + +
+ + + {difficulty} + + act("recall_shuttle")}> + Recall Shuttle + + ) || null + }> + {shuttle_location} + + {occupied && ( + + WARNING: Area occupied by {occupied} personnel! + + ) || ( + + No personnel detected. + + )} + +
+
act("scan_for_new")}> + Scan For Asteroids + + }> + + + + + {scanning && ( + + In progress. + + ) || null} + {(updated && !scanning) && ( + + Updated shuttle destination! + + ) || null} + {debug && ( + + Timeout Percent: {timeout_percent} + Diffstep: {diffstep} + Difficulty: {difficulty} + Occupied: {occupied} + Debug: {debug} + Shuttle Location: {shuttle_location} + Shuttle at station: {shuttle_at_station} + Scan Ready: {scan_ready} + + ) || null} + +
+
+
+ ); +}; \ No newline at end of file From 1ff5627f470c21717e998b01bc6488e9312890ed Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Sun, 16 Aug 2020 21:14:49 -0700 Subject: [PATCH 026/149] TGUI Shuttle Consoles --- .../overmap/ships/computers/shuttle.dm | 40 +- code/modules/shuttles/shuttle_console.dm | 84 ++- .../modules/shuttles/shuttle_console_multi.dm | 44 +- code/modules/shuttles/shuttles_web.dm | 224 +++----- nano/templates/flight.tmpl | 241 --------- nano/templates/shuttle_control_console.tmpl | 72 --- .../shuttle_control_console_exploration.tmpl | 95 ---- .../shuttle_control_console_multi.tmpl | 84 --- .../tgui/interfaces/ShuttleControl.js | 478 ++++++++++++++++++ 9 files changed, 632 insertions(+), 730 deletions(-) delete mode 100644 nano/templates/flight.tmpl delete mode 100644 nano/templates/shuttle_control_console.tmpl delete mode 100644 nano/templates/shuttle_control_console_exploration.tmpl delete mode 100644 nano/templates/shuttle_control_console_multi.tmpl create mode 100644 tgui/packages/tgui/interfaces/ShuttleControl.js diff --git a/code/modules/overmap/ships/computers/shuttle.dm b/code/modules/overmap/ships/computers/shuttle.dm index 42904d2a42..f51587d594 100644 --- a/code/modules/overmap/ships/computers/shuttle.dm +++ b/code/modules/overmap/ships/computers/shuttle.dm @@ -2,9 +2,9 @@ /obj/machinery/computer/shuttle_control/explore name = "general shuttle control console" circuit = /obj/item/weapon/circuitboard/shuttle_console/explore - ui_template = "shuttle_control_console_exploration.tmpl" + tgui_subtemplate = "ShuttleControlConsoleExploration" -/obj/machinery/computer/shuttle_control/explore/get_ui_data(var/datum/shuttle/autodock/overmap/shuttle) +/obj/machinery/computer/shuttle_control/explore/shuttlerich_tgui_data(var/datum/shuttle/autodock/overmap/shuttle) . = ..() if(istype(shuttle)) var/total_gas = 0 @@ -25,22 +25,28 @@ "fuel_span" = fuel_span ) -/obj/machinery/computer/shuttle_control/explore/handle_topic_href(var/datum/shuttle/autodock/overmap/shuttle, var/list/href_list) +/obj/machinery/computer/shuttle_control/explore/tgui_act(action, list/params) + if(..()) + return TRUE + + var/datum/shuttle/autodock/overmap/shuttle = SSshuttles.shuttles[shuttle_tag] + if(!istype(shuttle)) + to_chat(usr, "Unable to establish link with the shuttle.") + return TRUE + if(ismob(usr)) var/mob/user = usr shuttle.operator_skill = user.get_skill_value(/datum/skill/pilot) - if((. = ..()) != null) - return - - if(href_list["pick"]) - var/list/possible_d = shuttle.get_possible_destinations() - var/D - if(possible_d.len) - D = input("Choose shuttle destination", "Shuttle Destination") as null|anything in possible_d - else - to_chat(usr,"No valid landing sites in range.") - possible_d = shuttle.get_possible_destinations() - if(CanInteract(usr, global.default_state) && (D in possible_d)) - shuttle.set_destination(possible_d[D]) - return TOPIC_REFRESH + switch(action) + if("pick") + var/list/possible_d = shuttle.get_possible_destinations() + var/D + if(possible_d.len) + D = input("Choose shuttle destination", "Shuttle Destination") as null|anything in possible_d + else + to_chat(usr,"No valid landing sites in range.") + possible_d = shuttle.get_possible_destinations() + if(CanInteract(usr, global.default_state) && (D in possible_d)) + shuttle.set_destination(possible_d[D]) + return TRUE diff --git a/code/modules/shuttles/shuttle_console.dm b/code/modules/shuttles/shuttle_console.dm index 3e3655ca5a..93688365c0 100644 --- a/code/modules/shuttles/shuttle_console.dm +++ b/code/modules/shuttles/shuttle_console.dm @@ -8,8 +8,8 @@ var/shuttle_tag // Used to coordinate data in shuttle controller. var/hacked = 0 // Has been emagged, no access restrictions. - var/ui_template = "shuttle_control_console.tmpl" - + var/skip_act = FALSE + var/tgui_subtemplate = "ShuttleControlConsoleDefault" /obj/machinery/computer/shuttle_control/attack_hand(user as mob) if(..(user)) @@ -19,9 +19,9 @@ to_chat(user, "Access Denied.") return 1 - ui_interact(user) + tgui_interact(user) -/obj/machinery/computer/shuttle_control/proc/get_ui_data(var/datum/shuttle/autodock/shuttle) +/obj/machinery/computer/shuttle_control/proc/shuttlerich_tgui_data(var/datum/shuttle/autodock/shuttle) var/shuttle_state switch(shuttle.moving_status) if(SHUTTLE_IDLE) shuttle_state = "idle" @@ -29,7 +29,7 @@ if(SHUTTLE_INTRANSIT) shuttle_state = "in_transit" var/shuttle_status - switch (shuttle.process_state) + switch(shuttle.process_state) if(IDLE_STATE) var/cannot_depart = shuttle.current_location.cannot_depart(shuttle) if (shuttle.in_use) @@ -55,7 +55,8 @@ "can_launch" = shuttle.can_launch(), "can_cancel" = shuttle.can_cancel(), "can_force" = shuttle.can_force(), - "docking_codes" = shuttle.docking_codes + "docking_codes" = shuttle.docking_codes, + "subtemplate" = tgui_subtemplate, ) // This is a subset of the actual checks; contains those that give messages to the user. @@ -74,59 +75,54 @@ return FALSE return TRUE -/obj/machinery/computer/shuttle_control/Topic(href, href_list) - if((. = ..())) +/obj/machinery/computer/shuttle_control/tgui_act(action, list/params) + if(..()) + return TRUE + if(skip_act) return - usr.set_machine(src) - src.add_fingerprint(usr) + add_fingerprint(usr) var/datum/shuttle/autodock/shuttle = SSshuttles.shuttles[shuttle_tag] - if(!shuttle) - to_chat(usr, "Unable to establish link with the shuttle.") - return handle_topic_href(shuttle, href_list, usr) - -/obj/machinery/computer/shuttle_control/proc/handle_topic_href(var/datum/shuttle/autodock/shuttle, var/list/href_list, var/user) if(!istype(shuttle)) - return TOPIC_NOACTION + to_chat(usr, "Unable to establish link with the shuttle.") + return TRUE - if(href_list["move"]) - if(can_move(shuttle, user)) - shuttle.launch(src) - return TOPIC_REFRESH - return TOPIC_HANDLED + switch(action) + if("move") + if(can_move(shuttle, usr)) + shuttle.launch(src) + return TRUE - if(href_list["force"]) - if(can_move(shuttle, user)) - shuttle.force_launch(src) - return TOPIC_REFRESH - return TOPIC_HANDLED + if("force") + if(can_move(shuttle, usr)) + shuttle.force_launch(src) + return TRUE - if(href_list["cancel"]) - shuttle.cancel_launch(src) - return TOPIC_REFRESH + if("cancel") + shuttle.cancel_launch(src) + return TRUE - if(href_list["set_codes"]) - var/newcode = input("Input new docking codes", "Docking codes", shuttle.docking_codes) as text|null - if (newcode && CanInteract(usr, global.default_state)) - shuttle.set_docking_codes(uppertext(newcode)) - return TOPIC_REFRESH + if("set_codes") + var/newcode = input("Input new docking codes", "Docking codes", shuttle.docking_codes) as text|null + if(newcode && !..()) + shuttle.set_docking_codes(uppertext(newcode)) + return TRUE + +/obj/machinery/computer/shuttle_control/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "ShuttleControl", "[shuttle_tag] Shuttle Control") // 470, 360 + ui.open() // We delegate populating data to another proc to make it easier for overriding types to add their data. -/obj/machinery/computer/shuttle_control/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1) +/obj/machinery/computer/shuttle_control/tgui_data(mob/user) var/datum/shuttle/autodock/shuttle = SSshuttles.shuttles[shuttle_tag] - if (!istype(shuttle)) + if(!istype(shuttle)) to_chat(user, "Unable to establish link with the shuttle.") return - var/list/data = get_ui_data(shuttle) - - ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open) - if (!ui) - ui = new(user, src, ui_key, ui_template, "[shuttle_tag] Shuttle Control", 470, 360) - ui.set_initial_data(data) - ui.open() - ui.set_auto_update(1) + return shuttlerich_tgui_data(shuttle) // Call to set the linked shuttle tag; override to add behaviour to shuttle tag changes /obj/machinery/computer/shuttle_control/proc/set_shuttle_tag(var/new_shuttle_tag) diff --git a/code/modules/shuttles/shuttle_console_multi.dm b/code/modules/shuttles/shuttle_console_multi.dm index 9a724a9ab7..9226caebfb 100644 --- a/code/modules/shuttles/shuttle_console_multi.dm +++ b/code/modules/shuttles/shuttle_console_multi.dm @@ -1,8 +1,8 @@ /obj/machinery/computer/shuttle_control/multi circuit = /obj/item/weapon/circuitboard/shuttle_console/multi - ui_template = "shuttle_control_console_multi.tmpl" + tgui_subtemplate = "ShuttleControlConsoleMulti" -/obj/machinery/computer/shuttle_control/multi/get_ui_data(var/datum/shuttle/autodock/multi/shuttle) +/obj/machinery/computer/shuttle_control/multi/shuttlerich_tgui_data(var/datum/shuttle/autodock/multi/shuttle) . = ..() if(istype(shuttle)) . += list( @@ -14,22 +14,28 @@ // "engines_charging" = ((shuttle.last_move + (shuttle.cooldown SECONDS)) > world.time), // Replaced by longer warmup_time ) -/obj/machinery/computer/shuttle_control/multi/handle_topic_href(var/datum/shuttle/autodock/multi/shuttle, var/list/href_list) - if((. = ..()) != null) - return +/obj/machinery/computer/shuttle_control/multi/tgui_act(action, list/params) + if(..()) + return TRUE - if(href_list["pick"]) - var/dest_key = input("Choose shuttle destination", "Shuttle Destination") as null|anything in shuttle.get_destinations() - if(dest_key && CanInteract(usr, global.default_state)) - shuttle.set_destination(dest_key, usr) - return TOPIC_REFRESH + var/datum/shuttle/autodock/multi/shuttle = SSshuttles.shuttles[shuttle_tag] + if(!istype(shuttle)) + to_chat(usr, "Unable to establish link with the shuttle.") + return TRUE - if(href_list["toggle_cloaked"]) - if(!shuttle.can_cloak) - return TOPIC_HANDLED - shuttle.cloaked = !shuttle.cloaked - if(shuttle.legit) - to_chat(usr, "Ship ATC inhibitor systems have been [(shuttle.cloaked ? "activated. The station will not" : "deactivated. The station will")] be notified of our arrival.") - else - to_chat(usr, "Ship stealth systems have been [(shuttle.cloaked ? "activated. The station will not" : "deactivated. The station will")] be warned of our arrival.") - return TOPIC_REFRESH + switch(action) + if("pick") + var/dest_key = input("Choose shuttle destination", "Shuttle Destination") as null|anything in shuttle.get_destinations() + if(dest_key && CanInteract(usr, global.default_state)) + shuttle.set_destination(dest_key, usr) + return TRUE + + if("toggle_cloaked") + if(!shuttle.can_cloak) + return TRUE + shuttle.cloaked = !shuttle.cloaked + if(shuttle.legit) + to_chat(usr, "Ship ATC inhibitor systems have been [(shuttle.cloaked ? "activated. The station will not" : "deactivated. The station will")] be notified of our arrival.") + else + to_chat(usr, "Ship stealth systems have been [(shuttle.cloaked ? "activated. The station will not" : "deactivated. The station will")] be warned of our arrival.") + return TRUE diff --git a/code/modules/shuttles/shuttles_web.dm b/code/modules/shuttles/shuttles_web.dm index 00d9344b00..acc7dc3461 100644 --- a/code/modules/shuttles/shuttles_web.dm +++ b/code/modules/shuttles/shuttles_web.dm @@ -167,6 +167,8 @@ icon_screen = "flight_center" var/list/my_doors //Should be list("id_tag" = "Pretty Door Name", ...) var/list/my_sensors //Should be list("id_tag" = "Pretty Sensor Name", ...) + tgui_subtemplate = "ShuttleControlConsoleWeb" + skip_act = TRUE // Note - Searching own area for doors/sensors is fine for legacy web shuttles as they are single-area. // However if this code is copied to future multi-area shuttles, should search in all shuttle areas @@ -205,80 +207,9 @@ return ..() - -// Fairly copypasta-y. -/obj/machinery/computer/shuttle_control/web/attack_hand(mob/user) - if(..(user)) - return - src.add_fingerprint(user) - - ui_interact(user) - - /* - // If nanoUI falls over and you want a non-nanoUI UI, feel free to uncomment this section. - var/datum/shuttle/autodock/web_shuttle/WS = shuttle_controller.shuttles[shuttle_tag] - if(!istype(WS)) - message_admins("ERROR: Shuttle computer ([src]) ([shuttle_tag]) could not find their shuttle in the shuttles list.") - return - - var/list/dat = list() - dat += "
[shuttle_tag] Ship Control
" - - if(WS.moving_status != SHUTTLE_IDLE) - dat += "Location: Moving
" - else - var/area/areacheck = get_area(src) - dat += "Location: [areacheck.name]
" - - if((WS.last_move + WS.cooldown) > world.time) - dat += "Engines charging.
" - else - dat += "Engines ready.
" - - if(WS.can_cloak) - dat += "
Toggle cloaking field
" - - for(var/datum/shuttle_route/route in WS.current_destination.routes) - dat += "[route.display_route(WS.current_destination)]
" - - - //Docking - dat += "

" - if(WS.skip_docking_checks()) - dat += "Docking Status: Not in use." - else - var/override_en = WS.docking_controller.override_enabled - var/docking_status = WS.docking_controller.get_docking_status() - - dat += "Docking Status: " - switch(docking_status) - if("undocked") - dat += "Undocked" - if("docking") - dat += "Docking" - if("undocking") - dat += "Undocking" - if("docked") - dat += "Docked" - - if(override_en) - dat += " (Override Enabled)" - - dat += ". \[Refresh\]

" - - switch(docking_status) - if("undocked") - dat += "Dock" - if("docked") - dat += "Undock" - dat += "
" - - user << browse(dat.Join(), "window=[shuttle_tag]shuttlecontrol;size=300x300") - */ - - -/obj/machinery/computer/shuttle_control/web/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1) - var/data[0] +/obj/machinery/computer/shuttle_control/web/tgui_data(mob/user) + var/list/data = list() + var/list/routes[0] var/datum/shuttle/autodock/web_shuttle/shuttle = SSshuttles.shuttles[shuttle_tag] if(!istype(shuttle)) @@ -286,7 +217,7 @@ return var/list/R = shuttle.web_master.get_available_routes() - for (var/i = 1 to length(R)) + for(var/i = 1 to length(R)) var/datum/shuttle_route/route = R[i] var/travel_time = null var/travel_modifier = shuttle.flight_time_modifier @@ -313,7 +244,6 @@ if(SHUTTLE_INTRANSIT) shuttle_state = "in_transit" - // For the progress bar. var/elapsed_time = world.time - shuttle.depart_time var/total_time = shuttle.arrive_time - shuttle.depart_time @@ -322,7 +252,6 @@ if(total_time) // Need to check or we might divide by zero. percent_finished = (elapsed_time / total_time) * 100 - var/list/doors = list() if(my_doors) for(var/doorname in my_doors) @@ -356,111 +285,90 @@ "autopilot" = shuttle.autopilot ? 1 : 0, "can_rename" = shuttle.can_rename ? 1 : 0, "doors" = doors, - "sensors" = sensors + "sensors" = sensors, + "subtemplate" = tgui_subtemplate, ) - ui = SSnanoui.try_update_ui(user, src, ui_key, ui, data, force_open) + return data - if(!ui) - ui = new(user, src, ui_key, "flight.tmpl", "[shuttle.visible_name] Flight Computer", 500, 500) - ui.set_initial_data(data) - ui.open() - ui.set_auto_update(1) - - -/obj/machinery/computer/shuttle_control/web/Topic(href, href_list) - if((. = ..())) - return - - usr.set_machine(src) - src.add_fingerprint(usr) +/obj/machinery/computer/shuttle_control/web/tgui_act(action, list/params) + if(..()) + return TRUE var/datum/shuttle/autodock/web_shuttle/WS = SSshuttles.shuttles[shuttle_tag] if(!istype(WS)) message_admins("ERROR: Shuttle computer ([src]) ([shuttle_tag]) could not find their shuttle in the shuttles list.") return - if(href_list["refresh"]) - ui_interact(usr) - - if (WS.moving_status != SHUTTLE_IDLE) + if(WS.moving_status != SHUTTLE_IDLE) to_chat(usr, "[WS.visible_name] is busy moving.") return - if(href_list["rename_command"]) - WS.rename_shuttle(usr) + switch(action) + if("rename_command") + WS.rename_shuttle(usr) - if(href_list["dock_command"]) - if(WS.autopilot) - to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") - return - WS.dock() + if("dock_command") + if(WS.autopilot) + to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") + return + WS.dock() - if(href_list["undock_command"]) - if(WS.autopilot) - to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") - return - WS.undock() + if("undock_command") + if(WS.autopilot) + to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") + return + WS.undock() - if(href_list["cloak_command"]) - if(!WS.can_cloak) - return - WS.cloaked = TRUE - to_chat(usr, "Ship stealth systems have been activated. The station will not be warned of our arrival.") + if("toggle_cloaking") + if(!WS.can_cloak) + return + WS.cloaked = !WS.cloaked + if(WS.cloaked) + to_chat(usr, "Ship stealth systems have been activated. The station will not be warned of our arrival.") + else + to_chat(usr, "Ship stealth systems have been deactivated. The station will be warned of our arrival.") - if(href_list["uncloak_command"]) - if(!WS.can_cloak) - return - WS.cloaked = FALSE - to_chat(usr, "Ship stealth systems have been deactivated. The station will be warned of our arrival.") + if("toggle_autopilot") + WS.adjust_autopilot(!WS.autopilot) - if(href_list["autopilot_on_command"]) - WS.adjust_autopilot(TRUE) + if("traverse") + if(WS.autopilot) + to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") + return - if(href_list["autopilot_off_command"]) - WS.adjust_autopilot(FALSE) + if((WS.last_move + WS.cooldown) > world.time) + to_chat(usr, "The ship's drive is inoperable while the engines are charging.") + return - if(href_list["traverse"]) - if(WS.autopilot) - to_chat(usr, "The autopilot must be disabled before you can control the vessel manually.") - return + var/index = text2num(params["traverse"]) + var/datum/shuttle_route/new_route = WS.web_master.current_destination.routes[index] + if(!istype(new_route)) + message_admins("ERROR: Shuttle computer was asked to traverse a nonexistant route.") + return - if((WS.last_move + WS.cooldown) > world.time) - to_chat(usr, "The ship's drive is inoperable while the engines are charging.") - return + if(!check_docking(WS)) + return TRUE - var/index = text2num(href_list["traverse"]) - var/datum/shuttle_route/new_route = WS.web_master.current_destination.routes[index] - if(!istype(new_route)) - message_admins("ERROR: Shuttle computer was asked to traverse a nonexistant route.") - return + var/datum/shuttle_destination/target_destination = new_route.get_other_side(WS.web_master.current_destination) + if(!istype(target_destination)) + message_admins("ERROR: Shuttle computer was asked to travel to a nonexistant destination.") + return - if(!check_docking(WS)) - // updateUsrDialog() - ui_interact(usr) - return + WS.next_location = target_destination.my_landmark + if(!can_move(WS, usr)) + return - var/datum/shuttle_destination/target_destination = new_route.get_other_side(WS.web_master.current_destination) - if(!istype(target_destination)) - message_admins("ERROR: Shuttle computer was asked to travel to a nonexistant destination.") - return + WS.web_master.future_destination = target_destination + to_chat(usr, "[WS.visible_name] flight computer received command.") + WS.web_master.reset_autopath() // Deviating from the path will almost certainly confuse the autopilot, so lets just reset its memory. - WS.next_location = target_destination.my_landmark - if(!can_move(WS, usr)) - return - - WS.web_master.future_destination = target_destination - to_chat(usr, "[WS.visible_name] flight computer received command.") - WS.web_master.reset_autopath() // Deviating from the path will almost certainly confuse the autopilot, so lets just reset its memory. - - var/travel_time = new_route.travel_time * WS.flight_time_modifier - // TODO - Leshana - Change this to use proccess stuff of autodock! - if(new_route.interim && new_route.travel_time) - WS.long_jump(target_destination.my_landmark, new_route.interim, travel_time / 10) - else - WS.short_jump(target_destination.my_landmark) - - ui_interact(usr) + var/travel_time = new_route.travel_time * WS.flight_time_modifier + // TODO - Leshana - Change this to use proccess stuff of autodock! + if(new_route.interim && new_route.travel_time) + WS.long_jump(target_destination.my_landmark, new_route.interim, travel_time / 10) + else + WS.short_jump(target_destination.my_landmark) //check if we're undocked, give option to force launch /obj/machinery/computer/shuttle_control/web/proc/check_docking(datum/shuttle/autodock/MS) diff --git a/nano/templates/flight.tmpl b/nano/templates/flight.tmpl deleted file mode 100644 index 60d4cd605a..0000000000 --- a/nano/templates/flight.tmpl +++ /dev/null @@ -1,241 +0,0 @@ -{{if data.autopilot == 1}} -
-

AI PILOT (CLASS D) ACTIVE

- This vessel will start and stop automatically.
- Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them.
- Docking and flight controls are locked. To unlock, disable the automated flight system.

-
-{{/if}} - -{{if data.can_rename == 1}} -
-
-
- {{:helper.link('Rename', 'pencil', {"rename_command" : 1})}} -
-
-
-{{/if}} - -

Shuttle Status

-{{if data.is_moving == 0}} -
-
- Current Location: -
-
- {{:data.shuttle_location}} -
-
-{{/if}} - -
-
-
- Engines: -
-
- {{if data.shuttle_state == "idle"}} - IDLE - {{else data.shuttle_state == "warmup"}} - SPINNING UP - {{else data.shuttle_state == "in_transit"}} - ENGAGED - {{else}} - ERROR - {{/if}} -
-
-
- -{{if data.is_moving == 0}} - - {{if data.skip_docking == 0}} -
-
-
- Docking Status: -
-
- {{if data.docking_status == "docked"}} - DOCKED - {{else data.docking_status == "docking"}} - {{if !data.docking_override}} - DOCKING - {{else}} - DOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocking"}} - {{if !data.docking_override}} - UNDOCKING - {{else}} - UNDOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocked"}} - UNDOCKED - {{else}} - ERROR - {{/if}} - - - {{:helper.link('Dock', 'arrowthickstop-1-e', {'dock_command' : 1}, (data.docking_status != "undocked")? 'selected' : null)}} - {{:helper.link('Undock', 'arrowthickstop-1-e', {'undock_command' : 1}, (data.docking_status != "docked")? 'selected' : null)}} -
- -
- -
- - {{/if}} - - {{if data.can_cloak == 1}} -
-
- Shuttle Stealth System: -
- - {{:helper.link('Cloak', 'radio-off', {'cloak_command' : 1}, (data.cloaked == 1)? 'selected' : null)}} - {{:helper.link('Uncloak', 'radio-on', {'uncloak_command' : 1}, (data.cloaked == 0)? 'selected' : null)}} -
- - {{/if}} - - {{if data.can_autopilot == 1}} -
-
- Automated Flight Control: -
- - {{:helper.link('On', 'circle-check', {'autopilot_on_command' : 1}, (data.autopilot == 1)? 'selected' : null)}} - {{:helper.link('Off', 'circle-close ', {'autopilot_off_command' : 1}, (data.autopilot == 0)? 'selected' : null)}} -
- - {{/if}} - -{{/if}} - -{{if data.is_moving == 0}} -

Available Destinations

-
-

- {{for data.routes}} -
-
- {{:value.name}} -
-
-
- {{:helper.link(value.travel_time, 'clock', {"traverse" : value.index})}} -
-
-
- {{/for}} - -{{/if}} - -{{if data.is_in_transit == 1}} -

Destination ETA

-
-
- Distance from target: -
-
- {{:helper.displayBar(data.travel_progress, 0, 100, "good")}} -
- {{:data.time_left}}s -
-
-
-{{/if}} - -{{if data.doors}} -

Hatch Status

-
-
- {{props data.doors}} -
-
{{:key}}
-
- {{if value.open}} - OPN - {{else}} - CLS - {{/if}} - - - {{if value.bolted}} - BLT - {{else}} - UBLT - {{/if}} -
-
- {{/props}} -
-{{/if}} - -{{if data.sensors}} -

Air Readout

-
- {{props data.sensors}} -
-
- {{:key}} -
-
- {{if value.reading == 1}} -
- Pressure: -
-
- {{:helper.string('{1} kPa', value.pressure < 80 || value.pressure > 120 ? 'bad' : value.pressure < 95 || value.pressure > 110 ? 'average' : 'good' , value.pressure)}} -
-
- Temperature: -
-
- {{:helper.string('{1} °C', value.temp < 5 || value.temp > 35 ? 'bad' : value.temp < 15 || value.temp > 25 ? 'average' : 'good' , value.temp)}} -
-
-
- Oxygen: -
-
- {{:helper.string('{1}%', value.oxygen < 17 ? 'bad' : value.oxygen < 19 ? 'average' : 'good' , value.oxygen)}} -
-
- Nitrogen: -
-
- {{:helper.string('{1}%', value.nitrogen > 82 ? 'bad' : value.nitrogen > 80 ? 'average' : 'good' , value.nitrogen)}} -
-
- Carbon Dioxide: -
-
- {{:helper.string('{1}%', value.carbon_dioxide > 5 ? 'bad' : 'good' , value.carbon_dioxide)}} -
-
- Phoron: -
-
- {{:helper.string('{1}%', value.phoron > 0 ? 'bad' : 'good' , value.phoron)}} - -
- {{if value.other > 0}} -
- Unknown: -
-
- {{:value.other}}% -
- {{/if}} - {{else}} -
- Unable to get air reading -
- {{/if}} -
-
- {{/props}} -{{/if}} - diff --git a/nano/templates/shuttle_control_console.tmpl b/nano/templates/shuttle_control_console.tmpl deleted file mode 100644 index 05cae4ef09..0000000000 --- a/nano/templates/shuttle_control_console.tmpl +++ /dev/null @@ -1,72 +0,0 @@ -

Shuttle Status

-
-
- {{:data.shuttle_status}} -
-
-
-
-
- Bluespace Drive: -
-
- {{if data.shuttle_state == "idle"}} - IDLE - {{else data.shuttle_state == "warmup"}} - SPINNING UP - {{else data.shuttle_state == "in_transit"}} - ENGAGED - {{else}} - ERROR - {{/if}} -
-
-
-{{if data.has_docking}} -
-
-
- Docking Status: -
-
- {{if data.docking_status == "docked"}} - DOCKED - {{else data.docking_status == "docking"}} - {{if !data.docking_override}} - DOCKING - {{else}} - DOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocking"}} - {{if !data.docking_override}} - UNDOCKING - {{else}} - UNDOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocked"}} - UNDOCKED - {{else}} - ERROR - {{/if}} - -
-
- Docking Codes: -
-
- {{:helper.link(data.docking_codes ? data.docking_codes : 'Not set', null, {'set_codes' : '1'}, null , null)}} -
-
-
-{{/if}} - -

Shuttle Control

-
-
-
- {{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, data.can_launch? null : 'disabled' , null)}} - {{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, data.can_cancel ? null : 'disabled' , null)}} - {{:helper.link('Force Launch', 'alert', {'force' : '1'}, data.can_force? null : 'disabled' , data.can_force ? 'redButton' : null)}} -
-
-
\ No newline at end of file diff --git a/nano/templates/shuttle_control_console_exploration.tmpl b/nano/templates/shuttle_control_console_exploration.tmpl deleted file mode 100644 index e368f484db..0000000000 --- a/nano/templates/shuttle_control_console_exploration.tmpl +++ /dev/null @@ -1,95 +0,0 @@ -

Shuttle Status

-
-
- {{:data.shuttle_status}} -
-
-
-
-
- Engines: -
-
- {{if data.shuttle_state == "idle"}} - IDLE - {{else data.shuttle_state == "warmup"}} - SPINNING UP - {{else data.shuttle_state == "in_transit"}} - ENGAGED - {{else}} - ERROR - {{/if}} -
-
-
-{{if data.has_docking}} -
-
-
- Docking Status: -
-
- {{if data.docking_status == "docked"}} - DOCKED - {{else data.docking_status == "docking"}} - {{if !data.docking_override}} - DOCKING - {{else}} - DOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocking"}} - {{if !data.docking_override}} - UNDOCKING - {{else}} - UNDOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocked"}} - UNDOCKED - {{else}} - ERROR - {{/if}} -
-
- Docking Codes: -
-
- {{:helper.link(data.docking_codes ? data.docking_codes : 'Not set', null, {'set_codes' : '1'}, null , null)}} -
-
-
-{{/if}} -
-
- Current Destination: -
- {{:data.destination_name}} -
- {{:helper.link('Choose Destination', 'arrowreturn-1-s', {'pick' : '1'}, data.can_pick ? null : 'disabled' , null)}} -
-
-{{if data.fuel_usage}} -
-
- Est. Delta-V Budget: -
-
- {{:data.remaining_fuel}} m/s -
-
- Avg. Delta-V Per Maneuver: -
-
- {{:data.fuel_usage}} m/s -
-
-{{/if}} -

Shuttle Control

-
-
-
- {{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, data.can_launch ? null : 'disabled' , null)}} - {{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, data.can_cancel ? null : 'disabled' , null)}} - {{:helper.link('Force Launch', 'alert', {'force' : '1'}, data.can_force ? null : 'disabled' , data.can_force ? 'redButton' : null)}} -
-
-
\ No newline at end of file diff --git a/nano/templates/shuttle_control_console_multi.tmpl b/nano/templates/shuttle_control_console_multi.tmpl deleted file mode 100644 index df25132bc7..0000000000 --- a/nano/templates/shuttle_control_console_multi.tmpl +++ /dev/null @@ -1,84 +0,0 @@ -

Shuttle Status

-
-
- {{:data.shuttle_status}} -
- {{if data.can_cloak}} -
- {{:data.legit ? "ATC Inhibitor" : "Cloaking Field"}} is {{:data.cloaked ? "enabled" : "disabled"}}. {{:helper.link('Toggle', 'arrowreturn-1-s', {'toggle_cloaked' : '1'}) }} -
- {{/if}} -
-
-
-
- Bluespace Drive: -
-
- {{if data.shuttle_state == "idle"}} - IDLE - {{else data.shuttle_state == "warmup"}} - SPINNING UP - {{else data.shuttle_state == "in_transit"}} - ENGAGED - {{else}} - ERROR - {{/if}} -
-
-
-{{if data.has_docking}} -
-
-
- Docking Status: -
-
- {{if data.docking_status == "docked"}} - DOCKED - {{else data.docking_status == "docking"}} - {{if !data.docking_override}} - DOCKING - {{else}} - DOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocking"}} - {{if !data.docking_override}} - UNDOCKING - {{else}} - UNDOCKING-MANUAL - {{/if}} - {{else data.docking_status == "undocked"}} - UNDOCKED - {{else}} - ERROR - {{/if}} -
-
- Docking Codes: -
-
- {{:helper.link(data.docking_codes ? data.docking_codes : 'Not set', null, {'set_codes' : '1'}, null , null)}} -
-
-
-{{/if}} -
-
- Current Destination: -
- {{:data.destination_name}} -
- {{:helper.link('Choose Destination', 'arrowreturn-1-s', {'pick' : '1'}, data.can_pick ? null : 'disabled' , null)}} -
-
-

Shuttle Control

-
-
-
- {{:helper.link('Launch Shuttle', 'arrowthickstop-1-e', {'move' : '1'}, data.can_launch ? null : 'disabled' , null)}} - {{:helper.link('Cancel Launch', 'cancel', {'cancel' : '1'}, data.can_cancel ? null : 'disabled' , null)}} - {{:helper.link('Force Launch', 'alert', {'force' : '1'}, data.can_force ? null : 'disabled' , data.can_force ? 'redButton' : null)}} -
-
-
diff --git a/tgui/packages/tgui/interfaces/ShuttleControl.js b/tgui/packages/tgui/interfaces/ShuttleControl.js new file mode 100644 index 0000000000..5c798f9a50 --- /dev/null +++ b/tgui/packages/tgui/interfaces/ShuttleControl.js @@ -0,0 +1,478 @@ +import { toTitleCase } from 'common/string'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, AnimatedNumber } from "../components"; +import { Window } from "../layouts"; + +/* Helpers */ +const getDockingStatus = (docking_status, docking_override) => { + let main = "ERROR"; + let color = "bad"; + let showsOverride = false; + if (docking_status === "docked") { + main = "DOCKED"; + color = "good"; + } else if (docking_status === "docking") { + main = "DOCKING"; + color = "average"; + showsOverride = true; + } else if (docking_status === "undocking") { + main = "UNDOCKING"; + color = "average"; + showsOverride = true; + } else if (docking_status === "undocked") { + main = "UNDOCKED"; + color = "#676767"; + } + + if (showsOverride && docking_override) { + main = main + "-MANUAL"; + } + + return ( + + {main} + + ); +}; + +/* Templates */ +const ShuttleControlSharedShuttleStatus = (props, context) => { + const { act, data } = useBackend(context); + const { + engineName = "Bluespace Drive", + } = props; + const { + shuttle_status, + shuttle_state, + has_docking, + docking_status, + docking_override, + docking_codes, + } = data; + return ( +
+ {shuttle_status} + + + {shuttle_state === "idle" && ( + + IDLE + + ) || shuttle_state === "warmup" && ( + + SPINNING UP + + ) || shuttle_state === "in_transit" && ( + + ENGAGED + + ) || ( + + ERROR + + )} + + {has_docking && ( + + + {getDockingStatus(docking_status, docking_override)} + + + + + + ) || null} + +
+ ); +}; + +const ShuttleControlSharedShuttleControls = (props, context) => { + const { act, data } = useBackend(context); + + const { + can_launch, + can_cancel, + can_force, + } = data; + + return ( +
+ + + + + + + + + + + +
+ ); +}; + +const ShuttleControlConsoleDefault = (props, context) => { + const { act, data } = useBackend(context); + return ( + + + + + ); +}; + +const ShuttleControlConsoleMulti = (props, context) => { + const { act, data } = useBackend(context); + const { + can_cloak, + can_pick, + legit, + cloaked, + destination_name, + } = data; + return ( + + +
+ + {can_cloak && ( + + + + ) || null} + + + + +
+ +
+ ); +}; + +const ShuttleControlConsoleExploration = (props, context) => { + const { act, data } = useBackend(context); + const { + can_pick, + destination_name, + fuel_usage, + fuel_span, + remaining_fuel, + } = data; + return ( + + +
+ + + + + {fuel_usage && ( + + + {remaining_fuel} m/s + + + {fuel_usage} m/s + + + ) || null} + +
+ +
+ ); +}; + +/* Ugh. Just ugh. */ +const ShuttleControlConsoleWeb = (props, context) => { + const { act, data } = useBackend(context); + + const { + autopilot, + can_rename, + shuttle_state, + is_moving, + skip_docking, + docking_status, + docking_override, + shuttle_location, + can_cloak, + cloaked, + can_autopilot, + routes, + is_in_transit, + travel_progress, + time_left, + doors, + sensors, + } = data; + + return ( + + {autopilot && ( +
+ + This vessel will start and stop automatically. + Ensure that all non-cycling capable hatches and doors are closed, + as the automated system may not be able to control them. + Docking and flight controls are locked. To unlock, disable the automated flight system. + +
+ ) || null} +
act("rename_command")}> + Rename + + ) || null + }> + + + {shuttle_state === "idle" && ( + + IDLE + + ) || shuttle_state === "warmup" && ( + + SPINNING UP + + ) || shuttle_state === "in_transit" && ( + + ENGAGED + + ) || ( + + ERROR + + )} + + {!is_moving && ( + + + {toTitleCase(shuttle_location)} + + {!skip_docking && ( + + + + + }> + {getDockingStatus(docking_status, docking_override)} + + ) || null} + {can_cloak && ( + + + + ) || null} + {can_autopilot && ( + + + + ) || null} + + ) || null} + + {!is_moving && ( +
+ + {routes.length && routes.map(route => ( + + + + )) || ( + + No routes found. + + )} + +
+ ) || null} +
+ {is_in_transit && ( +
+ + + + {time_left}s + + + +
+ ) || null} + {Object.keys(doors).length && ( +
+ + {Object.keys(doors).map(key => { + let door = doors[key]; + return ( + + {door.open && ( + + Open + + ) || ( + + Closed + + )} +  -  + {door.bolted && ( + + Bolted + + ) || ( + + Unbolted + + )} + + ); + })} + +
+ ) || null} + {Object.keys(sensors).length && ( +
+ + {Object.keys(sensors).map(key => { + let sensor = sensors[key]; + if (sensor.reading !== -1) { + return ( + + Unable to get sensor air reading. + + ); + } + return ( + + + + {sensor.pressure}kPa + + + {sensor.temp}°C + + + {sensor.oxygen}% + + + {sensor.nitrogen}% + + + {sensor.carbon_dioxide}% + + + {sensor.phoron}% + + {sensor.other && ( + + {sensor.other}% + + ) || null} + + + ); + })} + +
+ ) || null} +
+ ); +}; + +// This may look tempting to convert to require() or some kind of dynamic call +// Don't do it. XSS abound. +const SubtemplateList = { + "ShuttleControlConsoleDefault": , + "ShuttleControlConsoleMulti": , + "ShuttleControlConsoleExploration": , + "ShuttleControlConsoleWeb": , +}; + +export const ShuttleControl = (props, context) => { + const { act, data } = useBackend(context); + const { + subtemplate, + } = data; + return ( + + + {SubtemplateList[subtemplate]} + + + ); +}; \ No newline at end of file From 9cd0f5b0861333f468783077bad058295ad990c3 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Sun, 16 Aug 2020 22:26:26 -0700 Subject: [PATCH 027/149] Fix survey vendor --- .../equipment_vendor.dm | 24 ++- .../ore_redemption_machine/survey_vendor.dm | 165 +++++++----------- tgui/packages/tgui/public/tgui.bundle.js | 28 +-- 3 files changed, 94 insertions(+), 123 deletions(-) diff --git a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm index 152183de71..397b2ef1ce 100644 --- a/code/modules/mining/ore_redemption_machine/equipment_vendor.dm +++ b/code/modules/mining/ore_redemption_machine/equipment_vendor.dm @@ -157,15 +157,22 @@ // ID if(inserted_id) data["has_id"] = TRUE - data["id"] = list( - "name" = inserted_id.registered_name, - "points" = inserted_id.mining_points, - ) + data["id"] = list() + data["id"]["name"] = inserted_id.registered_name + data["id"]["points"] = get_points(inserted_id) else data["has_id"] = FALSE return data +/obj/machinery/mineral/equipment_vendor/proc/get_points(obj/item/weapon/card/id/target) + if(!istype(target)) + return 0 + return target.mining_points + +/obj/machinery/mineral/equipment_vendor/proc/remove_points(obj/item/weapon/card/id/target, amt) + target.mining_points -= amt + /obj/machinery/mineral/equipment_vendor/tgui_static_data(mob/user) var/list/static_data[0] @@ -213,19 +220,24 @@ inserted_id = null if("purchase") if(!inserted_id) + flick(icon_deny, src) //VOREStation Add return var/category = params["cat"] // meow var/name = params["name"] if(!(category in prize_list) || !(name in prize_list[category])) // Not trying something that's not in the list, are you? + flick(icon_deny, src) //VOREStation Add return var/datum/data/mining_equipment/prize = prize_list[category][name] - if(prize.cost > inserted_id.mining_points) // shouldn't be able to access this since the button is greyed out, but.. + if(prize.cost > get_points(inserted_id)) // shouldn't be able to access this since the button is greyed out, but.. to_chat(usr, "You have insufficient points.") + flick(icon_deny, src) //VOREStation Add return - inserted_id.mining_points -= prize.cost + remove_points(inserted_id, prize.cost) new prize.equipment_path(loc) + flick(icon_vend, src) //VOREStation Add else + flick(icon_deny, src) //VOREStation Add return FALSE add_fingerprint() diff --git a/code/modules/mining/ore_redemption_machine/survey_vendor.dm b/code/modules/mining/ore_redemption_machine/survey_vendor.dm index 65b7ccc76d..d69cfe3f27 100644 --- a/code/modules/mining/ore_redemption_machine/survey_vendor.dm +++ b/code/modules/mining/ore_redemption_machine/survey_vendor.dm @@ -8,109 +8,68 @@ circuit = /obj/item/weapon/circuitboard/exploration_equipment_vendor icon_deny = "exploration-deny" //VOREStation Edit icon_vend = "exploration-vend" //VOREStation Add + +/obj/machinery/mineral/equipment_vendor/survey/Initialize(mapload) + . = ..() //VOREStation Edit Start - Heavily modified list - prize_list = list( - new /datum/data/mining_equipment("1 Marker Beacon", /obj/item/stack/marker_beacon, 1), - new /datum/data/mining_equipment("10 Marker Beacons", /obj/item/stack/marker_beacon/ten, 10), - new /datum/data/mining_equipment("30 Marker Beacons", /obj/item/stack/marker_beacon/thirty, 30), - new /datum/data/mining_equipment("GPS Device", /obj/item/device/gps/explorer, 10), - new /datum/data/mining_equipment("Whiskey", /obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey, 10), - new /datum/data/mining_equipment("Absinthe", /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe, 10), - new /datum/data/mining_equipment("Cigar", /obj/item/clothing/mask/smokable/cigarette/cigar/havana, 15), - new /datum/data/mining_equipment("Soap", /obj/item/weapon/soap/nanotrasen, 20), - new /datum/data/mining_equipment("Laser Pointer", /obj/item/device/laser_pointer, 90), - new /datum/data/mining_equipment("Geiger Counter", /obj/item/device/geiger, 75), - new /datum/data/mining_equipment("Plush Toy", /obj/random/plushie, 30), - new /datum/data/mining_equipment("Extraction Equipment - Fulton Beacon",/obj/item/fulton_core, 300), - new /datum/data/mining_equipment("Extraction Equipment - Fulton Pack",/obj/item/extraction_pack, 125), - new /datum/data/mining_equipment("Umbrella", /obj/item/weapon/melee/umbrella/random, 20), - new /datum/data/mining_equipment("Shelter Capsule", /obj/item/device/survivalcapsule, 50), - new /datum/data/mining_equipment("Point Transfer Card", /obj/item/weapon/card/mining_point_card/survey, 50), - new /datum/data/mining_equipment("Trauma Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/trauma, 25), - new /datum/data/mining_equipment("Burn Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/burn, 25), - new /datum/data/mining_equipment("Oxy Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/oxy, 25), - new /datum/data/mining_equipment("Detox Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/detox, 25), - new /datum/data/mining_equipment("Injector (L) - Glucose", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/glucose,50), - new /datum/data/mining_equipment("Injector (L) - Panacea", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/purity,50), - new /datum/data/mining_equipment("Injector (L) - Trauma", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/brute,50), - new /datum/data/mining_equipment("Digital Tablet - Standard", /obj/item/modular_computer/tablet/preset/custom_loadout/standard, 50), - new /datum/data/mining_equipment("Digital Tablet - Advanced", /obj/item/modular_computer/tablet/preset/custom_loadout/advanced, 100), - new /datum/data/mining_equipment("Nanopaste Tube", /obj/item/stack/nanopaste, 100), - new /datum/data/mining_equipment("Mini-Translocator", /obj/item/device/perfect_tele/one_beacon, 120), - new /datum/data/mining_equipment("UAV - Recon Skimmer", /obj/item/device/uav, 400), - new /datum/data/mining_equipment("Thalers - 100", /obj/item/weapon/spacecash/c100, 100), - new /datum/data/mining_equipment("Jump Boots", /obj/item/clothing/shoes/bhop, 250), - new /datum/data/mining_equipment("Luxury Shelter Capsule", /obj/item/device/survivalcapsule/luxury, 310), - new /datum/data/mining_equipment("Bar Shelter Capsule", /obj/item/device/survivalcapsule/luxurybar, 1000), - new /datum/data/mining_equipment("Industrial Equipment - Phoron Bore",/obj/item/weapon/gun/magnetic/matfed, 300), - new /datum/data/mining_equipment("Survey Tools - Shovel", /obj/item/weapon/shovel, 40), - new /datum/data/mining_equipment("Survey Tools - Mechanical Trap", /obj/item/weapon/beartrap, 50), - new /datum/data/mining_equipment("Defense Equipment - Smoke Bomb",/obj/item/weapon/grenade/smokebomb, 10), - new /datum/data/mining_equipment("Defense Equipment - Razor Drone Deployer",/obj/item/weapon/grenade/spawnergrenade/manhacks/station/locked, 100), - new /datum/data/mining_equipment("Defense Equipment - Sentry Drone Deployer",/obj/item/weapon/grenade/spawnergrenade/ward, 150), - new /datum/data/mining_equipment("Defense Equipment - Steel Machete", /obj/item/weapon/material/knife/machete, 75), - new /datum/data/mining_equipment("Fishing Net", /obj/item/weapon/material/fishing_net, 50), - new /datum/data/mining_equipment("Titanium Fishing Rod", /obj/item/weapon/material/fishing_rod/modern, 100), - new /datum/data/mining_equipment("Durasteel Fishing Rod", /obj/item/weapon/material/fishing_rod/modern/strong, 750), - new /datum/data/mining_equipment("Survival Equipment - Insulated Poncho", /obj/random/thermalponcho, 75) - ) - //VOREStation Edit End + prize_list = list() + prize_list["Gear"] = list( + EQUIPMENT("Defense Equipment - Plasteel Machete", /obj/item/weapon/material/knife/machete, 500), + EQUIPMENT("Defense Equipment - Razor Drone Deployer", /obj/item/weapon/grenade/spawnergrenade/manhacks/station/locked, 1000), + EQUIPMENT("Defense Equipment - Sentry Drone Deployer", /obj/item/weapon/grenade/spawnergrenade/ward, 1500), + EQUIPMENT("Defense Equipment - Smoke Bomb", /obj/item/weapon/grenade/smokebomb, 100), + EQUIPMENT("Durasteel Fishing Rod", /obj/item/weapon/material/fishing_rod/modern/strong, 7500), + EQUIPMENT("Fishing Net", /obj/item/weapon/material/fishing_net, 500), + EQUIPMENT("Titanium Fishing Rod", /obj/item/weapon/material/fishing_rod/modern, 1000), + EQUIPMENT("Fulton Beacon", /obj/item/fulton_core, 500), + EQUIPMENT("Geiger Counter", /obj/item/device/geiger, 750), + EQUIPMENT("GPS Device", /obj/item/device/gps/mining, 100), + EQUIPMENT("Jump Boots", /obj/item/clothing/shoes/bhop, 2500), + EQUIPMENT("Mini-Translocator", /obj/item/device/perfect_tele/one_beacon, 1200), + EQUIPMENT("Survival Equipment - Insulated Poncho", /obj/random/thermalponcho, 750), + ) + prize_list["Consumables"] = list( + EQUIPMENT("1 Marker Beacon", /obj/item/stack/marker_beacon, 10), + EQUIPMENT("10 Marker Beacons", /obj/item/stack/marker_beacon/ten, 100), + EQUIPMENT("30 Marker Beacons", /obj/item/stack/marker_beacon/thirty, 300), + EQUIPMENT("Fulton Pack", /obj/item/extraction_pack, 1200), + EQUIPMENT("Injector (L) - Glucose", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/glucose, 500), + EQUIPMENT("Injector (L) - Panacea", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/purity, 500), + EQUIPMENT("Injector (L) - Trauma", /obj/item/weapon/reagent_containers/hypospray/autoinjector/biginjector/brute, 500), + EQUIPMENT("Nanopaste Tube", /obj/item/stack/nanopaste, 1000), + EQUIPMENT("Point Transfer Card", /obj/item/weapon/card/mining_point_card/survey, 500), + EQUIPMENT("Shelter Capsule", /obj/item/device/survivalcapsule, 500), + EQUIPMENT("Burn Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/burn, 250), + EQUIPMENT("Detox Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/detox, 250), + EQUIPMENT("Oxy Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/oxy, 250), + EQUIPMENT("Trauma Medipen", /obj/item/weapon/reagent_containers/hypospray/autoinjector/trauma, 250), + ) + prize_list["Digging Tools"] = list( + EQUIPMENT("Survey Tools - Shovel", /obj/item/weapon/shovel, 40), + EQUIPMENT("Survey Tools - Mechanical Trap", /obj/item/weapon/beartrap, 50), + ) + prize_list["Miscellaneous"] = list( + EQUIPMENT("Absinthe", /obj/item/weapon/reagent_containers/food/drinks/bottle/absinthe, 125), + EQUIPMENT("Bar Shelter Capsule", /obj/item/device/survivalcapsule/luxurybar, 10000), + EQUIPMENT("Cigar", /obj/item/clothing/mask/smokable/cigarette/cigar/havana, 150), + EQUIPMENT("Digital Tablet - Advanced", /obj/item/modular_computer/tablet/preset/custom_loadout/advanced, 1000), + EQUIPMENT("Digital Tablet - Standard", /obj/item/modular_computer/tablet/preset/custom_loadout/standard, 500), + EQUIPMENT("Industrial Equipment - Phoron Bore", /obj/item/weapon/gun/magnetic/matfed, 3000), + EQUIPMENT("Laser Pointer", /obj/item/device/laser_pointer, 900), + EQUIPMENT("Luxury Shelter Capsule", /obj/item/device/survivalcapsule/luxury, 3100), + EQUIPMENT("Plush Toy", /obj/random/plushie, 300), + EQUIPMENT("Soap", /obj/item/weapon/soap/nanotrasen, 200), + EQUIPMENT("Thalers - 100", /obj/item/weapon/spacecash/c100, 1000), + EQUIPMENT("Umbrella", /obj/item/weapon/melee/umbrella/random, 200), + EQUIPMENT("UAV - Recon Skimmer", /obj/item/device/uav, 400), + EQUIPMENT("Whiskey", /obj/item/weapon/reagent_containers/food/drinks/bottle/whiskey, 125), + ) + //VOREStation Edit End -/obj/machinery/mineral/equipment_vendor/survey/interact(mob/user) - user.set_machine(src) +/obj/machinery/mineral/equipment_vendor/survey/get_points(obj/item/weapon/card/id/target) + if(!istype(target)) + return 0 + return target.survey_points - var/dat - dat +="
" - if(istype(inserted_id)) - dat += "You have [inserted_id.survey_points] survey points collected. Eject ID.
" - else - dat += "No ID inserted. Insert ID.
" - dat += "
" - dat += "
Equipment point cost list:
" - for(var/datum/data/mining_equipment/prize in prize_list) - dat += "" - dat += "
[prize.equipment_name][prize.cost]Purchase
" - var/datum/browser/popup = new(user, "miningvendor", "Survey Equipment Vendor", 400, 600) - popup.set_content(dat) - popup.open() - -/obj/machinery/mineral/equipment_vendor/survey/Topic(href, href_list) - if(..()) - return 1 - - if(href_list["choice"]) - if(istype(inserted_id)) - if(href_list["choice"] == "eject") - to_chat(usr, "You eject the ID from [src]'s card slot.") - usr.put_in_hands(inserted_id) - inserted_id = null - else if(href_list["choice"] == "insert") - var/obj/item/weapon/card/id/I = usr.get_active_hand() - if(istype(I) && !inserted_id && usr.unEquip(I)) - I.forceMove(src) - inserted_id = I - interact(usr) - to_chat(usr, "You insert the ID into [src]'s card slot.") - else - to_chat(usr, "No valid ID.") - flick(icon_deny, src) - - if(href_list["purchase"]) - if(istype(inserted_id)) - var/datum/data/mining_equipment/prize = locate(href_list["purchase"]) - if (!prize || !(prize in prize_list)) - to_chat(usr, "Error: Invalid choice!") - flick(icon_deny, src) - return - if(prize.cost > inserted_id.survey_points) - to_chat(usr, "Error: Insufficent points for [prize.equipment_name]!") - flick(icon_deny, src) - else - inserted_id.survey_points -= prize.cost - to_chat(usr, "[src] clanks to life briefly before vending [prize.equipment_name]!") - flick(icon_vend, src) //VOREStation Add - new prize.equipment_path(drop_location()) - else - to_chat(usr, "Error: Please insert a valid ID!") - flick(icon_deny, src) - updateUsrDialog() +/obj/machinery/mineral/equipment_vendor/survey/remove_points(obj/item/weapon/card/id/target, amt) + target.survey_points -= amt diff --git a/tgui/packages/tgui/public/tgui.bundle.js b/tgui/packages/tgui/public/tgui.bundle.js index 6b232b636e..7dde6736b3 100644 --- a/tgui/packages/tgui/public/tgui.bundle.js +++ b/tgui/packages/tgui/public/tgui.bundle.js @@ -1,27 +1,19 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=189)}([function(e,t,n){"use strict";var o=n(7),r=n(20).f,i=n(30),a=n(23),c=n(94),l=n(133),d=n(65);e.exports=function(e,t){var n,u,s,p,m,f=e.target,h=e.global,C=e.stat;if(n=h?o:C?o[f]||c(f,{}):(o[f]||{}).prototype)for(u in t){if(p=t[u],s=e.noTargetGet?(m=r(n,u))&&m.value:n[u],!d(h?u:f+(C?".":"#")+u,e.forced)&&s!==undefined){if(typeof p==typeof s)continue;l(p,s)}(e.sham||s&&s.sham)&&i(p,"sham",!0),a(n,u,p,e)}}},function(e,t,n){"use strict";t.__esModule=!0;var o=n(404);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=o[e])}))},function(e,t,n){"use strict";(function(e){t.__esModule=!0,t.useSharedState=t.useLocalState=t.useBackend=t.selectBackend=t.sendAct=t.sendMessage=t.backendMiddleware=t.backendReducer=t.backendSuspendSuccess=t.backendSuspendStart=t.backendSetSharedState=t.backendUpdate=void 0;var o=n(166),r=n(33),i=n(91);var a=(0,n(29).createLogger)("backend");t.backendUpdate=function(e){return{type:"backend/update",payload:e}};var c=function(e,t){return{type:"backend/setSharedState",payload:{key:e,nextState:t}}};t.backendSetSharedState=c;t.backendSuspendStart=function(){return{type:"backend/suspendStart"}};t.backendSuspendSuccess=function(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}};var l={config:{},data:{}};t.backendReducer=function(e,t){void 0===e&&(e=l);var n=t.type,o=t.payload;if("backend/update"===n){var i=Object.assign({},e.config,{},o.config),a=Object.assign({},e.data,{},o.static_data,{},o.data),c=Object.assign({},e.shared);if(o.shared)for(var d=0,u=Object.keys(o.shared);d=0||(r[n]=e[n]);return r}(t,["payload"]),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=d;var u=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?a.error("Payload for act() must be an object, got this:",t):d({type:"act/"+e,payload:t})};t.sendAct=u;var s=function(e){return e.backend||{}};t.selectBackend=s;t.useBackend=function(e){var t=e.store,n=s(t.getState());return Object.assign({},n,{act:u})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(c(t,"function"==typeof e?e(a):e))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){d({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}}).call(this,n(420).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.Tabs=t.Table=t.Slider=t.Section=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.NanoMap=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.AnimatedNumber=void 0;var o=n(124);t.AnimatedNumber=o.AnimatedNumber;var r=n(430);t.BlockQuote=r.BlockQuote;var i=n(17);t.Box=i.Box;var a=n(125);t.Button=a.Button;var c=n(431);t.ByondUi=c.ByondUi;var l=n(433);t.Chart=l.Chart;var d=n(434);t.Collapsible=d.Collapsible;var u=n(435);t.ColorBox=u.ColorBox;var s=n(171);t.Dimmer=s.Dimmer;var p=n(172);t.Divider=p.Divider;var m=n(127);t.DraggableControl=m.DraggableControl;var f=n(436);t.Dropdown=f.Dropdown;var h=n(173);t.Flex=h.Flex;var C=n(437);t.Grid=C.Grid;var g=n(126);t.Icon=g.Icon;var b=n(438);t.Input=b.Input;var N=n(439);t.Knob=N.Knob;var v=n(440);t.LabeledControls=v.LabeledControls;var V=n(441);t.LabeledList=V.LabeledList;var y=n(442);t.NanoMap=y.NanoMap;var x=n(443);t.Modal=x.Modal;var _=n(444);t.NoticeBox=_.NoticeBox;var k=n(129);t.NumberInput=k.NumberInput;var w=n(445);t.ProgressBar=w.ProgressBar;var L=n(446);t.Section=L.Section;var B=n(447);t.Slider=B.Slider;var S=n(128);t.Table=S.Table;var I=n(448);t.Tabs=I.Tabs;var E=n(170);t.Tooltip=E.Tooltip},function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.NtosWindow=t.refocusLayout=t.Layout=void 0;var o=n(123);t.Layout=o.Layout,t.refocusLayout=o.refocusLayout;var r=n(429);t.NtosWindow=r.NtosWindow;var i=n(174);t.Window=i.Window},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";t.__esModule=!0,t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return en?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=(e*=n=Math.pow(10,t))>0|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var o=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=o;t.keyOfMatchingRange=function(e,t){for(var n=0,r=Object.keys(t);n0?r(o(e),9007199254740991):0}},function(e,t,n){"use strict";var o=n(7),r=n(96),i=n(18),a=n(62),c=n(100),l=n(136),d=r("wks"),u=o.Symbol,s=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(d,e)||(c&&i(u,e)?d[e]=u[e]:d[e]=s("Symbol."+e)),d[e]}},function(e,t,n){"use strict";var o=n(10),r=n(130),i=n(11),a=n(36),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var o=n(22);e.exports=function(e){return Object(o(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(9),r=n(1),i=n(428),a=n(33);var c=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=c;var l=function(e){return"string"==typeof e?c(e):"number"==typeof e?c(.5*e):void 0};t.halfUnit=l;var d=function(e){return"string"==typeof e&&a.CSS_COLORS.includes(e)},u=function(e){return function(t,n){(0,o.isFalsy)(n)||(t[e]=n)}},s=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t(r))}},p=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t)}},m=function(e,t,n){return function(r,i){if(!(0,o.isFalsy)(i))for(var a=0;a0&&(t.style=l),t};t.computeBoxProps=C;var g=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([d(t)&&"color-"+t,d(n)&&"color-bg-"+n])};t.computeBoxClassName=g;var b=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["as","className","children"]);if("function"==typeof a)return a(C(e));var l="string"==typeof o?o+" "+g(c):g(c),d=C(c);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,d)};t.Box=b,b.defaultHooks=o.pureComponentHooks},function(e,t,n){"use strict";var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,n){"use strict";var o=n(51),r=n(61),i=n(16),a=n(13),c=n(67),l=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,u=4==e,s=6==e,p=5==e||s;return function(m,f,h,C){for(var g,b,N=i(m),v=r(N),V=o(f,h,3),y=a(v.length),x=0,_=C||c,k=t?_(m,y):n?_(m,0):undefined;y>x;x++)if((p||x in v)&&(b=V(g=v[x],x,N),e))if(t)k[x]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return x;case 2:l.call(k,g)}else if(u)return!1;return s?-1:d||u?u:k}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6)}},function(e,t,n){"use strict";var o=n(10),r=n(75),i=n(49),a=n(25),c=n(36),l=n(18),d=n(130),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=a(e),t=c(t,!0),d)try{return u(e,t)}catch(n){}if(l(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n",apos:"'",trade:"\u2122"};return e.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos|trade);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var o=n(7),r=n(30),i=n(18),a=n(94),c=n(95),l=n(37),d=l.get,u=l.enforce,s=String(String).split("String");(e.exports=function(e,t,n,c){var l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||r(n,"name",t),u(n).source=s.join("string"==typeof t?t:"")),e!==o?(l?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:r(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d(this).source||c(this)}))},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(18),a=Object.defineProperty,c={},l=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],d=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:l,s=i(t,1)?t[1]:undefined;return c[e]=!!n&&!r((function(){if(d&&!o)return!0;var e={length:-1};d?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,s)}))}},function(e,t,n){"use strict";var o=n(61),r=n(22);e.exports=function(e){return o(r(e))}},function(e,t,n){"use strict";var o=n(134),r=n(18),i=n(140),a=n(15).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});r(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";var o=n(22),r=/"/g;e.exports=function(e,t,n,i){var a=String(o(e)),c="<"+t;return""!==n&&(c+=" "+n+'="'+String(i).replace(r,""")+'"'),c+">"+a+""}},function(e,t,n){"use strict";var o=n(5);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";t.__esModule=!0,t.logger=t.createLogger=void 0;n(167); +!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=191)}([function(e,t,n){"use strict";t.__esModule=!0;var o=n(406);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=o[e])}))},function(e,t,n){"use strict";var o=n(7),r=n(21).f,i=n(32),a=n(24),c=n(94),l=n(133),d=n(66);e.exports=function(e,t){var n,u,s,m,p,f=e.target,h=e.global,C=e.stat;if(n=h?o:C?o[f]||c(f,{}):(o[f]||{}).prototype)for(u in t){if(m=t[u],s=e.noTargetGet?(p=r(n,u))&&p.value:n[u],!d(h?u:f+(C?".":"#")+u,e.forced)&&s!==undefined){if(typeof m==typeof s)continue;l(m,s)}(e.sham||s&&s.sham)&&i(m,"sham",!0),a(n,u,m,e)}}},function(e,t,n){"use strict";(function(e){t.__esModule=!0,t.useSharedState=t.useLocalState=t.useBackend=t.selectBackend=t.sendAct=t.sendMessage=t.backendMiddleware=t.backendReducer=t.backendSuspendSuccess=t.backendSuspendStart=t.backendSetSharedState=t.backendUpdate=void 0;var o=n(166),r=n(35),i=n(91);var a=(0,n(26).createLogger)("backend");t.backendUpdate=function(e){return{type:"backend/update",payload:e}};var c=function(e,t){return{type:"backend/setSharedState",payload:{key:e,nextState:t}}};t.backendSetSharedState=c;t.backendSuspendStart=function(){return{type:"backend/suspendStart"}};t.backendSuspendSuccess=function(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}};var l={config:{},data:{}};t.backendReducer=function(e,t){void 0===e&&(e=l);var n=t.type,o=t.payload;if("backend/update"===n){var i=Object.assign({},e.config,{},o.config),a=Object.assign({},e.data,{},o.static_data,{},o.data),c=Object.assign({},e.shared);if(o.shared)for(var d=0,u=Object.keys(o.shared);d=0||(r[n]=e[n]);return r}(t,["payload"]),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=d;var u=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?a.error("Payload for act() must be an object, got this:",t):d({type:"act/"+e,payload:t})};t.sendAct=u;var s=function(e){return e.backend||{}};t.selectBackend=s;t.useBackend=function(e){var t=e.store,n=s(t.getState());return Object.assign({},n,{act:u})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(c(t,"function"==typeof e?e(a):e))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){d({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}}).call(this,n(422).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.Tabs=t.Table=t.Slider=t.Section=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.NanoMap=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.AnimatedNumber=void 0;var o=n(124);t.AnimatedNumber=o.AnimatedNumber;var r=n(431);t.BlockQuote=r.BlockQuote;var i=n(17);t.Box=i.Box;var a=n(125);t.Button=a.Button;var c=n(432);t.ByondUi=c.ByondUi;var l=n(434);t.Chart=l.Chart;var d=n(435);t.Collapsible=d.Collapsible;var u=n(436);t.ColorBox=u.ColorBox;var s=n(172);t.Dimmer=s.Dimmer;var m=n(173);t.Divider=m.Divider;var p=n(127);t.DraggableControl=p.DraggableControl;var f=n(437);t.Dropdown=f.Dropdown;var h=n(174);t.Flex=h.Flex;var C=n(438);t.Grid=C.Grid;var g=n(126);t.Icon=g.Icon;var b=n(439);t.Input=b.Input;var N=n(440);t.Knob=N.Knob;var v=n(441);t.LabeledControls=v.LabeledControls;var V=n(442);t.LabeledList=V.LabeledList;var y=n(443);t.NanoMap=y.NanoMap;var _=n(444);t.Modal=_.Modal;var x=n(445);t.NoticeBox=x.NoticeBox;var k=n(129);t.NumberInput=k.NumberInput;var w=n(446);t.ProgressBar=w.ProgressBar;var L=n(447);t.Section=L.Section;var B=n(448);t.Slider=B.Slider;var S=n(128);t.Table=S.Table;var I=n(449);t.Tabs=I.Tabs;var E=n(171);t.Tooltip=E.Tooltip},function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.NtosWindow=t.refocusLayout=t.Layout=void 0;var o=n(123);t.Layout=o.Layout,t.refocusLayout=o.refocusLayout;var r=n(430);t.NtosWindow=r.NtosWindow;var i=n(175);t.Window=i.Window},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";t.__esModule=!0,t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return en?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=(e*=n=Math.pow(10,t))>0|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var o=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=o;t.keyOfMatchingRange=function(e,t){for(var n=0,r=Object.keys(t);n0?r(o(e),9007199254740991):0}},function(e,t,n){"use strict";var o=n(7),r=n(96),i=n(19),a=n(63),c=n(100),l=n(136),d=r("wks"),u=o.Symbol,s=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(d,e)||(c&&i(u,e)?d[e]=u[e]:d[e]=s("Symbol."+e)),d[e]}},function(e,t,n){"use strict";var o=n(10),r=n(130),i=n(11),a=n(37),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var o=n(23);e.exports=function(e){return Object(o(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(9),r=n(0),i=n(429),a=n(35);var c=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=c;var l=function(e){return"string"==typeof e?c(e):"number"==typeof e?c(.5*e):void 0};t.halfUnit=l;var d=function(e){return"string"==typeof e&&a.CSS_COLORS.includes(e)},u=function(e){return function(t,n){(0,o.isFalsy)(n)||(t[e]=n)}},s=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t(r))}},m=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t)}},p=function(e,t,n){return function(r,i){if(!(0,o.isFalsy)(i))for(var a=0;a0&&(t.style=l),t};t.computeBoxProps=C;var g=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([d(t)&&"color-"+t,d(n)&&"color-bg-"+n])};t.computeBoxClassName=g;var b=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["as","className","children"]);if("function"==typeof a)return a(C(e));var l="string"==typeof o?o+" "+g(c):g(c),d=C(c);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,d)};t.Box=b,b.defaultHooks=o.pureComponentHooks},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n",apos:"'",trade:"\u2122"};return e.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos|trade);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,n){"use strict";var o=n(52),r=n(62),i=n(16),a=n(13),c=n(68),l=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,u=4==e,s=6==e,m=5==e||s;return function(p,f,h,C){for(var g,b,N=i(p),v=r(N),V=o(f,h,3),y=a(v.length),_=0,x=C||c,k=t?x(p,y):n?x(p,0):undefined;y>_;_++)if((m||_ in v)&&(b=V(g=v[_],_,N),e))if(t)k[_]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:l.call(k,g)}else if(u)return!1;return s?-1:d||u?u:k}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6)}},function(e,t,n){"use strict";var o=n(10),r=n(75),i=n(50),a=n(27),c=n(37),l=n(19),d=n(130),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=a(e),t=c(t,!0),d)try{return u(e,t)}catch(n){}if(l(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";t.__esModule=!0,t.zipWith=t.zip=t.uniqBy=t.reduce=t.sortBy=t.map=t.filter=t.toKeyedArray=t.toArray=void 0;t.toArray=function(e){if(Array.isArray(e))return e;if("object"==typeof e){var t=Object.prototype.hasOwnProperty,n=[];for(var o in e)t.call(e,o)&&n.push(e[o]);return n}return[]};t.toKeyedArray=function(e,t){return void 0===t&&(t="key"),o((function(e,n){var o;return Object.assign(((o={})[t]=n,o),e)}))(e)};t.filter=function(e){return function(t){if(null===t&&t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;oc)return 1}return 0};t.sortBy=function(){for(var e=arguments.length,t=new Array(e),n=0;n2?n-2:0),r=2;r=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",message:a})}},d=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r0?r:o)(e)}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.T0C=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.T0C=273.15;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Mercenary",freq:1213,color:"#6D3F40"},{name:"Raider",freq:1277,color:"#6D3F40"},{name:"Special Ops",freq:1341,color:"#5C5C8A"},{name:"AI Private",freq:1343,color:"#FF00FF"},{name:"Response Team",freq:1345,color:"#5C5C8A"},{name:"Supply",freq:1347,color:"#5F4519"},{name:"Service",freq:1349,color:"#6eaa2c"},{name:"Science",freq:1351,color:"#993399"},{name:"Command",freq:1353,color:"#193A7A"},{name:"Medical",freq:1355,color:"#008160"},{name:"Engineering",freq:1357,color:"#A66300"},{name:"Security",freq:1359,color:"#A30000"},{name:"Explorer",freq:1361,color:"#555555"},{name:"Talon",freq:1363,color:"#555555"},{name:"Common",freq:1459,color:"#008000"},{name:"Entertainment",freq:1461,color:"#339966"},{name:"Security(I)",freq:1475,color:"#008000"},{name:"Medical(I)",freq:1485,color:"#008000"}];var o=[{id:"oxygen",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"carbon dioxide",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"phoron",name:"Phoron",label:"Phoron",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:"other",name:"Other",label:"Other",color:"white"},{id:"pressure",name:"Pressure",label:"Pressure",color:"average"},{id:"temperature",name:"Temperature",label:"Temperature",color:"yellow"}];t.getGasLabel=function(e,t){var n=String(e).toLowerCase(),r=o.find((function(e){return e.id===n||e.name.toLowerCase()===n}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),n=o.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return n&&n.color}},function(e,t,n){"use strict";t.__esModule=!0,t.formatCommaNumber=t.formatMoney=t.formatPower=t.formatSiUnit=void 0;var o=n(6),r=["f","p","n","\u03bc","m"," ","k","M","G","T","P","E","Z","Y"],i=r.indexOf(" "),a=function(e,t,n){if(void 0===t&&(t=-i),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var a=Math.floor(Math.log10(e)),c=Math.floor(Math.max(3*t,a)),l=Math.floor(a/3),d=Math.floor(c/3),u=(0,o.clamp)(i+d,0,r.length),s=r[u],p=e/Math.pow(1e3,d),m=l>t?2+3*d-c:0;return((0,o.toFixed)(p,m)+" "+s+n).trim()}; + */var o=0,r=1,i=2,a=3,c=4,l=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",message:a})}},d=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r"+a+""}},function(e,t,n){"use strict";var o=n(5);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";t.__esModule=!0,t.formatTime=t.formatCommaNumber=t.formatMoney=t.formatPower=t.formatSiUnit=void 0;var o=n(6),r=["f","p","n","\u03bc","m"," ","k","M","G","T","P","E","Z","Y"],i=r.indexOf(" "),a=function(e,t,n){if(void 0===t&&(t=-i),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var a=Math.floor(Math.log10(e)),c=Math.floor(Math.max(3*t,a)),l=Math.floor(a/3),d=Math.floor(c/3),u=(0,o.clamp)(i+d,0,r.length),s=r[u],m=e/Math.pow(1e3,d),p=l>t?2+3*d-c:0;return((0,o.toFixed)(m,p)+" "+s+n).trim()}; /** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c0&&cc)return 1}return 0};t.sortBy=function(){for(var e=arguments.length,t=new Array(e),n=0;nn;)r[n]=t[n++];return r},K=function(e,t){E(e,t,{get:function(){return S(this)[t]}})},H=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},G=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return G(e,t=h(t,!0))?u(2,e[t]):T(e,t)},q=function(e,t,n){return!(G(e,t=h(t,!0))&&b(n)&&C(n,"value"))||C(n,"get")||C(n,"set")||n.configurable||C(n,"writable")&&!n.writable||C(n,"enumerable")&&!n.enumerable?E(e,t,n):(e[t]=n.value,e)};i?(F||(w.f=Y,k.f=q,K(j,"buffer"),K(j,"byteOffset"),K(j,"byteLength"),K(j,"length")),o({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Y,defineProperty:q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,h=r[c],C=h,g=C&&C.prototype,k={},w=function(e,t){E(e,t,{get:function(){return function(e,t){var n=S(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=S(e);n&&(o=(o=A(o))<0?0:o>255?255:255&o),r.view[u](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};F?a&&(C=t((function(e,t,n,o){return d(e,C,c),B(b(t)?H(t)?o!==undefined?new h(t,f(n,i),o):n!==undefined?new h(t,f(n,i)):new h(t):W(t)?U(C,t):y.call(C,t):new h(m(t)),e,C)})),v&&v(C,R),x(V(h),(function(e){e in C||s(C,e,h[e])})),C.prototype=g):(C=t((function(e,t,n,o){d(e,C,c);var r,a,l,u=0,s=0;if(b(t)){if(!H(t))return W(t)?U(C,t):y.call(C,t);r=t,s=f(n,i);var h=t.byteLength;if(o===undefined){if(h%i)throw O("Wrong length");if((a=h-s)<0)throw O("Wrong length")}else if((a=p(o)*i)+s>h)throw O("Wrong length");l=a/i}else l=m(t),r=new M(a=l*i);for(I(e,{buffer:r,byteOffset:s,byteLength:a,length:l,view:new P(r)});u"+e+"<\/script>"},f=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;f=o?function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=d("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};c[s]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=r(e),n=new p,p.prototype=null,n[s]=e):n=f(),t===undefined?n:i(n,t)}},function(e,t,n){"use strict";var o=n(15).f,r=n(18),i=n(14)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var o=n(14),r=n(45),i=n(15),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){"use strict";var o=n(11),r=n(32),i=n(14)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var o=n(135),r=n(98).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(32);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var o=n(36),r=n(15),i=n(49);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var o=n(11),r=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},function(e,t,n){"use strict";var o=n(63),r=n(8),i=n(18),a=n(15).f,c=n(62),l=n(71),d=c("meta"),u=0,s=Object.isExtensible||function(){return!0},p=function(e){a(e,d,{value:{objectID:"O"+ ++u,weakData:{}}})},m=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,d)){if(!s(e))return"F";if(!t)return"E";p(e)}return e[d].objectID},getWeakData:function(e,t){if(!i(e,d)){if(!s(e))return!0;if(!t)return!1;p(e)}return e[d].weakData},onFreeze:function(e){return l&&m.REQUIRED&&s(e)&&!i(e,d)&&p(e),e}};o[d]=!0},function(e,t,n){"use strict";t.__esModule=!0,t.ComplexModal=t.modalRegisterBodyOverride=t.modalOpen=void 0;var o=n(1),r=n(2),i=n(3),a={};t.modalOpen=function(e,t,n){var o=(0,r.useBackend)(e),i=o.act,a=o.data,c=Object.assign(a.modal?a.modal.args:{},n||{});i("modal_open",{id:t,arguments:JSON.stringify(c)})};t.modalRegisterBodyOverride=function(e,t){a[e]=t};var c=function(e,t,n,o){var i=(0,r.useBackend)(e),a=i.act,c=i.data;if(c.modal){var l=Object.assign(c.modal.args||{},o||{});a("modal_answer",{id:t,answer:n,arguments:JSON.stringify(l)})}},l=function(e,t){(0,(0,r.useBackend)(e).act)("modal_close",{id:t})};t.ComplexModal=function(e,t){var n=(0,r.useBackend)(t).data;if(n.modal){var d,u,s=n.modal,p=s.id,m=s.text,f=s.type,h=(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}});if(a[p])u=a[p](n.modal,t);else if("input"===f){var C=n.modal.value;d=function(e){return c(t,p,C)},u=(0,o.createComponentVNode)(2,i.Input,{value:n.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(e,t){C=t}}),h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){return c(t,p,C)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}else if("choice"===f){var g="object"==typeof n.modal.choices?Object.values(n.modal.choices):n.modal.choices;u=(0,o.createComponentVNode)(2,i.Dropdown,{options:g,selected:n.modal.value,width:"100%",my:"0.5rem",onSelected:function(e){return c(t,p,e)}})}else"bento"===f?u=(0,o.createComponentVNode)(2,i.Flex,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:n.modal.choices.map((function(e,r){return(0,o.createComponentVNode)(2,i.Flex.Item,{flex:"1 1 auto",children:(0,o.createComponentVNode)(2,i.Button,{selected:r+1===parseInt(n.modal.value,10),onClick:function(){return c(t,p,r+1)},children:(0,o.createVNode)(1,"img",null,null,1,{src:e})})},r)}))}):"boolean"===f&&(h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:n.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){return c(t,p,0)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:n.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){return c(t,p,1)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}));return(0,o.createComponentVNode)(2,i.Modal,{maxWidth:e.maxWidth||window.innerWidth/2+"px",maxHeight:e.maxHeight||window.innerHeight/2+"px",onEnter:d,mx:"auto",children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline",children:m}),u,h]})}}},function(e,t,n){"use strict";var o=n(35);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){"use strict";var o=n(40),r=n(15),i=n(14),a=n(10),c=i("species");e.exports=function(e){var t=o(e),n=r.f;a&&t&&!t[c]&&n(t,c,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var o=n(22),r="["+n(85)+"]",i=RegExp("^"+r+r+"*"),a=RegExp(r+r+"*$"),c=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:c(1),end:c(2),trim:c(3)}},function(e,t,n){"use strict";t.__esModule=!0,t.FullscreenNotice=void 0;var o=n(1),r=n(3);t.FullscreenNotice=function(e,t){var n=e.children,i=e.title,a=void 0===i?"Welcome":i;return(0,o.createComponentVNode)(2,r.Section,{title:a,height:"100%",stretchContents:!0,children:(0,o.createComponentVNode)(2,r.Flex,{height:"100%",align:"center",justify:"center",children:(0,o.createComponentVNode)(2,r.Flex.Item,{textAlign:"center",mt:"-2rem",children:n})})})}},function(e,t,n){"use strict";var o=n(5),r=n(35),i="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){"use strict";var o=0,r=Math.random();e.exports=function(e){return"Symbol("+String(e===undefined?"":e)+")_"+(++o+r).toString(36)}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var o=n(25),r=n(13),i=n(44),a=function(e){return function(t,n,a){var c,l=o(t),d=r(l.length),u=i(a,d);if(e&&n!=n){for(;d>u;)if((c=l[u++])!=c)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(5),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==d||n!=l&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",d=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var o=n(135),r=n(98);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(8),r=n(56),i=n(14)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[i])&&(n=undefined):n=undefined),new(n===undefined?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var o=n(5),r=n(14),i=n(101),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var o=n(23);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var o=n(11),r=n(103),i=n(13),a=n(51),c=n(104),l=n(143),d=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,s){var p,m,f,h,C,g,b,N=a(t,n,u?2:1);if(s)p=e;else{if("function"!=typeof(m=c(e)))throw TypeError("Target is not iterable");if(r(m)){for(f=0,h=i(e.length);h>f;f++)if((C=u?N(o(b=e[f])[0],b[1]):N(e[f]))&&C instanceof d)return C;return new d(!1)}p=m.call(e)}for(g=p.next;!(b=g.call(p)).done;)if("object"==typeof(C=l(p,N,b.value,u))&&C&&C instanceof d)return C;return new d(!1)}).stop=function(e){return new d(!0,e)}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),c=1;c1?o-1:0),i=1;i=0:s>p;p+=m)p in u&&(l=n(l,u[p],p,d));return l}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var o=n(7),r=n(10),i=n(108),a=n(30),c=n(70),l=n(5),d=n(58),u=n(31),s=n(13),p=n(148),m=n(236),f=n(38),h=n(53),C=n(50).f,g=n(15).f,b=n(102),N=n(46),v=n(37),V=v.get,y=v.set,x=o.ArrayBuffer,_=x,k=o.DataView,w=k&&k.prototype,L=Object.prototype,B=o.RangeError,S=m.pack,I=m.unpack,E=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},A=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},O=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return S(e,23,4)},P=function(e){return S(e,52,8)},F=function(e,t){g(e.prototype,t,{get:function(){return V(this)[t]}})},D=function(e,t,n,o){var r=p(n),i=V(e);if(r+t>i.byteLength)throw B("Wrong index");var a=V(i.buffer).bytes,c=r+i.byteOffset,l=a.slice(c,c+t);return o?l:l.reverse()},R=function(e,t,n,o,r,i){var a=p(n),c=V(e);if(a+t>c.byteLength)throw B("Wrong index");for(var l=V(c.buffer).bytes,d=a+c.byteOffset,u=o(+r),s=0;sU;)(j=W[U++])in _||a(_,j,x[j]);z.constructor=_}h&&f(w)!==L&&h(w,L);var K=new k(new _(2)),H=w.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(w,{setInt8:function(e,t){H.call(this,e,t<<24>>24)},setUint8:function(e,t){H.call(this,e,t<<24>>24)}},{unsafe:!0})}else _=function(e){d(this,_,"ArrayBuffer");var t=p(e);y(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},k=function(e,t,n){d(this,k,"DataView"),d(e,_,"DataView");var o=V(e).byteLength,i=u(t);if(i<0||i>o)throw B("Wrong offset");if(i+(n=n===undefined?o-i:s(n))>o)throw B("Wrong length");y(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(F(_,"byteLength"),F(k,"buffer"),F(k,"byteLength"),F(k,"byteOffset")),c(k.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return I(D(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return I(D(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){R(this,1,e,E,t)},setUint8:function(e,t){R(this,1,e,E,t)},setInt16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){R(this,4,e,M,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){R(this,8,e,P,t,arguments.length>2?arguments[2]:undefined)}});N(_,"ArrayBuffer"),N(k,"DataView"),e.exports={ArrayBuffer:_,DataView:k}},function(e,t,n){"use strict";var o=n(0),r=n(7),i=n(65),a=n(23),c=n(54),l=n(72),d=n(58),u=n(8),s=n(5),p=n(79),m=n(46),f=n(83);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),C=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],N=b&&b.prototype,v=b,V={},y=function(e){var t=N[e];a(N,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return C&&!u(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(C||N.forEach&&!s((function(){(new b).entries().next()})))))v=n.getConstructor(t,e,h,g),c.REQUIRED=!0;else if(i(e,!0)){var x=new v,_=x[g](C?{}:-0,1)!=x,k=s((function(){x.has(1)})),w=p((function(e){new b(e)})),L=!C&&s((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));w||((v=t((function(t,n){d(t,v,e);var o=f(new b,t,v);return n!=undefined&&l(n,o[g],o,h),o}))).prototype=N,N.constructor=v),(k||L)&&(y("delete"),y("has"),h&&y("get")),(L||_)&&y(g),C&&N.clear&&delete N.clear}return V[e]=v,o({global:!0,forced:v!=b},V),m(v,e),C||n.setStrong(v,e,h),v}},function(e,t,n){"use strict";var o=n(8),r=n(53);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},function(e,t,n){"use strict";var o=Math.expm1,r=Math.exp;e.exports=!o||o(10)>22025.465794806718||o(10)<22025.465794806718||-2e-17!=o(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:o},function(e,t,n){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,n){"use strict";var o=n(41),r=n(7),i=n(5);e.exports=o||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}))},function(e,t,n){"use strict";var o=n(11);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var o,r,i=n(87),a=n(114),c=RegExp.prototype.exec,l=String.prototype.replace,d=c,u=(o=/a/,r=/b*/g,c.call(o,"a"),c.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),s=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=/()??/.exec("")[1]!==undefined;(u||p||s)&&(d=function(e){var t,n,o,r,a=this,d=s&&a.sticky,m=i.call(a),f=a.source,h=0,C=e;return d&&(-1===(m=m.replace("y","")).indexOf("g")&&(m+="g"),C=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",C=" "+C,h++),n=new RegExp("^(?:"+f+")",m)),p&&(n=new RegExp("^"+f+"$(?!\\s)",m)),u&&(t=a.lastIndex),o=c.call(d?n:a,C),d?o?(o.input=o.input.slice(h),o[0]=o[0].slice(h),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:u&&o&&(a.lastIndex=a.global?o.index+o[0].length:t),p&&o&&o.length>1&&l.call(o[0],n,(function(){for(r=1;r")})),u="$0"==="a".replace(/./,"$0"),s=i("replace"),p=!!/./[s]&&""===/./[s]("a","$0"),m=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,s){var f=i(e),h=!r((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),C=h&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!C||"replace"===e&&(!d||!u||p)||"split"===e&&!m){var g=/./[f],b=n(f,""[e],(function(e,t,n,o,r){return t.exec===a?h&&!r?{done:!0,value:g.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),N=b[0],v=b[1];o(String.prototype,e,N),o(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}s&&c(RegExp.prototype[f],"sham",!0)}},function(e,t,n){"use strict";var o=n(35),r=n(88);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=48&&o<=90?String.fromCharCode(o):o>=112&&o<=123?"F"+(o-111):"["+o+"]"},u=function(e){var t=window.event?e.which:e.keyCode,n=e.ctrlKey,o=e.altKey,r=e.shiftKey;return{keyCode:t,ctrlKey:n,altKey:o,shiftKey:r,hasModifierKeys:n||o||r,keyString:d(n,o,r,t)}},s=function(){for(var e=0,t=Object.keys(l);e=112&&c<=123){i.log(d);for(var s,m=o(p);!(s=m()).done;)(0,s.value)(n,r)}}}(t,n,e)},document.addEventListener("keydown",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keydown"),l[n]=!0})),document.addEventListener("keyup",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keyup"),l[n]=!1})),Byond.IS_LTE_IE8||function(e){var t;document.addEventListener("focusout",(function(){t=setTimeout(e)})),document.addEventListener("focusin",(function(){clearTimeout(t)})),window.addEventListener("beforeunload",e)}((function(){s()})),function(e){return function(t){return e(t)}}}},function(e,t,n){"use strict";t.__esModule=!0,t.TemporaryNotice=void 0;var o=n(1),r=n(2),i=n(3);t.TemporaryNotice=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data.temp;if(l){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})))}}},function(e,t,n){"use strict";var o=n(7),r=n(8),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){"use strict";var o=n(7),r=n(30);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},function(e,t,n){"use strict";var o=n(131),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},function(e,t,n){"use strict";var o=n(41),r=n(131);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var o=n(40),r=n(50),i=n(99),a=n(11);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var o=n(5);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var o,r,i=n(7),a=n(77),c=i.process,l=c&&c.versions,d=l&&l.v8;d?r=(o=d.split("."))[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),l=a>2?arguments[2]:undefined,d=l===undefined?n:r(l,n);d>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var o=n(14),r=n(69),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var o=n(78),r=n(69),i=n(14)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},function(e,t,n){"use strict";var o={};o[n(14)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t,n){"use strict";var o=n(0),r=n(221),i=n(38),a=n(53),c=n(46),l=n(30),d=n(23),u=n(14),s=n(41),p=n(69),m=n(145),f=m.IteratorPrototype,h=m.BUGGY_SAFARI_ITERATORS,C=u("iterator"),g=function(){return this};e.exports=function(e,t,n,u,m,b,N){r(n,t,u);var v,V,y,x=function(e){if(e===m&&B)return B;if(!h&&e in w)return w[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},_=t+" Iterator",k=!1,w=e.prototype,L=w[C]||w["@@iterator"]||m&&w[m],B=!h&&L||x(m),S="Array"==t&&w.entries||L;if(S&&(v=i(S.call(new e)),f!==Object.prototype&&v.next&&(s||i(v)===f||(a?a(v,f):"function"!=typeof v[C]&&l(v,C,g)),c(v,_,!0,!0),s&&(p[_]=g))),"values"==m&&L&&"values"!==L.name&&(k=!0,B=function(){return L.call(this)}),s&&!N||w[C]===B||l(w,C,B),p[t]=B,m)if(V={values:x("values"),keys:b?B:x("keys"),entries:x("entries")},N)for(y in V)(h||k||!(y in w))&&d(w,y,V[y]);else o({target:t,proto:!0,forced:h||k},V);return V}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var o=n(13),r=n(110),i=n(22),a=Math.ceil,c=function(e){return function(t,n,c){var l,d,u=String(i(t)),s=u.length,p=c===undefined?" ":String(c),m=o(n);return m<=s||""==p?u:(l=m-s,(d=r.call(p,a(l/p.length))).length>l&&(d=d.slice(0,l)),e?u+d:d+u)}};e.exports={start:c(!1),end:c(!0)}},function(e,t,n){"use strict";var o=n(31),r=n(22);e.exports="".repeat||function(e){var t=String(r(this)),n="",i=o(e);if(i<0||i==Infinity)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var o,r,i,a=n(7),c=n(5),l=n(35),d=n(51),u=n(138),s=n(93),p=n(157),m=a.location,f=a.setImmediate,h=a.clearImmediate,C=a.process,g=a.MessageChannel,b=a.Dispatch,N=0,v={},V=function(e){if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){return function(){V(e)}},x=function(e){V(e.data)},_=function(e){a.postMessage(e+"",m.protocol+"//"+m.host)};f&&h||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++N]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},o(N),N},h=function(e){delete v[e]},"process"==l(C)?o=function(e){C.nextTick(y(e))}:b&&b.now?o=function(e){b.now(y(e))}:g&&!p?(i=(r=new g).port2,r.port1.onmessage=x,o=d(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(_)||"file:"===m.protocol?o="onreadystatechange"in s("script")?function(e){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),V(e)}}:function(e){setTimeout(y(e),0)}:(o=_,a.addEventListener("message",x,!1))),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var o=n(8),r=n(35),i=n(14)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},function(e,t,n){"use strict";var o=n(5);function r(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var o=n(31),r=n(22),i=function(e){return function(t,n){var i,a,c=String(r(t)),l=o(n),d=c.length;return l<0||l>=d?e?"":undefined:(i=c.charCodeAt(l))<55296||i>56319||l+1===d||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var o=n(113);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){"use strict";var o=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},function(e,t,n){"use strict";var o=n(115).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){"use strict";var o=n(5),r=n(85);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},function(e,t,n){"use strict";var o=n(7),r=n(5),i=n(79),a=n(12).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,l=o.Int8Array;e.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||r((function(){return 1!==new l(new c(2),1,undefined).length}))},function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.useDebug=t.selectDebug=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(91),r=function(){return{type:"debug/toggleKitchenSink"}}; + */t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c0&&c0})).join(":")}},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(50);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var o=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:o)(e)}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.T0C=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.T0C=273.15;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Mercenary",freq:1213,color:"#6D3F40"},{name:"Raider",freq:1277,color:"#6D3F40"},{name:"Special Ops",freq:1341,color:"#5C5C8A"},{name:"AI Private",freq:1343,color:"#FF00FF"},{name:"Response Team",freq:1345,color:"#5C5C8A"},{name:"Supply",freq:1347,color:"#5F4519"},{name:"Service",freq:1349,color:"#6eaa2c"},{name:"Science",freq:1351,color:"#993399"},{name:"Command",freq:1353,color:"#193A7A"},{name:"Medical",freq:1355,color:"#008160"},{name:"Engineering",freq:1357,color:"#A66300"},{name:"Security",freq:1359,color:"#A30000"},{name:"Explorer",freq:1361,color:"#555555"},{name:"Talon",freq:1363,color:"#555555"},{name:"Common",freq:1459,color:"#008000"},{name:"Entertainment",freq:1461,color:"#339966"},{name:"Security(I)",freq:1475,color:"#008000"},{name:"Medical(I)",freq:1485,color:"#008000"}];var o=[{id:"oxygen",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"carbon dioxide",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"phoron",name:"Phoron",label:"Phoron",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:"other",name:"Other",label:"Other",color:"white"},{id:"pressure",name:"Pressure",label:"Pressure",color:"average"},{id:"temperature",name:"Temperature",label:"Temperature",color:"yellow"}];t.getGasLabel=function(e,t){var n=String(e).toLowerCase(),r=o.find((function(e){return e.id===n||e.name.toLowerCase()===n}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),n=o.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return n&&n.color}},function(e,t,n){"use strict";var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var o,r,i,a=n(132),c=n(7),l=n(8),d=n(32),u=n(19),s=n(76),m=n(64),p=c.WeakMap;if(a){var f=new p,h=f.get,C=f.has,g=f.set;o=function(e,t){return g.call(f,e,t),t},r=function(e){return h.call(f,e)||{}},i=function(e){return C.call(f,e)}}else{var b=s("state");m[b]=!0,o=function(e,t){return d(e,b,t),t},r=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var o=n(19),r=n(16),i=n(76),a=n(107),c=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),o(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";var o=n(134),r=n(7),i=function(e){return"function"==typeof e?e:undefined};e.exports=function(e,t){return arguments.length<2?i(o[e])||i(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var o=n(5);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(10),a=n(120),c=n(12),l=n(81),d=n(59),u=n(50),s=n(32),m=n(13),p=n(148),f=n(163),h=n(37),C=n(19),g=n(78),b=n(8),N=n(45),v=n(54),V=n(51).f,y=n(164),_=n(20).forEach,x=n(58),k=n(15),w=n(21),L=n(38),B=n(83),S=L.get,I=L.set,E=k.f,T=w.f,A=Math.round,O=r.RangeError,M=l.ArrayBuffer,P=l.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,R=c.TypedArray,j=c.TypedArrayPrototype,z=c.aTypedArrayConstructor,W=c.isTypedArray,U=function(e,t){for(var n=0,o=t.length,r=new(z(e))(o);o>n;)r[n]=t[n++];return r},K=function(e,t){E(e,t,{get:function(){return S(this)[t]}})},H=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},G=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return G(e,t=h(t,!0))?u(2,e[t]):T(e,t)},q=function(e,t,n){return!(G(e,t=h(t,!0))&&b(n)&&C(n,"value"))||C(n,"get")||C(n,"set")||n.configurable||C(n,"writable")&&!n.writable||C(n,"enumerable")&&!n.enumerable?E(e,t,n):(e[t]=n.value,e)};i?(F||(w.f=Y,k.f=q,K(j,"buffer"),K(j,"byteOffset"),K(j,"byteLength"),K(j,"length")),o({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Y,defineProperty:q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,h=r[c],C=h,g=C&&C.prototype,k={},w=function(e,t){E(e,t,{get:function(){return function(e,t){var n=S(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=S(e);n&&(o=(o=A(o))<0?0:o>255?255:255&o),r.view[u](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};F?a&&(C=t((function(e,t,n,o){return d(e,C,c),B(b(t)?H(t)?o!==undefined?new h(t,f(n,i),o):n!==undefined?new h(t,f(n,i)):new h(t):W(t)?U(C,t):y.call(C,t):new h(p(t)),e,C)})),v&&v(C,R),_(V(h),(function(e){e in C||s(C,e,h[e])})),C.prototype=g):(C=t((function(e,t,n,o){d(e,C,c);var r,a,l,u=0,s=0;if(b(t)){if(!H(t))return W(t)?U(C,t):y.call(C,t);r=t,s=f(n,i);var h=t.byteLength;if(o===undefined){if(h%i)throw O("Wrong length");if((a=h-s)<0)throw O("Wrong length")}else if((a=m(o)*i)+s>h)throw O("Wrong length");l=a/i}else l=p(t),r=new M(a=l*i);for(I(e,{buffer:r,byteOffset:s,byteLength:a,length:l,view:new P(r)});u"+e+"<\/script>"},f=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;f=o?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=d("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};c[s]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m.prototype=r(e),n=new m,m.prototype=null,n[s]=e):n=f(),t===undefined?n:i(n,t)}},function(e,t,n){"use strict";var o=n(15).f,r=n(19),i=n(14)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var o=n(14),r=n(45),i=n(15),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){"use strict";var o=n(11),r=n(34),i=n(14)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},function(e,t,n){"use strict";t.__esModule=!0,t.ComplexModal=t.modalRegisterBodyOverride=t.modalOpen=void 0;var o=n(0),r=n(2),i=n(3),a={};t.modalOpen=function(e,t,n){var o=(0,r.useBackend)(e),i=o.act,a=o.data,c=Object.assign(a.modal?a.modal.args:{},n||{});i("modal_open",{id:t,arguments:JSON.stringify(c)})};t.modalRegisterBodyOverride=function(e,t){a[e]=t};var c=function(e,t,n,o){var i=(0,r.useBackend)(e),a=i.act,c=i.data;if(c.modal){var l=Object.assign(c.modal.args||{},o||{});a("modal_answer",{id:t,answer:n,arguments:JSON.stringify(l)})}},l=function(e,t){(0,(0,r.useBackend)(e).act)("modal_close",{id:t})};t.ComplexModal=function(e,t){var n=(0,r.useBackend)(t).data;if(n.modal){var d,u,s=n.modal,m=s.id,p=s.text,f=s.type,h=(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}});if(a[m])u=a[m](n.modal,t);else if("input"===f){var C=n.modal.value;d=function(e){return c(t,m,C)},u=(0,o.createComponentVNode)(2,i.Input,{value:n.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(e,t){C=t}}),h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){return c(t,m,C)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}else if("choice"===f){var g="object"==typeof n.modal.choices?Object.values(n.modal.choices):n.modal.choices;u=(0,o.createComponentVNode)(2,i.Dropdown,{options:g,selected:n.modal.value,width:"100%",my:"0.5rem",onSelected:function(e){return c(t,m,e)}})}else"bento"===f?u=(0,o.createComponentVNode)(2,i.Flex,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:n.modal.choices.map((function(e,r){return(0,o.createComponentVNode)(2,i.Flex.Item,{flex:"1 1 auto",children:(0,o.createComponentVNode)(2,i.Button,{selected:r+1===parseInt(n.modal.value,10),onClick:function(){return c(t,m,r+1)},children:(0,o.createVNode)(1,"img",null,null,1,{src:e})})},r)}))}):"boolean"===f&&(h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:n.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){return c(t,m,0)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:n.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){return c(t,m,1)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}));return(0,o.createComponentVNode)(2,i.Modal,{maxWidth:e.maxWidth||window.innerWidth/2+"px",maxHeight:e.maxHeight||window.innerHeight/2+"px",onEnter:d,mx:"auto",children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline",children:p}),u,h]})}}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var o=n(135),r=n(98).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(34);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var o=n(37),r=n(15),i=n(50);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var o=n(11),r=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},function(e,t,n){"use strict";var o=n(64),r=n(8),i=n(19),a=n(15).f,c=n(63),l=n(72),d=c("meta"),u=0,s=Object.isExtensible||function(){return!0},m=function(e){a(e,d,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,d)){if(!s(e))return"F";if(!t)return"E";m(e)}return e[d].objectID},getWeakData:function(e,t){if(!i(e,d)){if(!s(e))return!0;if(!t)return!1;m(e)}return e[d].weakData},onFreeze:function(e){return l&&p.REQUIRED&&s(e)&&!i(e,d)&&m(e),e}};o[d]=!0},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),c=1;c1?o-1:0),i=1;iu;)if((c=l[u++])!=c)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(5),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==d||n!=l&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",d=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var o=n(135),r=n(98);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(8),r=n(57),i=n(14)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[i])&&(n=undefined):n=undefined),new(n===undefined?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var o=n(5),r=n(14),i=n(101),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var o=n(24);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var o=n(11),r=n(103),i=n(13),a=n(52),c=n(104),l=n(143),d=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,s){var m,p,f,h,C,g,b,N=a(t,n,u?2:1);if(s)m=e;else{if("function"!=typeof(p=c(e)))throw TypeError("Target is not iterable");if(r(p)){for(f=0,h=i(e.length);h>f;f++)if((C=u?N(o(b=e[f])[0],b[1]):N(e[f]))&&C instanceof d)return C;return new d(!1)}m=p.call(e)}for(g=m.next;!(b=g.call(m)).done;)if("object"==typeof(C=l(m,N,b.value,u))&&C&&C instanceof d)return C;return new d(!1)}).stop=function(e){return new d(!0,e)}},function(e,t,n){"use strict";var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(r){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){"use strict";var o=n(96),r=n(63),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){"use strict";var o=n(40);e.exports=o("navigator","userAgent")||""},function(e,t,n){"use strict";var o=n(105),r=n(36),i=n(14)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return e===undefined?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";var o=n(14)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},"return":function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},function(e,t,n){"use strict";var o=n(34),r=n(16),i=n(62),a=n(13),c=function(e){return function(t,n,c,l){o(n);var d=r(t),u=i(d),s=a(d.length),m=e?s-1:0,p=e?-1:1;if(c<2)for(;;){if(m in u){l=u[m],m+=p;break}if(m+=p,e?m<0:s<=m)throw TypeError("Reduce of empty array with no initial value")}for(;e?m>=0:s>m;m+=p)m in u&&(l=n(l,u[m],m,d));return l}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var o=n(7),r=n(10),i=n(108),a=n(32),c=n(71),l=n(5),d=n(59),u=n(33),s=n(13),m=n(148),p=n(238),f=n(39),h=n(54),C=n(51).f,g=n(15).f,b=n(102),N=n(46),v=n(38),V=v.get,y=v.set,_=o.ArrayBuffer,x=_,k=o.DataView,w=k&&k.prototype,L=Object.prototype,B=o.RangeError,S=p.pack,I=p.unpack,E=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},A=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},O=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return S(e,23,4)},P=function(e){return S(e,52,8)},F=function(e,t){g(e.prototype,t,{get:function(){return V(this)[t]}})},D=function(e,t,n,o){var r=m(n),i=V(e);if(r+t>i.byteLength)throw B("Wrong index");var a=V(i.buffer).bytes,c=r+i.byteOffset,l=a.slice(c,c+t);return o?l:l.reverse()},R=function(e,t,n,o,r,i){var a=m(n),c=V(e);if(a+t>c.byteLength)throw B("Wrong index");for(var l=V(c.buffer).bytes,d=a+c.byteOffset,u=o(+r),s=0;sU;)(j=W[U++])in x||a(x,j,_[j]);z.constructor=x}h&&f(w)!==L&&h(w,L);var K=new k(new x(2)),H=w.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(w,{setInt8:function(e,t){H.call(this,e,t<<24>>24)},setUint8:function(e,t){H.call(this,e,t<<24>>24)}},{unsafe:!0})}else x=function(e){d(this,x,"ArrayBuffer");var t=m(e);y(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},k=function(e,t,n){d(this,k,"DataView"),d(e,x,"DataView");var o=V(e).byteLength,i=u(t);if(i<0||i>o)throw B("Wrong offset");if(i+(n=n===undefined?o-i:s(n))>o)throw B("Wrong length");y(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(F(x,"byteLength"),F(k,"buffer"),F(k,"byteLength"),F(k,"byteOffset")),c(k.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return I(D(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return I(D(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){R(this,1,e,E,t)},setUint8:function(e,t){R(this,1,e,E,t)},setInt16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){R(this,4,e,M,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){R(this,8,e,P,t,arguments.length>2?arguments[2]:undefined)}});N(x,"ArrayBuffer"),N(k,"DataView"),e.exports={ArrayBuffer:x,DataView:k}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(66),a=n(24),c=n(55),l=n(73),d=n(59),u=n(8),s=n(5),m=n(79),p=n(46),f=n(83);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),C=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],N=b&&b.prototype,v=b,V={},y=function(e){var t=N[e];a(N,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return C&&!u(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(C||N.forEach&&!s((function(){(new b).entries().next()})))))v=n.getConstructor(t,e,h,g),c.REQUIRED=!0;else if(i(e,!0)){var _=new v,x=_[g](C?{}:-0,1)!=_,k=s((function(){_.has(1)})),w=m((function(e){new b(e)})),L=!C&&s((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));w||((v=t((function(t,n){d(t,v,e);var o=f(new b,t,v);return n!=undefined&&l(n,o[g],o,h),o}))).prototype=N,N.constructor=v),(k||L)&&(y("delete"),y("has"),h&&y("get")),(L||x)&&y(g),C&&N.clear&&delete N.clear}return V[e]=v,o({global:!0,forced:v!=b},V),p(v,e),C||n.setStrong(v,e,h),v}},function(e,t,n){"use strict";var o=n(8),r=n(54);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},function(e,t,n){"use strict";var o=Math.expm1,r=Math.exp;e.exports=!o||o(10)>22025.465794806718||o(10)<22025.465794806718||-2e-17!=o(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:o},function(e,t,n){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,n){"use strict";var o=n(41),r=n(7),i=n(5);e.exports=o||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}))},function(e,t,n){"use strict";var o=n(11);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var o,r,i=n(87),a=n(114),c=RegExp.prototype.exec,l=String.prototype.replace,d=c,u=(o=/a/,r=/b*/g,c.call(o,"a"),c.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),s=a.UNSUPPORTED_Y||a.BROKEN_CARET,m=/()??/.exec("")[1]!==undefined;(u||m||s)&&(d=function(e){var t,n,o,r,a=this,d=s&&a.sticky,p=i.call(a),f=a.source,h=0,C=e;return d&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),C=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",C=" "+C,h++),n=new RegExp("^(?:"+f+")",p)),m&&(n=new RegExp("^"+f+"$(?!\\s)",p)),u&&(t=a.lastIndex),o=c.call(d?n:a,C),d?o?(o.input=o.input.slice(h),o[0]=o[0].slice(h),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:u&&o&&(a.lastIndex=a.global?o.index+o[0].length:t),m&&o&&o.length>1&&l.call(o[0],n,(function(){for(r=1;r")})),u="$0"==="a".replace(/./,"$0"),s=i("replace"),m=!!/./[s]&&""===/./[s]("a","$0"),p=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,s){var f=i(e),h=!r((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),C=h&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!C||"replace"===e&&(!d||!u||m)||"split"===e&&!p){var g=/./[f],b=n(f,""[e],(function(e,t,n,o,r){return t.exec===a?h&&!r?{done:!0,value:g.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:m}),N=b[0],v=b[1];o(String.prototype,e,N),o(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}s&&c(RegExp.prototype[f],"sham",!0)}},function(e,t,n){"use strict";var o=n(36),r=n(88);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=48&&o<=90?String.fromCharCode(o):o>=112&&o<=123?"F"+(o-111):"["+o+"]"},u=function(e){var t=window.event?e.which:e.keyCode,n=e.ctrlKey,o=e.altKey,r=e.shiftKey;return{keyCode:t,ctrlKey:n,altKey:o,shiftKey:r,hasModifierKeys:n||o||r,keyString:d(n,o,r,t)}},s=function(){for(var e=0,t=Object.keys(l);e=112&&c<=123){i.log(d);for(var s,p=o(m);!(s=p()).done;)(0,s.value)(n,r)}}}(t,n,e)},document.addEventListener("keydown",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keydown"),l[n]=!0})),document.addEventListener("keyup",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keyup"),l[n]=!1})),Byond.IS_LTE_IE8||function(e){var t;document.addEventListener("focusout",(function(){t=setTimeout(e)})),document.addEventListener("focusin",(function(){clearTimeout(t)})),window.addEventListener("beforeunload",e)}((function(){s()})),function(e){return function(t){return e(t)}}}},function(e,t,n){"use strict";t.__esModule=!0,t.TemporaryNotice=void 0;var o=n(0),r=n(2),i=n(3);t.TemporaryNotice=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data.temp;if(l){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})))}}},function(e,t,n){"use strict";var o=n(7),r=n(8),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){"use strict";var o=n(7),r=n(32);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},function(e,t,n){"use strict";var o=n(131),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},function(e,t,n){"use strict";var o=n(41),r=n(131);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var o=n(40),r=n(51),i=n(99),a=n(11);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var o=n(5);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var o,r,i=n(7),a=n(77),c=i.process,l=c&&c.versions,d=l&&l.v8;d?r=(o=d.split("."))[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),l=a>2?arguments[2]:undefined,d=l===undefined?n:r(l,n);d>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var o=n(14),r=n(70),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var o=n(78),r=n(70),i=n(14)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},function(e,t,n){"use strict";var o={};o[n(14)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t,n){"use strict";var o=n(1),r=n(223),i=n(39),a=n(54),c=n(46),l=n(32),d=n(24),u=n(14),s=n(41),m=n(70),p=n(145),f=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,C=u("iterator"),g=function(){return this};e.exports=function(e,t,n,u,p,b,N){r(n,t,u);var v,V,y,_=function(e){if(e===p&&B)return B;if(!h&&e in w)return w[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",k=!1,w=e.prototype,L=w[C]||w["@@iterator"]||p&&w[p],B=!h&&L||_(p),S="Array"==t&&w.entries||L;if(S&&(v=i(S.call(new e)),f!==Object.prototype&&v.next&&(s||i(v)===f||(a?a(v,f):"function"!=typeof v[C]&&l(v,C,g)),c(v,x,!0,!0),s&&(m[x]=g))),"values"==p&&L&&"values"!==L.name&&(k=!0,B=function(){return L.call(this)}),s&&!N||w[C]===B||l(w,C,B),m[t]=B,p)if(V={values:_("values"),keys:b?B:_("keys"),entries:_("entries")},N)for(y in V)(h||k||!(y in w))&&d(w,y,V[y]);else o({target:t,proto:!0,forced:h||k},V);return V}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var o=n(13),r=n(110),i=n(23),a=Math.ceil,c=function(e){return function(t,n,c){var l,d,u=String(i(t)),s=u.length,m=c===undefined?" ":String(c),p=o(n);return p<=s||""==m?u:(l=p-s,(d=r.call(m,a(l/m.length))).length>l&&(d=d.slice(0,l)),e?u+d:d+u)}};e.exports={start:c(!1),end:c(!0)}},function(e,t,n){"use strict";var o=n(33),r=n(23);e.exports="".repeat||function(e){var t=String(r(this)),n="",i=o(e);if(i<0||i==Infinity)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var o,r,i,a=n(7),c=n(5),l=n(36),d=n(52),u=n(138),s=n(93),m=n(157),p=a.location,f=a.setImmediate,h=a.clearImmediate,C=a.process,g=a.MessageChannel,b=a.Dispatch,N=0,v={},V=function(e){if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){return function(){V(e)}},_=function(e){V(e.data)},x=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};f&&h||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++N]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},o(N),N},h=function(e){delete v[e]},"process"==l(C)?o=function(e){C.nextTick(y(e))}:b&&b.now?o=function(e){b.now(y(e))}:g&&!m?(i=(r=new g).port2,r.port1.onmessage=_,o=d(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(x)||"file:"===p.protocol?o="onreadystatechange"in s("script")?function(e){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),V(e)}}:function(e){setTimeout(y(e),0)}:(o=x,a.addEventListener("message",_,!1))),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var o=n(8),r=n(36),i=n(14)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},function(e,t,n){"use strict";var o=n(5);function r(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var o=n(33),r=n(23),i=function(e){return function(t,n){var i,a,c=String(r(t)),l=o(n),d=c.length;return l<0||l>=d?e?"":undefined:(i=c.charCodeAt(l))<55296||i>56319||l+1===d||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var o=n(113);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){"use strict";var o=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},function(e,t,n){"use strict";var o=n(115).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){"use strict";var o=n(5),r=n(85);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},function(e,t,n){"use strict";var o=n(7),r=n(5),i=n(79),a=n(12).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,l=o.Int8Array;e.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||r((function(){return 1!==new l(new c(2),1,undefined).length}))},function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.useDebug=t.selectDebug=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(91),r=function(){return{type:"debug/toggleKitchenSink"}}; /** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.toggleKitchenSink=r;var i=function(){return{type:"debug/toggleDebugLayout"}};t.toggleDebugLayout=i,(0,o.subscribeToHotKey)("F11",(function(){return{type:"debug/toggleDebugLayout"}})),(0,o.subscribeToHotKey)("F12",(function(){return{type:"debug/toggleKitchenSink"}})),(0,o.subscribeToHotKey)("Ctrl+Alt+[8]",(function(){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!")}))}));var a=function(e){return e.debug};t.selectDebug=a;t.useDebug=function(e){return a(e.store.getState())};t.debugReducer=function(e,t){void 0===e&&(e={});var n=t.type;t.payload;return"debug/toggleKitchenSink"===n?Object.assign({},e,{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===n?Object.assign({},e,{debugLayout:!e.debugLayout}):e}},function(e,t,n){"use strict";t.__esModule=!0,t.assetMiddleware=t.resolveAsset=t.loadCSS=void 0;var o=n(426),r=(0,n(29).createLogger)("assets"),i=[/v4shim/i],a=[],c={},l=function(e){a.includes(e)||(a.push(e),r.log("loading stylesheet '"+e+"'"),(0,o.loadCSS)(e))};t.loadCSS=l;t.resolveAsset=function(e){return c[e]||e};t.assetMiddleware=function(e){return function(e){return function(t){var n=t.type,o=t.payload;if("asset/stylesheet"!==n)if("asset/mappings"!==n)e(t);else for(var r=function(){var e=d[a];if(i.some((function(t){return t.test(e)})))return"continue";var t=o[e],n=e.split(".").pop();c[e]=t,"css"===n&&l(t)},a=0,d=Object.keys(o);a=0||(r[n]=e[n]);return r}(e,["className","scrollable","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({id:"Layout__content"},(0,i.computeBoxProps)(c))))}},function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(6),r=n(1);var i=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},a=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},i(t.initial)?n.state.value=t.initial:i(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(i(o)){var r=.5*n+.5*o;this.setState({value:r})}},a.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},a.componentWillUnmount=function(){clearTimeout(this.timer)},a.render=function(){var e=this.props,t=this.state,n=e.format,r=e.children,a=t.value,c=e.value;if(!i(c))return c||null;var l=a;if(n)l=n(a);else{var d=String(c).split(".")[1],u=d?d.length:0;l=(0,o.toFixed)(a,(0,o.clamp)(u,0,8))}return"function"==typeof r?r(l,a):l},r}(r.Component);t.AnimatedNumber=a},function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(1),r=n(9),i=n(91),a=n(4),c=n(29),l=n(17),d=n(126),u=n(170);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function p(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var m=(0,c.createLogger)("Button"),f=function(e){var t=e.className,n=e.fluid,c=e.icon,s=e.color,f=e.disabled,h=e.selected,C=e.tooltip,g=e.tooltipPosition,b=e.ellipsis,N=e.content,v=e.iconRotation,V=e.iconSpin,y=e.children,x=e.onclick,_=e.onClick,k=p(e,["className","fluid","icon","color","disabled","selected","tooltip","tooltipPosition","ellipsis","content","iconRotation","iconSpin","children","onclick","onClick"]),w=!(!N&&!y);return x&&m.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"),(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid",f&&"Button--disabled",h&&"Button--selected",w&&"Button--hasContent",b&&"Button--ellipsis",s&&"string"==typeof s?"Button--color--"+s:"Button--color--default",t]),tabIndex:!f&&"0",unselectable:Byond.IS_LTE_IE8,onclick:function(e){(0,a.refocusLayout)(),!f&&_&&_(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;return t===i.KEY_SPACE||t===i.KEY_ENTER?(e.preventDefault(),void(!f&&_&&_(e))):t===i.KEY_ESCAPE?(e.preventDefault(),void(0,a.refocusLayout)()):void 0}},k,{children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:v,spin:V}),N,y,C&&(0,o.createComponentVNode)(2,u.Tooltip,{content:C,position:g})]})))};t.Button=f,f.defaultHooks=r.pureComponentHooks;var h=function(e){var t=e.checked,n=p(e,["checked"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=h,f.Checkbox=h;var C=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}s(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,l=t.icon,d=t.color,u=t.content,s=t.onClick,m=p(t,["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({content:this.state.clickedOnce?r:u,icon:this.state.clickedOnce?c:l,color:this.state.clickedOnce?a:d,onClick:function(){return e.state.clickedOnce?s():e.setClickedOnce(!0)}},m)))},t}(o.Component);t.ButtonConfirm=C,f.Confirm=C;var g=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}s(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,c=t.icon,s=t.iconRotation,m=t.iconSpin,f=t.tooltip,h=t.tooltipPosition,C=t.color,g=void 0===C?"default":C,b=(t.placeholder,t.maxLength,p(t,["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"]));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid","Button--color--"+g])},b,{onClick:function(){return e.setInInput(!0)},children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:s,spin:m}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===i.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===i.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef),f&&(0,o.createComponentVNode)(2,u.Tooltip,{content:f,position:h})]})))},t}(o.Component);t.ButtonInput=g,f.Input=g},function(e,t,n){"use strict";t.__esModule=!0,t.Icon=void 0;var o=n(1),r=n(9),i=n(17);var a=/-o$/,c=function(e){var t=e.name,n=e.size,c=e.spin,l=e.className,d=e.style,u=void 0===d?{}:d,s=e.rotation,p=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["name","size","spin","className","style","rotation"]);n&&(u["font-size"]=100*n+"%"),"number"==typeof s&&(u.transform="rotate("+s+"deg)");var m=a.test(t),f=t.replace(a,"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)([l,m?"far":"fas","fa-"+f,c&&"fa-spin"]),style:u},p)))};t.Icon=c,c.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(1),r=n(6),i=n(9),a=n(124);var c=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:c(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,l=t.stepPixelSize,d=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),u=c(e,d)-n.origin;if(t.dragging){var s=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/l,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+s,o,i),n.origin=c(e,d)}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,l=t.suppressingFlicker,d=this.props,u=d.animated,s=d.value,p=d.unit,m=d.minValue,f=d.maxValue,h=d.format,C=d.onChange,g=d.onDrag,b=d.children,N=d.forcedInputWidth,v=d.height,V=d.lineHeight,y=d.fontSize,x=s;(n||l)&&(x=c);var _=function(e){return e+(p?" "+p:"")},k=u&&!n&&!l&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:x,format:h,children:_})||_(h?h(x):x),w=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:v,width:N,"line-height":V,"font-size":y},onBlur:function(t){if(i){var n=(0,r.clamp)(t.target.value,m,f);e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),g&&g(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,m,f);return e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),void(g&&g(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return b({dragging:n,editing:i,value:s,displayValue:x,displayElement:k,inputElement:w,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(1),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.collapsing,c=e.children,l=a(e,["className","collapsing","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Table=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.header,c=a(e,["className","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableRow=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.collapsing,c=e.header,l=a(e,["className","collapsing","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",c&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(l))))};t.TableCell=d,d.defaultHooks=r.pureComponentHooks,c.Row=l,c.Cell=d},function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(1),r=n(6),i=n(9),a=n(124),c=n(17);var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),l=n.origin-e.screenY;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+l*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=e.screenY}else Math.abs(l)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,l=t.editing,d=t.value,u=t.suppressingFlicker,s=this.props,p=s.className,m=s.fluid,f=s.animated,h=s.value,C=s.unit,g=s.minValue,b=s.maxValue,N=s.height,v=s.width,V=s.lineHeight,y=s.fontSize,x=s.format,_=s.onChange,k=s.onDrag,w=h;(n||u)&&(w=d);var L=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(C?" "+C:""),0,{unselectable:Byond.IS_LTE_IE8})},B=f&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:w,format:x,children:L})||L(x?x(w):w);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",m&&"NumberInput--fluid",p]),minWidth:v,minHeight:N,lineHeight:V,fontSize:y,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((w-g)/(b-g)*100,0,100)+"%"}}),2),B,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?undefined:"none",height:N,"line-height":V,"font-size":y},onBlur:function(t){if(l){var n=(0,r.clamp)(t.target.value,g,b);e.setState({editing:!1,value:n}),e.suppressFlicker(),_&&_(t,n),k&&k(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,g,b);return e.setState({editing:!1,value:n}),e.suppressFlicker(),_&&_(t,n),void(k&&k(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(93);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var o=n(7),r=n(94),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var o=n(7),r=n(95),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},function(e,t,n){"use strict";var o=n(18),r=n(97),i=n(20),a=n(15);e.exports=function(e,t){for(var n=r(t),c=a.f,l=i.f,d=0;dl;)o(c,n=t[l++])&&(~i(d,n)||d.push(n));return d}},function(e,t,n){"use strict";var o=n(100);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(11),a=n(66);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,l=0;c>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){"use strict";var o=n(40);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(25),r=n(50).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},function(e,t,n){"use strict";var o=n(14);t.f=o},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),l=r(e,c),d=r(t,c),u=arguments.length>2?arguments[2]:undefined,s=a((u===undefined?c:r(u,c))-d,c-l),p=1;for(d0;)d in n?n[l]=n[d]:delete n[l],l+=p,d+=p;return n}},function(e,t,n){"use strict";var o=n(56),r=n(13),i=n(51);e.exports=function a(e,t,n,c,l,d,u,s){for(var p,m=l,f=0,h=!!u&&i(u,s,3);f0&&o(p))m=a(e,t,p,r(p.length),m,d-1)-1;else{if(m>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[m]=p}m++}f++}return m}},function(e,t,n){"use strict";var o=n(11);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw i!==undefined&&o(i.call(e)),a}}},function(e,t,n){"use strict";var o=n(25),r=n(47),i=n(69),a=n(37),c=n(106),l=a.set,d=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:o(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var o,r,i,a=n(38),c=n(30),l=n(18),d=n(14),u=n(41),s=d("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(r=a(a(i)))!==Object.prototype&&(o=r):p=!0),o==undefined&&(o={}),u||l(o,s)||c(o,s,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var o=n(25),r=n(31),i=n(13),a=n(42),c=n(24),l=Math.min,d=[].lastIndexOf,u=!!d&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0}),m=u||!s||!p;e.exports=m?function(e){if(u)return d.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:d},function(e,t,n){"use strict";var o=n(31),r=n(13);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var o=n(32),r=n(8),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return C(this,0===e?0:e,t)}}:{add:function(e){return C(this,e=0===e?0:e,e)}}),s&&o(u.prototype,"size",{get:function(){return m(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){f(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var o=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:o(1+e)}},function(e,t,n){"use strict";var o=n(8),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},function(e,t,n){"use strict";var o=n(7),r=n(59).trim,i=n(85),a=o.parseInt,c=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=r(String(e));return a(n,t>>>0||(c.test(n)?16:10))}:a},function(e,t,n){"use strict";var o=n(10),r=n(66),i=n(25),a=n(75).f,c=function(e){return function(t){for(var n,c=i(t),l=r(c),d=l.length,u=0,s=[];d>u;)n=l[u++],o&&!a.call(c,n)||s.push(e?[n,c[n]]:c[n]);return s}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var o=n(7);e.exports=o.Promise},function(e,t,n){"use strict";var o=n(77);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},function(e,t,n){"use strict";var o,r,i,a,c,l,d,u,s=n(7),p=n(20).f,m=n(35),f=n(112).set,h=n(157),C=s.MutationObserver||s.WebKitMutationObserver,g=s.process,b=s.Promise,N="process"==m(g),v=p(s,"queueMicrotask"),V=v&&v.value;V||(o=function(){var e,t;for(N&&(e=g.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},N?a=function(){g.nextTick(o)}:C&&!h?(c=!0,l=document.createTextNode(""),new C(o).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(d=b.resolve(undefined),u=d.then,a=function(){u.call(d,o)}):a=function(){f.call(s,o)}),e.exports=V||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},function(e,t,n){"use strict";var o=n(11),r=n(8),i=n(160);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var o=n(32),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var o=n(0),r=n(88);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){"use strict";var o=n(77);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o)},function(e,t,n){"use strict";var o=n(365);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){"use strict";var o=n(16),r=n(13),i=n(104),a=n(103),c=n(51),l=n(12).aTypedArrayConstructor;e.exports=function(e){var t,n,d,u,s,p,m=o(e),f=arguments.length,h=f>1?arguments[1]:undefined,C=h!==undefined,g=i(m);if(g!=undefined&&!a(g))for(p=(s=g.call(m)).next,m=[];!(u=p.call(s)).done;)m.push(u.value);for(C&&f>2&&(h=c(h,arguments[2],2)),n=r(m.length),d=new(l(this))(n),t=0;n>t;t++)d[t]=C?h(m[t],t):m[t];return d}},function(e,t,n){"use strict";var o=n(70),r=n(54).getWeakData,i=n(11),a=n(8),c=n(58),l=n(72),d=n(19),u=n(18),s=n(37),p=s.set,m=s.getterFor,f=d.find,h=d.findIndex,C=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},N=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=N(this,e);if(t)return t[1]},has:function(e){return!!N(this,e)},set:function(e,t){var n=N(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,d){var s=e((function(e,o){c(e,s,t),p(e,{type:t,id:C++,frozen:undefined}),o!=undefined&&l(o,e[d],e,n)})),f=m(t),h=function(e,t,n){var o=f(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(s.prototype,{"delete":function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),o(s.prototype,n?{get:function(e){var t=f(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),s}}},function(e,t,n){"use strict";t.__esModule=!0,t.perf=void 0;var o={mark:function(e,t){0},measure:function(e,t){0}};t.perf=o},function(e,t,n){"use strict";t.__esModule=!0,t.setupHotReloading=t.sendLogEntry=void 0;t.sendLogEntry=function(e,t){};t.setupHotReloading=function(){0}},function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(423),r=n(424);function i(e,t,n,o,r,i,a){try{var c=e[i](a),l=c.value}catch(d){return void n(d)}c.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,l,"next",e)}function l(e){i(a,o,r,c,l,"throw",e)}c(undefined)}))}}var c,l,d,u,s,p=(0,n(29).createLogger)("drag"),m=window.__windowId__,f=!1,h=!1,C=[0,0];t.setWindowKey=function(e){m=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var N=function(e){var t=(0,r.vecAdd)(e,C);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=N;var v=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=v;var V=function(){return[0-C[0],0-C[1]]};t.getScreenPosition=V;var y=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=y;var x=function(e){p.log("storing geometry");var t={pos:g(),size:b()};o.storage.set(e,t);var n=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;il&&(r[a]=l-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){p.log("drag start"),f=!0,l=[window.screenLeft-e.screenX,window.screenTop-e.screenY],document.addEventListener("mousemove",B),document.addEventListener("mouseup",L),B(e)};var L=function E(e){p.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",E),f=!1,x(m)},B=function(e){f&&(e.preventDefault(),N((0,r.vecAdd)([e.screenX,e.screenY],l)))};t.resizeStartHandler=function(e,t){return function(n){d=[e,t],p.log("resize start",d),h=!0,l=[window.screenLeft-n.screenX,window.screenTop-n.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",I),document.addEventListener("mouseup",S),I(n)}};var S=function T(e){p.log("resize end",s),I(e),document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",T),h=!1,x(m)},I=function(e){h&&(e.preventDefault(),(s=(0,r.vecAdd)(u,(0,r.vecMultiply)(d,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),l,[1,1]))))[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),v(s))}},function(e,t,n){"use strict";t.__esModule=!0,t.useDispatch=t.StoreProvider=t.createStore=void 0;var o=n(73),r=n(425),i=n(1),a=n(2),c=n(121),l=n(91),d=n(29),u=n(122);(0,d.createLogger)("store");t.createStore=function(){var e=(0,o.flow)([function(e,t){return void 0===e&&(e={}),e},(0,r.combineReducers)({debug:c.debugReducer,backend:a.backendReducer})]),t=[!1,u.assetMiddleware,l.hotKeyMiddleware,a.backendMiddleware];return(0,r.createStore)(e,r.applyMiddleware.apply(void 0,t.filter(Boolean)))};var s=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var r=o.prototype;return r.getChildContext=function(){return{store:this.props.store}},r.render=function(){return this.props.children},o}(i.Component);t.StoreProvider=s;t.useDispatch=function(e){return e.store.dispatch}},function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=void 0;var o=n(1),r=n(9);t.Tooltip=function(e){var t=e.content,n=e.position,i=void 0===n?"bottom":n,a=e.scale,c="string"==typeof t&&t.length>35;return(0,o.createVNode)(1,"div",(0,r.classes)(["Tooltip",c&&"Tooltip--long",i&&"Tooltip--"+i,a&&"Tooltip--scale--"+Math.floor(a)]),null,1,{"data-tooltip":t})}},function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(1),r=n(9),i=n(17);t.Dimmer=function(e){var t=e.className,n=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},a,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(1),r=n(9);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},function(e,t,n){"use strict";t.__esModule=!0,t.FlexItem=t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(1),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.alignContent,l=e.justify,d=e.inline,u=e.spacing,s=void 0===u?0:u,p=e.spacingPrecise,m=void 0===p?0:p,f=a(e,["className","direction","wrap","align","alignContent","justify","inline","spacing","spacingPrecise"]);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),d&&"Flex--inline",s>0&&"Flex--spacing--"+s,m>0&&"Flex--spacingPrecise--"+m,t]),style:Object.assign({},f.style,{"flex-direction":n,"flex-wrap":o,"align-items":i,"align-content":c,"justify-content":l})},f)};t.computeFlexProps=c;var l=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},c(e))))};t.Flex=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.grow,o=e.order,c=e.shrink,l=e.basis,d=void 0===l?e.width:l,u=e.align,s=a(e,["className","grow","order","shrink","basis","align"]);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",t]),style:Object.assign({},s.style,{"flex-grow":n,"flex-shrink":c,"flex-basis":(0,i.unit)(d),order:o,"align-self":u})},s)};t.computeFlexItemProps=d;var u=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};t.FlexItem=u,u.defaultHooks=r.pureComponentHooks,l.Item=u},function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(1),r=n(9),i=n(21),a=n(2),c=n(3),l=n(33),d=n(121),u=n(168),s=n(29),p=n(169),m=n(123);var f=(0,s.createLogger)("Window"),h=[400,600],C=function(e){var t,n;function c(){return e.apply(this,arguments)||this}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=c.prototype;return s.componentDidMount=function(){var e=(0,a.useBackend)(this.context),t=e.config;if(!e.suspended){f.log("mounting");var n=Object.assign({size:h},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),(0,u.setWindowKey)(t.window.key),(0,u.recallWindowGeometry)(t.window.key,n),(0,m.refocusLayout)()}},s.render=function(){var e,t=this.props,n=t.resizable,c=t.theme,s=t.title,h=t.children,C=(0,a.useBackend)(this.context),g=C.config,N=C.suspended,v=(0,d.useDebug)(this.context).debugLayout,V=(0,p.useDispatch)(this.context),y=null==(e=g.window)?void 0:e.fancy,x=g.user.observer?g.status=0||(r[n]=e[n]);return r}(e,["className","fitted","scrollable","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,m.Layout.Content,Object.assign({scrollable:i,className:(0,r.classes)(["Window__content",t])},c,{children:n&&a||(0,o.createVNode)(1,"div","Window__contentPadding",a,0)})))};var g=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},b=function(e,t){var n=e.className,a=e.title,l=e.status,d=e.fancy,u=e.onDragStart,s=e.onClose;(0,p.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[(0,o.createComponentVNode)(2,c.Icon,{className:"TitleBar__statusIcon",color:g(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__title","string"==typeof a&&a===a.toLowerCase()&&(0,i.toTitleCase)(a)||a,0),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&u(e)}}),!1,!!d&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:s})],0)}},function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(1),r=n(2),i=n(3);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.siliconUser,d=void 0===l?c.siliconUser:l,u=e.locked,s=void 0===u?c.locked:u,p=e.normallyLocked,m=void 0===p?c.normallyLocked:p,f=e.onLockStatusChange,h=void 0===f?function(){return a("lock")}:f,C=e.accessText,g=void 0===C?"an ID card":C,b=e.deny,N=void 0!==b&&b,v=e.denialMessage;return N?void 0===v?"Error.":v:d?(0,o.createComponentVNode)(2,i.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:"0",color:m?"red":"green",icon:m?"lock":"unlock",content:m?"Locked":"Unlocked",onClick:function(){h&&h(!s)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",g," ","to ",s?"unlock":"lock"," this interface."]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosControlContent=t.AtmosControl=void 0;var o=n(1),r=n(39),i=n(4),a=n(3),c=n(2);(0,n(29).createLogger)("fuck");t.AtmosControl=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,i=(0,c.useBackend)(t),l=i.act,d=i.data,u=i.config,s=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),p=(0,c.useLocalState)(t,"tabIndex",0),m=p[0],f=p[1],h=(0,c.useLocalState)(t,"mapZoom",1),C=h[0],g=h[1];return 0===m?n=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===m&&(n=(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:C,minValue:1,maxValue:8,onChange:function(e,t){return g(t)}}),"Z-Level:",d.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:~~e==~~u.mapZLevel,content:e,onClick:function(){l("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,a.NanoMap,{zoom:C,children:s.filter((function(e){return~~e.z==~~u.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:C,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})]})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===m,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===m,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.AtmosControlContent=l},function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleSearch=t.CameraConsoleContent=t.CameraConsole=void 0;var o=n(1),r=n(39),i=n(73),a=n(9),c=n(21),l=n(2),d=n(3),u=n(4),s=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n="");var o=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(o),n&&(0,r.filter)((function(e){return e.networks.includes(n)})),(0,r.sortBy)((function(e){return e.name}))])(e)};t.CameraConsole=function(e,t){return(0,o.createComponentVNode)(2,u.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,p)})};var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(n.config,i.mapRef),c=i.activeCamera,p=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]}(s(i.cameras),c),f=p[0],h=p[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,m)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",disabled:!f,onClick:function(){return r("switch_camera",{name:f})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",disabled:!h,onClick:function(){return r("switch_camera",{name:h})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};t.CameraConsoleContent=p;var m=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,c=(0,l.useLocalState)(t,"searchText",""),p=c[0],m=c[1],f=(0,l.useLocalState)(t,"networkFilter",""),h=f[0],C=f[1],g=i.activeCamera,b=i.allNetworks;b.sort();var N=s(i.cameras,p,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,t){return m(t)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return C(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:N.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",g&&e.name===g.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,u.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};t.CameraConsoleSearch=m},function(e,t,n){"use strict";t.__esModule=!0,t.BeakerContents=void 0;var o=n(1),r=n(3),i=n(467),a=function(e){var t=e.beakerLoaded,n=e.beakerContents,i=void 0===n?[]:n,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!t&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===i.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),i.map((function(e,t){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:[(0,o.createComponentVNode)(2,r.Box,{color:"label",display:"inline",verticalAlign:"middle",children:[(n=e.volume,n+" unit"+(1===n?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Box,{float:"right",display:"inline",children:a(e,t)}),(0,o.createComponentVNode)(2,r.Box,{clear:"both"})]},e.name);var n}))]})};t.BeakerContents=a,a.propTypes={beakerLoaded:i.bool,beakerContents:i.array,buttons:i.arrayOf(i.element)}},function(e,t,n){"use strict";t.__esModule=!0,t.CrewMonitorContent=t.CrewMonitor=void 0;var o=n(1),r=n(39),i=n(2),a=n(4),c=n(3),l=n(128);n(33);t.CrewMonitor=function(){return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n,a=(0,i.useBackend)(t),d=a.act,u=a.data,s=a.config,p=(0,i.useLocalState)(t,"tabIndex",0),m=p[0],f=p[1],h=(0,r.sortBy)((function(e){return e.name}))(u.crewmembers||[]),C=(0,i.useLocalState)(t,"number",1),g=C[0],b=C[1];return n=0===m?(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Location"})]}),h.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,l.TableCell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.TableCell,{children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:e.dead?"red":"green",children:e.dead?"Deceased":"Living"}),e.sensor_type>=2?(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.TableCell,{children:3===e.sensor_type?u.isAI?(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return d("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.name)}))]}):1===m?(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:g,minValue:1,maxValue:8,onChange:function(e,t){return b(t)}}),"Z-Level:",u.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:~~e==~~s.mapZLevel,content:e,onClick:function(){d("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,c.NanoMap,{zoom:g,children:h.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,c.NanoMap.Marker,{x:e.x,y:e.y,zoom:g,icon:"circle",tooltip:e.name,color:e.dead?"red":"green"},e.ref)}))})]}):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===m,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===m,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,c.Box,{m:2,children:n})],4)};t.CrewMonitorContent=d},function(e,t,n){"use strict";t.__esModule=!0,t.LoginInfo=void 0;var o=n(1),r=n(2),i=n(3);t.LoginInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.authenticated,d=c.rank;if(c)return(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.LoginScreen=void 0;var o=n(1),r=n(2),i=n(3),a=n(60);t.LoginScreen=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.scan,u=l.isAI,s=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,i.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return c("login",{login_type:1})}}),!!u&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return c("login",{login_type:2})}}),!!s&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return c("login",{login_type:3})}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaCharge=t.PowerMonitorFocus=t.PowerMonitorContent=t.PowerMonitor=t.powerRank=void 0;var o=n(1),r=n(39),i=n(73),a=n(6),c=n(9),l=n(2),d=n(3),u=n(4),s=5e5,p=function(e){var t=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(t)};t.powerRank=p;t.PowerMonitor=function(){return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,m)})})};var m=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(i.map_levels,i.all_sensors),c=i.focus;if(c)return(0,o.createComponentVNode)(2,f,{focus:c});var u=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(u=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:u})};t.PowerMonitorContent=m;var f=function(e,t){var n=(0,l.useBackend)(t),c=n.act,u=(n.data,e.focus),m=u.history,f=(0,l.useLocalState)(t,"sortByField",null),g=f[0],b=f[1],N=m.supply[m.supply.length-1]||0,v=m.demand[m.demand.length-1]||0,V=m.supply.map((function(e,t){return[t,e]})),y=m.demand.map((function(e,t){return[t,e]})),x=Math.max.apply(Math,[s].concat(m.supply,m.demand)),_=(0,i.flow)([(0,r.map)((function(e,t){return Object.assign({},e,{id:e.name+t})})),"name"===g&&(0,r.sortBy)((function(e){return e.name})),"charge"===g&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===g&&(0,r.sortBy)((function(e){return-p(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===g&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(u.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:u.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return c("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:N,minValue:0,maxValue:x,color:"teal",children:(0,a.toFixed)(N/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:v,minValue:0,maxValue:x,color:"pink",children:(0,a.toFixed)(v/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:V,rangeX:[0,V.length-1],rangeY:[0,x],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:y,rangeX:[0,y.length-1],rangeY:[0,x],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===g,content:"Name",onClick:function(){return b("name"!==g&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===g,content:"Charge",onClick:function(){return b("charge"!==g&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===g,content:"Draw",onClick:function(){return b("draw"!==g&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===g,content:"Problems",onClick:function(){return b("problems"!==g&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),_.map((function(e,t){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};t.PowerMonitorFocus=f;var h=function(e){var t=e.charging,n=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===t&&(n>50?"battery-half":"battery-quarter")||1===t&&"bolt"||2===t&&"battery-full",color:0===t&&(n>50?"yellow":"red")||1===t&&"yellow"||2===t&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(n)+"%"})],4)};t.AreaCharge=h,h.defaultHooks=c.pureComponentHooks;var C=function(e){var t=e.status,n=Boolean(2&t),r=Boolean(1&t),i=(n?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:n?"good":"bad",content:r?undefined:"M",title:i})};C.defaultHooks=c.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.RCONContent=t.RCON=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4);t.RCON=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,r=(0,i.useLocalState)(t,"tabIndex",0),c=r[0],l=r[1];return 0===c?n=(0,o.createComponentVNode)(2,d):1===c&&(n=(0,o.createComponentVNode)(2,u)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.RCONContent=l;var d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.smes_info;return(0,o.createComponentVNode)(2,a.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l?l.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:.01*e.capacityPercent,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(e.charge/6e4,1)," kWh / ",(0,r.round)(e.capacity/6e4)," kWh (",e.capacityPercent,"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Input",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_in_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_in_set",{smes:e.RCON_tag})}})],4),children:[e.input_val," kW - ",e.input_set?"ON":"OFF"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_out_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_out_set",{smes:e.RCON_tag})}})],4),children:[e.output_val," kW - ",e.output_set?"ONLINE":"OFFLINE"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output Load",children:[e.output_load," kW"]})]})]},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No SMESs detected."})})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.breaker_info;return(0,o.createComponentVNode)(2,a.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShutoffMonitorContent=t.ShutoffMonitor=void 0;var o=n(1),r=n(2),i=n(4),a=n(3);t.ShutoffMonitor=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),c.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return i("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return i("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};t.ShutoffMonitorContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.StationAlertConsoleContent=t.StationAlertConsole=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.categories;return(void 0===c?[]:c).map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var t="";return e.has_cameras?t=(0,o.createComponentVNode)(2,i.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(t=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Alarm Origin Lost."}):"",t],0,null,e.name)}))],0)},e.category)}))};t.StationAlertConsoleContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.SupermatterMonitorContent=t.SupermatterMonitor=void 0;var o=n(1),r=n(2),i=n(3),a=(n(34),n(4)),c=n(6),l=n(21);t.SupermatterMonitor=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t);n.act;return n.data.active?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)};t.SupermatterMonitorContent=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.supermatters;return(0,o.createComponentVNode)(2,i.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,i.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},t)}))})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,u=d.SM_area,s=d.SM_integrity,p=d.SM_power,m=d.SM_ambienttemp,f=d.SM_ambientpressure,h=d.SM_EPR,C=d.SM_gas_O2,g=d.SM_gas_CO2,b=d.SM_gas_N2,N=d.SM_gas_PH,v=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,i.Section,{title:(0,l.toTitleCase)(u),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{animated:!0,value:s,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,i.Box,{color:(p>300?"bad":p>150&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" MeV/cm\xb3"},value:p})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.Box,{color:(m>5e3?"bad":m>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" K"},value:m})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.Box,{color:(f>1e4?"bad":f>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" kPa"},value:f})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,i.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:C}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:g}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:v}),"%"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RapidPipeDispenser=t.ICON_BY_CATEGORY_NAME=void 0;var o=n(1),r=n(9),i=n(21),a=n(2),c=n(3),l=n(4),d=["Atmospherics","Disposals"],u={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};t.ICON_BY_CATEGORY_NAME=u;var s=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}];t.RapidPipeDispenser=function(e,t){var n=(0,a.useBackend)(t),p=n.act,m=n.data,f=m.category,h=m.categories,C=void 0===h?[]:h,g=m.selected_color,b=m.paint_colors,N=m.piping_layer,v=m.pipe_layers,V=m.mode,y=m.preview_rows.flatMap((function(e){return e.previews})),x=(0,a.useLocalState)(t,"categoryName"),_=x[0],k=x[1],w=C.find((function(e){return e.cat_name===_}))||C[0];return(0,o.createComponentVNode)(2,l.Window,{width:425,height:515,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Category",children:d.map((function(e,t){return(0,o.createComponentVNode)(2,c.Button,{selected:f===t,icon:u[e],color:"transparent",content:e,onClick:function(){return p("category",{category:t})}},e)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Modes",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:V&e.bitmask,content:e.name,onClick:function(){return p("mode",{mode:e.bitmask})}},e.bitmask)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,width:"64px",color:b[g],children:(0,i.capitalize)(g)}),Object.keys(b).map((function(e){return(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:b[e],onClick:function(){return p("color",{paint_color:e})}},e)}))]})]})}),(0,o.createComponentVNode)(2,c.Flex,{m:-.5,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,children:(0,o.createComponentVNode)(2,c.Section,{children:[0===f&&(0,o.createComponentVNode)(2,c.Box,{mb:1,children:Object.keys(v).map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:v[e]===N,content:e,onClick:function(){return p("piping_layer",{piping_layer:v[e]})}},e)}))}),(0,o.createComponentVNode)(2,c.Box,{width:"108px",children:y.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{title:e.dir_name,selected:e.selected,style:{width:"48px",height:"48px",padding:0},onClick:function(){return p("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,c.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(17%, 17%)"}})},e.dir)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,grow:1,children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Tabs,{children:C.map((function(e,t){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{fluid:!0,icon:u[e.cat_name],selected:e.cat_name===w.cat_name,onClick:function(){return k(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==w?void 0:w.recipes.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return p("pipe_type",{pipe_type:e.pipe_index,category:w.cat_name})}},e.pipe_index)}))]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(1),r=n(2),i=n(3);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.connected,d=c.holding,u=c.on,s=c.pressure,p=c.powerDraw,m=c.cellCharge,f=c.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:f,ranges:{good:[.5*f,Infinity],average:[.25*f,.5*f],bad:[-Infinity,.25*f]},children:[m," W"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},function(e,t,n){e.exports=n(190)},function(e,t,n){"use strict";n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(216),n(218),n(219),n(220),n(144),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(275),n(276),n(277),n(278),n(279),n(280),n(282),n(283),n(285),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(311),n(312),n(313),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(161),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403);var o=n(1);n(405),n(406),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419);var r=n(166),i=(n(167),n(2)),a=n(168),c=n(29),l=n(169); -/** - * @file - * @copyright 2020 Aleksej Komarov - * @license MIT - */ -r.perf.mark("inception",window.__inception__),r.perf.mark("init");var d,u=(0,l.createStore)(),s=!0,p=function(){for(u.subscribe((function(){!function(){r.perf.mark("render/start");var e=u.getState(),t=(0,i.selectBackend)(e),p=t.suspended;t.assets;s&&(c.logger.log("initial render",e),"recycled"!==s&&(0,a.setupDrag)());var m=(0,n(427).getRoutedComponent)(e),f=(0,o.createComponentVNode)(2,l.StoreProvider,{store:u,children:(0,o.createComponentVNode)(2,m)});d||(d=document.getElementById("react-root")),(0,o.render)(f,d),p||(r.perf.mark("render/finish"),s&&(s=!1))}()})),window.update=function(e){var t=(0,i.selectBackend)(u.getState()).suspended,n="string"==typeof e?function(e){var t=function(e,t){return"object"==typeof t&&null!==t&&t.__number__?parseFloat(t.__number__):t};Byond.IS_LTE_IE8&&(t=undefined);try{return JSON.parse(e,t)}catch(o){c.logger.log(o),c.logger.log("What we got:",e);var n=o&&o.message;throw new Error("JSON parsing error: "+n)}}(e):e;c.logger.debug("received message '"+(null==n?void 0:n.type)+"'");var o=n.type,r=n.payload;if("update"===o)return window.__ref__=r.config.ref,t&&(c.logger.log("resuming"),s="recycled"),void u.dispatch((0,i.backendUpdate)(r));"suspend"!==o?"ping"!==o?u.dispatch(n):(0,i.sendMessage)({type:"pingReply"}):u.dispatch((0,i.backendSuspendSuccess)())};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}};window.__logger__={fatal:function(e,t){var n=(0,i.selectBackend)(u.getState()),o={config:n.config,suspended:n.suspended,suspending:n.suspending};return c.logger.log("FatalError:",e||t),c.logger.log("State:",o),t+="\nState: "+JSON.stringify(o)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",p):p()},function(e,t,n){"use strict";var o=n(0),r=n(7),i=n(40),a=n(41),c=n(10),l=n(100),d=n(136),u=n(5),s=n(18),p=n(56),m=n(8),f=n(11),h=n(16),C=n(25),g=n(36),b=n(49),N=n(45),v=n(66),V=n(50),y=n(139),x=n(99),_=n(20),k=n(15),w=n(75),L=n(30),B=n(23),S=n(96),I=n(76),E=n(63),T=n(62),A=n(14),O=n(140),M=n(26),P=n(46),F=n(37),D=n(19).forEach,R=I("hidden"),j=A("toPrimitive"),z=F.set,W=F.getterFor("Symbol"),U=Object.prototype,K=r.Symbol,H=i("JSON","stringify"),G=_.f,Y=k.f,q=y.f,$=w.f,X=S("symbols"),J=S("op-symbols"),Q=S("string-to-symbol-registry"),Z=S("symbol-to-string-registry"),ee=S("wks"),te=r.QObject,ne=!te||!te.prototype||!te.prototype.findChild,oe=c&&u((function(){return 7!=N(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=G(U,t);o&&delete U[t],Y(e,t,n),o&&e!==U&&Y(U,t,o)}:Y,re=function(e,t){var n=X[e]=N(K.prototype);return z(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=d?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},ae=function(e,t,n){e===U&&ae(J,t,n),f(e);var o=g(t,!0);return f(n),s(X,o)?(n.enumerable?(s(e,R)&&e[R][o]&&(e[R][o]=!1),n=N(n,{enumerable:b(0,!1)})):(s(e,R)||Y(e,R,b(1,{})),e[R][o]=!0),oe(e,o,n)):Y(e,o,n)},ce=function(e,t){f(e);var n=C(t),o=v(n).concat(pe(n));return D(o,(function(t){c&&!de.call(n,t)||ae(e,t,n[t])})),e},le=function(e,t){return t===undefined?N(e):ce(N(e),t)},de=function(e){var t=g(e,!0),n=$.call(this,t);return!(this===U&&s(X,t)&&!s(J,t))&&(!(n||!s(this,t)||!s(X,t)||s(this,R)&&this[R][t])||n)},ue=function(e,t){var n=C(e),o=g(t,!0);if(n!==U||!s(X,o)||s(J,o)){var r=G(n,o);return!r||!s(X,o)||s(n,R)&&n[R][o]||(r.enumerable=!0),r}},se=function(e){var t=q(C(e)),n=[];return D(t,(function(e){s(X,e)||s(E,e)||n.push(e)})),n},pe=function(e){var t=e===U,n=q(t?J:C(e)),o=[];return D(n,(function(e){!s(X,e)||t&&!s(U,e)||o.push(X[e])})),o};(l||(B((K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==undefined?String(arguments[0]):undefined,t=T(e),n=function o(e){this===U&&o.call(J,e),s(this,R)&&s(this[R],t)&&(this[R][t]=!1),oe(this,t,b(1,e))};return c&&ne&&oe(U,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return W(this).tag})),B(K,"withoutSetter",(function(e){return re(T(e),e)})),w.f=de,k.f=ae,_.f=ue,V.f=y.f=se,x.f=pe,O.f=function(e){return re(A(e),e)},c&&(Y(K.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||B(U,"propertyIsEnumerable",de,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),D(v(ee),(function(e){M(e)})),o({target:"Symbol",stat:!0,forced:!l},{"for":function(e){var t=String(e);if(s(Q,t))return Q[t];var n=K(t);return Q[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(s(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!c},{create:le,defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:pe}),o({target:"Object",stat:!0,forced:u((function(){x.f(1)}))},{getOwnPropertySymbols:function(e){return x.f(h(e))}}),H)&&o({target:"JSON",stat:!0,forced:!l||u((function(){var e=K();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(o=t,(m(t)||e!==undefined)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,H.apply(null,r)}});K.prototype[j]||L(K.prototype,j,K.prototype.valueOf),P(K,"Symbol"),E[R]=!0},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(7),a=n(18),c=n(8),l=n(15).f,d=n(133),u=i.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||u().description!==undefined)){var s={},p=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof p?new u(e):e===undefined?u():u(e);return""===e&&(s[t]=!0),t};d(p,u);var m=p.prototype=u.prototype;m.constructor=p;var f=m.toString,h="Symbol(test)"==String(u("test")),C=/^Symbol\((.*)\)[^)]+$/;l(m,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=f.call(e);if(a(s,e))return"";var n=h?t.slice(7,-1):t.replace(C,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){"use strict";n(26)("asyncIterator")},function(e,t,n){"use strict";n(26)("hasInstance")},function(e,t,n){"use strict";n(26)("isConcatSpreadable")},function(e,t,n){"use strict";n(26)("iterator")},function(e,t,n){"use strict";n(26)("match")},function(e,t,n){"use strict";n(26)("replace")},function(e,t,n){"use strict";n(26)("search")},function(e,t,n){"use strict";n(26)("species")},function(e,t,n){"use strict";n(26)("split")},function(e,t,n){"use strict";n(26)("toPrimitive")},function(e,t,n){"use strict";n(26)("toStringTag")},function(e,t,n){"use strict";n(26)("unscopables")},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(56),a=n(8),c=n(16),l=n(13),d=n(52),u=n(67),s=n(68),p=n(14),m=n(101),f=p("isConcatSpreadable"),h=m>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),C=s("concat"),g=function(e){if(!a(e))return!1;var t=e[f];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!h||!C},{concat:function(e){var t,n,o,r,i,a=c(this),s=u(a,0),p=0;for(t=-1,o=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");d(s,p++,i)}return s.length=p,s}})},function(e,t,n){"use strict";var o=n(0),r=n(141),i=n(47);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},function(e,t,n){"use strict";var o=n(0),r=n(19).every,i=n(42),a=n(24),c=i("every"),l=a("every");o({target:"Array",proto:!0,forced:!c||!l},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(102),i=n(47);o({target:"Array",proto:!0},{fill:r}),i("fill")},function(e,t,n){"use strict";var o=n(0),r=n(19).filter,i=n(68),a=n(24),c=i("filter"),l=a("filter");o({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(19).find,i=n(47),a=n(24),c=!0,l=a("find");"find"in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("find")},function(e,t,n){"use strict";var o=n(0),r=n(19).findIndex,i=n(47),a=n(24),c=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("findIndex")},function(e,t,n){"use strict";var o=n(0),r=n(142),i=n(16),a=n(13),c=n(31),l=n(67);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=l(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},function(e,t,n){"use strict";var o=n(0),r=n(142),i=n(16),a=n(13),c=n(32),l=n(67);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},function(e,t,n){"use strict";var o=n(0),r=n(215);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){"use strict";var o=n(19).forEach,r=n(42),i=n(24),a=r("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},function(e,t,n){"use strict";var o=n(0),r=n(217);o({target:"Array",stat:!0,forced:!n(79)((function(e){Array.from(e)}))},{from:r})},function(e,t,n){"use strict";var o=n(51),r=n(16),i=n(143),a=n(103),c=n(13),l=n(52),d=n(104);e.exports=function(e){var t,n,u,s,p,m,f=r(e),h="function"==typeof this?this:Array,C=arguments.length,g=C>1?arguments[1]:undefined,b=g!==undefined,N=d(f),v=0;if(b&&(g=o(g,C>2?arguments[2]:undefined,2)),N==undefined||h==Array&&a(N))for(n=new h(t=c(f.length));t>v;v++)m=b?g(f[v],v):f[v],l(n,v,m);else for(p=(s=N.call(f)).next,n=new h;!(u=p.call(s)).done;v++)m=b?i(s,g,[u.value,v],!0):u.value,l(n,v,m);return n.length=v,n}},function(e,t,n){"use strict";var o=n(0),r=n(64).includes,i=n(47);o({target:"Array",proto:!0,forced:!n(24)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},function(e,t,n){"use strict";var o=n(0),r=n(64).indexOf,i=n(42),a=n(24),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,d=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!d||!u},{indexOf:function(e){return l?c.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";n(0)({target:"Array",stat:!0},{isArray:n(56)})},function(e,t,n){"use strict";var o=n(145).IteratorPrototype,r=n(45),i=n(49),a=n(46),c=n(69),l=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,d,!1,!0),c[d]=l,e}},function(e,t,n){"use strict";var o=n(0),r=n(61),i=n(25),a=n(42),c=[].join,l=r!=Object,d=a("join",",");o({target:"Array",proto:!0,forced:l||!d},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},function(e,t,n){"use strict";var o=n(0),r=n(147);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(e,t,n){"use strict";var o=n(0),r=n(19).map,i=n(68),a=n(24),c=i("map"),l=a("map");o({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(52);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var o=n(0),r=n(80).left,i=n(42),a=n(24),c=i("reduce"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(80).right,i=n(42),a=n(24),c=i("reduceRight"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(8),i=n(56),a=n(44),c=n(13),l=n(25),d=n(52),u=n(14),s=n(68),p=n(24),m=s("slice"),f=p("slice",{ACCESSORS:!0,0:0,1:2}),h=u("species"),C=[].slice,g=Math.max;o({target:"Array",proto:!0,forced:!m||!f},{slice:function(e,t){var n,o,u,s=l(this),p=c(s.length),m=a(e,p),f=a(t===undefined?p:t,p);if(i(s)&&("function"!=typeof(n=s.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[h])&&(n=undefined):n=undefined,n===Array||n===undefined))return C.call(s,m,f);for(o=new(n===undefined?Array:n)(g(f-m,0)),u=0;m1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(32),i=n(16),a=n(5),c=n(42),l=[],d=l.sort,u=a((function(){l.sort(undefined)})),s=a((function(){l.sort(null)})),p=c("sort");o({target:"Array",proto:!0,forced:u||!s||!p},{sort:function(e){return e===undefined?d.call(i(this)):d.call(i(this),r(e))}})},function(e,t,n){"use strict";n(57)("Array")},function(e,t,n){"use strict";var o=n(0),r=n(44),i=n(31),a=n(13),c=n(16),l=n(67),d=n(52),u=n(68),s=n(24),p=u("splice"),m=s("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min;o({target:"Array",proto:!0,forced:!p||!m},{splice:function(e,t){var n,o,u,s,p,m,C=c(this),g=a(C.length),b=r(e,g),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=g-b):(n=N-2,o=h(f(i(t),0),g-b)),g+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(C,o),s=0;sg-o+n;s--)delete C[s-1]}else if(n>o)for(s=g-o;s>b;s--)m=s+n-1,(p=s+o-1)in C?C[m]=C[p]:delete C[m];for(s=0;s>1,h=23===t?r(2,-24)-r(2,-77):0,C=e<0||0===e&&1/e<0?1:0,g=0;for((e=o(e))!=e||e===1/0?(d=e!=e?1:0,l=m):(l=i(a(e)/c),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+f>=1?h/u:h*r(2,1-f))*u>=2&&(l++,u/=2),l+f>=m?(d=0,l=m):l+f>=1?(d=(e*u-1)*r(2,t),l+=f):(d=e*r(2,f-1)*r(2,t),l=0));t>=8;s[g++]=255&d,d/=256,t-=8);for(l=l<0;s[g++]=255&l,l/=256,p-=8);return s[--g]|=128*C,s},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<>1,l=i-7,d=o-1,u=e[d--],s=127&u;for(u>>=7;l>0;s=256*s+e[d],d--,l-=8);for(n=s&(1<<-l)-1,s>>=-l,l+=t;l>0;n=256*n+e[d],d--,l-=8);if(0===s)s=1-c;else{if(s===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),s-=c}return(u?-1:1)*n*r(2,s-t)}}},function(e,t,n){"use strict";var o=n(0),r=n(12);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(81),a=n(11),c=n(44),l=n(13),d=n(48),u=i.ArrayBuffer,s=i.DataView,p=u.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new u(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(p!==undefined&&t===undefined)return p.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(d(this,u))(l(r-o)),m=new s(this),f=new s(i),h=0;o9999?"+":"";return n+r(i(e),n?6:4,0)+"-"+r(this.getUTCMonth()+1,2,0)+"-"+r(this.getUTCDate(),2,0)+"T"+r(this.getUTCHours(),2,0)+":"+r(this.getUTCMinutes(),2,0)+":"+r(this.getUTCSeconds(),2,0)+"."+r(t,3,0)+"Z"}:l},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(16),a=n(36);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){"use strict";var o=n(30),r=n(245),i=n(14)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},function(e,t,n){"use strict";var o=n(11),r=n(36);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(o(this),"number"!==e)}},function(e,t,n){"use strict";var o=n(23),r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&o(r,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){"use strict";n(0)({target:"Function",proto:!0},{bind:n(149)})},function(e,t,n){"use strict";var o=n(8),r=n(15),i=n(38),a=n(14)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var o=n(10),r=n(15).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;o&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var o=n(7);n(46)(o.JSON,"JSON",!0)},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(0),r=n(151),i=Math.acosh,a=Math.log,c=Math.sqrt,l=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:r(e-1+c(e-1)*c(e+1))}})},function(e,t,n){"use strict";var o=n(0),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},function(e,t,n){"use strict";var o=n(0),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){"use strict";var o=n(0),r=n(111),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},function(e,t,n){"use strict";var o=n(0),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},function(e,t,n){"use strict";var o=n(0),r=n(84),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},function(e,t,n){"use strict";var o=n(0),r=n(84);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){"use strict";n(0)({target:"Math",stat:!0},{fround:n(260)})},function(e,t,n){"use strict";var o=n(111),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),l=i(2,127)*(2-c),d=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),u=o(e);return il||n!=n?u*Infinity:u*n}},function(e,t,n){"use strict";var o=n(0),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,l=arguments.length,d=0;c0?(o=n/d)*o:n;return d===Infinity?Infinity:d*a(r)}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,o=+t,r=65535&n,i=65535&o;return 0|r*i+((65535&n>>>16)*i+r*(65535&o>>>16)<<16>>>0)}})},function(e,t,n){"use strict";var o=n(0),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){"use strict";n(0)({target:"Math",stat:!0},{log1p:n(151)})},function(e,t,n){"use strict";var o=n(0),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){"use strict";n(0)({target:"Math",stat:!0},{sign:n(111)})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(84),a=Math.abs,c=Math.exp,l=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(l/2)}})},function(e,t,n){"use strict";var o=n(0),r=n(84),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){"use strict";n(46)(Math,"Math",!0)},function(e,t,n){"use strict";var o=n(0),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(65),a=n(23),c=n(18),l=n(35),d=n(83),u=n(36),s=n(5),p=n(45),m=n(50).f,f=n(20).f,h=n(15).f,C=n(59).trim,g=r.Number,b=g.prototype,N="Number"==l(p(b)),v=function(e){var t,n,o,r,i,a,c,l,d=u(e,!1);if("string"==typeof d&&d.length>2)if(43===(t=(d=C(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+d}for(a=(i=d.slice(2)).length,c=0;cr)return NaN;return parseInt(i,o)}return+d};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var V,y=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof y&&(N?s((function(){b.valueOf.call(n)})):"Number"!=l(n))?d(new g(v(t)),n,y):v(t)},x=o?m(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)c(g,V=x[_])&&!c(y,V)&&h(y,V,f(g,V));y.prototype=b,b.constructor=y,a(r,"Number",y)}},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{isFinite:n(274)})},function(e,t,n){"use strict";var o=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{isInteger:n(152)})},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";var o=n(0),r=n(152),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";n(0)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){"use strict";var o=n(0),r=n(281);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){"use strict";var o=n(7),r=n(59).trim,i=n(85),a=o.parseFloat,c=1/a(i+"-0")!=-Infinity;e.exports=c?function(e){var t=r(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){"use strict";var o=n(0),r=n(153);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o=n(0),r=n(31),i=n(284),a=n(110),c=n(5),l=1..toFixed,d=Math.floor,u=function s(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)};o({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,o,c,l=i(this),s=r(e),p=[0,0,0,0,0,0],m="",f="0",h=function(e,t){for(var n=-1,o=t;++n<6;)o+=e*p[n],p[n]=o%1e7,o=d(o/1e7)},C=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=d(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(m="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),o=s;o>=7;)h(1e7,0),o-=7;for(h(u(10,o,1),0),o=t-1;o>=23;)C(1<<23),o-=23;C(1<0?m+((c=f.length)<=s?"0."+a.call("0",s-c)+f:f.slice(0,c-s)+"."+f.slice(c-s)):m+f}})},function(e,t,n){"use strict";var o=n(35);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var o=n(0),r=n(286);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(66),a=n(99),c=n(75),l=n(16),d=n(61),u=Object.assign,s=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,s=a.f,p=c.f;r>u;)for(var m,f=d(arguments[u++]),h=s?i(f).concat(s(f)):i(f),C=h.length,g=0;C>g;)m=h[g++],o&&!p.call(f,m)||(n[m]=f[m]);return n}:u},function(e,t,n){"use strict";n(0)({target:"Object",stat:!0,sham:!n(10)},{create:n(45)})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(86),a=n(16),c=n(32),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(0),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(137)})},function(e,t,n){"use strict";var o=n(0),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(15).f})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(86),a=n(16),c=n(32),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(0),r=n(154).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(0),r=n(71),i=n(5),a=n(8),c=n(54).onFreeze,l=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!r},{freeze:function(e){return l&&a(e)?l(c(e)):e}})},function(e,t,n){"use strict";var o=n(0),r=n(72),i=n(52);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),undefined,!0),t}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(25),a=n(20).f,c=n(10),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(97),a=n(25),c=n(20),l=n(52);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,d=i(o),u={},s=0;d.length>s;)(n=r(o,t=d[s++]))!==undefined&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(139).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(16),a=n(38),c=n(107);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";n(0)({target:"Object",stat:!0},{is:n(155)})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(8),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(8),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(0),r=n(5),i=n(8),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(0),r=n(16),i=n(66);o({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(86),a=n(16),c=n(36),l=n(38),d=n(20).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(86),a=n(16),c=n(36),l=n(38),d=n(20).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.set}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(0),r=n(8),i=n(54).onFreeze,a=n(71),c=n(5),l=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";var o=n(0),r=n(8),i=n(54).onFreeze,a=n(71),c=n(5),l=Object.seal;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{seal:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";n(0)({target:"Object",stat:!0},{setPrototypeOf:n(53)})},function(e,t,n){"use strict";var o=n(105),r=n(23),i=n(310);o||r(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var o=n(105),r=n(78);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(0),r=n(154).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(0),r=n(153);o({global:!0,forced:parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o,r,i,a,c=n(0),l=n(41),d=n(7),u=n(40),s=n(156),p=n(23),m=n(70),f=n(46),h=n(57),C=n(8),g=n(32),b=n(58),N=n(35),v=n(95),V=n(72),y=n(79),x=n(48),_=n(112).set,k=n(158),w=n(159),L=n(314),B=n(160),S=n(315),I=n(37),E=n(65),T=n(14),A=n(101),O=T("species"),M="Promise",P=I.get,F=I.set,D=I.getterFor(M),R=s,j=d.TypeError,z=d.document,W=d.process,U=u("fetch"),K=B.f,H=K,G="process"==N(W),Y=!!(z&&z.createEvent&&d.dispatchEvent),q=E(M,(function(){if(!(v(R)!==String(R))){if(66===A)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!R.prototype["finally"])return!0;if(A>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[O]=t,!(e.then((function(){}))instanceof t)})),$=q||!y((function(e){R.all(e)["catch"]((function(){}))})),X=function(e){var t;return!(!C(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;k((function(){for(var r=t.value,i=1==t.state,a=0;o.length>a;){var c,l,d,u=o[a++],s=i?u.ok:u.fail,p=u.resolve,m=u.reject,f=u.domain;try{s?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===s?c=r:(f&&f.enter(),c=s(r),f&&(f.exit(),d=!0)),c===u.promise?m(j("Promise-chain cycle")):(l=X(c))?l.call(c,p,m):p(c)):m(r)}catch(h){f&&!d&&f.exit(),m(h)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)}))}},Q=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),d.dispatchEvent(o)):o={promise:t,reason:n},(r=d["on"+e])?r(o):"unhandledrejection"===e&&L("Unhandled promise rejection",n)},Z=function(e,t){_.call(d,(function(){var n,o=t.value;if(ee(t)&&(n=S((function(){G?W.emit("unhandledRejection",o,e):Q("unhandledrejection",e,o)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){_.call(d,(function(){G?W.emit("rejectionHandled",e):Q("rejectionhandled",e,t.value)}))},ne=function(e,t,n,o){return function(r){e(t,n,r,o)}},oe=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},re=function ie(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw j("Promise can't be resolved itself");var r=X(n);r?k((function(){var o={done:!1};try{r.call(n,ne(ie,e,o,t),ne(oe,e,o,t))}catch(i){oe(e,o,i,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};q&&(R=function(e){b(this,R,M),g(e),o.call(this);var t=P(this);try{e(ne(re,this,t),ne(oe,this,t))}catch(n){oe(this,t,n)}},(o=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=m(R.prototype,{then:function(e,t){var n=D(this),o=K(x(this,R));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=G?W.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=P(e);this.promise=e,this.resolve=ne(re,e,t),this.reject=ne(oe,e,t)},B.f=K=function(e){return e===R||e===i?new r(e):H(e)},l||"function"!=typeof s||(a=s.prototype.then,p(s.prototype,"then",(function(e,t){var n=this;return new R((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w(R,U.apply(d,arguments))}}))),c({global:!0,wrap:!0,forced:q},{Promise:R}),f(R,M,!1,!0),h(M),i=u(M),c({target:M,stat:!0,forced:q},{reject:function(e){var t=K(this);return t.reject.call(undefined,e),t.promise}}),c({target:M,stat:!0,forced:l||q},{resolve:function(e){return w(l&&this===i?R:this,e)}}),c({target:M,stat:!0,forced:$},{all:function(e){var t=this,n=K(t),o=n.resolve,r=n.reject,i=S((function(){var n=g(t.resolve),i=[],a=0,c=1;V(e,(function(e){var l=a++,d=!1;i.push(undefined),c++,n.call(t,e).then((function(e){d||(d=!0,i[l]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=K(t),o=n.reject,r=S((function(){var r=g(t.resolve);V(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},function(e,t,n){"use strict";var o=n(7);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){"use strict";var o=n(0),r=n(41),i=n(156),a=n(5),c=n(40),l=n(48),d=n(159),u=n(23);o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=l(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return d(t,e()).then((function(){return n}))}:e,n?function(n){return d(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof i||i.prototype["finally"]||u(i.prototype,"finally",c("Promise").prototype["finally"])},function(e,t,n){"use strict";var o=n(0),r=n(40),i=n(32),a=n(11),c=n(5),l=r("Reflect","apply"),d=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):d.call(e,t,n)}})},function(e,t,n){"use strict";var o=n(0),r=n(40),i=n(32),a=n(11),c=n(8),l=n(45),d=n(149),u=n(5),s=r("Reflect","construct"),p=u((function(){function e(){}return!(s((function(){}),[],e)instanceof e)})),m=!u((function(){s((function(){}))})),f=p||m;o({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(m&&!p)return s(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(d.apply(e,o))}var r=n.prototype,u=l(c(r)?r:Object.prototype),f=Function.apply.call(e,u,t);return c(f)?f:u}})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(11),a=n(36),c=n(15);o({target:"Reflect",stat:!0,forced:n(5)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t,!0);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},function(e,t,n){"use strict";var o=n(0),r=n(11),i=n(20).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var o=n(0),r=n(8),i=n(11),a=n(18),c=n(20),l=n(38);o({target:"Reflect",stat:!0},{get:function d(e,t){var n,o,u=arguments.length<3?e:arguments[2];return i(e)===u?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(u):r(o=l(e))?d(o,t,u):void 0}})},function(e,t,n){"use strict";var o=n(0),r=n(10),i=n(11),a=n(20);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){"use strict";var o=n(0),r=n(11),i=n(38);o({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){"use strict";n(0)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){"use strict";var o=n(0),r=n(11),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){"use strict";n(0)({target:"Reflect",stat:!0},{ownKeys:n(97)})},function(e,t,n){"use strict";var o=n(0),r=n(40),i=n(11);o({target:"Reflect",stat:!0,sham:!n(71)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(0),r=n(11),i=n(8),a=n(18),c=n(5),l=n(15),d=n(20),u=n(38),s=n(49);o({target:"Reflect",stat:!0,forced:c((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function p(e,t,n){var o,c,m=arguments.length<4?e:arguments[3],f=d.f(r(e),t);if(!f){if(i(c=u(e)))return p(c,t,n,m);f=s(0)}if(a(f,"value")){if(!1===f.writable||!i(m))return!1;if(o=d.f(m,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,l.f(m,t,o)}else l.f(m,t,s(0,n));return!0}return f.set!==undefined&&(f.set.call(m,n),!0)}})},function(e,t,n){"use strict";var o=n(0),r=n(11),i=n(146),a=n(53);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(65),a=n(83),c=n(15).f,l=n(50).f,d=n(113),u=n(87),s=n(114),p=n(23),m=n(5),f=n(37).set,h=n(57),C=n(14)("match"),g=r.RegExp,b=g.prototype,N=/a/g,v=/a/g,V=new g(N)!==N,y=s.UNSUPPORTED_Y;if(o&&i("RegExp",!V||y||m((function(){return v[C]=!1,g(N)!=N||g(v)==v||"/a/i"!=g(N,"i")})))){for(var x=function(e,t){var n,o=this instanceof x,r=d(e),i=t===undefined;if(!o&&r&&e.constructor===x&&i)return e;V?r&&!i&&(e=e.source):e instanceof x&&(i&&(t=u.call(e)),e=e.source),y&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(V?new g(e,t):g(e,t),o?this:b,x);return y&&n&&f(c,{sticky:n}),c},_=function(e){e in x||c(x,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},k=l(g),w=0;k.length>w;)_(k[w++]);b.constructor=x,x.prototype=b,p(r,"RegExp",x)}h("RegExp")},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(87),a=n(114).UNSUPPORTED_Y;o&&("g"!=/./g.flags||a)&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var o=n(23),r=n(11),i=n(5),a=n(87),c=RegExp.prototype,l=c.toString,d=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(d||u)&&o(RegExp.prototype,"toString",(function(){var e=r(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(n===undefined&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(0),r=n(115).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var o,r=n(0),i=n(20).f,a=n(13),c=n(116),l=n(22),d=n(117),u=n(41),s="".endsWith,p=Math.min,m=d("endsWith");r({target:"String",proto:!0,forced:!!(u||m||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!m},{endsWith:function(e){var t=String(l(this));c(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:p(a(n),o),i=String(e);return s?s.call(t,i,r):t.slice(r-i.length,r)===i}})},function(e,t,n){"use strict";var o=n(0),r=n(44),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var o=n(0),r=n(116),i=n(22);o({target:"String",proto:!0,forced:!n(117)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(115).charAt,r=n(37),i=n(106),a=r.set,c=r.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(13),a=n(22),c=n(118),l=n(90);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),d=String(this);if(!a.global)return l(a,d);var u=a.unicode;a.lastIndex=0;for(var s,p=[],m=0;null!==(s=l(a,d));){var f=String(s[0]);p[m]=f,""===f&&(a.lastIndex=c(d,i(a.lastIndex),u)),m++}return 0===m?null:p}]}))},function(e,t,n){"use strict";var o=n(0),r=n(109).end;o({target:"String",proto:!0,forced:n(162)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(109).start;o({target:"String",proto:!0,forced:n(162)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(0),r=n(25),i=n(13);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c]*>)/g,h=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var C=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=o.REPLACE_KEEPS_$0,b=C?"$":"$0";return[function(n,o){var r=l(this),i=n==undefined?undefined:n[e];return i!==undefined?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!C&&g||"string"==typeof o&&-1===o.indexOf(b)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),m=String(this),f="function"==typeof o;f||(o=String(o));var h=l.global;if(h){var v=l.unicode;l.lastIndex=0}for(var V=[];;){var y=u(l,m);if(null===y)break;if(V.push(y),!h)break;""===String(y[0])&&(l.lastIndex=d(m,a(l.lastIndex),v))}for(var x,_="",k=0,w=0;w=k&&(_+=m.slice(k,B)+A,k=B+L.length)}return _+m.slice(k)}];function N(e,n,o,r,a,c){var l=o+e.length,d=r.length,u=h;return a!==undefined&&(a=i(a),u=f),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>d){var s=m(u/10);return 0===s?t:s<=d?r[s-1]===undefined?i.charAt(1):r[s-1]+i.charAt(1):t}c=r[u-1]}return c===undefined?"":c}))}}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(22),a=n(155),c=n(90);o("search",1,(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var i=r(e),l=String(this),d=i.lastIndex;a(d,0)||(i.lastIndex=0);var u=c(i,l);return a(i.lastIndex,d)||(i.lastIndex=d),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var o=n(89),r=n(113),i=n(11),a=n(22),c=n(48),l=n(118),d=n(13),u=n(90),s=n(88),p=n(5),m=[].push,f=Math.min,h=!p((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=n===undefined?4294967295:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,d,u=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=new RegExp(e.source,p+"g");(c=s.call(h,o))&&!((l=h.lastIndex)>f&&(u.push(o.slice(f,c.index)),c.length>1&&c.index=i));)h.lastIndex===c.index&&h.lastIndex++;return f===o.length?!d&&h.test("")||u.push(""):u.push(o.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var s=i(e),p=String(this),m=c(s,RegExp),C=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),b=new m(h?s:"^(?:"+s.source+")",g),N=r===undefined?4294967295:r>>>0;if(0===N)return[];if(0===p.length)return null===u(b,p)?[p]:[];for(var v=0,V=0,y=[];V1?arguments[1]:undefined,t.length)),o=String(e);return s?s.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var o=n(0),r=n(59).trim;o({target:"String",proto:!0,forced:n(119)("trim")},{trim:function(){return r(this)}})},function(e,t,n){"use strict";var o=n(0),r=n(59).end,i=n(119)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var o=n(0),r=n(59).start,i=n(119)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("big")},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("blink")},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("bold")},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("italics")},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("link")},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("small")},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("strike")},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("sub")},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var o=n(0),r=n(27);o({target:"String",proto:!0,forced:n(28)("sup")},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){"use strict";n(43)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(31);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n(43)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},function(e,t,n){"use strict";n(43)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(12),r=n(141),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(19).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(102),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(19).filter,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("filter",(function(e){for(var t=r(a(this),e,arguments.length>1?arguments[1]:undefined),n=i(this,this.constructor),o=0,l=t.length,d=new(c(n))(l);l>o;)d[o]=t[o++];return d}))},function(e,t,n){"use strict";var o=n(12),r=n(19).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(19).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(19).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(120);(0,n(12).exportTypedArrayStaticMethod)("from",n(164),o)},function(e,t,n){"use strict";var o=n(12),r=n(64).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(64).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(144),a=n(14)("iterator"),c=o.Uint8Array,l=i.values,d=i.keys,u=i.entries,s=r.aTypedArray,p=r.exportTypedArrayMethod,m=c&&c.prototype[a],f=!!m&&("values"==m.name||m.name==undefined),h=function(){return l.call(s(this))};p("entries",(function(){return u.call(s(this))})),p("keys",(function(){return d.call(s(this))})),p("values",h,!f),p(a,h,!f)},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(147),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(19).map,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var o=n(12),r=n(120),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},function(e,t,n){"use strict";var o=n(12),r=n(80).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(80).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=r(this).length,n=a(t/2),o=0;o1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),d=0;if(c+t>n)throw RangeError("Wrong length");for(;di;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var o=n(12),r=n(19).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(r(this),e)}))},function(e,t,n){"use strict";var o=n(12),r=n(13),i=n(44),a=n(48),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,l=i(e,o);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-l))}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(5),a=o.Int8Array,c=r.aTypedArray,l=r.exportTypedArrayMethod,d=[].toLocaleString,u=[].slice,s=!!a&&i((function(){d.call(new a(1))}));l("toLocaleString",(function(){return d.apply(s?u.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var o=n(12).exportTypedArrayMethod,r=n(5),i=n(7).Uint8Array,a=i&&i.prototype||{},c=[].toString,l=[].join;r((function(){c.call({})}))&&(c=function(){return l.call(this)});var d=a.toString!=c;o("toString",c,d)},function(e,t,n){"use strict";var o,r=n(7),i=n(70),a=n(54),c=n(82),l=n(165),d=n(8),u=n(37).enforce,s=n(132),p=!r.ActiveXObject&&"ActiveXObject"in r,m=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",f,l);if(s&&p){o=l.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var C=h.prototype,g=C["delete"],b=C.has,N=C.get,v=C.set;i(C,{"delete":function(e){if(d(e)&&!m(e)){var t=u(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(d(e)&&!m(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(d(e)&&!m(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)?N.call(this,e):t.frozen.get(e)}return N.call(this,e)},set:function(e,t){if(d(e)&&!m(e)){var n=u(this);n.frozen||(n.frozen=new o),b.call(this,e)?v.call(this,e,t):n.frozen.set(e,t)}else v.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(82)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(165))},function(e,t,n){"use strict";var o=n(0),r=n(7),i=n(112);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";var o=n(0),r=n(7),i=n(158),a=n(35),c=r.process,l="process"==a(c);o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&c.domain;i(t?t.bind(e):e)}})},function(e,t,n){"use strict";var o=n(0),r=n(7),i=n(77),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";t.__esModule=!0,t._CI=Be,t._HI=F,t._M=Se,t._MCCC=Ae,t._ME=Ee,t._MFCC=Oe,t._MP=we,t._MR=be,t.__render=Re,t.createComponentVNode=function(e,t,n,o,r){var a=new S(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(i(o))return n;if(i(n))return u(o,null);return L(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(i(o))return n;if(i(n))return o;return L(n,o)}(e,t,r),t);_.createVNode&&_.createVNode(a);return a},t.createFragment=T,t.createPortal=function(e,t){var n=F(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),je(n,e,o,r)}},t.createTextVNode=E,t.createVNode=I,t.directClone=A,t.findDOMfromVNode=N,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(c(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&i(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?u(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=je,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var o=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function i(e){return null==e}function a(e){return null===e||!1===e||!0===e||void 0===e}function c(e){return"function"==typeof e}function l(e){return"string"==typeof e}function d(e){return null===e}function u(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!d(e)&&"object"==typeof e}var p={};t.EMPTY_OBJ=p;function m(e){return e.substr(2).toLowerCase()}function f(e,t){e.appendChild(t)}function h(e,t,n){d(n)?f(e,t):e.insertBefore(t,n)}function C(e,t){e.removeChild(t)}function g(e){for(var t=0;t0,f=d(p),h=l(p)&&"$"===p[0];m||f||h?(n=n||t.slice(0,u),(m||h)&&(s=A(s)),(f||h)&&(s.key="$"+u),n.push(s)):n&&n.push(s),s.flags|=65536}}i=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=A(t)),i=2;return e.children=n,e.childFlags=i,e}function F(e){return a(e)||r(e)?E(e,null):o(e)?T(e,0,null):16384&e.flags?A(e):e}var D="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":D,"xlink:arcrole":D,"xlink:href":D,"xlink:role":D,"xlink:show":D,"xlink:title":D,"xlink:type":D,"xml:base":R,"xml:lang":R,"xml:space":R};function z(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var W=z(0),U=z(null),K=z(!0);function H(e,t){var n=t.$EV;return n||(n=t.$EV=z(null)),n[e]||1==++W[e]&&(U[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?Y(t,!0,e,J(t)):t.stopPropagation()}}(e):function(e){return function(t){Y(t,!1,e,J(t))}}(e);return document.addEventListener(m(e),t),t}(e)),n}function G(e,t){var n=t.$EV;n&&n[e]&&(0==--W[e]&&(document.removeEventListener(m(e),U[e]),U[e]=null),n[e]=null)}function Y(e,t,n,o){var r=function(e){return c(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var a=i[n];if(a&&(o.dom=r,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}r=r.parentNode}while(!d(r))}function q(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function $(){return this.defaultPrevented}function X(){return this.cancelBubble}function J(e){var t={dom:document};return e.isDefaultPrevented=$,e.isPropagationStopped=X,e.stopPropagation=q,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Q(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Z(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||p,i=o.dom;if(l(e))Q(r,e,n);else for(var a=0;a-1&&t.options[a]&&(c=t.options[a].value),n&&i(c)&&(c=e.defaultValue),ae(o,c)}}var de,ue,se=Z("onInput",me),pe=Z("onChange");function me(e,t,n){var o=e.value,r=t.value;if(i(o)){if(n){var a=e.defaultValue;i(a)||a===r||(t.defaultValue=a,t.value=a)}}else r!==o&&(t.defaultValue=o,t.value=o)}function fe(e,t,n,o,r,i){64&e?ie(o,n):256&e?le(o,n,r,t):128&e&&me(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",se),t.onChange&&ee(e,"change",pe)}(t,n)}function Ce(e){return e.type&&te(e.type)?!i(e.checked):!i(e.value)}function ge(e){e&&!B(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(c(e)||void 0!==e.current)&&n.push((function(){B(e,t)||void 0===e.current||(e.current=t)}))}function Ne(e,t){ve(e),v(e,t)}function ve(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var r=e.props;ge(t);var a=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0;for(var c in a&&(i=Ce(n))&&he(t,o,n),n)ke(c,null,n[c],o,r,i,null);a&&fe(t,e,o,n,!0,i)}function Le(e,t,n){var o=F(e.render(t,e.state,n)),r=n;return c(e.getChildContext)&&(r=u(n,e.getChildContext())),e.$CX=r,o}function Be(e,t,n,o,r,i){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=r,a.$L=i,e.children=a,a.$BS=!1,a.context=o,a.props===p&&(a.props=n),l)a.state=y(a,n,a.state);else if(c(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!d(u)){var s=a.state;if(d(s))a.state=u;else for(var m in u)s[m]=u[m];a.$PS=null}a.$BR=!1}return a.$LI=Le(a,n,o),a}function Se(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Ee(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Be(e,e.type,e.props||p,n,o,i);Se(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Se(e.children=F(function(e,t){return 32768&e.flags?e.type.render(e.props||p,e.ref,t):e.type(e.props||p,t)}(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Oe(e,i)):512&a||16&a?Ie(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=O());2===c?Se(a,n,r,o,r,i):Te(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Se(e.children,e.ref,t,!1,null,r);var i=O();Ie(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Ie(e,t,n){var o=e.dom=document.createTextNode(e.children);d(t)||h(t,o,n)}function Ee(e,t,n,o,r,a){var c=e.flags,l=e.props,u=e.className,s=e.children,p=e.childFlags,m=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0);if(i(u)||""===u||(o?m.setAttribute("class",u):m.className=u),16===p)k(m,s);else if(1!==p){var f=o&&"foreignObject"!==e.type;2===p?(16384&s.flags&&(e.children=s=A(s)),Se(s,m,n,f,null,a)):8!==p&&4!==p||Te(s,m,n,f,null,a)}d(t)||h(t,m,r),d(l)||we(e,c,l,m,o),be(e.ref,m,a)}function Te(e,t,n,o,r,i){for(var a=0;a0,d!==u){var f=d||p;if((c=u||p)!==p)for(var h in(s=(448&r)>0)&&(m=Ce(c)),c){var C=f[h],g=c[h];C!==g&&ke(h,C,g,l,o,m,e)}if(f!==p)for(var b in f)i(c[b])&&!i(f[b])&&ke(b,f[b],null,l,o,m,e)}var N=t.children,v=t.className;e.className!==v&&(i(v)?l.removeAttribute("class"):o?l.setAttribute("class",v):l.className=v);4096&r?function(e,t){e.textContent!==t&&(e.textContent=t)}(l,N):Pe(e.childFlags,t.childFlags,e.children,N,l,n,o&&"foreignObject"!==t.type,null,e,a);s&&fe(r,t,l,c,!1,m);var V=t.ref,y=e.ref;y!==V&&(ge(y),be(V,l,a))}(e,t,o,r,m,s):4&m?function(e,t,n,o,r,i,a){var l=t.children=e.children;if(d(l))return;l.$L=a;var s=t.props||p,m=t.ref,f=e.ref,h=l.state;if(!l.$N){if(c(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,o),l.$UN)return;l.$BR=!1}d(l.$PS)||(h=u(h,l.$PS),l.$PS=null)}Fe(l,h,s,n,o,r,!1,i,a),f!==m&&(ge(f),be(m,l,a))}(e,t,n,o,r,l,s):8&m?function(e,t,n,o,r,a,l){var d=!0,u=t.props||p,s=t.ref,m=e.props,f=!i(s),h=e.children;f&&c(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(m,u));if(!1!==d){f&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(m,u);var C=t.type,g=F(32768&t.flags?C.render(u,s,o):C(u,o));Me(h,g,n,o,r,a,l),t.children=g,f&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(m,u)}else t.children=h}(e,t,n,o,r,l,s):16&m?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&m?t.dom=e.dom:8192&m?function(e,t,n,o,r,i){var a=e.children,c=t.children,l=e.childFlags,d=t.childFlags,u=null;12&d&&0===c.length&&(d=t.childFlags=2,c=t.children=O());var s=0!=(2&d);if(12&l){var p=a.length;(8&l&&8&d||s||!s&&c.length>p)&&(u=N(a[p-1],!1).nextSibling)}Pe(l,d,a,c,n,o,r,u,e,i)}(e,t,n,o,r,s):function(e,t,n,o){var r=e.ref,i=t.ref,c=t.children;if(Pe(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==i&&!a(c)){var l=c.dom;C(r,l),f(i,l)}}(e,t,o,s)}function Pe(e,t,n,o,r,i,a,c,l,d){switch(e){case 2:switch(t){case 2:Me(n,o,r,i,a,c,d);break;case 1:Ne(n,r);break;case 16:ve(n),k(r,o);break;default:!function(e,t,n,o,r,i){ve(e),Te(t,n,o,r,N(e,!0),i),v(e,n)}(n,o,r,i,a,d)}break;case 1:switch(t){case 2:Se(o,r,i,a,c,d);break;case 1:break;case 16:k(r,o);break;default:Te(o,r,i,a,c,d)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:k(n,t))}(n,o,r);break;case 2:ye(r),Se(o,r,i,a,c,d);break;case 1:ye(r);break;default:ye(r),Te(o,r,i,a,c,d)}break;default:switch(t){case 16:Ve(n),k(r,o);break;case 2:xe(r,l,n),Se(o,r,i,a,c,d);break;case 1:xe(r,l,n);break;default:var u=0|n.length,s=0|o.length;0===u?s>0&&Te(o,r,i,a,c,d):0===s?xe(r,l,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,l,d){var u,s,p=i-1,m=a-1,f=0,h=e[f],C=t[f];e:{for(;h.key===C.key;){if(16384&C.flags&&(t[f]=C=A(C)),Me(h,C,n,o,r,c,d),e[f]=C,++f>p||f>m)break e;h=e[f],C=t[f]}for(h=e[p],C=t[m];h.key===C.key;){if(16384&C.flags&&(t[m]=C=A(C)),Me(h,C,n,o,r,c,d),e[p]=C,p--,m--,f>p||f>m)break e;h=e[p],C=t[m]}}if(f>p){if(f<=m)for(s=(u=m+1)m)for(;f<=p;)Ne(e[f++],n);else!function(e,t,n,o,r,i,a,c,l,d,u,s,p){var m,f,h,C=0,g=c,b=c,v=i-c+1,y=a-c+1,x=new Int32Array(y+1),_=v===o,k=!1,w=0,L=0;if(r<4||(v|y)<32)for(C=g;C<=i;++C)if(m=e[C],Lc?k=!0:w=c,16384&f.flags&&(t[c]=f=A(f)),Me(m,f,l,n,d,u,p),++L;break}!_&&c>a&&Ne(m,l)}else _||Ne(m,l);else{var B={};for(C=b;C<=a;++C)B[t[C].key]=C;for(C=g;C<=i;++C)if(m=e[C],Lg;)Ne(e[g++],l);x[c-b]=C+1,w>c?k=!0:w=c,16384&(f=t[c]).flags&&(t[c]=f=A(f)),Me(m,f,l,n,d,u,p),++L}else _||Ne(m,l);else _||Ne(m,l)}if(_)xe(l,s,e),Te(t,l,n,d,u,p);else if(k){var S=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,l=e.length;l>De&&(De=l,de=new Int32Array(l),ue=new Int32Array(l));for(;n>1]]0&&(ue[n]=de[i-1]),de[i]=n)}i=r+1;var d=new Int32Array(i);a=de[i-1];for(;i-- >0;)d[i]=a,a=ue[a],de[i]=0;return d}(x);for(c=S.length-1,C=y-1;C>=0;C--)0===x[C]?(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)=0;C--)0===x[C]&&(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)a?a:i,p=0;pa)for(p=s;p=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),V(n),d}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;V(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:x(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=o}catch(r){Function("r","regeneratorRuntime = r")(o)}},function(e,t,n){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l=0,d={};function u(){var e=f.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=d[e._html5shiv];return t||(t={},l++,e._html5shiv=l,d[l]=t),t}function p(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=s(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function m(e){e||(e=n);var t=s(e);return!f.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return f.shivMethods?p(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(f,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var f={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:m,createElement:p,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||s(e)).frag.cloneNode(),i=0,a=u(),c=a.length;i3?c(a):null,N=String(a.key),v=String(a.char),V=a.location,y=a.keyCode||(a.keyCode=N)&&N.charCodeAt(0)||0,x=a.charCode||(a.charCode=v)&&v.charCodeAt(0)||0,_=a.bubbles,k=a.cancelable,w=a.repeat,L=a.locale,B=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in p)p.initKeyEvent(t,_,k,B,m,h,f,C,y,x);else if(0>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,l=e.addEventListener,d=e.removeEventListener,u=0,s=function(){u++},p=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},m=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",s,{once:!0}),c(new a("_")),c(new a("_")),d("_",s,{once:!0})}catch(f){}1!==u&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,l,d,u=i.get(this),s=m(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(c=p.call(l.handler,r))<0?(c=l.handler.push(r)-1,l.wrap[c]=d=new n):d=l.wrap[c],s in d||(d[s]=o(t,r,a),e.call(this,t,d[s],d[s].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,l,d=i.get(this);if(d&&t in d&&(c=d[t],-1<(a=p.call(c.handler,n))&&(r=m(o))in(l=c.wrap[a]))){for(r in e.call(this,t,l[r],l[r].capture),delete l[r],l)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete d[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},function(e,t,n){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},function(e,t,n){"use strict";window.Int32Array||(window.Int32Array=Array)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(421),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,n(74))},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var o,r,i,a,c,l=1,d={},u=!1,s=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(r=s.documentElement,o=function(e){var t=s.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),o=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=0||(r[n]=e[n]);return r}(e,["className","scrollable","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({id:"Layout__content"},(0,i.computeBoxProps)(c))))}},function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(6),r=n(0);var i=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},a=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},i(t.initial)?n.state.value=t.initial:i(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(i(o)){var r=.5*n+.5*o;this.setState({value:r})}},a.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},a.componentWillUnmount=function(){clearTimeout(this.timer)},a.render=function(){var e=this.props,t=this.state,n=e.format,r=e.children,a=t.value,c=e.value;if(!i(c))return c||null;var l=a;if(n)l=n(a);else{var d=String(c).split(".")[1],u=d?d.length:0;l=(0,o.toFixed)(a,(0,o.clamp)(u,0,8))}return"function"==typeof r?r(l,a):l},r}(r.Component);t.AnimatedNumber=a},function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(0),r=n(9),i=n(91),a=n(4),c=n(26),l=n(17),d=n(126),u=n(171);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function m(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var p=(0,c.createLogger)("Button"),f=function(e){var t=e.className,n=e.fluid,c=e.icon,s=e.color,f=e.disabled,h=e.selected,C=e.tooltip,g=e.tooltipPosition,b=e.ellipsis,N=e.content,v=e.iconRotation,V=e.iconSpin,y=e.children,_=e.onclick,x=e.onClick,k=m(e,["className","fluid","icon","color","disabled","selected","tooltip","tooltipPosition","ellipsis","content","iconRotation","iconSpin","children","onclick","onClick"]),w=!(!N&&!y);return _&&p.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"),(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid",f&&"Button--disabled",h&&"Button--selected",w&&"Button--hasContent",b&&"Button--ellipsis",s&&"string"==typeof s?"Button--color--"+s:"Button--color--default",t]),tabIndex:!f&&"0",unselectable:Byond.IS_LTE_IE8,onclick:function(e){(0,a.refocusLayout)(),!f&&x&&x(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;return t===i.KEY_SPACE||t===i.KEY_ENTER?(e.preventDefault(),void(!f&&x&&x(e))):t===i.KEY_ESCAPE?(e.preventDefault(),void(0,a.refocusLayout)()):void 0}},k,{children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:v,spin:V}),N,y,C&&(0,o.createComponentVNode)(2,u.Tooltip,{content:C,position:g})]})))};t.Button=f,f.defaultHooks=r.pureComponentHooks;var h=function(e){var t=e.checked,n=m(e,["checked"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=h,f.Checkbox=h;var C=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}s(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,l=t.icon,d=t.color,u=t.content,s=t.onClick,p=m(t,["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({content:this.state.clickedOnce?r:u,icon:this.state.clickedOnce?c:l,color:this.state.clickedOnce?a:d,onClick:function(){return e.state.clickedOnce?s():e.setClickedOnce(!0)}},p)))},t}(o.Component);t.ButtonConfirm=C,f.Confirm=C;var g=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}s(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,c=t.icon,s=t.iconRotation,p=t.iconSpin,f=t.tooltip,h=t.tooltipPosition,C=t.color,g=void 0===C?"default":C,b=(t.placeholder,t.maxLength,m(t,["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"]));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid","Button--color--"+g])},b,{onClick:function(){return e.setInInput(!0)},children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:s,spin:p}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===i.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===i.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef),f&&(0,o.createComponentVNode)(2,u.Tooltip,{content:f,position:h})]})))},t}(o.Component);t.ButtonInput=g,f.Input=g},function(e,t,n){"use strict";t.__esModule=!0,t.Icon=void 0;var o=n(0),r=n(9),i=n(17);var a=/-o$/,c=function(e){var t=e.name,n=e.size,c=e.spin,l=e.className,d=e.style,u=void 0===d?{}:d,s=e.rotation,m=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["name","size","spin","className","style","rotation"]);n&&(u["font-size"]=100*n+"%"),"number"==typeof s&&(u.transform="rotate("+s+"deg)");var p=a.test(t),f=t.replace(a,"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)([l,p?"far":"fas","fa-"+f,c&&"fa-spin"]),style:u},m)))};t.Icon=c,c.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(0),r=n(6),i=n(9),a=n(124);var c=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:c(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,l=t.stepPixelSize,d=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),u=c(e,d)-n.origin;if(t.dragging){var s=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/l,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+s,o,i),n.origin=c(e,d)}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,l=t.suppressingFlicker,d=this.props,u=d.animated,s=d.value,m=d.unit,p=d.minValue,f=d.maxValue,h=d.format,C=d.onChange,g=d.onDrag,b=d.children,N=d.forcedInputWidth,v=d.height,V=d.lineHeight,y=d.fontSize,_=s;(n||l)&&(_=c);var x=function(e){return e+(m?" "+m:"")},k=u&&!n&&!l&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:_,format:h,children:x})||x(h?h(_):_),w=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:v,width:N,"line-height":V,"font-size":y},onBlur:function(t){if(i){var n=(0,r.clamp)(t.target.value,p,f);e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),g&&g(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,p,f);return e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),void(g&&g(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return b({dragging:n,editing:i,value:s,displayValue:_,displayElement:k,inputElement:w,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.collapsing,c=e.children,l=a(e,["className","collapsing","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Table=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.header,c=a(e,["className","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableRow=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.collapsing,c=e.header,l=a(e,["className","collapsing","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",c&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(l))))};t.TableCell=d,d.defaultHooks=r.pureComponentHooks,c.Row=l,c.Cell=d},function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(0),r=n(6),i=n(9),a=n(124),c=n(17);var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),l=n.origin-e.screenY;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+l*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=e.screenY}else Math.abs(l)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,l=t.editing,d=t.value,u=t.suppressingFlicker,s=this.props,m=s.className,p=s.fluid,f=s.animated,h=s.value,C=s.unit,g=s.minValue,b=s.maxValue,N=s.height,v=s.width,V=s.lineHeight,y=s.fontSize,_=s.format,x=s.onChange,k=s.onDrag,w=h;(n||u)&&(w=d);var L=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(C?" "+C:""),0,{unselectable:Byond.IS_LTE_IE8})},B=f&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:w,format:_,children:L})||L(_?_(w):w);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",p&&"NumberInput--fluid",m]),minWidth:v,minHeight:N,lineHeight:V,fontSize:y,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((w-g)/(b-g)*100,0,100)+"%"}}),2),B,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?undefined:"none",height:N,"line-height":V,"font-size":y},onBlur:function(t){if(l){var n=(0,r.clamp)(t.target.value,g,b);e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),k&&k(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,g,b);return e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),void(k&&k(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(93);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var o=n(7),r=n(94),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var o=n(7),r=n(95),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},function(e,t,n){"use strict";var o=n(19),r=n(97),i=n(21),a=n(15);e.exports=function(e,t){for(var n=r(t),c=a.f,l=i.f,d=0;dl;)o(c,n=t[l++])&&(~i(d,n)||d.push(n));return d}},function(e,t,n){"use strict";var o=n(100);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(11),a=n(67);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,l=0;c>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){"use strict";var o=n(40);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(27),r=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},function(e,t,n){"use strict";var o=n(14);t.f=o},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),l=r(e,c),d=r(t,c),u=arguments.length>2?arguments[2]:undefined,s=a((u===undefined?c:r(u,c))-d,c-l),m=1;for(d0;)d in n?n[l]=n[d]:delete n[l],l+=m,d+=m;return n}},function(e,t,n){"use strict";var o=n(57),r=n(13),i=n(52);e.exports=function a(e,t,n,c,l,d,u,s){for(var m,p=l,f=0,h=!!u&&i(u,s,3);f0&&o(m))p=a(e,t,m,r(m.length),p,d-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=m}p++}f++}return p}},function(e,t,n){"use strict";var o=n(11);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw i!==undefined&&o(i.call(e)),a}}},function(e,t,n){"use strict";var o=n(27),r=n(47),i=n(70),a=n(38),c=n(106),l=a.set,d=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:o(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var o,r,i,a=n(39),c=n(32),l=n(19),d=n(14),u=n(41),s=d("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=a(a(i)))!==Object.prototype&&(o=r):m=!0),o==undefined&&(o={}),u||l(o,s)||c(o,s,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var o=n(27),r=n(33),i=n(13),a=n(42),c=n(25),l=Math.min,d=[].lastIndexOf,u=!!d&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),m=c("indexOf",{ACCESSORS:!0,1:0}),p=u||!s||!m;e.exports=p?function(e){if(u)return d.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:d},function(e,t,n){"use strict";var o=n(33),r=n(13);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var o=n(34),r=n(8),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return C(this,0===e?0:e,t)}}:{add:function(e){return C(this,e=0===e?0:e,e)}}),s&&o(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){f(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var o=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:o(1+e)}},function(e,t,n){"use strict";var o=n(8),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(85),a=o.parseInt,c=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=r(String(e));return a(n,t>>>0||(c.test(n)?16:10))}:a},function(e,t,n){"use strict";var o=n(10),r=n(67),i=n(27),a=n(75).f,c=function(e){return function(t){for(var n,c=i(t),l=r(c),d=l.length,u=0,s=[];d>u;)n=l[u++],o&&!a.call(c,n)||s.push(e?[n,c[n]]:c[n]);return s}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var o=n(7);e.exports=o.Promise},function(e,t,n){"use strict";var o=n(77);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},function(e,t,n){"use strict";var o,r,i,a,c,l,d,u,s=n(7),m=n(21).f,p=n(36),f=n(112).set,h=n(157),C=s.MutationObserver||s.WebKitMutationObserver,g=s.process,b=s.Promise,N="process"==p(g),v=m(s,"queueMicrotask"),V=v&&v.value;V||(o=function(){var e,t;for(N&&(e=g.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},N?a=function(){g.nextTick(o)}:C&&!h?(c=!0,l=document.createTextNode(""),new C(o).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(d=b.resolve(undefined),u=d.then,a=function(){u.call(d,o)}):a=function(){f.call(s,o)}),e.exports=V||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},function(e,t,n){"use strict";var o=n(11),r=n(8),i=n(160);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var o=n(34),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var o=n(1),r=n(88);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){"use strict";var o=n(77);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o)},function(e,t,n){"use strict";var o=n(367);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){"use strict";var o=n(16),r=n(13),i=n(104),a=n(103),c=n(52),l=n(12).aTypedArrayConstructor;e.exports=function(e){var t,n,d,u,s,m,p=o(e),f=arguments.length,h=f>1?arguments[1]:undefined,C=h!==undefined,g=i(p);if(g!=undefined&&!a(g))for(m=(s=g.call(p)).next,p=[];!(u=m.call(s)).done;)p.push(u.value);for(C&&f>2&&(h=c(h,arguments[2],2)),n=r(p.length),d=new(l(this))(n),t=0;n>t;t++)d[t]=C?h(p[t],t):p[t];return d}},function(e,t,n){"use strict";var o=n(71),r=n(55).getWeakData,i=n(11),a=n(8),c=n(59),l=n(73),d=n(20),u=n(19),s=n(38),m=s.set,p=s.getterFor,f=d.find,h=d.findIndex,C=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},N=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=N(this,e);if(t)return t[1]},has:function(e){return!!N(this,e)},set:function(e,t){var n=N(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,d){var s=e((function(e,o){c(e,s,t),m(e,{type:t,id:C++,frozen:undefined}),o!=undefined&&l(o,e[d],e,n)})),f=p(t),h=function(e,t,n){var o=f(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(s.prototype,{"delete":function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),o(s.prototype,n?{get:function(e){var t=f(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),s}}},function(e,t,n){"use strict";t.__esModule=!0,t.perf=void 0;var o={mark:function(e,t){0},measure:function(e,t){0}};t.perf=o},function(e,t,n){"use strict";t.__esModule=!0,t.setupHotReloading=t.sendLogEntry=void 0;t.sendLogEntry=function(e,t){};t.setupHotReloading=function(){0}},function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(425),r=n(169);function i(e,t,n,o,r,i,a){try{var c=e[i](a),l=c.value}catch(d){return void n(d)}c.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,l,"next",e)}function l(e){i(a,o,r,c,l,"throw",e)}c(undefined)}))}}var c,l,d,u,s,m=(0,n(26).createLogger)("drag"),p=window.__windowId__,f=!1,h=!1,C=[0,0];t.setWindowKey=function(e){p=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var N=function(e){var t=(0,r.vecAdd)(e,C);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=N;var v=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=v;var V=function(){return[0-C[0],0-C[1]]};t.getScreenPosition=V;var y=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=y;var _=function(e){m.log("storing geometry");var t={pos:g(),size:b()};o.storage.set(e,t);var n=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;il&&(r[a]=l-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){m.log("drag start"),f=!0,l=[window.screenLeft-e.screenX,window.screenTop-e.screenY],document.addEventListener("mousemove",B),document.addEventListener("mouseup",L),B(e)};var L=function E(e){m.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",E),f=!1,_(p)},B=function(e){f&&(e.preventDefault(),N((0,r.vecAdd)([e.screenX,e.screenY],l)))};t.resizeStartHandler=function(e,t){return function(n){d=[e,t],m.log("resize start",d),h=!0,l=[window.screenLeft-n.screenX,window.screenTop-n.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",I),document.addEventListener("mouseup",S),I(n)}};var S=function T(e){m.log("resize end",s),I(e),document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",T),h=!1,_(p)},I=function(e){h&&(e.preventDefault(),(s=(0,r.vecAdd)(u,(0,r.vecMultiply)(d,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),l,[1,1]))))[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),v(s))}},function(e,t,n){"use strict";t.__esModule=!0,t.vecNormalize=t.vecLength=t.vecInverse=t.vecScale=t.vecDivide=t.vecMultiply=t.vecSubtract=t.vecAdd=void 0;var o=n(22),r=function(e,t){return e+t},i=function(e,t){return e-t},a=function(e,t){return e*t},c=function(e,t){return e/t}; /** * N-dimensional vector manipulation functions. * @@ -30,6 +22,14 @@ if(!document.createEvent){var t,n=!0,o=!1,r="__IE8__"+Math.random(),i=Object.def * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.vecAdd=function(){for(var e=arguments.length,t=new Array(e),n=0;n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),a=1;a1?t-1:0),o=1;o35;return(0,o.createVNode)(1,"div",(0,r.classes)(["Tooltip",c&&"Tooltip--long",i&&"Tooltip--"+i,a&&"Tooltip--scale--"+Math.floor(a)]),null,1,{"data-tooltip":t})}},function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(0),r=n(9),i=n(17);t.Dimmer=function(e){var t=e.className,n=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},a,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(0),r=n(9);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},function(e,t,n){"use strict";t.__esModule=!0,t.FlexItem=t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.alignContent,l=e.justify,d=e.inline,u=e.spacing,s=void 0===u?0:u,m=e.spacingPrecise,p=void 0===m?0:m,f=a(e,["className","direction","wrap","align","alignContent","justify","inline","spacing","spacingPrecise"]);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),d&&"Flex--inline",s>0&&"Flex--spacing--"+s,p>0&&"Flex--spacingPrecise--"+p,t]),style:Object.assign({},f.style,{"flex-direction":n,"flex-wrap":o,"align-items":i,"align-content":c,"justify-content":l})},f)};t.computeFlexProps=c;var l=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},c(e))))};t.Flex=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.grow,o=e.order,c=e.shrink,l=e.basis,d=void 0===l?e.width:l,u=e.align,s=a(e,["className","grow","order","shrink","basis","align"]);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",t]),style:Object.assign({},s.style,{"flex-grow":n,"flex-shrink":c,"flex-basis":(0,i.unit)(d),order:o,"align-self":u})},s)};t.computeFlexItemProps=d;var u=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};t.FlexItem=u,u.defaultHooks=r.pureComponentHooks,l.Item=u},function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(35),d=n(121),u=n(168),s=n(26),m=n(170),p=n(123);var f=(0,s.createLogger)("Window"),h=[400,600],C=function(e){var t,n;function c(){return e.apply(this,arguments)||this}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=c.prototype;return s.componentDidMount=function(){var e=(0,a.useBackend)(this.context),t=e.config;if(!e.suspended){f.log("mounting");var n=Object.assign({size:h},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),(0,u.setWindowKey)(t.window.key),(0,u.recallWindowGeometry)(t.window.key,n),(0,p.refocusLayout)()}},s.render=function(){var e,t=this.props,n=t.resizable,c=t.theme,s=t.title,h=t.children,C=(0,a.useBackend)(this.context),g=C.config,N=C.suspended,v=(0,d.useDebug)(this.context).debugLayout,V=(0,m.useDispatch)(this.context),y=null==(e=g.window)?void 0:e.fancy,_=g.user.observer?g.status=0||(r[n]=e[n]);return r}(e,["className","fitted","scrollable","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,p.Layout.Content,Object.assign({scrollable:i,className:(0,r.classes)(["Window__content",t])},c,{children:n&&a||(0,o.createVNode)(1,"div","Window__contentPadding",a,0)})))};var g=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},b=function(e,t){var n=e.className,a=e.title,l=e.status,d=e.fancy,u=e.onDragStart,s=e.onClose;(0,m.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[(0,o.createComponentVNode)(2,c.Icon,{className:"TitleBar__statusIcon",color:g(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__title","string"==typeof a&&a===a.toLowerCase()&&(0,i.toTitleCase)(a)||a,0),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&u(e)}}),!1,!!d&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:s})],0)}},function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(0),r=n(2),i=n(3);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.siliconUser,d=void 0===l?c.siliconUser:l,u=e.locked,s=void 0===u?c.locked:u,m=e.normallyLocked,p=void 0===m?c.normallyLocked:m,f=e.onLockStatusChange,h=void 0===f?function(){return a("lock")}:f,C=e.accessText,g=void 0===C?"an ID card":C,b=e.deny,N=void 0!==b&&b,v=e.denialMessage;return N?void 0===v?"Error.":v:d?(0,o.createComponentVNode)(2,i.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:"0",color:p?"red":"green",icon:p?"lock":"unlock",content:p?"Locked":"Unlocked",onClick:function(){h&&h(!s)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",g," ","to ",s?"unlock":"lock"," this interface."]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosControlContent=t.AtmosControl=void 0;var o=n(0),r=n(22),i=n(4),a=n(3),c=n(2);(0,n(26).createLogger)("fuck");t.AtmosControl=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,i=(0,c.useBackend)(t),l=i.act,d=i.data,u=i.config,s=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),m=(0,c.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,c.useLocalState)(t,"mapZoom",1),C=h[0],g=h[1];return 0===p?n=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===p&&(n=(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:C,minValue:1,maxValue:8,onChange:function(e,t){return g(t)}}),"Z-Level:",d.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:~~e==~~u.mapZLevel,content:e,onClick:function(){l("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,a.NanoMap,{zoom:C,children:s.filter((function(e){return~~e.z==~~u.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:C,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})]})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.AtmosControlContent=l},function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleSearch=t.CameraConsoleContent=t.CameraConsole=void 0;var o=n(0),r=n(22),i=n(56),a=n(9),c=n(18),l=n(2),d=n(3),u=n(4),s=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n="");var o=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(o),n&&(0,r.filter)((function(e){return e.networks.includes(n)})),(0,r.sortBy)((function(e){return e.name}))])(e)};t.CameraConsole=function(e,t){return(0,o.createComponentVNode)(2,u.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,m)})};var m=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(n.config,i.mapRef),c=i.activeCamera,m=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]}(s(i.cameras),c),f=m[0],h=m[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",disabled:!f,onClick:function(){return r("switch_camera",{name:f})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",disabled:!h,onClick:function(){return r("switch_camera",{name:h})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};t.CameraConsoleContent=m;var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,c=(0,l.useLocalState)(t,"searchText",""),m=c[0],p=c[1],f=(0,l.useLocalState)(t,"networkFilter",""),h=f[0],C=f[1],g=i.activeCamera,b=i.allNetworks;b.sort();var N=s(i.cameras,m,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,t){return p(t)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return C(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:N.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",g&&e.name===g.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,u.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};t.CameraConsoleSearch=p},function(e,t,n){"use strict";t.__esModule=!0,t.BeakerContents=void 0;var o=n(0),r=n(3),i=n(468),a=function(e){var t=e.beakerLoaded,n=e.beakerContents,i=void 0===n?[]:n,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!t&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===i.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),i.map((function(e,t){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:[(0,o.createComponentVNode)(2,r.Box,{color:"label",display:"inline",verticalAlign:"middle",children:[(n=e.volume,n+" unit"+(1===n?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Box,{float:"right",display:"inline",children:a(e,t)}),(0,o.createComponentVNode)(2,r.Box,{clear:"both"})]},e.name);var n}))]})};t.BeakerContents=a,a.propTypes={beakerLoaded:i.bool,beakerContents:i.array,buttons:i.arrayOf(i.element)}},function(e,t,n){"use strict";t.__esModule=!0,t.CrewMonitorContent=t.CrewMonitor=void 0;var o=n(0),r=n(22),i=n(2),a=n(4),c=n(3),l=n(128);n(35);t.CrewMonitor=function(){return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n,a=(0,i.useBackend)(t),d=a.act,u=a.data,s=a.config,m=(0,i.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,r.sortBy)((function(e){return e.name}))(u.crewmembers||[]),C=(0,i.useLocalState)(t,"number",1),g=C[0],b=C[1];return n=0===p?(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Location"})]}),h.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,l.TableCell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.TableCell,{children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:e.dead?"red":"green",children:e.dead?"Deceased":"Living"}),e.sensor_type>=2?(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.TableCell,{children:3===e.sensor_type?u.isAI?(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return d("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.name)}))]}):1===p?(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:g,minValue:1,maxValue:8,onChange:function(e,t){return b(t)}}),"Z-Level:",u.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:~~e==~~s.mapZLevel,content:e,onClick:function(){d("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,c.NanoMap,{zoom:g,children:h.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,c.NanoMap.Marker,{x:e.x,y:e.y,zoom:g,icon:"circle",tooltip:e.name,color:e.dead?"red":"green"},e.ref)}))})]}):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,c.Box,{m:2,children:n})],4)};t.CrewMonitorContent=d},function(e,t,n){"use strict";t.__esModule=!0,t.LoginInfo=void 0;var o=n(0),r=n(2),i=n(3);t.LoginInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.authenticated,d=c.rank;if(c)return(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.LoginScreen=void 0;var o=n(0),r=n(2),i=n(3),a=n(61);t.LoginScreen=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.scan,u=l.isAI,s=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,i.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return c("login",{login_type:1})}}),!!u&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return c("login",{login_type:2})}}),!!s&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return c("login",{login_type:3})}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningUser=void 0;var o=n(0),r=n(2),i=n(3);t.MiningUser=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.insertIdText,d=c.has_id,u=c.id;return(0,o.createComponentVNode)(2,i.NoticeBox,{success:d,children:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",u.name,".",(0,o.createVNode)(1,"br"),"You have ",u.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,i.Box,{style:{clear:"both"}})],4):l})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaCharge=t.PowerMonitorFocus=t.PowerMonitorContent=t.PowerMonitor=t.powerRank=void 0;var o=n(0),r=n(22),i=n(56),a=n(6),c=n(9),l=n(2),d=n(3),u=n(4),s=5e5,m=function(e){var t=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(t)};t.powerRank=m;t.PowerMonitor=function(){return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)})})};var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(i.map_levels,i.all_sensors),c=i.focus;if(c)return(0,o.createComponentVNode)(2,f,{focus:c});var u=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(u=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:u})};t.PowerMonitorContent=p;var f=function(e,t){var n=(0,l.useBackend)(t),c=n.act,u=(n.data,e.focus),p=u.history,f=(0,l.useLocalState)(t,"sortByField",null),g=f[0],b=f[1],N=p.supply[p.supply.length-1]||0,v=p.demand[p.demand.length-1]||0,V=p.supply.map((function(e,t){return[t,e]})),y=p.demand.map((function(e,t){return[t,e]})),_=Math.max.apply(Math,[s].concat(p.supply,p.demand)),x=(0,i.flow)([(0,r.map)((function(e,t){return Object.assign({},e,{id:e.name+t})})),"name"===g&&(0,r.sortBy)((function(e){return e.name})),"charge"===g&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===g&&(0,r.sortBy)((function(e){return-m(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===g&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(u.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:u.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return c("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:N,minValue:0,maxValue:_,color:"teal",children:(0,a.toFixed)(N/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:v,minValue:0,maxValue:_,color:"pink",children:(0,a.toFixed)(v/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:V,rangeX:[0,V.length-1],rangeY:[0,_],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:y,rangeX:[0,y.length-1],rangeY:[0,_],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===g,content:"Name",onClick:function(){return b("name"!==g&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===g,content:"Charge",onClick:function(){return b("charge"!==g&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===g,content:"Draw",onClick:function(){return b("draw"!==g&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===g,content:"Problems",onClick:function(){return b("problems"!==g&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),x.map((function(e,t){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};t.PowerMonitorFocus=f;var h=function(e){var t=e.charging,n=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===t&&(n>50?"battery-half":"battery-quarter")||1===t&&"bolt"||2===t&&"battery-full",color:0===t&&(n>50?"yellow":"red")||1===t&&"yellow"||2===t&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(n)+"%"})],4)};t.AreaCharge=h,h.defaultHooks=c.pureComponentHooks;var C=function(e){var t=e.status,n=Boolean(2&t),r=Boolean(1&t),i=(n?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:n?"good":"bad",content:r?undefined:"M",title:i})};C.defaultHooks=c.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.RCONContent=t.RCON=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.RCON=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,r=(0,i.useLocalState)(t,"tabIndex",0),c=r[0],l=r[1];return 0===c?n=(0,o.createComponentVNode)(2,d):1===c&&(n=(0,o.createComponentVNode)(2,u)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.RCONContent=l;var d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.smes_info;return(0,o.createComponentVNode)(2,a.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l?l.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:.01*e.capacityPercent,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(e.charge/6e4,1)," kWh / ",(0,r.round)(e.capacity/6e4)," kWh (",e.capacityPercent,"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Input",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_in_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_in_set",{smes:e.RCON_tag})}})],4),children:[e.input_val," kW - ",e.input_set?"ON":"OFF"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_out_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_out_set",{smes:e.RCON_tag})}})],4),children:[e.output_val," kW - ",e.output_set?"ONLINE":"OFFLINE"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output Load",children:[e.output_load," kW"]})]})]},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No SMESs detected."})})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.breaker_info;return(0,o.createComponentVNode)(2,a.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShutoffMonitorContent=t.ShutoffMonitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3);t.ShutoffMonitor=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),c.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return i("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return i("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};t.ShutoffMonitorContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.StationAlertConsoleContent=t.StationAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.categories;return(void 0===c?[]:c).map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var t="";return e.has_cameras?t=(0,o.createComponentVNode)(2,i.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(t=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Alarm Origin Lost."}):"",t],0,null,e.name)}))],0)},e.category)}))};t.StationAlertConsoleContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.SupermatterMonitorContent=t.SupermatterMonitor=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=n(6),l=n(18);t.SupermatterMonitor=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t);n.act;return n.data.active?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)};t.SupermatterMonitorContent=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.supermatters;return(0,o.createComponentVNode)(2,i.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,i.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},t)}))})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,u=d.SM_area,s=d.SM_integrity,m=d.SM_power,p=d.SM_ambienttemp,f=d.SM_ambientpressure,h=d.SM_EPR,C=d.SM_gas_O2,g=d.SM_gas_CO2,b=d.SM_gas_N2,N=d.SM_gas_PH,v=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,i.Section,{title:(0,l.toTitleCase)(u),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{animated:!0,value:s,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,i.Box,{color:(m>300?"bad":m>150&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" MeV/cm\xb3"},value:m})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.Box,{color:(p>5e3?"bad":p>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" K"},value:p})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.Box,{color:(f>1e4?"bad":f>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" kPa"},value:f})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,i.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:C}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:g}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:v}),"%"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RapidPipeDispenser=t.ICON_BY_CATEGORY_NAME=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(4),d=["Atmospherics","Disposals"],u={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};t.ICON_BY_CATEGORY_NAME=u;var s=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}];t.RapidPipeDispenser=function(e,t){var n=(0,a.useBackend)(t),m=n.act,p=n.data,f=p.category,h=p.categories,C=void 0===h?[]:h,g=p.selected_color,b=p.paint_colors,N=p.piping_layer,v=p.pipe_layers,V=p.mode,y=p.preview_rows.flatMap((function(e){return e.previews})),_=(0,a.useLocalState)(t,"categoryName"),x=_[0],k=_[1],w=C.find((function(e){return e.cat_name===x}))||C[0];return(0,o.createComponentVNode)(2,l.Window,{width:425,height:515,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Category",children:d.map((function(e,t){return(0,o.createComponentVNode)(2,c.Button,{selected:f===t,icon:u[e],color:"transparent",content:e,onClick:function(){return m("category",{category:t})}},e)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Modes",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:V&e.bitmask,content:e.name,onClick:function(){return m("mode",{mode:e.bitmask})}},e.bitmask)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,width:"64px",color:b[g],children:(0,i.capitalize)(g)}),Object.keys(b).map((function(e){return(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:b[e],onClick:function(){return m("color",{paint_color:e})}},e)}))]})]})}),(0,o.createComponentVNode)(2,c.Flex,{m:-.5,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,children:(0,o.createComponentVNode)(2,c.Section,{children:[0===f&&(0,o.createComponentVNode)(2,c.Box,{mb:1,children:Object.keys(v).map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:v[e]===N,content:e,onClick:function(){return m("piping_layer",{piping_layer:v[e]})}},e)}))}),(0,o.createComponentVNode)(2,c.Box,{width:"108px",children:y.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{title:e.dir_name,selected:e.selected,style:{width:"48px",height:"48px",padding:0},onClick:function(){return m("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,c.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(17%, 17%)"}})},e.dir)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,grow:1,children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Tabs,{children:C.map((function(e,t){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{fluid:!0,icon:u[e.cat_name],selected:e.cat_name===w.cat_name,onClick:function(){return k(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==w?void 0:w.recipes.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return m("pipe_type",{pipe_type:e.pipe_index,category:w.cat_name})}},e.pipe_index)}))]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(0),r=n(2),i=n(3);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.connected,d=c.holding,u=c.on,s=c.pressure,m=c.powerDraw,p=c.cellCharge,f=c.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[m," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:p,minValue:0,maxValue:f,ranges:{good:[.5*f,Infinity],average:[.25*f,.5*f],bad:[-Infinity,.25*f]},children:[p," W"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},function(e,t,n){e.exports=n(192)},function(e,t,n){"use strict";n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(218),n(220),n(221),n(222),n(144),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(239),n(240),n(241),n(242),n(243),n(245),n(246),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(284),n(285),n(287),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(313),n(314),n(315),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(161),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405);var o=n(0);n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421);var r=n(166),i=(n(167),n(2)),a=n(168),c=n(26),l=n(170); +/** + * @file + * @copyright 2020 Aleksej Komarov + * @license MIT + */ +r.perf.mark("inception",window.__inception__),r.perf.mark("init");var d,u=(0,l.createStore)(),s=!0,m=function(){for(u.subscribe((function(){!function(){r.perf.mark("render/start");var e=u.getState(),t=(0,i.selectBackend)(e),m=t.suspended;t.assets;s&&(c.logger.log("initial render",e),"recycled"!==s&&(0,a.setupDrag)());var p=(0,n(428).getRoutedComponent)(e),f=(0,o.createComponentVNode)(2,l.StoreProvider,{store:u,children:(0,o.createComponentVNode)(2,p)});d||(d=document.getElementById("react-root")),(0,o.render)(f,d),m||(r.perf.mark("render/finish"),s&&(s=!1))}()})),window.update=function(e){var t=(0,i.selectBackend)(u.getState()).suspended,n="string"==typeof e?function(e){var t=function(e,t){return"object"==typeof t&&null!==t&&t.__number__?parseFloat(t.__number__):t};Byond.IS_LTE_IE8&&(t=undefined);try{return JSON.parse(e,t)}catch(o){c.logger.log(o),c.logger.log("What we got:",e);var n=o&&o.message;throw new Error("JSON parsing error: "+n)}}(e):e;c.logger.debug("received message '"+(null==n?void 0:n.type)+"'");var o=n.type,r=n.payload;if("update"===o)return window.__ref__=r.config.ref,t&&(c.logger.log("resuming"),s="recycled"),void u.dispatch((0,i.backendUpdate)(r));"suspend"!==o?"ping"!==o?u.dispatch(n):(0,i.sendMessage)({type:"pingReply"}):u.dispatch((0,i.backendSuspendSuccess)())};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}};window.__logger__={fatal:function(e,t){var n=(0,i.selectBackend)(u.getState()),o={config:n.config,suspended:n.suspended,suspending:n.suspending};return c.logger.log("FatalError:",e||t),c.logger.log("State:",o),t+="\nState: "+JSON.stringify(o)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",m):m()},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(40),a=n(41),c=n(10),l=n(100),d=n(136),u=n(5),s=n(19),m=n(57),p=n(8),f=n(11),h=n(16),C=n(27),g=n(37),b=n(50),N=n(45),v=n(67),V=n(51),y=n(139),_=n(99),x=n(21),k=n(15),w=n(75),L=n(32),B=n(24),S=n(96),I=n(76),E=n(64),T=n(63),A=n(14),O=n(140),M=n(28),P=n(46),F=n(38),D=n(20).forEach,R=I("hidden"),j=A("toPrimitive"),z=F.set,W=F.getterFor("Symbol"),U=Object.prototype,K=r.Symbol,H=i("JSON","stringify"),G=x.f,Y=k.f,q=y.f,$=w.f,X=S("symbols"),J=S("op-symbols"),Z=S("string-to-symbol-registry"),Q=S("symbol-to-string-registry"),ee=S("wks"),te=r.QObject,ne=!te||!te.prototype||!te.prototype.findChild,oe=c&&u((function(){return 7!=N(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=G(U,t);o&&delete U[t],Y(e,t,n),o&&e!==U&&Y(U,t,o)}:Y,re=function(e,t){var n=X[e]=N(K.prototype);return z(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=d?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},ae=function(e,t,n){e===U&&ae(J,t,n),f(e);var o=g(t,!0);return f(n),s(X,o)?(n.enumerable?(s(e,R)&&e[R][o]&&(e[R][o]=!1),n=N(n,{enumerable:b(0,!1)})):(s(e,R)||Y(e,R,b(1,{})),e[R][o]=!0),oe(e,o,n)):Y(e,o,n)},ce=function(e,t){f(e);var n=C(t),o=v(n).concat(me(n));return D(o,(function(t){c&&!de.call(n,t)||ae(e,t,n[t])})),e},le=function(e,t){return t===undefined?N(e):ce(N(e),t)},de=function(e){var t=g(e,!0),n=$.call(this,t);return!(this===U&&s(X,t)&&!s(J,t))&&(!(n||!s(this,t)||!s(X,t)||s(this,R)&&this[R][t])||n)},ue=function(e,t){var n=C(e),o=g(t,!0);if(n!==U||!s(X,o)||s(J,o)){var r=G(n,o);return!r||!s(X,o)||s(n,R)&&n[R][o]||(r.enumerable=!0),r}},se=function(e){var t=q(C(e)),n=[];return D(t,(function(e){s(X,e)||s(E,e)||n.push(e)})),n},me=function(e){var t=e===U,n=q(t?J:C(e)),o=[];return D(n,(function(e){!s(X,e)||t&&!s(U,e)||o.push(X[e])})),o};(l||(B((K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==undefined?String(arguments[0]):undefined,t=T(e),n=function o(e){this===U&&o.call(J,e),s(this,R)&&s(this[R],t)&&(this[R][t]=!1),oe(this,t,b(1,e))};return c&&ne&&oe(U,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return W(this).tag})),B(K,"withoutSetter",(function(e){return re(T(e),e)})),w.f=de,k.f=ae,x.f=ue,V.f=y.f=se,_.f=me,O.f=function(e){return re(A(e),e)},c&&(Y(K.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||B(U,"propertyIsEnumerable",de,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),D(v(ee),(function(e){M(e)})),o({target:"Symbol",stat:!0,forced:!l},{"for":function(e){var t=String(e);if(s(Z,t))return Z[t];var n=K(t);return Z[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(s(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!c},{create:le,defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:me}),o({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(h(e))}}),H)&&o({target:"JSON",stat:!0,forced:!l||u((function(){var e=K();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(o=t,(p(t)||e!==undefined)&&!ie(e))return m(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,H.apply(null,r)}});K.prototype[j]||L(K.prototype,j,K.prototype.valueOf),P(K,"Symbol"),E[R]=!0},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(7),a=n(19),c=n(8),l=n(15).f,d=n(133),u=i.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||u().description!==undefined)){var s={},m=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof m?new u(e):e===undefined?u():u(e);return""===e&&(s[t]=!0),t};d(m,u);var p=m.prototype=u.prototype;p.constructor=m;var f=p.toString,h="Symbol(test)"==String(u("test")),C=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=f.call(e);if(a(s,e))return"";var n=h?t.slice(7,-1):t.replace(C,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:m})}},function(e,t,n){"use strict";n(28)("asyncIterator")},function(e,t,n){"use strict";n(28)("hasInstance")},function(e,t,n){"use strict";n(28)("isConcatSpreadable")},function(e,t,n){"use strict";n(28)("iterator")},function(e,t,n){"use strict";n(28)("match")},function(e,t,n){"use strict";n(28)("replace")},function(e,t,n){"use strict";n(28)("search")},function(e,t,n){"use strict";n(28)("species")},function(e,t,n){"use strict";n(28)("split")},function(e,t,n){"use strict";n(28)("toPrimitive")},function(e,t,n){"use strict";n(28)("toStringTag")},function(e,t,n){"use strict";n(28)("unscopables")},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(57),a=n(8),c=n(16),l=n(13),d=n(53),u=n(68),s=n(69),m=n(14),p=n(101),f=m("isConcatSpreadable"),h=p>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),C=s("concat"),g=function(e){if(!a(e))return!1;var t=e[f];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!h||!C},{concat:function(e){var t,n,o,r,i,a=c(this),s=u(a,0),m=0;for(t=-1,o=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");d(s,m++,i)}return s.length=m,s}})},function(e,t,n){"use strict";var o=n(1),r=n(141),i=n(47);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},function(e,t,n){"use strict";var o=n(1),r=n(20).every,i=n(42),a=n(25),c=i("every"),l=a("every");o({target:"Array",proto:!0,forced:!c||!l},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(102),i=n(47);o({target:"Array",proto:!0},{fill:r}),i("fill")},function(e,t,n){"use strict";var o=n(1),r=n(20).filter,i=n(69),a=n(25),c=i("filter"),l=a("filter");o({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(20).find,i=n(47),a=n(25),c=!0,l=a("find");"find"in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("find")},function(e,t,n){"use strict";var o=n(1),r=n(20).findIndex,i=n(47),a=n(25),c=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("findIndex")},function(e,t,n){"use strict";var o=n(1),r=n(142),i=n(16),a=n(13),c=n(33),l=n(68);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=l(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},function(e,t,n){"use strict";var o=n(1),r=n(142),i=n(16),a=n(13),c=n(34),l=n(68);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},function(e,t,n){"use strict";var o=n(1),r=n(217);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){"use strict";var o=n(20).forEach,r=n(42),i=n(25),a=r("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},function(e,t,n){"use strict";var o=n(1),r=n(219);o({target:"Array",stat:!0,forced:!n(79)((function(e){Array.from(e)}))},{from:r})},function(e,t,n){"use strict";var o=n(52),r=n(16),i=n(143),a=n(103),c=n(13),l=n(53),d=n(104);e.exports=function(e){var t,n,u,s,m,p,f=r(e),h="function"==typeof this?this:Array,C=arguments.length,g=C>1?arguments[1]:undefined,b=g!==undefined,N=d(f),v=0;if(b&&(g=o(g,C>2?arguments[2]:undefined,2)),N==undefined||h==Array&&a(N))for(n=new h(t=c(f.length));t>v;v++)p=b?g(f[v],v):f[v],l(n,v,p);else for(m=(s=N.call(f)).next,n=new h;!(u=m.call(s)).done;v++)p=b?i(s,g,[u.value,v],!0):u.value,l(n,v,p);return n.length=v,n}},function(e,t,n){"use strict";var o=n(1),r=n(65).includes,i=n(47);o({target:"Array",proto:!0,forced:!n(25)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},function(e,t,n){"use strict";var o=n(1),r=n(65).indexOf,i=n(42),a=n(25),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,d=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!d||!u},{indexOf:function(e){return l?c.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";n(1)({target:"Array",stat:!0},{isArray:n(57)})},function(e,t,n){"use strict";var o=n(145).IteratorPrototype,r=n(45),i=n(50),a=n(46),c=n(70),l=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,d,!1,!0),c[d]=l,e}},function(e,t,n){"use strict";var o=n(1),r=n(62),i=n(27),a=n(42),c=[].join,l=r!=Object,d=a("join",",");o({target:"Array",proto:!0,forced:l||!d},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},function(e,t,n){"use strict";var o=n(1),r=n(147);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(e,t,n){"use strict";var o=n(1),r=n(20).map,i=n(69),a=n(25),c=i("map"),l=a("map");o({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(53);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var o=n(1),r=n(80).left,i=n(42),a=n(25),c=i("reduce"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(80).right,i=n(42),a=n(25),c=i("reduceRight"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(57),a=n(44),c=n(13),l=n(27),d=n(53),u=n(14),s=n(69),m=n(25),p=s("slice"),f=m("slice",{ACCESSORS:!0,0:0,1:2}),h=u("species"),C=[].slice,g=Math.max;o({target:"Array",proto:!0,forced:!p||!f},{slice:function(e,t){var n,o,u,s=l(this),m=c(s.length),p=a(e,m),f=a(t===undefined?m:t,m);if(i(s)&&("function"!=typeof(n=s.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[h])&&(n=undefined):n=undefined,n===Array||n===undefined))return C.call(s,p,f);for(o=new(n===undefined?Array:n)(g(f-p,0)),u=0;p1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(34),i=n(16),a=n(5),c=n(42),l=[],d=l.sort,u=a((function(){l.sort(undefined)})),s=a((function(){l.sort(null)})),m=c("sort");o({target:"Array",proto:!0,forced:u||!s||!m},{sort:function(e){return e===undefined?d.call(i(this)):d.call(i(this),r(e))}})},function(e,t,n){"use strict";n(58)("Array")},function(e,t,n){"use strict";var o=n(1),r=n(44),i=n(33),a=n(13),c=n(16),l=n(68),d=n(53),u=n(69),s=n(25),m=u("splice"),p=s("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min;o({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var n,o,u,s,m,p,C=c(this),g=a(C.length),b=r(e,g),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=g-b):(n=N-2,o=h(f(i(t),0),g-b)),g+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(C,o),s=0;sg-o+n;s--)delete C[s-1]}else if(n>o)for(s=g-o;s>b;s--)p=s+n-1,(m=s+o-1)in C?C[p]=C[m]:delete C[p];for(s=0;s>1,h=23===t?r(2,-24)-r(2,-77):0,C=e<0||0===e&&1/e<0?1:0,g=0;for((e=o(e))!=e||e===1/0?(d=e!=e?1:0,l=p):(l=i(a(e)/c),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+f>=1?h/u:h*r(2,1-f))*u>=2&&(l++,u/=2),l+f>=p?(d=0,l=p):l+f>=1?(d=(e*u-1)*r(2,t),l+=f):(d=e*r(2,f-1)*r(2,t),l=0));t>=8;s[g++]=255&d,d/=256,t-=8);for(l=l<0;s[g++]=255&l,l/=256,m-=8);return s[--g]|=128*C,s},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<>1,l=i-7,d=o-1,u=e[d--],s=127&u;for(u>>=7;l>0;s=256*s+e[d],d--,l-=8);for(n=s&(1<<-l)-1,s>>=-l,l+=t;l>0;n=256*n+e[d],d--,l-=8);if(0===s)s=1-c;else{if(s===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),s-=c}return(u?-1:1)*n*r(2,s-t)}}},function(e,t,n){"use strict";var o=n(1),r=n(12);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(81),a=n(11),c=n(44),l=n(13),d=n(48),u=i.ArrayBuffer,s=i.DataView,m=u.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new u(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(m!==undefined&&t===undefined)return m.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(d(this,u))(l(r-o)),p=new s(this),f=new s(i),h=0;o9999?"+":"";return n+r(i(e),n?6:4,0)+"-"+r(this.getUTCMonth()+1,2,0)+"-"+r(this.getUTCDate(),2,0)+"T"+r(this.getUTCHours(),2,0)+":"+r(this.getUTCMinutes(),2,0)+":"+r(this.getUTCSeconds(),2,0)+"."+r(t,3,0)+"Z"}:l},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(37);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){"use strict";var o=n(32),r=n(247),i=n(14)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},function(e,t,n){"use strict";var o=n(11),r=n(37);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(o(this),"number"!==e)}},function(e,t,n){"use strict";var o=n(24),r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&o(r,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){"use strict";n(1)({target:"Function",proto:!0},{bind:n(149)})},function(e,t,n){"use strict";var o=n(8),r=n(15),i=n(39),a=n(14)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var o=n(10),r=n(15).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;o&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var o=n(7);n(46)(o.JSON,"JSON",!0)},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(151),i=Math.acosh,a=Math.log,c=Math.sqrt,l=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:r(e-1+c(e-1)*c(e+1))}})},function(e,t,n){"use strict";var o=n(1),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},function(e,t,n){"use strict";var o=n(1),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){"use strict";var o=n(1),r=n(111),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},function(e,t,n){"use strict";var o=n(1),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},function(e,t,n){"use strict";var o=n(1),r=n(84),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(84);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{fround:n(262)})},function(e,t,n){"use strict";var o=n(111),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),l=i(2,127)*(2-c),d=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),u=o(e);return il||n!=n?u*Infinity:u*n}},function(e,t,n){"use strict";var o=n(1),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,l=arguments.length,d=0;c0?(o=n/d)*o:n;return d===Infinity?Infinity:d*a(r)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,o=+t,r=65535&n,i=65535&o;return 0|r*i+((65535&n>>>16)*i+r*(65535&o>>>16)<<16>>>0)}})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{log1p:n(151)})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{sign:n(111)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(84),a=Math.abs,c=Math.exp,l=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(l/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(84),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){"use strict";n(46)(Math,"Math",!0)},function(e,t,n){"use strict";var o=n(1),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(24),c=n(19),l=n(36),d=n(83),u=n(37),s=n(5),m=n(45),p=n(51).f,f=n(21).f,h=n(15).f,C=n(60).trim,g=r.Number,b=g.prototype,N="Number"==l(m(b)),v=function(e){var t,n,o,r,i,a,c,l,d=u(e,!1);if("string"==typeof d&&d.length>2)if(43===(t=(d=C(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+d}for(a=(i=d.slice(2)).length,c=0;cr)return NaN;return parseInt(i,o)}return+d};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var V,y=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof y&&(N?s((function(){b.valueOf.call(n)})):"Number"!=l(n))?d(new g(v(t)),n,y):v(t)},_=o?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)c(g,V=_[x])&&!c(y,V)&&h(y,V,f(g,V));y.prototype=b,b.constructor=y,a(r,"Number",y)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isFinite:n(276)})},function(e,t,n){"use strict";var o=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isInteger:n(152)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";var o=n(1),r=n(152),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){"use strict";var o=n(1),r=n(283);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(85),a=o.parseFloat,c=1/a(i+"-0")!=-Infinity;e.exports=c?function(e){var t=r(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){"use strict";var o=n(1),r=n(153);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o=n(1),r=n(33),i=n(286),a=n(110),c=n(5),l=1..toFixed,d=Math.floor,u=function s(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)};o({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,o,c,l=i(this),s=r(e),m=[0,0,0,0,0,0],p="",f="0",h=function(e,t){for(var n=-1,o=t;++n<6;)o+=e*m[n],m[n]=o%1e7,o=d(o/1e7)},C=function(e){for(var t=6,n=0;--t>=0;)n+=m[t],m[t]=d(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==m[e]){var n=String(m[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),o=s;o>=7;)h(1e7,0),o-=7;for(h(u(10,o,1),0),o=t-1;o>=23;)C(1<<23),o-=23;C(1<0?p+((c=f.length)<=s?"0."+a.call("0",s-c)+f:f.slice(0,c-s)+"."+f.slice(c-s)):p+f}})},function(e,t,n){"use strict";var o=n(36);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var o=n(1),r=n(288);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(67),a=n(99),c=n(75),l=n(16),d=n(62),u=Object.assign,s=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,s=a.f,m=c.f;r>u;)for(var p,f=d(arguments[u++]),h=s?i(f).concat(s(f)):i(f),C=h.length,g=0;C>g;)p=h[g++],o&&!m.call(f,p)||(n[p]=f[p]);return n}:u},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0,sham:!n(10)},{create:n(45)})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(137)})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(15).f})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(154).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(72),i=n(5),a=n(8),c=n(55).onFreeze,l=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!r},{freeze:function(e){return l&&a(e)?l(c(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(73),i=n(53);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),undefined,!0),t}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(27),a=n(21).f,c=n(10),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(97),a=n(27),c=n(21),l=n(53);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,d=i(o),u={},s=0;d.length>s;)(n=r(o,t=d[s++]))!==undefined&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(139).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(39),c=n(107);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{is:n(155)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(16),i=n(67);o({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.set}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.seal;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{seal:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{setPrototypeOf:n(54)})},function(e,t,n){"use strict";var o=n(105),r=n(24),i=n(312);o||r(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var o=n(105),r=n(78);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(1),r=n(154).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(153);o({global:!0,forced:parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o,r,i,a,c=n(1),l=n(41),d=n(7),u=n(40),s=n(156),m=n(24),p=n(71),f=n(46),h=n(58),C=n(8),g=n(34),b=n(59),N=n(36),v=n(95),V=n(73),y=n(79),_=n(48),x=n(112).set,k=n(158),w=n(159),L=n(316),B=n(160),S=n(317),I=n(38),E=n(66),T=n(14),A=n(101),O=T("species"),M="Promise",P=I.get,F=I.set,D=I.getterFor(M),R=s,j=d.TypeError,z=d.document,W=d.process,U=u("fetch"),K=B.f,H=K,G="process"==N(W),Y=!!(z&&z.createEvent&&d.dispatchEvent),q=E(M,(function(){if(!(v(R)!==String(R))){if(66===A)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!R.prototype["finally"])return!0;if(A>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[O]=t,!(e.then((function(){}))instanceof t)})),$=q||!y((function(e){R.all(e)["catch"]((function(){}))})),X=function(e){var t;return!(!C(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;k((function(){for(var r=t.value,i=1==t.state,a=0;o.length>a;){var c,l,d,u=o[a++],s=i?u.ok:u.fail,m=u.resolve,p=u.reject,f=u.domain;try{s?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===s?c=r:(f&&f.enter(),c=s(r),f&&(f.exit(),d=!0)),c===u.promise?p(j("Promise-chain cycle")):(l=X(c))?l.call(c,m,p):m(c)):p(r)}catch(h){f&&!d&&f.exit(),p(h)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Q(e,t)}))}},Z=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),d.dispatchEvent(o)):o={promise:t,reason:n},(r=d["on"+e])?r(o):"unhandledrejection"===e&&L("Unhandled promise rejection",n)},Q=function(e,t){x.call(d,(function(){var n,o=t.value;if(ee(t)&&(n=S((function(){G?W.emit("unhandledRejection",o,e):Z("unhandledrejection",e,o)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){x.call(d,(function(){G?W.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,o){return function(r){e(t,n,r,o)}},oe=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},re=function ie(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw j("Promise can't be resolved itself");var r=X(n);r?k((function(){var o={done:!1};try{r.call(n,ne(ie,e,o,t),ne(oe,e,o,t))}catch(i){oe(e,o,i,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};q&&(R=function(e){b(this,R,M),g(e),o.call(this);var t=P(this);try{e(ne(re,this,t),ne(oe,this,t))}catch(n){oe(this,t,n)}},(o=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=p(R.prototype,{then:function(e,t){var n=D(this),o=K(_(this,R));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=G?W.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=P(e);this.promise=e,this.resolve=ne(re,e,t),this.reject=ne(oe,e,t)},B.f=K=function(e){return e===R||e===i?new r(e):H(e)},l||"function"!=typeof s||(a=s.prototype.then,m(s.prototype,"then",(function(e,t){var n=this;return new R((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w(R,U.apply(d,arguments))}}))),c({global:!0,wrap:!0,forced:q},{Promise:R}),f(R,M,!1,!0),h(M),i=u(M),c({target:M,stat:!0,forced:q},{reject:function(e){var t=K(this);return t.reject.call(undefined,e),t.promise}}),c({target:M,stat:!0,forced:l||q},{resolve:function(e){return w(l&&this===i?R:this,e)}}),c({target:M,stat:!0,forced:$},{all:function(e){var t=this,n=K(t),o=n.resolve,r=n.reject,i=S((function(){var n=g(t.resolve),i=[],a=0,c=1;V(e,(function(e){var l=a++,d=!1;i.push(undefined),c++,n.call(t,e).then((function(e){d||(d=!0,i[l]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=K(t),o=n.reject,r=S((function(){var r=g(t.resolve);V(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},function(e,t,n){"use strict";var o=n(7);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){"use strict";var o=n(1),r=n(41),i=n(156),a=n(5),c=n(40),l=n(48),d=n(159),u=n(24);o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=l(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return d(t,e()).then((function(){return n}))}:e,n?function(n){return d(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof i||i.prototype["finally"]||u(i.prototype,"finally",c("Promise").prototype["finally"])},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(5),l=r("Reflect","apply"),d=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):d.call(e,t,n)}})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(8),l=n(45),d=n(149),u=n(5),s=r("Reflect","construct"),m=u((function(){function e(){}return!(s((function(){}),[],e)instanceof e)})),p=!u((function(){s((function(){}))})),f=m||p;o({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!m)return s(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(d.apply(e,o))}var r=n.prototype,u=l(c(r)?r:Object.prototype),f=Function.apply.call(e,u,t);return c(f)?f:u}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(37),c=n(15);o({target:"Reflect",stat:!0,forced:n(5)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t,!0);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(21).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(11),a=n(19),c=n(21),l=n(39);o({target:"Reflect",stat:!0},{get:function d(e,t){var n,o,u=arguments.length<3?e:arguments[2];return i(e)===u?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(u):r(o=l(e))?d(o,t,u):void 0}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(21);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(39);o({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{ownKeys:n(97)})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(11);o({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(8),a=n(19),c=n(5),l=n(15),d=n(21),u=n(39),s=n(50);o({target:"Reflect",stat:!0,forced:c((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function m(e,t,n){var o,c,p=arguments.length<4?e:arguments[3],f=d.f(r(e),t);if(!f){if(i(c=u(e)))return m(c,t,n,p);f=s(0)}if(a(f,"value")){if(!1===f.writable||!i(p))return!1;if(o=d.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,l.f(p,t,o)}else l.f(p,t,s(0,n));return!0}return f.set!==undefined&&(f.set.call(p,n),!0)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(146),a=n(54);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(83),c=n(15).f,l=n(51).f,d=n(113),u=n(87),s=n(114),m=n(24),p=n(5),f=n(38).set,h=n(58),C=n(14)("match"),g=r.RegExp,b=g.prototype,N=/a/g,v=/a/g,V=new g(N)!==N,y=s.UNSUPPORTED_Y;if(o&&i("RegExp",!V||y||p((function(){return v[C]=!1,g(N)!=N||g(v)==v||"/a/i"!=g(N,"i")})))){for(var _=function(e,t){var n,o=this instanceof _,r=d(e),i=t===undefined;if(!o&&r&&e.constructor===_&&i)return e;V?r&&!i&&(e=e.source):e instanceof _&&(i&&(t=u.call(e)),e=e.source),y&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(V?new g(e,t):g(e,t),o?this:b,_);return y&&n&&f(c,{sticky:n}),c},x=function(e){e in _||c(_,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},k=l(g),w=0;k.length>w;)x(k[w++]);b.constructor=_,_.prototype=b,m(r,"RegExp",_)}h("RegExp")},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(87),a=n(114).UNSUPPORTED_Y;o&&("g"!=/./g.flags||a)&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var o=n(24),r=n(11),i=n(5),a=n(87),c=RegExp.prototype,l=c.toString,d=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(d||u)&&o(RegExp.prototype,"toString",(function(){var e=r(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(n===undefined&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(115).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var o,r=n(1),i=n(21).f,a=n(13),c=n(116),l=n(23),d=n(117),u=n(41),s="".endsWith,m=Math.min,p=d("endsWith");r({target:"String",proto:!0,forced:!!(u||p||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!p},{endsWith:function(e){var t=String(l(this));c(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:m(a(n),o),i=String(e);return s?s.call(t,i,r):t.slice(r-i.length,r)===i}})},function(e,t,n){"use strict";var o=n(1),r=n(44),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var o=n(1),r=n(116),i=n(23);o({target:"String",proto:!0,forced:!n(117)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(115).charAt,r=n(38),i=n(106),a=r.set,c=r.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(13),a=n(23),c=n(118),l=n(90);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),d=String(this);if(!a.global)return l(a,d);var u=a.unicode;a.lastIndex=0;for(var s,m=[],p=0;null!==(s=l(a,d));){var f=String(s[0]);m[p]=f,""===f&&(a.lastIndex=c(d,i(a.lastIndex),u)),p++}return 0===p?null:m}]}))},function(e,t,n){"use strict";var o=n(1),r=n(109).end;o({target:"String",proto:!0,forced:n(162)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(109).start;o({target:"String",proto:!0,forced:n(162)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(27),i=n(13);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c]*>)/g,h=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var C=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=o.REPLACE_KEEPS_$0,b=C?"$":"$0";return[function(n,o){var r=l(this),i=n==undefined?undefined:n[e];return i!==undefined?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!C&&g||"string"==typeof o&&-1===o.indexOf(b)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),p=String(this),f="function"==typeof o;f||(o=String(o));var h=l.global;if(h){var v=l.unicode;l.lastIndex=0}for(var V=[];;){var y=u(l,p);if(null===y)break;if(V.push(y),!h)break;""===String(y[0])&&(l.lastIndex=d(p,a(l.lastIndex),v))}for(var _,x="",k=0,w=0;w=k&&(x+=p.slice(k,B)+A,k=B+L.length)}return x+p.slice(k)}];function N(e,n,o,r,a,c){var l=o+e.length,d=r.length,u=h;return a!==undefined&&(a=i(a),u=f),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>d){var s=p(u/10);return 0===s?t:s<=d?r[s-1]===undefined?i.charAt(1):r[s-1]+i.charAt(1):t}c=r[u-1]}return c===undefined?"":c}))}}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(23),a=n(155),c=n(90);o("search",1,(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var i=r(e),l=String(this),d=i.lastIndex;a(d,0)||(i.lastIndex=0);var u=c(i,l);return a(i.lastIndex,d)||(i.lastIndex=d),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var o=n(89),r=n(113),i=n(11),a=n(23),c=n(48),l=n(118),d=n(13),u=n(90),s=n(88),m=n(5),p=[].push,f=Math.min,h=!m((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=n===undefined?4294967295:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,d,u=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=new RegExp(e.source,m+"g");(c=s.call(h,o))&&!((l=h.lastIndex)>f&&(u.push(o.slice(f,c.index)),c.length>1&&c.index=i));)h.lastIndex===c.index&&h.lastIndex++;return f===o.length?!d&&h.test("")||u.push(""):u.push(o.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var s=i(e),m=String(this),p=c(s,RegExp),C=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),b=new p(h?s:"^(?:"+s.source+")",g),N=r===undefined?4294967295:r>>>0;if(0===N)return[];if(0===m.length)return null===u(b,m)?[m]:[];for(var v=0,V=0,y=[];V1?arguments[1]:undefined,t.length)),o=String(e);return s?s.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var o=n(1),r=n(60).trim;o({target:"String",proto:!0,forced:n(119)("trim")},{trim:function(){return r(this)}})},function(e,t,n){"use strict";var o=n(1),r=n(60).end,i=n(119)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var o=n(1),r=n(60).start,i=n(119)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("big")},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("blink")},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("bold")},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("italics")},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("link")},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("small")},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("strike")},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("sub")},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("sup")},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){"use strict";n(43)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(33);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n(43)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},function(e,t,n){"use strict";n(43)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(12),r=n(141),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(102),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).filter,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("filter",(function(e){for(var t=r(a(this),e,arguments.length>1?arguments[1]:undefined),n=i(this,this.constructor),o=0,l=t.length,d=new(c(n))(l);l>o;)d[o]=t[o++];return d}))},function(e,t,n){"use strict";var o=n(12),r=n(20).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(120);(0,n(12).exportTypedArrayStaticMethod)("from",n(164),o)},function(e,t,n){"use strict";var o=n(12),r=n(65).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(65).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(144),a=n(14)("iterator"),c=o.Uint8Array,l=i.values,d=i.keys,u=i.entries,s=r.aTypedArray,m=r.exportTypedArrayMethod,p=c&&c.prototype[a],f=!!p&&("values"==p.name||p.name==undefined),h=function(){return l.call(s(this))};m("entries",(function(){return u.call(s(this))})),m("keys",(function(){return d.call(s(this))})),m("values",h,!f),m(a,h,!f)},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(147),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).map,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var o=n(12),r=n(120),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},function(e,t,n){"use strict";var o=n(12),r=n(80).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(80).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=r(this).length,n=a(t/2),o=0;o1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),d=0;if(c+t>n)throw RangeError("Wrong length");for(;di;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var o=n(12),r=n(20).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(r(this),e)}))},function(e,t,n){"use strict";var o=n(12),r=n(13),i=n(44),a=n(48),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,l=i(e,o);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-l))}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(5),a=o.Int8Array,c=r.aTypedArray,l=r.exportTypedArrayMethod,d=[].toLocaleString,u=[].slice,s=!!a&&i((function(){d.call(new a(1))}));l("toLocaleString",(function(){return d.apply(s?u.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var o=n(12).exportTypedArrayMethod,r=n(5),i=n(7).Uint8Array,a=i&&i.prototype||{},c=[].toString,l=[].join;r((function(){c.call({})}))&&(c=function(){return l.call(this)});var d=a.toString!=c;o("toString",c,d)},function(e,t,n){"use strict";var o,r=n(7),i=n(71),a=n(55),c=n(82),l=n(165),d=n(8),u=n(38).enforce,s=n(132),m=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",f,l);if(s&&m){o=l.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var C=h.prototype,g=C["delete"],b=C.has,N=C.get,v=C.set;i(C,{"delete":function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)?N.call(this,e):t.frozen.get(e)}return N.call(this,e)},set:function(e,t){if(d(e)&&!p(e)){var n=u(this);n.frozen||(n.frozen=new o),b.call(this,e)?v.call(this,e,t):n.frozen.set(e,t)}else v.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(82)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(165))},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(112);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(158),a=n(36),c=r.process,l="process"==a(c);o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&c.domain;i(t?t.bind(e):e)}})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(77),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";t.__esModule=!0,t._CI=Be,t._HI=F,t._M=Se,t._MCCC=Ae,t._ME=Ee,t._MFCC=Oe,t._MP=we,t._MR=be,t.__render=Re,t.createComponentVNode=function(e,t,n,o,r){var a=new S(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(i(o))return n;if(i(n))return u(o,null);return L(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(i(o))return n;if(i(n))return o;return L(n,o)}(e,t,r),t);x.createVNode&&x.createVNode(a);return a},t.createFragment=T,t.createPortal=function(e,t){var n=F(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),je(n,e,o,r)}},t.createTextVNode=E,t.createVNode=I,t.directClone=A,t.findDOMfromVNode=N,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(c(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&i(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?u(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=je,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var o=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function i(e){return null==e}function a(e){return null===e||!1===e||!0===e||void 0===e}function c(e){return"function"==typeof e}function l(e){return"string"==typeof e}function d(e){return null===e}function u(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!d(e)&&"object"==typeof e}var m={};t.EMPTY_OBJ=m;function p(e){return e.substr(2).toLowerCase()}function f(e,t){e.appendChild(t)}function h(e,t,n){d(n)?f(e,t):e.insertBefore(t,n)}function C(e,t){e.removeChild(t)}function g(e){for(var t=0;t0,f=d(m),h=l(m)&&"$"===m[0];p||f||h?(n=n||t.slice(0,u),(p||h)&&(s=A(s)),(f||h)&&(s.key="$"+u),n.push(s)):n&&n.push(s),s.flags|=65536}}i=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=A(t)),i=2;return e.children=n,e.childFlags=i,e}function F(e){return a(e)||r(e)?E(e,null):o(e)?T(e,0,null):16384&e.flags?A(e):e}var D="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":D,"xlink:arcrole":D,"xlink:href":D,"xlink:role":D,"xlink:show":D,"xlink:title":D,"xlink:type":D,"xml:base":R,"xml:lang":R,"xml:space":R};function z(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var W=z(0),U=z(null),K=z(!0);function H(e,t){var n=t.$EV;return n||(n=t.$EV=z(null)),n[e]||1==++W[e]&&(U[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?Y(t,!0,e,J(t)):t.stopPropagation()}}(e):function(e){return function(t){Y(t,!1,e,J(t))}}(e);return document.addEventListener(p(e),t),t}(e)),n}function G(e,t){var n=t.$EV;n&&n[e]&&(0==--W[e]&&(document.removeEventListener(p(e),U[e]),U[e]=null),n[e]=null)}function Y(e,t,n,o){var r=function(e){return c(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var a=i[n];if(a&&(o.dom=r,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}r=r.parentNode}while(!d(r))}function q(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function $(){return this.defaultPrevented}function X(){return this.cancelBubble}function J(e){var t={dom:document};return e.isDefaultPrevented=$,e.isPropagationStopped=X,e.stopPropagation=q,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Z(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Q(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||m,i=o.dom;if(l(e))Z(r,e,n);else for(var a=0;a-1&&t.options[a]&&(c=t.options[a].value),n&&i(c)&&(c=e.defaultValue),ae(o,c)}}var de,ue,se=Q("onInput",pe),me=Q("onChange");function pe(e,t,n){var o=e.value,r=t.value;if(i(o)){if(n){var a=e.defaultValue;i(a)||a===r||(t.defaultValue=a,t.value=a)}}else r!==o&&(t.defaultValue=o,t.value=o)}function fe(e,t,n,o,r,i){64&e?ie(o,n):256&e?le(o,n,r,t):128&e&&pe(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",se),t.onChange&&ee(e,"change",me)}(t,n)}function Ce(e){return e.type&&te(e.type)?!i(e.checked):!i(e.value)}function ge(e){e&&!B(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(c(e)||void 0!==e.current)&&n.push((function(){B(e,t)||void 0===e.current||(e.current=t)}))}function Ne(e,t){ve(e),v(e,t)}function ve(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var r=e.props;ge(t);var a=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0;for(var c in a&&(i=Ce(n))&&he(t,o,n),n)ke(c,null,n[c],o,r,i,null);a&&fe(t,e,o,n,!0,i)}function Le(e,t,n){var o=F(e.render(t,e.state,n)),r=n;return c(e.getChildContext)&&(r=u(n,e.getChildContext())),e.$CX=r,o}function Be(e,t,n,o,r,i){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=r,a.$L=i,e.children=a,a.$BS=!1,a.context=o,a.props===m&&(a.props=n),l)a.state=y(a,n,a.state);else if(c(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!d(u)){var s=a.state;if(d(s))a.state=u;else for(var p in u)s[p]=u[p];a.$PS=null}a.$BR=!1}return a.$LI=Le(a,n,o),a}function Se(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Ee(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Be(e,e.type,e.props||m,n,o,i);Se(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Se(e.children=F(function(e,t){return 32768&e.flags?e.type.render(e.props||m,e.ref,t):e.type(e.props||m,t)}(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Oe(e,i)):512&a||16&a?Ie(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=O());2===c?Se(a,n,r,o,r,i):Te(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Se(e.children,e.ref,t,!1,null,r);var i=O();Ie(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Ie(e,t,n){var o=e.dom=document.createTextNode(e.children);d(t)||h(t,o,n)}function Ee(e,t,n,o,r,a){var c=e.flags,l=e.props,u=e.className,s=e.children,m=e.childFlags,p=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0);if(i(u)||""===u||(o?p.setAttribute("class",u):p.className=u),16===m)k(p,s);else if(1!==m){var f=o&&"foreignObject"!==e.type;2===m?(16384&s.flags&&(e.children=s=A(s)),Se(s,p,n,f,null,a)):8!==m&&4!==m||Te(s,p,n,f,null,a)}d(t)||h(t,p,r),d(l)||we(e,c,l,p,o),be(e.ref,p,a)}function Te(e,t,n,o,r,i){for(var a=0;a0,d!==u){var f=d||m;if((c=u||m)!==m)for(var h in(s=(448&r)>0)&&(p=Ce(c)),c){var C=f[h],g=c[h];C!==g&&ke(h,C,g,l,o,p,e)}if(f!==m)for(var b in f)i(c[b])&&!i(f[b])&&ke(b,f[b],null,l,o,p,e)}var N=t.children,v=t.className;e.className!==v&&(i(v)?l.removeAttribute("class"):o?l.setAttribute("class",v):l.className=v);4096&r?function(e,t){e.textContent!==t&&(e.textContent=t)}(l,N):Pe(e.childFlags,t.childFlags,e.children,N,l,n,o&&"foreignObject"!==t.type,null,e,a);s&&fe(r,t,l,c,!1,p);var V=t.ref,y=e.ref;y!==V&&(ge(y),be(V,l,a))}(e,t,o,r,p,s):4&p?function(e,t,n,o,r,i,a){var l=t.children=e.children;if(d(l))return;l.$L=a;var s=t.props||m,p=t.ref,f=e.ref,h=l.state;if(!l.$N){if(c(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,o),l.$UN)return;l.$BR=!1}d(l.$PS)||(h=u(h,l.$PS),l.$PS=null)}Fe(l,h,s,n,o,r,!1,i,a),f!==p&&(ge(f),be(p,l,a))}(e,t,n,o,r,l,s):8&p?function(e,t,n,o,r,a,l){var d=!0,u=t.props||m,s=t.ref,p=e.props,f=!i(s),h=e.children;f&&c(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(p,u));if(!1!==d){f&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(p,u);var C=t.type,g=F(32768&t.flags?C.render(u,s,o):C(u,o));Me(h,g,n,o,r,a,l),t.children=g,f&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(p,u)}else t.children=h}(e,t,n,o,r,l,s):16&p?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&p?t.dom=e.dom:8192&p?function(e,t,n,o,r,i){var a=e.children,c=t.children,l=e.childFlags,d=t.childFlags,u=null;12&d&&0===c.length&&(d=t.childFlags=2,c=t.children=O());var s=0!=(2&d);if(12&l){var m=a.length;(8&l&&8&d||s||!s&&c.length>m)&&(u=N(a[m-1],!1).nextSibling)}Pe(l,d,a,c,n,o,r,u,e,i)}(e,t,n,o,r,s):function(e,t,n,o){var r=e.ref,i=t.ref,c=t.children;if(Pe(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==i&&!a(c)){var l=c.dom;C(r,l),f(i,l)}}(e,t,o,s)}function Pe(e,t,n,o,r,i,a,c,l,d){switch(e){case 2:switch(t){case 2:Me(n,o,r,i,a,c,d);break;case 1:Ne(n,r);break;case 16:ve(n),k(r,o);break;default:!function(e,t,n,o,r,i){ve(e),Te(t,n,o,r,N(e,!0),i),v(e,n)}(n,o,r,i,a,d)}break;case 1:switch(t){case 2:Se(o,r,i,a,c,d);break;case 1:break;case 16:k(r,o);break;default:Te(o,r,i,a,c,d)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:k(n,t))}(n,o,r);break;case 2:ye(r),Se(o,r,i,a,c,d);break;case 1:ye(r);break;default:ye(r),Te(o,r,i,a,c,d)}break;default:switch(t){case 16:Ve(n),k(r,o);break;case 2:_e(r,l,n),Se(o,r,i,a,c,d);break;case 1:_e(r,l,n);break;default:var u=0|n.length,s=0|o.length;0===u?s>0&&Te(o,r,i,a,c,d):0===s?_e(r,l,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,l,d){var u,s,m=i-1,p=a-1,f=0,h=e[f],C=t[f];e:{for(;h.key===C.key;){if(16384&C.flags&&(t[f]=C=A(C)),Me(h,C,n,o,r,c,d),e[f]=C,++f>m||f>p)break e;h=e[f],C=t[f]}for(h=e[m],C=t[p];h.key===C.key;){if(16384&C.flags&&(t[p]=C=A(C)),Me(h,C,n,o,r,c,d),e[m]=C,m--,p--,f>m||f>p)break e;h=e[m],C=t[p]}}if(f>m){if(f<=p)for(s=(u=p+1)p)for(;f<=m;)Ne(e[f++],n);else!function(e,t,n,o,r,i,a,c,l,d,u,s,m){var p,f,h,C=0,g=c,b=c,v=i-c+1,y=a-c+1,_=new Int32Array(y+1),x=v===o,k=!1,w=0,L=0;if(r<4||(v|y)<32)for(C=g;C<=i;++C)if(p=e[C],Lc?k=!0:w=c,16384&f.flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L;break}!x&&c>a&&Ne(p,l)}else x||Ne(p,l);else{var B={};for(C=b;C<=a;++C)B[t[C].key]=C;for(C=g;C<=i;++C)if(p=e[C],Lg;)Ne(e[g++],l);_[c-b]=C+1,w>c?k=!0:w=c,16384&(f=t[c]).flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L}else x||Ne(p,l);else x||Ne(p,l)}if(x)_e(l,s,e),Te(t,l,n,d,u,m);else if(k){var S=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,l=e.length;l>De&&(De=l,de=new Int32Array(l),ue=new Int32Array(l));for(;n>1]]0&&(ue[n]=de[i-1]),de[i]=n)}i=r+1;var d=new Int32Array(i);a=de[i-1];for(;i-- >0;)d[i]=a,a=ue[a],de[i]=0;return d}(_);for(c=S.length-1,C=y-1;C>=0;C--)0===_[C]?(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)=0;C--)0===_[C]&&(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)a?a:i,m=0;ma)for(m=s;m=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),V(n),d}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;V(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=o}catch(r){Function("r","regeneratorRuntime = r")(o)}},function(e,t,n){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l=0,d={};function u(){var e=f.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=d[e._html5shiv];return t||(t={},l++,e._html5shiv=l,d[l]=t),t}function m(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=s(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function p(e){e||(e=n);var t=s(e);return!f.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return f.shivMethods?m(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(f,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var f={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:p,createElement:m,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||s(e)).frag.cloneNode(),i=0,a=u(),c=a.length;i3?c(a):null,N=String(a.key),v=String(a.char),V=a.location,y=a.keyCode||(a.keyCode=N)&&N.charCodeAt(0)||0,_=a.charCode||(a.charCode=v)&&v.charCodeAt(0)||0,x=a.bubbles,k=a.cancelable,w=a.repeat,L=a.locale,B=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in m)m.initKeyEvent(t,x,k,B,p,h,f,C,y,_);else if(0>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,l=e.addEventListener,d=e.removeEventListener,u=0,s=function(){u++},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",s,{once:!0}),c(new a("_")),c(new a("_")),d("_",s,{once:!0})}catch(f){}1!==u&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,l,d,u=i.get(this),s=p(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(c=m.call(l.handler,r))<0?(c=l.handler.push(r)-1,l.wrap[c]=d=new n):d=l.wrap[c],s in d||(d[s]=o(t,r,a),e.call(this,t,d[s],d[s].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,l,d=i.get(this);if(d&&t in d&&(c=d[t],-1<(a=m.call(c.handler,n))&&(r=p(o))in(l=c.wrap[a]))){for(r in e.call(this,t,l[r],l[r].capture),delete l[r],l)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete d[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},function(e,t,n){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},function(e,t,n){"use strict";window.Int32Array||(window.Int32Array=Array)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(423),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,n(74))},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var o,r,i,a,c,l=1,d={},u=!1,s=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(r=s.documentElement,o=function(e){var t=s.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),o=function(t){e.postMessage(a+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),a=1;a1?t-1:0),o=1;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(1),r=n(9),i=n(432),a=n(29),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(1),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(1),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,p=t.width,m=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:p,"max-height":m}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:p,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(1),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(1),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(1),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,p=e.onChange,m=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,x=e.ranges,_=void 0===x?{}:x,k=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:p,onDrag:m,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,p=e.handleDragStart,m=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,_)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*m)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"rem"},v)},B)),{onMouseDown:p})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(1),r=n(173);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(1),r=n(9),i=n(17),a=n(172),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,p=e.content,m=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[p,m]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(1),r=n(3),i=n(2);n(122),n(29);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,p=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:p+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(1),r=n(9),i=n(17),a=n(171);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(1),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(1),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,p=e.ranges,m=void 0===p?{}:p,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,m)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(1),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,p=e.children,m=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(p);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",m&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),p,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(1),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,p=e.onDrag,m=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,x=e.children,_=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),k=x!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:p,step:m,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,p=e.handleDragStart,m=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(_)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",m&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",k?x:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(_),{onMouseDown:p})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(1),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":450,"./APC.js":451,"./AiAirlock.js":452,"./AiRestorer.js":453,"./AiSupermatter.js":454,"./AirAlarm.js":455,"./AlgaeFarm.js":457,"./AppearanceChanger.js":458,"./AreaScrubberControl.js":459,"./AtmosAlertConsole.js":460,"./AtmosControl.js":176,"./AtmosFilter.js":461,"./AtmosMixer.js":462,"./BodyDesigner.js":463,"./BodyScanner.js":464,"./CameraConsole.js":177,"./Canister.js":465,"./ChemDispenser.js":466,"./ChemMaster.js":470,"./CloningConsole.js":471,"./CrewMonitor.js":179,"./Cryo.js":472,"./DNAModifier.js":473,"./DiseaseSplicer.js":474,"./DishIncubator.js":475,"./DisposalBin.js":476,"./DroneConsole.js":477,"./EmbeddedController.js":478,"./ExonetNode.js":479,"./FileCabinet.js":480,"./GasPump.js":481,"./GasTemperatureSystem.js":482,"./GeneralAtmoControl.js":483,"./GeneralRecords.js":484,"./GravityGenerator.js":485,"./IDCard.js":486,"./IsolationCentrifuge.js":487,"./MedicalRecords.js":488,"./MessageMonitor.js":489,"./NTNetRelay.js":490,"./NtosAtmosControl.js":491,"./NtosCameraConsole.js":492,"./NtosCrewMonitor.js":493,"./NtosPowerMonitor.js":494,"./NtosRCON.js":495,"./NtosShutoffMonitor.js":496,"./NtosStationAlertConsole.js":497,"./NtosSupermatterMonitor.js":498,"./OmniFilter.js":499,"./OmniMixer.js":500,"./OperatingComputer.js":501,"./ParticleAccelerator.js":502,"./PathogenicIsolator.js":503,"./PipeDispenser.js":504,"./PortableGenerator.js":505,"./PortablePump.js":506,"./PortableScrubber.js":507,"./PowerMonitor.js":182,"./PressureRegulator.js":508,"./RCON.js":183,"./RIGSuit.js":509,"./Radio.js":510,"./RapidPipeDispenser.js":187,"./ResleevingConsole.js":511,"./ResleevingPod.js":512,"./ShieldCapacitor.js":513,"./ShieldGenerator.js":514,"./ShutoffMonitor.js":184,"./Signaler.js":515,"./Sleeper.js":516,"./SmartVend.js":517,"./Smes.js":518,"./SolarControl.js":519,"./SpaceHeater.js":520,"./StationAlertConsole.js":185,"./SuitCycler.js":521,"./SuitStorageUnit.js":522,"./SupermatterMonitor.js":186,"./TEGenerator.js":523,"./Tank.js":524,"./TankDispenser.js":525,"./TelecommsLogBrowser.js":526,"./TelecommsMachineBrowser.js":527,"./TelecommsMultitoolMenu.js":528,"./Turbolift.js":529,"./Vending.js":530,"./VorePanel.js":531,"./Wires.js":532};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=449},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,p=l.flushing,m=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===p?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!m&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:p||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(175),l=n(60);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,p)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),p=d[l.chargingStatus]||d[0],m=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:p.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",p.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[m.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],p=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:p.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,p=c.isDead,m=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:p?"bad":"good",children:p?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!m&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:m,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(34),n(60));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(1),r=n(6),i=(n(21),n(2)),a=n(3),c=n(33),l=n(4),d=n(175),u=n(456);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,p),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},m={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=m[r]||m.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(1),r=n(21),i=n(2),a=n(3);n(33);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,p=n.excheck,m=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:m,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:p,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,p=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&p.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(1),r=n(2),i=n(3),a=(n(34),n(4)),c=(n(6),n(21));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,p=d.last_flow_rate,m=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[p," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[m," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(1),r=n(39),i=n(21),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,x=f.change_eye_color,_=f.change_skin_tone,k=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=x||_||k||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,p):null,S&&4===M?(0,o.createComponentVNode)(2,m):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,p=i.change_facial_hair_color,m=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:m,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,p?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(1),r=n(3),i=n(2),a=n(4),c=n(21);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],p=u[1],m=d.scrubbers;return m?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return p(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:m.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(1),r=n(2),i=n(3),a=(n(33),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(1),r=n(21),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,p=d.diskStored,m=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},p=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,x);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:p(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:m([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[m([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),m(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:m([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:m([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},x=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(34),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,p=u.can_relabel,m=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!p,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(1),r=n(2),i=n(3),a=n(178),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,p)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},p=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,p=l.beakerMaxVolume,m=l.beakerContents,f=void 0===m?[]:m;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",p," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(468)()},function(e,t,n){"use strict";var o=n(469);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(178),l=n(55),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,m=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:m,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,p,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,p=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:p?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(33),l=n(55),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,p=d.health,m=d.unidentity,f=d.strucenzymes,h=p.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,p)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},p=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,m):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,p=l.locked,m=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=p&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,p=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!p,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,p=d.hasOccupant,m=d.occupant,f=void 0===m?[]:m,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!p,children:"Eject"}),children:p?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(55),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,m=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!m.isViableSubject||!m.uniqueIdentity||!m.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,p)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},p=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,p=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:p,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,p=c.split(""),m=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:p[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[p&&p.length?null:"None",p.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(1),r=(n(6),n(34)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,p=d.food_supply,m=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,x=d.analysed,_=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:m>=50?"bad":f>=25?"average":"good",value:m,children:[(0,r.formatCommaNumber)(1e4*m)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:x?_:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,p=l.fabricator,m=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!p,selected:m,icon:"power-off",content:m?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:p?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(1),r=(n(21),n(6),n(2)),i=n(3),a=n(4),c=((0,n(29).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,m)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,p)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,p=l.allowNewscasters,m=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),m&&0!==m.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(1),r=n(39),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,p=l.last_power_draw,m=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:p,minValue:0,maxValue:m,color:p=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(1),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,p=n.fingerprint_hash,m=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:m},{name:"Fingerprint",val:p},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(1),r=(n(6),n(34),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,p=l.is_antibody_sample,m=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return m&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:p?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!m,onClick:function(){return c("sample")}})})]}),f]}),u&&!p||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!p?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(1),r=n(2),i=n(3),a=n(55),c=n(4),l=n(180),d=n(181),u=n(92),s=(n(21),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,p):3===C?n=(0,o.createComponentVNode)(2,m):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},m=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(1),r=(n(6),n(21)),i=n(2),a=n(3),c=n(4),l=n(92),d=n(60);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),m=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):m?f?(0,o.createComponentVNode)(2,p):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},p=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,m):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,p=c.custommessage,m=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:m,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:p,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.NTNetRelay=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(60);t.NTNetRelay=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.dos_crashed,u=(i.enabled,i.dos_overload,i.dos_capacity,(0,o.createComponentVNode)(2,l));return c&&(u=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:c?700:500,height:c?600:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:u})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dos_crashed,c.enabled),d=c.dos_overload,u=c.dos_capacity;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:"Relay "+(l?"On":"Off"),onClick:function(){return a("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network Buffer Status",children:[d," / ",u," GQ"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",content:"Purge network blacklist",onClick:function(){return a("purge")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act;n.data;return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"ERROR",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createVNode)(1,"h2",null,"NETWORK BUFFERS OVERLOADED",16),(0,o.createVNode)(1,"h3",null,"Overload Recovery Mode",16),(0,o.createVNode)(1,"i",null,"This system is suffering temporary outage due to overflow of traffic buffers. Until buffered traffic is processed, all further requests will be dropped. Frequent occurences of this error may indicate insufficient hardware capacity of your network. Please contact your network planning department for instructions on how to resolve this issue.",16),(0,o.createVNode)(1,"h3",null,"ADMINISTRATIVE OVERRIDE",16),(0,o.createVNode)(1,"b",null," CAUTION - Data loss may occur ",16)]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",content:"Purge buffered traffic",onClick:function(){return a("restart")}})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosAtmosControl=void 0;var o=n(1),r=n(4),i=n(176);t.NtosAtmosControl=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i.AtmosControlContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosCameraConsole=void 0;var o=n(1),r=n(4),i=n(177);t.NtosCameraConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i.CameraConsoleContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosCrewMonitor=void 0;var o=n(1),r=n(4),i=n(179);t.NtosCrewMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i.CrewMonitorContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosPowerMonitor=void 0;var o=n(1),r=n(4),i=n(182);t.NtosPowerMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.PowerMonitorContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosRCON=void 0;var o=n(1),r=n(4),i=n(183);t.NtosRCON=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.RCONContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosShutoffMonitor=void 0;var o=n(1),r=n(4),i=n(184);t.NtosShutoffMonitor=function(e,t){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{children:(0,o.createComponentVNode)(2,i.ShutoffMonitorContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosStationAlertConsole=void 0;var o=n(1),r=n(4),i=n(185);t.NtosStationAlertConsole=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:315,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.StationAlertConsoleContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.NtosSupermatterMonitor=void 0;var o=n(1),r=n(4),i=n(186);t.NtosSupermatterMonitor=function(){return(0,o.createComponentVNode)(2,r.NtosWindow,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,r.NtosWindow.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.SupermatterMonitorContent)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.OmniFilter=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};t.OmniFilter=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.power,s=d.config,p=d.ports,m=d.set_flow_rate,f=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:s?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:u?"On":"Off",selected:u,disabled:s,onClick:function(){return l("power")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",selected:s,onClick:function(){return l("configure")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p?p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.dir+" Port",children:s?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"IN",selected:e.input,icon:"compress-arrows-alt",onClick:function(){return l("switch_mode",{mode:"in",dir:e.dir})}}),(0,o.createComponentVNode)(2,i.Button,{content:"OUT",selected:e.output,icon:"expand-arrows-alt",onClick:function(){return l("switch_mode",{mode:"out",dir:e.dir})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:e.input||e.output,content:e.f_type||"None",onClick:function(){return l("switch_filter",{mode:e.f_type,dir:e.dir})}})],4):c(e)},e.dir)})):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No Ports Detected"})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Flow Rate",children:[f," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",children:s?(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:m/10+" L/s",onClick:function(){return l("set_flow_rate")}}):m/10+" L/s"})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.OmniMixer=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=function(e){return e.input?"Input":e.output?"Output":e.f_type?e.f_type:"Disabled"};t.OmniMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,d=n.data,u=d.power,s=d.config,p=d.ports,m=d.set_flow_rate,f=d.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:390,height:330,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:s?"Configuration":"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:u?"On":"Off",selected:u,disabled:s,onClick:function(){return c("power")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",selected:s,onClick:function(){return c("configure")}})],4),children:(0,o.createComponentVNode)(2,i.Table,{children:[(0,o.createComponentVNode)(2,i.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Port"}),s?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Input"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Output"})],4):(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Mode"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Concentration"}),s?(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Lock"}):null]}),p?p.map((function(e){return(0,o.createComponentVNode)(2,l,{port:e,config:s},e.dir)})):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No Ports Detected"})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Flow Rate",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Flow Rate",children:[f," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",children:s?(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:m/10+" L/s",onClick:function(){return c("set_flow_rate")}}):m/10+" L/s"})]})})]})})};var l=function(e,t){var n=(0,r.useBackend)(t).act,a=e.port,l=e.config;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:a.dir+" Port"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,i.Button,{content:"IN",selected:a.input,disabled:a.output,icon:"compress-arrows-alt",onClick:function(){return n("switch_mode",{mode:a.input?"none":"in",dir:a.dir})}}):c(a)}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:l?(0,o.createComponentVNode)(2,i.Button,{content:"OUT",selected:a.output,icon:"expand-arrows-alt",onClick:function(){return n("switch_mode",{mode:"out",dir:a.dir})}}):100*a.concentration+"%"}),l?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",width:"20%",children:(0,o.createComponentVNode)(2,i.Button,{width:"100%",icon:"wrench",disabled:!a.input,content:a.input?100*a.concentration+" %":"-",onClick:function(){return n("switch_con",{dir:a.dir})}})}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{icon:a.con_lock?"lock":"lock-open",disabled:!a.input,selected:a.con_lock,content:a.f_type||"None",onClick:function(){return n("switch_conlock",{dir:a.dir})}})})],4):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.OperatingComputer=void 0;var o=n(1),r=n(6),i=n(2),a=n(4),c=n(3),l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp.","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.OperatingComputer=function(e,t){var n,r=(0,i.useBackend)(t),l=r.act,d=r.data,u=d.hasOccupant,s=d.choice;return n=s?(0,o.createComponentVNode)(2,f):u?(0,o.createComponentVNode)(2,p):(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,a.Window,{width:650,height:455,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:!s,icon:"user",onClick:function(){return l("choiceOff")},children:"Patient"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:!!s,icon:"cog",onClick:function(){return l("choiceOn")},children:"Options"})]}),(0,o.createComponentVNode)(2,c.Section,{flexGrow:"1",children:n})]})})};var p=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Section,{title:"Patient",level:"2",children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:n.name}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",color:l[n.stat][0],children:l[n.stat][1]}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:n.maxHealth,value:n.health/n.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),d.map((function(e,t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e[0]+" Damage",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]])},t)},t)})),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:n.maxTemp,value:n.bodyTemperature/n.maxTemp,color:s[n.temperatureSuitability+3],children:[(0,r.round)(n.btCelsius),"\xb0C, ",(0,r.round)(n.btFaren),"\xb0F"]})}),!!n.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,c.ProgressBar,{min:"0",max:n.bloodMax,value:n.bloodLevel/n.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[n.bloodPercent,"%, ",n.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Pulse",children:[n.pulse," BPM"]})],4)]})}),(0,o.createComponentVNode)(2,c.Section,{title:"Current Procedure",level:"2",children:n.surgery&&n.surgery.length?(0,o.createComponentVNode)(2,c.LabeledList,{children:n.surgery.map((function(e){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Current State",children:e.currentStage}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Possible Next Steps",children:e.nextSteps.map((function(e){return(0,o.createVNode)(1,"div",null,e,0,null,e)}))})]})},e.name)}))}):(0,o.createComponentVNode)(2,c.Box,{color:"label",children:"No procedure ongoing."})})],4)},m=function(){return(0,o.createComponentVNode)(2,c.Flex,{textAlign:"center",height:"100%",children:(0,o.createComponentVNode)(2,c.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,c.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No patient detected."]})})},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,a=n.data,l=a.verbose,d=a.health,u=a.healthAlarm,s=a.oxy,p=a.oxyAlarm,m=a.crit;return(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Loudspeaker",children:(0,o.createComponentVNode)(2,c.Button,{selected:l,icon:l?"toggle-on":"toggle-off",content:l?"On":"Off",onClick:function(){return r(l?"verboseOff":"verboseOn")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health Announcer",children:(0,o.createComponentVNode)(2,c.Button,{selected:d,icon:d?"toggle-on":"toggle-off",content:d?"On":"Off",onClick:function(){return r(d?"healthOff":"healthOn")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Health Announcer Threshold",children:(0,o.createComponentVNode)(2,c.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:u,stepPixelSize:"5",ml:"0",format:function(e){return e+"%"},onChange:function(e,t){return r("health_adj",{"new":t})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Oxygen Alarm",children:(0,o.createComponentVNode)(2,c.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"On":"Off",onClick:function(){return r(s?"oxyOff":"oxyOn")}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Oxygen Alarm Threshold",children:(0,o.createComponentVNode)(2,c.Knob,{bipolar:!0,minValue:"-100",maxValue:"100",value:p,stepPixelSize:"5",ml:"0",onChange:function(e,t){return r("oxy_adj",{"new":t})}})}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Critical Alert",children:(0,o.createComponentVNode)(2,c.Button,{selected:m,icon:m?"toggle-on":"toggle-off",content:m?"On":"Off",onClick:function(){return r(m?"critOff":"critOn")}})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.ParticleAccelerator=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.ParticleAccelerator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.assembled,u=l.power,s=l.strength;return(0,o.createComponentVNode)(2,a.Window,{width:350,height:185,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Run Scan",onClick:function(){return c("scan")}}),children:(0,o.createComponentVNode)(2,i.Box,{color:d?"good":"bad",children:d?"Ready - All parts in place":"Unable to detect all parts"})})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Particle Accelerator Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,disabled:!d,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Particle Strength",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:!d,onClick:function(){return c("remove_strength")}})," ",String(s).padStart(1,"0")," ",(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:!d,onClick:function(){return c("add_strength")}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PathogenicIsolator=void 0;var o=n(1),r=(n(6),n(34),n(2)),i=n(55),a=n(3),c=n(4),l=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.can_print,l=e.args;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",title:l.name||"Virus",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!c,icon:"print",content:"Print",onClick:function(){return i("print",{type:"virus_record",vir:l.record})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return i("modal_close")}})],4),children:(0,o.createComponentVNode)(2,a.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Spread",children:[l.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Possible cure",children:l.antigen}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Rate of Progression",children:l.rate}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Antibiotic Resistance",children:[l.resistance,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species Affected",children:l.species}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l.symptoms.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0"]}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:[(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]})]},e.stage)}))})})]})})})};t.PathogenicIsolator=function(e,t){var n=(0,r.useBackend)(t),s=(n.act,n.data.isolating),p=(0,r.useLocalState)(t,"tabIndex",0),m=p[0],f=p[1],h=null;return 0===m?h=(0,o.createComponentVNode)(2,d):1===m&&(h=(0,o.createComponentVNode)(2,u)),(0,i.modalRegisterBodyOverride)("virus",l),(0,o.createComponentVNode)(2,c.Window,{height:500,width:520,resizable:!0,children:[(0,o.createComponentVNode)(2,i.ComplexModal,{maxHeight:"100%",maxWidth:"95%"}),(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[s&&(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:"The Isolator is currently isolating..."})||null,(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===m,onClick:function(){return f(0)},children:"Home"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===m,onClick:function(){return f(1)},children:"Database"})]}),h]})]})};var d=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,l=c.syringe_inserted,d=c.pathogen_pool,u=c.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Pathogens",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!u,onClick:function(){return i("print",{type:"patient_diagnosis"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Syringe",disabled:!l,onClick:function(){return i("eject")}})],4),children:d.length&&d.map((function(e){return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",children:(0,o.createComponentVNode)(2,a.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:[(0,o.createVNode)(1,"u",null,[(0,o.createTextVNode)("Stamm #"),e.unique_id],0),e.is_in_database?" (Analyzed)":" (Not Analyzed)"]}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Isolate",onClick:function(){return i("isolate",{isolate:e.reference})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Database",disabled:!e.is_in_database,onClick:function(){return i("view_entry",{vir:e.record})}})]})]})}),(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",mb:1,children:e.name}),e.dna]})]},e.unique_id)}))||(l?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No samples detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No syringe inserted."}))})},u=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data,l=c.database,d=c.can_print;return(0,o.createComponentVNode)(2,a.Section,{title:"Database",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",content:"Print",disabled:!d,onClick:function(){return i("print",{type:"virus_list"})}}),children:l.length&&l.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"search",onClick:function(){return i("view_entry",{vir:e.record})},children:e.name},e.name)}))||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"The viral database is empty."})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PipeDispenser=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(187);t.PipeDispenser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.disposals,s=d.p_layer,p=d.pipe_layers,m=d.categories,f=void 0===m?[]:m,h=(0,r.useLocalState)(t,"categoryName"),C=h[0],g=h[1],b=f.find((function(e){return e.cat_name===C}))||f[0];return(0,o.createComponentVNode)(2,a.Window,{width:425,height:515,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!u&&(0,o.createComponentVNode)(2,i.Section,{title:"Layer",children:(0,o.createComponentVNode)(2,i.Box,{children:Object.keys(p).map((function(e){return(0,o.createComponentVNode)(2,i.Button.Checkbox,{fluid:!0,checked:p[e]===s,content:e,onClick:function(){return l("p_layer",{p_layer:p[e]})}},e)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Pipes",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{fluid:!0,icon:c.ICON_BY_CATEGORY_NAME[e.cat_name],selected:e.cat_name===b.cat_name,onClick:function(){return g(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==b?void 0:b.recipes.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{fluid:!0,ellipsis:!0,content:e.pipe_name,title:e.pipe_name,onClick:function(){return l("dispense_pipe",{ref:e.ref,bent:e.bent,category:b.cat_name})}},e.pipe_name)}))]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableGenerator=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(6);t.PortableGenerator=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.fuel_stored/d.fuel_capacity,s=(u>=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(188);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,p=d.default_pressure,m=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:m,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===m,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===p,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(1),r=n(2),i=n(3),a=(n(33),n(4)),c=n(188);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,p=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:p,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),p=l.output_pressure,m=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:p/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===m,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===m,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===m,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4),c=n(21);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,p=c.malf,m=c.aicontrol,f=c.ai,h=null;return s||p?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&m&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,p=c.sealing,m=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(p?"seals working...":m?"is Active":"is Inactive"),icon:p?"redo":m?"power-off":"lock-open",iconSpin:p,disabled:p,selected:m,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,p=l.gauntlets,m=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:m?"sign-out-alt":"sign-in-alt",content:m?"Deployed":"Deploy",disabled:d,selected:m,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,p=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),p&&p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(1),r=(n(39),n(6)),i=n(2),a=n(3),c=n(33),l=n(4);(0,n(29).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,p=u.minFrequency,m=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,x=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),_=156;return b&&b.length>0?_+=28*b.length+6:_+=24,g&&(_+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:_,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:p/10,maxValue:m/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),x&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:x.color,ml:2,children:["[",x.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=(n(33),n(55)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,p=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!p,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,p=c.mind_compat,m=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:m?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:m?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,p)})],4);return h&&(g=(0,o.createComponentVNode)(2,m)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},p=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},m=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(1),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,p=n.mindStatus,m=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:p?"Present":"Missing"}),p?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:m}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(1),r=n(2),i=n(4),a=n(3),c=n(6),l=n(34);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,p=u.time_since_fail,m=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:p>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:m,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(m/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(1),r=n(2),i=n(4),a=n(3),c=n(6),l=n(34),d=n(60);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,p=d.failing,m=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,x=d.max_strengthen_rate,_=d.gen_power,k=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:p?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(_)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:m,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:x,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,p=d.minFrequency,m=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:p/10,maxValue:m/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,p):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var p=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,p=d.auto_eject_dead,m=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:p?"toggle-on":"toggle-off",selected:p,content:p?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(p?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:m,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,p=e.actToDo,m=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:m,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(p)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(1),r=n(39),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(1),r=n(2),i=n(3),a=n(34),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,p=u.capacity,m=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,x=u.outputUsed,_=(s>=100?"good":h&&"average")||"bad",k=(v?"good":m>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(m/6e4,1)," kWh / ",(0,l.round)(p/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:_,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:k,children:v?"Sending":m>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(x)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(1),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,p=d.sun_angle,m=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[p,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:m,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[m+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(1),r=n(33),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,p=d.maxTemp,m=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!m&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:p-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:m?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,p=i.locked,m=i.uv_active,f=(0,o.createComponentVNode)(2,c);return m?f=(0,o.createComponentVNode)(2,l):p?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,p=c.departments,m=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:p,selected:p[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:m,selected:m[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,p=i.uv_active,m=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):p?f=(0,o.createComponentVNode)(2,d):m&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,p=c.suit,m=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4),l=n(34);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,p=n.primary,m=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),p&&m?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:p})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:m})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,p=i.inletTemperature,m=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(p,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*m,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,p=l.releasePressure,m=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:p===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(p),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:p===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:p===m,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(1),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,p=u.network,m=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[m&&m.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:m}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:p,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:p,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:p,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,p=l.job,m=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",p,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:m})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,p=d.machinelist,m=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===p.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),p&&p.length?(0,o.createComponentVNode)(2,c,{title:m?m.name+" ("+m.id+")":"Detected Network Entities",list:m?m.links:p,showBack:m}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(92),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,p=c.shadowlink,m=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),p?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:m.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,p=c.broadcasting,m=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(1),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(1),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,p=null;return 0===c?p=(0,o.createComponentVNode)(2,l):1===c&&(p=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[p,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(1),r=(n(6),n(21)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,p=r.desc,m=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[m,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:p}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,m,{belly:u})]})},m=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,p=c.mode,m=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,x=c.digest_burn,_=c.bulge_size,k=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[p],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:x})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*_+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*k+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,p=c.digest_leave_remains,m=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(m?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:m?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltipPosition:"top",tooltip:p?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:p?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(1),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file +var n;n=void 0!==e?e:void 0,t.loadCSS=function(e,t,o,r){var i,a=n.document,c=a.createElement("link");if(t)i=t;else{var l=(a.body||a.getElementsByTagName("head")[0]).childNodes;i=l[l.length-1]}var d=a.styleSheets;if(r)for(var u in r)r.hasOwnProperty(u)&&c.setAttribute(u,r[u]);c.rel="stylesheet",c.href=e,c.media="only x",function p(e){if(a.body)return e();setTimeout((function(){p(e)}))}((function(){i.parentNode.insertBefore(c,t?i:i.nextSibling)}));var s=function f(e){for(var t=c.href,n=d.length;n--;)if(d[n].href===t)return e();setTimeout((function(){f(e)}))};function m(){c.addEventListener&&c.removeEventListener("load",m),c.media=o||"all"}return c.addEventListener&&c.addEventListener("load",m),c.onloadcssdefined=s,s(m),c}}).call(this,n(74))},function(e,t,n){"use strict";t.__esModule=!0,t.getRoutedComponent=void 0;var o=n(0),r=n(2),i=(n(121),n(4)),a=n(450),c=function(e,t){return function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}},l=function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0})})};t.getRoutedComponent=function(e){var t=(0,r.selectBackend)(e),n=t.suspended,o=t.config;if(n)return l;var i,d=null==o?void 0:o["interface"];try{i=a("./"+d+".js")}catch(s){if("MODULE_NOT_FOUND"===s.code)return c("notFound",d);throw s}var u=i[d];return u||c("missingExport",d)}},function(e,t,n){"use strict";var o,r;t.__esModule=!0,t.VNodeFlags=t.ChildFlags=void 0,t.VNodeFlags=o,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(o||(t.VNodeFlags=o={})),t.ChildFlags=r,function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(r||(t.ChildFlags=r={}))},function(e,t,n){"use strict";t.__esModule=!0,t.NtosWindow=void 0;var o=n(0),r=n(122),i=n(2),a=n(3),c=n(123),l=n(175),d=function(e,t){var n=e.title,d=e.width,u=void 0===d?575:d,s=e.height,m=void 0===s?700:s,p=e.resizable,f=e.theme,h=void 0===f?"ntos":f,C=e.children,g=(0,i.useBackend)(t),b=g.act,N=g.data,v=N.PC_device_theme,V=N.PC_batteryicon,y=N.PC_showbatteryicon,_=N.PC_batterypercent,x=N.PC_ntneticon,k=N.PC_apclinkicon,w=N.PC_stationtime,L=N.PC_programheaders,B=void 0===L?[]:L,S=N.PC_showexitprogram;return(0,o.createComponentVNode)(2,l.Window,{title:n,width:u,height:m,theme:h,resizable:p,children:(0,o.createVNode)(1,"div","NtosWindow",[(0,o.createVNode)(1,"div","NtosWindow__header NtosHeader",[(0,o.createVNode)(1,"div","NtosHeader__left",[(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,mr:2,children:w}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,mr:2,opacity:.33,children:["ntos"===v&&"NtOS","syndicate"===v&&"Syndix"]})],4),(0,o.createVNode)(1,"div","NtosHeader__right",[B.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(e.icon)})},e.icon)})),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:x&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(x)})}),!!y&&V&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:[V&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(V)}),_&&_]}),k&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(k)})}),!!S&&(0,o.createComponentVNode)(2,a.Button,{width:"26px",textAlign:"center",color:"transparent",icon:"window-minimize-o",tooltip:"Minimize",tooltipPosition:"bottom",onClick:function(){return b("PC_minimize")}}),!!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",textAlign:"center",color:"transparent",icon:"window-close-o",tooltip:"Close",tooltipPosition:"bottom-left",onClick:function(){return b("PC_exit")}}),!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"power-off",tooltip:"Power off",tooltipPosition:"bottom-left",onClick:function(){return b("PC_shutdown")}})],0)],4,{onMouseDown:function(){(0,c.refocusLayout)()}}),C],0)})};t.NtosWindow=d;d.Content=function(e){return(0,o.createVNode)(1,"div","NtosWindow__content",(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Window.Content,Object.assign({},e))),2)}},function(e,t,n){"use strict";t.__esModule=!0,t.BlockQuote=void 0;var o=n(0),r=n(9),i=n(17);t.BlockQuote=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(0),r=n(9),i=n(433),a=n(26),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(0),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,m=t.width,p=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:m,"max-height":p}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:m,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(0),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,m=e.onChange,p=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,_=e.ranges,x=void 0===_?{}:_,k=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:m,onDrag:p,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,m=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,x)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*p)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"rem"},v)},B)),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(0),r=n(174);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(0),r=n(9),i=n(17),a=n(173),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,m=e.content,p=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[m,p]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(0),r=n(3),i=n(2);n(122),n(26);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,m=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:m+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(0),r=n(9),i=n(17),a=n(172);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(0),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,m=e.ranges,p=void 0===m?{}:m,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,p)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,m=e.children,p=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(m);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",p&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),m,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,m=e.onDrag,p=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,_=e.children,x=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),k=_!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:m,step:p,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,m=e.handleDragStart,p=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(x)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",k?_:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(x),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(0),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":451,"./APC.js":452,"./AiAirlock.js":453,"./AiRestorer.js":454,"./AiSupermatter.js":455,"./AirAlarm.js":456,"./AlgaeFarm.js":458,"./AppearanceChanger.js":459,"./AreaScrubberControl.js":460,"./AtmosAlertConsole.js":461,"./AtmosControl.js":177,"./AtmosFilter.js":462,"./AtmosMixer.js":463,"./BodyDesigner.js":464,"./BodyScanner.js":465,"./CameraConsole.js":178,"./Canister.js":466,"./ChemDispenser.js":467,"./ChemMaster.js":471,"./CloningConsole.js":472,"./CrewMonitor.js":180,"./Cryo.js":473,"./DNAModifier.js":474,"./DestinationTagger.js":475,"./DiseaseSplicer.js":476,"./DishIncubator.js":477,"./DisposalBin.js":478,"./DroneConsole.js":479,"./EmbeddedController.js":480,"./ExonetNode.js":481,"./FileCabinet.js":482,"./GasPump.js":483,"./GasTemperatureSystem.js":484,"./GeneralAtmoControl.js":485,"./GeneralRecords.js":486,"./Gps.js":487,"./GravityGenerator.js":488,"./IDCard.js":489,"./IsolationCentrifuge.js":490,"./MedicalRecords.js":491,"./MessageMonitor.js":492,"./MiningOreProcessingConsole.js":493,"./MiningStackingConsole.js":494,"./MiningVendor.js":495,"./MuleBot.js":496,"./NTNetRelay.js":497,"./NoticeBoard.js":498,"./NtosAtmosControl.js":499,"./NtosCameraConsole.js":500,"./NtosCrewMonitor.js":501,"./NtosPowerMonitor.js":502,"./NtosRCON.js":503,"./NtosShutoffMonitor.js":504,"./NtosStationAlertConsole.js":505,"./NtosSupermatterMonitor.js":506,"./OmniFilter.js":507,"./OmniMixer.js":508,"./OperatingComputer.js":509,"./ParticleAccelerator.js":510,"./PathogenicIsolator.js":511,"./PipeDispenser.js":512,"./PortableGenerator.js":513,"./PortablePump.js":514,"./PortableScrubber.js":515,"./PowerMonitor.js":184,"./PressureRegulator.js":516,"./RCON.js":185,"./RIGSuit.js":517,"./Radio.js":518,"./RapidPipeDispenser.js":189,"./RequestConsole.js":519,"./ResleevingConsole.js":520,"./ResleevingPod.js":521,"./RogueZones.js":522,"./ShieldCapacitor.js":523,"./ShieldGenerator.js":524,"./ShutoffMonitor.js":186,"./ShuttleControl.js":525,"./Signaler.js":526,"./Sleeper.js":527,"./SmartVend.js":528,"./Smes.js":529,"./SolarControl.js":530,"./SpaceHeater.js":531,"./StationAlertConsole.js":187,"./SuitCycler.js":532,"./SuitStorageUnit.js":533,"./SupermatterMonitor.js":188,"./SupplyConsole.js":534,"./TEGenerator.js":535,"./Tank.js":536,"./TankDispenser.js":537,"./TelecommsLogBrowser.js":538,"./TelecommsMachineBrowser.js":539,"./TelecommsMultitoolMenu.js":540,"./Turbolift.js":541,"./Vending.js":542,"./VorePanel.js":543,"./Wires.js":544};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=450},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,m=l.flushing,p=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(176),l=n(61);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[p.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],m=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,m=c.isDead,p=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(31),n(61));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(0),r=n(6),i=(n(18),n(2)),a=n(3),c=n(35),l=n(4),d=n(176),u=n(457);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(0),r=n(18),i=n(2),a=n(3);n(35);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,m=n.excheck,p=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,m=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=(n(6),n(18));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,m=d.last_flow_rate,p=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(0),r=n(22),i=n(18),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,_=f.change_eye_color,x=f.change_skin_tone,k=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=_||x||k||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,m):null,S&&4===M?(0,o.createComponentVNode)(2,p):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,m=i.change_facial_hair_color,p=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,m?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c=n(18);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],m=u[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return m(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,m=d.diskStored,p=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},m=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,_);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},_=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(31),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,m=u.can_relabel,p=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(179),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},m=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,f=void 0===p?[]:p;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",m," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(469)()},function(e,t,n){"use strict";var o=n(470);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(179),l=n(49),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,p=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,m=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:m?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(35),l=n(49),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,m=d.health,p=d.unidentity,f=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,p):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,m=l.locked,p=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=m&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,m=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,m=d.hasOccupant,p=d.occupant,f=void 0===p?[]:p,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(49),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,p=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,m=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,m=c.split(""),p=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:m[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(0),r=(n(6),n(31)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,m=d.food_supply,p=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,_=d.analysed,x=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":f>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:_?x:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(0),r=(n(18),n(6),n(2)),i=n(3),a=n(4),c=((0,n(26).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,m=n.fingerprint_hash,p=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(0),r=(n(6),n(31),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return p&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return c("sample")}})})]}),f]}),u&&!m||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(49),c=n(4),l=n(181),d=n(182),u=n(92),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=n(92),d=n(61);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),p=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):p?f?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,p):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,m=c.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=(n(22),n(183));t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.unclaimedPoints,s=(d.ores,d.showAllOres,d.power);return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,onClick:function(){return r("power")},children:s?"Smelting":"Not Smelting"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:u<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:u})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],u=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],s=function(e,t){return-1===u.indexOf(e.ore)||-1===u.indexOf(t.ore)?e.ore-t.ore:u.indexOf(t.ore)-u.indexOf(e.ore)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,u=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return c("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:u.length&&u.sort(s).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:d.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);n(22);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.stacktypes,s=d.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return l("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),u.length&&u.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=n(183);var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),l=(n.act,n.data),u=l.has_id,s=l.id,p=l.items,f=(0,i.useLocalState)(t,"search",""),h=f[0],C=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),g=C[0],b=(C[1],(0,i.useLocalState)(t,"descending",!1)),N=b[0],v=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),V=!1,y=Object.entries(p).map((function(e,t){var n=Object.entries(e[1]).filter(v).map((function(e){return e[1].affordable=u&&s.points>=e[1].price,e[1]})).sort(d[g]);if(0!==n.length)return N&&(n=n.reverse()),V=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,c.refocusLayout)()},children:V?y:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),l=(c[0],c[1]),u=(0,i.useLocalState)(t,"descending",!1),s=u[0],m=u[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-left",ml:"0.5rem",onClick:function(){return m(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=e.title,d=e.items,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},u,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!c.has_id||c.id.points=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(190);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,m=d.default_pressure,p=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4)),c=n(190);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:m,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=n(18);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,m=c.malf,p=c.aicontrol,f=c.ai,h=null;return s||m?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&p&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,m=c.sealing,p=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,m=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),m&&m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(0),r=(n(22),n(6)),i=n(2),a=n(3),c=n(35),l=n(4);(0,n(26).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,m=u.minFrequency,p=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,_=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),x=156;return b&&b.length>0?x+=28*b.length+6:x+=24,g&&(x+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:x,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:_.color,ml:2,children:["[",_.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RequestConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n=(0,i.useBackend)(t).act,r=e.dept_list,c=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==c&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return n("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return n("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!c,icon:c?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",c?"OFF":"ON"]})})},1:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},2:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},3:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},4:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print",{print:t+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},t)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.message,u=l.recipient,s=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+u,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===s?"High Priority":1===s?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return c("department",{department:u})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return c("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(c.department,c.screen,c.message_log,c.newmessagepriority,c.silent,c.announcementConsole,c.assist_dept,c.supply_dept,c.info_dept,c.message),d=(c.recipient,c.priority,c.msgStamped,c.msgVerified,c.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};t.RequestConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,u=l.screen,s=l.newmessagepriority,m=l.announcementConsole,p=d[u];return(0,o.createComponentVNode)(2,c.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===u,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===u,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),s&&(0,o.createComponentVNode)(2,a.Section,{title:s>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:s>1?"bad":"average",bold:s>1})||null,(0,o.createComponentVNode)(2,p)]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=(n(35),n(49)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,m=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,m=c.mind_compat,p=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(g=(0,o.createComponentVNode)(2,p)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},p=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(0),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,m=n.mindStatus,p=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RogueZones=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.RogueZones=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.timeout_percent,u=l.diffstep,s=l.difficulty,m=l.occupied,p=l.scanning,f=l.updated,h=l.debug,C=l.shuttle_location,g=l.shuttle_at_station,b=l.scan_ready,N=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mineral Content",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shuttle Location",buttons:N&&(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"rocket",onClick:function(){return c("recall_shuttle")},children:"Recall Shuttle"})||null,children:C}),m&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return c("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,f&&!p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,i.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,i.Box,{children:["Diffstep: ",u]}),(0,o.createComponentVNode)(2,i.Box,{children:["Difficulty: ",s]}),(0,o.createComponentVNode)(2,i.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,i.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle Location: ",C]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle at station: ",g]}),(0,o.createComponentVNode)(2,i.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,m=u.time_since_fail,p=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(p/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31),d=n(61);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,m=d.failing,p=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,_=d.max_strengthen_rate,x=d.gen_power,k=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(x)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:p,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:_,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ShuttleControl=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n="ERROR",r="bad",i=!1;return"docked"===e?(n="DOCKED",r="good"):"docking"===e?(n="DOCKING",r="average",i=!0):"undocking"===e?(n="UNDOCKING",r="average",i=!0):"undocked"===e&&(n="UNDOCKED",r="#676767"),i&&t&&(n+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:n})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,d=e.engineName,u=void 0===d?"Bluespace Drive":d,s=c.shuttle_status,m=c.shuttle_state,p=c.has_docking,f=c.docking_status,h=c.docking_override,C=c.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:s}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:u,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(f,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:C||"Not Set"})})],4)||null]})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_launch,d=c.can_cancel,u=c.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!u,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},s={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t);n.act,n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_cloak,s=c.can_pick,m=c.legit,p=c.cloaked,f=c.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!s,onClick:function(){return r("pick")},children:f})})]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_pick,s=c.destination_name,m=c.fuel_usage,p=c.fuel_span,f=c.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:s})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[f," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.autopilot,s=d.can_rename,m=d.shuttle_state,p=d.is_moving,f=d.skip_docking,h=d.docking_status,C=d.docking_override,g=d.shuttle_location,b=d.can_cloak,N=d.cloaked,v=d.can_autopilot,V=d.routes,y=d.is_in_transit,_=d.travel_progress,x=d.time_left,k=d.doors,w=d.sensors;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:s&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(g)}),!f&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return c("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return c("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,C)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:N,icon:N?"eye":"eye-o",onClick:function(){return c("toggle_cloaked")},children:N?"Enabled":"Disabled"})})||null,v&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"eye":"eye-o",onClick:function(){return c("toggle_autopilot")},children:u?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return c("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),y&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:_,children:[x,"s"]})})})})||null,Object.keys(k).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(k).map((function(e){var t=k[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",t.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(w).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(w).map((function(e){var t=w[e];return-1!==t.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[t.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[t.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[t.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[t.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[t.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[t.phoron,"%"]}),t.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[t.other,"%"]})||null]})},e)}))})})||null],0)}))};t.ShuttleControl=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.subtemplate);return(0,o.createComponentVNode)(2,c.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:s[r]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,m=d.minFrequency,p=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,m=e.actToDo,p=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(0),r=n(2),i=n(3),a=n(31),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,m=u.capacity,p=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,_=u.outputUsed,x=(s>=100?"good":h&&"average")||"bad",k=(v?"good":p>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(p/6e4,1)," kWh / ",(0,l.round)(m/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:k,children:v?"Sending":p>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(_)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,m=d.sun_angle,p=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(0),r=n(35),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,m=d.maxTemp,p=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,m=i.locked,p=i.uv_active,f=(0,o.createComponentVNode)(2,c);return p?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,m=c.departments,p=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,m=i.uv_active,p=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):p&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,m=c.suit,p=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SupplyConsole=void 0;var o=n(0),r=n(22),i=(n(6),n(31)),a=n(2),c=n(3),l=n(49),d=n(4),u=n(56),s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data.supply_points,l=e.args,d=l.name,u=l.cost,s=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,c.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"shopping-cart",content:"Buy - "+u+" points",disabled:u>i,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})})};t.SupplyConsole=function(e,t){var n=(0,a.useBackend)(t);n.act,n.data;return(0,l.modalRegisterBodyOverride)("view_crate",s),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,c.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,l=n.data,d=l.supply_points,u=l.shuttle,s=null,m=!1;return l.shuttle_auth&&(1===u.launch&&0===u.mode?s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==u.launch||3!==u.mode&&1!==u.mode?1===u.launch&&5===u.mode&&(s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):s=(0,o.createComponentVNode)(2,c.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),u.force&&(m=!0)),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([s,m?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:u.location}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engine",children:u.engine}),4===u.mode?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA",children:u.time>1?(0,i.formatTime)(u.time):"LATE"}):null]})})]})},p=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data.order_auth,(0,a.useLocalState)(t,"tabIndex",0)),i=r[0],l=r[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"box",selected:0===i,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"check-circle-o",selected:1===i,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"circle-o",selected:2===i,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:3===i,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:4===i,onClick:function(){return l(4)},children:"Export history"})]}),0===i?(0,o.createComponentVNode)(2,f):null,1===i?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===i?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===i?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===i?(0,o.createComponentVNode)(2,C):null]})},f=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.categories,s=l.supply_packs,m=l.contraband,p=l.supply_points,f=(0,a.useLocalState)(t,"activeCategory",null),h=f[0],C=f[1],g=(0,u.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(s);return(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return C(e)}},e)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"flex-start",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return i("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return i("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return i("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=e.mode,d=i.orders,u=i.order_auth,s=i.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:["Requested"===l&&u?(0,o.createComponentVNode)(2,c.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{title:"Order "+(t+1),buttons:"All"===l&&u?(0,o.createComponentVNode)(2,c.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.entries.map((function(t){return t.entry?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:u?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.status}):null]}),u&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Approve",disabled:e.cost>s,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},t)}))]}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No orders found."})},C=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.receipts,d=i.order_auth;return l.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:l.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.title.map((function(t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:d?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry},t.field)})),e.error?(0,o.createComponentVNode)(2,c.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(t,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:n+1,edit:"meow","default":t.object})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:n+1})}})],4):null,children:[t.quantity,"x -> ",t.value," points"]},n)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},t)}))}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No receipts found."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(31);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,m=n.primary,p=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,m=i.inletTemperature,p=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,m=l.releasePressure,p=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:m===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(m),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:m===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:m===p,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,m=u.network,p=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:m,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,m=l.job,p=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,c,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(92),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,m=c.shadowlink,p=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,m=c.broadcasting,p=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(0),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,m=null;return 0===c?m=(0,o.createComponentVNode)(2,l):1===c&&(m=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[m,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,m=r.desc,p=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[p,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:m}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,p,{belly:u})]})},p=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,m=c.mode,p=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,_=c.digest_burn,x=c.bulge_size,k=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[m],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:_})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*x+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*k+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,m=c.digest_leave_remains,p=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(p?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:p?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltipPosition:"top",tooltip:m?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:m?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file From d97dd42464b9b43ca0f740c08830dd3eea5261eb Mon Sep 17 00:00:00 2001 From: David Winters Date: Mon, 17 Aug 2020 06:11:58 -0400 Subject: [PATCH 028/149] Flintlock's jacket --- .../loadout/loadout_fluffitems_vr.dm | 8 ++++++++ .../vore/fluffstuff/custom_clothes_vr.dm | 14 +++++++++++++- icons/vore/custom_clothes_vr.dmi | Bin 217800 -> 218754 bytes 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/code/modules/client/preference_setup/loadout/loadout_fluffitems_vr.dm b/code/modules/client/preference_setup/loadout/loadout_fluffitems_vr.dm index f8bffbbd90..6cbe17bce3 100644 --- a/code/modules/client/preference_setup/loadout/loadout_fluffitems_vr.dm +++ b/code/modules/client/preference_setup/loadout/loadout_fluffitems_vr.dm @@ -303,6 +303,14 @@ character_name = list("Yikatihaki") allowed_roles = list("Explorer") +/datum/gear/fluff/suit/storage/flintlock + path = /obj/item/clothing/suit/storage/flintlock + display_name = "Flintlock's jacket" + slot = slot_wear_suit + ckeywhitelist = list("flintlockdafox") + character_name = list("Flintlock Sharpsman") + + // G CKEYS // H CKEYS diff --git a/code/modules/vore/fluffstuff/custom_clothes_vr.dm b/code/modules/vore/fluffstuff/custom_clothes_vr.dm index 2f05ab268f..59b029ed20 100644 --- a/code/modules/vore/fluffstuff/custom_clothes_vr.dm +++ b/code/modules/vore/fluffstuff/custom_clothes_vr.dm @@ -1987,4 +1987,16 @@ Departamental Swimsuits, for general use icon_override = 'icons/vore/custom_clothes_vr.dmi' item_state = "zenasuit_mob" - species_restricted = null \ No newline at end of file + species_restricted = null + +/obj/item/clothing/suit/storage/flintlock + name = "green jacket" + desc = "Flintlock's green jacket. It seems to be made of rather high quality leather." + icon_state = "flintlock" + item_state_slots = list(slot_r_hand_str = "item_greensuit", slot_l_hand_str = "item_greensuit") + blood_overlay_type = "coat" + body_parts_covered = UPPER_TORSO|ARMS + flags_inv = HIDEHOLSTER + + icon_override = 'icons/vore/custom_clothes_vr.dmi' + item_state = "flintlock_mob" \ No newline at end of file diff --git a/icons/vore/custom_clothes_vr.dmi b/icons/vore/custom_clothes_vr.dmi index 7fe98dcec500e771ef5d6fcba891a2ea2c5be88c..ebe7d316a4d832766b72f5b8511c2ee266513a44 100644 GIT binary patch delta 12716 zcmY*+*Est^uq2%(V}=NS`dYl zY5*=dg^*=p#7g-N`D5K&;PwG&xFd`_>v_b`x)IdugRTves2PwM}vb4Q=?zk9J zQIT>&tuniAyXdF77H1Z_dE1iOqixT>JoDZR%kBq-@-r`wZrCs_Vw``I%pO*)or2E7 zr_-?oEmK$SDf}B@m#&K^oTv<=+eZ6)4+4^6u}@E3ebfwSO%gUOfcNY@a4>8<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1k@e1J4W*G9SKDgC7jft!fx@G$N%!9QM!6;#cz zTBCi9^2s2?&qjG*qp1cd?`5#4uE*u)3V-F?>Z(PPhK!Z#AkbW_w$|OLsnKjQ72iEk zY-=bg!bUZgTu+qrUnr8r+QQ=uVOVFJoy_Q1;^X!X7}wuvN(p>ij7?wSYl6QG|Ie1N cw%#D|73t6x{oq&30Q7pQpe|o6YZm(d05U6*a{vGU From f059c396eb18fbdc5418fd38edc888fd0b61f4e2 Mon Sep 17 00:00:00 2001 From: Rykka Date: Mon, 17 Aug 2020 08:07:03 -0400 Subject: [PATCH 029/149] Adds Spice Resistence/Intolerance Traits, Makes Frost Oil COLD - Spice Resistance traits in the same flavor as Booze traits. - 3x, 2x, 1.5x, 0.75x, 0.5x, 0.25x resistance to the effects of capsaicin and frost oil. - Frost Oil and Capsaicin will now **lower/increase your body temperature by a random amount** during the ingest step if you're over the danger threshold. - var/spice_mod is added to the species datums, much like alcohol mod. - Frost Oil will now remove 5 capsaicin on affect_ingest much like capsaicin would remove 5 frostoil. Not much else to say. I got tired of keeling over in agony after eating spicy food, and frankly, this is an RP server, so mechanical hardlimits on characters that canonically power down spicy food without giving a shit is frustrating to say the least. All changes minus the neutral traits will be PR'd to Polaris. --- .../living/carbon/human/species/species.dm | 1 + .../species/station/traits_vr/neutral.dm | 37 +++++++++++++++++++ .../Chemistry-Reagents-Food-Drinks.dm | 34 ++++++++++++++--- 3 files changed, 67 insertions(+), 5 deletions(-) diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm index 237428e24b..2157bce759 100644 --- a/code/modules/mob/living/carbon/human/species/species.dm +++ b/code/modules/mob/living/carbon/human/species/species.dm @@ -100,6 +100,7 @@ var/chemOD_mod = 1 // Damage modifier for overdose; higher = more damage from ODs var/alcohol_mod = 1 // Multiplier to alcohol strength; 0.5 = half, 0 = no effect at all, 2 = double, etc. var/pain_mod = 1 // Multiplier to pain effects; 0.5 = half, 0 = no effect (equal to NO_PAIN, really), 2 = double, etc. + var/spice_mod = 1 // Multiplier to spice/capsaicin/frostoil effects; 0.5 = half, 0 = no effect (immunity), 2 = double, etc. // set below is EMP interactivity for nonsynth carbons var/emp_sensitivity = 0 // bitflag. valid flags are: EMP_PAIN, EMP_BLIND, EMP_DEAFEN, EMP_CONFUSE, EMP_STUN, and EMP_(BRUTE/BURN/TOX/OXY)_DMG var/emp_dmg_mod = 1 // Multiplier to all EMP damage sustained by the mob, if it's EMP-sensitive diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm index a16a72c6c2..9487ea36fa 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm @@ -132,7 +132,44 @@ ..(S,H) H.verbs |= /mob/living/proc/glow_toggle H.verbs |= /mob/living/proc/glow_color + +// Spicy Food Traits, from negative to positive. +/datum/trait/spice_intolerance_extreme + name = "Extreme Spice Intolerance" + desc = "Spicy (and chilly) peppers are three times as strong. (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 3) // 300% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! +/datum/trait/spice_intolerance_basic + name = "Heavy Spice Intolerance" + desc = "Spicy (and chilly) peppers are twice as strong. (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 2) // 200% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! + +/datum/trait/spice_intolerance_slight + name = "Slight Spice Intolerance" + desc = "You have a slight struggle with spicy foods. Spicy (and chilly) peppers are one and a half times stronger. (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 1.5) // 150% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! + +/datum/trait/spice_tolerance_basic + name = "Spice Tolerance" + desc = "Spicy (and chilly) peppers are only three-quarters as strong. (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 0.75) // 75% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! + +/datum/trait/spice_tolerance_advanced + name = "Strong Spice Tolerance" + desc = "Spicy (and chilly) peppers are only half as strong. (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 0.5) // 50% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! + +/datum/trait/spice_immunity + name = "Extreme Spice Tolerance" + desc = "Spicy (and chilly) peppers are basically ineffective! (This does not affect pepperspray.)" + cost = 0 + var_changes = list("spice_mod" = 0.25) // 25% as effective if spice_mod is set to 1. If it's not 1 in species.dm, update this! + // Alcohol Traits Start Here, from negative to positive. /datum/trait/alcohol_intolerance_advanced name = "Liver of Air" diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index 43a3bf269c..ff0bcf4bbc 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -619,6 +619,28 @@ M.emote("shiver") holder.remove_reagent("capsaicin", 5) +/datum/reagent/frostoil/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) // Eating frostoil now acts like capsaicin. Wee! + if(alien == IS_DIONA) + return + if(alien == IS_ALRAUNE) // VOREStation Edit: It wouldn't affect plants that much. + if(prob(5)) + to_chat(M, "You feel a chilly, tingling sensation in your mouth.") + M.bodytemperature -= rand(10, 25) + return + if(ishuman(M)) + var/mob/living/carbon/human/H = M + if(!H.can_feel_pain()) + return + var/effective_dose = (dose * M.species.spice_mod) + if((effective_dose < 5) && (dose == metabolism || prob(5))) + to_chat(M, "Your insides suddenly feel a spreading chill!") + if(effective_dose >= 5) + M.apply_effect(2 * M.species.spice_mod, AGONY, 0) + M.bodytemperature -= rand(1, 5) * spice_mod // Really fucks you up, cause it makes you cold. + if(prob(5)) + M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are freezing!", "Your insides feel like they're turning to ice!")) + holder.remove_reagent("capsaicin", 5) + /datum/reagent/frostoil/cryotoxin //A longer lasting version of frost oil. name = "Cryotoxin" id = "cryotoxin" @@ -654,13 +676,15 @@ var/mob/living/carbon/human/H = M if(!H.can_feel_pain()) return - - if(dose < 5 && (dose == metabolism || prob(5))) + + var/effective_dose = (dose * M.species.spice_mod) + if((effective_dose < 5) && (dose == metabolism || prob(5))) to_chat(M, "Your insides feel uncomfortably hot!") - if(dose >= 5) - M.apply_effect(2, AGONY, 0) + if(effective_dose >= 5) + M.apply_effect(2 * M.species.spice_mod, AGONY, 0) + M.bodytemperature += rand(1, 5) * spice_mod // Really fucks you up, cause it makes you overheat, too. if(prob(5)) - M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", "You feel like your insides are burning!") + M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are burning!", "You feel like your insides are on fire!", "You feel like your belly is full of lava!")) holder.remove_reagent("frostoil", 5) /datum/reagent/condensedcapsaicin From 38dcada5d85bd6159251f242cdd97bb9e195d0e2 Mon Sep 17 00:00:00 2001 From: Rykka Date: Mon, 17 Aug 2020 08:14:58 -0400 Subject: [PATCH 030/149] Forgot the M.species. --- .../Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index ff0bcf4bbc..1e5b714d17 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -636,7 +636,7 @@ to_chat(M, "Your insides suddenly feel a spreading chill!") if(effective_dose >= 5) M.apply_effect(2 * M.species.spice_mod, AGONY, 0) - M.bodytemperature -= rand(1, 5) * spice_mod // Really fucks you up, cause it makes you cold. + M.bodytemperature -= rand(1, 5) * M.species.spice_mod // Really fucks you up, cause it makes you cold. if(prob(5)) M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are freezing!", "Your insides feel like they're turning to ice!")) holder.remove_reagent("capsaicin", 5) @@ -682,7 +682,7 @@ to_chat(M, "Your insides feel uncomfortably hot!") if(effective_dose >= 5) M.apply_effect(2 * M.species.spice_mod, AGONY, 0) - M.bodytemperature += rand(1, 5) * spice_mod // Really fucks you up, cause it makes you overheat, too. + M.bodytemperature += rand(1, 5) * M.species.spice_mod // Really fucks you up, cause it makes you overheat, too. if(prob(5)) M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are burning!", "You feel like your insides are on fire!", "You feel like your belly is full of lava!")) holder.remove_reagent("frostoil", 5) From d21151062fddd9e3e183bf84c08a59b13801738a Mon Sep 17 00:00:00 2001 From: Rykka Date: Mon, 17 Aug 2020 08:25:37 -0400 Subject: [PATCH 031/149] VOREStation Edit - Remove Spices canceling each other out --- .../Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index 1e5b714d17..6b65fd1a0e 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -639,7 +639,7 @@ M.bodytemperature -= rand(1, 5) * M.species.spice_mod // Really fucks you up, cause it makes you cold. if(prob(5)) M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are freezing!", "Your insides feel like they're turning to ice!")) - holder.remove_reagent("capsaicin", 5) + // holder.remove_reagent("capsaicin", 5) // VOREStation Edit: Nop, we don't instadelete spices for free. /datum/reagent/frostoil/cryotoxin //A longer lasting version of frost oil. name = "Cryotoxin" @@ -685,7 +685,7 @@ M.bodytemperature += rand(1, 5) * M.species.spice_mod // Really fucks you up, cause it makes you overheat, too. if(prob(5)) M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", pick("You feel like your insides are burning!", "You feel like your insides are on fire!", "You feel like your belly is full of lava!")) - holder.remove_reagent("frostoil", 5) + // holder.remove_reagent("frostoil", 5) // VOREStation Edit: Nop, we don't instadelete spices for free. /datum/reagent/condensedcapsaicin name = "Condensed Capsaicin" @@ -829,7 +829,7 @@ M.apply_effect(4, AGONY, 0) if(prob(5)) M.visible_message("[M] [pick("dry heaves!","coughs!","splutters!")]", "You feel like your insides are burning!") - holder.remove_reagent("frostoil", 5) + // holder.remove_reagent("frostoil", 5) // VOREStation Edit: Nop, we don't instadelete spices for free. /* Drinks */ From 82cc9df4d34d0a4a5fe4151ee7aa56848cad5f13 Mon Sep 17 00:00:00 2001 From: ontejbjoav <69801569+ontejbjoav@users.noreply.github.com> Date: Mon, 17 Aug 2020 14:10:26 +0100 Subject: [PATCH 032/149] Adds ontejbjoav to alienwhitelist.txt Updated whitelist after my Diona app was accepted https://forum.vore-station.net/viewtopic.php?f=46&t=1803 --- config/alienwhitelist.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/config/alienwhitelist.txt b/config/alienwhitelist.txt index 2371f531f6..c87dcf2bd4 100644 --- a/config/alienwhitelist.txt +++ b/config/alienwhitelist.txt @@ -31,6 +31,7 @@ mewchild - Vox mrsebbi - Xenochimera natje - Xenochimera nerdass - Protean +ontejbjoav - Diona oreganovulgaris - Xenochimera paradoxspace - Xenochimera pearlprophet - Protean From c63d6c5777da467c5149918f39bdc20c0d40bf77 Mon Sep 17 00:00:00 2001 From: listerla <57296132+listerla@users.noreply.github.com> Date: Mon, 17 Aug 2020 12:57:50 -0400 Subject: [PATCH 033/149] Adds wearing cones and caution signs (#7466) * Adds wearing cones and caution signs * Fixes quarantine shuttle PoI * Create Lorilili - janiwear.yml --- code/datums/supplypacks/supply.dm | 2 +- code/defines/obj/weapon.dm | 22 ----------- code/game/objects/random/maintenance.dm | 4 +- .../crates_lockers/closets/job_closets.dm | 2 +- code/game/objects/structures/janicart.dm | 6 +-- code/game/objects/structures/loot_piles.dm | 4 +- code/modules/clothing/head/misc_special.dm | 17 +++++++++ code/modules/clothing/suits/miscellaneous.dm | 35 ++++++++++++++++++ .../xenoarcheaology/artifacts/replicator.dm | 4 +- html/changelogs/Lorilili - janiwear.yml | 4 ++ icons/mob/head.dmi | Bin 219603 -> 220057 bytes icons/mob/suit.dmi | Bin 318473 -> 319668 bytes icons/obj/clothing/hats.dmi | Bin 113096 -> 113381 bytes icons/obj/clothing/suits.dmi | Bin 101136 -> 101645 bytes icons/obj/janitor.dmi | Bin 17562 -> 17911 bytes maps/southern_cross/southern_cross-1.dmm | 2 +- .../mountains/quarantineshuttle.dmm | 2 +- 17 files changed, 69 insertions(+), 35 deletions(-) create mode 100644 html/changelogs/Lorilili - janiwear.yml diff --git a/code/datums/supplypacks/supply.dm b/code/datums/supplypacks/supply.dm index e9fa3f2d99..9414d6201d 100644 --- a/code/datums/supplypacks/supply.dm +++ b/code/datums/supplypacks/supply.dm @@ -39,7 +39,7 @@ /obj/item/clothing/head/soft/purple, /obj/item/weapon/storage/belt/janitor, /obj/item/clothing/shoes/galoshes, - /obj/item/weapon/caution = 4, + /obj/item/clothing/suit/caution = 4, /obj/item/weapon/storage/bag/trash, /obj/item/device/lightreplacer, /obj/item/weapon/reagent_containers/spray/cleaner, diff --git a/code/defines/obj/weapon.dm b/code/defines/obj/weapon.dm index 99c0f753c8..8e7ccb4070 100644 --- a/code/defines/obj/weapon.dm +++ b/code/defines/obj/weapon.dm @@ -110,28 +110,6 @@ item_state = "gift" w_class = ITEMSIZE_LARGE -/obj/item/weapon/caution - desc = "Caution! Wet Floor!" - name = "wet floor sign" - icon = 'icons/obj/janitor.dmi' - icon_state = "caution" - force = 1.0 - throwforce = 3.0 - throw_speed = 1 - throw_range = 5 - w_class = ITEMSIZE_SMALL - attack_verb = list("warned", "cautioned", "smashed") - -/obj/item/weapon/caution/cone - desc = "This cone is trying to warn you of something!" - name = "warning cone" - icon_state = "cone" - -/obj/item/weapon/caution/cone/candy - desc = "This cone is trying to warn you of something! It has been painted to look like candy corn." - name = "candy cone" - icon_state = "candycone" - /*/obj/item/weapon/syndicate_uplink name = "station bounced radio" desc = "Remain silent about this..." diff --git a/code/game/objects/random/maintenance.dm b/code/game/objects/random/maintenance.dm index 37dcca8319..155a9abad0 100644 --- a/code/game/objects/random/maintenance.dm +++ b/code/game/objects/random/maintenance.dm @@ -101,8 +101,8 @@ something, make sure it's not in one of the other lists.*/ prob(1);/obj/item/clothing/under/tactical, prob(3);/obj/item/clothing/accessory/storage/webbing, prob(3);/obj/item/weapon/camera_assembly, - prob(4);/obj/item/weapon/caution, - prob(3);/obj/item/weapon/caution/cone, + prob(4);/obj/item/clothing/suit/caution, + prob(3);/obj/item/clothing/head/cone, prob(1);/obj/item/weapon/card/emag_broken, prob(2);/obj/item/device/camera, prob(3);/obj/item/device/pda, diff --git a/code/game/objects/structures/crates_lockers/closets/job_closets.dm b/code/game/objects/structures/crates_lockers/closets/job_closets.dm index 72a3d29a07..4f73d4151c 100644 --- a/code/game/objects/structures/crates_lockers/closets/job_closets.dm +++ b/code/game/objects/structures/crates_lockers/closets/job_closets.dm @@ -64,7 +64,7 @@ /obj/item/clothing/head/soft/purple, /obj/item/clothing/head/beret/purple, /obj/item/device/flashlight, - /obj/item/weapon/caution = 4, + /obj/item/clothing/suit/caution = 4, /obj/item/device/lightreplacer, /obj/item/weapon/storage/bag/trash, /obj/item/weapon/storage/belt/janitor, diff --git a/code/game/objects/structures/janicart.dm b/code/game/objects/structures/janicart.dm index d14efeea5b..de07aa8de8 100644 --- a/code/game/objects/structures/janicart.dm +++ b/code/game/objects/structures/janicart.dm @@ -93,7 +93,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart) to_chat(user, "You put [I] into [src].") return 1 - else if(istype(I, /obj/item/weapon/caution)) + else if(istype(I, /obj/item/clothing/suit/caution)) if(signs < 4) user.unEquip(I, 0, src) signs++ @@ -192,7 +192,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart) myreplacer = null if("sign") if(signs) - var/obj/item/weapon/caution/Sign = locate() in src + var/obj/item/clothing/suit/caution/Sign = locate() in src if(Sign) user.put_in_hands(Sign) to_chat(user, "You take \a [Sign] from [src].") @@ -258,7 +258,7 @@ GLOBAL_LIST_BOILERPLATE(all_janitorial_carts, /obj/structure/janitorialcart) mybucket = null if (signs) - for (var/obj/item/weapon/caution/Sign in src) + for (var/obj/item/clothing/suit/caution/Sign in src) if (prob(min((chance*2),100))) signs-- Sign.forceMove(dropspot) diff --git a/code/game/objects/structures/loot_piles.dm b/code/game/objects/structures/loot_piles.dm index b11f7aa36c..f8578e121a 100644 --- a/code/game/objects/structures/loot_piles.dm +++ b/code/game/objects/structures/loot_piles.dm @@ -192,8 +192,8 @@ Loot piles can be depleted, if loot_depleted is turned on. Note that players wh /obj/item/weapon/spacecash/c10, /obj/item/weapon/spacecash/c20, /obj/item/weapon/camera_assembly, - /obj/item/weapon/caution, - /obj/item/weapon/caution/cone, + /obj/item/clothing/suit/caution, + /obj/item/clothing/head/cone, /obj/item/weapon/card/emag_broken, /obj/item/device/camera, /obj/item/device/pda, diff --git a/code/modules/clothing/head/misc_special.dm b/code/modules/clothing/head/misc_special.dm index a3da836d7c..b23f70b185 100644 --- a/code/modules/clothing/head/misc_special.dm +++ b/code/modules/clothing/head/misc_special.dm @@ -7,6 +7,7 @@ * Kitty ears * Holiday hats Crown of Wrath + Warning cone */ /* @@ -288,3 +289,19 @@ /obj/item/clothing/head/psy_crown/gluttony/activate_ability(var/mob/living/wearer) ..() wearer.add_modifier(/datum/modifier/gluttonyregeneration, 45 SECONDS) + +/obj/item/clothing/head/cone + name = "warning cone" + desc = "This cone is trying to warn you of something!" + description_info = "It looks like you can wear it in your head slot." + icon_state = "cone" + item_state = "cone" + drop_sound = 'sound/items/drop/shoes.ogg' + force = 1 + throwforce = 3 + throw_speed = 2 + throw_range = 5 + w_class = 2 + body_parts_covered = HEAD + attack_verb = list("warned", "cautioned", "smashed") + armor = list("melee" = 5, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0) \ No newline at end of file diff --git a/code/modules/clothing/suits/miscellaneous.dm b/code/modules/clothing/suits/miscellaneous.dm index 32e5e19743..6c12a2e68d 100644 --- a/code/modules/clothing/suits/miscellaneous.dm +++ b/code/modules/clothing/suits/miscellaneous.dm @@ -892,3 +892,38 @@ obj/item/clothing/suit/kamishimo /obj/item/clothing/suit/storage/snowsuit/science name = "science snowsuit" icon_state = "snowsuit_science" + +/obj/item/clothing/suit/caution + name = "wet floor sign" + desc = "Caution! Wet Floor!" + description_fluff = "Used by the janitor to passive-aggressively point at when you eventually slip on one of their mopped floors." + description_info = "Alt-click, or click in-hand to toggle the caution lights. It looks like you can wear it in your suit slot." + icon_state = "caution" + drop_sound = 'sound/items/drop/shoes.ogg' + force = 1 + throwforce = 3 + throw_speed = 2 + throw_range = 5 + w_class = 2 + body_parts_covered = UPPER_TORSO|LOWER_TORSO + attack_verb = list("warned", "cautioned", "smashed") + armor = list("melee" = 5, "bullet" = 0, "laser" = 0,"energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 0, "acid" = 0) + +/obj/item/clothing/suit/caution/attack_self() + toggle() + +/obj/item/clothing/suit/caution/AltClick() + toggle() + +/obj/item/clothing/suit/caution/proc/toggle() + if(!usr || usr.stat || usr.lying || usr.restrained() || !Adjacent(usr)) return + else if(src.icon_state == "caution") + src.icon_state = "caution_blinking" + src.item_state = "caution_blinking" + usr.show_message("You turn the wet floor sign on.") + playsound(src.loc, 'sound/machines/button.ogg', 30, 1) + else + src.icon_state = "caution" + src.item_state = "caution" + usr.show_message("You turn the wet floor sign off.") + update_clothing_icon() \ No newline at end of file diff --git a/code/modules/xenoarcheaology/artifacts/replicator.dm b/code/modules/xenoarcheaology/artifacts/replicator.dm index da5b123c16..49e24f8a97 100644 --- a/code/modules/xenoarcheaology/artifacts/replicator.dm +++ b/code/modules/xenoarcheaology/artifacts/replicator.dm @@ -42,8 +42,8 @@ /obj/item/weapon/bikehorn, /obj/item/weapon/surgical/bonesetter, /obj/item/weapon/material/knife/butch, - /obj/item/weapon/caution, - /obj/item/weapon/caution/cone, + /obj/item/clothing/suit/caution, + /obj/item/clothing/head/cone, /obj/item/weapon/tool/crowbar, /obj/item/weapon/clipboard, /obj/item/weapon/cell, diff --git a/html/changelogs/Lorilili - janiwear.yml b/html/changelogs/Lorilili - janiwear.yml new file mode 100644 index 0000000000..25cab7fd3b --- /dev/null +++ b/html/changelogs/Lorilili - janiwear.yml @@ -0,0 +1,4 @@ +author: Lorilili +delete-after: True +changes: + - rscadd: "You can now wear caution signs and warning cones." \ No newline at end of file diff --git a/icons/mob/head.dmi b/icons/mob/head.dmi index f241ee11e828136f4f1b3b20f107d6ceb8b975cb..d2be45594c1f699bc8f55e74a75056a316fb0d0e 100644 GIT binary patch delta 5413 zcmb_fXH*kiw+@P61Kw*x1x1u1s04}9BA|$308x>mbVUP#G!;Q042lgAk%$y&`ckA9 zDWOL}q)4bqAO;cz1OkD8kV4wr;nVltU*B4H-Sy2{lbn5KX77E@K6^jU9;lE>!O6T- zk-(O#Mr=@w-0)xmc{xu>4=-ZRObnWUAwngu*PmZhO$0YbHEej&ut5U4SK%5qtX4n* z`qTXGF`f@fCST@YpmTLeO8%GR#SK%PhiA9`OgwIxvf8Y?ip-Fiyz}kpDaj4#v`f>0 z>a$jpl~rhcUl!UM@#I-Zz^@ru(+y@lPp#A@Y{@YiQ?Xi?t5=)tZ4c!&n&@Ww>nca9 zj4zH{=PoBxD9qqKt|y)q{>tB#-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:28:54 -0400 Subject: [PATCH 035/149] Yes --- code/modules/vore/fluffstuff/custom_clothes_vr.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/vore/fluffstuff/custom_clothes_vr.dm b/code/modules/vore/fluffstuff/custom_clothes_vr.dm index 59b029ed20..3df20d6a2b 100644 --- a/code/modules/vore/fluffstuff/custom_clothes_vr.dm +++ b/code/modules/vore/fluffstuff/custom_clothes_vr.dm @@ -1992,6 +1992,7 @@ Departamental Swimsuits, for general use /obj/item/clothing/suit/storage/flintlock name = "green jacket" desc = "Flintlock's green jacket. It seems to be made of rather high quality leather." + icon = 'icons/vore/custom_clothes_vr.dmi' icon_state = "flintlock" item_state_slots = list(slot_r_hand_str = "item_greensuit", slot_l_hand_str = "item_greensuit") blood_overlay_type = "coat" From eb48eef20e52f1f46f8c7a759f73663e2605dbe0 Mon Sep 17 00:00:00 2001 From: SubberTheFabulous Date: Tue, 18 Aug 2020 05:03:40 +0700 Subject: [PATCH 036/149] Adds New Prosthetics Set (#7467) * Adds a new FBP CS set, removes old alt2 * Adds a new FBP CS set, removes old alt2 * Readds Cyber Solutions - Array * Readds Cyber Solutions - Array * Adds a new FBP CS set Changelog --- code/modules/organs/robolimbs.dm | 14 +++++-- html/changelogs/SubberTheFabulous-PR-7467.yml | 36 ++++++++++++++++++ .../cybersolutions/cybersolutions_alt2.dmi | Bin 603 -> 2143 bytes .../cybersolutions/cybersolutions_alt3.dmi | Bin 0 -> 603 bytes 4 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 html/changelogs/SubberTheFabulous-PR-7467.yml create mode 100644 icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt3.dmi diff --git a/code/modules/organs/robolimbs.dm b/code/modules/organs/robolimbs.dm index a0ca24e997..8a06b043d0 100644 --- a/code/modules/organs/robolimbs.dm +++ b/code/modules/organs/robolimbs.dm @@ -186,11 +186,10 @@ var/const/standard_monitor_styles = "blank=ipc_blank;\ unavailable_to_build = 1 /datum/robolimb/cybersolutions_alt2 - company = "Cyber Solutions - Array" - desc = "This limb is simple and functional; array of sensors on a featureless case." + company = "Cyber Solutions - Outdated" + desc = "This limb is of severely outdated design; there's no way it's comfortable or very functional to use." icon = 'icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt2.dmi' unavailable_to_build = 1 - parts = list(BP_HEAD) /datum/robolimb/cybersolutions_alt1 company = "Cyber Solutions - Wight" @@ -198,6 +197,13 @@ var/const/standard_monitor_styles = "blank=ipc_blank;\ icon = 'icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt1.dmi' unavailable_to_build = 1 +/datum/robolimb/cybersolutions_alt3 + company = "Cyber Solutions - Array" + desc = "This limb is simple and functional; array of sensors on a featureless case." + icon = 'icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt3.dmi' + unavailable_to_build = 1 + parts = list(BP_HEAD) + /datum/robolimb/einstein company = "Einstein Engines" desc = "This limb is lightweight with a sleek design." @@ -484,4 +490,4 @@ var/const/standard_monitor_styles = "blank=ipc_blank;\ species = SPECIES_ZADDAT /obj/item/weapon/disk/limb/cenilimicybernetics - company = "Cenilimi Cybernetics" \ No newline at end of file + company = "Cenilimi Cybernetics" diff --git a/html/changelogs/SubberTheFabulous-PR-7467.yml b/html/changelogs/SubberTheFabulous-PR-7467.yml new file mode 100644 index 0000000000..a5adf1f887 --- /dev/null +++ b/html/changelogs/SubberTheFabulous-PR-7467.yml @@ -0,0 +1,36 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# wip (For works in progress) +# tweak +# soundadd +# sounddel +# rscadd (general adding of nice things) +# rscdel (general deleting of nice things) +# imageadd +# imagedel +# maptweak +# spellcheck (typo fixes) +# experiment +################################# + +# Your name. +author: Subber + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, all entries are changed into a single [] after a master changelog generation. Just remove the brackets when you add new entries. +# Please surround your changes in double quotes ("), as certain characters otherwise screws up compiling. The quotes will not show up in the changelog. +changes: + - rscadd: "Added a new prosthetic sprite set: Cyber Solutions - Outdated." diff --git a/icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt2.dmi b/icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt2.dmi index d2f9c44e911f08a152e97dfdb52448eaf43c23d2..a1a7a461229a3fcfc25a14566e37226790718aa9 100644 GIT binary patch literal 2143 zcmZ8hXH*mD5=|(AKo(gbD7q9uX^Y@W2}MH*(t8US1qEq_gphzVC5kK}QWSiGgc67X zQUW$qT4*aZNTe-M!dsAlK>{YUB#^~--oCT@zCU+n&YbVgnL9I?9&Yv^DP<`D0044y zfO!D`z&#TPkQCj6D|K+6JqY%2@v);&C~!F3#Kgqk-`~i{$k^CeM@J_hAi&kt6%`%3 zm*wi}j6$K%XtbW59twqwjz+t(3#(BAU1FRON!uFiTBp)~qb{QKI8ySO(M56$J1VT2gO{!b% z0A($p%;tU@_sUnVADw<(P=u`t0P@{B{Vda(bHoJtPlA=)wEBb%@w5?HYTUVeu*nlR-r2+GtK?{ElAn1^f3&_mU*r$5`f+{@Ezn0bD1 z$7NB`pH0L?P56Q%WFB|%=pv3pnc)5UcWfdr4c$7JsV`ZZ@wM!V9W zi38QnPe_^}6sYAP4gty@EArOK0LR=CxTg`+m;6Q#B|l5Lu3vujy2+DUiTBn!&kXX$ z%RsQ(+Tfo zpi^ERWDpWdS?3Q(##3eY1pUX`GD_HOb|*VvW(A+57fXb>J#OdS$@VxZy1qq0} zY5U%+qsq`eaQ>LCbgx-nPUg&G{Z@xY zP7y=wU$;YgurAhGD;-JT0j8RYsQR8f@`Sk!h!)s`=FJN@VH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Lp|ws=J~=?RXAb$ zbw+d9yTgBi6Ye%JB@|W|?BQrp_Jm%k>igw%PuYuGUpXqD3d&T=86Avb zFsOPEq+6~rxxGmf2-??ypoJ|}`_fc{;Sn}MwJ|kEh(RzJ&KwSZLc*wU mF7;sZe-azkf%*$uhdD}?$cHNyGSK$#L+@zk25YbhzWFDHK?QyQ literal 603 zcmV-h0;K(kP)k0d!JMQvg8b*k%9#0B?F!Sad{Xb7OL8aCB*JZU6vy zoKseCa&`CgQ*iP1GC)ttc@!6~s0~Qv)2$o1x&qz&Eui=bPyML*mDDrnx&mFa^?@I!xdC!dd#+#ph^8yjwG}NT`vID4f&>iGwJ{xIT?@Bcx681N77|3QBk3;_54pg)WR^!xwm2b{P+j0C{@f7Bmh pg8P5iA7Y~WKmQ*fgb+fA!w>HQ4UNx_E$sjR002ovPDHLkV1ln(3PS(@ diff --git a/icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt3.dmi b/icons/mob/human_races/cyberlimbs/cybersolutions/cybersolutions_alt3.dmi new file mode 100644 index 0000000000000000000000000000000000000000..d2f9c44e911f08a152e97dfdb52448eaf43c23d2 GIT binary patch literal 603 zcmV-h0;K(kP)k0d!JMQvg8b*k%9#0B?F!Sad{Xb7OL8aCB*JZU6vy zoKseCa&`CgQ*iP1GC)ttc@!6~s0~Qv)2$o1x&qz&Eui=bPyML*mDDrnx&mFa^?@I!xdC!dd#+#ph^8yjwG}NT`vID4f&>iGwJ{xIT?@Bcx681N77|3QBk3;_54pg)WR^!xwm2b{P+j0C{@f7Bmh pg8P5iA7Y~WKmQ*fgb+fA!w>HQ4UNx_E$sjR002ovPDHLkV1ln(3PS(@ literal 0 HcmV?d00001 From e21b1b158f09eb73b3d32ed70bea6069f91e1622 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Mon, 17 Aug 2020 15:08:36 -0700 Subject: [PATCH 038/149] Merge pull request #7470 from Rykka-Stormheart/admin-ghost-examine-QOL Admin ghosts can now examine other ghosts to pull up admin tools! --- code/modules/mob/dead/observer/observer.dm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 9dca9c6fdc..fcc85f2a2f 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -160,6 +160,12 @@ I = getFlatIcon(src, defdir = SOUTH, no_anim = TRUE) set_cached_examine_icon(src, I, 200 SECONDS) return I + +/mob/observer/dead/examine(mob/user) + . = ..() + + if(is_admin(user)) + . += "\t>[ADMIN_FULLMONTY(src)]" /* Transfer_mind is there to check if mob is being deleted/not going to have a body. From ccd5993b38bc303974c29c0140fc216e7cc2101d Mon Sep 17 00:00:00 2001 From: Mechoid Date: Mon, 17 Aug 2020 15:19:20 -0700 Subject: [PATCH 040/149] Exosuit Upkeep (#7473) * Exosuit upkeep, lower slowdown of Durand and Gygax components, guns now slow far less. * Time time time. * Seeds survive. For now. --- code/game/mecha/components/armor.dm | 8 ++++---- code/game/mecha/equipment/tools/armor_melee.dm | 2 +- code/game/mecha/equipment/tools/armor_ranged.dm | 2 +- code/game/mecha/equipment/tools/shield.dm | 2 +- code/game/mecha/equipment/tools/shield_omni.dm | 4 ++-- .../mecha/equipment/weapons/ballistic/shotgun.dm | 2 +- .../game/mecha/equipment/weapons/energy/laser.dm | 2 +- .../mecha/equipment/weapons/explosive/missile.dm | 2 +- .../mecha/equipment/weapons/fire/flamethrower.dm | 2 +- code/game/mecha/equipment/weapons/weapons.dm | 2 +- code/game/mecha/mecha.dm | 2 +- .../research/designs/circuits/circuits.dm | 6 +++--- code/modules/research/mechfab_designs.dm | 16 ++++++++-------- 13 files changed, 26 insertions(+), 26 deletions(-) diff --git a/code/game/mecha/components/armor.dm b/code/game/mecha/components/armor.dm index b64c37bca5..ac4ce81ec5 100644 --- a/code/game/mecha/components/armor.dm +++ b/code/game/mecha/components/armor.dm @@ -92,7 +92,7 @@ /obj/item/mecha_parts/component/armor/military name = "military grade mecha plating" - step_delay = 6 + step_delay = 4 max_integrity = 100 @@ -121,14 +121,14 @@ typepass = TRUE if(typepass) - step_delay = 3 + step_delay = 0 else step_delay = initial(step_delay) /obj/item/mecha_parts/component/armor/marshal name = "marshal mecha plating" - step_delay = 5 + step_delay = 3 max_integrity = 100 @@ -215,7 +215,7 @@ /obj/item/mecha_parts/component/armor/alien name = "strange mecha plating" - step_delay = 3 + step_delay = 2 damage_absorption = list( "brute"=0.7, "fire"=0.7, diff --git a/code/game/mecha/equipment/tools/armor_melee.dm b/code/game/mecha/equipment/tools/armor_melee.dm index 085148d938..ed5724ce64 100644 --- a/code/game/mecha/equipment/tools/armor_melee.dm +++ b/code/game/mecha/equipment/tools/armor_melee.dm @@ -9,7 +9,7 @@ var/deflect_coeff = 1.15 var/damage_coeff = 0.8 - step_delay = 1 + step_delay = 0.5 equip_type = EQUIP_HULL diff --git a/code/game/mecha/equipment/tools/armor_ranged.dm b/code/game/mecha/equipment/tools/armor_ranged.dm index 5b8d6d8172..e1a06bef2d 100644 --- a/code/game/mecha/equipment/tools/armor_ranged.dm +++ b/code/game/mecha/equipment/tools/armor_ranged.dm @@ -9,7 +9,7 @@ var/deflect_coeff = 1.15 var/damage_coeff = 0.8 - step_delay = 2 + step_delay = 1 equip_type = EQUIP_HULL diff --git a/code/game/mecha/equipment/tools/shield.dm b/code/game/mecha/equipment/tools/shield.dm index 453c2ba9da..ce0c43e7da 100644 --- a/code/game/mecha/equipment/tools/shield.dm +++ b/code/game/mecha/equipment/tools/shield.dm @@ -7,7 +7,7 @@ energy_drain = 20 range = 0 - step_delay = 1 + step_delay = 0.2 var/obj/item/shield_projector/line/exosuit/my_shield = null var/my_shield_type = /obj/item/shield_projector/line/exosuit diff --git a/code/game/mecha/equipment/tools/shield_omni.dm b/code/game/mecha/equipment/tools/shield_omni.dm index aae68ef4cd..ca61a138e4 100644 --- a/code/game/mecha/equipment/tools/shield_omni.dm +++ b/code/game/mecha/equipment/tools/shield_omni.dm @@ -9,7 +9,7 @@ energy_drain = OMNI_SHIELD_DRAIN range = 0 - step_delay = 1 + step_delay = 0.2 var/obj/item/shield_projector/shields = null var/shield_type = /obj/item/shield_projector/rectangle/mecha @@ -48,7 +48,7 @@ log_message("Activated.") else set_ready_state(1) - step_delay = 1 + step_delay = initial(step_delay) log_message("Deactivated.") /obj/item/mecha_parts/mecha_equipment/omni_shield/Topic(href, href_list) diff --git a/code/game/mecha/equipment/weapons/ballistic/shotgun.dm b/code/game/mecha/equipment/weapons/ballistic/shotgun.dm index e6b12d8ebd..e698248b7f 100644 --- a/code/game/mecha/equipment/weapons/ballistic/shotgun.dm +++ b/code/game/mecha/equipment/weapons/ballistic/shotgun.dm @@ -11,7 +11,7 @@ deviation = 0.7 projectile_energy_cost = 25 - step_delay = 2 + step_delay = 0.5 origin_tech = list(TECH_MATERIAL = 3, TECH_COMBAT = 4) diff --git a/code/game/mecha/equipment/weapons/energy/laser.dm b/code/game/mecha/equipment/weapons/energy/laser.dm index 0dfcbd1328..5a480a9691 100644 --- a/code/game/mecha/equipment/weapons/energy/laser.dm +++ b/code/game/mecha/equipment/weapons/energy/laser.dm @@ -52,7 +52,7 @@ projectile = /obj/item/projectile/beam/heavylaser fire_sound = 'sound/weapons/lasercannonfire.ogg' - step_delay = 2 + step_delay = 1 origin_tech = list(TECH_MATERIAL = 3, TECH_COMBAT = 4, TECH_MAGNET = 4) diff --git a/code/game/mecha/equipment/weapons/explosive/missile.dm b/code/game/mecha/equipment/weapons/explosive/missile.dm index df8cf0c3bb..9ff28ade8e 100644 --- a/code/game/mecha/equipment/weapons/explosive/missile.dm +++ b/code/game/mecha/equipment/weapons/explosive/missile.dm @@ -2,7 +2,7 @@ var/missile_speed = 2 var/missile_range = 30 - step_delay = 2 + step_delay = 0.5 /obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/Fire(atom/movable/AM, atom/target, turf/aimloc) AM.throw_at(target,missile_range, missile_speed, chassis) diff --git a/code/game/mecha/equipment/weapons/fire/flamethrower.dm b/code/game/mecha/equipment/weapons/fire/flamethrower.dm index 532c35a6b4..5e2d79615c 100644 --- a/code/game/mecha/equipment/weapons/fire/flamethrower.dm +++ b/code/game/mecha/equipment/weapons/fire/flamethrower.dm @@ -7,7 +7,7 @@ energy_drain = 30 - step_delay = 2 + step_delay = 0.5 projectile = /obj/item/projectile/bullet/incendiary/flamethrower/large fire_sound = 'sound/weapons/towelwipe.ogg' diff --git a/code/game/mecha/equipment/weapons/weapons.dm b/code/game/mecha/equipment/weapons/weapons.dm index 9dccf551c9..fa7e2005c6 100644 --- a/code/game/mecha/equipment/weapons/weapons.dm +++ b/code/game/mecha/equipment/weapons/weapons.dm @@ -12,7 +12,7 @@ var/auto_rearm = 0 //Does the weapon reload itself after each shot? required_type = list(/obj/mecha/combat, /obj/mecha/working/hoverpod/combatpod) - step_delay = 1 + step_delay = 0.1 equip_type = EQUIP_WEAPON diff --git a/code/game/mecha/mecha.dm b/code/game/mecha/mecha.dm index cb48955d0d..bfdb4508e9 100644 --- a/code/game/mecha/mecha.dm +++ b/code/game/mecha/mecha.dm @@ -674,7 +674,7 @@ break break - return max(1, round(tally)) + return max(1, round(tally, 0.1)) /obj/mecha/proc/dyndomove(direction) if(!can_move) diff --git a/code/modules/research/designs/circuits/circuits.dm b/code/modules/research/designs/circuits/circuits.dm index 425223ffe7..008d1f486b 100644 --- a/code/modules/research/designs/circuits/circuits.dm +++ b/code/modules/research/designs/circuits/circuits.dm @@ -494,7 +494,7 @@ CIRCUITS BELOW id = "durand_main" req_tech = list(TECH_DATA = 4) materials = list("glass" = 2000, MAT_GRAPHITE = 1250) - chemicals = list("pacid" = 20) + chemicals = list("sacid" = 20) build_path = /obj/item/weapon/circuitboard/mecha/durand/main sort_string = "NAADA" @@ -503,7 +503,7 @@ CIRCUITS BELOW id = "durand_peri" req_tech = list(TECH_DATA = 4) materials = list("glass" = 2000, MAT_GRAPHITE = 1250) - chemicals = list("pacid" = 20) + chemicals = list("sacid" = 20) build_path = /obj/item/weapon/circuitboard/mecha/durand/peripherals sort_string = "NAADB" @@ -512,7 +512,7 @@ CIRCUITS BELOW id = "durand_targ" req_tech = list(TECH_DATA = 4, TECH_COMBAT = 2) materials = list("glass" = 2000, MAT_GRAPHITE = 1250) - chemicals = list("pacid" = 20) + chemicals = list("sacid" = 20) build_path = /obj/item/weapon/circuitboard/mecha/durand/targeting sort_string = "NAADC" diff --git a/code/modules/research/mechfab_designs.dm b/code/modules/research/mechfab_designs.dm index a5031055c3..8e7f31b731 100644 --- a/code/modules/research/mechfab_designs.dm +++ b/code/modules/research/mechfab_designs.dm @@ -184,49 +184,49 @@ name = "Durand Torso" id = "durand_torso" build_path = /obj/item/mecha_parts/part/durand_torso - time = 60 + time = 30 materials = list(DEFAULT_WALL_MATERIAL = 41250, MAT_PLASTEEL = 15000, "silver" = 7500) /datum/design/item/mechfab/durand/head name = "Durand Head" id = "durand_head" build_path = /obj/item/mecha_parts/part/durand_head - time = 40 + time = 20 materials = list(DEFAULT_WALL_MATERIAL = 18750, "glass" = 7500, "silver" = 2250) /datum/design/item/mechfab/durand/left_arm name = "Durand Left Arm" id = "durand_left_arm" build_path = /obj/item/mecha_parts/part/durand_left_arm - time = 40 + time = 20 materials = list(DEFAULT_WALL_MATERIAL = 26250, "silver" = 2250) /datum/design/item/mechfab/durand/right_arm name = "Durand Right Arm" id = "durand_right_arm" build_path = /obj/item/mecha_parts/part/durand_right_arm - time = 40 + time = 20 materials = list(DEFAULT_WALL_MATERIAL = 26250, "silver" = 2250) /datum/design/item/mechfab/durand/left_leg name = "Durand Left Leg" id = "durand_left_leg" build_path = /obj/item/mecha_parts/part/durand_left_leg - time = 40 + time = 20 materials = list(DEFAULT_WALL_MATERIAL = 30000, "silver" = 2250) /datum/design/item/mechfab/durand/right_leg name = "Durand Right Leg" id = "durand_right_leg" build_path = /obj/item/mecha_parts/part/durand_right_leg - time = 40 + time = 20 materials = list(DEFAULT_WALL_MATERIAL = 30000, "silver" = 2250) /datum/design/item/mechfab/durand/armour name = "Durand Armour Plates" id = "durand_armour" build_path = /obj/item/mecha_parts/part/durand_armour - time = 90 + time = 60 materials = list(DEFAULT_WALL_MATERIAL = 27500, MAT_PLASTEEL = 10000, "uranium" = 7500) /datum/design/item/mechfab/janus @@ -1043,7 +1043,7 @@ /datum/design/item/mechfab/exointernal category = "Exosuit Internals" - time = 120 + time = 30 req_tech = list(TECH_MATERIAL = 3, TECH_ENGINEERING = 3) /datum/design/item/mechfab/exointernal/stan_armor From a826af32d168d4da8448df0aba354ab51c8c31a0 Mon Sep 17 00:00:00 2001 From: Atermonera Date: Mon, 17 Aug 2020 15:24:07 -0700 Subject: [PATCH 042/149] Merge pull request #7477 from listerla/servosound Replaces bolt sounds for rigs with servo sounds --- code/modules/clothing/spacesuits/rig/rig.dm | 6 +++--- sound/machines/rig/rigservo.ogg | Bin 0 -> 8542 bytes 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 sound/machines/rig/rigservo.ogg diff --git a/code/modules/clothing/spacesuits/rig/rig.dm b/code/modules/clothing/spacesuits/rig/rig.dm index 140bf6ecc9..cd65478a05 100644 --- a/code/modules/clothing/spacesuits/rig/rig.dm +++ b/code/modules/clothing/spacesuits/rig/rig.dm @@ -342,7 +342,7 @@ piece.armor["bio"] = 100 else piece.armor["bio"] = src.armor["bio"] - playsound(src, "[!seal_target ? 'sound/machines/boltsdown.ogg' : 'sound/machines/boltsup.ogg']", 10, FALSE) + playsound(src,'sound/machines/rig/rigservo.ogg', 10, FALSE) else failed_to_seal = 1 @@ -707,7 +707,7 @@ if(istype(holder)) if(use_obj && check_slot == use_obj) to_chat(H, "Your [use_obj.name] [use_obj.gender == PLURAL ? "retract" : "retracts"] swiftly.") - playsound(src, 'sound/machines/boltsup.ogg', 10, FALSE) + playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE) use_obj.canremove = 1 holder.drop_from_inventory(use_obj) use_obj.forceMove(get_turf(src)) @@ -726,7 +726,7 @@ return else to_chat(H, "Your [use_obj.name] [use_obj.gender == PLURAL ? "deploy" : "deploys"] swiftly.") - playsound(src, 'sound/machines/boltsdown.ogg', 10, FALSE) + playsound(src, 'sound/machines/rig/rigservo.ogg', 10, FALSE) if(piece == "helmet" && helmet) helmet.update_light(H) diff --git a/sound/machines/rig/rigservo.ogg b/sound/machines/rig/rigservo.ogg new file mode 100644 index 0000000000000000000000000000000000000000..3193acaff44470aff9fbbbd757ef17a5b1676bf4 GIT binary patch literal 8542 zcmeHscU03!*YGdY009F8q^SW>ia`kk1QiWEAfW_;Aqq-JBy_2+1&uUAC_+S}FCc*s z2u(oIRRIYiC{hF|vSI}byRO*R)pr8!zWeR>ocH<8dCvFWJ7+T7x%bZ8nOkP={O|}4 z_J$;&?`7ceF9*cnff2p|Y&9$)DuxykD@I7LE{p$w61~iP5#}Kt`BxE-gn{1Em_e+{ z=WqWgxsuCMDFP0+z=Zu4mK)71HeyY&asYt zhQtVpilK)@25SM7t(zU0XiM^O@%FLtjS2~3pqI&v81bIyfpH8QGgC8DnDp|ZjO^@v zVGtaUux@A(Ybb{dL13Z#^o^8G?{_icLS{)WSXtWNl=qC-#2H^?1 zsVI`Tp|N$-G(dAwC#FxgrX)t*m|vbGZ`OxSb~Afkb=rN)bN;#PEiVjPhwKzgT1Q;n zuw%YK4Oe9RkH!vK&y{>{-@(?m3ms0kE|;tQ_|`sAi7v3XgRK)5%-)+_5RR?km7b`U3@K_yDw9ZYS4U)-djK!{4n|raudq5Rp zjr`B$#FD>&jp&x{&ktq6&2s{m)WQPOYE;1O5zCSQ1H0l0x@f3q@wT;6(bMu;RPkt6 zx=*n|M{Pmzk_E#DH6H_88ub^7$_s~zVh3FiMZ9I`kV>(vuyzFCH0Mf`dNl(9U&u(2 zZ0#fkjP)BTddBZS0VqAM*r2V$XL-KwZc!UhGT3GP5R6ElDh}(A^9Rr;ddV-h<;1vu zx(^=MEpS4kw=@Zzm@Pv?=~nBWULAKz>2x`^&!}p3R<@ICZL%jx(|{M3w6t?H1f?LC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 Mon Sep 17 00:00:00 2001 From: Victor Zisthus <56660717+VictorZisthus@users.noreply.github.com> Date: Tue, 18 Aug 2020 02:01:35 -0400 Subject: [PATCH 044/149] Minor Map + Talon Edits Added more pressure to the airlock Air canisters so they don't lock up after only a dozen uses or so. Switched the grinder and chem dispenser around for easier use with macros. Due to constant destruction of critical emergency equipment at roundstart by certian individuals, tesla engine has had two super capacitors added next to the tesla circutboards. We also added more air to the airlock canisters, so the airlocks do not lock up so quickly. Have a secure day. --- maps/submaps/engine_submaps/engine_tesla.dmm | 2810 ++---------------- maps/tether/submaps/offmap/talon1.dmm | 56 +- maps/tether/submaps/offmap/talon2.dmm | 20 +- vorestation.dme | 2 + 4 files changed, 218 insertions(+), 2670 deletions(-) diff --git a/maps/submaps/engine_submaps/engine_tesla.dmm b/maps/submaps/engine_submaps/engine_tesla.dmm index 05e3a7d202..1b4bbd02b9 100644 --- a/maps/submaps/engine_submaps/engine_tesla.dmm +++ b/maps/submaps/engine_submaps/engine_tesla.dmm @@ -1,2638 +1,178 @@ -//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE -"aa" = ( -/turf/template_noop, -/area/template_noop) -"ab" = ( -/turf/space, -/area/space) -"ac" = ( -/obj/structure/lattice, -/obj/structure/grille, -/turf/space, -/area/space) -"ad" = ( -/obj/structure/lattice, -/turf/space, -/area/space) -"ae" = ( -/turf/simulated/wall/r_wall, -/area/engineering/engine_gas) -"af" = ( -/turf/simulated/wall/r_wall, -/area/engineering/engine_room) -"ag" = ( -/obj/machinery/atmospherics/portables_connector{ - dir = 4 - }, -/obj/machinery/portable_atmospherics/canister/air/airlock, -/turf/simulated/floor, -/area/engineering/engine_gas) -"ah" = ( -/obj/machinery/field_generator, -/obj/machinery/light/small{ - dir = 1 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 10; - icon_state = "intact" - }, -/turf/simulated/floor, -/area/engineering/engine_gas) -"ai" = ( -/obj/machinery/field_generator, -/turf/simulated/floor, -/area/engineering/engine_gas) -"aj" = ( -/turf/simulated/floor/airless, -/area/space) -"ak" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/turf/simulated/floor/airless, -/area/space) -"al" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/airless, -/area/space) -"am" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/turf/simulated/floor/airless, -/area/space) -"an" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/turf/simulated/floor/airless, -/area/space) -"ao" = ( -/obj/structure/closet/emcloset, -/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ - frequency = 1379; - id_tag = "eng_north_airlock"; - pixel_x = 24; - pixel_y = 0; - req_one_access = list(10,11); - tag_airpump = "eng_north_pump"; - tag_chamber_sensor = "eng_north_sensor"; - tag_exterior_door = "eng_north_outer"; - tag_interior_door = "eng_north_inner" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"ap" = ( -/obj/machinery/atmospherics/pipe/manifold/hidden{ - dir = 4; - icon_state = "map" - }, -/turf/simulated/floor, -/area/engineering/engine_gas) -"aq" = ( -/obj/machinery/alarm{ - dir = 8; - icon_state = "alarm0"; - pixel_x = 24 - }, -/obj/structure/table/standard, -/obj/item/stack/cable_coil/random, -/obj/item/weapon/tool/wrench, -/obj/item/weapon/tool/screwdriver, -/turf/simulated/floor, -/area/engineering/engine_gas) -"ar" = ( -/obj/structure/cable/cyan, -/obj/machinery/power/emitter{ - anchored = 1; - state = 1 - }, -/turf/simulated/floor/airless, -/area/space) -"as" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/effect/floor_decal/rust/mono_rusted1, -/turf/simulated/floor/airless, -/area/space) -"at" = ( -/obj/machinery/access_button{ - command = "cycle_exterior"; - frequency = 1379; - master_tag = "eng_north_airlock"; - name = "exterior access button"; - pixel_x = -5; - pixel_y = -26; - req_one_access = list(10,11,13) - }, -/obj/machinery/door/airlock/glass_external{ - frequency = 1379; - icon_state = "door_locked"; - id_tag = "eng_north_outer"; - locked = 1; - name = "Engine North Airlock Exterior" - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"au" = ( -/obj/machinery/atmospherics/unary/vent_pump/high_volume{ - dir = 4; - frequency = 1379; - id_tag = "eng_north_pump" - }, -/obj/machinery/light/small, -/obj/machinery/airlock_sensor{ - frequency = 1379; - id_tag = "eng_north_sensor"; - pixel_x = 0; - pixel_y = -25 - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"av" = ( -/obj/machinery/door/airlock/glass_external{ - frequency = 1379; - icon_state = "door_locked"; - id_tag = "eng_north_inner"; - locked = 1; - name = "Engine North Airlock Interior" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"aw" = ( -/obj/machinery/access_button{ - command = "cycle_interior"; - frequency = 1379; - master_tag = "eng_north_airlock"; - name = "interior access button"; - pixel_x = -28; - pixel_y = 26; - req_one_access = list(10,11) - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; - icon_state = "space"; - layer = 4; - name = "EXTERNAL AIRLOCK"; - pixel_x = 0; - pixel_y = 32 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 10; - icon_state = "intact" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 1 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 4 - }, -/obj/effect/floor_decal/industrial/warning{ - dir = 8 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ax" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 5 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 5 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ay" = ( -/obj/structure/cable/cyan{ - d1 = 0; - d2 = 4; - icon_state = "0-4" - }, -/obj/machinery/power/apc{ - dir = 8; - name = "west bump"; - pixel_x = -28 - }, -/turf/simulated/floor, -/area/engineering/engine_gas) -"az" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/machinery/power/sensor{ - name = "Powernet Sensor - Engine Power"; - name_tag = "Engine Power" - }, -/obj/structure/cable/cyan{ - d2 = 2; - icon_state = "0-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden, -/turf/simulated/floor, -/area/engineering/engine_gas) -"aA" = ( -/obj/machinery/camera/network/engine{ - dir = 1 - }, -/obj/structure/table/standard, -/obj/item/weapon/circuitboard/tesla_coil, -/obj/item/weapon/circuitboard/tesla_coil, -/turf/simulated/floor, -/area/engineering/engine_gas) -"aB" = ( -/obj/machinery/camera/network/engine{ - dir = 8 - }, -/turf/space, -/area/space) -"aC" = ( -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'RADIOACTIVE AREA'"; - icon_state = "radiation"; - name = "RADIOACTIVE AREA"; - pixel_x = 0; - pixel_y = 0 - }, -/turf/simulated/wall/r_wall, -/area/engineering/engine_room) -"aD" = ( -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/industrial/warning/corner{ - dir = 1; - icon_state = "warningcorner" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aE" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aF" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/door/airlock/engineering, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/machinery/door/firedoor/glass, -/turf/simulated/floor, -/area/engineering/engine_gas) -"aG" = ( -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine charging port."; - dir = 1; - id = "SupermatterPort"; - name = "Observation Blast Doors"; - pixel_x = -4; - pixel_y = -24; - req_access = list(10) - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aH" = ( -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine charging port."; - id = "SupermatterPort"; - name = "Observation Blast Doors"; - pixel_x = -4; - pixel_y = 24; - req_access = list(10) - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aI" = ( -/obj/item/weapon/extinguisher, -/turf/space, -/area/space) -"aJ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aK" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/effect/floor_decal/borderfloor/corner{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aL" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/light{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor{ - dir = 1 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 1 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aM" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/light_switch{ - pixel_y = 24 - }, -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/effect/floor_decal/borderfloor{ - dir = 1; - icon_state = "borderfloor"; - pixel_y = 0 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 1 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 1 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aN" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aO" = ( -/obj/machinery/power/apc{ - dir = 4; - name = "east bump"; - pixel_x = 28 - }, -/obj/structure/cable/cyan{ - d2 = 2; - icon_state = "0-2" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 5 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 5 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 4 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 5 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 5 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aP" = ( -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/airless, -/area/space) -"aQ" = ( -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 5; - icon_state = "intact" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aR" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aS" = ( -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aT" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aU" = ( -/obj/effect/floor_decal/steeldecal/steel_decals_central5{ - dir = 8; - icon_state = "steel_decals_central5" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aV" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/obj/machinery/atmospherics/pipe/manifold/hidden{ - dir = 4; - icon_state = "map" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aW" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"aX" = ( -/obj/machinery/field_generator{ - anchored = 1; - state = 1 - }, -/turf/simulated/floor/airless, -/area/space) -"aY" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/structure/window/reinforced{ - dir = 8; - health = 1e+006 - }, -/obj/structure/window/reinforced{ - dir = 1 - }, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/turf/simulated/floor, -/area/submap/pa_room) -"aZ" = ( -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/borderfloor/corner{ - dir = 8 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ba" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bb" = ( -/obj/machinery/camera/network/engine{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor, -/obj/effect/floor_decal/borderfloor/corner2, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bc" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bd" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/structure/window/reinforced{ - dir = 8; - health = 1e+006 - }, -/obj/structure/window/reinforced, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/turf/simulated/floor, -/area/submap/pa_room) -"be" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bf" = ( -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bg" = ( -/obj/machinery/power/grounding_rod, -/turf/simulated/floor/airless, -/area/space) -"bh" = ( -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'RADIOACTIVE AREA'"; - icon_state = "radiation"; - name = "RADIOACTIVE AREA"; - pixel_x = 0; - pixel_y = 0 - }, -/turf/simulated/wall/r_wall, -/area/submap/pa_room) -"bi" = ( -/turf/simulated/wall/r_wall, -/area/submap/pa_room) -"bj" = ( -/obj/machinery/power/tesla_coil, -/obj/structure/cable/yellow{ - d2 = 4; - icon_state = "0-4" - }, -/obj/structure/cable/yellow{ - d1 = 0; - d2 = 8; - icon_state = "0-8" - }, -/turf/simulated/floor/airless, -/area/space) -"bk" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/borderfloor{ - dir = 8 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bl" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/light{ - dir = 4; - icon_state = "tube1"; - pixel_x = 0 - }, -/obj/effect/floor_decal/borderfloor{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 4 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 6 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 6 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bm" = ( -/turf/simulated/wall/r_wall, -/area/template_noop) -"bn" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/structure/window/reinforced{ - dir = 8; - health = 1e+006 - }, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/obj/machinery/door/firedoor/glass, -/turf/simulated/floor, -/area/submap/pa_room) -"bo" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 5 - }, -/turf/simulated/floor/tiled/techfloor/grid, -/area/submap/pa_room) -"bp" = ( -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/obj/item/clothing/head/hardhat, -/turf/simulated/floor/airless, -/area/space) -"bq" = ( -/obj/effect/floor_decal/steeldecal, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"br" = ( -/obj/machinery/light{ - dir = 1 - }, -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine charging port."; - id = "EngineRadiatorViewport"; - name = "Viewport Blast Doors"; - pixel_x = -4; - pixel_y = 24; - req_access = list(10) - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bs" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bt" = ( -/obj/structure/cable/cyan{ - d2 = 8; - icon_state = "0-8" - }, -/obj/machinery/power/apc{ - dir = 4; - name = "east bump"; - pixel_x = 28 - }, -/obj/machinery/light_switch{ - pixel_y = 24 - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bu" = ( -/obj/item/weapon/book/manual/engineering_particle_accelerator{ - pixel_x = 5; - pixel_y = 5 - }, -/obj/item/weapon/book/manual/tesla_engine, -/turf/template_noop, -/area/template_noop) -"bv" = ( -/obj/structure/table/rack{ - dir = 8; - layer = 2.6 - }, -/obj/item/clothing/shoes/magboots, -/obj/item/clothing/mask/breath, -/obj/item/clothing/suit/space/void/engineering, -/obj/item/clothing/mask/breath, -/obj/item/clothing/head/helmet/space/void/engineering, -/turf/template_noop, -/area/template_noop) -"bw" = ( -/obj/effect/floor_decal/techfloor/orange/corner{ - dir = 4; - icon_state = "techfloororange_corners" - }, -/turf/simulated/floor/tiled/techfloor/grid, -/area/submap/pa_room) -"by" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 1 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bz" = ( -/obj/machinery/particle_accelerator/control_box, -/obj/effect/floor_decal/techfloor/orange{ - dir = 1 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bA" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/door/airlock/glass_engineering, -/obj/machinery/door/firedoor/glass, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bB" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bC" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/structure/cable/yellow{ - d2 = 4; - icon_state = "0-4" - }, -/turf/simulated/floor, -/area/submap/pa_room) -"bD" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/borderfloor{ - dir = 8 - }, -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bE" = ( -/obj/machinery/the_singularitygen/tesla{ - anchored = 1 - }, -/turf/simulated/floor/airless, -/area/space) -"bF" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/structure/window/reinforced{ - dir = 8; - health = 1e+006 - }, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/obj/machinery/door/firedoor/glass, -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor, -/area/submap/pa_room) -"bG" = ( -/obj/structure/particle_accelerator/particle_emitter/center{ - dir = 8 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bH" = ( -/obj/structure/particle_accelerator/power_box{ - dir = 8 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bI" = ( -/obj/structure/particle_accelerator/fuel_chamber{ - dir = 8 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bJ" = ( -/obj/structure/particle_accelerator/end_cap{ - dir = 8 - }, -/obj/effect/floor_decal/techfloor/orange{ - dir = 4 - }, -/obj/effect/floor_decal/techfloor/hole{ - dir = 4 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bK" = ( -/obj/machinery/camera/network/engine{ - dir = 8 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bL" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/structure/cable/yellow{ - d2 = 4; - icon_state = "0-4" - }, -/turf/simulated/floor, -/area/submap/pa_room) -"bM" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/borderfloor{ - dir = 8 - }, -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bN" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 4 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 4 - }, -/obj/effect/floor_decal/borderfloor{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"bO" = ( -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine charging port."; - id = "SupermatterPort"; - name = "Radiation Collector Blast Doors"; - pixel_x = -6; - pixel_y = 7; - req_access = list(10) - }, -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine control room blast doors."; - id = "EngineBlast"; - name = "Engine Monitoring Room Blast Doors"; - pixel_x = 5; - pixel_y = 7; - req_access = list(10) - }, -/turf/template_noop, -/area/template_noop) -"bP" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/obj/structure/window/reinforced{ - dir = 1 - }, -/turf/simulated/floor, -/area/submap/pa_room) -"bQ" = ( -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/turf/simulated/floor/tiled/techfloor/grid, -/area/submap/pa_room) -"bS" = ( -/obj/effect/floor_decal/techfloor/orange, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bT" = ( -/obj/effect/floor_decal/techfloor/orange, -/obj/effect/floor_decal/techfloor/hole, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bU" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 6; - icon_state = "techfloororange_edges" - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"bV" = ( -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bW" = ( -/obj/effect/floor_decal/techfloor/orange/corner, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/tiled/techfloor/grid, -/area/submap/pa_room) -"bX" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 6; - icon_state = "techfloororange_edges" - }, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/tiled/techfloor/grid, -/area/submap/pa_room) -"bY" = ( -/obj/machinery/alarm{ - dir = 8; - pixel_x = 25; - pixel_y = 0 - }, -/obj/effect/floor_decal/steeldecal/steel_decals8, -/obj/structure/table/standard, -/obj/item/weapon/book/manual/tesla_engine, -/obj/item/weapon/book/manual/engineering_particle_accelerator{ - pixel_x = 5; - pixel_y = 5 - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"bZ" = ( -/obj/structure/cable/yellow{ - d2 = 2; - icon_state = "0-2" - }, -/obj/machinery/power/tesla_coil, -/obj/structure/cable/yellow, -/turf/simulated/floor/airless, -/area/space) -"ca" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"cb" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/light{ - dir = 4; - icon_state = "tube1"; - pixel_x = 0 - }, -/obj/effect/floor_decal/borderfloor{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 4 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 5 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 5 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cc" = ( -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 6 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cd" = ( -/obj/machinery/light, -/obj/machinery/button/remote/blast_door{ - desc = "A remote control-switch for the engine charging port."; - dir = 1; - id = "EngineRadiatorViewport"; - name = "Viewport Blast Doors"; - pixel_x = -4; - pixel_y = -24; - req_access = list(10) - }, -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"ce" = ( -/obj/machinery/camera/network/engine, -/obj/effect/floor_decal/borderfloor{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cf" = ( -/obj/machinery/atmospherics/unary/vent_scrubber/on, -/obj/effect/floor_decal/borderfloor{ - dir = 1 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cg" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, -/obj/machinery/atmospherics/pipe/simple/hidden/supply, -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/borderfloor/corner{ - dir = 1 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ch" = ( -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ci" = ( -/obj/machinery/atmospherics/pipe/simple/hidden, -/obj/effect/floor_decal/industrial/warning/corner{ - dir = 8; - icon_state = "warningcorner" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cj" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/effect/floor_decal/steeldecal/steel_decals_central5{ - dir = 8; - icon_state = "steel_decals_central5" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 5 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 6 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"ck" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 9; - pixel_y = 0 - }, -/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ - dir = 9 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 9; - icon_state = "intact" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cl" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 4 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 4 - }, -/obj/effect/floor_decal/borderfloor/corner2{ - dir = 6 - }, -/obj/effect/floor_decal/corner/yellow/bordercorner2{ - dir = 6 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cm" = ( -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/machinery/door/firedoor/glass, -/obj/machinery/door/blast/regular{ - density = 0; - icon_state = "pdoor0"; - id = "EngineRadiatorViewport"; - name = "Engine Radiator Viewport Shutter"; - opacity = 0 - }, -/obj/structure/window/reinforced, -/turf/simulated/floor, -/area/submap/pa_room) -"cn" = ( -/obj/structure/cable/cyan{ - d1 = 2; - d2 = 4; - icon_state = "2-4" - }, -/obj/effect/floor_decal/borderfloor/corner, -/obj/effect/floor_decal/corner/yellow/bordercorner, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"co" = ( -/obj/machinery/power/tesla_coil, -/obj/structure/cable/yellow{ - d2 = 4; - icon_state = "0-4" - }, -/turf/simulated/floor/airless, -/area/space) -"cp" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/atmospherics/unary/vent_pump/on{ - dir = 1 - }, -/obj/effect/floor_decal/borderfloor, -/obj/effect/floor_decal/corner/yellow/border, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cq" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/alarm{ - dir = 1; - icon_state = "alarm0"; - pixel_y = -22 - }, -/obj/effect/floor_decal/borderfloor, -/obj/effect/floor_decal/corner/yellow/border, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cr" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 6 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 6 - }, -/obj/effect/floor_decal/industrial/hatch/yellow, -/obj/structure/reagent_dispensers/fueltank, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cs" = ( -/obj/item/weapon/weldingtool, -/turf/simulated/floor/airless, -/area/space) -"ct" = ( -/obj/machinery/access_button{ - command = "cycle_exterior"; - frequency = 1379; - master_tag = "eng_south_airlock"; - name = "exterior access button"; - pixel_x = -5; - pixel_y = 26; - req_one_access = list(10,11,13) - }, -/obj/machinery/door/airlock/glass_external{ - frequency = 1379; - icon_state = "door_locked"; - id_tag = "eng_south_outer"; - locked = 1; - name = "Engine South Airlock Exterior" - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"cu" = ( -/obj/machinery/atmospherics/unary/vent_pump/high_volume{ - dir = 4; - frequency = 1379; - id_tag = "eng_south_pump" - }, -/obj/machinery/airlock_sensor{ - frequency = 1379; - id_tag = "eng_south_sensor"; - pixel_x = 0; - pixel_y = 25 - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/light/small{ - dir = 1 - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"cv" = ( -/obj/machinery/door/airlock/glass_external{ - frequency = 1379; - icon_state = "door_locked"; - id_tag = "eng_south_inner"; - locked = 1; - name = "Engine South Airlock Interior" - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 4 - }, -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/access_button{ - command = "cycle_interior"; - frequency = 1379; - master_tag = "eng_south_airlock"; - name = "interior access button"; - pixel_x = 8; - pixel_y = -26; - req_one_access = list(10,11) - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"cw" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/sign/securearea{ - desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; - icon_state = "space"; - layer = 4; - name = "EXTERNAL AIRLOCK"; - pixel_x = 0; - pixel_y = -32 - }, -/obj/machinery/atmospherics/pipe/simple/hidden{ - dir = 9; - icon_state = "intact" - }, -/obj/effect/floor_decal/borderfloor, -/obj/effect/floor_decal/corner/yellow/border, -/obj/effect/floor_decal/borderfloor/corner2, -/obj/effect/floor_decal/corner/yellow/bordercorner2, -/obj/effect/floor_decal/industrial/warning{ - dir = 8 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cx" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/effect/floor_decal/borderfloor{ - dir = 6 - }, -/obj/effect/floor_decal/corner/yellow/border{ - dir = 6 - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cy" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/airless, -/area/space) -"cz" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 4; - icon_state = "1-4" - }, -/turf/simulated/floor/airless, -/area/space) -"cA" = ( -/obj/structure/cable/cyan{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/obj/effect/floor_decal/rust, -/turf/simulated/floor/airless, -/area/space) -"cB" = ( -/obj/structure/closet/emcloset, -/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ - frequency = 1379; - id_tag = "eng_south_airlock"; - pixel_x = 24; - pixel_y = 0; - req_one_access = list(10,11); - tag_airpump = "eng_south_pump"; - tag_chamber_sensor = "eng_south_sensor"; - tag_exterior_door = "eng_south_outer"; - tag_interior_door = "eng_south_inner" - }, -/turf/simulated/floor/tiled/dark, -/area/engineering/engine_room) -"cC" = ( -/turf/simulated/wall/r_wall, -/area/space) -"cD" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 5 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"cE" = ( -/obj/machinery/door/blast/regular{ - density = 0; - dir = 2; - icon_state = "pdoor0"; - id = "SupermatterPort"; - layer = 2.7; - name = "Reactor Blast Door"; - opacity = 0 - }, -/obj/machinery/door/firedoor/glass, -/obj/structure/grille, -/obj/structure/window/reinforced/full, -/obj/structure/window/reinforced{ - dir = 8; - health = 1e+006 - }, -/turf/simulated/floor, -/area/engineering/engine_room) -"cF" = ( -/obj/structure/cable/yellow, -/obj/machinery/power/tesla_coil, -/obj/structure/cable/yellow{ - d2 = 2; - icon_state = "0-2" - }, -/turf/simulated/floor/airless, -/area/space) -"cG" = ( -/obj/structure/cable/yellow{ - d1 = 2; - d2 = 8; - icon_state = "2-8" - }, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"cH" = ( -/obj/machinery/door/airlock/glass_engineering, -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/obj/machinery/door/firedoor/glass, -/turf/simulated/floor/tiled, -/area/submap/pa_room) -"cI" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cJ" = ( -/obj/item/weapon/tool/wirecutters, -/turf/simulated/floor/airless, -/area/space) -"cK" = ( -/obj/structure/cable/yellow{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/turf/simulated/floor/airless, -/area/space) -"cL" = ( -/obj/structure/cable/cyan{ - d2 = 2; - icon_state = "0-2" - }, -/obj/machinery/power/emitter{ - anchored = 1; - dir = 1; - state = 1 - }, -/turf/simulated/floor/airless, -/area/space) -"cM" = ( -/obj/structure/cable/cyan{ - d1 = 4; - d2 = 8; - icon_state = "4-8" - }, -/obj/machinery/light, -/obj/effect/floor_decal/borderfloor, -/obj/effect/floor_decal/corner/yellow/border, -/turf/simulated/floor/tiled, -/area/engineering/engine_room) -"cN" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 2; - icon_state = "1-2" - }, -/turf/simulated/floor/airless, -/area/space) -"cQ" = ( -/obj/structure/cable/yellow{ - d1 = 1; - d2 = 8; - icon_state = "1-8" - }, -/turf/simulated/floor/airless, -/area/space) -"hV" = ( -/obj/effect/floor_decal/techfloor/orange, -/obj/structure/particle_accelerator/particle_emitter/left{ - dir = 8 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) -"kq" = ( -/obj/effect/floor_decal/techfloor/orange{ - dir = 1 - }, -/obj/structure/particle_accelerator/particle_emitter/right{ - dir = 8 - }, -/turf/simulated/floor/tiled/techfloor, -/area/submap/pa_room) +"aa" = (/turf/template_noop,/area/template_noop) +"ab" = (/turf/space,/area/space) +"ac" = (/obj/structure/lattice,/obj/structure/grille,/turf/space,/area/space) +"ad" = (/obj/structure/lattice,/turf/space,/area/space) +"ae" = (/turf/simulated/wall/r_wall,/area/engineering/engine_gas) +"af" = (/turf/simulated/wall/r_wall,/area/engineering/engine_room) +"ag" = (/obj/machinery/atmospherics/portables_connector{dir = 4},/obj/machinery/portable_atmospherics/canister/air/airlock{start_pressure = 4559.63},/turf/simulated/floor,/area/engineering/engine_gas) +"ah" = (/obj/machinery/field_generator,/obj/machinery/light/small{dir = 1},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 10; icon_state = "intact"},/turf/simulated/floor,/area/engineering/engine_gas) +"ai" = (/obj/machinery/field_generator,/turf/simulated/floor,/area/engineering/engine_gas) +"aj" = (/turf/simulated/floor/airless,/area/space) +"ak" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/turf/simulated/floor/airless,/area/space) +"al" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/airless,/area/space) +"am" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/turf/simulated/floor/airless,/area/space) +"an" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/airless,/area/space) +"ao" = (/obj/structure/closet/emcloset,/obj/machinery/embedded_controller/radio/airlock/airlock_controller{frequency = 1379; id_tag = "eng_north_airlock"; pixel_x = 24; pixel_y = 0; req_one_access = list(10,11); tag_airpump = "eng_north_pump"; tag_chamber_sensor = "eng_north_sensor"; tag_exterior_door = "eng_north_outer"; tag_interior_door = "eng_north_inner"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"ap" = (/obj/machinery/atmospherics/pipe/manifold/hidden{dir = 4; icon_state = "map"},/turf/simulated/floor,/area/engineering/engine_gas) +"aq" = (/obj/machinery/alarm{dir = 8; icon_state = "alarm0"; pixel_x = 24},/obj/structure/table/standard,/obj/item/stack/cable_coil/random,/obj/item/weapon/tool/wrench,/obj/item/weapon/tool/screwdriver,/turf/simulated/floor,/area/engineering/engine_gas) +"ar" = (/obj/structure/cable/cyan,/obj/machinery/power/emitter{anchored = 1; state = 1},/turf/simulated/floor/airless,/area/space) +"as" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/effect/floor_decal/rust/mono_rusted1,/turf/simulated/floor/airless,/area/space) +"at" = (/obj/machinery/access_button{command = "cycle_exterior"; frequency = 1379; master_tag = "eng_north_airlock"; name = "exterior access button"; pixel_x = -5; pixel_y = -26; req_one_access = list(10,11,13)},/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_north_outer"; locked = 1; name = "Engine North Airlock Exterior"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"au" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume{dir = 4; frequency = 1379; id_tag = "eng_north_pump"},/obj/machinery/light/small,/obj/machinery/airlock_sensor{frequency = 1379; id_tag = "eng_north_sensor"; pixel_x = 0; pixel_y = -25},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"av" = (/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_north_inner"; locked = 1; name = "Engine North Airlock Interior"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"aw" = (/obj/machinery/access_button{command = "cycle_interior"; frequency = 1379; master_tag = "eng_north_airlock"; name = "interior access button"; pixel_x = -28; pixel_y = 26; req_one_access = list(10,11)},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/sign/securearea{desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; icon_state = "space"; layer = 4; name = "EXTERNAL AIRLOCK"; pixel_x = 0; pixel_y = 32},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 10; icon_state = "intact"},/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 4},/obj/effect/floor_decal/industrial/warning{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ax" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/effect/floor_decal/borderfloor{dir = 5},/obj/effect/floor_decal/corner/yellow/border{dir = 5},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ay" = (/obj/structure/cable/cyan{d1 = 0; d2 = 4; icon_state = "0-4"},/obj/machinery/power/apc{dir = 8; name = "west bump"; pixel_x = -28},/turf/simulated/floor,/area/engineering/engine_gas) +"az" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/machinery/power/sensor{name = "Powernet Sensor - Engine Power"; name_tag = "Engine Power"},/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor,/area/engineering/engine_gas) +"aA" = (/obj/machinery/camera/network/engine{dir = 1},/obj/structure/table/standard,/obj/item/weapon/circuitboard/tesla_coil,/obj/item/weapon/circuitboard/tesla_coil,/obj/item/weapon/stock_parts/capacitor/super,/obj/item/weapon/stock_parts/capacitor/super,/turf/simulated/floor,/area/engineering/engine_gas) +"aB" = (/obj/machinery/camera/network/engine{dir = 8},/turf/space,/area/space) +"aC" = (/obj/structure/sign/securearea{desc = "A warning sign which reads 'RADIOACTIVE AREA'"; icon_state = "radiation"; name = "RADIOACTIVE AREA"; pixel_x = 0; pixel_y = 0},/turf/simulated/wall/r_wall,/area/engineering/engine_room) +"aD" = (/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/industrial/warning/corner{dir = 1; icon_state = "warningcorner"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aE" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aF" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/airlock/engineering,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/machinery/door/firedoor/glass,/turf/simulated/floor,/area/engineering/engine_gas) +"aG" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; dir = 1; id = "SupermatterPort"; name = "Observation Blast Doors"; pixel_x = -4; pixel_y = -24; req_access = list(10)},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aH" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "SupermatterPort"; name = "Observation Blast Doors"; pixel_x = -4; pixel_y = 24; req_access = list(10)},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aI" = (/obj/item/weapon/extinguisher,/turf/space,/area/space) +"aJ" = (/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aK" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/effect/floor_decal/borderfloor/corner{dir = 4},/obj/effect/floor_decal/corner/yellow/bordercorner{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aL" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light{dir = 1},/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aM" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light_switch{pixel_y = 24},/obj/machinery/atmospherics/unary/vent_scrubber/on,/obj/effect/floor_decal/borderfloor{dir = 1; icon_state = "borderfloor"; pixel_y = 0},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 1},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aN" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aO" = (/obj/machinery/power/apc{dir = 4; name = "east bump"; pixel_x = 28},/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/effect/floor_decal/borderfloor{dir = 5},/obj/effect/floor_decal/corner/yellow/border{dir = 5},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aP" = (/obj/structure/cable/yellow{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) +"aQ" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 5; icon_state = "intact"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aR" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aS" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aT" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aU" = (/obj/effect/floor_decal/steeldecal/steel_decals_central5{dir = 8; icon_state = "steel_decals_central5"},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aV" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 10},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 10},/obj/machinery/atmospherics/pipe/manifold/hidden{dir = 4; icon_state = "map"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aW" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"aX" = (/obj/machinery/field_generator{anchored = 1; state = 1},/turf/simulated/floor/airless,/area/space) +"aY" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/structure/window/reinforced{dir = 1},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/turf/simulated/floor,/area/submap/pa_room) +"aZ" = (/obj/structure/cable/yellow{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor/corner{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ba" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bb" = (/obj/machinery/camera/network/engine{dir = 1},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/borderfloor/corner2,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bc" = (/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/obj/effect/floor_decal/borderfloor,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bd" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/structure/window/reinforced,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/turf/simulated/floor,/area/submap/pa_room) +"be" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bf" = (/turf/simulated/floor/tiled,/area/submap/pa_room) +"bg" = (/obj/machinery/power/grounding_rod,/turf/simulated/floor/airless,/area/space) +"bh" = (/obj/structure/sign/securearea{desc = "A warning sign which reads 'RADIOACTIVE AREA'"; icon_state = "radiation"; name = "RADIOACTIVE AREA"; pixel_x = 0; pixel_y = 0},/turf/simulated/wall/r_wall,/area/submap/pa_room) +"bi" = (/turf/simulated/wall/r_wall,/area/submap/pa_room) +"bj" = (/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/obj/structure/cable/yellow{d1 = 0; d2 = 8; icon_state = "0-8"},/turf/simulated/floor/airless,/area/space) +"bk" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bl" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/light{dir = 4; icon_state = "tube1"; pixel_x = 0},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 6},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bm" = (/turf/simulated/wall/r_wall,/area/template_noop) +"bn" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/machinery/door/firedoor/glass,/turf/simulated/floor,/area/submap/pa_room) +"bo" = (/obj/effect/floor_decal/techfloor/orange{dir = 5},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) +"bp" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/item/clothing/head/hardhat,/turf/simulated/floor/airless,/area/space) +"bq" = (/obj/effect/floor_decal/steeldecal,/turf/simulated/floor/tiled,/area/submap/pa_room) +"br" = (/obj/machinery/light{dir = 1},/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "EngineRadiatorViewport"; name = "Viewport Blast Doors"; pixel_x = -4; pixel_y = 24; req_access = list(10)},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bs" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bt" = (/obj/structure/cable/cyan{d2 = 8; icon_state = "0-8"},/obj/machinery/power/apc{dir = 4; name = "east bump"; pixel_x = 28},/obj/machinery/light_switch{pixel_y = 24},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bu" = (/obj/item/weapon/book/manual/engineering_particle_accelerator{pixel_x = 5; pixel_y = 5},/obj/item/weapon/book/manual/tesla_engine,/turf/template_noop,/area/template_noop) +"bv" = (/obj/structure/table/rack{dir = 8; layer = 2.6},/obj/item/clothing/shoes/magboots,/obj/item/clothing/mask/breath,/obj/item/clothing/suit/space/void/engineering,/obj/item/clothing/mask/breath,/obj/item/clothing/head/helmet/space/void/engineering,/turf/template_noop,/area/template_noop) +"bw" = (/obj/effect/floor_decal/techfloor/orange/corner{dir = 4; icon_state = "techfloororange_corners"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) +"by" = (/obj/effect/floor_decal/techfloor/orange{dir = 1},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bz" = (/obj/machinery/particle_accelerator/control_box,/obj/effect/floor_decal/techfloor/orange{dir = 1},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bA" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/airlock/glass_engineering,/obj/machinery/door/firedoor/glass,/turf/simulated/floor/tiled,/area/submap/pa_room) +"bB" = (/obj/machinery/atmospherics/unary/vent_scrubber/on,/turf/simulated/floor/tiled,/area/submap/pa_room) +"bC" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor,/area/submap/pa_room) +"bD" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bE" = (/obj/machinery/the_singularitygen/tesla{anchored = 1},/turf/simulated/floor/airless,/area/space) +"bF" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/machinery/door/firedoor/glass,/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor,/area/submap/pa_room) +"bG" = (/obj/structure/particle_accelerator/particle_emitter/center{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bH" = (/obj/structure/particle_accelerator/power_box{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bI" = (/obj/structure/particle_accelerator/fuel_chamber{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bJ" = (/obj/structure/particle_accelerator/end_cap{dir = 8},/obj/effect/floor_decal/techfloor/orange{dir = 4},/obj/effect/floor_decal/techfloor/hole{dir = 4},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bK" = (/obj/machinery/camera/network/engine{dir = 8},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bL" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 4},/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor,/area/submap/pa_room) +"bM" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers,/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bN" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 4},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"bO" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "SupermatterPort"; name = "Radiation Collector Blast Doors"; pixel_x = -6; pixel_y = 7; req_access = list(10)},/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine control room blast doors."; id = "EngineBlast"; name = "Engine Monitoring Room Blast Doors"; pixel_x = 5; pixel_y = 7; req_access = list(10)},/turf/template_noop,/area/template_noop) +"bP" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/structure/window/reinforced{dir = 1},/turf/simulated/floor,/area/submap/pa_room) +"bQ" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) +"bS" = (/obj/effect/floor_decal/techfloor/orange,/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bT" = (/obj/effect/floor_decal/techfloor/orange,/obj/effect/floor_decal/techfloor/hole,/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bU" = (/obj/effect/floor_decal/techfloor/orange{dir = 6; icon_state = "techfloororange_edges"},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"bV" = (/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bW" = (/obj/effect/floor_decal/techfloor/orange/corner,/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) +"bX" = (/obj/effect/floor_decal/techfloor/orange{dir = 6; icon_state = "techfloororange_edges"},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) +"bY" = (/obj/machinery/alarm{dir = 8; pixel_x = 25; pixel_y = 0},/obj/effect/floor_decal/steeldecal/steel_decals8,/obj/structure/table/standard,/obj/item/weapon/book/manual/tesla_engine,/obj/item/weapon/book/manual/engineering_particle_accelerator{pixel_x = 5; pixel_y = 5},/turf/simulated/floor/tiled,/area/submap/pa_room) +"bZ" = (/obj/structure/cable/yellow{d2 = 2; icon_state = "0-2"},/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow,/turf/simulated/floor/airless,/area/space) +"ca" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) +"cb" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/light{dir = 4; icon_state = "tube1"; pixel_x = 0},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 5},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cc" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cd" = (/obj/machinery/light,/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; dir = 1; id = "EngineRadiatorViewport"; name = "Viewport Blast Doors"; pixel_x = -4; pixel_y = -24; req_access = list(10)},/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) +"ce" = (/obj/machinery/camera/network/engine,/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cf" = (/obj/machinery/atmospherics/unary/vent_scrubber/on,/obj/effect/floor_decal/borderfloor{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cg" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor/corner{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ch" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ci" = (/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/industrial/warning/corner{dir = 8; icon_state = "warningcorner"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cj" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/effect/floor_decal/steeldecal/steel_decals_central5{dir = 8; icon_state = "steel_decals_central5"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"ck" = (/obj/structure/cable/yellow{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 9; pixel_y = 0},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 9},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 9; icon_state = "intact"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cl" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 6},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cm" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/structure/window/reinforced,/turf/simulated/floor,/area/submap/pa_room) +"cn" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/effect/floor_decal/borderfloor/corner,/obj/effect/floor_decal/corner/yellow/bordercorner,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"co" = (/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor/airless,/area/space) +"cp" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cq" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/alarm{dir = 1; icon_state = "alarm0"; pixel_y = -22},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cr" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/borderfloor{dir = 6},/obj/effect/floor_decal/corner/yellow/border{dir = 6},/obj/effect/floor_decal/industrial/hatch/yellow,/obj/structure/reagent_dispensers/fueltank,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cs" = (/obj/item/weapon/weldingtool,/turf/simulated/floor/airless,/area/space) +"ct" = (/obj/machinery/access_button{command = "cycle_exterior"; frequency = 1379; master_tag = "eng_south_airlock"; name = "exterior access button"; pixel_x = -5; pixel_y = 26; req_one_access = list(10,11,13)},/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_south_outer"; locked = 1; name = "Engine South Airlock Exterior"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"cu" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume{dir = 4; frequency = 1379; id_tag = "eng_south_pump"},/obj/machinery/airlock_sensor{frequency = 1379; id_tag = "eng_south_sensor"; pixel_x = 0; pixel_y = 25},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light/small{dir = 1},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"cv" = (/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_south_inner"; locked = 1; name = "Engine South Airlock Interior"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/access_button{command = "cycle_interior"; frequency = 1379; master_tag = "eng_south_airlock"; name = "interior access button"; pixel_x = 8; pixel_y = -26; req_one_access = list(10,11)},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"cw" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/sign/securearea{desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; icon_state = "space"; layer = 4; name = "EXTERNAL AIRLOCK"; pixel_x = 0; pixel_y = -32},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 9; icon_state = "intact"},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/obj/effect/floor_decal/borderfloor/corner2,/obj/effect/floor_decal/corner/yellow/bordercorner2,/obj/effect/floor_decal/industrial/warning{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cx" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/borderfloor{dir = 6},/obj/effect/floor_decal/corner/yellow/border{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cy" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) +"cz" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) +"cA" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/rust,/turf/simulated/floor/airless,/area/space) +"cB" = (/obj/structure/closet/emcloset,/obj/machinery/embedded_controller/radio/airlock/airlock_controller{frequency = 1379; id_tag = "eng_south_airlock"; pixel_x = 24; pixel_y = 0; req_one_access = list(10,11); tag_airpump = "eng_south_pump"; tag_chamber_sensor = "eng_south_sensor"; tag_exterior_door = "eng_south_outer"; tag_interior_door = "eng_south_inner"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) +"cC" = (/turf/simulated/wall/r_wall,/area/space) +"cD" = (/obj/effect/floor_decal/techfloor/orange{dir = 5},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"cE" = (/obj/machinery/door/blast/regular{density = 0; dir = 2; icon_state = "pdoor0"; id = "SupermatterPort"; layer = 2.7; name = "Reactor Blast Door"; opacity = 0},/obj/machinery/door/firedoor/glass,/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/turf/simulated/floor,/area/engineering/engine_room) +"cF" = (/obj/structure/cable/yellow,/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 2; icon_state = "0-2"},/turf/simulated/floor/airless,/area/space) +"cG" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) +"cH" = (/obj/machinery/door/airlock/glass_engineering,/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/firedoor/glass,/turf/simulated/floor/tiled,/area/submap/pa_room) +"cI" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cJ" = (/obj/item/weapon/tool/wirecutters,/turf/simulated/floor/airless,/area/space) +"cK" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/airless,/area/space) +"cL" = (/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/machinery/power/emitter{anchored = 1; dir = 1; state = 1},/turf/simulated/floor/airless,/area/space) +"cM" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light,/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) +"cN" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/airless,/area/space) +"cQ" = (/obj/structure/cable/yellow{d1 = 1; d2 = 8; icon_state = "1-8"},/turf/simulated/floor/airless,/area/space) +"hV" = (/obj/effect/floor_decal/techfloor/orange,/obj/structure/particle_accelerator/particle_emitter/left{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +"kq" = (/obj/effect/floor_decal/techfloor/orange{dir = 1},/obj/structure/particle_accelerator/particle_emitter/right{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) (1,1,1) = {" -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -"} -(2,1,1) = {" -aa -aa -ab -ac -ac -ac -ad -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -ac -aa -"} -(3,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -ab -ab -ab -ab -ab -ab -ad -ab -ab -ab -ab -ab -ad -ab -ab -ab -ab -ab -ab -ad -ab -aa -"} -(4,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -ab -ab -ab -ab -ab -ab -ad -ab -ab -ab -ab -ab -ad -ab -ab -ab -ab -ab -ad -ad -ab -aa -"} -(5,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -aj -ab -ab -ab -aI -ab -ad -ab -ab -ab -ab -ab -ad -ab -ab -ab -ab -ab -aj -cC -ab -aa -"} -(6,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -aj -aj -ab -ab -ab -bg -aj -aj -aj -aj -aj -aj -aj -bg -ab -ab -ab -cJ -aj -cC -ab -aa -"} -(7,1,1) = {" -aa -aa -ab -ad -ab -ab -ab -ac -ak -ar -ad -ad -ad -aj -aX -ab -ad -ab -ad -ab -aX -aj -ad -ad -ad -cL -cy -cC -ab -aa -"} -(8,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -al -aj -ab -ab -ab -co -ab -ab -ad -ab -ad -ab -ab -co -ab -ab -ab -aj -al -cC -ab -aa -"} -(9,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -al -aj -ab -ab -ab -cK -ad -ad -cs -aj -aj -ad -ad -cK -ab -ab -ab -aj -al -cC -ab -aa -"} -(10,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -al -aj -ad -ad -ad -cK -ab -ab -aj -bE -aj -ab -ab -cK -ad -ad -ad -aj -al -cC -ab -aa -"} -(11,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -al -aj -ab -ab -ab -cK -ad -ad -aj -aj -aj -ad -ad -cK -ab -ab -ab -aj -al -cC -aa -aa -"} -(12,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -al -aj -ab -ab -ab -bj -ab -ab -ad -ab -ad -ab -ab -bj -ab -ab -ab -aj -al -cC -aa -aa -"} -(13,1,1) = {" -aa -aa -ab -ab -ab -ab -ab -ac -am -ar -ad -ad -ad -cK -aX -ab -ad -ab -ad -ab -aX -cK -ad -ad -ad -cL -cz -cC -aa -aa -"} -(14,1,1) = {" -aa -aa -ab -ab -ab -ab -ab -ac -al -aj -ab -ab -ad -bp -cN -bZ -cN -aP -cN -cF -cN -cQ -ad -ab -ab -aj -al -cC -aa -aa -"} -(15,1,1) = {" -aa -aa -ab -ab -ab -ab -ab -ac -al -ad -ab -ab -bg -ad -ad -ad -ad -cK -ad -ad -ad -ad -bg -ab -ab -ad -al -cC -aa -aa -"} -(16,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ac -an -as -aB -ab -ab -ab -aY -bn -bn -bF -bn -bn -bd -ab -ab -ab -aB -ak -cA -cC -aa -aa -"} -(17,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -af -af -at -af -ab -ab -ab -bP -bo -bw -bQ -bW -bX -cm -ab -ab -ab -af -ct -af -af -aa -aa -"} -(18,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -af -ao -au -af -ab -ab -ab -bP -bf -kq -bG -hV -ca -cm -ab -ab -ab -af -cu -cB -af -aa -aa -"} -(19,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -af -af -av -aC -cE -cE -cE -bh -bq -by -bH -bS -ca -bh -cE -cE -cE -aC -cv -af -aC -aa -aa -"} -(20,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ab -af -aw -aD -aJ -aQ -aG -bi -br -bz -bI -bT -cd -bi -aH -cc -aJ -ci -cw -af -aa -aa -aa -"} -(21,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ab -af -ax -aE -aK -aR -ba -bA -bs -cD -bJ -bU -cG -cH -cI -ch -cn -aE -cx -af -aa -aa -aa -"} -(22,1,1) = {" -aa -aa -ab -ad -ab -ab -ae -ae -ae -ae -ae -aL -aS -bb -bi -bt -bB -bK -bV -bY -bi -ce -aT -cM -af -af -af -aa -aa -aa -"} -(23,1,1) = {" -aa -aa -ab -ac -ab -ab -ae -ag -ag -ay -ae -aM -aU -bc -bi -bi -bC -bL -bC -bi -bi -cf -cj -cp -af -aa -aa -aa -aa -aa -"} -(24,1,1) = {" -aa -aa -ab -ac -ab -ab -ae -ah -ap -az -aF -aN -aV -aZ -bk -bk -bD -bM -bD -bk -bk -cg -ck -cq -af -aa -aa -aa -aa -aa -"} -(25,1,1) = {" -aa -aa -ab -ac -ab -ab -ae -ai -aq -aA -ae -aO -aW -be -bl -aE -aE -bN -aE -aE -cb -ba -cl -cr -af -aa -aa -aa -aa -aa -"} -(26,1,1) = {" -aa -aa -ab -ac -ab -ab -ae -ae -ae -aa -aa -aa -aa -aa -bm -aa -aa -aa -aa -aa -bm -aa -aa -aa -aa -aa -aa -aa -aa -aa -"} -(27,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ab -ab -aa -aa -aa -aa -aa -bm -bu -aa -aa -aa -aa -bm -aa -aa -aa -aa -aa -aa -aa -aa -aa -"} -(28,1,1) = {" -aa -aa -ab -ac -ab -ab -ab -ab -ab -aa -aa -aa -aa -aa -aa -bv -aa -bO -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -"} -(29,1,1) = {" -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -"} -(30,1,1) = {" -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa -aa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaabababababababababababababababababababababababababababaaaa +aaacacacacacadacacacacacabababacacacacacacadacacacacacacaaaa +aaacababababababababababababababababababababababababababaaaa +aaacababababababababababababababababababababababababababaaaa +aaadabababababababababababababababababababaeaeaeaeaeababaaaa +aaacacacacacacacacacacacacacacacafafafababaeagahaiaeababaaaa +aaacababajajakalalalalalamalalanafaoafafafaeagapaqaeababaaaa +aaacabababajarajajajajajarajadasatauavawaxaeayazaAaaaaaaaaaa +aaacababababadababadababadababaBafafaCaDaEaeaeaFaeaaaaaaaaaa +aaacababababadababadababadabababababcEaJaKaLaMaNaOaaaaaaaaaa +aaacababaIabadababadababadadbgabababcEaQaRaSaUaVaWaaaaaaaaaa +aaacabababbgajcocKcKcKbjcKbpadabababcEaGbabbbcaZbeaaaaaaaaaa +aaacadadadajaXabadabadabaXcNadaYbPbPbhbibAbibibkblbmbmaaaaaa +aaacabababajababadabadababbZadbnbobfbqbrbsbtbibkaEaabubvaaaa +aaacabababajadadcsajajadadcNadbnbwkqbybzcDbBbCbDaEaaaaaaaaaa +aaacabababajababajbEajababaPcKbFbQbGbHbIbJbKbLbMbNaaaabOaaaa +aaacabababajadadajajajadadcNadbnbWhVbSbTbUbVbCbDaEaaaaaaaaaa +aaacabababajababadabadababcFadbnbXcacacdcGbYbibkaEaaaaaaaaaa +aaacadadadajaXabadabadabaXcNadbdcmcmbhbicHbibibkcbbmbmaaaaaa +aaacabababbgajcocKcKcKbjcKcQadabababcEaHcIcecfcgbaaaaaaaaaaa +aaacababababadababadababadadbgabababcEccchaTcjckclaaaaaaaaaa +aaacababababadababadababadabababababcEaJcncMcpcqcraaaaaaaaaa +aaacababababadababadababadababaBafafaCciaEafafafafaaaaaaaaaa +aaacabababcJcLajajajajajcLajadakctcucvcwcxafaaaaaaaaaaaaaaaa +aaacabadajajcyalalalalalczalalcAafcBafafafafaaaaaaaaaaaaaaaa +aaacadadcCcCcCcCcCcCcCcCcCcCcCcCafafaCaaaaaaaaaaaaaaaaaaaaaa +aaacababababababababaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa "} diff --git a/maps/tether/submaps/offmap/talon1.dmm b/maps/tether/submaps/offmap/talon1.dmm index 5cbf638bde..4e32a660e1 100644 --- a/maps/tether/submaps/offmap/talon1.dmm +++ b/maps/tether/submaps/offmap/talon1.dmm @@ -56,7 +56,9 @@ dir = 4; icon_state = "map_connector-aux" }, -/obj/machinery/portable_atmospherics/canister/air/airlock, +/obj/machinery/portable_atmospherics/canister/air/airlock{ + start_pressure = 4559.63 + }, /turf/simulated/floor/tiled/eris/steel/gray_perforated, /area/talon/deckone/port_eng) "ai" = ( @@ -190,6 +192,30 @@ }, /turf/simulated/floor/tiled/eris/dark/brown_perforated, /area/talon/deckone/port_eng) +"au" = ( +/obj/effect/floor_decal/industrial/outline/grey, +/obj/machinery/atmospherics/portables_connector/aux{ + dir = 8; + icon_state = "map_connector-aux" + }, +/obj/machinery/portable_atmospherics/canister/air/airlock{ + start_pressure = 4559.63 + }, +/turf/simulated/floor/tiled/eris/steel/gray_perforated, +/area/talon/deckone/starboard_eng) +"av" = ( +/obj/structure/table/standard, +/obj/machinery/reagentgrinder, +/turf/simulated/floor/tiled/eris/white/bluecorner, +/area/talon/deckone/medical) +"aw" = ( +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/structure/table/standard, +/obj/machinery/chemical_dispenser/full, +/turf/simulated/floor/tiled/eris/white/bluecorner, +/area/talon/deckone/medical) "aC" = ( /turf/simulated/wall/rshull, /area/talon/maintenance/deckone_port) @@ -884,11 +910,6 @@ /obj/structure/catwalk, /turf/space, /area/talon/maintenance/deckone_starboard) -"fZ" = ( -/obj/structure/table/standard, -/obj/machinery/chemical_dispenser/full, -/turf/simulated/floor/tiled/eris/white/bluecorner, -/area/talon/deckone/medical) "ga" = ( /obj/structure/grille, /obj/structure/window/reinforced/full, @@ -2453,15 +2474,6 @@ }, /turf/simulated/floor/hull/airless, /area/talon/maintenance/deckone_starboard_aft_wing) -"up" = ( -/obj/effect/floor_decal/industrial/outline/grey, -/obj/machinery/atmospherics/portables_connector/aux{ - dir = 8; - icon_state = "map_connector-aux" - }, -/obj/machinery/portable_atmospherics/canister/air/airlock, -/turf/simulated/floor/tiled/eris/steel/gray_perforated, -/area/talon/deckone/starboard_eng) "ur" = ( /obj/structure/cable/green{ d1 = 4; @@ -4100,14 +4112,6 @@ }, /turf/simulated/floor/reinforced/airless, /area/talon/deckone/port_eng) -"JM" = ( -/obj/machinery/atmospherics/pipe/simple/hidden/supply{ - dir = 10 - }, -/obj/structure/table/standard, -/obj/machinery/reagentgrinder, -/turf/simulated/floor/tiled/eris/white/bluecorner, -/area/talon/deckone/medical) "JP" = ( /obj/machinery/power/apc/talon{ dir = 4; @@ -16829,7 +16833,7 @@ co co Nm dO -fZ +av FA Gb Gb @@ -16972,7 +16976,7 @@ co qA dO xH -JM +aw Xd vc eV @@ -17416,7 +17420,7 @@ gY NP ho iF -up +au yB Mi Bm diff --git a/maps/tether/submaps/offmap/talon2.dmm b/maps/tether/submaps/offmap/talon2.dmm index 57d8210a13..1ae329c18f 100644 --- a/maps/tether/submaps/offmap/talon2.dmm +++ b/maps/tether/submaps/offmap/talon2.dmm @@ -109,6 +109,16 @@ "ap" = ( /turf/simulated/wall/rshull, /area/talon/decktwo/cap_room) +"aq" = ( +/obj/machinery/atmospherics/portables_connector/aux{ + dir = 1; + icon_state = "map_connector-aux" + }, +/obj/machinery/portable_atmospherics/canister/air/airlock{ + start_pressure = 4559.63 + }, +/turf/simulated/floor/plating/eris/under, +/area/talon/maintenance/decktwo_aft) "at" = ( /turf/simulated/floor/tiled/eris/steel, /area/talon/decktwo/central_hallway) @@ -2075,14 +2085,6 @@ }, /turf/simulated/floor/tiled/eris/cafe, /area/talon/decktwo/bar) -"oA" = ( -/obj/machinery/atmospherics/portables_connector/aux{ - dir = 1; - icon_state = "map_connector-aux" - }, -/obj/machinery/portable_atmospherics/canister/air/airlock, -/turf/simulated/floor/plating/eris/under, -/area/talon/maintenance/decktwo_aft) "oJ" = ( /obj/structure/cable/green{ d1 = 4; @@ -13560,7 +13562,7 @@ PG aH hu RD -oA +aq ht ao zs diff --git a/vorestation.dme b/vorestation.dme index f70138cbd2..fefd2634ff 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -3704,5 +3704,7 @@ #include "maps\submaps\surface_submaps\wilderness\wilderness.dm" #include "maps\submaps\surface_submaps\wilderness\wilderness_areas.dm" #include "maps\tether\tether.dm" +#include "maps\tether\tether-03-surface3.dmm" +#include "maps\tether\tether-08-mining.dmm" #include "maps\~map_system\maps.dm" // END_INCLUDE From b644dee522edc0b52f4096fd9a7efbd2ef7a183f Mon Sep 17 00:00:00 2001 From: Victor Zisthus <56660717+VictorZisthus@users.noreply.github.com> Date: Tue, 18 Aug 2020 02:04:12 -0400 Subject: [PATCH 045/149] Oopps, forgot to mapmerge the Tesla. derp --- maps/submaps/engine_submaps/engine_tesla.dmm | 2814 ++++++++++++++++-- 1 file changed, 2639 insertions(+), 175 deletions(-) diff --git a/maps/submaps/engine_submaps/engine_tesla.dmm b/maps/submaps/engine_submaps/engine_tesla.dmm index 1b4bbd02b9..f47a3cdbc6 100644 --- a/maps/submaps/engine_submaps/engine_tesla.dmm +++ b/maps/submaps/engine_submaps/engine_tesla.dmm @@ -1,178 +1,2642 @@ -"aa" = (/turf/template_noop,/area/template_noop) -"ab" = (/turf/space,/area/space) -"ac" = (/obj/structure/lattice,/obj/structure/grille,/turf/space,/area/space) -"ad" = (/obj/structure/lattice,/turf/space,/area/space) -"ae" = (/turf/simulated/wall/r_wall,/area/engineering/engine_gas) -"af" = (/turf/simulated/wall/r_wall,/area/engineering/engine_room) -"ag" = (/obj/machinery/atmospherics/portables_connector{dir = 4},/obj/machinery/portable_atmospherics/canister/air/airlock{start_pressure = 4559.63},/turf/simulated/floor,/area/engineering/engine_gas) -"ah" = (/obj/machinery/field_generator,/obj/machinery/light/small{dir = 1},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 10; icon_state = "intact"},/turf/simulated/floor,/area/engineering/engine_gas) -"ai" = (/obj/machinery/field_generator,/turf/simulated/floor,/area/engineering/engine_gas) -"aj" = (/turf/simulated/floor/airless,/area/space) -"ak" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/turf/simulated/floor/airless,/area/space) -"al" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/airless,/area/space) -"am" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/turf/simulated/floor/airless,/area/space) -"an" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/airless,/area/space) -"ao" = (/obj/structure/closet/emcloset,/obj/machinery/embedded_controller/radio/airlock/airlock_controller{frequency = 1379; id_tag = "eng_north_airlock"; pixel_x = 24; pixel_y = 0; req_one_access = list(10,11); tag_airpump = "eng_north_pump"; tag_chamber_sensor = "eng_north_sensor"; tag_exterior_door = "eng_north_outer"; tag_interior_door = "eng_north_inner"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"ap" = (/obj/machinery/atmospherics/pipe/manifold/hidden{dir = 4; icon_state = "map"},/turf/simulated/floor,/area/engineering/engine_gas) -"aq" = (/obj/machinery/alarm{dir = 8; icon_state = "alarm0"; pixel_x = 24},/obj/structure/table/standard,/obj/item/stack/cable_coil/random,/obj/item/weapon/tool/wrench,/obj/item/weapon/tool/screwdriver,/turf/simulated/floor,/area/engineering/engine_gas) -"ar" = (/obj/structure/cable/cyan,/obj/machinery/power/emitter{anchored = 1; state = 1},/turf/simulated/floor/airless,/area/space) -"as" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/effect/floor_decal/rust/mono_rusted1,/turf/simulated/floor/airless,/area/space) -"at" = (/obj/machinery/access_button{command = "cycle_exterior"; frequency = 1379; master_tag = "eng_north_airlock"; name = "exterior access button"; pixel_x = -5; pixel_y = -26; req_one_access = list(10,11,13)},/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_north_outer"; locked = 1; name = "Engine North Airlock Exterior"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"au" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume{dir = 4; frequency = 1379; id_tag = "eng_north_pump"},/obj/machinery/light/small,/obj/machinery/airlock_sensor{frequency = 1379; id_tag = "eng_north_sensor"; pixel_x = 0; pixel_y = -25},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"av" = (/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_north_inner"; locked = 1; name = "Engine North Airlock Interior"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"aw" = (/obj/machinery/access_button{command = "cycle_interior"; frequency = 1379; master_tag = "eng_north_airlock"; name = "interior access button"; pixel_x = -28; pixel_y = 26; req_one_access = list(10,11)},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/sign/securearea{desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; icon_state = "space"; layer = 4; name = "EXTERNAL AIRLOCK"; pixel_x = 0; pixel_y = 32},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 10; icon_state = "intact"},/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 4},/obj/effect/floor_decal/industrial/warning{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ax" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/effect/floor_decal/borderfloor{dir = 5},/obj/effect/floor_decal/corner/yellow/border{dir = 5},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ay" = (/obj/structure/cable/cyan{d1 = 0; d2 = 4; icon_state = "0-4"},/obj/machinery/power/apc{dir = 8; name = "west bump"; pixel_x = -28},/turf/simulated/floor,/area/engineering/engine_gas) -"az" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/machinery/power/sensor{name = "Powernet Sensor - Engine Power"; name_tag = "Engine Power"},/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor,/area/engineering/engine_gas) -"aA" = (/obj/machinery/camera/network/engine{dir = 1},/obj/structure/table/standard,/obj/item/weapon/circuitboard/tesla_coil,/obj/item/weapon/circuitboard/tesla_coil,/obj/item/weapon/stock_parts/capacitor/super,/obj/item/weapon/stock_parts/capacitor/super,/turf/simulated/floor,/area/engineering/engine_gas) -"aB" = (/obj/machinery/camera/network/engine{dir = 8},/turf/space,/area/space) -"aC" = (/obj/structure/sign/securearea{desc = "A warning sign which reads 'RADIOACTIVE AREA'"; icon_state = "radiation"; name = "RADIOACTIVE AREA"; pixel_x = 0; pixel_y = 0},/turf/simulated/wall/r_wall,/area/engineering/engine_room) -"aD" = (/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/industrial/warning/corner{dir = 1; icon_state = "warningcorner"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aE" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aF" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/airlock/engineering,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/machinery/door/firedoor/glass,/turf/simulated/floor,/area/engineering/engine_gas) -"aG" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; dir = 1; id = "SupermatterPort"; name = "Observation Blast Doors"; pixel_x = -4; pixel_y = -24; req_access = list(10)},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aH" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "SupermatterPort"; name = "Observation Blast Doors"; pixel_x = -4; pixel_y = 24; req_access = list(10)},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aI" = (/obj/item/weapon/extinguisher,/turf/space,/area/space) -"aJ" = (/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aK" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/effect/floor_decal/borderfloor/corner{dir = 4},/obj/effect/floor_decal/corner/yellow/bordercorner{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aL" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light{dir = 1},/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aM" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light_switch{pixel_y = 24},/obj/machinery/atmospherics/unary/vent_scrubber/on,/obj/effect/floor_decal/borderfloor{dir = 1; icon_state = "borderfloor"; pixel_y = 0},/obj/effect/floor_decal/corner/yellow/border{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 1},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aN" = (/obj/structure/cable/cyan{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aO" = (/obj/machinery/power/apc{dir = 4; name = "east bump"; pixel_x = 28},/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/effect/floor_decal/borderfloor{dir = 5},/obj/effect/floor_decal/corner/yellow/border{dir = 5},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aP" = (/obj/structure/cable/yellow{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) -"aQ" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 5; icon_state = "intact"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aR" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aS" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aT" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aU" = (/obj/effect/floor_decal/steeldecal/steel_decals_central5{dir = 8; icon_state = "steel_decals_central5"},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aV" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 10},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 10},/obj/machinery/atmospherics/pipe/manifold/hidden{dir = 4; icon_state = "map"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aW" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"aX" = (/obj/machinery/field_generator{anchored = 1; state = 1},/turf/simulated/floor/airless,/area/space) -"aY" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/structure/window/reinforced{dir = 1},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/turf/simulated/floor,/area/submap/pa_room) -"aZ" = (/obj/structure/cable/yellow{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor/corner{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ba" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bb" = (/obj/machinery/camera/network/engine{dir = 1},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/borderfloor/corner2,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bc" = (/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/obj/effect/floor_decal/borderfloor,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bd" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/structure/window/reinforced,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/turf/simulated/floor,/area/submap/pa_room) -"be" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bf" = (/turf/simulated/floor/tiled,/area/submap/pa_room) -"bg" = (/obj/machinery/power/grounding_rod,/turf/simulated/floor/airless,/area/space) -"bh" = (/obj/structure/sign/securearea{desc = "A warning sign which reads 'RADIOACTIVE AREA'"; icon_state = "radiation"; name = "RADIOACTIVE AREA"; pixel_x = 0; pixel_y = 0},/turf/simulated/wall/r_wall,/area/submap/pa_room) -"bi" = (/turf/simulated/wall/r_wall,/area/submap/pa_room) -"bj" = (/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/obj/structure/cable/yellow{d1 = 0; d2 = 8; icon_state = "0-8"},/turf/simulated/floor/airless,/area/space) -"bk" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bl" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/light{dir = 4; icon_state = "tube1"; pixel_x = 0},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 6},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bm" = (/turf/simulated/wall/r_wall,/area/template_noop) -"bn" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/machinery/door/firedoor/glass,/turf/simulated/floor,/area/submap/pa_room) -"bo" = (/obj/effect/floor_decal/techfloor/orange{dir = 5},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) -"bp" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/obj/item/clothing/head/hardhat,/turf/simulated/floor/airless,/area/space) -"bq" = (/obj/effect/floor_decal/steeldecal,/turf/simulated/floor/tiled,/area/submap/pa_room) -"br" = (/obj/machinery/light{dir = 1},/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "EngineRadiatorViewport"; name = "Viewport Blast Doors"; pixel_x = -4; pixel_y = 24; req_access = list(10)},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bs" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bt" = (/obj/structure/cable/cyan{d2 = 8; icon_state = "0-8"},/obj/machinery/power/apc{dir = 4; name = "east bump"; pixel_x = 28},/obj/machinery/light_switch{pixel_y = 24},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bu" = (/obj/item/weapon/book/manual/engineering_particle_accelerator{pixel_x = 5; pixel_y = 5},/obj/item/weapon/book/manual/tesla_engine,/turf/template_noop,/area/template_noop) -"bv" = (/obj/structure/table/rack{dir = 8; layer = 2.6},/obj/item/clothing/shoes/magboots,/obj/item/clothing/mask/breath,/obj/item/clothing/suit/space/void/engineering,/obj/item/clothing/mask/breath,/obj/item/clothing/head/helmet/space/void/engineering,/turf/template_noop,/area/template_noop) -"bw" = (/obj/effect/floor_decal/techfloor/orange/corner{dir = 4; icon_state = "techfloororange_corners"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) -"by" = (/obj/effect/floor_decal/techfloor/orange{dir = 1},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bz" = (/obj/machinery/particle_accelerator/control_box,/obj/effect/floor_decal/techfloor/orange{dir = 1},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bA" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/airlock/glass_engineering,/obj/machinery/door/firedoor/glass,/turf/simulated/floor/tiled,/area/submap/pa_room) -"bB" = (/obj/machinery/atmospherics/unary/vent_scrubber/on,/turf/simulated/floor/tiled,/area/submap/pa_room) -"bC" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor,/area/submap/pa_room) -"bD" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bE" = (/obj/machinery/the_singularitygen/tesla{anchored = 1},/turf/simulated/floor/airless,/area/space) -"bF" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/machinery/door/firedoor/glass,/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor,/area/submap/pa_room) -"bG" = (/obj/structure/particle_accelerator/particle_emitter/center{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bH" = (/obj/structure/particle_accelerator/power_box{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bI" = (/obj/structure/particle_accelerator/fuel_chamber{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bJ" = (/obj/structure/particle_accelerator/end_cap{dir = 8},/obj/effect/floor_decal/techfloor/orange{dir = 4},/obj/effect/floor_decal/techfloor/hole{dir = 4},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bK" = (/obj/machinery/camera/network/engine{dir = 8},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bL" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 4},/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor,/area/submap/pa_room) -"bM" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers,/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor{dir = 8},/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bN" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 4},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 4},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"bO" = (/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; id = "SupermatterPort"; name = "Radiation Collector Blast Doors"; pixel_x = -6; pixel_y = 7; req_access = list(10)},/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine control room blast doors."; id = "EngineBlast"; name = "Engine Monitoring Room Blast Doors"; pixel_x = 5; pixel_y = 7; req_access = list(10)},/turf/template_noop,/area/template_noop) -"bP" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/structure/window/reinforced{dir = 1},/turf/simulated/floor,/area/submap/pa_room) -"bQ" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) -"bS" = (/obj/effect/floor_decal/techfloor/orange,/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bT" = (/obj/effect/floor_decal/techfloor/orange,/obj/effect/floor_decal/techfloor/hole,/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bU" = (/obj/effect/floor_decal/techfloor/orange{dir = 6; icon_state = "techfloororange_edges"},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"bV" = (/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bW" = (/obj/effect/floor_decal/techfloor/orange/corner,/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) -"bX" = (/obj/effect/floor_decal/techfloor/orange{dir = 6; icon_state = "techfloororange_edges"},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled/techfloor/grid,/area/submap/pa_room) -"bY" = (/obj/machinery/alarm{dir = 8; pixel_x = 25; pixel_y = 0},/obj/effect/floor_decal/steeldecal/steel_decals8,/obj/structure/table/standard,/obj/item/weapon/book/manual/tesla_engine,/obj/item/weapon/book/manual/engineering_particle_accelerator{pixel_x = 5; pixel_y = 5},/turf/simulated/floor/tiled,/area/submap/pa_room) -"bZ" = (/obj/structure/cable/yellow{d2 = 2; icon_state = "0-2"},/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow,/turf/simulated/floor/airless,/area/space) -"ca" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) -"cb" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/light{dir = 4; icon_state = "tube1"; pixel_x = 0},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 5},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 5},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cc" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cd" = (/obj/machinery/light,/obj/machinery/button/remote/blast_door{desc = "A remote control-switch for the engine charging port."; dir = 1; id = "EngineRadiatorViewport"; name = "Viewport Blast Doors"; pixel_x = -4; pixel_y = -24; req_access = list(10)},/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) -"ce" = (/obj/machinery/camera/network/engine,/obj/effect/floor_decal/borderfloor{dir = 1},/obj/effect/floor_decal/borderfloor/corner2{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cf" = (/obj/machinery/atmospherics/unary/vent_scrubber/on,/obj/effect/floor_decal/borderfloor{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cg" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers,/obj/machinery/atmospherics/pipe/simple/hidden/supply,/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/borderfloor/corner{dir = 1},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ch" = (/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/yellow{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ci" = (/obj/machinery/atmospherics/pipe/simple/hidden,/obj/effect/floor_decal/industrial/warning/corner{dir = 8; icon_state = "warningcorner"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cj" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/effect/floor_decal/steeldecal/steel_decals_central5{dir = 8; icon_state = "steel_decals_central5"},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 5},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 6},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"ck" = (/obj/structure/cable/yellow{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/machinery/atmospherics/pipe/simple/hidden/supply{dir = 9; pixel_y = 0},/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{dir = 9},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 9; icon_state = "intact"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cl" = (/obj/structure/cable/cyan{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/effect/floor_decal/borderfloor{dir = 4},/obj/effect/floor_decal/corner/yellow/border{dir = 4},/obj/effect/floor_decal/borderfloor/corner2{dir = 6},/obj/effect/floor_decal/corner/yellow/bordercorner2{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cm" = (/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/machinery/door/firedoor/glass,/obj/machinery/door/blast/regular{density = 0; icon_state = "pdoor0"; id = "EngineRadiatorViewport"; name = "Engine Radiator Viewport Shutter"; opacity = 0},/obj/structure/window/reinforced,/turf/simulated/floor,/area/submap/pa_room) -"cn" = (/obj/structure/cable/cyan{d1 = 2; d2 = 4; icon_state = "2-4"},/obj/effect/floor_decal/borderfloor/corner,/obj/effect/floor_decal/corner/yellow/bordercorner,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"co" = (/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 4; icon_state = "0-4"},/turf/simulated/floor/airless,/area/space) -"cp" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/atmospherics/unary/vent_pump/on{dir = 1},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cq" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/alarm{dir = 1; icon_state = "alarm0"; pixel_y = -22},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cr" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/borderfloor{dir = 6},/obj/effect/floor_decal/corner/yellow/border{dir = 6},/obj/effect/floor_decal/industrial/hatch/yellow,/obj/structure/reagent_dispensers/fueltank,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cs" = (/obj/item/weapon/weldingtool,/turf/simulated/floor/airless,/area/space) -"ct" = (/obj/machinery/access_button{command = "cycle_exterior"; frequency = 1379; master_tag = "eng_south_airlock"; name = "exterior access button"; pixel_x = -5; pixel_y = 26; req_one_access = list(10,11,13)},/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_south_outer"; locked = 1; name = "Engine South Airlock Exterior"},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"cu" = (/obj/machinery/atmospherics/unary/vent_pump/high_volume{dir = 4; frequency = 1379; id_tag = "eng_south_pump"},/obj/machinery/airlock_sensor{frequency = 1379; id_tag = "eng_south_sensor"; pixel_x = 0; pixel_y = 25},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light/small{dir = 1},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"cv" = (/obj/machinery/door/airlock/glass_external{frequency = 1379; icon_state = "door_locked"; id_tag = "eng_south_inner"; locked = 1; name = "Engine South Airlock Interior"},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 4},/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/access_button{command = "cycle_interior"; frequency = 1379; master_tag = "eng_south_airlock"; name = "interior access button"; pixel_x = 8; pixel_y = -26; req_one_access = list(10,11)},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"cw" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/sign/securearea{desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; icon_state = "space"; layer = 4; name = "EXTERNAL AIRLOCK"; pixel_x = 0; pixel_y = -32},/obj/machinery/atmospherics/pipe/simple/hidden{dir = 9; icon_state = "intact"},/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/obj/effect/floor_decal/borderfloor/corner2,/obj/effect/floor_decal/corner/yellow/bordercorner2,/obj/effect/floor_decal/industrial/warning{dir = 8},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cx" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/borderfloor{dir = 6},/obj/effect/floor_decal/corner/yellow/border{dir = 6},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cy" = (/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) -"cz" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/structure/cable/cyan{d1 = 1; d2 = 4; icon_state = "1-4"},/turf/simulated/floor/airless,/area/space) -"cA" = (/obj/structure/cable/cyan{d1 = 1; d2 = 8; icon_state = "1-8"},/obj/effect/floor_decal/rust,/turf/simulated/floor/airless,/area/space) -"cB" = (/obj/structure/closet/emcloset,/obj/machinery/embedded_controller/radio/airlock/airlock_controller{frequency = 1379; id_tag = "eng_south_airlock"; pixel_x = 24; pixel_y = 0; req_one_access = list(10,11); tag_airpump = "eng_south_pump"; tag_chamber_sensor = "eng_south_sensor"; tag_exterior_door = "eng_south_outer"; tag_interior_door = "eng_south_inner"},/turf/simulated/floor/tiled/dark,/area/engineering/engine_room) -"cC" = (/turf/simulated/wall/r_wall,/area/space) -"cD" = (/obj/effect/floor_decal/techfloor/orange{dir = 5},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"cE" = (/obj/machinery/door/blast/regular{density = 0; dir = 2; icon_state = "pdoor0"; id = "SupermatterPort"; layer = 2.7; name = "Reactor Blast Door"; opacity = 0},/obj/machinery/door/firedoor/glass,/obj/structure/grille,/obj/structure/window/reinforced/full,/obj/structure/window/reinforced{dir = 8; health = 1e+006},/turf/simulated/floor,/area/engineering/engine_room) -"cF" = (/obj/structure/cable/yellow,/obj/machinery/power/tesla_coil,/obj/structure/cable/yellow{d2 = 2; icon_state = "0-2"},/turf/simulated/floor/airless,/area/space) -"cG" = (/obj/structure/cable/yellow{d1 = 2; d2 = 8; icon_state = "2-8"},/turf/simulated/floor/tiled,/area/submap/pa_room) -"cH" = (/obj/machinery/door/airlock/glass_engineering,/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/obj/machinery/door/firedoor/glass,/turf/simulated/floor/tiled,/area/submap/pa_room) -"cI" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cJ" = (/obj/item/weapon/tool/wirecutters,/turf/simulated/floor/airless,/area/space) -"cK" = (/obj/structure/cable/yellow{d1 = 4; d2 = 8; icon_state = "4-8"},/turf/simulated/floor/airless,/area/space) -"cL" = (/obj/structure/cable/cyan{d2 = 2; icon_state = "0-2"},/obj/machinery/power/emitter{anchored = 1; dir = 1; state = 1},/turf/simulated/floor/airless,/area/space) -"cM" = (/obj/structure/cable/cyan{d1 = 4; d2 = 8; icon_state = "4-8"},/obj/machinery/light,/obj/effect/floor_decal/borderfloor,/obj/effect/floor_decal/corner/yellow/border,/turf/simulated/floor/tiled,/area/engineering/engine_room) -"cN" = (/obj/structure/cable/yellow{d1 = 1; d2 = 2; icon_state = "1-2"},/turf/simulated/floor/airless,/area/space) -"cQ" = (/obj/structure/cable/yellow{d1 = 1; d2 = 8; icon_state = "1-8"},/turf/simulated/floor/airless,/area/space) -"hV" = (/obj/effect/floor_decal/techfloor/orange,/obj/structure/particle_accelerator/particle_emitter/left{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) -"kq" = (/obj/effect/floor_decal/techfloor/orange{dir = 1},/obj/structure/particle_accelerator/particle_emitter/right{dir = 8},/turf/simulated/floor/tiled/techfloor,/area/submap/pa_room) +//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE +"aa" = ( +/turf/template_noop, +/area/template_noop) +"ab" = ( +/turf/space, +/area/space) +"ac" = ( +/obj/structure/lattice, +/obj/structure/grille, +/turf/space, +/area/space) +"ad" = ( +/obj/structure/lattice, +/turf/space, +/area/space) +"ae" = ( +/turf/simulated/wall/r_wall, +/area/engineering/engine_gas) +"af" = ( +/turf/simulated/wall/r_wall, +/area/engineering/engine_room) +"ag" = ( +/obj/machinery/atmospherics/portables_connector{ + dir = 4 + }, +/obj/machinery/portable_atmospherics/canister/air/airlock{ + start_pressure = 4559.63 + }, +/turf/simulated/floor, +/area/engineering/engine_gas) +"ah" = ( +/obj/machinery/field_generator, +/obj/machinery/light/small{ + dir = 1 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10; + icon_state = "intact" + }, +/turf/simulated/floor, +/area/engineering/engine_gas) +"ai" = ( +/obj/machinery/field_generator, +/turf/simulated/floor, +/area/engineering/engine_gas) +"aj" = ( +/turf/simulated/floor/airless, +/area/space) +"ak" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/turf/simulated/floor/airless, +/area/space) +"al" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/airless, +/area/space) +"am" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/turf/simulated/floor/airless, +/area/space) +"an" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/airless, +/area/space) +"ao" = ( +/obj/structure/closet/emcloset, +/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ + frequency = 1379; + id_tag = "eng_north_airlock"; + pixel_x = 24; + pixel_y = 0; + req_one_access = list(10,11); + tag_airpump = "eng_north_pump"; + tag_chamber_sensor = "eng_north_sensor"; + tag_exterior_door = "eng_north_outer"; + tag_interior_door = "eng_north_inner" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"ap" = ( +/obj/machinery/atmospherics/pipe/manifold/hidden{ + dir = 4; + icon_state = "map" + }, +/turf/simulated/floor, +/area/engineering/engine_gas) +"aq" = ( +/obj/machinery/alarm{ + dir = 8; + icon_state = "alarm0"; + pixel_x = 24 + }, +/obj/structure/table/standard, +/obj/item/stack/cable_coil/random, +/obj/item/weapon/tool/wrench, +/obj/item/weapon/tool/screwdriver, +/turf/simulated/floor, +/area/engineering/engine_gas) +"ar" = ( +/obj/structure/cable/cyan, +/obj/machinery/power/emitter{ + anchored = 1; + state = 1 + }, +/turf/simulated/floor/airless, +/area/space) +"as" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/effect/floor_decal/rust/mono_rusted1, +/turf/simulated/floor/airless, +/area/space) +"at" = ( +/obj/machinery/access_button{ + command = "cycle_exterior"; + frequency = 1379; + master_tag = "eng_north_airlock"; + name = "exterior access button"; + pixel_x = -5; + pixel_y = -26; + req_one_access = list(10,11,13) + }, +/obj/machinery/door/airlock/glass_external{ + frequency = 1379; + icon_state = "door_locked"; + id_tag = "eng_north_outer"; + locked = 1; + name = "Engine North Airlock Exterior" + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"au" = ( +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 4; + frequency = 1379; + id_tag = "eng_north_pump" + }, +/obj/machinery/light/small, +/obj/machinery/airlock_sensor{ + frequency = 1379; + id_tag = "eng_north_sensor"; + pixel_x = 0; + pixel_y = -25 + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"av" = ( +/obj/machinery/door/airlock/glass_external{ + frequency = 1379; + icon_state = "door_locked"; + id_tag = "eng_north_inner"; + locked = 1; + name = "Engine North Airlock Interior" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"aw" = ( +/obj/machinery/access_button{ + command = "cycle_interior"; + frequency = 1379; + master_tag = "eng_north_airlock"; + name = "interior access button"; + pixel_x = -28; + pixel_y = 26; + req_one_access = list(10,11) + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/sign/securearea{ + desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; + icon_state = "space"; + layer = 4; + name = "EXTERNAL AIRLOCK"; + pixel_x = 0; + pixel_y = 32 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 10; + icon_state = "intact" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 1 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 4 + }, +/obj/effect/floor_decal/industrial/warning{ + dir = 8 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ax" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 5 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 5 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ay" = ( +/obj/structure/cable/cyan{ + d1 = 0; + d2 = 4; + icon_state = "0-4" + }, +/obj/machinery/power/apc{ + dir = 8; + name = "west bump"; + pixel_x = -28 + }, +/turf/simulated/floor, +/area/engineering/engine_gas) +"az" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/machinery/power/sensor{ + name = "Powernet Sensor - Engine Power"; + name_tag = "Engine Power" + }, +/obj/structure/cable/cyan{ + d2 = 2; + icon_state = "0-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor, +/area/engineering/engine_gas) +"aA" = ( +/obj/machinery/camera/network/engine{ + dir = 1 + }, +/obj/structure/table/standard, +/obj/item/weapon/circuitboard/tesla_coil, +/obj/item/weapon/circuitboard/tesla_coil, +/obj/item/weapon/stock_parts/capacitor/super, +/obj/item/weapon/stock_parts/capacitor/super, +/turf/simulated/floor, +/area/engineering/engine_gas) +"aB" = ( +/obj/machinery/camera/network/engine{ + dir = 8 + }, +/turf/space, +/area/space) +"aC" = ( +/obj/structure/sign/securearea{ + desc = "A warning sign which reads 'RADIOACTIVE AREA'"; + icon_state = "radiation"; + name = "RADIOACTIVE AREA"; + pixel_x = 0; + pixel_y = 0 + }, +/turf/simulated/wall/r_wall, +/area/engineering/engine_room) +"aD" = ( +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/industrial/warning/corner{ + dir = 1; + icon_state = "warningcorner" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aE" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aF" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/door/airlock/engineering, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/machinery/door/firedoor/glass, +/turf/simulated/floor, +/area/engineering/engine_gas) +"aG" = ( +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine charging port."; + dir = 1; + id = "SupermatterPort"; + name = "Observation Blast Doors"; + pixel_x = -4; + pixel_y = -24; + req_access = list(10) + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aH" = ( +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine charging port."; + id = "SupermatterPort"; + name = "Observation Blast Doors"; + pixel_x = -4; + pixel_y = 24; + req_access = list(10) + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aI" = ( +/obj/item/weapon/extinguisher, +/turf/space, +/area/space) +"aJ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aK" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/effect/floor_decal/borderfloor/corner{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aL" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor{ + dir = 1 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 1 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aM" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light_switch{ + pixel_y = 24 + }, +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/effect/floor_decal/borderfloor{ + dir = 1; + icon_state = "borderfloor"; + pixel_y = 0 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 1 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 1 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aN" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aO" = ( +/obj/machinery/power/apc{ + dir = 4; + name = "east bump"; + pixel_x = 28 + }, +/obj/structure/cable/cyan{ + d2 = 2; + icon_state = "0-2" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 5 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 5 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 4 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 5 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 5 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aP" = ( +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/airless, +/area/space) +"aQ" = ( +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 5; + icon_state = "intact" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aR" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aS" = ( +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aT" = ( +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aU" = ( +/obj/effect/floor_decal/steeldecal/steel_decals_central5{ + dir = 8; + icon_state = "steel_decals_central5" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aV" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 10 + }, +/obj/machinery/atmospherics/pipe/manifold/hidden{ + dir = 4; + icon_state = "map" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aW" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"aX" = ( +/obj/machinery/field_generator{ + anchored = 1; + state = 1 + }, +/turf/simulated/floor/airless, +/area/space) +"aY" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/structure/window/reinforced{ + dir = 8; + health = 1e+006 + }, +/obj/structure/window/reinforced{ + dir = 1 + }, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/turf/simulated/floor, +/area/submap/pa_room) +"aZ" = ( +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/borderfloor/corner{ + dir = 8 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ba" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bb" = ( +/obj/machinery/camera/network/engine{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor, +/obj/effect/floor_decal/borderfloor/corner2, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bc" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bd" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/structure/window/reinforced{ + dir = 8; + health = 1e+006 + }, +/obj/structure/window/reinforced, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/turf/simulated/floor, +/area/submap/pa_room) +"be" = ( +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bf" = ( +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bg" = ( +/obj/machinery/power/grounding_rod, +/turf/simulated/floor/airless, +/area/space) +"bh" = ( +/obj/structure/sign/securearea{ + desc = "A warning sign which reads 'RADIOACTIVE AREA'"; + icon_state = "radiation"; + name = "RADIOACTIVE AREA"; + pixel_x = 0; + pixel_y = 0 + }, +/turf/simulated/wall/r_wall, +/area/submap/pa_room) +"bi" = ( +/turf/simulated/wall/r_wall, +/area/submap/pa_room) +"bj" = ( +/obj/machinery/power/tesla_coil, +/obj/structure/cable/yellow{ + d2 = 4; + icon_state = "0-4" + }, +/obj/structure/cable/yellow{ + d1 = 0; + d2 = 8; + icon_state = "0-8" + }, +/turf/simulated/floor/airless, +/area/space) +"bk" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/borderfloor{ + dir = 8 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bl" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/light{ + dir = 4; + icon_state = "tube1"; + pixel_x = 0 + }, +/obj/effect/floor_decal/borderfloor{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 4 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 6 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 6 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bm" = ( +/turf/simulated/wall/r_wall, +/area/template_noop) +"bn" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/structure/window/reinforced{ + dir = 8; + health = 1e+006 + }, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/obj/machinery/door/firedoor/glass, +/turf/simulated/floor, +/area/submap/pa_room) +"bo" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 5 + }, +/turf/simulated/floor/tiled/techfloor/grid, +/area/submap/pa_room) +"bp" = ( +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/obj/item/clothing/head/hardhat, +/turf/simulated/floor/airless, +/area/space) +"bq" = ( +/obj/effect/floor_decal/steeldecal, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"br" = ( +/obj/machinery/light{ + dir = 1 + }, +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine charging port."; + id = "EngineRadiatorViewport"; + name = "Viewport Blast Doors"; + pixel_x = -4; + pixel_y = 24; + req_access = list(10) + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bs" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bt" = ( +/obj/structure/cable/cyan{ + d2 = 8; + icon_state = "0-8" + }, +/obj/machinery/power/apc{ + dir = 4; + name = "east bump"; + pixel_x = 28 + }, +/obj/machinery/light_switch{ + pixel_y = 24 + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bu" = ( +/obj/item/weapon/book/manual/engineering_particle_accelerator{ + pixel_x = 5; + pixel_y = 5 + }, +/obj/item/weapon/book/manual/tesla_engine, +/turf/template_noop, +/area/template_noop) +"bv" = ( +/obj/structure/table/rack{ + dir = 8; + layer = 2.6 + }, +/obj/item/clothing/shoes/magboots, +/obj/item/clothing/mask/breath, +/obj/item/clothing/suit/space/void/engineering, +/obj/item/clothing/mask/breath, +/obj/item/clothing/head/helmet/space/void/engineering, +/turf/template_noop, +/area/template_noop) +"bw" = ( +/obj/effect/floor_decal/techfloor/orange/corner{ + dir = 4; + icon_state = "techfloororange_corners" + }, +/turf/simulated/floor/tiled/techfloor/grid, +/area/submap/pa_room) +"by" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 1 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bz" = ( +/obj/machinery/particle_accelerator/control_box, +/obj/effect/floor_decal/techfloor/orange{ + dir = 1 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bA" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/door/airlock/glass_engineering, +/obj/machinery/door/firedoor/glass, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bB" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bC" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/structure/cable/yellow{ + d2 = 4; + icon_state = "0-4" + }, +/turf/simulated/floor, +/area/submap/pa_room) +"bD" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/borderfloor{ + dir = 8 + }, +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bE" = ( +/obj/machinery/the_singularitygen/tesla{ + anchored = 1 + }, +/turf/simulated/floor/airless, +/area/space) +"bF" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/structure/window/reinforced{ + dir = 8; + health = 1e+006 + }, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/obj/machinery/door/firedoor/glass, +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor, +/area/submap/pa_room) +"bG" = ( +/obj/structure/particle_accelerator/particle_emitter/center{ + dir = 8 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bH" = ( +/obj/structure/particle_accelerator/power_box{ + dir = 8 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bI" = ( +/obj/structure/particle_accelerator/fuel_chamber{ + dir = 8 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bJ" = ( +/obj/structure/particle_accelerator/end_cap{ + dir = 8 + }, +/obj/effect/floor_decal/techfloor/orange{ + dir = 4 + }, +/obj/effect/floor_decal/techfloor/hole{ + dir = 4 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bK" = ( +/obj/machinery/camera/network/engine{ + dir = 8 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bL" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/structure/cable/yellow{ + d2 = 4; + icon_state = "0-4" + }, +/turf/simulated/floor, +/area/submap/pa_room) +"bM" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/manifold4w/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/borderfloor{ + dir = 8 + }, +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bN" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 4 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 4 + }, +/obj/effect/floor_decal/borderfloor{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"bO" = ( +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine charging port."; + id = "SupermatterPort"; + name = "Radiation Collector Blast Doors"; + pixel_x = -6; + pixel_y = 7; + req_access = list(10) + }, +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine control room blast doors."; + id = "EngineBlast"; + name = "Engine Monitoring Room Blast Doors"; + pixel_x = 5; + pixel_y = 7; + req_access = list(10) + }, +/turf/template_noop, +/area/template_noop) +"bP" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/obj/structure/window/reinforced{ + dir = 1 + }, +/turf/simulated/floor, +/area/submap/pa_room) +"bQ" = ( +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/tiled/techfloor/grid, +/area/submap/pa_room) +"bS" = ( +/obj/effect/floor_decal/techfloor/orange, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bT" = ( +/obj/effect/floor_decal/techfloor/orange, +/obj/effect/floor_decal/techfloor/hole, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bU" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 6; + icon_state = "techfloororange_edges" + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"bV" = ( +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bW" = ( +/obj/effect/floor_decal/techfloor/orange/corner, +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/tiled/techfloor/grid, +/area/submap/pa_room) +"bX" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 6; + icon_state = "techfloororange_edges" + }, +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/tiled/techfloor/grid, +/area/submap/pa_room) +"bY" = ( +/obj/machinery/alarm{ + dir = 8; + pixel_x = 25; + pixel_y = 0 + }, +/obj/effect/floor_decal/steeldecal/steel_decals8, +/obj/structure/table/standard, +/obj/item/weapon/book/manual/tesla_engine, +/obj/item/weapon/book/manual/engineering_particle_accelerator{ + pixel_x = 5; + pixel_y = 5 + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"bZ" = ( +/obj/structure/cable/yellow{ + d2 = 2; + icon_state = "0-2" + }, +/obj/machinery/power/tesla_coil, +/obj/structure/cable/yellow, +/turf/simulated/floor/airless, +/area/space) +"ca" = ( +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"cb" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/light{ + dir = 4; + icon_state = "tube1"; + pixel_x = 0 + }, +/obj/effect/floor_decal/borderfloor{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 4 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 5 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 5 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cc" = ( +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 6 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cd" = ( +/obj/machinery/light, +/obj/machinery/button/remote/blast_door{ + desc = "A remote control-switch for the engine charging port."; + dir = 1; + id = "EngineRadiatorViewport"; + name = "Viewport Blast Doors"; + pixel_x = -4; + pixel_y = -24; + req_access = list(10) + }, +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"ce" = ( +/obj/machinery/camera/network/engine, +/obj/effect/floor_decal/borderfloor{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cf" = ( +/obj/machinery/atmospherics/unary/vent_scrubber/on, +/obj/effect/floor_decal/borderfloor{ + dir = 1 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cg" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers, +/obj/machinery/atmospherics/pipe/simple/hidden/supply, +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/borderfloor/corner{ + dir = 1 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ch" = ( +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ci" = ( +/obj/machinery/atmospherics/pipe/simple/hidden, +/obj/effect/floor_decal/industrial/warning/corner{ + dir = 8; + icon_state = "warningcorner" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cj" = ( +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/effect/floor_decal/steeldecal/steel_decals_central5{ + dir = 8; + icon_state = "steel_decals_central5" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 5 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 6 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"ck" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/machinery/atmospherics/pipe/simple/hidden/supply{ + dir = 9; + pixel_y = 0 + }, +/obj/machinery/atmospherics/pipe/simple/hidden/scrubbers{ + dir = 9 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9; + icon_state = "intact" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cl" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 4 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 4 + }, +/obj/effect/floor_decal/borderfloor/corner2{ + dir = 6 + }, +/obj/effect/floor_decal/corner/yellow/bordercorner2{ + dir = 6 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cm" = ( +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/machinery/door/firedoor/glass, +/obj/machinery/door/blast/regular{ + density = 0; + icon_state = "pdoor0"; + id = "EngineRadiatorViewport"; + name = "Engine Radiator Viewport Shutter"; + opacity = 0 + }, +/obj/structure/window/reinforced, +/turf/simulated/floor, +/area/submap/pa_room) +"cn" = ( +/obj/structure/cable/cyan{ + d1 = 2; + d2 = 4; + icon_state = "2-4" + }, +/obj/effect/floor_decal/borderfloor/corner, +/obj/effect/floor_decal/corner/yellow/bordercorner, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"co" = ( +/obj/machinery/power/tesla_coil, +/obj/structure/cable/yellow{ + d2 = 4; + icon_state = "0-4" + }, +/turf/simulated/floor/airless, +/area/space) +"cp" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/atmospherics/unary/vent_pump/on{ + dir = 1 + }, +/obj/effect/floor_decal/borderfloor, +/obj/effect/floor_decal/corner/yellow/border, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cq" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/alarm{ + dir = 1; + icon_state = "alarm0"; + pixel_y = -22 + }, +/obj/effect/floor_decal/borderfloor, +/obj/effect/floor_decal/corner/yellow/border, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cr" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 6 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 6 + }, +/obj/effect/floor_decal/industrial/hatch/yellow, +/obj/structure/reagent_dispensers/fueltank, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cs" = ( +/obj/item/weapon/weldingtool, +/turf/simulated/floor/airless, +/area/space) +"ct" = ( +/obj/machinery/access_button{ + command = "cycle_exterior"; + frequency = 1379; + master_tag = "eng_south_airlock"; + name = "exterior access button"; + pixel_x = -5; + pixel_y = 26; + req_one_access = list(10,11,13) + }, +/obj/machinery/door/airlock/glass_external{ + frequency = 1379; + icon_state = "door_locked"; + id_tag = "eng_south_outer"; + locked = 1; + name = "Engine South Airlock Exterior" + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"cu" = ( +/obj/machinery/atmospherics/unary/vent_pump/high_volume{ + dir = 4; + frequency = 1379; + id_tag = "eng_south_pump" + }, +/obj/machinery/airlock_sensor{ + frequency = 1379; + id_tag = "eng_south_sensor"; + pixel_x = 0; + pixel_y = 25 + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light/small{ + dir = 1 + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"cv" = ( +/obj/machinery/door/airlock/glass_external{ + frequency = 1379; + icon_state = "door_locked"; + id_tag = "eng_south_inner"; + locked = 1; + name = "Engine South Airlock Interior" + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 4 + }, +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/access_button{ + command = "cycle_interior"; + frequency = 1379; + master_tag = "eng_south_airlock"; + name = "interior access button"; + pixel_x = 8; + pixel_y = -26; + req_one_access = list(10,11) + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"cw" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/sign/securearea{ + desc = "A warning sign which reads 'EXTERNAL AIRLOCK'"; + icon_state = "space"; + layer = 4; + name = "EXTERNAL AIRLOCK"; + pixel_x = 0; + pixel_y = -32 + }, +/obj/machinery/atmospherics/pipe/simple/hidden{ + dir = 9; + icon_state = "intact" + }, +/obj/effect/floor_decal/borderfloor, +/obj/effect/floor_decal/corner/yellow/border, +/obj/effect/floor_decal/borderfloor/corner2, +/obj/effect/floor_decal/corner/yellow/bordercorner2, +/obj/effect/floor_decal/industrial/warning{ + dir = 8 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cx" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/effect/floor_decal/borderfloor{ + dir = 6 + }, +/obj/effect/floor_decal/corner/yellow/border{ + dir = 6 + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cy" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/airless, +/area/space) +"cz" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 4; + icon_state = "1-4" + }, +/turf/simulated/floor/airless, +/area/space) +"cA" = ( +/obj/structure/cable/cyan{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/obj/effect/floor_decal/rust, +/turf/simulated/floor/airless, +/area/space) +"cB" = ( +/obj/structure/closet/emcloset, +/obj/machinery/embedded_controller/radio/airlock/airlock_controller{ + frequency = 1379; + id_tag = "eng_south_airlock"; + pixel_x = 24; + pixel_y = 0; + req_one_access = list(10,11); + tag_airpump = "eng_south_pump"; + tag_chamber_sensor = "eng_south_sensor"; + tag_exterior_door = "eng_south_outer"; + tag_interior_door = "eng_south_inner" + }, +/turf/simulated/floor/tiled/dark, +/area/engineering/engine_room) +"cC" = ( +/turf/simulated/wall/r_wall, +/area/space) +"cD" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 5 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"cE" = ( +/obj/machinery/door/blast/regular{ + density = 0; + dir = 2; + icon_state = "pdoor0"; + id = "SupermatterPort"; + layer = 2.7; + name = "Reactor Blast Door"; + opacity = 0 + }, +/obj/machinery/door/firedoor/glass, +/obj/structure/grille, +/obj/structure/window/reinforced/full, +/obj/structure/window/reinforced{ + dir = 8; + health = 1e+006 + }, +/turf/simulated/floor, +/area/engineering/engine_room) +"cF" = ( +/obj/structure/cable/yellow, +/obj/machinery/power/tesla_coil, +/obj/structure/cable/yellow{ + d2 = 2; + icon_state = "0-2" + }, +/turf/simulated/floor/airless, +/area/space) +"cG" = ( +/obj/structure/cable/yellow{ + d1 = 2; + d2 = 8; + icon_state = "2-8" + }, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"cH" = ( +/obj/machinery/door/airlock/glass_engineering, +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/obj/machinery/door/firedoor/glass, +/turf/simulated/floor/tiled, +/area/submap/pa_room) +"cI" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cJ" = ( +/obj/item/weapon/tool/wirecutters, +/turf/simulated/floor/airless, +/area/space) +"cK" = ( +/obj/structure/cable/yellow{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/turf/simulated/floor/airless, +/area/space) +"cL" = ( +/obj/structure/cable/cyan{ + d2 = 2; + icon_state = "0-2" + }, +/obj/machinery/power/emitter{ + anchored = 1; + dir = 1; + state = 1 + }, +/turf/simulated/floor/airless, +/area/space) +"cM" = ( +/obj/structure/cable/cyan{ + d1 = 4; + d2 = 8; + icon_state = "4-8" + }, +/obj/machinery/light, +/obj/effect/floor_decal/borderfloor, +/obj/effect/floor_decal/corner/yellow/border, +/turf/simulated/floor/tiled, +/area/engineering/engine_room) +"cN" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 2; + icon_state = "1-2" + }, +/turf/simulated/floor/airless, +/area/space) +"cQ" = ( +/obj/structure/cable/yellow{ + d1 = 1; + d2 = 8; + icon_state = "1-8" + }, +/turf/simulated/floor/airless, +/area/space) +"hV" = ( +/obj/effect/floor_decal/techfloor/orange, +/obj/structure/particle_accelerator/particle_emitter/left{ + dir = 8 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) +"kq" = ( +/obj/effect/floor_decal/techfloor/orange{ + dir = 1 + }, +/obj/structure/particle_accelerator/particle_emitter/right{ + dir = 8 + }, +/turf/simulated/floor/tiled/techfloor, +/area/submap/pa_room) (1,1,1) = {" -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -aaabababababababababababababababababababababababababababaaaa -aaacacacacacadacacacacacabababacacacacacacadacacacacacacaaaa -aaacababababababababababababababababababababababababababaaaa -aaacababababababababababababababababababababababababababaaaa -aaadabababababababababababababababababababaeaeaeaeaeababaaaa -aaacacacacacacacacacacacacacacacafafafababaeagahaiaeababaaaa -aaacababajajakalalalalalamalalanafaoafafafaeagapaqaeababaaaa -aaacabababajarajajajajajarajadasatauavawaxaeayazaAaaaaaaaaaa -aaacababababadababadababadababaBafafaCaDaEaeaeaFaeaaaaaaaaaa -aaacababababadababadababadabababababcEaJaKaLaMaNaOaaaaaaaaaa -aaacababaIabadababadababadadbgabababcEaQaRaSaUaVaWaaaaaaaaaa -aaacabababbgajcocKcKcKbjcKbpadabababcEaGbabbbcaZbeaaaaaaaaaa -aaacadadadajaXabadabadabaXcNadaYbPbPbhbibAbibibkblbmbmaaaaaa -aaacabababajababadabadababbZadbnbobfbqbrbsbtbibkaEaabubvaaaa -aaacabababajadadcsajajadadcNadbnbwkqbybzcDbBbCbDaEaaaaaaaaaa -aaacabababajababajbEajababaPcKbFbQbGbHbIbJbKbLbMbNaaaabOaaaa -aaacabababajadadajajajadadcNadbnbWhVbSbTbUbVbCbDaEaaaaaaaaaa -aaacabababajababadabadababcFadbnbXcacacdcGbYbibkaEaaaaaaaaaa -aaacadadadajaXabadabadabaXcNadbdcmcmbhbicHbibibkcbbmbmaaaaaa -aaacabababbgajcocKcKcKbjcKcQadabababcEaHcIcecfcgbaaaaaaaaaaa -aaacababababadababadababadadbgabababcEccchaTcjckclaaaaaaaaaa -aaacababababadababadababadabababababcEaJcncMcpcqcraaaaaaaaaa -aaacababababadababadababadababaBafafaCciaEafafafafaaaaaaaaaa -aaacabababcJcLajajajajajcLajadakctcucvcwcxafaaaaaaaaaaaaaaaa -aaacabadajajcyalalalalalczalalcAafcBafafafafaaaaaaaaaaaaaaaa -aaacadadcCcCcCcCcCcCcCcCcCcCcCcCafafaCaaaaaaaaaaaaaaaaaaaaaa -aaacababababababababaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa -aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +"} +(2,1,1) = {" +aa +aa +ab +ac +ac +ac +ad +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +ac +aa +"} +(3,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +ab +ab +ab +ab +ab +ab +ad +ab +ab +ab +ab +ab +ad +ab +ab +ab +ab +ab +ab +ad +ab +aa +"} +(4,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +ab +ab +ab +ab +ab +ab +ad +ab +ab +ab +ab +ab +ad +ab +ab +ab +ab +ab +ad +ad +ab +aa +"} +(5,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +aj +ab +ab +ab +aI +ab +ad +ab +ab +ab +ab +ab +ad +ab +ab +ab +ab +ab +aj +cC +ab +aa +"} +(6,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +aj +aj +ab +ab +ab +bg +aj +aj +aj +aj +aj +aj +aj +bg +ab +ab +ab +cJ +aj +cC +ab +aa +"} +(7,1,1) = {" +aa +aa +ab +ad +ab +ab +ab +ac +ak +ar +ad +ad +ad +aj +aX +ab +ad +ab +ad +ab +aX +aj +ad +ad +ad +cL +cy +cC +ab +aa +"} +(8,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +al +aj +ab +ab +ab +co +ab +ab +ad +ab +ad +ab +ab +co +ab +ab +ab +aj +al +cC +ab +aa +"} +(9,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +al +aj +ab +ab +ab +cK +ad +ad +cs +aj +aj +ad +ad +cK +ab +ab +ab +aj +al +cC +ab +aa +"} +(10,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +al +aj +ad +ad +ad +cK +ab +ab +aj +bE +aj +ab +ab +cK +ad +ad +ad +aj +al +cC +ab +aa +"} +(11,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +al +aj +ab +ab +ab +cK +ad +ad +aj +aj +aj +ad +ad +cK +ab +ab +ab +aj +al +cC +aa +aa +"} +(12,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +al +aj +ab +ab +ab +bj +ab +ab +ad +ab +ad +ab +ab +bj +ab +ab +ab +aj +al +cC +aa +aa +"} +(13,1,1) = {" +aa +aa +ab +ab +ab +ab +ab +ac +am +ar +ad +ad +ad +cK +aX +ab +ad +ab +ad +ab +aX +cK +ad +ad +ad +cL +cz +cC +aa +aa +"} +(14,1,1) = {" +aa +aa +ab +ab +ab +ab +ab +ac +al +aj +ab +ab +ad +bp +cN +bZ +cN +aP +cN +cF +cN +cQ +ad +ab +ab +aj +al +cC +aa +aa +"} +(15,1,1) = {" +aa +aa +ab +ab +ab +ab +ab +ac +al +ad +ab +ab +bg +ad +ad +ad +ad +cK +ad +ad +ad +ad +bg +ab +ab +ad +al +cC +aa +aa +"} +(16,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ac +an +as +aB +ab +ab +ab +aY +bn +bn +bF +bn +bn +bd +ab +ab +ab +aB +ak +cA +cC +aa +aa +"} +(17,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +af +af +at +af +ab +ab +ab +bP +bo +bw +bQ +bW +bX +cm +ab +ab +ab +af +ct +af +af +aa +aa +"} +(18,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +af +ao +au +af +ab +ab +ab +bP +bf +kq +bG +hV +ca +cm +ab +ab +ab +af +cu +cB +af +aa +aa +"} +(19,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +af +af +av +aC +cE +cE +cE +bh +bq +by +bH +bS +ca +bh +cE +cE +cE +aC +cv +af +aC +aa +aa +"} +(20,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ab +af +aw +aD +aJ +aQ +aG +bi +br +bz +bI +bT +cd +bi +aH +cc +aJ +ci +cw +af +aa +aa +aa +"} +(21,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ab +af +ax +aE +aK +aR +ba +bA +bs +cD +bJ +bU +cG +cH +cI +ch +cn +aE +cx +af +aa +aa +aa +"} +(22,1,1) = {" +aa +aa +ab +ad +ab +ab +ae +ae +ae +ae +ae +aL +aS +bb +bi +bt +bB +bK +bV +bY +bi +ce +aT +cM +af +af +af +aa +aa +aa +"} +(23,1,1) = {" +aa +aa +ab +ac +ab +ab +ae +ag +ag +ay +ae +aM +aU +bc +bi +bi +bC +bL +bC +bi +bi +cf +cj +cp +af +aa +aa +aa +aa +aa +"} +(24,1,1) = {" +aa +aa +ab +ac +ab +ab +ae +ah +ap +az +aF +aN +aV +aZ +bk +bk +bD +bM +bD +bk +bk +cg +ck +cq +af +aa +aa +aa +aa +aa +"} +(25,1,1) = {" +aa +aa +ab +ac +ab +ab +ae +ai +aq +aA +ae +aO +aW +be +bl +aE +aE +bN +aE +aE +cb +ba +cl +cr +af +aa +aa +aa +aa +aa +"} +(26,1,1) = {" +aa +aa +ab +ac +ab +ab +ae +ae +ae +aa +aa +aa +aa +aa +bm +aa +aa +aa +aa +aa +bm +aa +aa +aa +aa +aa +aa +aa +aa +aa +"} +(27,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ab +ab +aa +aa +aa +aa +aa +bm +bu +aa +aa +aa +aa +bm +aa +aa +aa +aa +aa +aa +aa +aa +aa +"} +(28,1,1) = {" +aa +aa +ab +ac +ab +ab +ab +ab +ab +aa +aa +aa +aa +aa +aa +bv +aa +bO +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +"} +(29,1,1) = {" +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +"} +(30,1,1) = {" +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa +aa "} From ba359ad30fdeeba9d7607baf6456892eda6d12e3 Mon Sep 17 00:00:00 2001 From: Victor Zisthus <56660717+VictorZisthus@users.noreply.github.com> Date: Tue, 18 Aug 2020 02:20:47 -0400 Subject: [PATCH 046/149] Cap go boom Per requests. --- maps/submaps/engine_submaps/engine_tesla.dmm | 2 -- 1 file changed, 2 deletions(-) diff --git a/maps/submaps/engine_submaps/engine_tesla.dmm b/maps/submaps/engine_submaps/engine_tesla.dmm index f47a3cdbc6..0cbbf90966 100644 --- a/maps/submaps/engine_submaps/engine_tesla.dmm +++ b/maps/submaps/engine_submaps/engine_tesla.dmm @@ -292,8 +292,6 @@ /obj/structure/table/standard, /obj/item/weapon/circuitboard/tesla_coil, /obj/item/weapon/circuitboard/tesla_coil, -/obj/item/weapon/stock_parts/capacitor/super, -/obj/item/weapon/stock_parts/capacitor/super, /turf/simulated/floor, /area/engineering/engine_gas) "aB" = ( From 992645fa3057f7dfbc5159ca2cd8b9027928ffab Mon Sep 17 00:00:00 2001 From: Novacat <35587478+Novacat@users.noreply.github.com> Date: Tue, 18 Aug 2020 09:16:34 -0400 Subject: [PATCH 047/149] Update vorestation.dme --- vorestation.dme | 2 -- 1 file changed, 2 deletions(-) diff --git a/vorestation.dme b/vorestation.dme index fefd2634ff..f70138cbd2 100644 --- a/vorestation.dme +++ b/vorestation.dme @@ -3704,7 +3704,5 @@ #include "maps\submaps\surface_submaps\wilderness\wilderness.dm" #include "maps\submaps\surface_submaps\wilderness\wilderness_areas.dm" #include "maps\tether\tether.dm" -#include "maps\tether\tether-03-surface3.dmm" -#include "maps\tether\tether-08-mining.dmm" #include "maps\~map_system\maps.dm" // END_INCLUDE From e329f14a220593e58048568db66efe2396c0bc2b Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Tue, 18 Aug 2020 07:27:37 -0700 Subject: [PATCH 048/149] Add remove beaker button to sleepers with no occupants TRAVIS YOU FUCK --- tgui/packages/tgui/interfaces/Sleeper.js | 13 +++++++++++++ tgui/packages/tgui/public/tgui.bundle.js | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/tgui/packages/tgui/interfaces/Sleeper.js b/tgui/packages/tgui/interfaces/Sleeper.js index 47ff108856..96c4ec3c75 100644 --- a/tgui/packages/tgui/interfaces/Sleeper.js +++ b/tgui/packages/tgui/interfaces/Sleeper.js @@ -319,6 +319,10 @@ const SleeperChemicals = (props, context) => { }; const SleeperEmpty = (props, context) => { + const { act, data } = useBackend(context); + const { + isBeakerLoaded, + } = data; return (
@@ -329,6 +333,15 @@ const SleeperEmpty = (props, context) => { size="5" />
No occupant detected. + {isBeakerLoaded && ( + +
diff --git a/tgui/packages/tgui/public/tgui.bundle.js b/tgui/packages/tgui/public/tgui.bundle.js index 7dde6736b3..cb26d3112f 100644 --- a/tgui/packages/tgui/public/tgui.bundle.js +++ b/tgui/packages/tgui/public/tgui.bundle.js @@ -32,4 +32,4 @@ r.perf.mark("inception",window.__inception__),r.perf.mark("init");var d,u=(0,l.c /*! (C) WebReflection Mit Style License */ if(!document.createEvent){var t,n=!0,o=!1,r="__IE8__"+Math.random(),i=Object.defineProperty||function(e,t,n){e[t]=n.value},a=Object.defineProperties||function(t,n){for(var o in n)if(l.call(n,o))try{i(t,o,n[o])}catch(r){e.console}},c=Object.getOwnPropertyDescriptor,l=Object.prototype.hasOwnProperty,d=e.Element.prototype,u=e.Text.prototype,s=/^[a-z]+$/,m=/loaded|complete/,p={},f=document.createElement("div"),h=document.documentElement,C=h.removeAttribute,g=h.setAttribute,b=function(e){return{enumerable:!0,writable:!0,configurable:!0,value:e}};_(e.HTMLCommentElement.prototype,d,"nodeValue"),_(e.HTMLScriptElement.prototype,null,"text"),_(u,null,"nodeValue"),_(e.HTMLTitleElement.prototype,null,"text"),i(e.HTMLStyleElement.prototype,"textContent",(t=c(e.CSSStyleSheet.prototype,"cssText"),y((function(){return t.get.call(this.styleSheet)}),(function(e){t.set.call(this.styleSheet,e)}))));var N=/\b\s*alpha\s*\(\s*opacity\s*=\s*(\d+)\s*\)/;i(e.CSSStyleDeclaration.prototype,"opacity",{get:function(){var e=this.filter.match(N);return e?(e[1]/100).toString():""},set:function(e){this.zoom=1;var t=!1;e=e<1?" alpha(opacity="+Math.round(100*e)+")":"",this.filter=this.filter.replace(N,(function(){return t=!0,e})),!t&&e&&(this.filter+=e)}}),a(d,{textContent:{get:k,set:S},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t3?c(a):null,N=String(a.key),v=String(a.char),V=a.location,y=a.keyCode||(a.keyCode=N)&&N.charCodeAt(0)||0,_=a.charCode||(a.charCode=v)&&v.charCodeAt(0)||0,x=a.bubbles,k=a.cancelable,w=a.repeat,L=a.locale,B=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in m)m.initKeyEvent(t,x,k,B,p,h,f,C,y,_);else if(0>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,l=e.addEventListener,d=e.removeEventListener,u=0,s=function(){u++},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",s,{once:!0}),c(new a("_")),c(new a("_")),d("_",s,{once:!0})}catch(f){}1!==u&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,l,d,u=i.get(this),s=p(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(c=m.call(l.handler,r))<0?(c=l.handler.push(r)-1,l.wrap[c]=d=new n):d=l.wrap[c],s in d||(d[s]=o(t,r,a),e.call(this,t,d[s],d[s].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,l,d=i.get(this);if(d&&t in d&&(c=d[t],-1<(a=m.call(c.handler,n))&&(r=p(o))in(l=c.wrap[a]))){for(r in e.call(this,t,l[r],l[r].capture),delete l[r],l)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete d[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},function(e,t,n){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},function(e,t,n){"use strict";window.Int32Array||(window.Int32Array=Array)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(423),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,n(74))},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var o,r,i,a,c,l=1,d={},u=!1,s=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(r=s.documentElement,o=function(e){var t=s.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),o=function(t){e.postMessage(a+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),a=1;a1?t-1:0),o=1;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(0),r=n(9),i=n(433),a=n(26),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(0),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,m=t.width,p=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:m,"max-height":p}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:m,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(0),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,m=e.onChange,p=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,_=e.ranges,x=void 0===_?{}:_,k=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:m,onDrag:p,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,m=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,x)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*p)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"rem"},v)},B)),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(0),r=n(174);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(0),r=n(9),i=n(17),a=n(173),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,m=e.content,p=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[m,p]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(0),r=n(3),i=n(2);n(122),n(26);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,m=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:m+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(0),r=n(9),i=n(17),a=n(172);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(0),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,m=e.ranges,p=void 0===m?{}:m,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,p)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,m=e.children,p=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(m);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",p&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),m,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,m=e.onDrag,p=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,_=e.children,x=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),k=_!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:m,step:p,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,m=e.handleDragStart,p=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(x)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",k?_:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(x),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(0),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":451,"./APC.js":452,"./AiAirlock.js":453,"./AiRestorer.js":454,"./AiSupermatter.js":455,"./AirAlarm.js":456,"./AlgaeFarm.js":458,"./AppearanceChanger.js":459,"./AreaScrubberControl.js":460,"./AtmosAlertConsole.js":461,"./AtmosControl.js":177,"./AtmosFilter.js":462,"./AtmosMixer.js":463,"./BodyDesigner.js":464,"./BodyScanner.js":465,"./CameraConsole.js":178,"./Canister.js":466,"./ChemDispenser.js":467,"./ChemMaster.js":471,"./CloningConsole.js":472,"./CrewMonitor.js":180,"./Cryo.js":473,"./DNAModifier.js":474,"./DestinationTagger.js":475,"./DiseaseSplicer.js":476,"./DishIncubator.js":477,"./DisposalBin.js":478,"./DroneConsole.js":479,"./EmbeddedController.js":480,"./ExonetNode.js":481,"./FileCabinet.js":482,"./GasPump.js":483,"./GasTemperatureSystem.js":484,"./GeneralAtmoControl.js":485,"./GeneralRecords.js":486,"./Gps.js":487,"./GravityGenerator.js":488,"./IDCard.js":489,"./IsolationCentrifuge.js":490,"./MedicalRecords.js":491,"./MessageMonitor.js":492,"./MiningOreProcessingConsole.js":493,"./MiningStackingConsole.js":494,"./MiningVendor.js":495,"./MuleBot.js":496,"./NTNetRelay.js":497,"./NoticeBoard.js":498,"./NtosAtmosControl.js":499,"./NtosCameraConsole.js":500,"./NtosCrewMonitor.js":501,"./NtosPowerMonitor.js":502,"./NtosRCON.js":503,"./NtosShutoffMonitor.js":504,"./NtosStationAlertConsole.js":505,"./NtosSupermatterMonitor.js":506,"./OmniFilter.js":507,"./OmniMixer.js":508,"./OperatingComputer.js":509,"./ParticleAccelerator.js":510,"./PathogenicIsolator.js":511,"./PipeDispenser.js":512,"./PortableGenerator.js":513,"./PortablePump.js":514,"./PortableScrubber.js":515,"./PowerMonitor.js":184,"./PressureRegulator.js":516,"./RCON.js":185,"./RIGSuit.js":517,"./Radio.js":518,"./RapidPipeDispenser.js":189,"./RequestConsole.js":519,"./ResleevingConsole.js":520,"./ResleevingPod.js":521,"./RogueZones.js":522,"./ShieldCapacitor.js":523,"./ShieldGenerator.js":524,"./ShutoffMonitor.js":186,"./ShuttleControl.js":525,"./Signaler.js":526,"./Sleeper.js":527,"./SmartVend.js":528,"./Smes.js":529,"./SolarControl.js":530,"./SpaceHeater.js":531,"./StationAlertConsole.js":187,"./SuitCycler.js":532,"./SuitStorageUnit.js":533,"./SupermatterMonitor.js":188,"./SupplyConsole.js":534,"./TEGenerator.js":535,"./Tank.js":536,"./TankDispenser.js":537,"./TelecommsLogBrowser.js":538,"./TelecommsMachineBrowser.js":539,"./TelecommsMultitoolMenu.js":540,"./Turbolift.js":541,"./Vending.js":542,"./VorePanel.js":543,"./Wires.js":544};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=450},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,m=l.flushing,p=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(176),l=n(61);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[p.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],m=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,m=c.isDead,p=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(31),n(61));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(0),r=n(6),i=(n(18),n(2)),a=n(3),c=n(35),l=n(4),d=n(176),u=n(457);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(0),r=n(18),i=n(2),a=n(3);n(35);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,m=n.excheck,p=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,m=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=(n(6),n(18));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,m=d.last_flow_rate,p=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(0),r=n(22),i=n(18),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,_=f.change_eye_color,x=f.change_skin_tone,k=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=_||x||k||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,m):null,S&&4===M?(0,o.createComponentVNode)(2,p):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,m=i.change_facial_hair_color,p=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,m?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c=n(18);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],m=u[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return m(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,m=d.diskStored,p=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},m=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,_);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},_=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(31),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,m=u.can_relabel,p=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(179),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},m=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,f=void 0===p?[]:p;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",m," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(469)()},function(e,t,n){"use strict";var o=n(470);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(179),l=n(49),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,p=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,m=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:m?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(35),l=n(49),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,m=d.health,p=d.unidentity,f=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,p):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,m=l.locked,p=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=m&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,m=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,m=d.hasOccupant,p=d.occupant,f=void 0===p?[]:p,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(49),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,p=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,m=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,m=c.split(""),p=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:m[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(0),r=(n(6),n(31)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,m=d.food_supply,p=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,_=d.analysed,x=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":f>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:_?x:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(0),r=(n(18),n(6),n(2)),i=n(3),a=n(4),c=((0,n(26).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,m=n.fingerprint_hash,p=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(0),r=(n(6),n(31),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return p&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return c("sample")}})})]}),f]}),u&&!m||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(49),c=n(4),l=n(181),d=n(182),u=n(92),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=n(92),d=n(61);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),p=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):p?f?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,p):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,m=c.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=(n(22),n(183));t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.unclaimedPoints,s=(d.ores,d.showAllOres,d.power);return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,onClick:function(){return r("power")},children:s?"Smelting":"Not Smelting"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:u<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:u})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],u=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],s=function(e,t){return-1===u.indexOf(e.ore)||-1===u.indexOf(t.ore)?e.ore-t.ore:u.indexOf(t.ore)-u.indexOf(e.ore)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,u=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return c("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:u.length&&u.sort(s).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:d.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);n(22);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.stacktypes,s=d.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return l("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),u.length&&u.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=n(183);var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),l=(n.act,n.data),u=l.has_id,s=l.id,p=l.items,f=(0,i.useLocalState)(t,"search",""),h=f[0],C=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),g=C[0],b=(C[1],(0,i.useLocalState)(t,"descending",!1)),N=b[0],v=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),V=!1,y=Object.entries(p).map((function(e,t){var n=Object.entries(e[1]).filter(v).map((function(e){return e[1].affordable=u&&s.points>=e[1].price,e[1]})).sort(d[g]);if(0!==n.length)return N&&(n=n.reverse()),V=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,c.refocusLayout)()},children:V?y:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),l=(c[0],c[1]),u=(0,i.useLocalState)(t,"descending",!1),s=u[0],m=u[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-left",ml:"0.5rem",onClick:function(){return m(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=e.title,d=e.items,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},u,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!c.has_id||c.id.points=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(190);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,m=d.default_pressure,p=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4)),c=n(190);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:m,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=n(18);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,m=c.malf,p=c.aicontrol,f=c.ai,h=null;return s||m?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&p&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,m=c.sealing,p=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,m=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),m&&m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(0),r=(n(22),n(6)),i=n(2),a=n(3),c=n(35),l=n(4);(0,n(26).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,m=u.minFrequency,p=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,_=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),x=156;return b&&b.length>0?x+=28*b.length+6:x+=24,g&&(x+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:x,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:_.color,ml:2,children:["[",_.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RequestConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n=(0,i.useBackend)(t).act,r=e.dept_list,c=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==c&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return n("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return n("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!c,icon:c?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",c?"OFF":"ON"]})})},1:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},2:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},3:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},4:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print",{print:t+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},t)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.message,u=l.recipient,s=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+u,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===s?"High Priority":1===s?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return c("department",{department:u})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return c("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(c.department,c.screen,c.message_log,c.newmessagepriority,c.silent,c.announcementConsole,c.assist_dept,c.supply_dept,c.info_dept,c.message),d=(c.recipient,c.priority,c.msgStamped,c.msgVerified,c.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};t.RequestConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,u=l.screen,s=l.newmessagepriority,m=l.announcementConsole,p=d[u];return(0,o.createComponentVNode)(2,c.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===u,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===u,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),s&&(0,o.createComponentVNode)(2,a.Section,{title:s>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:s>1?"bad":"average",bold:s>1})||null,(0,o.createComponentVNode)(2,p)]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=(n(35),n(49)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,m=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,m=c.mind_compat,p=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(g=(0,o.createComponentVNode)(2,p)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},p=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(0),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,m=n.mindStatus,p=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RogueZones=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.RogueZones=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.timeout_percent,u=l.diffstep,s=l.difficulty,m=l.occupied,p=l.scanning,f=l.updated,h=l.debug,C=l.shuttle_location,g=l.shuttle_at_station,b=l.scan_ready,N=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mineral Content",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shuttle Location",buttons:N&&(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"rocket",onClick:function(){return c("recall_shuttle")},children:"Recall Shuttle"})||null,children:C}),m&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return c("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,f&&!p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,i.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,i.Box,{children:["Diffstep: ",u]}),(0,o.createComponentVNode)(2,i.Box,{children:["Difficulty: ",s]}),(0,o.createComponentVNode)(2,i.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,i.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle Location: ",C]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle at station: ",g]}),(0,o.createComponentVNode)(2,i.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,m=u.time_since_fail,p=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(p/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31),d=n(61);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,m=d.failing,p=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,_=d.max_strengthen_rate,x=d.gen_power,k=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(x)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:p,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:_,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ShuttleControl=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n="ERROR",r="bad",i=!1;return"docked"===e?(n="DOCKED",r="good"):"docking"===e?(n="DOCKING",r="average",i=!0):"undocking"===e?(n="UNDOCKING",r="average",i=!0):"undocked"===e&&(n="UNDOCKED",r="#676767"),i&&t&&(n+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:n})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,d=e.engineName,u=void 0===d?"Bluespace Drive":d,s=c.shuttle_status,m=c.shuttle_state,p=c.has_docking,f=c.docking_status,h=c.docking_override,C=c.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:s}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:u,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(f,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:C||"Not Set"})})],4)||null]})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_launch,d=c.can_cancel,u=c.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!u,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},s={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t);n.act,n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_cloak,s=c.can_pick,m=c.legit,p=c.cloaked,f=c.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!s,onClick:function(){return r("pick")},children:f})})]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_pick,s=c.destination_name,m=c.fuel_usage,p=c.fuel_span,f=c.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:s})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[f," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.autopilot,s=d.can_rename,m=d.shuttle_state,p=d.is_moving,f=d.skip_docking,h=d.docking_status,C=d.docking_override,g=d.shuttle_location,b=d.can_cloak,N=d.cloaked,v=d.can_autopilot,V=d.routes,y=d.is_in_transit,_=d.travel_progress,x=d.time_left,k=d.doors,w=d.sensors;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:s&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(g)}),!f&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return c("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return c("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,C)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:N,icon:N?"eye":"eye-o",onClick:function(){return c("toggle_cloaked")},children:N?"Enabled":"Disabled"})})||null,v&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"eye":"eye-o",onClick:function(){return c("toggle_autopilot")},children:u?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return c("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),y&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:_,children:[x,"s"]})})})})||null,Object.keys(k).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(k).map((function(e){var t=k[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",t.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(w).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(w).map((function(e){var t=w[e];return-1!==t.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[t.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[t.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[t.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[t.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[t.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[t.phoron,"%"]}),t.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[t.other,"%"]})||null]})},e)}))})})||null],0)}))};t.ShuttleControl=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.subtemplate);return(0,o.createComponentVNode)(2,c.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:s[r]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,m=d.minFrequency,p=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,m=e.actToDo,p=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(0),r=n(2),i=n(3),a=n(31),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,m=u.capacity,p=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,_=u.outputUsed,x=(s>=100?"good":h&&"average")||"bad",k=(v?"good":p>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(p/6e4,1)," kWh / ",(0,l.round)(m/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:k,children:v?"Sending":p>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(_)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,m=d.sun_angle,p=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(0),r=n(35),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,m=d.maxTemp,p=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,m=i.locked,p=i.uv_active,f=(0,o.createComponentVNode)(2,c);return p?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,m=c.departments,p=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,m=i.uv_active,p=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):p&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,m=c.suit,p=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SupplyConsole=void 0;var o=n(0),r=n(22),i=(n(6),n(31)),a=n(2),c=n(3),l=n(49),d=n(4),u=n(56),s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data.supply_points,l=e.args,d=l.name,u=l.cost,s=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,c.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"shopping-cart",content:"Buy - "+u+" points",disabled:u>i,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})})};t.SupplyConsole=function(e,t){var n=(0,a.useBackend)(t);n.act,n.data;return(0,l.modalRegisterBodyOverride)("view_crate",s),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,c.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,l=n.data,d=l.supply_points,u=l.shuttle,s=null,m=!1;return l.shuttle_auth&&(1===u.launch&&0===u.mode?s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==u.launch||3!==u.mode&&1!==u.mode?1===u.launch&&5===u.mode&&(s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):s=(0,o.createComponentVNode)(2,c.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),u.force&&(m=!0)),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([s,m?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:u.location}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engine",children:u.engine}),4===u.mode?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA",children:u.time>1?(0,i.formatTime)(u.time):"LATE"}):null]})})]})},p=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data.order_auth,(0,a.useLocalState)(t,"tabIndex",0)),i=r[0],l=r[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"box",selected:0===i,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"check-circle-o",selected:1===i,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"circle-o",selected:2===i,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:3===i,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:4===i,onClick:function(){return l(4)},children:"Export history"})]}),0===i?(0,o.createComponentVNode)(2,f):null,1===i?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===i?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===i?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===i?(0,o.createComponentVNode)(2,C):null]})},f=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.categories,s=l.supply_packs,m=l.contraband,p=l.supply_points,f=(0,a.useLocalState)(t,"activeCategory",null),h=f[0],C=f[1],g=(0,u.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(s);return(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return C(e)}},e)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"flex-start",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return i("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return i("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return i("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=e.mode,d=i.orders,u=i.order_auth,s=i.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:["Requested"===l&&u?(0,o.createComponentVNode)(2,c.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{title:"Order "+(t+1),buttons:"All"===l&&u?(0,o.createComponentVNode)(2,c.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.entries.map((function(t){return t.entry?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:u?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.status}):null]}),u&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Approve",disabled:e.cost>s,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},t)}))]}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No orders found."})},C=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.receipts,d=i.order_auth;return l.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:l.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.title.map((function(t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:d?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry},t.field)})),e.error?(0,o.createComponentVNode)(2,c.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(t,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:n+1,edit:"meow","default":t.object})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:n+1})}})],4):null,children:[t.quantity,"x -> ",t.value," points"]},n)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},t)}))}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No receipts found."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(31);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,m=n.primary,p=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,m=i.inletTemperature,p=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,m=l.releasePressure,p=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:m===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(m),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:m===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:m===p,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,m=u.network,p=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:m,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,m=l.job,p=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,c,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(92),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,m=c.shadowlink,p=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,m=c.broadcasting,p=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(0),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,m=null;return 0===c?m=(0,o.createComponentVNode)(2,l):1===c&&(m=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[m,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,m=r.desc,p=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[p,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:m}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,p,{belly:u})]})},p=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,m=c.mode,p=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,_=c.digest_burn,x=c.bulge_size,k=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[m],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:_})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*x+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*k+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,m=c.digest_leave_remains,p=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(p?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:p?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltipPosition:"top",tooltip:m?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:m?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file +var n;n=void 0!==e?e:void 0,t.loadCSS=function(e,t,o,r){var i,a=n.document,c=a.createElement("link");if(t)i=t;else{var l=(a.body||a.getElementsByTagName("head")[0]).childNodes;i=l[l.length-1]}var d=a.styleSheets;if(r)for(var u in r)r.hasOwnProperty(u)&&c.setAttribute(u,r[u]);c.rel="stylesheet",c.href=e,c.media="only x",function p(e){if(a.body)return e();setTimeout((function(){p(e)}))}((function(){i.parentNode.insertBefore(c,t?i:i.nextSibling)}));var s=function f(e){for(var t=c.href,n=d.length;n--;)if(d[n].href===t)return e();setTimeout((function(){f(e)}))};function m(){c.addEventListener&&c.removeEventListener("load",m),c.media=o||"all"}return c.addEventListener&&c.addEventListener("load",m),c.onloadcssdefined=s,s(m),c}}).call(this,n(74))},function(e,t,n){"use strict";t.__esModule=!0,t.getRoutedComponent=void 0;var o=n(0),r=n(2),i=(n(121),n(4)),a=n(450),c=function(e,t){return function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}},l=function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0})})};t.getRoutedComponent=function(e){var t=(0,r.selectBackend)(e),n=t.suspended,o=t.config;if(n)return l;var i,d=null==o?void 0:o["interface"];try{i=a("./"+d+".js")}catch(s){if("MODULE_NOT_FOUND"===s.code)return c("notFound",d);throw s}var u=i[d];return u||c("missingExport",d)}},function(e,t,n){"use strict";var o,r;t.__esModule=!0,t.VNodeFlags=t.ChildFlags=void 0,t.VNodeFlags=o,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(o||(t.VNodeFlags=o={})),t.ChildFlags=r,function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(r||(t.ChildFlags=r={}))},function(e,t,n){"use strict";t.__esModule=!0,t.NtosWindow=void 0;var o=n(0),r=n(122),i=n(2),a=n(3),c=n(123),l=n(175),d=function(e,t){var n=e.title,d=e.width,u=void 0===d?575:d,s=e.height,m=void 0===s?700:s,p=e.resizable,f=e.theme,h=void 0===f?"ntos":f,C=e.children,g=(0,i.useBackend)(t),b=g.act,N=g.data,v=N.PC_device_theme,V=N.PC_batteryicon,y=N.PC_showbatteryicon,_=N.PC_batterypercent,x=N.PC_ntneticon,k=N.PC_apclinkicon,w=N.PC_stationtime,L=N.PC_programheaders,B=void 0===L?[]:L,S=N.PC_showexitprogram;return(0,o.createComponentVNode)(2,l.Window,{title:n,width:u,height:m,theme:h,resizable:p,children:(0,o.createVNode)(1,"div","NtosWindow",[(0,o.createVNode)(1,"div","NtosWindow__header NtosHeader",[(0,o.createVNode)(1,"div","NtosHeader__left",[(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,mr:2,children:w}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,mr:2,opacity:.33,children:["ntos"===v&&"NtOS","syndicate"===v&&"Syndix"]})],4),(0,o.createVNode)(1,"div","NtosHeader__right",[B.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(e.icon)})},e.icon)})),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:x&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(x)})}),!!y&&V&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:[V&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(V)}),_&&_]}),k&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(k)})}),!!S&&(0,o.createComponentVNode)(2,a.Button,{width:"26px",textAlign:"center",color:"transparent",icon:"window-minimize-o",tooltip:"Minimize",tooltipPosition:"bottom",onClick:function(){return b("PC_minimize")}}),!!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",textAlign:"center",color:"transparent",icon:"window-close-o",tooltip:"Close",tooltipPosition:"bottom-left",onClick:function(){return b("PC_exit")}}),!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"power-off",tooltip:"Power off",tooltipPosition:"bottom-left",onClick:function(){return b("PC_shutdown")}})],0)],4,{onMouseDown:function(){(0,c.refocusLayout)()}}),C],0)})};t.NtosWindow=d;d.Content=function(e){return(0,o.createVNode)(1,"div","NtosWindow__content",(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Window.Content,Object.assign({},e))),2)}},function(e,t,n){"use strict";t.__esModule=!0,t.BlockQuote=void 0;var o=n(0),r=n(9),i=n(17);t.BlockQuote=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(0),r=n(9),i=n(433),a=n(26),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(0),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,m=t.width,p=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:m,"max-height":p}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:m,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(0),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,m=e.onChange,p=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,_=e.ranges,x=void 0===_?{}:_,k=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:m,onDrag:p,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,m=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,x)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*p)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"rem"},v)},B)),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(0),r=n(174);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(0),r=n(9),i=n(17),a=n(173),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,m=e.content,p=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[m,p]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(0),r=n(3),i=n(2);n(122),n(26);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,m=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:m+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(0),r=n(9),i=n(17),a=n(172);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(0),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,m=e.ranges,p=void 0===m?{}:m,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,p)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,m=e.children,p=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(m);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",p&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),m,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,m=e.onDrag,p=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,_=e.children,x=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),k=_!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:m,step:p,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,m=e.handleDragStart,p=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(x)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",k?_:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(x),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(0),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":451,"./APC.js":452,"./AiAirlock.js":453,"./AiRestorer.js":454,"./AiSupermatter.js":455,"./AirAlarm.js":456,"./AlgaeFarm.js":458,"./AppearanceChanger.js":459,"./AreaScrubberControl.js":460,"./AtmosAlertConsole.js":461,"./AtmosControl.js":177,"./AtmosFilter.js":462,"./AtmosMixer.js":463,"./BodyDesigner.js":464,"./BodyScanner.js":465,"./CameraConsole.js":178,"./Canister.js":466,"./ChemDispenser.js":467,"./ChemMaster.js":471,"./CloningConsole.js":472,"./CrewMonitor.js":180,"./Cryo.js":473,"./DNAModifier.js":474,"./DestinationTagger.js":475,"./DiseaseSplicer.js":476,"./DishIncubator.js":477,"./DisposalBin.js":478,"./DroneConsole.js":479,"./EmbeddedController.js":480,"./ExonetNode.js":481,"./FileCabinet.js":482,"./GasPump.js":483,"./GasTemperatureSystem.js":484,"./GeneralAtmoControl.js":485,"./GeneralRecords.js":486,"./Gps.js":487,"./GravityGenerator.js":488,"./IDCard.js":489,"./IsolationCentrifuge.js":490,"./MedicalRecords.js":491,"./MessageMonitor.js":492,"./MiningOreProcessingConsole.js":493,"./MiningStackingConsole.js":494,"./MiningVendor.js":495,"./MuleBot.js":496,"./NTNetRelay.js":497,"./NoticeBoard.js":498,"./NtosAtmosControl.js":499,"./NtosCameraConsole.js":500,"./NtosCrewMonitor.js":501,"./NtosPowerMonitor.js":502,"./NtosRCON.js":503,"./NtosShutoffMonitor.js":504,"./NtosStationAlertConsole.js":505,"./NtosSupermatterMonitor.js":506,"./OmniFilter.js":507,"./OmniMixer.js":508,"./OperatingComputer.js":509,"./ParticleAccelerator.js":510,"./PathogenicIsolator.js":511,"./PipeDispenser.js":512,"./PortableGenerator.js":513,"./PortablePump.js":514,"./PortableScrubber.js":515,"./PowerMonitor.js":184,"./PressureRegulator.js":516,"./RCON.js":185,"./RIGSuit.js":517,"./Radio.js":518,"./RapidPipeDispenser.js":189,"./RequestConsole.js":519,"./ResleevingConsole.js":520,"./ResleevingPod.js":521,"./RogueZones.js":522,"./ShieldCapacitor.js":523,"./ShieldGenerator.js":524,"./ShutoffMonitor.js":186,"./ShuttleControl.js":525,"./Signaler.js":526,"./Sleeper.js":527,"./SmartVend.js":528,"./Smes.js":529,"./SolarControl.js":530,"./SpaceHeater.js":531,"./StationAlertConsole.js":187,"./SuitCycler.js":532,"./SuitStorageUnit.js":533,"./SupermatterMonitor.js":188,"./SupplyConsole.js":534,"./TEGenerator.js":535,"./Tank.js":536,"./TankDispenser.js":537,"./TelecommsLogBrowser.js":538,"./TelecommsMachineBrowser.js":539,"./TelecommsMultitoolMenu.js":540,"./Turbolift.js":541,"./Vending.js":542,"./VorePanel.js":543,"./Wires.js":544};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=450},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,m=l.flushing,p=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(176),l=n(61);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[p.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],m=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,m=c.isDead,p=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(31),n(61));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(0),r=n(6),i=(n(18),n(2)),a=n(3),c=n(35),l=n(4),d=n(176),u=n(457);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(0),r=n(18),i=n(2),a=n(3);n(35);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,m=n.excheck,p=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,m=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=(n(6),n(18));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,m=d.last_flow_rate,p=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(0),r=n(22),i=n(18),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,_=f.change_eye_color,x=f.change_skin_tone,k=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=_||x||k||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,m):null,S&&4===M?(0,o.createComponentVNode)(2,p):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,m=i.change_facial_hair_color,p=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,m?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c=n(18);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],m=u[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return m(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,m=d.diskStored,p=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},m=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,_);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},_=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(31),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,m=u.can_relabel,p=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(179),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},m=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,f=void 0===p?[]:p;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",m," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(469)()},function(e,t,n){"use strict";var o=n(470);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(179),l=n(49),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,p=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,m=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:m?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(35),l=n(49),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,m=d.health,p=d.unidentity,f=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,p):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,m=l.locked,p=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=m&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,m=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,m=d.hasOccupant,p=d.occupant,f=void 0===p?[]:p,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(49),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,p=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,m=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,m=c.split(""),p=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:m[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(0),r=(n(6),n(31)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,m=d.food_supply,p=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,_=d.analysed,x=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":f>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:_?x:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(0),r=(n(18),n(6),n(2)),i=n(3),a=n(4),c=((0,n(26).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,m=n.fingerprint_hash,p=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(0),r=(n(6),n(31),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return p&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return c("sample")}})})]}),f]}),u&&!m||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(49),c=n(4),l=n(181),d=n(182),u=n(92),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=n(92),d=n(61);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),p=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):p?f?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,p):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,m=c.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=(n(22),n(183));t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.unclaimedPoints,s=(d.ores,d.showAllOres,d.power);return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,onClick:function(){return r("power")},children:s?"Smelting":"Not Smelting"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:u<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:u})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],u=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],s=function(e,t){return-1===u.indexOf(e.ore)||-1===u.indexOf(t.ore)?e.ore-t.ore:u.indexOf(t.ore)-u.indexOf(e.ore)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,u=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return c("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:u.length&&u.sort(s).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:d.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);n(22);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.stacktypes,s=d.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return l("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),u.length&&u.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=n(183);var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),l=(n.act,n.data),u=l.has_id,s=l.id,p=l.items,f=(0,i.useLocalState)(t,"search",""),h=f[0],C=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),g=C[0],b=(C[1],(0,i.useLocalState)(t,"descending",!1)),N=b[0],v=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),V=!1,y=Object.entries(p).map((function(e,t){var n=Object.entries(e[1]).filter(v).map((function(e){return e[1].affordable=u&&s.points>=e[1].price,e[1]})).sort(d[g]);if(0!==n.length)return N&&(n=n.reverse()),V=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,c.refocusLayout)()},children:V?y:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),l=(c[0],c[1]),u=(0,i.useLocalState)(t,"descending",!1),s=u[0],m=u[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-left",ml:"0.5rem",onClick:function(){return m(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=e.title,d=e.items,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},u,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!c.has_id||c.id.points=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(190);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,m=d.default_pressure,p=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4)),c=n(190);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:m,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=n(18);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,m=c.malf,p=c.aicontrol,f=c.ai,h=null;return s||m?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&p&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,m=c.sealing,p=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,m=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),m&&m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(0),r=(n(22),n(6)),i=n(2),a=n(3),c=n(35),l=n(4);(0,n(26).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,m=u.minFrequency,p=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,_=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),x=156;return b&&b.length>0?x+=28*b.length+6:x+=24,g&&(x+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:x,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:_.color,ml:2,children:["[",_.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RequestConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n=(0,i.useBackend)(t).act,r=e.dept_list,c=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==c&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return n("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return n("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!c,icon:c?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",c?"OFF":"ON"]})})},1:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},2:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},3:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},4:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print",{print:t+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},t)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.message,u=l.recipient,s=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+u,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===s?"High Priority":1===s?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return c("department",{department:u})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return c("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(c.department,c.screen,c.message_log,c.newmessagepriority,c.silent,c.announcementConsole,c.assist_dept,c.supply_dept,c.info_dept,c.message),d=(c.recipient,c.priority,c.msgStamped,c.msgVerified,c.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};t.RequestConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,u=l.screen,s=l.newmessagepriority,m=l.announcementConsole,p=d[u];return(0,o.createComponentVNode)(2,c.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===u,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===u,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),s&&(0,o.createComponentVNode)(2,a.Section,{title:s>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:s>1?"bad":"average",bold:s>1})||null,(0,o.createComponentVNode)(2,p)]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=(n(35),n(49)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,m=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,m=c.mind_compat,p=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(g=(0,o.createComponentVNode)(2,p)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},p=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(0),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,m=n.mindStatus,p=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RogueZones=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.RogueZones=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.timeout_percent,u=l.diffstep,s=l.difficulty,m=l.occupied,p=l.scanning,f=l.updated,h=l.debug,C=l.shuttle_location,g=l.shuttle_at_station,b=l.scan_ready,N=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mineral Content",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shuttle Location",buttons:N&&(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"rocket",onClick:function(){return c("recall_shuttle")},children:"Recall Shuttle"})||null,children:C}),m&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return c("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,f&&!p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,i.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,i.Box,{children:["Diffstep: ",u]}),(0,o.createComponentVNode)(2,i.Box,{children:["Difficulty: ",s]}),(0,o.createComponentVNode)(2,i.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,i.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle Location: ",C]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle at station: ",g]}),(0,o.createComponentVNode)(2,i.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,m=u.time_since_fail,p=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(p/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31),d=n(61);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,m=d.failing,p=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,_=d.max_strengthen_rate,x=d.gen_power,k=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(x)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:p,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:_,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ShuttleControl=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n="ERROR",r="bad",i=!1;return"docked"===e?(n="DOCKED",r="good"):"docking"===e?(n="DOCKING",r="average",i=!0):"undocking"===e?(n="UNDOCKING",r="average",i=!0):"undocked"===e&&(n="UNDOCKED",r="#676767"),i&&t&&(n+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:n})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,d=e.engineName,u=void 0===d?"Bluespace Drive":d,s=c.shuttle_status,m=c.shuttle_state,p=c.has_docking,f=c.docking_status,h=c.docking_override,C=c.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:s}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:u,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(f,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:C||"Not Set"})})],4)||null]})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_launch,d=c.can_cancel,u=c.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!u,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},s={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t);n.act,n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_cloak,s=c.can_pick,m=c.legit,p=c.cloaked,f=c.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!s,onClick:function(){return r("pick")},children:f})})]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_pick,s=c.destination_name,m=c.fuel_usage,p=c.fuel_span,f=c.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:s})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[f," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.autopilot,s=d.can_rename,m=d.shuttle_state,p=d.is_moving,f=d.skip_docking,h=d.docking_status,C=d.docking_override,g=d.shuttle_location,b=d.can_cloak,N=d.cloaked,v=d.can_autopilot,V=d.routes,y=d.is_in_transit,_=d.travel_progress,x=d.time_left,k=d.doors,w=d.sensors;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:s&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(g)}),!f&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return c("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return c("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,C)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:N,icon:N?"eye":"eye-o",onClick:function(){return c("toggle_cloaked")},children:N?"Enabled":"Disabled"})})||null,v&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"eye":"eye-o",onClick:function(){return c("toggle_autopilot")},children:u?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return c("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),y&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:_,children:[x,"s"]})})})})||null,Object.keys(k).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(k).map((function(e){var t=k[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",t.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(w).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(w).map((function(e){var t=w[e];return-1!==t.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[t.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[t.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[t.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[t.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[t.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[t.phoron,"%"]}),t.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[t.other,"%"]})||null]})},e)}))})})||null],0)}))};t.ShuttleControl=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.subtemplate);return(0,o.createComponentVNode)(2,c.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:s[r]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,m=d.minFrequency,p=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,m=e.actToDo,p=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isBeakerLoaded;return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected.",c&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Remove Beaker",onClick:function(){return r("removebeaker")}})})||null]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(0),r=n(2),i=n(3),a=n(31),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,m=u.capacity,p=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,_=u.outputUsed,x=(s>=100?"good":h&&"average")||"bad",k=(v?"good":p>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(p/6e4,1)," kWh / ",(0,l.round)(m/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:k,children:v?"Sending":p>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(_)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,m=d.sun_angle,p=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(0),r=n(35),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,m=d.maxTemp,p=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,m=i.locked,p=i.uv_active,f=(0,o.createComponentVNode)(2,c);return p?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,m=c.departments,p=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,m=i.uv_active,p=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):p&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,m=c.suit,p=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SupplyConsole=void 0;var o=n(0),r=n(22),i=(n(6),n(31)),a=n(2),c=n(3),l=n(49),d=n(4),u=n(56),s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data.supply_points,l=e.args,d=l.name,u=l.cost,s=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,c.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"shopping-cart",content:"Buy - "+u+" points",disabled:u>i,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})})};t.SupplyConsole=function(e,t){var n=(0,a.useBackend)(t);n.act,n.data;return(0,l.modalRegisterBodyOverride)("view_crate",s),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,c.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,l=n.data,d=l.supply_points,u=l.shuttle,s=null,m=!1;return l.shuttle_auth&&(1===u.launch&&0===u.mode?s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==u.launch||3!==u.mode&&1!==u.mode?1===u.launch&&5===u.mode&&(s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):s=(0,o.createComponentVNode)(2,c.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),u.force&&(m=!0)),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([s,m?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:u.location}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engine",children:u.engine}),4===u.mode?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA",children:u.time>1?(0,i.formatTime)(u.time):"LATE"}):null]})})]})},p=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data.order_auth,(0,a.useLocalState)(t,"tabIndex",0)),i=r[0],l=r[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"box",selected:0===i,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"check-circle-o",selected:1===i,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"circle-o",selected:2===i,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:3===i,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:4===i,onClick:function(){return l(4)},children:"Export history"})]}),0===i?(0,o.createComponentVNode)(2,f):null,1===i?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===i?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===i?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===i?(0,o.createComponentVNode)(2,C):null]})},f=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.categories,s=l.supply_packs,m=l.contraband,p=l.supply_points,f=(0,a.useLocalState)(t,"activeCategory",null),h=f[0],C=f[1],g=(0,u.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(s);return(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return C(e)}},e)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"flex-start",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return i("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return i("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return i("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=e.mode,d=i.orders,u=i.order_auth,s=i.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:["Requested"===l&&u?(0,o.createComponentVNode)(2,c.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{title:"Order "+(t+1),buttons:"All"===l&&u?(0,o.createComponentVNode)(2,c.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.entries.map((function(t){return t.entry?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:u?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.status}):null]}),u&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Approve",disabled:e.cost>s,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},t)}))]}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No orders found."})},C=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.receipts,d=i.order_auth;return l.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:l.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.title.map((function(t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:d?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry},t.field)})),e.error?(0,o.createComponentVNode)(2,c.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(t,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:n+1,edit:"meow","default":t.object})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:n+1})}})],4):null,children:[t.quantity,"x -> ",t.value," points"]},n)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},t)}))}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No receipts found."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(31);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,m=n.primary,p=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,m=i.inletTemperature,p=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,m=l.releasePressure,p=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:m===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(m),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:m===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:m===p,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,m=u.network,p=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:m,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,m=l.job,p=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,c,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(92),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,m=c.shadowlink,p=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,m=c.broadcasting,p=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(0),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,m=null;return 0===c?m=(0,o.createComponentVNode)(2,l):1===c&&(m=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[m,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,m=r.desc,p=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[p,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:m}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,p,{belly:u})]})},p=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,m=c.mode,p=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,_=c.digest_burn,x=c.bulge_size,k=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[m],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:_})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*x+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*k+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,m=c.digest_leave_remains,p=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(p?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:p?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltipPosition:"top",tooltip:m?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:m?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file From cefe1a0b3cf3d79a766850c95a86e1990ea15bac Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Mon, 17 Aug 2020 14:18:59 -0700 Subject: [PATCH 049/149] TGUI Brig Timer, Prisoner Management Console, and Security Records --- code/_helpers/text.dm | 14 + code/game/area/Space Station 13 areas.dm | 4 +- code/game/gamemodes/events.dm | 2 +- code/game/machinery/computer/medical.dm | 2 +- code/game/machinery/computer/prisoner.dm | 147 ++- code/game/machinery/computer/security.dm | 894 ++++++++---------- code/game/machinery/computer/skills.dm | 2 +- code/game/machinery/doors/brigdoors.dm | 343 +++---- tgui/packages/tgui/interfaces/BrigTimer.js | 69 ++ .../tgui/interfaces/PrisonerManagement.js | 101 ++ .../tgui/interfaces/SecurityRecords.js | 320 +++++++ 11 files changed, 1108 insertions(+), 790 deletions(-) create mode 100644 tgui/packages/tgui/interfaces/BrigTimer.js create mode 100644 tgui/packages/tgui/interfaces/PrisonerManagement.js create mode 100644 tgui/packages/tgui/interfaces/SecurityRecords.js diff --git a/code/_helpers/text.dm b/code/_helpers/text.dm index 669cc60b5b..02a8806089 100644 --- a/code/_helpers/text.dm +++ b/code/_helpers/text.dm @@ -472,3 +472,17 @@ proc/TextPreview(var/string,var/len=40) return copytext(html_encode(name), 1, max_length) else return trim(html_encode(name), max_length) + +//Adds 'char' ahead of 'text' until there are 'count' characters total +/proc/add_leading(text, count, char = " ") + text = "[text]" + var/charcount = count - length_char(text) + var/list/chars_to_add[max(charcount + 1, 0)] + return jointext(chars_to_add, char) + text + +//Adds 'char' behind 'text' until there are 'count' characters total +/proc/add_trailing(text, count, char = " ") + text = "[text]" + var/charcount = count - length_char(text) + var/list/chars_to_add[max(charcount + 1, 0)] + return text + jointext(chars_to_add, char) diff --git a/code/game/area/Space Station 13 areas.dm b/code/game/area/Space Station 13 areas.dm index 4d4533b4b3..fe1d311674 100755 --- a/code/game/area/Space Station 13 areas.dm +++ b/code/game/area/Space Station 13 areas.dm @@ -1736,7 +1736,7 @@ NOTE: there are two lists of areas in the end of this file: centcom and station temp_closet.locked = 0 temp_closet.icon_state = "closed_unlocked" for(var/obj/machinery/door_timer/temp_timer in src) - temp_timer.releasetime = 1 + temp_timer.timer_duration = 1 ..() /area/security/prison @@ -1748,7 +1748,7 @@ NOTE: there are two lists of areas in the end of this file: centcom and station temp_closet.locked = 0 temp_closet.icon_state = "closed_unlocked" for(var/obj/machinery/door_timer/temp_timer in src) - temp_timer.releasetime = 1 + temp_timer.timer_duration = 1 ..() /area/security/warden diff --git a/code/game/gamemodes/events.dm b/code/game/gamemodes/events.dm index 083a90fc09..0136314d58 100644 --- a/code/game/gamemodes/events.dm +++ b/code/game/gamemodes/events.dm @@ -196,7 +196,7 @@ var/hadevent = 0 spawn(0) temp_glassairlock.prison_open() for (var/obj/machinery/door_timer/temp_timer in A) - temp_timer.releasetime = 1 + temp_timer.timer_duration = 1 sleep(150) command_announcement.Announce("Gr3y.T1d3 virus detected in [station_name()] imprisonment subroutines. Recommend station AI involvement.", "Security Alert") diff --git a/code/game/machinery/computer/medical.dm b/code/game/machinery/computer/medical.dm index f775bed4c3..f3c930fe78 100644 --- a/code/game/machinery/computer/medical.dm +++ b/code/game/machinery/computer/medical.dm @@ -442,7 +442,7 @@
\n
Comments/Log

"} for(var/c in active2.fields["comments"]) - P.info += "[c]
" + P.info += "[c["header"]]
[c["text"]]
" else P.info += "Medical Record Lost!
" P.info += "" diff --git a/code/game/machinery/computer/prisoner.dm b/code/game/machinery/computer/prisoner.dm index 9e09339f47..9932934a83 100644 --- a/code/game/machinery/computer/prisoner.dm +++ b/code/game/machinery/computer/prisoner.dm @@ -15,90 +15,81 @@ var/stop = 0.0 var/screen = 0 // 0 - No Access Denied, 1 - Access allowed - - attack_ai(var/mob/user as mob) - return src.attack_hand(user) - - attack_hand(var/mob/user as mob) - if(..()) - return - user.set_machine(src) - var/dat - dat += "Prisoner Implant Manager System
" - if(screen == 0) - dat += "
Unlock Console" - else if(screen == 1) - dat += "
Chemical Implants
" - var/turf/Tr = null - for(var/obj/item/weapon/implant/chem/C in all_chem_implants) - Tr = get_turf(C) - if(!Tr) continue//Out of range - if(!C.implanted) continue - dat += "[C.imp_in.name] | Remaining Units: [C.reagents.total_volume] | Inject: " - dat += "((1))" - dat += "((5))" - dat += "((10))
" - dat += "********************************
" - dat += "
Tracking Implants
" - for(var/obj/item/weapon/implant/tracking/T in all_tracking_implants) - Tr = get_turf(T) - if(!Tr) continue//Out of range - if(!T.implanted) continue - var/loc_display = "Unknown" - var/mob/living/carbon/M = T.imp_in - if((M.z in using_map.station_levels) && !istype(M.loc, /turf/space)) - var/turf/mob_loc = get_turf(M) - loc_display = mob_loc.loc - if(T.malfunction) - loc_display = pick(teleportlocs) - dat += "ID: [T.id] | Location: [loc_display]
" - dat += "(Message Holder) |
" - dat += "********************************
" - dat += "
Lock Console" - - user << browse(dat, "window=computer;size=400x500") - onclose(user, "computer") +/obj/machinery/computer/prisoner/attack_hand(mob/user) + if(..()) return + tgui_interact(user) +/obj/machinery/computer/prisoner/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "PrisonerManagement", name) + ui.open() - process() - if(!..()) - src.updateDialog() - return +/obj/machinery/computer/prisoner/tgui_data(mob/user) + var/list/data = list() + + data["locked"] = !screen + data["chemImplants"] = list() + data["trackImplants"] = list() + if(screen) + for(var/obj/item/weapon/implant/chem/C in all_chem_implants) + var/turf/T = get_turf(C) + if(!T) + continue + if(!C.implanted) + continue + data["chemImplants"].Add(list(list( + "host" = C.imp_in, + "units" = C.reagents.total_volume, + "ref" = "\ref[C]" + ))) + for(var/obj/item/weapon/implant/tracking/track in all_tracking_implants) + var/turf/T = get_turf(track) + if(!T) + continue + if(!track.implanted) + continue + var/loc_display = "Unknown" + var/mob/living/L = track.imp_in + if((get_z(L) in using_map.station_levels) && !istype(L.loc, /turf/space)) + loc_display = T.loc + if(track.malfunction) + loc_display = pick(teleportlocs) + data["trackImplants"].Add(list(list( + "host" = L, + "ref" = "\ref[track]", + "id" = "[track.id]", + "loc" = "[loc_display]", + ))) + return data - Topic(href, href_list) - if(..()) - return - if((usr.contents.Find(src) || (in_range(src, usr) && istype(src.loc, /turf))) || (istype(usr, /mob/living/silicon))) - usr.set_machine(src) +/obj/machinery/computer/prisoner/tgui_act(action, list/params) + if(..()) + return TRUE - if(href_list["inject1"]) - var/obj/item/weapon/implant/I = locate(href_list["inject1"]) - if(I) I.activate(1) + switch(action) + if("inject") + var/obj/item/weapon/implant/I = locate(params["imp"]) + if(I) + I.activate(clamp(params["val"], 0, 10)) + . = TRUE - else if(href_list["inject5"]) - var/obj/item/weapon/implant/I = locate(href_list["inject5"]) - if(I) I.activate(5) + if("lock") + if(allowed(usr)) + screen = !screen + else + to_chat(usr, "Unauthorized Access.") + . = TRUE - else if(href_list["inject10"]) - var/obj/item/weapon/implant/I = locate(href_list["inject10"]) - if(I) I.activate(10) + if("warn") + var/warning = sanitize(input(usr, "Message:", "Enter your message here!", "")) + if(!warning) + return + var/obj/item/weapon/implant/I = locate(params["imp"]) + if(I && I.imp_in) + to_chat(I.imp_in, "You hear a voice in your head saying: '[warning]'") + . = TRUE - else if(href_list["lock"]) - if(src.allowed(usr)) - screen = !screen - else - to_chat(usr, "Unauthorized Access.") - - else if(href_list["warn"]) - var/warning = sanitize(input(usr,"Message:","Enter your message here!","")) - if(!warning) return - var/obj/item/weapon/implant/I = locate(href_list["warn"]) - if((I)&&(I.imp_in)) - var/mob/living/carbon/R = I.imp_in - to_chat(R, "You hear a voice in your head saying: '[warning]'") - - src.add_fingerprint(usr) - src.updateUsrDialog() - return + add_fingerprint(usr) diff --git a/code/game/machinery/computer/security.dm b/code/game/machinery/computer/security.dm index 2d9353a640..be93c2ce4f 100644 --- a/code/game/machinery/computer/security.dm +++ b/code/game/machinery/computer/security.dm @@ -1,4 +1,8 @@ -//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31 +#define SEC_DATA_R_LIST 2 // Record list +#define SEC_DATA_MAINT 3 // Records maintenance +#define SEC_DATA_RECORD 4 // Record + +#define FIELD(N, V, E) list(field = N, value = V, edit = E) /obj/machinery/computer/secure_data//TODO:SANITY name = "security records console" @@ -14,15 +18,42 @@ var/screen = null var/datum/data/record/active1 = null var/datum/data/record/active2 = null - var/a_id = null - var/temp = null + var/list/temp = null var/printing = null - var/can_change_id = 0 - var/list/Perp - var/tempname = null - //Sorting Variables - var/sortBy = "name" - var/order = 1 // -1 = Descending - 1 = Ascending + // The below are used to make modal generation more convenient + var/static/list/field_edit_questions + var/static/list/field_edit_choices + +/obj/machinery/computer/secure_data/Initialize() + ..() + field_edit_questions = list( + // General + "name" = "Please enter new name:", + "id" = "Please enter new id:", + "sex" = "Please select new sex:", + "age" = "Please input new age:", + "rank" = "Please enter new rank:", + "fingerprint" = "Please input new fingerprint hash:", + // Security + "brain_type" = "Please select new brain type:", + "criminal" = "Please select new criminal status:", + "mi_crim" = "Please input new minor crime:", + "mi_crim_d" = "Please input minor crime summary.", + "ma_crim" = "Please input new major crime:", + "ma_crim_d" = "Please input new major crime summary.", + "notes" = "Please input new important notes:", + ) + field_edit_choices = list( + // General + "sex" = all_genders_text_list, + // Security + "criminal" = list("*Arrest*", "Incarcerated", "Parolled", "Released", "None"), + ) + +/obj/machinery/computer/secure_data/Destroy() + active1 = null + active2 = null + return ..() /obj/machinery/computer/secure_data/verb/eject_id() set category = "Object" @@ -41,13 +72,14 @@ to_chat(usr, "There is nothing to remove from the console.") return -/obj/machinery/computer/secure_data/attackby(obj/item/O as obj, user as mob) - if(istype(O, /obj/item/weapon/card/id) && !scan) - usr.drop_item() +/obj/machinery/computer/secure_data/attackby(var/obj/item/O, var/mob/user) + if(istype(O, /obj/item/weapon/card/id) && !scan && user.unEquip(O)) O.loc = src scan = O - to_chat(user, "You insert [O].") - ..() + to_chat(user, "You insert \the [O].") + tgui_interact(user) + else + ..() /obj/machinery/computer/secure_data/attack_ai(mob/user as mob) return attack_hand(user) @@ -56,518 +88,380 @@ /obj/machinery/computer/secure_data/attack_hand(mob/user as mob) if(..()) return - if (using_map && !(src.z in using_map.contact_levels)) - to_chat(user, "Unable to establish a connection: You're too far away from the station!") - return - var/dat + add_fingerprint(user) + tgui_interact(user) - if (temp) - dat = text("[]

Clear Screen", temp, src) - else - dat = text("Confirm Identity: []
", src, (scan ? text("[]", scan.name) : "----------")) - if (authenticated) - switch(screen) - if(1.0) - dat += {" -

"} - dat += text("Search Records
", src) - dat += text("New Record
", src) - dat += {" -

- - - - -
Records:
- - - - - - - -"} - if(!isnull(data_core.general)) - for(var/datum/data/record/R in sortRecord(data_core.general, sortBy, order)) - var/crimstat = "" - for(var/datum/data/record/E in data_core.security) - if ((E.fields["name"] == R.fields["name"] && E.fields["id"] == R.fields["id"])) - crimstat = E.fields["criminal"] - var/background - switch(crimstat) - if("*Arrest*") - background = "'background-color:#DC143C;'" - if("Incarcerated") - background = "'background-color:#CD853F;'" - if("Parolled") - background = "'background-color:#CD853F;'" - if("Released") - background = "'background-color:#3BB9FF;'" - if("None") - background = "'background-color:#00FF7F;'" - if("") - background = "'background-color:#FFFFFF;'" - crimstat = "No Record." - dat += text("", background, src, R, R.fields["name"]) - dat += text("", R.fields["id"]) - dat += text("", R.fields["rank"]) - dat += text("", R.fields["fingerprint"]) - dat += text("", crimstat) - dat += "
NameIDRankFingerprintsCriminal Status
[][][][][]

" - dat += text("Record Maintenance

", src) - dat += text("{Log Out}",src) - if(2.0) - dat += "Records Maintenance
" - dat += "
Delete All Records

Back" - if(3.0) - dat += "
Security Record

" - if ((istype(active1, /datum/data/record) && data_core.general.Find(active1))) - user << browse_rsc(active1.fields["photo_front"], "front.png") - user << browse_rsc(active1.fields["photo_side"], "side.png") - dat += text(" \ -
\ - Name: [active1.fields["name"]]
\ - ID: [active1.fields["id"]]
\n \ - Entity Classification: [active1.fields["brain_type"]]
\n \ - Sex: [active1.fields["sex"]]
\n \ - Age: [active1.fields["age"]]
\n \ - Rank: [active1.fields["rank"]]
\n \ - Fingerprint: [active1.fields["fingerprint"]]
\n \ - Physical Status: [active1.fields["p_stat"]]
\n \ - Mental Status: [active1.fields["m_stat"]]
Photo:
\ - \ -

Update front photo

Update side photo
\ -
") - else - dat += "General Record Lost!
" - if ((istype(active2, /datum/data/record) && data_core.security.Find(active2))) - dat += text("
\n
Security Data

\nCriminal Status: []
\n
\nMinor Crimes: []
\nDetails: []
\n
\nMajor Crimes: []
\nDetails: []
\n
\nImportant Notes:
\n\t[]
\n
\n
Comments/Log

", src, active2.fields["criminal"], src, active2.fields["mi_crim"], src, active2.fields["mi_crim_d"], src, active2.fields["ma_crim"], src, active2.fields["ma_crim_d"], src, decode(active2.fields["notes"])) - var/counter = 1 - while(active2.fields[text("com_[]", counter)]) - dat += text("[]
Delete Entry

", active2.fields[text("com_[]", counter)], src, counter) - counter++ - dat += text("Add Entry

", src) - dat += text("Delete Record (Security Only)

", src) - else - dat += "Security Record Lost!
" - dat += text("New Security Record

", src) - dat += text("\nDelete Record (ALL)

\nPrint Record
\nBack
", src, src, src) - if(4.0) - if(!Perp.len) - dat += text("ERROR. String could not be located.

Back", src) - else - dat += {" - - "} - dat += text("", tempname) - dat += {" - -
Search Results for '[]':
- - - - - - - - "} - for(var/i=1, i<=Perp.len, i += 2) - var/crimstat = "" - var/datum/data/record/R = Perp[i] - if(istype(Perp[i+1],/datum/data/record/)) - var/datum/data/record/E = Perp[i+1] - crimstat = E.fields["criminal"] - var/background - switch(crimstat) - if("*Arrest*") - background = "'background-color:#DC143C;'" - if("Incarcerated") - background = "'background-color:#CD853F;'" - if("Parolled") - background = "'background-color:#CD853F;'" - if("Released") - background = "'background-color:#3BB9FF;'" - if("None") - background = "'background-color:#00FF7F;'" - if("") - background = "'background-color:#FFFFFF;'" - crimstat = "No Record." - dat += text("", background, src, R, R.fields["name"]) - dat += text("", R.fields["id"]) - dat += text("", R.fields["rank"]) - dat += text("", R.fields["fingerprint"]) - dat += text("", crimstat) - dat += "
NameIDRankFingerprintsCriminal Status
[][][][][]

" - dat += text("
Return to index.", src) +/obj/machinery/computer/secure_data/tgui_interact(mob/user, datum/tgui/ui = null) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "SecurityRecords", "Security Records") // 800, 380 + ui.open() + ui.set_autoupdate(FALSE) + + +/obj/machinery/computer/secure_data/tgui_data(mob/user) + var/data[0] + data["temp"] = temp + data["scan"] = scan ? scan.name : null + data["authenticated"] = authenticated + data["rank"] = rank + data["screen"] = screen + data["printing"] = printing + data["isAI"] = isAI(user) + data["isRobot"] = isrobot(user) + if(authenticated) + switch(screen) + if(SEC_DATA_R_LIST) + if(!isnull(data_core.general)) + var/list/records = list() + data["records"] = records + for(var/datum/data/record/R in sortRecord(data_core.general)) + var/color = null + var/criminal = "None" + for(var/datum/data/record/M in data_core.security) + if(M.fields["name"] == R.fields["name"] && M.fields["id"] == R.fields["id"]) + switch(M.fields["criminal"]) + if("*Arrest*") + color = "bad" + if("Incarcerated") + color = "brown" + if("Parolled", "Released") + color = "average" + if("None") + color = "good" + criminal = M.fields["criminal"] + break + records[++records.len] = list( + "ref" = "\ref[R]", + "id" = R.fields["id"], + "name" = R.fields["name"], + "color" = color, + "criminal" = criminal + ) + if(SEC_DATA_RECORD) + var/list/general = list() + data["general"] = general + if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) + var/list/fields = list() + general["fields"] = fields + fields[++fields.len] = FIELD("Name", active1.fields["name"], "name") + fields[++fields.len] = FIELD("ID", active1.fields["id"], "id") + fields[++fields.len] = FIELD("Entity Classification", active1.fields["brain_type"], "brain_type") + fields[++fields.len] = FIELD("Sex", active1.fields["sex"], "sex") + fields[++fields.len] = FIELD("Age", active1.fields["age"], "age") + fields[++fields.len] = FIELD("Rank", active1.fields["rank"], "rank") + fields[++fields.len] = FIELD("Fingerprint", active1.fields["fingerprint"], "fingerprint") + fields[++fields.len] = FIELD("Physical Status", active1.fields["p_stat"], null) + fields[++fields.len] = FIELD("Mental Status", active1.fields["m_stat"], null) + var/list/photos = list() + general["photos"] = photos + photos[++photos.len] = active1.fields["photo-south"] + photos[++photos.len] = active1.fields["photo-west"] + general["has_photos"] = (active1.fields["photo-south"] || active1.fields["photo-west"] ? 1 : 0) + general["empty"] = 0 else - else - dat += text("{Log In}", src) - user << browse(text("Security Records[]", dat), "window=secure_rec;size=600x400") - onclose(user, "secure_rec") - return + general["empty"] = 1 -/*Revised /N -I can't be bothered to look more of the actual code outside of switch but that probably needs revising too. -What a mess.*/ -/obj/machinery/computer/secure_data/Topic(href, href_list) + var/list/security = list() + data["security"] = security + if(istype(active2, /datum/data/record) && data_core.security.Find(active2)) + var/list/fields = list() + security["fields"] = fields + fields[++fields.len] = FIELD("Criminal Status", active2.fields["criminal"], "criminal") + fields[++fields.len] = FIELD("Minor Crimes", active2.fields["mi_crim"], "mi_crim") + fields[++fields.len] = FIELD("Details", active2.fields["mi_crim_d"], "mi_crim_d") + fields[++fields.len] = FIELD("Major Crimes", active2.fields["ma_crim"], "ma_crim") + fields[++fields.len] = FIELD("Details", active2.fields["ma_crim_d"], "ma_crim_d") + fields[++fields.len] = FIELD("Important Notes", active2.fields["notes"], "notes") + if(!active2.fields["comments"] || !islist(active2.fields["comments"])) + active2.fields["comments"] = list() + security["comments"] = active2.fields["comments"] + security["empty"] = 0 + else + security["empty"] = 1 + + data["modal"] = tgui_modal_data(src) + return data + +/obj/machinery/computer/secure_data/tgui_act(action, params) if(..()) - return 1 - if (!( data_core.general.Find(active1) )) - active1 = null - if (!( data_core.security.Find(active2) )) - active2 = null - if ((usr.contents.Find(src) || (in_range(src, usr) && istype(loc, /turf))) || (istype(usr, /mob/living/silicon))) - usr.set_machine(src) - switch(href_list["choice"]) -// SORTING! - if("Sorting") - // Reverse the order if clicked twice - if(sortBy == href_list["sort"]) - if(order == 1) - order = -1 - else - order = 1 - else - // New sorting order! - sortBy = href_list["sort"] - order = initial(order) -//BASIC FUNCTIONS - if("Clear Screen") - temp = null + return TRUE - if ("Return") - screen = 1 + if(!data_core.general.Find(active1)) + active1 = null + if(!data_core.security.Find(active2)) + active2 = null + + . = TRUE + if(tgui_act_modal(action, params)) + return + + switch(action) + if("cleartemp") + temp = null + if("scan") + if(scan) + scan.forceMove(loc) + if(ishuman(usr) && !usr.get_active_hand()) + usr.put_in_hands(scan) + scan = null + else + var/obj/item/I = usr.get_active_hand() + if(istype(I, /obj/item/weapon/card/id)) + usr.drop_item() + I.forceMove(src) + scan = I + if("login") + var/login_type = text2num(params["login_type"]) + if(login_type == LOGIN_TYPE_NORMAL && istype(scan)) + if(check_access(scan)) + authenticated = scan.registered_name + rank = scan.assignment + else if(login_type == LOGIN_TYPE_AI && isAI(usr)) + authenticated = usr.name + rank = "AI" + else if(login_type == LOGIN_TYPE_ROBOT && isrobot(usr)) + authenticated = usr.name + var/mob/living/silicon/robot/R = usr + rank = "[R.modtype] [R.braintype]" + if(authenticated) active1 = null active2 = null + screen = SEC_DATA_R_LIST + else + . = FALSE - if("Confirm Identity") - if (scan) - if(istype(usr,/mob/living/carbon/human) && !usr.get_active_hand()) + if(.) + return + + if(authenticated) + . = TRUE + switch(action) + if("logout") + if(scan) + scan.forceMove(loc) + if(ishuman(usr) && !usr.get_active_hand()) usr.put_in_hands(scan) - else - scan.loc = get_turf(src) scan = null - else - var/obj/item/I = usr.get_active_hand() - if (istype(I, /obj/item/weapon/card/id) && usr.unEquip(I)) - I.loc = src - scan = I - - if("Log Out") authenticated = null screen = null active1 = null active2 = null - - if("Log In") - if (istype(usr, /mob/living/silicon/ai)) - src.active1 = null - src.active2 = null - src.authenticated = usr.name - src.rank = "AI" - src.screen = 1 - else if (istype(usr, /mob/living/silicon/robot)) - src.active1 = null - src.active2 = null - src.authenticated = usr.name - var/mob/living/silicon/robot/R = usr - src.rank = "[R.modtype] [R.braintype]" - src.screen = 1 - else if (istype(scan, /obj/item/weapon/card/id)) - active1 = null - active2 = null - if(check_access(scan)) - authenticated = scan.registered_name - rank = scan.assignment - screen = 1 -//RECORD FUNCTIONS - if("Search Records") - var/t1 = input("Search String: (Partial Name or ID or Fingerprints or Rank)", "Secure. records", null, null) as text - if ((!( t1 ) || usr.stat || !( authenticated ) || usr.restrained() || !in_range(src, usr))) - return - Perp = new/list() - t1 = lowertext(t1) - var/list/components = splittext(t1, " ") - if(components.len > 5) - return //Lets not let them search too greedily. - for(var/datum/data/record/R in data_core.general) - var/temptext = R.fields["name"] + " " + R.fields["id"] + " " + R.fields["fingerprint"] + " " + R.fields["rank"] - for(var/i = 1, i<=components.len, i++) - if(findtext(temptext,components[i])) - var/prelist = new/list(2) - prelist[1] = R - Perp += prelist - for(var/i = 1, i<=Perp.len, i+=2) - for(var/datum/data/record/E in data_core.security) - var/datum/data/record/R = Perp[i] - if ((E.fields["name"] == R.fields["name"] && E.fields["id"] == R.fields["id"])) - Perp[i+1] = E - tempname = t1 - screen = 4 - - if("Record Maintenance") - screen = 2 + if("screen") + screen = clamp(text2num(params["screen"]) || 0, SEC_DATA_R_LIST, SEC_DATA_RECORD) active1 = null active2 = null - - if ("Browse Record") - var/datum/data/record/R = locate(href_list["d_rec"]) - var/S = locate(href_list["d_rec"]) - if (!( data_core.general.Find(R) )) - temp = "Record Not Found!" - else - for(var/datum/data/record/E in data_core.security) - if ((E.fields["name"] == R.fields["name"] || E.fields["id"] == R.fields["id"])) - S = E - active1 = R - active2 = S - screen = 3 - -/* if ("Search Fingerprints") - var/t1 = input("Search String: (Fingerprint)", "Secure. records", null, null) as text - if ((!( t1 ) || usr.stat || !( authenticated ) || usr.restrained() || (!in_range(src, usr)) && (!istype(usr, /mob/living/silicon)))) - return - active1 = null - active2 = null - t1 = lowertext(t1) - for(var/datum/data/record/R in data_core.general) - if (lowertext(R.fields["fingerprint"]) == t1) - active1 = R - if (!( active1 )) - temp = text("Could not locate record [].", t1) - else - for(var/datum/data/record/E in data_core.security) - if ((E.fields["name"] == active1.fields["name"] || E.fields["id"] == active1.fields["id"])) - active2 = E - screen = 3 */ - - if ("Print Record") - if (!( printing )) - printing = 1 - var/datum/data/record/record1 = null - var/datum/data/record/record2 = null - if ((istype(active1, /datum/data/record) && data_core.general.Find(active1))) - record1 = active1 - if ((istype(active2, /datum/data/record) && data_core.security.Find(active2))) - record2 = active2 - sleep(50) - var/obj/item/weapon/paper/P = new /obj/item/weapon/paper( loc ) - P.info = "
Security Record

" - if (record1) - P.info += text("Name: [] ID: []
\nSex: []
\nAge: []
\nFingerprint: []
\nPhysical Status: []
\nMental Status: []
", record1.fields["name"], record1.fields["id"], record1.fields["sex"], record1.fields["age"], record1.fields["fingerprint"], record1.fields["p_stat"], record1.fields["m_stat"]) - P.name = text("Security Record ([])", record1.fields["name"]) - else - P.info += "General Record Lost!
" - P.name = "Security Record" - if (record2) - P.info += text("
\n
Security Data

\nCriminal Status: []
\n
\nMinor Crimes: []
\nDetails: []
\n
\nMajor Crimes: []
\nDetails: []
\n
\nImportant Notes:
\n\t[]
\n
\n
Comments/Log

", record2.fields["criminal"], record2.fields["mi_crim"], record2.fields["mi_crim_d"], record2.fields["ma_crim"], record2.fields["ma_crim_d"], decode(record2.fields["notes"])) - var/counter = 1 - while(record2.fields[text("com_[]", counter)]) - P.info += text("[]
", record2.fields[text("com_[]", counter)]) - counter++ - else - P.info += "Security Record Lost!
" - P.info += "" - printing = null - updateUsrDialog() -//RECORD DELETE - if ("Delete All Records") - temp = "" - temp += "Are you sure you wish to delete all Security records?
" - temp += "Yes
" - temp += "No" - - if ("Purge All Records") + if("del_all") for(var/datum/data/record/R in data_core.security) qdel(R) - temp = "All Security records deleted." - - if ("Add Entry") - if (!( istype(active2, /datum/data/record) )) + set_temp("All security records deleted.") + if("del_r") + if(active2) + set_temp("Security record deleted.") + qdel(active2) + if("del_r_2") + set_temp("All records for [active1.fields["name"]] deleted.") + if(active1) + for(var/datum/data/record/R in data_core.medical) + if((R.fields["name"] == active1.fields["name"] || R.fields["id"] == active1.fields["id"])) + qdel(R) + qdel(active1) + if(active2) + qdel(active2) + if("d_rec") + var/datum/data/record/general_record = locate(params["d_rec"] || "") + if(!data_core.general.Find(general_record)) + set_temp("Record not found.", "danger") return - var/a2 = active2 - var/t1 = sanitize(input("Add Comment:", "Secure. records", null, null) as message) - if ((!( t1 ) || !( authenticated ) || usr.stat || usr.restrained() || (!in_range(src, usr) && (!istype(usr, /mob/living/silicon))) || active2 != a2)) + + var/datum/data/record/security_record + for(var/datum/data/record/M in data_core.security) + if(M.fields["name"] == general_record.fields["name"] && M.fields["id"] == general_record.fields["id"]) + security_record = M + break + + active1 = general_record + active2 = security_record + screen = SEC_DATA_RECORD + if("new") + if(istype(active1, /datum/data/record) && !istype(active2, /datum/data/record)) + var/datum/data/record/R = new /datum/data/record() + R.fields["name"] = active1.fields["name"] + R.fields["id"] = active1.fields["id"] + R.name = "Security Record #[R.fields["id"]]" + R.fields["brain_type"] = "Unknown" + R.fields["criminal"] = "None" + R.fields["mi_crim"] = "None" + R.fields["mi_crim_d"] = "No minor crime convictions." + R.fields["ma_crim"] = "None" + R.fields["ma_crim_d"] = "No major crime convictions." + R.fields["notes"] = "No notes." + R.fields["notes"] = "No notes." + data_core.security += R + active2 = R + screen = SEC_DATA_RECORD + set_temp("Security record created.", "success") + if("del_c") + var/index = text2num(params["del_c"] || "") + if(!index || !istype(active2, /datum/data/record)) return - var/counter = 1 - while(active2.fields[text("com_[]", counter)]) - counter++ - active2.fields[text("com_[counter]")] = text("Made by [authenticated] ([rank]) on [time2text(world.realtime, "DDD MMM DD")] [stationtime2text()], [game_year]
[t1]") - if ("Delete Record (ALL)") - if (active1) - temp = "
Are you sure you wish to delete the record (ALL)?
" - temp += "Yes
" - temp += "No" - - if ("Delete Record (Security)") - if (active2) - temp = "
Are you sure you wish to delete the record (Security Portion Only)?
" - temp += "Yes
" - temp += "No" - - if ("Delete Entry") - if ((istype(active2, /datum/data/record) && active2.fields[text("com_[]", href_list["del_c"])])) - active2.fields[text("com_[]", href_list["del_c"])] = "Deleted" -//RECORD CREATE - if ("New Record (Security)") - if ((istype(active1, /datum/data/record) && !( istype(active2, /datum/data/record) ))) - active2 = data_core.CreateSecurityRecord(active1.fields["name"], active1.fields["id"]) - screen = 3 - - if ("New Record (General)") - active1 = data_core.CreateGeneralRecord() + var/list/comments = active2.fields["comments"] + index = clamp(index, 1, length(comments)) + if(comments[index]) + comments.Cut(index, index + 1) + if("search") + active1 = null active2 = null - -//FIELD FUNCTIONS - if ("Edit Field") - if (is_not_allowed(usr)) + var/t1 = lowertext(params["t1"] || "") + if(!length(t1)) return - var/a1 = active1 - var/a2 = active2 - switch(href_list["field"]) - if("name") - if (istype(active1, /datum/data/record)) - var/t1 = sanitizeName(input("Please input name:", "Secure. records", active1.fields["name"], null) as text) - if (!t1 || active1 != a1) - return - active1.fields["name"] = t1 - if("id") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please input id:", "Secure. records", active1.fields["id"], null) as text) - if (!t1 || active1 != a1) - return - active1.fields["id"] = t1 - if("fingerprint") - if (istype(active1, /datum/data/record)) - var/t1 = sanitize(input("Please input fingerprint hash:", "Secure. records", active1.fields["fingerprint"], null) as text) - if (!t1 || active1 != a1) - return - active1.fields["fingerprint"] = t1 - if("sex") - if (istype(active1, /datum/data/record)) - if (active1.fields["sex"] == "Male") - active1.fields["sex"] = "Female" - else - active1.fields["sex"] = "Male" - if("age") - if (istype(active1, /datum/data/record)) - var/t1 = input("Please input age:", "Secure. records", active1.fields["age"], null) as num - if (!t1 || active1 != a1) - return - active1.fields["age"] = t1 - if("mi_crim") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please input minor disabilities list:", "Secure. records", active2.fields["mi_crim"], null) as text) - if (!t1 || active2 != a2) - return - active2.fields["mi_crim"] = t1 - if("mi_crim_d") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please summarize minor dis.:", "Secure. records", active2.fields["mi_crim_d"], null) as message) - if (!t1 || active2 != a2) - return - active2.fields["mi_crim_d"] = t1 - if("ma_crim") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please input major diabilities list:", "Secure. records", active2.fields["ma_crim"], null) as text) - if (!t1 || active2 != a2) - return - active2.fields["ma_crim"] = t1 - if("ma_crim_d") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please summarize major dis.:", "Secure. records", active2.fields["ma_crim_d"], null) as message) - if (!t1 || active2 != a2) - return - active2.fields["ma_crim_d"] = t1 - if("notes") - if (istype(active2, /datum/data/record)) - var/t1 = sanitize(input("Please summarize notes:", "Secure. records", html_decode(active2.fields["notes"]), null) as message, extra = 0, max_length = MAX_RECORD_LENGTH) - if (!t1 || active2 != a2) - return - active2.fields["notes"] = t1 - if("criminal") - if (istype(active2, /datum/data/record)) - temp = "
Criminal Status:
" - temp += "" - if("rank") - var/list/L = list( "Head of Personnel", "Colony Director", "AI" ) - //This was so silly before the change. Now it actually works without beating your head against the keyboard. /N - if ((istype(active1, /datum/data/record) && L.Find(rank))) - temp = "
Rank:
" - temp += "
    " - for(var/rank in joblist) - temp += "
  • [rank]
  • " - temp += "
" - else - alert(usr, "You do not have the required rank to do this!") - if("species") - if (istype(active1, /datum/data/record)) - var/t1 = sanitize(input("Please enter race:", "General records", active1.fields["species"], null) as message) - if (!t1 || active1 != a1) - return - active1.fields["species"] = t1 - if("photo front") - var/icon/photo = get_photo(usr) - if(photo) - active1.fields["photo_front"] = photo - if("photo side") - var/icon/photo = get_photo(usr) - if(photo) - active1.fields["photo_side"] = photo + for(var/datum/data/record/R in data_core.security) + if(t1 == lowertext(R.fields["name"]) || t1 == lowertext(R.fields["id"]) || t1 == lowertext(R.fields["b_dna"])) + active2 = R + break + if(!active2) + set_temp("Security record not found. You must enter the person's exact name, ID or DNA.", "danger") + return + for(var/datum/data/record/E in data_core.general) + if(E.fields["name"] == active2.fields["name"] && E.fields["id"] == active2.fields["id"]) + active1 = E + break + screen = SEC_DATA_RECORD + if("print_p") + if(!printing) + printing = TRUE + // playsound(loc, 'sound/goonstation/machines/printer_dotmatrix.ogg', 50, TRUE) + SStgui.update_uis(src) + addtimer(CALLBACK(src, .proc/print_finish), 5 SECONDS) + if("photo_front") + var/icon/photo = get_photo(usr) + if(photo && active1) + active1.fields["photo_front"] = photo + active1.fields["photo-south"] = "'data:image/png;base64,[icon2base64(photo)]'" + if("photo_side") + var/icon/photo = get_photo(usr) + if(photo && active1) + active1.fields["photo_side"] = photo + active1.fields["photo-west"] = "'data:image/png;base64,[icon2base64(photo)]'" + else + return FALSE -//TEMPORARY MENU FUNCTIONS - else//To properly clear as per clear screen. - temp=null - switch(href_list["choice"]) - if ("Change Rank") - if (active1) - active1.fields["rank"] = href_list["rank"] - if(href_list["rank"] in joblist) - active1.fields["real_rank"] = href_list["real_rank"] - - if ("Change Criminal Status") - if (active2) - for(var/mob/living/carbon/human/H in player_list) - BITSET(H.hud_updateflag, WANTED_HUD) - switch(href_list["criminal2"]) - if("none") - active2.fields["criminal"] = "None" - if("arrest") - active2.fields["criminal"] = "*Arrest*" - if("incarcerated") - active2.fields["criminal"] = "Incarcerated" - if("parolled") - active2.fields["criminal"] = "Parolled" - if("released") - active2.fields["criminal"] = "Released" - - if ("Delete Record (Security) Execute") - if (active2) - qdel(active2) - - if ("Delete Record (ALL) Execute") - if (active1) - for(var/datum/data/record/R in data_core.medical) - if ((R.fields["name"] == active1.fields["name"] || R.fields["id"] == active1.fields["id"])) - qdel(R) - else - qdel(active1) - if (active2) - qdel(active2) +/** + * Called in tgui_act() to process modal actions + * + * Arguments: + * * action - The action passed by tgui + * * params - The params passed by tgui + */ +/obj/machinery/computer/secure_data/proc/tgui_act_modal(action, params) + . = TRUE + var/id = params["id"] // The modal's ID + var/list/arguments = istext(params["arguments"]) ? json_decode(params["arguments"]) : params["arguments"] + switch(tgui_modal_act(src, action, params)) + if(TGUI_MODAL_OPEN) + switch(id) + if("edit") + var/field = arguments["field"] + if(!length(field) || !field_edit_questions[field]) + return + var/question = field_edit_questions[field] + var/choices = field_edit_choices[field] + if(length(choices)) + tgui_modal_choice(src, id, question, arguments = arguments, value = arguments["value"], choices = choices) else - temp = "This function does not appear to be working at the moment. Our apologies." + tgui_modal_input(src, id, question, arguments = arguments, value = arguments["value"]) + if("add_c") + tgui_modal_input(src, id, "Please enter your message:") + else + return FALSE + if(TGUI_MODAL_ANSWER) + var/answer = params["answer"] + switch(id) + if("edit") + var/field = arguments["field"] + if(!length(field) || !field_edit_questions[field]) + return + var/list/choices = field_edit_choices[field] + if(length(choices) && !(answer in choices)) + return - add_fingerprint(usr) - updateUsrDialog() - return + if(field == "age") + answer = text2num(answer) + + if(field == "rank") + if(answer in joblist) + active1.fields["real_rank"] = answer + + if(field == "criminal") + for(var/mob/living/carbon/human/H in player_list) + BITSET(H.hud_updateflag, WANTED_HUD) + + if(istype(active2) && (field in active2.fields)) + active2.fields[field] = answer + if(istype(active1) && (field in active1.fields)) + active1.fields[field] = answer + if("add_c") + if(!length(answer) || !istype(active2) || !length(authenticated)) + return + active2.fields["comments"] += list(list( + header = "Made by [authenticated] ([rank]) at [worldtime2stationtime(world.time)]", + text = answer + )) + else + return FALSE + else + return FALSE + + +/** + * Called when the print timer finishes + */ +/obj/machinery/computer/secure_data/proc/print_finish() + var/obj/item/weapon/paper/P = new(loc) + P.info = "
Security Record

" + if(istype(active1, /datum/data/record) && data_core.general.Find(active1)) + P.info += {"Name: [active1.fields["name"]] ID: [active1.fields["id"]] +
\nSex: [active1.fields["sex"]] +
\nAge: [active1.fields["age"]] +
\nFingerprint: [active1.fields["fingerprint"]] +
\nPhysical Status: [active1.fields["p_stat"]] +
\nMental Status: [active1.fields["m_stat"]]
"} + else + P.info += "General Record Lost!
" + if(istype(active2, /datum/data/record) && data_core.security.Find(active2)) + P.info += {"
\n
Security Data
+
\nCriminal Status: [active2.fields["criminal"]]
\n +
\nMinor Crimes: [active2.fields["mi_crim"]] +
\nDetails: [active2.fields["mi_crim_d"]]
\n +
\nMajor Crimes: [active2.fields["ma_crim"]] +
\nDetails: [active2.fields["ma_crim_d"]]
\n +
\nImportant Notes: +
\n\t[active2.fields["notes"]]
\n +
\n +
Comments/Log

"} + for(var/c in active2.fields["comments"]) + P.info += "[c["header"]]
[c["text"]]
" + else + P.info += "Security Record Lost!
" + P.info += "" + P.name = "paper - 'Security Record: [active1.fields["name"]]'" + printing = FALSE + SStgui.update_uis(src) + + +/** + * Sets a temporary message to display to the user + * + * Arguments: + * * text - Text to display, null/empty to clear the message from the UI + * * style - The style of the message: (color name), info, success, warning, danger, virus + */ +/obj/machinery/computer/secure_data/proc/set_temp(text = "", style = "info", update_now = FALSE) + temp = list(text = text, style = style) + if(update_now) + SStgui.update_uis(src) /obj/machinery/computer/secure_data/proc/is_not_allowed(var/mob/user) return !src.authenticated || user.stat || user.restrained() || (!in_range(src, user) && (!istype(user, /mob/living/silicon))) @@ -614,3 +508,5 @@ What a mess.*/ /obj/machinery/computer/secure_data/detective_computer icon_state = "messyfiles" + +#undef FIELD \ No newline at end of file diff --git a/code/game/machinery/computer/skills.dm b/code/game/machinery/computer/skills.dm index bde923a217..47b9e8ce25 100644 --- a/code/game/machinery/computer/skills.dm +++ b/code/game/machinery/computer/skills.dm @@ -315,7 +315,7 @@
\n
Comments/Log

"} for(var/c in active1.fields["comments"]) - P.info += "[c]
" + P.info += "[c["header"]]
[c["text"]]
" else P.info += "General Record Lost!
" P.info += "" diff --git a/code/game/machinery/doors/brigdoors.dm b/code/game/machinery/doors/brigdoors.dm index 3722e66cf6..d7d8108c73 100644 --- a/code/game/machinery/doors/brigdoors.dm +++ b/code/game/machinery/doors/brigdoors.dm @@ -1,7 +1,12 @@ #define CHARS_PER_LINE 5 #define FONT_SIZE "5pt" #define FONT_COLOR "#09f" -#define FONT_STYLE "Arial Black" +#define FONT_STYLE "Small Fonts" +#define MAX_TIMER 36000 + +#define PRESET_SHORT 1200 +#define PRESET_MEDIUM 3000 +#define PRESET_LONG 6000 //This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31 @@ -19,14 +24,15 @@ icon_state = "frame" desc = "A remote control for a door." req_access = list(access_brig) - anchored = 1.0 // can't pick it up - density = 0 // can walk through it. - var/id = null // id of door it controls. - var/releasetime = 0 // when world.timeofday reaches it - release the prisoner - var/timing = 1 // boolean, true/1 timer is on, false/0 means it's not timing - var/picture_state // icon_state of alert picture, if not displaying text/numbers - var/list/obj/machinery/targets - var/timetoset = 0 // Used to set releasetime upon starting the timer + anchored = 1.0 // can't pick it up + density = 0 // can walk through it. + var/id = null // id of door it controls. + + var/activation_time = 0 + var/timer_duration = 0 + + var/timing = FALSE // boolean, true/1 timer is on, false/0 means it's not timing + var/list/obj/machinery/targets = list() maptext_height = 26 maptext_width = 32 @@ -40,15 +46,15 @@ . = ..() for(var/obj/machinery/door/window/brigdoor/M in machines) - if (M.id == src.id) + if(M.id == id) LAZYADD(targets,M) for(var/obj/machinery/flasher/F in machines) - if(F.id == src.id) + if(F.id == id) LAZYADD(targets,F) for(var/obj/structure/closet/secure_closet/brig/C in all_brig_closets) - if(C.id == src.id) + if(C.id == id) LAZYADD(targets,C) if(!LAZYLEN(targets)) @@ -63,213 +69,149 @@ // if it's less than 0, open door, reset timer // update the door_timer window and the icon /obj/machinery/door_timer/process() + if(stat & (NOPOWER|BROKEN)) + return - if(stat & (NOPOWER|BROKEN)) return - if(src.timing) - - // poorly done midnight rollover - // (no seriously there's gotta be a better way to do this) - var/timeleft = timeleft() - if(timeleft > 1e5) - src.releasetime = 0 - - - if(world.timeofday > src.releasetime) - src.timer_end() // open doors, reset timer, clear status screen - src.timing = 0 - - src.updateUsrDialog() - src.update_icon() - - else - timer_end() - - return - + if(timing) + if(world.time - activation_time >= timer_duration) + timer_end() // open doors, reset timer, clear status screen + update_icon() // has the door power situation changed, if so update icon. /obj/machinery/door_timer/power_change() ..() update_icon() - return - // open/closedoor checks if door_timer has power, if so it checks if the // linked door is open/closed (by density) then opens it/closes it. // Closes and locks doors, power check /obj/machinery/door_timer/proc/timer_start() - if(stat & (NOPOWER|BROKEN)) return 0 - if(!LAZYLEN(targets)) return 0 + if(stat & (NOPOWER|BROKEN)) + return 0 - // Set releasetime - releasetime = world.timeofday + timetoset + activation_time = world.time + timing = TRUE for(var/obj/machinery/door/window/brigdoor/door in targets) - if(door.density) continue - spawn(0) - door.close() + if(door.density) + continue + INVOKE_ASYNC(door, /obj/machinery/door/window/brigdoor.proc/close) for(var/obj/structure/closet/secure_closet/brig/C in targets) - if(C.broken) continue - if(C.opened && !C.close()) continue - C.locked = 1 + if(C.broken) + continue + if(C.opened && !C.close()) + continue + C.locked = TRUE C.icon_state = "closed_locked" return 1 - // Opens and unlocks doors, power check -/obj/machinery/door_timer/proc/timer_end() - if(stat & (NOPOWER|BROKEN)) return 0 - if(!LAZYLEN(targets)) return 0 +/obj/machinery/door_timer/proc/timer_end(forced = FALSE) + if(stat & (NOPOWER|BROKEN)) + return 0 - // Reset releasetime - releasetime = 0 + timing = FALSE + activation_time = null + set_timer(0) + update_icon() for(var/obj/machinery/door/window/brigdoor/door in targets) - if(!door.density) continue - spawn(0) - door.open() + if(!door.density) + continue + INVOKE_ASYNC(door, /obj/machinery/door/window/brigdoor.proc/open) for(var/obj/structure/closet/secure_closet/brig/C in targets) - if(C.broken) continue - if(C.opened) continue - C.locked = 0 + if(C.broken) + continue + if(C.opened) + continue + C.locked = FALSE C.icon_state = "closed_unlocked" return 1 +/obj/machinery/door_timer/proc/time_left(seconds = FALSE) + . = max(0, timer_duration - (activation_time ? (world.time - activation_time) : 0)) + if(seconds) + . /= 10 -// Check for releasetime timeleft -/obj/machinery/door_timer/proc/timeleft() - . = (releasetime - world.timeofday)/10 - if(. < 0) - . = 0 +/obj/machinery/door_timer/proc/set_timer(value) + var/new_time = clamp(value, 0, MAX_TIMER) + . = new_time == timer_duration //return 1 on no change + timer_duration = new_time + if(timer_duration && activation_time && timing) // Setting it while active will reset the activation time + activation_time = world.time -// Set timetoset -/obj/machinery/door_timer/proc/timeset(var/seconds) - timetoset = seconds * 10 +/obj/machinery/door_timer/attack_hand(mob/user) + if(..()) + return TRUE + tgui_interact(user) - if(timetoset <= 0) - timetoset = 0 +/obj/machinery/door_timer/tgui_interact(mob/user, datum/tgui/ui) + ui = SStgui.try_update_ui(user, src, ui) + if(!ui) + ui = new(user, src, "BrigTimer", name) + ui.open() - return +/obj/machinery/door_timer/tgui_data() + var/list/data = list() + data["time_left"] = time_left() + data["max_time_left"] = MAX_TIMER + data["timing"] = timing + data["flash_found"] = FALSE + data["flash_charging"] = FALSE + for(var/obj/machinery/flasher/F in targets) + data["flash_found"] = TRUE + if(F.last_flash && (F.last_flash + 150) > world.time) + data["flash_charging"] = TRUE + break + return data -//Allows AIs to use door_timer, see human attack_hand function below -/obj/machinery/door_timer/attack_ai(var/mob/user as mob) - return src.attack_hand(user) - - -//Allows humans to use door_timer -//Opens dialog window when someone clicks on door timer -// Allows altering timer and the timing boolean. -// Flasher activation limited to 150 seconds -/obj/machinery/door_timer/attack_hand(var/mob/user as mob) +/obj/machinery/door_timer/tgui_act(action, params) if(..()) return + . = TRUE - // Used for the 'time left' display - var/second = round(timeleft() % 60) - var/minute = round((timeleft() - second) / 60) + if(!allowed(usr)) + to_chat(usr, "Access denied.") + return FALSE - // Used for 'set timer' - var/setsecond = round((timetoset / 10) % 60) - var/setminute = round(((timetoset / 10) - setsecond) / 60) - - user.set_machine(src) - - // dat - var/dat = "" - - dat += "
Timer System:" - dat += " Door [src.id] controls
" - - // Start/Stop timer - if (src.timing) - dat += "Stop Timer and open door
" - else - dat += "Activate Timer and close door
" - - // Time Left display (uses releasetime) - dat += "Time Left: [(minute ? text("[minute]:") : null)][second]
" - dat += "
" - - // Set Timer display (uses timetoset) - if(src.timing) - dat += "Set Timer: [(setminute ? text("[setminute]:") : null)][setsecond] Set
" - else - dat += "Set Timer: [(setminute ? text("[setminute]:") : null)][setsecond]
" - - // Controls - dat += "- - + +
" - - // Mounted flash controls - if(LAZYLEN(targets)) - for(var/obj/machinery/flasher/F in targets) - if(F.last_flash && (F.last_flash + 150) > world.time) - dat += "
Flash Charging" + switch(action) + if("time") + var/real_new_time = 0 + var/new_time = params["time"] + var/list/L = splittext(new_time, ":") + if(LAZYLEN(L)) + for(var/i in 1 to LAZYLEN(L)) + real_new_time += text2num(L[i]) * (60 ** (LAZYLEN(L) - i)) else - dat += "
Activate Flash" - - dat += "

Close" - dat += "
" - - user << browse(dat, "window=computer;size=400x500") - onclose(user, "computer") - return - - -//Function for using door_timer dialog input, checks if user has permission -// href_list to -// "timing" turns on timer -// "tp" value to modify timer -// "fc" activates flasher -// "change" resets the timer to the timetoset amount while the timer is counting down -// Also updates dialog window and timer icon -/obj/machinery/door_timer/Topic(href, href_list) - if(..()) - return - if(!src.allowed(usr)) - return - - usr.set_machine(src) - - if(href_list["timing"]) - src.timing = text2num(href_list["timing"]) - - if(src.timing) - src.timer_start() + real_new_time = text2num(new_time) + if(real_new_time) + set_timer(real_new_time * 10) + if("start") + timer_start() + if("stop") + timer_end(forced = TRUE) + if("flash") + for(var/obj/machinery/flasher/F in targets) + F.flash() + if("preset") + var/preset = params["preset"] + var/preset_time = time_left() + switch(preset) + if("short") + preset_time = PRESET_SHORT + if("medium") + preset_time = PRESET_MEDIUM + if("long") + preset_time = PRESET_LONG + set_timer(preset_time) + if(timing) + activation_time = world.time else - src.timer_end() - - else - if(href_list["tp"]) //adjust timer, close door if not already closed - var/tp = text2num(href_list["tp"]) - var/addtime = (timetoset / 10) - addtime += tp - addtime = min(max(round(addtime), 0), 3600) - - timeset(addtime) - - if(href_list["fc"]) - if(LAZYLEN(targets)) - for(var/obj/machinery/flasher/F in targets) - F.flash() - - if(href_list["change"]) - src.timer_start() - - src.add_fingerprint(usr) - src.updateUsrDialog() - src.update_icon() - - /* if(src.timing) - src.timer_start() - - else - src.timer_end() */ - - return + . = FALSE //icon update function @@ -280,53 +222,39 @@ if(stat & (NOPOWER)) icon_state = "frame" return + if(stat & (BROKEN)) set_picture("ai_bsod") return - if(src.timing) + + if(timing) var/disp1 = id - var/timeleft = timeleft() - var/disp2 = "[add_zero(num2text((timeleft / 60) % 60),2)]~[add_zero(num2text(timeleft % 60), 2)]" + var/timeleft = time_left(seconds = TRUE) + var/disp2 = "[add_leading(num2text((timeleft / 60) % 60), 2, "0")]:[add_leading(num2text(timeleft % 60), 2, "0")]" if(length(disp2) > CHARS_PER_LINE) disp2 = "Error" update_display(disp1, disp2) else - if(maptext) maptext = "" + if(maptext) + maptext = "" return - // Adds an icon in case the screen is broken/off, stolen from status_display.dm -/obj/machinery/door_timer/proc/set_picture(var/state) - picture_state = state - overlays.Cut() - overlays += image('icons/obj/status_display.dmi', icon_state=picture_state) - +/obj/machinery/door_timer/proc/set_picture(state) + if(maptext) + maptext = "" + cut_overlays() + add_overlay(mutable_appearance('icons/obj/status_display.dmi', state)) //Checks to see if there's 1 line or 2, adds text-icons-numbers/letters over display // Stolen from status_display -/obj/machinery/door_timer/proc/update_display(var/line1, var/line2) +/obj/machinery/door_timer/proc/update_display(line1, line2) + line1 = uppertext(line1) + line2 = uppertext(line2) var/new_text = {"
[line1]
[line2]
"} if(maptext != new_text) maptext = new_text - -//Actual string input to icon display for loop, with 5 pixel x offsets for each letter. -//Stolen from status_display -/obj/machinery/door_timer/proc/texticon(var/tn, var/px = 0, var/py = 0) - var/image/I = image('icons/obj/status_display.dmi', "blank") - var/len = length(tn) - - for(var/d = 1 to len) - var/char = copytext(tn, len-d+1, len-d+2) - if(char == " ") - continue - var/image/ID = image('icons/obj/status_display.dmi', icon_state=char) - ID.pixel_x = -(d-1)*5 + px - ID.pixel_y = py - I.overlays += ID - return I - - /obj/machinery/door_timer/cell_1 name = "Cell 1" id = "Cell 1" @@ -351,7 +279,6 @@ name = "Cell 6" id = "Cell 6" - /obj/machinery/door_timer/tactical_pet_storage //Vorestation Addition name = "Tactical Pet Storage" id = "tactical_pet_storage" diff --git a/tgui/packages/tgui/interfaces/BrigTimer.js b/tgui/packages/tgui/interfaces/BrigTimer.js new file mode 100644 index 0000000000..5edcc66c35 --- /dev/null +++ b/tgui/packages/tgui/interfaces/BrigTimer.js @@ -0,0 +1,69 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from '../backend'; +import { Button, Section, NumberInput, Flex } from '../components'; +import { Window } from '../layouts'; +import { formatTime } from '../format'; + +export const BrigTimer = (props, context) => { + const { act, data } = useBackend(context); + return ( + + +
+
+
+
+ ); +}; diff --git a/tgui/packages/tgui/interfaces/PrisonerManagement.js b/tgui/packages/tgui/interfaces/PrisonerManagement.js new file mode 100644 index 0000000000..118de9cce7 --- /dev/null +++ b/tgui/packages/tgui/interfaces/PrisonerManagement.js @@ -0,0 +1,101 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from '../backend'; +import { Button, Section, NumberInput, Flex, Box, Table } from '../components'; +import { Window } from '../layouts'; +import { formatTime } from '../format'; + +export const PrisonerManagement = (props, context) => { + const { act, data } = useBackend(context); + const { + locked, + chemImplants, + trackImplants, + } = data; + return ( + + + {locked && ( +
+ This interface is currently locked. + + + +
+ ) || ( + +
act("lock")}> + Lock Interface + + } /> +
+ {chemImplants.length && ( + + + Host + Units Remaining + Inject + + {chemImplants.map(chem => ( + + + {chem.host} + + + {chem.units}u remaining + + + + + + + + ))} +
+ ) || ( + + No chemical implants found. + + )} +
+
+ {trackImplants.length && ( + + + Host + Location + Message + + {trackImplants.map(track => ( + + + {track.host} ({track.id}) + + + {track.loc} + + + + + + ))} +
+ ) || ( + + No chemical implants found. + + )} +
+ + )} + + + ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/SecurityRecords.js b/tgui/packages/tgui/interfaces/SecurityRecords.js new file mode 100644 index 0000000000..7a95841cdf --- /dev/null +++ b/tgui/packages/tgui/interfaces/SecurityRecords.js @@ -0,0 +1,320 @@ +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Collapsible, Icon, Input, LabeledList, Section, Tabs } from "../components"; +import { ComplexModal, modalOpen, modalRegisterBodyOverride } from "../interfaces/common/ComplexModal"; +import { Window } from "../layouts"; +import { LoginInfo } from './common/LoginInfo'; +import { LoginScreen } from './common/LoginScreen'; +import { TemporaryNotice } from './common/TemporaryNotice'; +import { decodeHtmlEntities } from 'common/string'; + +const doEdit = (context, field) => { + modalOpen(context, 'edit', { + field: field.edit, + value: field.value, + }); +}; + +export const SecurityRecords = (_properties, context) => { + const { data } = useBackend(context); + const { + authenticated, + screen, + } = data; + if (!authenticated) { + return ( + + + + + + ); + } + + let body; + if (screen === 2) { // List Records + body = ; + } else if (screen === 3) { // Record Maintenance + body = ; + } else if (screen === 4) { // View Records + body = ; + } + + return ( + + + + + + +
+ {body} +
+
+
+ ); +}; + +const SecurityRecordsList = (_properties, context) => { + const { act, data } = useBackend(context); + const { + records, + } = data; + return ( + + act('search', { t1: value })} + /> + + {records.map((record, i) => ( +
+
+ ); +}; + +const SecurityRecordsViewGeneral = (_properties, context) => { + const { act, data } = useBackend(context); + const { + general, + } = data; + if (!general || !general.fields) { + return ( + + General records lost! + + ); + } + return ( + + + + {general.fields.map((field, i) => ( + + + {field.value} + + {!!field.edit && ( + + + + + + ); +}; + +const SecurityRecordsViewSecurity = (_properties, context) => { + const { act, data } = useBackend(context); + const { + security, + } = data; + if (!security || !security.fields) { + return ( + + Security records lost! + + + + }> + + + + + + +
+ {bloodsamp && ( + + {bloodsamp} + + {bloodsamp_desc} + + + ) || ( + + No blood sample inserted. + + )} +
+
+
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/public/tgui.bundle.js b/tgui/packages/tgui/public/tgui.bundle.js index cb26d3112f..19c61fc441 100644 --- a/tgui/packages/tgui/public/tgui.bundle.js +++ b/tgui/packages/tgui/public/tgui.bundle.js @@ -1,19 +1,19 @@ -!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=191)}([function(e,t,n){"use strict";t.__esModule=!0;var o=n(406);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(t[e]=o[e])}))},function(e,t,n){"use strict";var o=n(7),r=n(21).f,i=n(32),a=n(24),c=n(94),l=n(133),d=n(66);e.exports=function(e,t){var n,u,s,m,p,f=e.target,h=e.global,C=e.stat;if(n=h?o:C?o[f]||c(f,{}):(o[f]||{}).prototype)for(u in t){if(m=t[u],s=e.noTargetGet?(p=r(n,u))&&p.value:n[u],!d(h?u:f+(C?".":"#")+u,e.forced)&&s!==undefined){if(typeof m==typeof s)continue;l(m,s)}(e.sham||s&&s.sham)&&i(m,"sham",!0),a(n,u,m,e)}}},function(e,t,n){"use strict";(function(e){t.__esModule=!0,t.useSharedState=t.useLocalState=t.useBackend=t.selectBackend=t.sendAct=t.sendMessage=t.backendMiddleware=t.backendReducer=t.backendSuspendSuccess=t.backendSuspendStart=t.backendSetSharedState=t.backendUpdate=void 0;var o=n(166),r=n(35),i=n(91);var a=(0,n(26).createLogger)("backend");t.backendUpdate=function(e){return{type:"backend/update",payload:e}};var c=function(e,t){return{type:"backend/setSharedState",payload:{key:e,nextState:t}}};t.backendSetSharedState=c;t.backendSuspendStart=function(){return{type:"backend/suspendStart"}};t.backendSuspendSuccess=function(){return{type:"backend/suspendSuccess",payload:{timestamp:Date.now()}}};var l={config:{},data:{}};t.backendReducer=function(e,t){void 0===e&&(e=l);var n=t.type,o=t.payload;if("backend/update"===n){var i=Object.assign({},e.config,{},o.config),a=Object.assign({},e.data,{},o.static_data,{},o.data),c=Object.assign({},e.shared);if(o.shared)for(var d=0,u=Object.keys(o.shared);d=0||(r[n]=e[n]);return r}(t,["payload"]),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=d;var u=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?a.error("Payload for act() must be an object, got this:",t):d({type:"act/"+e,payload:t})};t.sendAct=u;var s=function(e){return e.backend||{}};t.selectBackend=s;t.useBackend=function(e){var t=e.store,n=s(t.getState());return Object.assign({},n,{act:u})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(c(t,"function"==typeof e?e(a):e))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){d({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}}).call(this,n(422).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.Tabs=t.Table=t.Slider=t.Section=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.NanoMap=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.AnimatedNumber=void 0;var o=n(124);t.AnimatedNumber=o.AnimatedNumber;var r=n(431);t.BlockQuote=r.BlockQuote;var i=n(17);t.Box=i.Box;var a=n(125);t.Button=a.Button;var c=n(432);t.ByondUi=c.ByondUi;var l=n(434);t.Chart=l.Chart;var d=n(435);t.Collapsible=d.Collapsible;var u=n(436);t.ColorBox=u.ColorBox;var s=n(172);t.Dimmer=s.Dimmer;var m=n(173);t.Divider=m.Divider;var p=n(127);t.DraggableControl=p.DraggableControl;var f=n(437);t.Dropdown=f.Dropdown;var h=n(174);t.Flex=h.Flex;var C=n(438);t.Grid=C.Grid;var g=n(126);t.Icon=g.Icon;var b=n(439);t.Input=b.Input;var N=n(440);t.Knob=N.Knob;var v=n(441);t.LabeledControls=v.LabeledControls;var V=n(442);t.LabeledList=V.LabeledList;var y=n(443);t.NanoMap=y.NanoMap;var _=n(444);t.Modal=_.Modal;var x=n(445);t.NoticeBox=x.NoticeBox;var k=n(129);t.NumberInput=k.NumberInput;var w=n(446);t.ProgressBar=w.ProgressBar;var L=n(447);t.Section=L.Section;var B=n(448);t.Slider=B.Slider;var S=n(128);t.Table=S.Table;var I=n(449);t.Tabs=I.Tabs;var E=n(171);t.Tooltip=E.Tooltip},function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.NtosWindow=t.refocusLayout=t.Layout=void 0;var o=n(123);t.Layout=o.Layout,t.refocusLayout=o.refocusLayout;var r=n(430);t.NtosWindow=r.NtosWindow;var i=n(175);t.Window=i.Window},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";t.__esModule=!0,t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return en?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=(e*=n=Math.pow(10,t))>0|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var o=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=o;t.keyOfMatchingRange=function(e,t){for(var n=0,r=Object.keys(t);n0?r(o(e),9007199254740991):0}},function(e,t,n){"use strict";var o=n(7),r=n(96),i=n(19),a=n(63),c=n(100),l=n(136),d=r("wks"),u=o.Symbol,s=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(d,e)||(c&&i(u,e)?d[e]=u[e]:d[e]=s("Symbol."+e)),d[e]}},function(e,t,n){"use strict";var o=n(10),r=n(130),i=n(11),a=n(37),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var o=n(23);e.exports=function(e){return Object(o(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(9),r=n(0),i=n(429),a=n(35);var c=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=c;var l=function(e){return"string"==typeof e?c(e):"number"==typeof e?c(.5*e):void 0};t.halfUnit=l;var d=function(e){return"string"==typeof e&&a.CSS_COLORS.includes(e)},u=function(e){return function(t,n){(0,o.isFalsy)(n)||(t[e]=n)}},s=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t(r))}},m=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t)}},p=function(e,t,n){return function(r,i){if(!(0,o.isFalsy)(i))for(var a=0;a0&&(t.style=l),t};t.computeBoxProps=C;var g=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([d(t)&&"color-"+t,d(n)&&"color-bg-"+n])};t.computeBoxClassName=g;var b=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["as","className","children"]);if("function"==typeof a)return a(C(e));var l="string"==typeof o?o+" "+g(c):g(c),d=C(c);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,d)};t.Box=b,b.defaultHooks=o.pureComponentHooks},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n",apos:"'",trade:"\u2122"};return e.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos|trade);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,n){"use strict";var o=n(52),r=n(62),i=n(16),a=n(13),c=n(68),l=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,u=4==e,s=6==e,m=5==e||s;return function(p,f,h,C){for(var g,b,N=i(p),v=r(N),V=o(f,h,3),y=a(v.length),_=0,x=C||c,k=t?x(p,y):n?x(p,0):undefined;y>_;_++)if((m||_ in v)&&(b=V(g=v[_],_,N),e))if(t)k[_]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return _;case 2:l.call(k,g)}else if(u)return!1;return s?-1:d||u?u:k}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6)}},function(e,t,n){"use strict";var o=n(10),r=n(75),i=n(50),a=n(27),c=n(37),l=n(19),d=n(130),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=a(e),t=c(t,!0),d)try{return u(e,t)}catch(n){}if(l(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";t.__esModule=!0,t.zipWith=t.zip=t.uniqBy=t.reduce=t.sortBy=t.map=t.filter=t.toKeyedArray=t.toArray=void 0;t.toArray=function(e){if(Array.isArray(e))return e;if("object"==typeof e){var t=Object.prototype.hasOwnProperty,n=[];for(var o in e)t.call(e,o)&&n.push(e[o]);return n}return[]};t.toKeyedArray=function(e,t){return void 0===t&&(t="key"),o((function(e,n){var o;return Object.assign(((o={})[t]=n,o),e)}))(e)};t.filter=function(e){return function(t){if(null===t&&t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;oc)return 1}return 0};t.sortBy=function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(r[n]=e[n]);return r}(t,["payload"]),r=Object.assign({tgui:1,window_id:window.__windowId__},o);null!==n&&n!==undefined&&(r.payload=JSON.stringify(n)),Byond.topic(r)};t.sendMessage=d;var u=function(e,t){void 0===t&&(t={}),"object"!=typeof t||null===t||Array.isArray(t)?a.error("Payload for act() must be an object, got this:",t):d({type:"act/"+e,payload:t})};t.sendAct=u;var s=function(e){return e.backend||{}};t.selectBackend=s;t.useBackend=function(e){var t=e.store,n=s(t.getState());return Object.assign({},n,{act:u})};t.useLocalState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){r.dispatch(c(t,"function"==typeof e?e(a):e))}]};t.useSharedState=function(e,t,n){var o,r=e.store,i=null!=(o=s(r.getState()).shared)?o:{},a=t in i?i[t]:n;return[a,function(e){d({type:"setSharedState",key:t,value:JSON.stringify("function"==typeof e?e(a):e)||""})}]}}).call(this,n(422).setImmediate)},function(e,t,n){"use strict";t.__esModule=!0,t.Tooltip=t.Tabs=t.Table=t.Slider=t.Section=t.ProgressBar=t.NumberInput=t.NoticeBox=t.Modal=t.NanoMap=t.LabeledList=t.LabeledControls=t.Knob=t.Input=t.Icon=t.Grid=t.Flex=t.Dropdown=t.DraggableControl=t.Divider=t.Dimmer=t.ColorBox=t.Collapsible=t.Chart=t.ByondUi=t.Button=t.Box=t.BlockQuote=t.AnimatedNumber=void 0;var o=n(124);t.AnimatedNumber=o.AnimatedNumber;var r=n(431);t.BlockQuote=r.BlockQuote;var i=n(17);t.Box=i.Box;var a=n(125);t.Button=a.Button;var c=n(432);t.ByondUi=c.ByondUi;var l=n(434);t.Chart=l.Chart;var d=n(435);t.Collapsible=d.Collapsible;var u=n(436);t.ColorBox=u.ColorBox;var s=n(174);t.Dimmer=s.Dimmer;var m=n(175);t.Divider=m.Divider;var p=n(127);t.DraggableControl=p.DraggableControl;var f=n(437);t.Dropdown=f.Dropdown;var h=n(176);t.Flex=h.Flex;var C=n(438);t.Grid=C.Grid;var g=n(126);t.Icon=g.Icon;var b=n(439);t.Input=b.Input;var N=n(440);t.Knob=N.Knob;var v=n(441);t.LabeledControls=v.LabeledControls;var V=n(442);t.LabeledList=V.LabeledList;var y=n(443);t.NanoMap=y.NanoMap;var k=n(444);t.Modal=k.Modal;var x=n(445);t.NoticeBox=x.NoticeBox;var _=n(129);t.NumberInput=_.NumberInput;var w=n(446);t.ProgressBar=w.ProgressBar;var L=n(447);t.Section=L.Section;var B=n(448);t.Slider=B.Slider;var S=n(128);t.Table=S.Table;var I=n(449);t.Tabs=I.Tabs;var E=n(173);t.Tooltip=E.Tooltip},function(e,t,n){"use strict";t.__esModule=!0,t.Window=t.NtosWindow=t.refocusLayout=t.Layout=void 0;var o=n(123);t.Layout=o.Layout,t.refocusLayout=o.refocusLayout;var r=n(430);t.NtosWindow=r.NtosWindow;var i=n(177);t.Window=i.Window},function(e,t,n){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){"use strict";t.__esModule=!0,t.keyOfMatchingRange=t.inRange=t.toFixed=t.round=t.scale=t.clamp01=t.clamp=void 0;t.clamp=function(e,t,n){return en?n:e};t.clamp01=function(e){return e<0?0:e>1?1:e};t.scale=function(e,t,n){return(e-t)/(n-t)};t.round=function(e,t){return!e||isNaN(e)?e:(t|=0,i=(e*=n=Math.pow(10,t))>0|-(e<0),r=Math.abs(e%1)>=.4999999999854481,o=Math.floor(e),r&&(e=o+(i>0)),(r?e:Math.round(e))/n);var n,o,r,i};t.toFixed=function(e,t){return void 0===t&&(t=0),Number(e).toFixed(Math.max(t,0))};var o=function(e,t){return t&&e>=t[0]&&e<=t[1]};t.inRange=o;t.keyOfMatchingRange=function(e,t){for(var n=0,r=Object.keys(t);n0?r(o(e),9007199254740991):0}},function(e,t,n){"use strict";var o=n(7),r=n(96),i=n(19),a=n(63),c=n(100),l=n(138),d=r("wks"),u=o.Symbol,s=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(d,e)||(c&&i(u,e)?d[e]=u[e]:d[e]=s("Symbol."+e)),d[e]}},function(e,t,n){"use strict";var o=n(10),r=n(132),i=n(11),a=n(37),c=Object.defineProperty;t.f=o?c:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return c(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";var o=n(24);e.exports=function(e){return Object(o(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.Box=t.computeBoxClassName=t.computeBoxProps=t.halfUnit=t.unit=void 0;var o=n(9),r=n(0),i=n(429),a=n(35);var c=function(e){return"string"==typeof e?e.endsWith("px")&&!Byond.IS_LTE_IE8?parseFloat(e)/12+"rem":e:"number"==typeof e?Byond.IS_LTE_IE8?12*e+"px":e+"rem":void 0};t.unit=c;var l=function(e){return"string"==typeof e?c(e):"number"==typeof e?c(.5*e):void 0};t.halfUnit=l;var d=function(e){return"string"==typeof e&&a.CSS_COLORS.includes(e)},u=function(e){return function(t,n){(0,o.isFalsy)(n)||(t[e]=n)}},s=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t(r))}},m=function(e,t){return function(n,r){(0,o.isFalsy)(r)||(n[e]=t)}},p=function(e,t,n){return function(r,i){if(!(0,o.isFalsy)(i))for(var a=0;a0&&(t.style=l),t};t.computeBoxProps=C;var g=function(e){var t=e.textColor||e.color,n=e.backgroundColor;return(0,o.classes)([d(t)&&"color-"+t,d(n)&&"color-bg-"+n])};t.computeBoxClassName=g;var b=function(e){var t=e.as,n=void 0===t?"div":t,o=e.className,a=e.children,c=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["as","className","children"]);if("function"==typeof a)return a(C(e));var l="string"==typeof o?o+" "+g(c):g(c),d=C(c);return(0,r.createVNode)(i.VNodeFlags.HtmlElement,n,l,a,i.ChildFlags.UnknownChildren,d)};t.Box=b,b.defaultHooks=o.pureComponentHooks},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n",apos:"'",trade:"\u2122"};return e.replace(/
/gi,"\n").replace(/<\/?[a-z0-9-_]+[^>]*>/gi,"").replace(/&(nbsp|amp|quot|lt|gt|apos|trade);/g,(function(e,n){return t[n]})).replace(/&#?([0-9]+);/gi,(function(e,t){var n=parseInt(t,10);return String.fromCharCode(n)})).replace(/&#x?([0-9a-f]+);/gi,(function(e,t){var n=parseInt(t,16);return String.fromCharCode(n)}))};t.buildQueryString=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}},function(e,t,n){"use strict";var o={}.hasOwnProperty;e.exports=function(e,t){return o.call(e,t)}},function(e,t,n){"use strict";var o=n(52),r=n(62),i=n(16),a=n(13),c=n(68),l=[].push,d=function(e){var t=1==e,n=2==e,d=3==e,u=4==e,s=6==e,m=5==e||s;return function(p,f,h,C){for(var g,b,N=i(p),v=r(N),V=o(f,h,3),y=a(v.length),k=0,x=C||c,_=t?x(p,y):n?x(p,0):undefined;y>k;k++)if((m||k in v)&&(b=V(g=v[k],k,N),e))if(t)_[k]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return k;case 2:l.call(_,g)}else if(u)return!1;return s?-1:d||u?u:_}};e.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6)}},function(e,t,n){"use strict";var o=n(10),r=n(76),i=n(50),a=n(28),c=n(37),l=n(19),d=n(132),u=Object.getOwnPropertyDescriptor;t.f=o?u:function(e,t){if(e=a(e),t=c(t,!0),d)try{return u(e,t)}catch(n){}if(l(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";t.__esModule=!0,t.zipWith=t.zip=t.uniqBy=t.reduce=t.sortBy=t.map=t.filter=t.toKeyedArray=t.toArray=void 0;t.toArray=function(e){if(Array.isArray(e))return e;if("object"==typeof e){var t=Object.prototype.hasOwnProperty,n=[];for(var o in e)t.call(e,o)&&n.push(e[o]);return n}return[]};t.toKeyedArray=function(e,t){return void 0===t&&(t="key"),o((function(e,n){var o;return Object.assign(((o={})[t]=n,o),e)}))(e)};t.filter=function(e){return function(t){if(null===t&&t===undefined)return t;if(Array.isArray(t)){for(var n=[],o=0;oc)return 1}return 0};t.sortBy=function(){for(var e=arguments.length,t=new Array(e),n=0;nt?2+3*d-c:0;return((0,o.toFixed)(m,p)+" "+s+n).trim()}; /** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */var o=0,r=1,i=2,a=3,c=4,l=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",message:a})}},d=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r"+a+""}},function(e,t,n){"use strict";var o=n(5);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";t.__esModule=!0,t.formatTime=t.formatCommaNumber=t.formatMoney=t.formatPower=t.formatSiUnit=void 0;var o=n(6),r=["f","p","n","\u03bc","m"," ","k","M","G","T","P","E","Z","Y"],i=r.indexOf(" "),a=function(e,t,n){if(void 0===t&&(t=-i),void 0===n&&(n=""),"number"!=typeof e||!Number.isFinite(e))return e;var a=Math.floor(Math.log10(e)),c=Math.floor(Math.max(3*t,a)),l=Math.floor(a/3),d=Math.floor(c/3),u=(0,o.clamp)(i+d,0,r.length),s=r[u],m=e/Math.pow(1e3,d),p=l>t?2+3*d-c:0;return((0,o.toFixed)(m,p)+" "+s+n).trim()}; + */t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c0&&c0})).join(":")}},function(e,t,n){"use strict";e.exports=function(e){if(e==undefined)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var o=n(7),r=n(32),i=n(19),a=n(94),c=n(95),l=n(38),d=l.get,u=l.enforce,s=String(String).split("String");(e.exports=function(e,t,n,c){var l=!!c&&!!c.unsafe,d=!!c&&!!c.enumerable,m=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||r(n,"name",t),u(n).source=s.join("string"==typeof t?t:"")),e!==o?(l?!m&&e[t]&&(d=!0):delete e[t],d?e[t]=n:r(e,t,n)):d?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&d(this).source||c(this)}))},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(19),a=Object.defineProperty,c={},l=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var n=[][e],d=!!i(t,"ACCESSORS")&&t.ACCESSORS,u=i(t,0)?t[0]:l,s=i(t,1)?t[1]:undefined;return c[e]=!!n&&!r((function(){if(d&&!o)return!0;var e={length:-1};d?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,u,s)}))}},function(e,t,n){"use strict";t.__esModule=!0,t.logger=t.createLogger=void 0;n(169); /** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.formatSiUnit=a;t.formatPower=function(e,t){return void 0===t&&(t=0),a(e,t,"W")};t.formatMoney=function(e,t){if(void 0===t&&(t=0),!Number.isFinite(e))return e;var n=(0,o.round)(e,t);t>0&&(n=(0,o.toFixed)(e,t));var r=(n=String(n)).length,i=n.indexOf(".");-1===i&&(i=r);for(var a="",c=0;c0&&c0})).join(":")}},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(50);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var o=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:o)(e)}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.T0C=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.T0C=273.15;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Mercenary",freq:1213,color:"#6D3F40"},{name:"Raider",freq:1277,color:"#6D3F40"},{name:"Special Ops",freq:1341,color:"#5C5C8A"},{name:"AI Private",freq:1343,color:"#FF00FF"},{name:"Response Team",freq:1345,color:"#5C5C8A"},{name:"Supply",freq:1347,color:"#5F4519"},{name:"Service",freq:1349,color:"#6eaa2c"},{name:"Science",freq:1351,color:"#993399"},{name:"Command",freq:1353,color:"#193A7A"},{name:"Medical",freq:1355,color:"#008160"},{name:"Engineering",freq:1357,color:"#A66300"},{name:"Security",freq:1359,color:"#A30000"},{name:"Explorer",freq:1361,color:"#555555"},{name:"Talon",freq:1363,color:"#555555"},{name:"Common",freq:1459,color:"#008000"},{name:"Entertainment",freq:1461,color:"#339966"},{name:"Security(I)",freq:1475,color:"#008000"},{name:"Medical(I)",freq:1485,color:"#008000"}];var o=[{id:"oxygen",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"carbon dioxide",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"phoron",name:"Phoron",label:"Phoron",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:"other",name:"Other",label:"Other",color:"white"},{id:"pressure",name:"Pressure",label:"Pressure",color:"average"},{id:"temperature",name:"Temperature",label:"Temperature",color:"yellow"}];t.getGasLabel=function(e,t){var n=String(e).toLowerCase(),r=o.find((function(e){return e.id===n||e.name.toLowerCase()===n}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),n=o.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return n&&n.color}},function(e,t,n){"use strict";var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var o,r,i,a=n(132),c=n(7),l=n(8),d=n(32),u=n(19),s=n(76),m=n(64),p=c.WeakMap;if(a){var f=new p,h=f.get,C=f.has,g=f.set;o=function(e,t){return g.call(f,e,t),t},r=function(e){return h.call(f,e)||{}},i=function(e){return C.call(f,e)}}else{var b=s("state");m[b]=!0,o=function(e,t){return d(e,b,t),t},r=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var o=n(19),r=n(16),i=n(76),a=n(107),c=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),o(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";var o=n(134),r=n(7),i=function(e){return"function"==typeof e?e:undefined};e.exports=function(e,t){return arguments.length<2?i(o[e])||i(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var o=n(5);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(10),a=n(120),c=n(12),l=n(81),d=n(59),u=n(50),s=n(32),m=n(13),p=n(148),f=n(163),h=n(37),C=n(19),g=n(78),b=n(8),N=n(45),v=n(54),V=n(51).f,y=n(164),_=n(20).forEach,x=n(58),k=n(15),w=n(21),L=n(38),B=n(83),S=L.get,I=L.set,E=k.f,T=w.f,A=Math.round,O=r.RangeError,M=l.ArrayBuffer,P=l.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,R=c.TypedArray,j=c.TypedArrayPrototype,z=c.aTypedArrayConstructor,W=c.isTypedArray,U=function(e,t){for(var n=0,o=t.length,r=new(z(e))(o);o>n;)r[n]=t[n++];return r},K=function(e,t){E(e,t,{get:function(){return S(this)[t]}})},H=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},G=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return G(e,t=h(t,!0))?u(2,e[t]):T(e,t)},q=function(e,t,n){return!(G(e,t=h(t,!0))&&b(n)&&C(n,"value"))||C(n,"get")||C(n,"set")||n.configurable||C(n,"writable")&&!n.writable||C(n,"enumerable")&&!n.enumerable?E(e,t,n):(e[t]=n.value,e)};i?(F||(w.f=Y,k.f=q,K(j,"buffer"),K(j,"byteOffset"),K(j,"byteLength"),K(j,"length")),o({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Y,defineProperty:q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,h=r[c],C=h,g=C&&C.prototype,k={},w=function(e,t){E(e,t,{get:function(){return function(e,t){var n=S(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=S(e);n&&(o=(o=A(o))<0?0:o>255?255:255&o),r.view[u](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};F?a&&(C=t((function(e,t,n,o){return d(e,C,c),B(b(t)?H(t)?o!==undefined?new h(t,f(n,i),o):n!==undefined?new h(t,f(n,i)):new h(t):W(t)?U(C,t):y.call(C,t):new h(p(t)),e,C)})),v&&v(C,R),_(V(h),(function(e){e in C||s(C,e,h[e])})),C.prototype=g):(C=t((function(e,t,n,o){d(e,C,c);var r,a,l,u=0,s=0;if(b(t)){if(!H(t))return W(t)?U(C,t):y.call(C,t);r=t,s=f(n,i);var h=t.byteLength;if(o===undefined){if(h%i)throw O("Wrong length");if((a=h-s)<0)throw O("Wrong length")}else if((a=m(o)*i)+s>h)throw O("Wrong length");l=a/i}else l=p(t),r=new M(a=l*i);for(I(e,{buffer:r,byteOffset:s,byteLength:a,length:l,view:new P(r)});u"+e+"<\/script>"},f=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;f=o?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=d("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};c[s]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m.prototype=r(e),n=new m,m.prototype=null,n[s]=e):n=f(),t===undefined?n:i(n,t)}},function(e,t,n){"use strict";var o=n(15).f,r=n(19),i=n(14)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var o=n(14),r=n(45),i=n(15),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){"use strict";var o=n(11),r=n(34),i=n(14)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},function(e,t,n){"use strict";t.__esModule=!0,t.ComplexModal=t.modalRegisterBodyOverride=t.modalOpen=void 0;var o=n(0),r=n(2),i=n(3),a={};t.modalOpen=function(e,t,n){var o=(0,r.useBackend)(e),i=o.act,a=o.data,c=Object.assign(a.modal?a.modal.args:{},n||{});i("modal_open",{id:t,arguments:JSON.stringify(c)})};t.modalRegisterBodyOverride=function(e,t){a[e]=t};var c=function(e,t,n,o){var i=(0,r.useBackend)(e),a=i.act,c=i.data;if(c.modal){var l=Object.assign(c.modal.args||{},o||{});a("modal_answer",{id:t,answer:n,arguments:JSON.stringify(l)})}},l=function(e,t){(0,(0,r.useBackend)(e).act)("modal_close",{id:t})};t.ComplexModal=function(e,t){var n=(0,r.useBackend)(t).data;if(n.modal){var d,u,s=n.modal,m=s.id,p=s.text,f=s.type,h=(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}});if(a[m])u=a[m](n.modal,t);else if("input"===f){var C=n.modal.value;d=function(e){return c(t,m,C)},u=(0,o.createComponentVNode)(2,i.Input,{value:n.modal.value,placeholder:"ENTER to submit",width:"100%",my:"0.5rem",autofocus:!0,onChange:function(e,t){C=t}}),h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Cancel",color:"grey",onClick:function(){return l(t)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:"Confirm",color:"good",float:"right",m:"0",onClick:function(){return c(t,m,C)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}else if("choice"===f){var g="object"==typeof n.modal.choices?Object.values(n.modal.choices):n.modal.choices;u=(0,o.createComponentVNode)(2,i.Dropdown,{options:g,selected:n.modal.value,width:"100%",my:"0.5rem",onSelected:function(e){return c(t,m,e)}})}else"bento"===f?u=(0,o.createComponentVNode)(2,i.Flex,{spacingPrecise:"1",wrap:"wrap",my:"0.5rem",maxHeight:"1%",children:n.modal.choices.map((function(e,r){return(0,o.createComponentVNode)(2,i.Flex.Item,{flex:"1 1 auto",children:(0,o.createComponentVNode)(2,i.Button,{selected:r+1===parseInt(n.modal.value,10),onClick:function(){return c(t,m,r+1)},children:(0,o.createVNode)(1,"img",null,null,1,{src:e})})},r)}))}):"boolean"===f&&(h=(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:n.modal.no_text,color:"bad",float:"left",mb:"0",onClick:function(){return c(t,m,0)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"check",content:n.modal.yes_text,color:"good",float:"right",m:"0",onClick:function(){return c(t,m,1)}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}));return(0,o.createComponentVNode)(2,i.Modal,{maxWidth:e.maxWidth||window.innerWidth/2+"px",maxHeight:e.maxHeight||window.innerHeight/2+"px",onEnter:d,mx:"auto",children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline",children:p}),u,h]})}}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var o=n(135),r=n(98).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(34);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var o=n(37),r=n(15),i=n(50);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var o=n(11),r=n(146);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},function(e,t,n){"use strict";var o=n(64),r=n(8),i=n(19),a=n(15).f,c=n(63),l=n(72),d=c("meta"),u=0,s=Object.isExtensible||function(){return!0},m=function(e){a(e,d,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,d)){if(!s(e))return"F";if(!t)return"E";m(e)}return e[d].objectID},getWeakData:function(e,t){if(!i(e,d)){if(!s(e))return!0;if(!t)return!1;m(e)}return e[d].weakData},onFreeze:function(e){return l&&p.REQUIRED&&s(e)&&!i(e,d)&&m(e),e}};o[d]=!0},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),c=1;c1?o-1:0),i=1;iu;)if((c=l[u++])!=c)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(5),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==d||n!=l&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",d=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var o=n(135),r=n(98);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(8),r=n(57),i=n(14)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[i])&&(n=undefined):n=undefined),new(n===undefined?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var o=n(5),r=n(14),i=n(101),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var o=n(24);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var o=n(11),r=n(103),i=n(13),a=n(52),c=n(104),l=n(143),d=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,s){var m,p,f,h,C,g,b,N=a(t,n,u?2:1);if(s)m=e;else{if("function"!=typeof(p=c(e)))throw TypeError("Target is not iterable");if(r(p)){for(f=0,h=i(e.length);h>f;f++)if((C=u?N(o(b=e[f])[0],b[1]):N(e[f]))&&C instanceof d)return C;return new d(!1)}m=p.call(e)}for(g=m.next;!(b=g.call(m)).done;)if("object"==typeof(C=l(m,N,b.value,u))&&C&&C instanceof d)return C;return new d(!1)}).stop=function(e){return new d(!0,e)}},function(e,t,n){"use strict";var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(r){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){"use strict";var o=n(96),r=n(63),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){"use strict";var o=n(40);e.exports=o("navigator","userAgent")||""},function(e,t,n){"use strict";var o=n(105),r=n(36),i=n(14)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return e===undefined?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";var o=n(14)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},"return":function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},function(e,t,n){"use strict";var o=n(34),r=n(16),i=n(62),a=n(13),c=function(e){return function(t,n,c,l){o(n);var d=r(t),u=i(d),s=a(d.length),m=e?s-1:0,p=e?-1:1;if(c<2)for(;;){if(m in u){l=u[m],m+=p;break}if(m+=p,e?m<0:s<=m)throw TypeError("Reduce of empty array with no initial value")}for(;e?m>=0:s>m;m+=p)m in u&&(l=n(l,u[m],m,d));return l}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var o=n(7),r=n(10),i=n(108),a=n(32),c=n(71),l=n(5),d=n(59),u=n(33),s=n(13),m=n(148),p=n(238),f=n(39),h=n(54),C=n(51).f,g=n(15).f,b=n(102),N=n(46),v=n(38),V=v.get,y=v.set,_=o.ArrayBuffer,x=_,k=o.DataView,w=k&&k.prototype,L=Object.prototype,B=o.RangeError,S=p.pack,I=p.unpack,E=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},A=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},O=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return S(e,23,4)},P=function(e){return S(e,52,8)},F=function(e,t){g(e.prototype,t,{get:function(){return V(this)[t]}})},D=function(e,t,n,o){var r=m(n),i=V(e);if(r+t>i.byteLength)throw B("Wrong index");var a=V(i.buffer).bytes,c=r+i.byteOffset,l=a.slice(c,c+t);return o?l:l.reverse()},R=function(e,t,n,o,r,i){var a=m(n),c=V(e);if(a+t>c.byteLength)throw B("Wrong index");for(var l=V(c.buffer).bytes,d=a+c.byteOffset,u=o(+r),s=0;sU;)(j=W[U++])in x||a(x,j,_[j]);z.constructor=x}h&&f(w)!==L&&h(w,L);var K=new k(new x(2)),H=w.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(w,{setInt8:function(e,t){H.call(this,e,t<<24>>24)},setUint8:function(e,t){H.call(this,e,t<<24>>24)}},{unsafe:!0})}else x=function(e){d(this,x,"ArrayBuffer");var t=m(e);y(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},k=function(e,t,n){d(this,k,"DataView"),d(e,x,"DataView");var o=V(e).byteLength,i=u(t);if(i<0||i>o)throw B("Wrong offset");if(i+(n=n===undefined?o-i:s(n))>o)throw B("Wrong length");y(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(F(x,"byteLength"),F(k,"buffer"),F(k,"byteLength"),F(k,"byteOffset")),c(k.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return I(D(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return I(D(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){R(this,1,e,E,t)},setUint8:function(e,t){R(this,1,e,E,t)},setInt16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){R(this,4,e,M,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){R(this,8,e,P,t,arguments.length>2?arguments[2]:undefined)}});N(x,"ArrayBuffer"),N(k,"DataView"),e.exports={ArrayBuffer:x,DataView:k}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(66),a=n(24),c=n(55),l=n(73),d=n(59),u=n(8),s=n(5),m=n(79),p=n(46),f=n(83);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),C=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],N=b&&b.prototype,v=b,V={},y=function(e){var t=N[e];a(N,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return C&&!u(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(C||N.forEach&&!s((function(){(new b).entries().next()})))))v=n.getConstructor(t,e,h,g),c.REQUIRED=!0;else if(i(e,!0)){var _=new v,x=_[g](C?{}:-0,1)!=_,k=s((function(){_.has(1)})),w=m((function(e){new b(e)})),L=!C&&s((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));w||((v=t((function(t,n){d(t,v,e);var o=f(new b,t,v);return n!=undefined&&l(n,o[g],o,h),o}))).prototype=N,N.constructor=v),(k||L)&&(y("delete"),y("has"),h&&y("get")),(L||x)&&y(g),C&&N.clear&&delete N.clear}return V[e]=v,o({global:!0,forced:v!=b},V),p(v,e),C||n.setStrong(v,e,h),v}},function(e,t,n){"use strict";var o=n(8),r=n(54);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},function(e,t,n){"use strict";var o=Math.expm1,r=Math.exp;e.exports=!o||o(10)>22025.465794806718||o(10)<22025.465794806718||-2e-17!=o(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:o},function(e,t,n){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,n){"use strict";var o=n(41),r=n(7),i=n(5);e.exports=o||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}))},function(e,t,n){"use strict";var o=n(11);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var o,r,i=n(87),a=n(114),c=RegExp.prototype.exec,l=String.prototype.replace,d=c,u=(o=/a/,r=/b*/g,c.call(o,"a"),c.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),s=a.UNSUPPORTED_Y||a.BROKEN_CARET,m=/()??/.exec("")[1]!==undefined;(u||m||s)&&(d=function(e){var t,n,o,r,a=this,d=s&&a.sticky,p=i.call(a),f=a.source,h=0,C=e;return d&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),C=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",C=" "+C,h++),n=new RegExp("^(?:"+f+")",p)),m&&(n=new RegExp("^"+f+"$(?!\\s)",p)),u&&(t=a.lastIndex),o=c.call(d?n:a,C),d?o?(o.input=o.input.slice(h),o[0]=o[0].slice(h),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:u&&o&&(a.lastIndex=a.global?o.index+o[0].length:t),m&&o&&o.length>1&&l.call(o[0],n,(function(){for(r=1;r")})),u="$0"==="a".replace(/./,"$0"),s=i("replace"),m=!!/./[s]&&""===/./[s]("a","$0"),p=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,s){var f=i(e),h=!r((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),C=h&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!C||"replace"===e&&(!d||!u||m)||"split"===e&&!p){var g=/./[f],b=n(f,""[e],(function(e,t,n,o,r){return t.exec===a?h&&!r?{done:!0,value:g.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:m}),N=b[0],v=b[1];o(String.prototype,e,N),o(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}s&&c(RegExp.prototype[f],"sham",!0)}},function(e,t,n){"use strict";var o=n(36),r=n(88);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=48&&o<=90?String.fromCharCode(o):o>=112&&o<=123?"F"+(o-111):"["+o+"]"},u=function(e){var t=window.event?e.which:e.keyCode,n=e.ctrlKey,o=e.altKey,r=e.shiftKey;return{keyCode:t,ctrlKey:n,altKey:o,shiftKey:r,hasModifierKeys:n||o||r,keyString:d(n,o,r,t)}},s=function(){for(var e=0,t=Object.keys(l);e=112&&c<=123){i.log(d);for(var s,p=o(m);!(s=p()).done;)(0,s.value)(n,r)}}}(t,n,e)},document.addEventListener("keydown",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keydown"),l[n]=!0})),document.addEventListener("keyup",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keyup"),l[n]=!1})),Byond.IS_LTE_IE8||function(e){var t;document.addEventListener("focusout",(function(){t=setTimeout(e)})),document.addEventListener("focusin",(function(){clearTimeout(t)})),window.addEventListener("beforeunload",e)}((function(){s()})),function(e){return function(t){return e(t)}}}},function(e,t,n){"use strict";t.__esModule=!0,t.TemporaryNotice=void 0;var o=n(0),r=n(2),i=n(3);t.TemporaryNotice=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data.temp;if(l){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})))}}},function(e,t,n){"use strict";var o=n(7),r=n(8),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){"use strict";var o=n(7),r=n(32);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},function(e,t,n){"use strict";var o=n(131),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},function(e,t,n){"use strict";var o=n(41),r=n(131);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var o=n(40),r=n(51),i=n(99),a=n(11);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var o=n(5);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var o,r,i=n(7),a=n(77),c=i.process,l=c&&c.versions,d=l&&l.v8;d?r=(o=d.split("."))[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),l=a>2?arguments[2]:undefined,d=l===undefined?n:r(l,n);d>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var o=n(14),r=n(70),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var o=n(78),r=n(70),i=n(14)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},function(e,t,n){"use strict";var o={};o[n(14)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t,n){"use strict";var o=n(1),r=n(223),i=n(39),a=n(54),c=n(46),l=n(32),d=n(24),u=n(14),s=n(41),m=n(70),p=n(145),f=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,C=u("iterator"),g=function(){return this};e.exports=function(e,t,n,u,p,b,N){r(n,t,u);var v,V,y,_=function(e){if(e===p&&B)return B;if(!h&&e in w)return w[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",k=!1,w=e.prototype,L=w[C]||w["@@iterator"]||p&&w[p],B=!h&&L||_(p),S="Array"==t&&w.entries||L;if(S&&(v=i(S.call(new e)),f!==Object.prototype&&v.next&&(s||i(v)===f||(a?a(v,f):"function"!=typeof v[C]&&l(v,C,g)),c(v,x,!0,!0),s&&(m[x]=g))),"values"==p&&L&&"values"!==L.name&&(k=!0,B=function(){return L.call(this)}),s&&!N||w[C]===B||l(w,C,B),m[t]=B,p)if(V={values:_("values"),keys:b?B:_("keys"),entries:_("entries")},N)for(y in V)(h||k||!(y in w))&&d(w,y,V[y]);else o({target:t,proto:!0,forced:h||k},V);return V}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var o=n(13),r=n(110),i=n(23),a=Math.ceil,c=function(e){return function(t,n,c){var l,d,u=String(i(t)),s=u.length,m=c===undefined?" ":String(c),p=o(n);return p<=s||""==m?u:(l=p-s,(d=r.call(m,a(l/m.length))).length>l&&(d=d.slice(0,l)),e?u+d:d+u)}};e.exports={start:c(!1),end:c(!0)}},function(e,t,n){"use strict";var o=n(33),r=n(23);e.exports="".repeat||function(e){var t=String(r(this)),n="",i=o(e);if(i<0||i==Infinity)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var o,r,i,a=n(7),c=n(5),l=n(36),d=n(52),u=n(138),s=n(93),m=n(157),p=a.location,f=a.setImmediate,h=a.clearImmediate,C=a.process,g=a.MessageChannel,b=a.Dispatch,N=0,v={},V=function(e){if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){return function(){V(e)}},_=function(e){V(e.data)},x=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};f&&h||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++N]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},o(N),N},h=function(e){delete v[e]},"process"==l(C)?o=function(e){C.nextTick(y(e))}:b&&b.now?o=function(e){b.now(y(e))}:g&&!m?(i=(r=new g).port2,r.port1.onmessage=_,o=d(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(x)||"file:"===p.protocol?o="onreadystatechange"in s("script")?function(e){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),V(e)}}:function(e){setTimeout(y(e),0)}:(o=x,a.addEventListener("message",_,!1))),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var o=n(8),r=n(36),i=n(14)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},function(e,t,n){"use strict";var o=n(5);function r(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var o=n(33),r=n(23),i=function(e){return function(t,n){var i,a,c=String(r(t)),l=o(n),d=c.length;return l<0||l>=d?e?"":undefined:(i=c.charCodeAt(l))<55296||i>56319||l+1===d||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var o=n(113);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){"use strict";var o=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},function(e,t,n){"use strict";var o=n(115).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){"use strict";var o=n(5),r=n(85);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},function(e,t,n){"use strict";var o=n(7),r=n(5),i=n(79),a=n(12).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,l=o.Int8Array;e.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||r((function(){return 1!==new l(new c(2),1,undefined).length}))},function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.useDebug=t.selectDebug=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(91),r=function(){return{type:"debug/toggleKitchenSink"}}; + */var o=0,r=1,i=2,a=3,c=4,l=function(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r=i){var a=[t].concat(o).map((function(e){return"string"==typeof e?e:e instanceof Error?e.stack||String(e):JSON.stringify(e)})).filter((function(e){return e})).join(" ")+"\nUser Agent: "+navigator.userAgent;Byond.topic({tgui:1,window_id:window.__windowId__,type:"log",message:a})}},d=function(e){return{debug:function(){for(var t=arguments.length,n=new Array(t),r=0;r"+a+""}},function(e,t,n){"use strict";var o=n(5);e.exports=function(e){return o((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(50);e.exports=o?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var o=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:o)(e)}},function(e,t,n){"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";t.__esModule=!0,t.getGasColor=t.getGasLabel=t.RADIO_CHANNELS=t.CSS_COLORS=t.COLORS=t.T0C=t.UI_CLOSE=t.UI_DISABLED=t.UI_UPDATE=t.UI_INTERACTIVE=void 0;t.UI_INTERACTIVE=2;t.UI_UPDATE=1;t.UI_DISABLED=0;t.UI_CLOSE=-1;t.T0C=273.15;t.COLORS={department:{captain:"#c06616",security:"#e74c3c",medbay:"#3498db",science:"#9b59b6",engineering:"#f1c40f",cargo:"#f39c12",centcom:"#00c100",other:"#c38312"},damageType:{oxy:"#3498db",toxin:"#2ecc71",burn:"#e67e22",brute:"#e74c3c"}};t.CSS_COLORS=["black","white","red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","good","average","bad","label"];t.RADIO_CHANNELS=[{name:"Mercenary",freq:1213,color:"#6D3F40"},{name:"Raider",freq:1277,color:"#6D3F40"},{name:"Special Ops",freq:1341,color:"#5C5C8A"},{name:"AI Private",freq:1343,color:"#FF00FF"},{name:"Response Team",freq:1345,color:"#5C5C8A"},{name:"Supply",freq:1347,color:"#5F4519"},{name:"Service",freq:1349,color:"#6eaa2c"},{name:"Science",freq:1351,color:"#993399"},{name:"Command",freq:1353,color:"#193A7A"},{name:"Medical",freq:1355,color:"#008160"},{name:"Engineering",freq:1357,color:"#A66300"},{name:"Security",freq:1359,color:"#A30000"},{name:"Explorer",freq:1361,color:"#555555"},{name:"Talon",freq:1363,color:"#555555"},{name:"Common",freq:1459,color:"#008000"},{name:"Entertainment",freq:1461,color:"#339966"},{name:"Security(I)",freq:1475,color:"#008000"},{name:"Medical(I)",freq:1485,color:"#008000"}];var o=[{id:"oxygen",name:"Oxygen",label:"O\u2082",color:"blue"},{id:"n2",name:"Nitrogen",label:"N\u2082",color:"red"},{id:"carbon dioxide",name:"Carbon Dioxide",label:"CO\u2082",color:"grey"},{id:"phoron",name:"Phoron",label:"Phoron",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:"other",name:"Other",label:"Other",color:"white"},{id:"pressure",name:"Pressure",label:"Pressure",color:"average"},{id:"temperature",name:"Temperature",label:"Temperature",color:"yellow"}];t.getGasLabel=function(e,t){var n=String(e).toLowerCase(),r=o.find((function(e){return e.id===n||e.name.toLowerCase()===n}));return r&&r.label||t||e};t.getGasColor=function(e){var t=String(e).toLowerCase(),n=o.find((function(e){return e.id===t||e.name.toLowerCase()===t}));return n&&n.color}},function(e,t,n){"use strict";var o={}.toString;e.exports=function(e){return o.call(e).slice(8,-1)}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e,t){if(!o(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!o(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!o(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){"use strict";var o,r,i,a=n(134),c=n(7),l=n(8),d=n(32),u=n(19),s=n(77),m=n(64),p=c.WeakMap;if(a){var f=new p,h=f.get,C=f.has,g=f.set;o=function(e,t){return g.call(f,e,t),t},r=function(e){return h.call(f,e)||{}},i=function(e){return C.call(f,e)}}else{var b=s("state");m[b]=!0,o=function(e,t){return d(e,b,t),t},r=function(e){return u(e,b)?e[b]:{}},i=function(e){return u(e,b)}}e.exports={set:o,get:r,has:i,enforce:function(e){return i(e)?r(e):o(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t,n){"use strict";var o=n(19),r=n(16),i=n(77),a=n(107),c=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),o(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){"use strict";var o=n(136),r=n(7),i=function(e){return"function"==typeof e?e:undefined};e.exports=function(e,t){return arguments.length<2?i(o[e])||i(r[e]):o[e]&&o[e][t]||r[e]&&r[e][t]}},function(e,t,n){"use strict";e.exports=!1},function(e,t,n){"use strict";var o=n(5);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(10),a=n(120),c=n(12),l=n(82),d=n(59),u=n(50),s=n(32),m=n(13),p=n(150),f=n(165),h=n(37),C=n(19),g=n(79),b=n(8),N=n(46),v=n(54),V=n(51).f,y=n(166),k=n(20).forEach,x=n(58),_=n(15),w=n(21),L=n(38),B=n(84),S=L.get,I=L.set,E=_.f,T=w.f,A=Math.round,O=r.RangeError,M=l.ArrayBuffer,P=l.DataView,F=c.NATIVE_ARRAY_BUFFER_VIEWS,D=c.TYPED_ARRAY_TAG,R=c.TypedArray,j=c.TypedArrayPrototype,z=c.aTypedArrayConstructor,W=c.isTypedArray,U=function(e,t){for(var n=0,o=t.length,r=new(z(e))(o);o>n;)r[n]=t[n++];return r},K=function(e,t){E(e,t,{get:function(){return S(this)[t]}})},H=function(e){var t;return e instanceof M||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},G=function(e,t){return W(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return G(e,t=h(t,!0))?u(2,e[t]):T(e,t)},q=function(e,t,n){return!(G(e,t=h(t,!0))&&b(n)&&C(n,"value"))||C(n,"get")||C(n,"set")||n.configurable||C(n,"writable")&&!n.writable||C(n,"enumerable")&&!n.enumerable?E(e,t,n):(e[t]=n.value,e)};i?(F||(w.f=Y,_.f=q,K(j,"buffer"),K(j,"byteOffset"),K(j,"byteLength"),K(j,"length")),o({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:Y,defineProperty:q}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,c=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,h=r[c],C=h,g=C&&C.prototype,_={},w=function(e,t){E(e,t,{get:function(){return function(e,t){var n=S(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,o){var r=S(e);n&&(o=(o=A(o))<0?0:o>255?255:255&o),r.view[u](t*i+r.byteOffset,o,!0)}(this,t,e)},enumerable:!0})};F?a&&(C=t((function(e,t,n,o){return d(e,C,c),B(b(t)?H(t)?o!==undefined?new h(t,f(n,i),o):n!==undefined?new h(t,f(n,i)):new h(t):W(t)?U(C,t):y.call(C,t):new h(p(t)),e,C)})),v&&v(C,R),k(V(h),(function(e){e in C||s(C,e,h[e])})),C.prototype=g):(C=t((function(e,t,n,o){d(e,C,c);var r,a,l,u=0,s=0;if(b(t)){if(!H(t))return W(t)?U(C,t):y.call(C,t);r=t,s=f(n,i);var h=t.byteLength;if(o===undefined){if(h%i)throw O("Wrong length");if((a=h-s)<0)throw O("Wrong length")}else if((a=m(o)*i)+s>h)throw O("Wrong length");l=a/i}else l=p(t),r=new M(a=l*i);for(I(e,{buffer:r,byteOffset:s,byteLength:a,length:l,view:new P(r)});u"+e+"<\/script>"},f=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(r){}var e,t;f=o?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=d("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete f.prototype[a[n]];return f()};c[s]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(m.prototype=r(e),n=new m,m.prototype=null,n[s]=e):n=f(),t===undefined?n:i(n,t)}},function(e,t,n){"use strict";var o=n(15).f,r=n(19),i=n(14)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,i)&&o(e,i,{configurable:!0,value:t})}},function(e,t,n){"use strict";var o=n(14),r=n(46),i=n(15),a=o("unscopables"),c=Array.prototype;c[a]==undefined&&i.f(c,a,{configurable:!0,value:r(null)}),e.exports=function(e){c[a][e]=!0}},function(e,t,n){"use strict";var o=n(11),r=n(34),i=n(14)("species");e.exports=function(e,t){var n,a=o(e).constructor;return a===undefined||(n=o(a)[i])==undefined?t:r(n)}},function(e,t,n){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){"use strict";var o=n(137),r=n(98).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(34);e.exports=function(e,t,n){if(o(e),t===undefined)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,r){return e.call(t,n,o,r)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var o=n(37),r=n(15),i=n(50);e.exports=function(e,t,n){var a=o(t);a in e?r.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){"use strict";var o=n(11),r=n(148);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(i){}return function(n,i){return o(n),r(i),t?e.call(n,i):n.__proto__=i,n}}():undefined)},function(e,t,n){"use strict";var o=n(64),r=n(8),i=n(19),a=n(15).f,c=n(63),l=n(72),d=c("meta"),u=0,s=Object.isExtensible||function(){return!0},m=function(e){a(e,d,{value:{objectID:"O"+ ++u,weakData:{}}})},p=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,d)){if(!s(e))return"F";if(!t)return"E";m(e)}return e[d].objectID},getWeakData:function(e,t){if(!i(e,d)){if(!s(e))return!0;if(!t)return!1;m(e)}return e[d].weakData},onFreeze:function(e){return l&&p.REQUIRED&&s(e)&&!i(e,d)&&m(e),e}};o[d]=!0},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),c=1;c1?o-1:0),i=1;iu;)if((c=l[u++])!=c)return!0}else for(;d>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){"use strict";var o=n(5),r=/#|\.prototype\./,i=function(e,t){var n=c[a(e)];return n==d||n!=l&&("function"==typeof t?o(t):!!t)},a=i.normalize=function(e){return String(e).replace(r,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",d=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var o=n(137),r=n(98);e.exports=Object.keys||function(e){return o(e,r)}},function(e,t,n){"use strict";var o=n(8),r=n(57),i=n(14)("species");e.exports=function(e,t){var n;return r(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!r(n.prototype)?o(n)&&null===(n=n[i])&&(n=undefined):n=undefined),new(n===undefined?Array:n)(0===t?0:t)}},function(e,t,n){"use strict";var o=n(5),r=n(14),i=n(101),a=r("species");e.exports=function(e){return i>=51||!o((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){"use strict";e.exports={}},function(e,t,n){"use strict";var o=n(25);e.exports=function(e,t,n){for(var r in t)o(e,r,t[r],n);return e}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){"use strict";var o=n(11),r=n(103),i=n(13),a=n(52),c=n(104),l=n(145),d=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,u,s){var m,p,f,h,C,g,b,N=a(t,n,u?2:1);if(s)m=e;else{if("function"!=typeof(p=c(e)))throw TypeError("Target is not iterable");if(r(p)){for(f=0,h=i(e.length);h>f;f++)if((C=u?N(o(b=e[f])[0],b[1]):N(e[f]))&&C instanceof d)return C;return new d(!1)}m=p.call(e)}for(g=m.next;!(b=g.call(m)).done;)if("object"==typeof(C=l(m,N,b.value,u))&&C&&C instanceof d)return C;return new d(!1)}).stop=function(e){return new d(!0,e)}},function(e,t,n){"use strict";t.__esModule=!0,t.TemporaryNotice=void 0;var o=n(0),r=n(2),i=n(3);t.TemporaryNotice=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data.temp;if(l){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})))}}},function(e,t,n){"use strict";var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(r){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!o.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:o},function(e,t,n){"use strict";var o=n(96),r=n(63),i=o("keys");e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){"use strict";var o=n(40);e.exports=o("navigator","userAgent")||""},function(e,t,n){"use strict";var o=n(105),r=n(36),i=n(14)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=o?r:function(e){var t,n,o;return e===undefined?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=Object(e),i))?n:a?r(t):"Object"==(o=r(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){"use strict";var o=n(14)("iterator"),r=!1;try{var i=0,a={next:function(){return{done:!!i++}},"return":function(){r=!0}};a[o]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i={};i[o]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(c){}return n}},function(e,t,n){"use strict";var o=n(34),r=n(16),i=n(62),a=n(13),c=function(e){return function(t,n,c,l){o(n);var d=r(t),u=i(d),s=a(d.length),m=e?s-1:0,p=e?-1:1;if(c<2)for(;;){if(m in u){l=u[m],m+=p;break}if(m+=p,e?m<0:s<=m)throw TypeError("Reduce of empty array with no initial value")}for(;e?m>=0:s>m;m+=p)m in u&&(l=n(l,u[m],m,d));return l}};e.exports={left:c(!1),right:c(!0)}},function(e,t,n){"use strict";var o=n(7),r=n(10),i=n(108),a=n(32),c=n(71),l=n(5),d=n(59),u=n(33),s=n(13),m=n(150),p=n(238),f=n(39),h=n(54),C=n(51).f,g=n(15).f,b=n(102),N=n(47),v=n(38),V=v.get,y=v.set,k=o.ArrayBuffer,x=k,_=o.DataView,w=_&&_.prototype,L=Object.prototype,B=o.RangeError,S=p.pack,I=p.unpack,E=function(e){return[255&e]},T=function(e){return[255&e,e>>8&255]},A=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},O=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return S(e,23,4)},P=function(e){return S(e,52,8)},F=function(e,t){g(e.prototype,t,{get:function(){return V(this)[t]}})},D=function(e,t,n,o){var r=m(n),i=V(e);if(r+t>i.byteLength)throw B("Wrong index");var a=V(i.buffer).bytes,c=r+i.byteOffset,l=a.slice(c,c+t);return o?l:l.reverse()},R=function(e,t,n,o,r,i){var a=m(n),c=V(e);if(a+t>c.byteLength)throw B("Wrong index");for(var l=V(c.buffer).bytes,d=a+c.byteOffset,u=o(+r),s=0;sU;)(j=W[U++])in x||a(x,j,k[j]);z.constructor=x}h&&f(w)!==L&&h(w,L);var K=new _(new x(2)),H=w.setInt8;K.setInt8(0,2147483648),K.setInt8(1,2147483649),!K.getInt8(0)&&K.getInt8(1)||c(w,{setInt8:function(e,t){H.call(this,e,t<<24>>24)},setUint8:function(e,t){H.call(this,e,t<<24>>24)}},{unsafe:!0})}else x=function(e){d(this,x,"ArrayBuffer");var t=m(e);y(this,{bytes:b.call(new Array(t),0),byteLength:t}),r||(this.byteLength=t)},_=function(e,t,n){d(this,_,"DataView"),d(e,x,"DataView");var o=V(e).byteLength,i=u(t);if(i<0||i>o)throw B("Wrong offset");if(i+(n=n===undefined?o-i:s(n))>o)throw B("Wrong length");y(this,{buffer:e,byteLength:n,byteOffset:i}),r||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},r&&(F(x,"byteLength"),F(_,"buffer"),F(_,"byteLength"),F(_,"byteOffset")),c(_.prototype,{getInt8:function(e){return D(this,1,e)[0]<<24>>24},getUint8:function(e){return D(this,1,e)[0]},getInt16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=D(this,2,e,arguments.length>1?arguments[1]:undefined);return t[1]<<8|t[0]},getInt32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))},getUint32:function(e){return O(D(this,4,e,arguments.length>1?arguments[1]:undefined))>>>0},getFloat32:function(e){return I(D(this,4,e,arguments.length>1?arguments[1]:undefined),23)},getFloat64:function(e){return I(D(this,8,e,arguments.length>1?arguments[1]:undefined),52)},setInt8:function(e,t){R(this,1,e,E,t)},setUint8:function(e,t){R(this,1,e,E,t)},setInt16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setUint16:function(e,t){R(this,2,e,T,t,arguments.length>2?arguments[2]:undefined)},setInt32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setUint32:function(e,t){R(this,4,e,A,t,arguments.length>2?arguments[2]:undefined)},setFloat32:function(e,t){R(this,4,e,M,t,arguments.length>2?arguments[2]:undefined)},setFloat64:function(e,t){R(this,8,e,P,t,arguments.length>2?arguments[2]:undefined)}});N(x,"ArrayBuffer"),N(_,"DataView"),e.exports={ArrayBuffer:x,DataView:_}},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(66),a=n(25),c=n(55),l=n(73),d=n(59),u=n(8),s=n(5),m=n(80),p=n(47),f=n(84);e.exports=function(e,t,n){var h=-1!==e.indexOf("Map"),C=-1!==e.indexOf("Weak"),g=h?"set":"add",b=r[e],N=b&&b.prototype,v=b,V={},y=function(e){var t=N[e];a(N,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return C&&!u(e)?undefined:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(C&&!u(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof b||!(C||N.forEach&&!s((function(){(new b).entries().next()})))))v=n.getConstructor(t,e,h,g),c.REQUIRED=!0;else if(i(e,!0)){var k=new v,x=k[g](C?{}:-0,1)!=k,_=s((function(){k.has(1)})),w=m((function(e){new b(e)})),L=!C&&s((function(){for(var e=new b,t=5;t--;)e[g](t,t);return!e.has(-0)}));w||((v=t((function(t,n){d(t,v,e);var o=f(new b,t,v);return n!=undefined&&l(n,o[g],o,h),o}))).prototype=N,N.constructor=v),(_||L)&&(y("delete"),y("has"),h&&y("get")),(L||x)&&y(g),C&&N.clear&&delete N.clear}return V[e]=v,o({global:!0,forced:v!=b},V),p(v,e),C||n.setStrong(v,e,h),v}},function(e,t,n){"use strict";var o=n(8),r=n(54);e.exports=function(e,t,n){var i,a;return r&&"function"==typeof(i=t.constructor)&&i!==n&&o(a=i.prototype)&&a!==n.prototype&&r(e,a),e}},function(e,t,n){"use strict";var o=Math.expm1,r=Math.exp;e.exports=!o||o(10)>22025.465794806718||o(10)<22025.465794806718||-2e-17!=o(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:o},function(e,t,n){"use strict";e.exports="\t\n\x0B\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},function(e,t,n){"use strict";var o=n(41),r=n(7),i=n(5);e.exports=o||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete r[e]}))},function(e,t,n){"use strict";var o=n(11);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var o,r,i=n(88),a=n(114),c=RegExp.prototype.exec,l=String.prototype.replace,d=c,u=(o=/a/,r=/b*/g,c.call(o,"a"),c.call(r,"a"),0!==o.lastIndex||0!==r.lastIndex),s=a.UNSUPPORTED_Y||a.BROKEN_CARET,m=/()??/.exec("")[1]!==undefined;(u||m||s)&&(d=function(e){var t,n,o,r,a=this,d=s&&a.sticky,p=i.call(a),f=a.source,h=0,C=e;return d&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),C=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(f="(?: "+f+")",C=" "+C,h++),n=new RegExp("^(?:"+f+")",p)),m&&(n=new RegExp("^"+f+"$(?!\\s)",p)),u&&(t=a.lastIndex),o=c.call(d?n:a,C),d?o?(o.input=o.input.slice(h),o[0]=o[0].slice(h),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:u&&o&&(a.lastIndex=a.global?o.index+o[0].length:t),m&&o&&o.length>1&&l.call(o[0],n,(function(){for(r=1;r")})),u="$0"==="a".replace(/./,"$0"),s=i("replace"),m=!!/./[s]&&""===/./[s]("a","$0"),p=!r((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,s){var f=i(e),h=!r((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),C=h&&!r((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!C||"replace"===e&&(!d||!u||m)||"split"===e&&!p){var g=/./[f],b=n(f,""[e],(function(e,t,n,o,r){return t.exec===a?h&&!r?{done:!0,value:g.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:m}),N=b[0],v=b[1];o(String.prototype,e,N),o(RegExp.prototype,f,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}s&&c(RegExp.prototype[f],"sham",!0)}},function(e,t,n){"use strict";var o=n(36),r=n(89);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==o(e))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},function(e,t,n){"use strict";function o(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=48&&o<=90?String.fromCharCode(o):o>=112&&o<=123?"F"+(o-111):"["+o+"]"},u=function(e){var t=window.event?e.which:e.keyCode,n=e.ctrlKey,o=e.altKey,r=e.shiftKey;return{keyCode:t,ctrlKey:n,altKey:o,shiftKey:r,hasModifierKeys:n||o||r,keyString:d(n,o,r,t)}},s=function(){for(var e=0,t=Object.keys(l);e=112&&c<=123){i.log(d);for(var s,p=o(m);!(s=p()).done;)(0,s.value)(n,r)}}}(t,n,e)},document.addEventListener("keydown",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keydown"),l[n]=!0})),document.addEventListener("keyup",(function(e){var n=window.event?e.which:e.keyCode;t(e,"keyup"),l[n]=!1})),Byond.IS_LTE_IE8||function(e){var t;document.addEventListener("focusout",(function(){t=setTimeout(e)})),document.addEventListener("focusin",(function(){clearTimeout(t)})),window.addEventListener("beforeunload",e)}((function(){s()})),function(e){return function(t){return e(t)}}}},function(e,t,n){"use strict";var o=n(7),r=n(8),i=o.document,a=r(i)&&r(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){"use strict";var o=n(7),r=n(32);e.exports=function(e,t){try{r(o,e,t)}catch(n){o[e]=t}return t}},function(e,t,n){"use strict";var o=n(133),r=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return r.call(e)}),e.exports=o.inspectSource},function(e,t,n){"use strict";var o=n(41),r=n(133);(e.exports=function(e,t){return r[e]||(r[e]=t!==undefined?t:{})})("versions",[]).push({version:"3.6.5",mode:o?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var o=n(40),r=n(51),i=n(99),a=n(11);e.exports=o("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var o=n(5);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},function(e,t,n){"use strict";var o,r,i=n(7),a=n(78),c=i.process,l=c&&c.versions,d=l&&l.v8;d?r=(o=d.split("."))[0]+o[1]:a&&(!(o=a.match(/Edge\/(\d+)/))||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/))&&(r=o[1]),e.exports=r&&+r},function(e,t,n){"use strict";var o=n(16),r=n(45),i=n(13);e.exports=function(e){for(var t=o(this),n=i(t.length),a=arguments.length,c=r(a>1?arguments[1]:undefined,n),l=a>2?arguments[2]:undefined,d=l===undefined?n:r(l,n);d>c;)t[c++]=e;return t}},function(e,t,n){"use strict";var o=n(14),r=n(70),i=o("iterator"),a=Array.prototype;e.exports=function(e){return e!==undefined&&(r.Array===e||a[i]===e)}},function(e,t,n){"use strict";var o=n(79),r=n(70),i=n(14)("iterator");e.exports=function(e){if(e!=undefined)return e[i]||e["@@iterator"]||r[o(e)]}},function(e,t,n){"use strict";var o={};o[n(14)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,t,n){"use strict";var o=n(1),r=n(223),i=n(39),a=n(54),c=n(47),l=n(32),d=n(25),u=n(14),s=n(41),m=n(70),p=n(147),f=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,C=u("iterator"),g=function(){return this};e.exports=function(e,t,n,u,p,b,N){r(n,t,u);var v,V,y,k=function(e){if(e===p&&B)return B;if(!h&&e in w)return w[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},x=t+" Iterator",_=!1,w=e.prototype,L=w[C]||w["@@iterator"]||p&&w[p],B=!h&&L||k(p),S="Array"==t&&w.entries||L;if(S&&(v=i(S.call(new e)),f!==Object.prototype&&v.next&&(s||i(v)===f||(a?a(v,f):"function"!=typeof v[C]&&l(v,C,g)),c(v,x,!0,!0),s&&(m[x]=g))),"values"==p&&L&&"values"!==L.name&&(_=!0,B=function(){return L.call(this)}),s&&!N||w[C]===B||l(w,C,B),m[t]=B,p)if(V={values:k("values"),keys:b?B:k("keys"),entries:k("entries")},N)for(y in V)(h||_||!(y in w))&&d(w,y,V[y]);else o({target:t,proto:!0,forced:h||_},V);return V}},function(e,t,n){"use strict";var o=n(5);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){"use strict";var o=n(13),r=n(110),i=n(24),a=Math.ceil,c=function(e){return function(t,n,c){var l,d,u=String(i(t)),s=u.length,m=c===undefined?" ":String(c),p=o(n);return p<=s||""==m?u:(l=p-s,(d=r.call(m,a(l/m.length))).length>l&&(d=d.slice(0,l)),e?u+d:d+u)}};e.exports={start:c(!1),end:c(!0)}},function(e,t,n){"use strict";var o=n(33),r=n(24);e.exports="".repeat||function(e){var t=String(r(this)),n="",i=o(e);if(i<0||i==Infinity)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){"use strict";var o,r,i,a=n(7),c=n(5),l=n(36),d=n(52),u=n(140),s=n(93),m=n(159),p=a.location,f=a.setImmediate,h=a.clearImmediate,C=a.process,g=a.MessageChannel,b=a.Dispatch,N=0,v={},V=function(e){if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){return function(){V(e)}},k=function(e){V(e.data)},x=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};f&&h||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++N]=function(){("function"==typeof e?e:Function(e)).apply(undefined,t)},o(N),N},h=function(e){delete v[e]},"process"==l(C)?o=function(e){C.nextTick(y(e))}:b&&b.now?o=function(e){b.now(y(e))}:g&&!m?(i=(r=new g).port2,r.port1.onmessage=k,o=d(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(x)||"file:"===p.protocol?o="onreadystatechange"in s("script")?function(e){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),V(e)}}:function(e){setTimeout(y(e),0)}:(o=x,a.addEventListener("message",k,!1))),e.exports={set:f,clear:h}},function(e,t,n){"use strict";var o=n(8),r=n(36),i=n(14)("match");e.exports=function(e){var t;return o(e)&&((t=e[i])!==undefined?!!t:"RegExp"==r(e))}},function(e,t,n){"use strict";var o=n(5);function r(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=o((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=o((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},function(e,t,n){"use strict";var o=n(33),r=n(24),i=function(e){return function(t,n){var i,a,c=String(r(t)),l=o(n),d=c.length;return l<0||l>=d?e?"":undefined:(i=c.charCodeAt(l))<55296||i>56319||l+1===d||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var o=n(113);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){"use strict";var o=n(14)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(r){}}return!1}},function(e,t,n){"use strict";var o=n(115).charAt;e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){"use strict";var o=n(5),r=n(86);e.exports=function(e){return o((function(){return!!r[e]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[e]()||r[e].name!==e}))}},function(e,t,n){"use strict";var o=n(7),r=n(5),i=n(80),a=n(12).NATIVE_ARRAY_BUFFER_VIEWS,c=o.ArrayBuffer,l=o.Int8Array;e.exports=!a||!r((function(){l(1)}))||!r((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||r((function(){return 1!==new l(new c(2),1,undefined).length}))},function(e,t,n){"use strict";t.__esModule=!0,t.debugReducer=t.useDebug=t.selectDebug=t.toggleDebugLayout=t.toggleKitchenSink=void 0;var o=n(92),r=function(){return{type:"debug/toggleKitchenSink"}}; /** * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.toggleKitchenSink=r;var i=function(){return{type:"debug/toggleDebugLayout"}};t.toggleDebugLayout=i,(0,o.subscribeToHotKey)("F11",(function(){return{type:"debug/toggleDebugLayout"}})),(0,o.subscribeToHotKey)("F12",(function(){return{type:"debug/toggleKitchenSink"}})),(0,o.subscribeToHotKey)("Ctrl+Alt+[8]",(function(){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!")}))}));var a=function(e){return e.debug};t.selectDebug=a;t.useDebug=function(e){return a(e.store.getState())};t.debugReducer=function(e,t){void 0===e&&(e={});var n=t.type;t.payload;return"debug/toggleKitchenSink"===n?Object.assign({},e,{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===n?Object.assign({},e,{debugLayout:!e.debugLayout}):e}},function(e,t,n){"use strict";t.__esModule=!0,t.assetMiddleware=t.resolveAsset=t.loadCSS=void 0;var o=n(427),r=(0,n(26).createLogger)("assets"),i=[/v4shim/i],a=[],c={},l=function(e){a.includes(e)||(a.push(e),r.log("loading stylesheet '"+e+"'"),(0,o.loadCSS)(e))};t.loadCSS=l;t.resolveAsset=function(e){return c[e]||e};t.assetMiddleware=function(e){return function(e){return function(t){var n=t.type,o=t.payload;if("asset/stylesheet"!==n)if("asset/mappings"!==n)e(t);else for(var r=function(){var e=d[a];if(i.some((function(t){return t.test(e)})))return"continue";var t=o[e],n=e.split(".").pop();c[e]=t,"css"===n&&l(t)},a=0,d=Object.keys(o);a=0||(r[n]=e[n]);return r}(e,["className","scrollable","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({id:"Layout__content"},(0,i.computeBoxProps)(c))))}},function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(6),r=n(0);var i=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},a=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},i(t.initial)?n.state.value=t.initial:i(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(i(o)){var r=.5*n+.5*o;this.setState({value:r})}},a.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},a.componentWillUnmount=function(){clearTimeout(this.timer)},a.render=function(){var e=this.props,t=this.state,n=e.format,r=e.children,a=t.value,c=e.value;if(!i(c))return c||null;var l=a;if(n)l=n(a);else{var d=String(c).split(".")[1],u=d?d.length:0;l=(0,o.toFixed)(a,(0,o.clamp)(u,0,8))}return"function"==typeof r?r(l,a):l},r}(r.Component);t.AnimatedNumber=a},function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(0),r=n(9),i=n(91),a=n(4),c=n(26),l=n(17),d=n(126),u=n(171);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function m(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var p=(0,c.createLogger)("Button"),f=function(e){var t=e.className,n=e.fluid,c=e.icon,s=e.color,f=e.disabled,h=e.selected,C=e.tooltip,g=e.tooltipPosition,b=e.ellipsis,N=e.content,v=e.iconRotation,V=e.iconSpin,y=e.children,_=e.onclick,x=e.onClick,k=m(e,["className","fluid","icon","color","disabled","selected","tooltip","tooltipPosition","ellipsis","content","iconRotation","iconSpin","children","onclick","onClick"]),w=!(!N&&!y);return _&&p.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"),(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid",f&&"Button--disabled",h&&"Button--selected",w&&"Button--hasContent",b&&"Button--ellipsis",s&&"string"==typeof s?"Button--color--"+s:"Button--color--default",t]),tabIndex:!f&&"0",unselectable:Byond.IS_LTE_IE8,onclick:function(e){(0,a.refocusLayout)(),!f&&x&&x(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;return t===i.KEY_SPACE||t===i.KEY_ENTER?(e.preventDefault(),void(!f&&x&&x(e))):t===i.KEY_ESCAPE?(e.preventDefault(),void(0,a.refocusLayout)()):void 0}},k,{children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:v,spin:V}),N,y,C&&(0,o.createComponentVNode)(2,u.Tooltip,{content:C,position:g})]})))};t.Button=f,f.defaultHooks=r.pureComponentHooks;var h=function(e){var t=e.checked,n=m(e,["checked"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=h,f.Checkbox=h;var C=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}s(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,l=t.icon,d=t.color,u=t.content,s=t.onClick,p=m(t,["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({content:this.state.clickedOnce?r:u,icon:this.state.clickedOnce?c:l,color:this.state.clickedOnce?a:d,onClick:function(){return e.state.clickedOnce?s():e.setClickedOnce(!0)}},p)))},t}(o.Component);t.ButtonConfirm=C,f.Confirm=C;var g=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}s(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,c=t.icon,s=t.iconRotation,p=t.iconSpin,f=t.tooltip,h=t.tooltipPosition,C=t.color,g=void 0===C?"default":C,b=(t.placeholder,t.maxLength,m(t,["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"]));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid","Button--color--"+g])},b,{onClick:function(){return e.setInInput(!0)},children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:s,spin:p}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===i.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===i.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef),f&&(0,o.createComponentVNode)(2,u.Tooltip,{content:f,position:h})]})))},t}(o.Component);t.ButtonInput=g,f.Input=g},function(e,t,n){"use strict";t.__esModule=!0,t.Icon=void 0;var o=n(0),r=n(9),i=n(17);var a=/-o$/,c=function(e){var t=e.name,n=e.size,c=e.spin,l=e.className,d=e.style,u=void 0===d?{}:d,s=e.rotation,m=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["name","size","spin","className","style","rotation"]);n&&(u["font-size"]=100*n+"%"),"number"==typeof s&&(u.transform="rotate("+s+"deg)");var p=a.test(t),f=t.replace(a,"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)([l,p?"far":"fas","fa-"+f,c&&"fa-spin"]),style:u},m)))};t.Icon=c,c.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(0),r=n(6),i=n(9),a=n(124);var c=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:c(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,l=t.stepPixelSize,d=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),u=c(e,d)-n.origin;if(t.dragging){var s=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/l,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+s,o,i),n.origin=c(e,d)}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,l=t.suppressingFlicker,d=this.props,u=d.animated,s=d.value,m=d.unit,p=d.minValue,f=d.maxValue,h=d.format,C=d.onChange,g=d.onDrag,b=d.children,N=d.forcedInputWidth,v=d.height,V=d.lineHeight,y=d.fontSize,_=s;(n||l)&&(_=c);var x=function(e){return e+(m?" "+m:"")},k=u&&!n&&!l&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:_,format:h,children:x})||x(h?h(_):_),w=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:v,width:N,"line-height":V,"font-size":y},onBlur:function(t){if(i){var n=(0,r.clamp)(t.target.value,p,f);e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),g&&g(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,p,f);return e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),void(g&&g(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return b({dragging:n,editing:i,value:s,displayValue:_,displayElement:k,inputElement:w,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.collapsing,c=e.children,l=a(e,["className","collapsing","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Table=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.header,c=a(e,["className","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableRow=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.collapsing,c=e.header,l=a(e,["className","collapsing","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",c&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(l))))};t.TableCell=d,d.defaultHooks=r.pureComponentHooks,c.Row=l,c.Cell=d},function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(0),r=n(6),i=n(9),a=n(124),c=n(17);var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),l=n.origin-e.screenY;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+l*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=e.screenY}else Math.abs(l)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,l=t.editing,d=t.value,u=t.suppressingFlicker,s=this.props,m=s.className,p=s.fluid,f=s.animated,h=s.value,C=s.unit,g=s.minValue,b=s.maxValue,N=s.height,v=s.width,V=s.lineHeight,y=s.fontSize,_=s.format,x=s.onChange,k=s.onDrag,w=h;(n||u)&&(w=d);var L=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(C?" "+C:""),0,{unselectable:Byond.IS_LTE_IE8})},B=f&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:w,format:_,children:L})||L(_?_(w):w);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",p&&"NumberInput--fluid",m]),minWidth:v,minHeight:N,lineHeight:V,fontSize:y,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((w-g)/(b-g)*100,0,100)+"%"}}),2),B,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?undefined:"none",height:N,"line-height":V,"font-size":y},onBlur:function(t){if(l){var n=(0,r.clamp)(t.target.value,g,b);e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),k&&k(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,g,b);return e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),void(k&&k(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(93);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var o=n(7),r=n(94),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var o=n(7),r=n(95),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},function(e,t,n){"use strict";var o=n(19),r=n(97),i=n(21),a=n(15);e.exports=function(e,t){for(var n=r(t),c=a.f,l=i.f,d=0;dl;)o(c,n=t[l++])&&(~i(d,n)||d.push(n));return d}},function(e,t,n){"use strict";var o=n(100);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(11),a=n(67);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,l=0;c>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){"use strict";var o=n(40);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(27),r=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},function(e,t,n){"use strict";var o=n(14);t.f=o},function(e,t,n){"use strict";var o=n(16),r=n(44),i=n(13),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),l=r(e,c),d=r(t,c),u=arguments.length>2?arguments[2]:undefined,s=a((u===undefined?c:r(u,c))-d,c-l),m=1;for(d0;)d in n?n[l]=n[d]:delete n[l],l+=m,d+=m;return n}},function(e,t,n){"use strict";var o=n(57),r=n(13),i=n(52);e.exports=function a(e,t,n,c,l,d,u,s){for(var m,p=l,f=0,h=!!u&&i(u,s,3);f0&&o(m))p=a(e,t,m,r(m.length),p,d-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=m}p++}f++}return p}},function(e,t,n){"use strict";var o=n(11);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw i!==undefined&&o(i.call(e)),a}}},function(e,t,n){"use strict";var o=n(27),r=n(47),i=n(70),a=n(38),c=n(106),l=a.set,d=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:o(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var o,r,i,a=n(39),c=n(32),l=n(19),d=n(14),u=n(41),s=d("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=a(a(i)))!==Object.prototype&&(o=r):m=!0),o==undefined&&(o={}),u||l(o,s)||c(o,s,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var o=n(27),r=n(33),i=n(13),a=n(42),c=n(25),l=Math.min,d=[].lastIndexOf,u=!!d&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),m=c("indexOf",{ACCESSORS:!0,1:0}),p=u||!s||!m;e.exports=p?function(e){if(u)return d.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:d},function(e,t,n){"use strict";var o=n(33),r=n(13);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var o=n(34),r=n(8),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return C(this,0===e?0:e,t)}}:{add:function(e){return C(this,e=0===e?0:e,e)}}),s&&o(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){f(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var o=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:o(1+e)}},function(e,t,n){"use strict";var o=n(8),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(85),a=o.parseInt,c=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=r(String(e));return a(n,t>>>0||(c.test(n)?16:10))}:a},function(e,t,n){"use strict";var o=n(10),r=n(67),i=n(27),a=n(75).f,c=function(e){return function(t){for(var n,c=i(t),l=r(c),d=l.length,u=0,s=[];d>u;)n=l[u++],o&&!a.call(c,n)||s.push(e?[n,c[n]]:c[n]);return s}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var o=n(7);e.exports=o.Promise},function(e,t,n){"use strict";var o=n(77);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},function(e,t,n){"use strict";var o,r,i,a,c,l,d,u,s=n(7),m=n(21).f,p=n(36),f=n(112).set,h=n(157),C=s.MutationObserver||s.WebKitMutationObserver,g=s.process,b=s.Promise,N="process"==p(g),v=m(s,"queueMicrotask"),V=v&&v.value;V||(o=function(){var e,t;for(N&&(e=g.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},N?a=function(){g.nextTick(o)}:C&&!h?(c=!0,l=document.createTextNode(""),new C(o).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(d=b.resolve(undefined),u=d.then,a=function(){u.call(d,o)}):a=function(){f.call(s,o)}),e.exports=V||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},function(e,t,n){"use strict";var o=n(11),r=n(8),i=n(160);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var o=n(34),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var o=n(1),r=n(88);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){"use strict";var o=n(77);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o)},function(e,t,n){"use strict";var o=n(367);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){"use strict";var o=n(16),r=n(13),i=n(104),a=n(103),c=n(52),l=n(12).aTypedArrayConstructor;e.exports=function(e){var t,n,d,u,s,m,p=o(e),f=arguments.length,h=f>1?arguments[1]:undefined,C=h!==undefined,g=i(p);if(g!=undefined&&!a(g))for(m=(s=g.call(p)).next,p=[];!(u=m.call(s)).done;)p.push(u.value);for(C&&f>2&&(h=c(h,arguments[2],2)),n=r(p.length),d=new(l(this))(n),t=0;n>t;t++)d[t]=C?h(p[t],t):p[t];return d}},function(e,t,n){"use strict";var o=n(71),r=n(55).getWeakData,i=n(11),a=n(8),c=n(59),l=n(73),d=n(20),u=n(19),s=n(38),m=s.set,p=s.getterFor,f=d.find,h=d.findIndex,C=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},N=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=N(this,e);if(t)return t[1]},has:function(e){return!!N(this,e)},set:function(e,t){var n=N(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,d){var s=e((function(e,o){c(e,s,t),m(e,{type:t,id:C++,frozen:undefined}),o!=undefined&&l(o,e[d],e,n)})),f=p(t),h=function(e,t,n){var o=f(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(s.prototype,{"delete":function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),o(s.prototype,n?{get:function(e){var t=f(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),s}}},function(e,t,n){"use strict";t.__esModule=!0,t.perf=void 0;var o={mark:function(e,t){0},measure:function(e,t){0}};t.perf=o},function(e,t,n){"use strict";t.__esModule=!0,t.setupHotReloading=t.sendLogEntry=void 0;t.sendLogEntry=function(e,t){};t.setupHotReloading=function(){0}},function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(425),r=n(169);function i(e,t,n,o,r,i,a){try{var c=e[i](a),l=c.value}catch(d){return void n(d)}c.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,l,"next",e)}function l(e){i(a,o,r,c,l,"throw",e)}c(undefined)}))}}var c,l,d,u,s,m=(0,n(26).createLogger)("drag"),p=window.__windowId__,f=!1,h=!1,C=[0,0];t.setWindowKey=function(e){p=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var N=function(e){var t=(0,r.vecAdd)(e,C);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=N;var v=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=v;var V=function(){return[0-C[0],0-C[1]]};t.getScreenPosition=V;var y=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=y;var _=function(e){m.log("storing geometry");var t={pos:g(),size:b()};o.storage.set(e,t);var n=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;il&&(r[a]=l-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){m.log("drag start"),f=!0,l=[window.screenLeft-e.screenX,window.screenTop-e.screenY],document.addEventListener("mousemove",B),document.addEventListener("mouseup",L),B(e)};var L=function E(e){m.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",E),f=!1,_(p)},B=function(e){f&&(e.preventDefault(),N((0,r.vecAdd)([e.screenX,e.screenY],l)))};t.resizeStartHandler=function(e,t){return function(n){d=[e,t],m.log("resize start",d),h=!0,l=[window.screenLeft-n.screenX,window.screenTop-n.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",I),document.addEventListener("mouseup",S),I(n)}};var S=function T(e){m.log("resize end",s),I(e),document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",T),h=!1,_(p)},I=function(e){h&&(e.preventDefault(),(s=(0,r.vecAdd)(u,(0,r.vecMultiply)(d,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),l,[1,1]))))[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),v(s))}},function(e,t,n){"use strict";t.__esModule=!0,t.vecNormalize=t.vecLength=t.vecInverse=t.vecScale=t.vecDivide=t.vecMultiply=t.vecSubtract=t.vecAdd=void 0;var o=n(22),r=function(e,t){return e+t},i=function(e,t){return e-t},a=function(e,t){return e*t},c=function(e,t){return e/t}; + */t.toggleKitchenSink=r;var i=function(){return{type:"debug/toggleDebugLayout"}};t.toggleDebugLayout=i,(0,o.subscribeToHotKey)("F11",(function(){return{type:"debug/toggleDebugLayout"}})),(0,o.subscribeToHotKey)("F12",(function(){return{type:"debug/toggleKitchenSink"}})),(0,o.subscribeToHotKey)("Ctrl+Alt+[8]",(function(){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!")}))}));var a=function(e){return e.debug};t.selectDebug=a;t.useDebug=function(e){return a(e.store.getState())};t.debugReducer=function(e,t){void 0===e&&(e={});var n=t.type;t.payload;return"debug/toggleKitchenSink"===n?Object.assign({},e,{kitchenSink:!e.kitchenSink}):"debug/toggleDebugLayout"===n?Object.assign({},e,{debugLayout:!e.debugLayout}):e}},function(e,t,n){"use strict";t.__esModule=!0,t.assetMiddleware=t.resolveAsset=t.loadCSS=void 0;var o=n(427),r=(0,n(27).createLogger)("assets"),i=[/v4shim/i],a=[],c={},l=function(e){a.includes(e)||(a.push(e),r.log("loading stylesheet '"+e+"'"),(0,o.loadCSS)(e))};t.loadCSS=l;t.resolveAsset=function(e){return c[e]||e};t.assetMiddleware=function(e){return function(e){return function(t){var n=t.type,o=t.payload;if("asset/stylesheet"!==n)if("asset/mappings"!==n)e(t);else for(var r=function(){var e=d[a];if(i.some((function(t){return t.test(e)})))return"continue";var t=o[e],n=e.split(".").pop();c[e]=t,"css"===n&&l(t)},a=0,d=Object.keys(o);a=0||(r[n]=e[n]);return r}(e,["className","scrollable","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Layout__content",n&&"Layout__content--scrollable",t].concat((0,i.computeBoxClassName)(c))),a,0,Object.assign({id:"Layout__content"},(0,i.computeBoxProps)(c))))}},function(e,t,n){"use strict";t.__esModule=!0,t.AnimatedNumber=void 0;var o=n(6),r=n(0);var i=function(e){return"number"==typeof e&&Number.isFinite(e)&&!Number.isNaN(e)},a=function(e){var t,n;function r(t){var n;return(n=e.call(this,t)||this).timer=null,n.state={value:0},i(t.initial)?n.state.value=t.initial:i(t.value)&&(n.state.value=Number(t.value)),n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var a=r.prototype;return a.tick=function(){var e=this.props,t=this.state,n=Number(t.value),o=Number(e.value);if(i(o)){var r=.5*n+.5*o;this.setState({value:r})}},a.componentDidMount=function(){var e=this;this.timer=setInterval((function(){return e.tick()}),50)},a.componentWillUnmount=function(){clearTimeout(this.timer)},a.render=function(){var e=this.props,t=this.state,n=e.format,r=e.children,a=t.value,c=e.value;if(!i(c))return c||null;var l=a;if(n)l=n(a);else{var d=String(c).split(".")[1],u=d?d.length:0;l=(0,o.toFixed)(a,(0,o.clamp)(u,0,8))}return"function"==typeof r?r(l,a):l},r}(r.Component);t.AnimatedNumber=a},function(e,t,n){"use strict";t.__esModule=!0,t.ButtonInput=t.ButtonConfirm=t.ButtonCheckbox=t.Button=void 0;var o=n(0),r=n(9),i=n(92),a=n(4),c=n(27),l=n(17),d=n(126),u=n(173);function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function m(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var p=(0,c.createLogger)("Button"),f=function(e){var t=e.className,n=e.fluid,c=e.icon,s=e.color,f=e.disabled,h=e.selected,C=e.tooltip,g=e.tooltipPosition,b=e.ellipsis,N=e.content,v=e.iconRotation,V=e.iconSpin,y=e.children,k=e.onclick,x=e.onClick,_=m(e,["className","fluid","icon","color","disabled","selected","tooltip","tooltipPosition","ellipsis","content","iconRotation","iconSpin","children","onclick","onClick"]),w=!(!N&&!y);return k&&p.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"),(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid",f&&"Button--disabled",h&&"Button--selected",w&&"Button--hasContent",b&&"Button--ellipsis",s&&"string"==typeof s?"Button--color--"+s:"Button--color--default",t]),tabIndex:!f&&"0",unselectable:Byond.IS_LTE_IE8,onclick:function(e){(0,a.refocusLayout)(),!f&&x&&x(e)},onKeyDown:function(e){var t=window.event?e.which:e.keyCode;return t===i.KEY_SPACE||t===i.KEY_ENTER?(e.preventDefault(),void(!f&&x&&x(e))):t===i.KEY_ESCAPE?(e.preventDefault(),void(0,a.refocusLayout)()):void 0}},_,{children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:v,spin:V}),N,y,C&&(0,o.createComponentVNode)(2,u.Tooltip,{content:C,position:g})]})))};t.Button=f,f.defaultHooks=r.pureComponentHooks;var h=function(e){var t=e.checked,n=m(e,["checked"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({color:"transparent",icon:t?"check-square-o":"square-o",selected:t},n)))};t.ButtonCheckbox=h,f.Checkbox=h;var C=function(e){function t(){var t;return(t=e.call(this)||this).state={clickedOnce:!1},t.handleClick=function(){t.state.clickedOnce&&t.setClickedOnce(!1)},t}s(t,e);var n=t.prototype;return n.setClickedOnce=function(e){var t=this;this.setState({clickedOnce:e}),e?setTimeout((function(){return window.addEventListener("click",t.handleClick)})):window.removeEventListener("click",this.handleClick)},n.render=function(){var e=this,t=this.props,n=t.confirmContent,r=void 0===n?"Confirm?":n,i=t.confirmColor,a=void 0===i?"bad":i,c=t.confirmIcon,l=t.icon,d=t.color,u=t.content,s=t.onClick,p=m(t,["confirmContent","confirmColor","confirmIcon","icon","color","content","onClick"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,f,Object.assign({content:this.state.clickedOnce?r:u,icon:this.state.clickedOnce?c:l,color:this.state.clickedOnce?a:d,onClick:function(){return e.state.clickedOnce?s():e.setClickedOnce(!0)}},p)))},t}(o.Component);t.ButtonConfirm=C,f.Confirm=C;var g=function(e){function t(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={inInput:!1},t}s(t,e);var n=t.prototype;return n.setInInput=function(e){if(this.setState({inInput:e}),this.inputRef){var t=this.inputRef.current;if(e){t.value=this.props.currentValue||"";try{t.focus(),t.select()}catch(n){}}}},n.commitResult=function(e){if(this.inputRef){var t=this.inputRef.current;if(""!==t.value)return void this.props.onCommit(e,t.value);if(!this.props.defaultValue)return;this.props.onCommit(e,this.props.defaultValue)}},n.render=function(){var e=this,t=this.props,n=t.fluid,a=t.content,c=t.icon,s=t.iconRotation,p=t.iconSpin,f=t.tooltip,h=t.tooltipPosition,C=t.color,g=void 0===C?"default":C,b=(t.placeholder,t.maxLength,m(t,["fluid","content","icon","iconRotation","iconSpin","tooltip","tooltipPosition","color","placeholder","maxLength"]));return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Box,Object.assign({className:(0,r.classes)(["Button",n&&"Button--fluid","Button--color--"+g])},b,{onClick:function(){return e.setInInput(!0)},children:[c&&(0,o.createComponentVNode)(2,d.Icon,{name:c,rotation:s,spin:p}),(0,o.createVNode)(1,"div",null,a,0),(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:this.state.inInput?undefined:"none","text-align":"left"},onBlur:function(t){e.state.inInput&&(e.setInInput(!1),e.commitResult(t))},onKeyDown:function(t){if(t.keyCode===i.KEY_ENTER)return e.setInInput(!1),void e.commitResult(t);t.keyCode===i.KEY_ESCAPE&&e.setInInput(!1)}},null,this.inputRef),f&&(0,o.createComponentVNode)(2,u.Tooltip,{content:f,position:h})]})))},t}(o.Component);t.ButtonInput=g,f.Input=g},function(e,t,n){"use strict";t.__esModule=!0,t.Icon=void 0;var o=n(0),r=n(9),i=n(17);var a=/-o$/,c=function(e){var t=e.name,n=e.size,c=e.spin,l=e.className,d=e.style,u=void 0===d?{}:d,s=e.rotation,m=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["name","size","spin","className","style","rotation"]);n&&(u["font-size"]=100*n+"%"),"number"==typeof s&&(u.transform="rotate("+s+"deg)");var p=a.test(t),f=t.replace(a,"");return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({as:"i",className:(0,r.classes)([l,p?"far":"fas","fa-"+f,c&&"fa-spin"]),style:u},m)))};t.Icon=c,c.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.DraggableControl=void 0;var o=n(0),r=n(6),i=n(9),a=n(124);var c=function(e,t){return e.screenX*t[0]+e.screenY*t[1]},l=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).inputRef=(0,o.createRef)(),n.state={value:t.value,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props,o=t.value,r=t.dragMatrix;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:c(e,r),value:o,internalValue:o}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,l=t.stepPixelSize,d=t.dragMatrix;n.setState((function(t){var n=Object.assign({},t),u=c(e,d)-n.origin;if(t.dragging){var s=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+u*a/l,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+s,o,i),n.origin=c(e,d)}else Math.abs(u)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.prototype.render=function(){var e=this,t=this.state,n=t.dragging,i=t.editing,c=t.value,l=t.suppressingFlicker,d=this.props,u=d.animated,s=d.value,m=d.unit,p=d.minValue,f=d.maxValue,h=d.format,C=d.onChange,g=d.onDrag,b=d.children,N=d.forcedInputWidth,v=d.height,V=d.lineHeight,y=d.fontSize,k=s;(n||l)&&(k=c);var x=function(e){return e+(m?" "+m:"")},_=u&&!n&&!l&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:k,format:h,children:x})||x(h?h(k):k),w=(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:i?undefined:"none",height:v,width:N,"line-height":V,"font-size":y},onBlur:function(t){if(i){var n=(0,r.clamp)(t.target.value,p,f);e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),g&&g(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,p,f);return e.setState({editing:!1,value:n}),e.suppressFlicker(),C&&C(t,n),void(g&&g(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef);return b({dragging:n,editing:i,value:s,displayValue:k,displayElement:_,inputElement:w,handleDragStart:this.handleDragStart})},i}(o.Component);t.DraggableControl=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50,dragMatrix:[1,0]}},function(e,t,n){"use strict";t.__esModule=!0,t.TableCell=t.TableRow=t.Table=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.collapsing,c=e.children,l=a(e,["className","collapsing","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"table",(0,r.classes)(["Table",n&&"Table--collapsing",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"tbody",null,c,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Table=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.header,c=a(e,["className","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"tr",(0,r.classes)(["Table__row",n&&"Table__row--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(c))))};t.TableRow=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.collapsing,c=e.header,l=a(e,["className","collapsing","header"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"td",(0,r.classes)(["Table__cell",n&&"Table__cell--collapsing",c&&"Table__cell--header",t,(0,i.computeBoxClassName)(e)]),null,1,Object.assign({},(0,i.computeBoxProps)(l))))};t.TableCell=d,d.defaultHooks=r.pureComponentHooks,c.Row=l,c.Cell=d},function(e,t,n){"use strict";t.__esModule=!0,t.NumberInput=void 0;var o=n(0),r=n(6),i=n(9),a=n(124),c=n(17);var l=function(e){var t,n;function l(t){var n;n=e.call(this,t)||this;var i=t.value;return n.inputRef=(0,o.createRef)(),n.state={value:i,dragging:!1,editing:!1,internalValue:null,origin:null,suppressingFlicker:!1},n.flickerTimer=null,n.suppressFlicker=function(){var e=n.props.suppressFlicker;e>0&&(n.setState({suppressingFlicker:!0}),clearTimeout(n.flickerTimer),n.flickerTimer=setTimeout((function(){return n.setState({suppressingFlicker:!1})}),e))},n.handleDragStart=function(e){var t=n.props.value;n.state.editing||(document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,origin:e.screenY,value:t,internalValue:t}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),n.dragInterval=setInterval((function(){var t=n.state,o=t.dragging,r=t.value,i=n.props.onDrag;o&&i&&i(e,r)}),500),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd))},n.handleDragMove=function(e){var t=n.props,o=t.minValue,i=t.maxValue,a=t.step,c=t.stepPixelSize;n.setState((function(t){var n=Object.assign({},t),l=n.origin-e.screenY;if(t.dragging){var d=Number.isFinite(o)?o%a:0;n.internalValue=(0,r.clamp)(n.internalValue+l*a/c,o-a,i+a),n.value=(0,r.clamp)(n.internalValue-n.internalValue%a+d,o,i),n.origin=e.screenY}else Math.abs(l)>4&&(n.dragging=!0);return n}))},n.handleDragEnd=function(e){var t=n.props,o=t.onChange,r=t.onDrag,i=n.state,a=i.dragging,c=i.value,l=i.internalValue;if(document.body.style["pointer-events"]="auto",clearTimeout(n.timer),clearInterval(n.dragInterval),n.setState({dragging:!1,editing:!a,origin:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd),a)n.suppressFlicker(),o&&o(e,c),r&&r(e,c);else if(n.inputRef){var d=n.inputRef.current;d.value=l;try{d.focus(),d.select()}catch(u){}}},n}return n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,l.prototype.render=function(){var e=this,t=this.state,n=t.dragging,l=t.editing,d=t.value,u=t.suppressingFlicker,s=this.props,m=s.className,p=s.fluid,f=s.animated,h=s.value,C=s.unit,g=s.minValue,b=s.maxValue,N=s.height,v=s.width,V=s.lineHeight,y=s.fontSize,k=s.format,x=s.onChange,_=s.onDrag,w=h;(n||u)&&(w=d);var L=function(e){return(0,o.createVNode)(1,"div","NumberInput__content",e+(C?" "+C:""),0,{unselectable:Byond.IS_LTE_IE8})},B=f&&!n&&!u&&(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:w,format:k,children:L})||L(k?k(w):w);return(0,o.createComponentVNode)(2,c.Box,{className:(0,i.classes)(["NumberInput",p&&"NumberInput--fluid",m]),minWidth:v,minHeight:N,lineHeight:V,fontSize:y,onMouseDown:this.handleDragStart,children:[(0,o.createVNode)(1,"div","NumberInput__barContainer",(0,o.createVNode)(1,"div","NumberInput__bar",null,1,{style:{height:(0,r.clamp)((w-g)/(b-g)*100,0,100)+"%"}}),2),B,(0,o.createVNode)(64,"input","NumberInput__input",null,1,{style:{display:l?undefined:"none",height:N,"line-height":V,"font-size":y},onBlur:function(t){if(l){var n=(0,r.clamp)(t.target.value,g,b);e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),_&&_(t,n)}},onKeyDown:function(t){if(13===t.keyCode){var n=(0,r.clamp)(t.target.value,g,b);return e.setState({editing:!1,value:n}),e.suppressFlicker(),x&&x(t,n),void(_&&_(t,n))}27!==t.keyCode||e.setState({editing:!1})}},null,this.inputRef)]})},l}(o.Component);t.NumberInput=l,l.defaultHooks=i.pureComponentHooks,l.defaultProps={minValue:-Infinity,maxValue:+Infinity,step:1,stepPixelSize:1,suppressFlicker:50}},function(e,t,n){"use strict";t.__esModule=!0,t.LoginInfo=void 0;var o=n(0),r=n(2),i=n(3);t.LoginInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.authenticated,d=c.rank;if(c)return(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.LoginScreen=void 0;var o=n(0),r=n(2),i=n(3),a=n(61);t.LoginScreen=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.scan,u=l.isAI,s=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,i.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return c("login",{login_type:1})}}),!!u&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return c("login",{login_type:2})}}),!!s&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return c("login",{login_type:3})}})]})}},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(93);e.exports=!o&&!r((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";var o=n(7),r=n(94),i=o["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var o=n(7),r=n(95),i=o.WeakMap;e.exports="function"==typeof i&&/native code/.test(r(i))},function(e,t,n){"use strict";var o=n(19),r=n(97),i=n(21),a=n(15);e.exports=function(e,t){for(var n=r(t),c=a.f,l=i.f,d=0;dl;)o(c,n=t[l++])&&(~i(d,n)||d.push(n));return d}},function(e,t,n){"use strict";var o=n(100);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(11),a=n(67);e.exports=o?Object.defineProperties:function(e,t){i(e);for(var n,o=a(t),c=o.length,l=0;c>l;)r.f(e,n=o[l++],t[n]);return e}},function(e,t,n){"use strict";var o=n(40);e.exports=o("document","documentElement")},function(e,t,n){"use strict";var o=n(28),r=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(t){return a.slice()}}(e):r(o(e))}},function(e,t,n){"use strict";var o=n(14);t.f=o},function(e,t,n){"use strict";var o=n(16),r=n(45),i=n(13),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=o(this),c=i(n.length),l=r(e,c),d=r(t,c),u=arguments.length>2?arguments[2]:undefined,s=a((u===undefined?c:r(u,c))-d,c-l),m=1;for(d0;)d in n?n[l]=n[d]:delete n[l],l+=m,d+=m;return n}},function(e,t,n){"use strict";var o=n(57),r=n(13),i=n(52);e.exports=function a(e,t,n,c,l,d,u,s){for(var m,p=l,f=0,h=!!u&&i(u,s,3);f0&&o(m))p=a(e,t,m,r(m.length),p,d-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=m}p++}f++}return p}},function(e,t,n){"use strict";var o=n(11);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(a){var i=e["return"];throw i!==undefined&&o(i.call(e)),a}}},function(e,t,n){"use strict";var o=n(28),r=n(48),i=n(70),a=n(38),c=n(106),l=a.set,d=a.getterFor("Array Iterator");e.exports=c(Array,"Array",(function(e,t){l(this,{type:"Array Iterator",target:o(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=undefined,{value:undefined,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var o,r,i,a=n(39),c=n(32),l=n(19),d=n(14),u=n(41),s=d("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(r=a(a(i)))!==Object.prototype&&(o=r):m=!0),o==undefined&&(o={}),u||l(o,s)||c(o,s,(function(){return this})),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:m}},function(e,t,n){"use strict";var o=n(8);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var o=n(28),r=n(33),i=n(13),a=n(42),c=n(26),l=Math.min,d=[].lastIndexOf,u=!!d&&1/[1].lastIndexOf(1,-0)<0,s=a("lastIndexOf"),m=c("indexOf",{ACCESSORS:!0,1:0}),p=u||!s||!m;e.exports=p?function(e){if(u)return d.apply(this,arguments)||0;var t=o(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,r(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:d},function(e,t,n){"use strict";var o=n(33),r=n(13);e.exports=function(e){if(e===undefined)return 0;var t=o(e),n=r(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var o=n(34),r=n(8),i=[].slice,a={},c=function(e,t,n){if(!(t in a)){for(var o=[],r=0;r1?arguments[1]:undefined,3);t=t?t.next:n.first;)for(o(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(u.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return C(this,0===e?0:e,t)}}:{add:function(e){return C(this,e=0===e?0:e,e)}}),s&&o(u.prototype,"size",{get:function(){return p(this).size}}),u},setStrong:function(e,t,n){var o=t+" Iterator",r=h(t),i=h(o);d(e,t,(function(e,t){f(this,{type:o,target:e,state:r(e),kind:t,last:undefined})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=undefined,{value:undefined,done:!0})}),n?"entries":"values",!n,!0),u(t)}}},function(e,t,n){"use strict";var o=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:o(1+e)}},function(e,t,n){"use strict";var o=n(8),r=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&r(e)===e}},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(86),a=o.parseInt,c=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=r(String(e));return a(n,t>>>0||(c.test(n)?16:10))}:a},function(e,t,n){"use strict";var o=n(10),r=n(67),i=n(28),a=n(76).f,c=function(e){return function(t){for(var n,c=i(t),l=r(c),d=l.length,u=0,s=[];d>u;)n=l[u++],o&&!a.call(c,n)||s.push(e?[n,c[n]]:c[n]);return s}};e.exports={entries:c(!0),values:c(!1)}},function(e,t,n){"use strict";e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){"use strict";var o=n(7);e.exports=o.Promise},function(e,t,n){"use strict";var o=n(78);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},function(e,t,n){"use strict";var o,r,i,a,c,l,d,u,s=n(7),m=n(21).f,p=n(36),f=n(112).set,h=n(159),C=s.MutationObserver||s.WebKitMutationObserver,g=s.process,b=s.Promise,N="process"==p(g),v=m(s,"queueMicrotask"),V=v&&v.value;V||(o=function(){var e,t;for(N&&(e=g.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(n){throw r?a():i=undefined,n}}i=undefined,e&&e.enter()},N?a=function(){g.nextTick(o)}:C&&!h?(c=!0,l=document.createTextNode(""),new C(o).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(d=b.resolve(undefined),u=d.then,a=function(){u.call(d,o)}):a=function(){f.call(s,o)}),e.exports=V||function(e){var t={fn:e,next:undefined};i&&(i.next=t),r||(r=t,a()),i=t}},function(e,t,n){"use strict";var o=n(11),r=n(8),i=n(162);e.exports=function(e,t){if(o(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var o=n(34),r=function(e){var t,n;this.promise=new e((function(e,o){if(t!==undefined||n!==undefined)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new r(e)}},function(e,t,n){"use strict";var o=n(1),r=n(89);o({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},function(e,t,n){"use strict";var o=n(78);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o)},function(e,t,n){"use strict";var o=n(367);e.exports=function(e,t){var n=o(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){"use strict";var o=n(16),r=n(13),i=n(104),a=n(103),c=n(52),l=n(12).aTypedArrayConstructor;e.exports=function(e){var t,n,d,u,s,m,p=o(e),f=arguments.length,h=f>1?arguments[1]:undefined,C=h!==undefined,g=i(p);if(g!=undefined&&!a(g))for(m=(s=g.call(p)).next,p=[];!(u=m.call(s)).done;)p.push(u.value);for(C&&f>2&&(h=c(h,arguments[2],2)),n=r(p.length),d=new(l(this))(n),t=0;n>t;t++)d[t]=C?h(p[t],t):p[t];return d}},function(e,t,n){"use strict";var o=n(71),r=n(55).getWeakData,i=n(11),a=n(8),c=n(59),l=n(73),d=n(20),u=n(19),s=n(38),m=s.set,p=s.getterFor,f=d.find,h=d.findIndex,C=0,g=function(e){return e.frozen||(e.frozen=new b)},b=function(){this.entries=[]},N=function(e,t){return f(e.entries,(function(e){return e[0]===t}))};b.prototype={get:function(e){var t=N(this,e);if(t)return t[1]},has:function(e){return!!N(this,e)},set:function(e,t){var n=N(this,e);n?n[1]=t:this.entries.push([e,t])},"delete":function(e){var t=h(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,d){var s=e((function(e,o){c(e,s,t),m(e,{type:t,id:C++,frozen:undefined}),o!=undefined&&l(o,e[d],e,n)})),f=p(t),h=function(e,t,n){var o=f(e),a=r(i(t),!0);return!0===a?g(o).set(t,n):a[o.id]=n,e};return o(s.prototype,{"delete":function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t)["delete"](e):n&&u(n,t.id)&&delete n[t.id]},has:function(e){var t=f(this);if(!a(e))return!1;var n=r(e);return!0===n?g(t).has(e):n&&u(n,t.id)}}),o(s.prototype,n?{get:function(e){var t=f(this);if(a(e)){var n=r(e);return!0===n?g(t).get(e):n?n[t.id]:undefined}},set:function(e,t){return h(this,e,t)}}:{add:function(e){return h(this,e,!0)}}),s}}},function(e,t,n){"use strict";t.__esModule=!0,t.perf=void 0;var o={mark:function(e,t){0},measure:function(e,t){0}};t.perf=o},function(e,t,n){"use strict";t.__esModule=!0,t.setupHotReloading=t.sendLogEntry=void 0;t.sendLogEntry=function(e,t){};t.setupHotReloading=function(){0}},function(e,t,n){"use strict";t.__esModule=!0,t.resizeStartHandler=t.dragStartHandler=t.setupDrag=t.recallWindowGeometry=t.storeWindowGeometry=t.getScreenSize=t.getScreenPosition=t.setWindowSize=t.setWindowPosition=t.getWindowSize=t.getWindowPosition=t.setWindowKey=void 0;var o=n(425),r=n(171);function i(e,t,n,o,r,i,a){try{var c=e[i](a),l=c.value}catch(d){return void n(d)}c.done?t(l):Promise.resolve(l).then(o,r)}function a(e){return function(){var t=this,n=arguments;return new Promise((function(o,r){var a=e.apply(t,n);function c(e){i(a,o,r,c,l,"next",e)}function l(e){i(a,o,r,c,l,"throw",e)}c(undefined)}))}}var c,l,d,u,s,m=(0,n(27).createLogger)("drag"),p=window.__windowId__,f=!1,h=!1,C=[0,0];t.setWindowKey=function(e){p=e};var g=function(){return[window.screenLeft,window.screenTop]};t.getWindowPosition=g;var b=function(){return[window.innerWidth,window.innerHeight]};t.getWindowSize=b;var N=function(e){var t=(0,r.vecAdd)(e,C);return Byond.winset(window.__windowId__,{pos:t[0]+","+t[1]})};t.setWindowPosition=N;var v=function(e){return Byond.winset(window.__windowId__,{size:e[0]+"x"+e[1]})};t.setWindowSize=v;var V=function(){return[0-C[0],0-C[1]]};t.getScreenPosition=V;var y=function(){return[window.screen.availWidth,window.screen.availHeight]};t.getScreenSize=y;var k=function(e){m.log("storing geometry");var t={pos:g(),size:b()};o.storage.set(e,t);var n=function(e,t,n){void 0===n&&(n=50);for(var o,r=[t],i=0;il&&(r[a]=l-t[a],i=!0)}return[i,r]};t.dragStartHandler=function(e){m.log("drag start"),f=!0,l=[window.screenLeft-e.screenX,window.screenTop-e.screenY],document.addEventListener("mousemove",B),document.addEventListener("mouseup",L),B(e)};var L=function E(e){m.log("drag end"),B(e),document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",E),f=!1,k(p)},B=function(e){f&&(e.preventDefault(),N((0,r.vecAdd)([e.screenX,e.screenY],l)))};t.resizeStartHandler=function(e,t){return function(n){d=[e,t],m.log("resize start",d),h=!0,l=[window.screenLeft-n.screenX,window.screenTop-n.screenY],u=[window.innerWidth,window.innerHeight],document.addEventListener("mousemove",I),document.addEventListener("mouseup",S),I(n)}};var S=function T(e){m.log("resize end",s),I(e),document.removeEventListener("mousemove",I),document.removeEventListener("mouseup",T),h=!1,k(p)},I=function(e){h&&(e.preventDefault(),(s=(0,r.vecAdd)(u,(0,r.vecMultiply)(d,(0,r.vecAdd)([e.screenX,e.screenY],(0,r.vecInverse)([window.screenLeft,window.screenTop]),l,[1,1]))))[0]=Math.max(s[0],150),s[1]=Math.max(s[1],50),v(s))}},function(e,t,n){"use strict";t.__esModule=!0,t.vecNormalize=t.vecLength=t.vecInverse=t.vecScale=t.vecDivide=t.vecMultiply=t.vecSubtract=t.vecAdd=void 0;var o=n(22),r=function(e,t){return e+t},i=function(e,t){return e-t},a=function(e,t){return e*t},c=function(e,t){return e/t}; /** * N-dimensional vector manipulation functions. * @@ -22,14 +22,14 @@ * @file * @copyright 2020 Aleksej Komarov * @license MIT - */t.vecAdd=function(){for(var e=arguments.length,t=new Array(e),n=0;n35;return(0,o.createVNode)(1,"div",(0,r.classes)(["Tooltip",c&&"Tooltip--long",i&&"Tooltip--"+i,a&&"Tooltip--scale--"+Math.floor(a)]),null,1,{"data-tooltip":t})}},function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(0),r=n(9),i=n(17);t.Dimmer=function(e){var t=e.className,n=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},a,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(0),r=n(9);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},function(e,t,n){"use strict";t.__esModule=!0,t.FlexItem=t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.alignContent,l=e.justify,d=e.inline,u=e.spacing,s=void 0===u?0:u,m=e.spacingPrecise,p=void 0===m?0:m,f=a(e,["className","direction","wrap","align","alignContent","justify","inline","spacing","spacingPrecise"]);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),d&&"Flex--inline",s>0&&"Flex--spacing--"+s,p>0&&"Flex--spacingPrecise--"+p,t]),style:Object.assign({},f.style,{"flex-direction":n,"flex-wrap":o,"align-items":i,"align-content":c,"justify-content":l})},f)};t.computeFlexProps=c;var l=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},c(e))))};t.Flex=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.grow,o=e.order,c=e.shrink,l=e.basis,d=void 0===l?e.width:l,u=e.align,s=a(e,["className","grow","order","shrink","basis","align"]);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",t]),style:Object.assign({},s.style,{"flex-grow":n,"flex-shrink":c,"flex-basis":(0,i.unit)(d),order:o,"align-self":u})},s)};t.computeFlexItemProps=d;var u=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};t.FlexItem=u,u.defaultHooks=r.pureComponentHooks,l.Item=u},function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(35),d=n(121),u=n(168),s=n(26),m=n(170),p=n(123);var f=(0,s.createLogger)("Window"),h=[400,600],C=function(e){var t,n;function c(){return e.apply(this,arguments)||this}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=c.prototype;return s.componentDidMount=function(){var e=(0,a.useBackend)(this.context),t=e.config;if(!e.suspended){f.log("mounting");var n=Object.assign({size:h},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),(0,u.setWindowKey)(t.window.key),(0,u.recallWindowGeometry)(t.window.key,n),(0,p.refocusLayout)()}},s.render=function(){var e,t=this.props,n=t.resizable,c=t.theme,s=t.title,h=t.children,C=(0,a.useBackend)(this.context),g=C.config,N=C.suspended,v=(0,d.useDebug)(this.context).debugLayout,V=(0,m.useDispatch)(this.context),y=null==(e=g.window)?void 0:e.fancy,_=g.user.observer?g.status=0||(r[n]=e[n]);return r}(e,["className","fitted","scrollable","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,p.Layout.Content,Object.assign({scrollable:i,className:(0,r.classes)(["Window__content",t])},c,{children:n&&a||(0,o.createVNode)(1,"div","Window__contentPadding",a,0)})))};var g=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},b=function(e,t){var n=e.className,a=e.title,l=e.status,d=e.fancy,u=e.onDragStart,s=e.onClose;(0,m.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[(0,o.createComponentVNode)(2,c.Icon,{className:"TitleBar__statusIcon",color:g(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__title","string"==typeof a&&a===a.toLowerCase()&&(0,i.toTitleCase)(a)||a,0),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&u(e)}}),!1,!!d&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:s})],0)}},function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(0),r=n(2),i=n(3);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.siliconUser,d=void 0===l?c.siliconUser:l,u=e.locked,s=void 0===u?c.locked:u,m=e.normallyLocked,p=void 0===m?c.normallyLocked:m,f=e.onLockStatusChange,h=void 0===f?function(){return a("lock")}:f,C=e.accessText,g=void 0===C?"an ID card":C,b=e.deny,N=void 0!==b&&b,v=e.denialMessage;return N?void 0===v?"Error.":v:d?(0,o.createComponentVNode)(2,i.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:"0",color:p?"red":"green",icon:p?"lock":"unlock",content:p?"Locked":"Unlocked",onClick:function(){h&&h(!s)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",g," ","to ",s?"unlock":"lock"," this interface."]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosControlContent=t.AtmosControl=void 0;var o=n(0),r=n(22),i=n(4),a=n(3),c=n(2);(0,n(26).createLogger)("fuck");t.AtmosControl=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,i=(0,c.useBackend)(t),l=i.act,d=i.data,u=i.config,s=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),m=(0,c.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,c.useLocalState)(t,"mapZoom",1),C=h[0],g=h[1];return 0===p?n=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===p&&(n=(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:C,minValue:1,maxValue:8,onChange:function(e,t){return g(t)}}),"Z-Level:",d.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:~~e==~~u.mapZLevel,content:e,onClick:function(){l("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,a.NanoMap,{zoom:C,children:s.filter((function(e){return~~e.z==~~u.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:C,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})]})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.AtmosControlContent=l},function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleSearch=t.CameraConsoleContent=t.CameraConsole=void 0;var o=n(0),r=n(22),i=n(56),a=n(9),c=n(18),l=n(2),d=n(3),u=n(4),s=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n="");var o=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(o),n&&(0,r.filter)((function(e){return e.networks.includes(n)})),(0,r.sortBy)((function(e){return e.name}))])(e)};t.CameraConsole=function(e,t){return(0,o.createComponentVNode)(2,u.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,m)})};var m=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(n.config,i.mapRef),c=i.activeCamera,m=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]}(s(i.cameras),c),f=m[0],h=m[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",disabled:!f,onClick:function(){return r("switch_camera",{name:f})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",disabled:!h,onClick:function(){return r("switch_camera",{name:h})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};t.CameraConsoleContent=m;var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,c=(0,l.useLocalState)(t,"searchText",""),m=c[0],p=c[1],f=(0,l.useLocalState)(t,"networkFilter",""),h=f[0],C=f[1],g=i.activeCamera,b=i.allNetworks;b.sort();var N=s(i.cameras,m,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,t){return p(t)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return C(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:N.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",g&&e.name===g.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,u.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};t.CameraConsoleSearch=p},function(e,t,n){"use strict";t.__esModule=!0,t.BeakerContents=void 0;var o=n(0),r=n(3),i=n(468),a=function(e){var t=e.beakerLoaded,n=e.beakerContents,i=void 0===n?[]:n,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!t&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===i.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),i.map((function(e,t){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:[(0,o.createComponentVNode)(2,r.Box,{color:"label",display:"inline",verticalAlign:"middle",children:[(n=e.volume,n+" unit"+(1===n?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Box,{float:"right",display:"inline",children:a(e,t)}),(0,o.createComponentVNode)(2,r.Box,{clear:"both"})]},e.name);var n}))]})};t.BeakerContents=a,a.propTypes={beakerLoaded:i.bool,beakerContents:i.array,buttons:i.arrayOf(i.element)}},function(e,t,n){"use strict";t.__esModule=!0,t.CrewMonitorContent=t.CrewMonitor=void 0;var o=n(0),r=n(22),i=n(2),a=n(4),c=n(3),l=n(128);n(35);t.CrewMonitor=function(){return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n,a=(0,i.useBackend)(t),d=a.act,u=a.data,s=a.config,m=(0,i.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,r.sortBy)((function(e){return e.name}))(u.crewmembers||[]),C=(0,i.useLocalState)(t,"number",1),g=C[0],b=C[1];return n=0===p?(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Location"})]}),h.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,l.TableCell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.TableCell,{children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:e.dead?"red":"green",children:e.dead?"Deceased":"Living"}),e.sensor_type>=2?(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.TableCell,{children:3===e.sensor_type?u.isAI?(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return d("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.name)}))]}):1===p?(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:g,minValue:1,maxValue:8,onChange:function(e,t){return b(t)}}),"Z-Level:",u.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:~~e==~~s.mapZLevel,content:e,onClick:function(){d("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,c.NanoMap,{zoom:g,children:h.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,c.NanoMap.Marker,{x:e.x,y:e.y,zoom:g,icon:"circle",tooltip:e.name,color:e.dead?"red":"green"},e.ref)}))})]}):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,c.Box,{m:2,children:n})],4)};t.CrewMonitorContent=d},function(e,t,n){"use strict";t.__esModule=!0,t.LoginInfo=void 0;var o=n(0),r=n(2),i=n(3);t.LoginInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.authenticated,d=c.rank;if(c)return(0,o.createComponentVNode)(2,i.NoticeBox,{info:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:["Logged in as: ",l," (",d,")"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",content:"Logout and Eject ID",color:"good",float:"right",onClick:function(){return a("logout")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.LoginScreen=void 0;var o=n(0),r=n(2),i=n(3),a=n(61);t.LoginScreen=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.scan,u=l.isAI,s=l.isRobot;return(0,o.createComponentVNode)(2,a.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-circle",verticalAlign:"middle",size:3,mr:"1rem"}),"Guest"]}),(0,o.createComponentVNode)(2,i.Box,{color:"label",my:"1rem",children:["ID:",(0,o.createComponentVNode)(2,i.Button,{icon:"id-card",content:d||"----------",ml:"0.5rem",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",disabled:!d,content:"Login",onClick:function(){return c("login",{login_type:1})}}),!!u&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as AI",onClick:function(){return c("login",{login_type:2})}}),!!s&&(0,o.createComponentVNode)(2,i.Button,{icon:"sign-in-alt",content:"Login as Cyborg",onClick:function(){return c("login",{login_type:3})}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningUser=void 0;var o=n(0),r=n(2),i=n(3);t.MiningUser=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.insertIdText,d=c.has_id,u=c.id;return(0,o.createComponentVNode)(2,i.NoticeBox,{success:d,children:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",u.name,".",(0,o.createVNode)(1,"br"),"You have ",u.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,i.Box,{style:{clear:"both"}})],4):l})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaCharge=t.PowerMonitorFocus=t.PowerMonitorContent=t.PowerMonitor=t.powerRank=void 0;var o=n(0),r=n(22),i=n(56),a=n(6),c=n(9),l=n(2),d=n(3),u=n(4),s=5e5,m=function(e){var t=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(t)};t.powerRank=m;t.PowerMonitor=function(){return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)})})};var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(i.map_levels,i.all_sensors),c=i.focus;if(c)return(0,o.createComponentVNode)(2,f,{focus:c});var u=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(u=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:u})};t.PowerMonitorContent=p;var f=function(e,t){var n=(0,l.useBackend)(t),c=n.act,u=(n.data,e.focus),p=u.history,f=(0,l.useLocalState)(t,"sortByField",null),g=f[0],b=f[1],N=p.supply[p.supply.length-1]||0,v=p.demand[p.demand.length-1]||0,V=p.supply.map((function(e,t){return[t,e]})),y=p.demand.map((function(e,t){return[t,e]})),_=Math.max.apply(Math,[s].concat(p.supply,p.demand)),x=(0,i.flow)([(0,r.map)((function(e,t){return Object.assign({},e,{id:e.name+t})})),"name"===g&&(0,r.sortBy)((function(e){return e.name})),"charge"===g&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===g&&(0,r.sortBy)((function(e){return-m(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===g&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(u.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:u.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return c("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:N,minValue:0,maxValue:_,color:"teal",children:(0,a.toFixed)(N/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:v,minValue:0,maxValue:_,color:"pink",children:(0,a.toFixed)(v/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:V,rangeX:[0,V.length-1],rangeY:[0,_],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:y,rangeX:[0,y.length-1],rangeY:[0,_],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===g,content:"Name",onClick:function(){return b("name"!==g&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===g,content:"Charge",onClick:function(){return b("charge"!==g&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===g,content:"Draw",onClick:function(){return b("draw"!==g&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===g,content:"Problems",onClick:function(){return b("problems"!==g&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),x.map((function(e,t){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};t.PowerMonitorFocus=f;var h=function(e){var t=e.charging,n=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===t&&(n>50?"battery-half":"battery-quarter")||1===t&&"bolt"||2===t&&"battery-full",color:0===t&&(n>50?"yellow":"red")||1===t&&"yellow"||2===t&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(n)+"%"})],4)};t.AreaCharge=h,h.defaultHooks=c.pureComponentHooks;var C=function(e){var t=e.status,n=Boolean(2&t),r=Boolean(1&t),i=(n?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:n?"good":"bad",content:r?undefined:"M",title:i})};C.defaultHooks=c.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.RCONContent=t.RCON=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.RCON=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,r=(0,i.useLocalState)(t,"tabIndex",0),c=r[0],l=r[1];return 0===c?n=(0,o.createComponentVNode)(2,d):1===c&&(n=(0,o.createComponentVNode)(2,u)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.RCONContent=l;var d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.smes_info;return(0,o.createComponentVNode)(2,a.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l?l.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:.01*e.capacityPercent,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(e.charge/6e4,1)," kWh / ",(0,r.round)(e.capacity/6e4)," kWh (",e.capacityPercent,"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Input",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_in_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_in_set",{smes:e.RCON_tag})}})],4),children:[e.input_val," kW - ",e.input_set?"ON":"OFF"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_out_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_out_set",{smes:e.RCON_tag})}})],4),children:[e.output_val," kW - ",e.output_set?"ONLINE":"OFFLINE"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output Load",children:[e.output_load," kW"]})]})]},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No SMESs detected."})})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.breaker_info;return(0,o.createComponentVNode)(2,a.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShutoffMonitorContent=t.ShutoffMonitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3);t.ShutoffMonitor=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),c.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return i("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return i("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};t.ShutoffMonitorContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.StationAlertConsoleContent=t.StationAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.categories;return(void 0===c?[]:c).map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var t="";return e.has_cameras?t=(0,o.createComponentVNode)(2,i.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(t=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Alarm Origin Lost."}):"",t],0,null,e.name)}))],0)},e.category)}))};t.StationAlertConsoleContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.SupermatterMonitorContent=t.SupermatterMonitor=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=n(6),l=n(18);t.SupermatterMonitor=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t);n.act;return n.data.active?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)};t.SupermatterMonitorContent=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.supermatters;return(0,o.createComponentVNode)(2,i.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,i.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},t)}))})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,u=d.SM_area,s=d.SM_integrity,m=d.SM_power,p=d.SM_ambienttemp,f=d.SM_ambientpressure,h=d.SM_EPR,C=d.SM_gas_O2,g=d.SM_gas_CO2,b=d.SM_gas_N2,N=d.SM_gas_PH,v=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,i.Section,{title:(0,l.toTitleCase)(u),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{animated:!0,value:s,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,i.Box,{color:(m>300?"bad":m>150&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" MeV/cm\xb3"},value:m})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.Box,{color:(p>5e3?"bad":p>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" K"},value:p})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.Box,{color:(f>1e4?"bad":f>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" kPa"},value:f})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,i.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:C}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:g}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:v}),"%"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RapidPipeDispenser=t.ICON_BY_CATEGORY_NAME=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(4),d=["Atmospherics","Disposals"],u={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};t.ICON_BY_CATEGORY_NAME=u;var s=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}];t.RapidPipeDispenser=function(e,t){var n=(0,a.useBackend)(t),m=n.act,p=n.data,f=p.category,h=p.categories,C=void 0===h?[]:h,g=p.selected_color,b=p.paint_colors,N=p.piping_layer,v=p.pipe_layers,V=p.mode,y=p.preview_rows.flatMap((function(e){return e.previews})),_=(0,a.useLocalState)(t,"categoryName"),x=_[0],k=_[1],w=C.find((function(e){return e.cat_name===x}))||C[0];return(0,o.createComponentVNode)(2,l.Window,{width:425,height:515,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Category",children:d.map((function(e,t){return(0,o.createComponentVNode)(2,c.Button,{selected:f===t,icon:u[e],color:"transparent",content:e,onClick:function(){return m("category",{category:t})}},e)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Modes",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:V&e.bitmask,content:e.name,onClick:function(){return m("mode",{mode:e.bitmask})}},e.bitmask)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,width:"64px",color:b[g],children:(0,i.capitalize)(g)}),Object.keys(b).map((function(e){return(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:b[e],onClick:function(){return m("color",{paint_color:e})}},e)}))]})]})}),(0,o.createComponentVNode)(2,c.Flex,{m:-.5,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,children:(0,o.createComponentVNode)(2,c.Section,{children:[0===f&&(0,o.createComponentVNode)(2,c.Box,{mb:1,children:Object.keys(v).map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:v[e]===N,content:e,onClick:function(){return m("piping_layer",{piping_layer:v[e]})}},e)}))}),(0,o.createComponentVNode)(2,c.Box,{width:"108px",children:y.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{title:e.dir_name,selected:e.selected,style:{width:"48px",height:"48px",padding:0},onClick:function(){return m("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,c.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(17%, 17%)"}})},e.dir)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,grow:1,children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Tabs,{children:C.map((function(e,t){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{fluid:!0,icon:u[e.cat_name],selected:e.cat_name===w.cat_name,onClick:function(){return k(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==w?void 0:w.recipes.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return m("pipe_type",{pipe_type:e.pipe_index,category:w.cat_name})}},e.pipe_index)}))]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(0),r=n(2),i=n(3);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.connected,d=c.holding,u=c.on,s=c.pressure,m=c.powerDraw,p=c.cellCharge,f=c.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[m," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:p,minValue:0,maxValue:f,ranges:{good:[.5*f,Infinity],average:[.25*f,.5*f],bad:[-Infinity,.25*f]},children:[p," W"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},function(e,t,n){e.exports=n(192)},function(e,t,n){"use strict";n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(218),n(220),n(221),n(222),n(144),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(239),n(240),n(241),n(242),n(243),n(245),n(246),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(284),n(285),n(287),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(313),n(314),n(315),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(161),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405);var o=n(0);n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421);var r=n(166),i=(n(167),n(2)),a=n(168),c=n(26),l=n(170); + */t.vecAdd=function(){for(var e=arguments.length,t=new Array(e),n=0;n35;return(0,o.createVNode)(1,"div",(0,r.classes)(["Tooltip",c&&"Tooltip--long",i&&"Tooltip--"+i,a&&"Tooltip--scale--"+Math.floor(a)]),null,1,{"data-tooltip":t})}},function(e,t,n){"use strict";t.__esModule=!0,t.Dimmer=void 0;var o=n(0),r=n(9),i=n(17);t.Dimmer=function(e){var t=e.className,n=e.children,a=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Dimmer"].concat(t))},a,{children:(0,o.createVNode)(1,"div","Dimmer__inner",n,0)})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Divider=void 0;var o=n(0),r=n(9);t.Divider=function(e){var t=e.vertical,n=e.hidden;return(0,o.createVNode)(1,"div",(0,r.classes)(["Divider",n&&"Divider--hidden",t?"Divider--vertical":"Divider--horizontal"]))}},function(e,t,n){"use strict";t.__esModule=!0,t.FlexItem=t.computeFlexItemProps=t.Flex=t.computeFlexProps=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.className,n=e.direction,o=e.wrap,i=e.align,c=e.alignContent,l=e.justify,d=e.inline,u=e.spacing,s=void 0===u?0:u,m=e.spacingPrecise,p=void 0===m?0:m,f=a(e,["className","direction","wrap","align","alignContent","justify","inline","spacing","spacingPrecise"]);return Object.assign({className:(0,r.classes)(["Flex",Byond.IS_LTE_IE10&&("column"===n?"Flex--iefix--column":"Flex--iefix"),d&&"Flex--inline",s>0&&"Flex--spacing--"+s,p>0&&"Flex--spacingPrecise--"+p,t]),style:Object.assign({},f.style,{"flex-direction":n,"flex-wrap":o,"align-items":i,"align-content":c,"justify-content":l})},f)};t.computeFlexProps=c;var l=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},c(e))))};t.Flex=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.className,n=e.grow,o=e.order,c=e.shrink,l=e.basis,d=void 0===l?e.width:l,u=e.align,s=a(e,["className","grow","order","shrink","basis","align"]);return Object.assign({className:(0,r.classes)(["Flex__item",Byond.IS_LTE_IE10&&"Flex__item--iefix",t]),style:Object.assign({},s.style,{"flex-grow":n,"flex-shrink":c,"flex-basis":(0,i.unit)(d),order:o,"align-self":u})},s)};t.computeFlexItemProps=d;var u=function(e){return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({},d(e))))};t.FlexItem=u,u.defaultHooks=r.pureComponentHooks,l.Item=u},function(e,t,n){"use strict";t.__esModule=!0,t.Window=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(35),d=n(121),u=n(170),s=n(27),m=n(172),p=n(123);var f=(0,s.createLogger)("Window"),h=[400,600],C=function(e){var t,n;function c(){return e.apply(this,arguments)||this}n=e,(t=c).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=c.prototype;return s.componentDidMount=function(){var e=(0,a.useBackend)(this.context),t=e.config;if(!e.suspended){f.log("mounting");var n=Object.assign({size:h},t.window);this.props.width&&this.props.height&&(n.size=[this.props.width,this.props.height]),(0,u.setWindowKey)(t.window.key),(0,u.recallWindowGeometry)(t.window.key,n),(0,p.refocusLayout)()}},s.render=function(){var e,t=this.props,n=t.resizable,c=t.theme,s=t.title,h=t.children,C=(0,a.useBackend)(this.context),g=C.config,N=C.suspended,v=(0,d.useDebug)(this.context).debugLayout,V=(0,m.useDispatch)(this.context),y=null==(e=g.window)?void 0:e.fancy,k=g.user.observer?g.status=0||(r[n]=e[n]);return r}(e,["className","fitted","scrollable","children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,p.Layout.Content,Object.assign({scrollable:i,className:(0,r.classes)(["Window__content",t])},c,{children:n&&a||(0,o.createVNode)(1,"div","Window__contentPadding",a,0)})))};var g=function(e){switch(e){case l.UI_INTERACTIVE:return"good";case l.UI_UPDATE:return"average";case l.UI_DISABLED:default:return"bad"}},b=function(e,t){var n=e.className,a=e.title,l=e.status,d=e.fancy,u=e.onDragStart,s=e.onClose;(0,m.useDispatch)(t);return(0,o.createVNode)(1,"div",(0,r.classes)(["TitleBar",n]),[(0,o.createComponentVNode)(2,c.Icon,{className:"TitleBar__statusIcon",color:g(l),name:"eye"}),(0,o.createVNode)(1,"div","TitleBar__title","string"==typeof a&&a===a.toLowerCase()&&(0,i.toTitleCase)(a)||a,0),(0,o.createVNode)(1,"div","TitleBar__dragZone",null,1,{onMousedown:function(e){return d&&u(e)}}),!1,!!d&&(0,o.createVNode)(1,"div","TitleBar__close TitleBar__clickable",Byond.IS_LTE_IE8?"x":"\xd7",0,{onclick:s})],0)}},function(e,t,n){"use strict";t.__esModule=!0,t.InterfaceLockNoticeBox=void 0;var o=n(0),r=n(2),i=n(3);t.InterfaceLockNoticeBox=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.siliconUser,d=void 0===l?c.siliconUser:l,u=e.locked,s=void 0===u?c.locked:u,m=e.normallyLocked,p=void 0===m?c.normallyLocked:m,f=e.onLockStatusChange,h=void 0===f?function(){return a("lock")}:f,C=e.accessText,g=void 0===C?"an ID card":C,b=e.deny,N=void 0!==b&&b,v=e.denialMessage;return N?void 0===v?"Error.":v:d?(0,o.createComponentVNode)(2,i.NoticeBox,{color:d&&"grey",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:"Interface lock status:"}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1"}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:(0,o.createComponentVNode)(2,i.Button,{m:"0",color:p?"red":"green",icon:p?"lock":"unlock",content:p?"Locked":"Unlocked",onClick:function(){h&&h(!s)}})})]})}):(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Swipe ",g," ","to ",s?"unlock":"lock"," this interface."]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosControlContent=t.AtmosControl=void 0;var o=n(0),r=n(22),i=n(4),a=n(3),c=n(2);(0,n(27).createLogger)("fuck");t.AtmosControl=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:600,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,i=(0,c.useBackend)(t),l=i.act,d=i.data,u=i.config,s=(0,r.sortBy)((function(e){return e.name}))(d.alarms||[]),m=(0,c.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,c.useLocalState)(t,"mapZoom",1),C=h[0],g=h[1];return 0===p?n=(0,o.createComponentVNode)(2,a.Section,{title:"Alarms",children:s.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{content:e.name,color:2===e.danger?"bad":1===e.danger?"average":"",onClick:function(){return l("alarm",{alarm:e.ref})}},e.name)}))}):1===p&&(n=(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:C,minValue:1,maxValue:8,onChange:function(e,t){return g(t)}}),"Z-Level:",d.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,a.Button,{selected:~~e==~~u.mapZLevel,content:e,onClick:function(){l("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,a.NanoMap,{zoom:C,children:s.filter((function(e){return~~e.z==~~u.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,a.NanoMap.Marker,{x:e.x,y:e.y,zoom:C,icon:"bell",tooltip:e.name,color:e.danger?"red":"green",onClick:function(){return l("alarm",{alarm:e.ref})}},e.ref)}))})]})),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"table"})," Alarm View"]},"AlarmView"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.AtmosControlContent=l},function(e,t,n){"use strict";t.__esModule=!0,t.CameraConsoleSearch=t.CameraConsoleContent=t.CameraConsole=void 0;var o=n(0),r=n(22),i=n(56),a=n(9),c=n(18),l=n(2),d=n(3),u=n(4),s=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n="");var o=(0,c.createSearch)(t,(function(e){return e.name}));return(0,i.flow)([(0,r.filter)((function(e){return null==e?void 0:e.name})),t&&(0,r.filter)(o),n&&(0,r.filter)((function(e){return e.networks.includes(n)})),(0,r.sortBy)((function(e){return e.name}))])(e)};t.CameraConsole=function(e,t){return(0,o.createComponentVNode)(2,u.Window,{width:870,height:708,resizable:!0,children:(0,o.createComponentVNode)(2,m)})};var m=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(n.config,i.mapRef),c=i.activeCamera,m=function(e,t){var n,o;if(!t)return[];var r=e.findIndex((function(e){return e.name===t.name}));return[null==(n=e[r-1])?void 0:n.name,null==(o=e[r+1])?void 0:o.name]}(s(i.cameras),c),f=m[0],h=m[1];return(0,o.createFragment)([(0,o.createVNode)(1,"div","CameraConsole__left",(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)}),2),(0,o.createVNode)(1,"div","CameraConsole__right",[(0,o.createVNode)(1,"div","CameraConsole__toolbar",[(0,o.createVNode)(1,"b",null,"Camera: ",16),c&&c.name||"\u2014"],0),(0,o.createVNode)(1,"div","CameraConsole__toolbarRight",[(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-left",disabled:!f,onClick:function(){return r("switch_camera",{name:f})}}),(0,o.createComponentVNode)(2,d.Button,{icon:"chevron-right",disabled:!h,onClick:function(){return r("switch_camera",{name:h})}})],4),(0,o.createComponentVNode)(2,d.ByondUi,{className:"CameraConsole__map",params:{id:a,type:"map"}})],4)],4)};t.CameraConsoleContent=m;var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,c=(0,l.useLocalState)(t,"searchText",""),m=c[0],p=c[1],f=(0,l.useLocalState)(t,"networkFilter",""),h=f[0],C=f[1],g=i.activeCamera,b=i.allNetworks;b.sort();var N=s(i.cameras,m,h);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Input,{fluid:!0,mb:1,placeholder:"Search for a camera",onInput:function(e,t){return p(t)}}),(0,o.createComponentVNode)(2,d.Dropdown,{mb:1,width:"177px",options:b,placeholder:"No Filter",onSelected:function(e){return C(e)}}),(0,o.createComponentVNode)(2,d.Section,{children:N.map((function(e){return(0,o.createVNode)(1,"div",(0,a.classes)(["Button","Button--fluid","Button--color--transparent","Button--ellipsis",g&&e.name===g.name&&"Button--selected"]),e.name,0,{title:e.name,onClick:function(){(0,u.refocusLayout)(),r("switch_camera",{name:e.name})}},e.name)}))})],4)};t.CameraConsoleSearch=p},function(e,t,n){"use strict";t.__esModule=!0,t.BeakerContents=void 0;var o=n(0),r=n(3),i=n(469),a=function(e){var t=e.beakerLoaded,n=e.beakerContents,i=void 0===n?[]:n,a=e.buttons;return(0,o.createComponentVNode)(2,r.Box,{children:[!t&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"No beaker loaded."})||0===i.length&&(0,o.createComponentVNode)(2,r.Box,{color:"label",children:"Beaker is empty."}),i.map((function(e,t){return(0,o.createComponentVNode)(2,r.Box,{width:"100%",children:[(0,o.createComponentVNode)(2,r.Box,{color:"label",display:"inline",verticalAlign:"middle",children:[(n=e.volume,n+" unit"+(1===n?"":"s"))," of ",e.name]}),!!a&&(0,o.createComponentVNode)(2,r.Box,{float:"right",display:"inline",children:a(e,t)}),(0,o.createComponentVNode)(2,r.Box,{clear:"both"})]},e.name);var n}))]})};t.BeakerContents=a,a.propTypes={beakerLoaded:i.bool,beakerContents:i.array,buttons:i.arrayOf(i.element)}},function(e,t,n){"use strict";t.__esModule=!0,t.CrewMonitorContent=t.CrewMonitor=void 0;var o=n(0),r=n(22),i=n(2),a=n(4),c=n(3),l=n(128);n(35);t.CrewMonitor=function(){return(0,o.createComponentVNode)(2,a.Window,{width:800,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n,a=(0,i.useBackend)(t),d=a.act,u=a.data,s=a.config,m=(0,i.useLocalState)(t,"tabIndex",0),p=m[0],f=m[1],h=(0,r.sortBy)((function(e){return e.name}))(u.crewmembers||[]),C=(0,i.useLocalState)(t,"number",1),g=C[0],b=C[1];return n=0===p?(0,o.createComponentVNode)(2,c.Table,{children:[(0,o.createComponentVNode)(2,c.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Status"}),(0,o.createComponentVNode)(2,c.Table.Cell,{children:"Location"})]}),h.map((function(e){return(0,o.createComponentVNode)(2,c.Table.Row,{children:[(0,o.createComponentVNode)(2,l.TableCell,{children:[e.name," (",e.assignment,")"]}),(0,o.createComponentVNode)(2,l.TableCell,{children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:e.dead?"red":"green",children:e.dead?"Deceased":"Living"}),e.sensor_type>=2?(0,o.createComponentVNode)(2,c.Box,{inline:!0,children:["(",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"red",children:e.brute}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"orange",children:e.fire}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"green",children:e.tox}),"|",(0,o.createComponentVNode)(2,c.Box,{inline:!0,color:"blue",children:e.oxy}),")"]}):null]}),(0,o.createComponentVNode)(2,l.TableCell,{children:3===e.sensor_type?u.isAI?(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"location-arrow",content:e.area+" ("+e.x+", "+e.y+")",onClick:function(){return d("track",{track:e.ref})}}):e.area+" ("+e.x+", "+e.y+", "+e.z+")":"Not Available"})]},e.name)}))]}):1===p?(0,o.createComponentVNode)(2,c.Box,{textAlign:"center",children:["Zoom Level:",(0,o.createComponentVNode)(2,c.NumberInput,{animated:!0,width:"40px",step:.5,stepPixelSize:"5",value:g,minValue:1,maxValue:8,onChange:function(e,t){return b(t)}}),"Z-Level:",u.map_levels.sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:~~e==~~s.mapZLevel,content:e,onClick:function(){d("setZLevel",{mapZLevel:e})}},e)})),(0,o.createComponentVNode)(2,c.NanoMap,{zoom:g,children:h.filter((function(e){return 3===e.sensor_type&&~~e.realZ==~~s.mapZLevel})).map((function(e){return(0,o.createComponentVNode)(2,c.NanoMap.Marker,{x:e.x,y:e.y,zoom:g,icon:"circle",tooltip:e.name,color:e.dead?"red":"green"},e.ref)}))})]}):"ERROR",(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===p,onClick:function(){return f(0)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"table"})," Data View"]},"DataView"),(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===p,onClick:function(){return f(1)},children:[(0,o.createComponentVNode)(2,c.Icon,{name:"map-marked-alt"})," Map View"]},"MapView")]}),(0,o.createComponentVNode)(2,c.Box,{m:2,children:n})],4)};t.CrewMonitorContent=d},function(e,t,n){"use strict";t.__esModule=!0,t.MiningUser=void 0;var o=n(0),r=n(2),i=n(3);t.MiningUser=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.insertIdText,d=c.has_id,u=c.id;return(0,o.createComponentVNode)(2,i.NoticeBox,{success:d,children:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",style:{float:"left"},children:["Logged in as ",u.name,".",(0,o.createVNode)(1,"br"),"You have ",u.points.toLocaleString("en-US")," points."]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject ID",style:{float:"right"},onClick:function(){return a("logoff")}}),(0,o.createComponentVNode)(2,i.Box,{style:{clear:"both"}})],4):l})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaCharge=t.PowerMonitorFocus=t.PowerMonitorContent=t.PowerMonitor=t.powerRank=void 0;var o=n(0),r=n(22),i=n(56),a=n(6),c=n(9),l=n(2),d=n(3),u=n(4),s=5e5,m=function(e){var t=String(e.split(" ")[1]).toLowerCase();return["w","kw","mw","gw"].indexOf(t)};t.powerRank=m;t.PowerMonitor=function(){return(0,o.createComponentVNode)(2,u.Window,{width:550,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,u.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,p)})})};var p=function(e,t){var n=(0,l.useBackend)(t),r=n.act,i=n.data,a=(i.map_levels,i.all_sensors),c=i.focus;if(c)return(0,o.createComponentVNode)(2,f,{focus:c});var u=(0,o.createComponentVNode)(2,d.Box,{color:"bad",children:"No sensors detected"});return a&&(u=(0,o.createComponentVNode)(2,d.Table,{children:a.map((function(e){return(0,o.createComponentVNode)(2,d.Table.Row,{children:(0,o.createComponentVNode)(2,d.Table.Cell,{children:(0,o.createComponentVNode)(2,d.Button,{content:e.name,icon:e.alarm?"bell":"sign-in-alt",onClick:function(){return r("setsensor",{id:e.name})}})})},e.name)}))})),(0,o.createComponentVNode)(2,d.Section,{title:"No active sensor. Listing all.",buttons:(0,o.createComponentVNode)(2,d.Button,{content:"Scan For Sensors",icon:"undo",onClick:function(){return r("refresh")}}),children:u})};t.PowerMonitorContent=p;var f=function(e,t){var n=(0,l.useBackend)(t),c=n.act,u=(n.data,e.focus),p=u.history,f=(0,l.useLocalState)(t,"sortByField",null),g=f[0],b=f[1],N=p.supply[p.supply.length-1]||0,v=p.demand[p.demand.length-1]||0,V=p.supply.map((function(e,t){return[t,e]})),y=p.demand.map((function(e,t){return[t,e]})),k=Math.max.apply(Math,[s].concat(p.supply,p.demand)),x=(0,i.flow)([(0,r.map)((function(e,t){return Object.assign({},e,{id:e.name+t})})),"name"===g&&(0,r.sortBy)((function(e){return e.name})),"charge"===g&&(0,r.sortBy)((function(e){return-e.charge})),"draw"===g&&(0,r.sortBy)((function(e){return-m(e.load)}),(function(e){return-parseFloat(e.load)})),"problems"===g&&(0,r.sortBy)((function(e){return e.eqp}),(function(e){return e.lgt}),(function(e){return e.env}),(function(e){return e.charge}),(function(e){return e.name}))])(u.areas);return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Section,{title:u.name,buttons:(0,o.createComponentVNode)(2,d.Button,{icon:"sign-out-alt",content:"Back To Main",onClick:function(){return c("clear")}})}),(0,o.createComponentVNode)(2,d.Flex,{mx:-.5,mb:1,children:[(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,width:"200px",children:(0,o.createComponentVNode)(2,d.Section,{children:(0,o.createComponentVNode)(2,d.LabeledList,{children:[(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Supply",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:N,minValue:0,maxValue:k,color:"teal",children:(0,a.toFixed)(N/1e3)+" kW"})}),(0,o.createComponentVNode)(2,d.LabeledList.Item,{label:"Draw",children:(0,o.createComponentVNode)(2,d.ProgressBar,{value:v,minValue:0,maxValue:k,color:"pink",children:(0,a.toFixed)(v/1e3)+" kW"})})]})})}),(0,o.createComponentVNode)(2,d.Flex.Item,{mx:.5,grow:1,children:(0,o.createComponentVNode)(2,d.Section,{position:"relative",height:"100%",children:[(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:V,rangeX:[0,V.length-1],rangeY:[0,k],strokeColor:"rgba(0, 181, 173, 1)",fillColor:"rgba(0, 181, 173, 0.25)"}),(0,o.createComponentVNode)(2,d.Chart.Line,{fillPositionedParent:!0,data:y,rangeX:[0,y.length-1],rangeY:[0,k],strokeColor:"rgba(224, 57, 151, 1)",fillColor:"rgba(224, 57, 151, 0.25)"})]})})]}),(0,o.createComponentVNode)(2,d.Section,{children:[(0,o.createComponentVNode)(2,d.Box,{mb:1,children:[(0,o.createComponentVNode)(2,d.Box,{inline:!0,mr:2,color:"label",children:"Sort by:"}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"name"===g,content:"Name",onClick:function(){return b("name"!==g&&"name")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"charge"===g,content:"Charge",onClick:function(){return b("charge"!==g&&"charge")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"draw"===g,content:"Draw",onClick:function(){return b("draw"!==g&&"draw")}}),(0,o.createComponentVNode)(2,d.Button.Checkbox,{checked:"problems"===g,content:"Problems",onClick:function(){return b("problems"!==g&&"problems")}})]}),(0,o.createComponentVNode)(2,d.Table,{children:[(0,o.createComponentVNode)(2,d.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,d.Table.Cell,{children:"Area"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,children:"Charge"}),(0,o.createComponentVNode)(2,d.Table.Cell,{textAlign:"right",children:"Draw"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Equipment",children:"Eqp"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Lighting",children:"Lgt"}),(0,o.createComponentVNode)(2,d.Table.Cell,{collapsing:!0,title:"Environment",children:"Env"})]}),x.map((function(e,t){return(0,o.createVNode)(1,"tr","Table__row candystripe",[(0,o.createVNode)(1,"td",null,e.name,0),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",(0,o.createComponentVNode)(2,h,{charging:e.charging,charge:e.charge}),2),(0,o.createVNode)(1,"td","Table__cell text-right text-nowrap",e.load,0),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.eqp}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.lgt}),2),(0,o.createVNode)(1,"td","Table__cell text-center text-nowrap",(0,o.createComponentVNode)(2,C,{status:e.env}),2)],4,null,e.id)}))]})]})],4)};t.PowerMonitorFocus=f;var h=function(e){var t=e.charging,n=e.charge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d.Icon,{width:"18px",textAlign:"center",name:0===t&&(n>50?"battery-half":"battery-quarter")||1===t&&"bolt"||2===t&&"battery-full",color:0===t&&(n>50?"yellow":"red")||1===t&&"yellow"||2===t&&"green"}),(0,o.createComponentVNode)(2,d.Box,{inline:!0,width:"36px",textAlign:"right",children:(0,a.toFixed)(n)+"%"})],4)};t.AreaCharge=h,h.defaultHooks=c.pureComponentHooks;var C=function(e){var t=e.status,n=Boolean(2&t),r=Boolean(1&t),i=(n?"On":"Off")+" ["+(r?"auto":"manual")+"]";return(0,o.createComponentVNode)(2,d.ColorBox,{color:n?"good":"bad",content:r?undefined:"M",title:i})};C.defaultHooks=c.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.RCONContent=t.RCON=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.RCON=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:630,height:440,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n,r=(0,i.useLocalState)(t,"tabIndex",0),c=r[0],l=r[1];return 0===c?n=(0,o.createComponentVNode)(2,d):1===c&&(n=(0,o.createComponentVNode)(2,u)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===c,onClick:function(){return l(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"power-off"})," SMESs"]},"SMESs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,onClick:function(){return l(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bolt"})," Breakers"]},"Breakers")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)};t.RCONContent=l;var d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.smes_info;return(0,o.createComponentVNode)(2,a.Section,{title:"SMESs",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:l?l.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,children:[(0,o.createComponentVNode)(2,a.Box,{mb:1,children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:.01*e.capacityPercent,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,r.round)(e.charge/6e4,1)," kWh / ",(0,r.round)(e.capacity/6e4)," kWh (",e.capacityPercent,"%)"]})}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Input",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_in_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_in_set",{smes:e.RCON_tag})}})],4),children:[e.input_val," kW - ",e.input_set?"ON":"OFF"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",onClick:function(){return c("smes_out_toggle",{smes:e.RCON_tag})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("smes_out_set",{smes:e.RCON_tag})}})],4),children:[e.output_val," kW - ",e.output_set?"ONLINE":"OFFLINE"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output Load",children:[e.output_load," kW"]})]})]},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No SMESs detected."})})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.breaker_info;return(0,o.createComponentVNode)(2,a.Section,{title:"Breakers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c?c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.RCON_tag,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Enabled":"Disabled",selected:e.enabled,color:e.enabled?null:"bad",onClick:function(){return r("toggle_breaker",{breaker:e.RCON_tag})}})},e.RCON_tag)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No breakers detected."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShutoffMonitorContent=t.ShutoffMonitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3);t.ShutoffMonitor=function(e,t){return(0,o.createComponentVNode)(2,i.Window,{width:627,height:700,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),i=n.act,c=n.data.valves;return(0,o.createComponentVNode)(2,a.Section,{title:"Valves",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Position"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Open"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Mode"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Actions"})]}),c.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e.x,", ",e.y,", ",e.z]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.open?"Yes":"No"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.enabled?"Auto":"Manual"}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.open?"Opened":"Closed",selected:e.open,disabled:!e.enabled,onClick:function(){return i("toggle_open",{valve:e.ref})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:e.enabled?"Auto":"Manual",selected:e.enabled,onClick:function(){return i("toggle_enable",{valve:e.ref})}})]})]},e.name)}))]})})};t.ShutoffMonitorContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.StationAlertConsoleContent=t.StationAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.StationAlertConsole=function(){return(0,o.createComponentVNode)(2,a.Window,{width:425,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.categories;return(void 0===c?[]:c).map((function(e){return(0,o.createComponentVNode)(2,i.Section,{title:e.category,children:(0,o.createVNode)(1,"ul",null,[0===e.alarms.length&&(0,o.createVNode)(1,"li","color-good","Systems Nominal",16),e.alarms.map((function(e){var t="";return e.has_cameras?t=(0,o.createComponentVNode)(2,i.Section,{children:e.cameras.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{disabled:e.deact,content:e.name+(e.deact?" (deactived)":""),icon:"video",onClick:function(){return a("switchTo",{camera:e.camera})}},e.name)}))}):e.lost_sources&&(t=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Lost Alarm Sources: ",e.lost_sources]})),(0,o.createVNode)(1,"li",null,[e.name,e.origin_lost?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Alarm Origin Lost."}):"",t],0,null,e.name)}))],0)},e.category)}))};t.StationAlertConsoleContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.SupermatterMonitorContent=t.SupermatterMonitor=void 0;var o=n(0),r=n(2),i=n(3),a=(n(23),n(4)),c=n(6),l=n(18);t.SupermatterMonitor=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t);n.act;return n.data.active?(0,o.createComponentVNode)(2,s):(0,o.createComponentVNode)(2,u)};t.SupermatterMonitorContent=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.supermatters;return(0,o.createComponentVNode)(2,i.Section,{title:"Supermatters Detected",buttons:(0,o.createComponentVNode)(2,i.Button,{content:"Refresh",icon:"sync",onClick:function(){return a("refresh")}}),children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,i.Section,{title:e.area_name+" (#"+e.uid+")",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:[e.integrity," %"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Options",children:(0,o.createComponentVNode)(2,i.Button,{icon:"eye",content:"View Details",onClick:function(){return a("set",{set:e.uid})}})})]})})},t)}))})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,u=d.SM_area,s=d.SM_integrity,m=d.SM_power,p=d.SM_ambienttemp,f=d.SM_ambientpressure,h=d.SM_EPR,C=d.SM_gas_O2,g=d.SM_gas_CO2,b=d.SM_gas_N2,N=d.SM_gas_PH,v=d.SM_gas_N2O;return(0,o.createComponentVNode)(2,i.Section,{title:(0,l.toTitleCase)(u),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Return to Menu",onClick:function(){return a("clear")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Core Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{animated:!0,value:s,minValue:0,maxValue:100,ranges:{good:[100,100],average:[50,100],bad:[-Infinity,50]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Relative EER",children:(0,o.createComponentVNode)(2,i.Box,{color:(m>300?"bad":m>150&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" MeV/cm\xb3"},value:m})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.Box,{color:(p>5e3?"bad":p>4e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" K"},value:p})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.Box,{color:(f>1e4?"bad":f>5e3&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)+" kPa"},value:f})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chamber EPR",children:(0,o.createComponentVNode)(2,i.Box,{color:(h>4?"bad":h>1&&"average")||"good",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{format:function(e){return(0,c.round)(e,2)},value:h})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gas Composition",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"O\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:C}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"CO\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:g}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:b}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"PH",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:N}),"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"N\xb2O",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:v}),"%"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RapidPipeDispenser=t.ICON_BY_CATEGORY_NAME=void 0;var o=n(0),r=n(9),i=n(18),a=n(2),c=n(3),l=n(4),d=["Atmospherics","Disposals"],u={Atmospherics:"wrench",Disposals:"trash-alt","Transit Tubes":"bus",Pipes:"grip-lines","Disposal Pipes":"grip-lines",Devices:"microchip","Heat Exchange":"thermometer-half","Insulated pipes":"snowflake","Station Equipment":"microchip"};t.ICON_BY_CATEGORY_NAME=u;var s=[{name:"Dispense",bitmask:1},{name:"Connect",bitmask:2},{name:"Destroy",bitmask:4},{name:"Paint",bitmask:8}];t.RapidPipeDispenser=function(e,t){var n=(0,a.useBackend)(t),m=n.act,p=n.data,f=p.category,h=p.categories,C=void 0===h?[]:h,g=p.selected_color,b=p.paint_colors,N=p.piping_layer,v=p.pipe_layers,V=p.mode,y=p.preview_rows.flatMap((function(e){return e.previews})),k=(0,a.useLocalState)(t,"categoryName"),x=k[0],_=k[1],w=C.find((function(e){return e.cat_name===x}))||C[0];return(0,o.createComponentVNode)(2,l.Window,{width:425,height:515,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.Section,{children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Category",children:d.map((function(e,t){return(0,o.createComponentVNode)(2,c.Button,{selected:f===t,icon:u[e],color:"transparent",content:e,onClick:function(){return m("category",{category:t})}},e)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Modes",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{checked:V&e.bitmask,content:e.name,onClick:function(){return m("mode",{mode:e.bitmask})}},e.bitmask)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Color",children:[(0,o.createComponentVNode)(2,c.Box,{inline:!0,width:"64px",color:b[g],children:(0,i.capitalize)(g)}),Object.keys(b).map((function(e){return(0,o.createComponentVNode)(2,c.ColorBox,{ml:1,color:b[e],onClick:function(){return m("color",{paint_color:e})}},e)}))]})]})}),(0,o.createComponentVNode)(2,c.Flex,{m:-.5,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,children:(0,o.createComponentVNode)(2,c.Section,{children:[0===f&&(0,o.createComponentVNode)(2,c.Box,{mb:1,children:Object.keys(v).map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,checked:v[e]===N,content:e,onClick:function(){return m("piping_layer",{piping_layer:v[e]})}},e)}))}),(0,o.createComponentVNode)(2,c.Box,{width:"108px",children:y.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{title:e.dir_name,selected:e.selected,style:{width:"48px",height:"48px",padding:0},onClick:function(){return m("setdir",{dir:e.dir,flipped:e.flipped})},children:(0,o.createComponentVNode)(2,c.Box,{className:(0,r.classes)(["pipes32x32",e.dir+"-"+e.icon_state]),style:{transform:"scale(1.5) translate(17%, 17%)"}})},e.dir)}))})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{m:.5,grow:1,children:(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.Tabs,{children:C.map((function(e,t){return(0,o.createComponentVNode)(2,c.Tabs.Tab,{fluid:!0,icon:u[e.cat_name],selected:e.cat_name===w.cat_name,onClick:function(){return _(e.cat_name)},children:e.cat_name},e.cat_name)}))}),null==w?void 0:w.recipes.map((function(e){return(0,o.createComponentVNode)(2,c.Button.Checkbox,{fluid:!0,ellipsis:!0,checked:e.selected,content:e.pipe_name,title:e.pipe_name,onClick:function(){return m("pipe_type",{pipe_type:e.pipe_index,category:w.cat_name})}},e.pipe_index)}))]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableBasicInfo=void 0;var o=n(0),r=n(2),i=n(3);t.PortableBasicInfo=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.connected,d=c.holding,u=c.on,s=c.pressure,m=c.powerDraw,p=c.cellCharge,f=c.cellMaxCharge;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"power-off":"times",content:u?"On":"Off",selected:u,onClick:function(){return a("power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Port",color:l?"good":"average",children:l?"Connected":"Not Connected"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:[m," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cell Charge",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:p,minValue:0,maxValue:f,ranges:{good:[.5*f,Infinity],average:[.25*f,.5*f],bad:[-Infinity,.25*f]},children:[p," W"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Holding Tank",minHeight:"82px",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!d,onClick:function(){return a("eject")}}),children:d?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d.pressure})," kPa"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No holding tank"})})],4)}},function(e,t,n){e.exports=n(192)},function(e,t,n){"use strict";n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(218),n(220),n(221),n(222),n(146),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(239),n(240),n(241),n(242),n(243),n(245),n(246),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(277),n(278),n(279),n(280),n(281),n(282),n(284),n(285),n(287),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(313),n(314),n(315),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(163),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405);var o=n(0);n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(421);var r=n(168),i=(n(169),n(2)),a=n(170),c=n(27),l=n(172); /** * @file * @copyright 2020 Aleksej Komarov * @license MIT */ -r.perf.mark("inception",window.__inception__),r.perf.mark("init");var d,u=(0,l.createStore)(),s=!0,m=function(){for(u.subscribe((function(){!function(){r.perf.mark("render/start");var e=u.getState(),t=(0,i.selectBackend)(e),m=t.suspended;t.assets;s&&(c.logger.log("initial render",e),"recycled"!==s&&(0,a.setupDrag)());var p=(0,n(428).getRoutedComponent)(e),f=(0,o.createComponentVNode)(2,l.StoreProvider,{store:u,children:(0,o.createComponentVNode)(2,p)});d||(d=document.getElementById("react-root")),(0,o.render)(f,d),m||(r.perf.mark("render/finish"),s&&(s=!1))}()})),window.update=function(e){var t=(0,i.selectBackend)(u.getState()).suspended,n="string"==typeof e?function(e){var t=function(e,t){return"object"==typeof t&&null!==t&&t.__number__?parseFloat(t.__number__):t};Byond.IS_LTE_IE8&&(t=undefined);try{return JSON.parse(e,t)}catch(o){c.logger.log(o),c.logger.log("What we got:",e);var n=o&&o.message;throw new Error("JSON parsing error: "+n)}}(e):e;c.logger.debug("received message '"+(null==n?void 0:n.type)+"'");var o=n.type,r=n.payload;if("update"===o)return window.__ref__=r.config.ref,t&&(c.logger.log("resuming"),s="recycled"),void u.dispatch((0,i.backendUpdate)(r));"suspend"!==o?"ping"!==o?u.dispatch(n):(0,i.sendMessage)({type:"pingReply"}):u.dispatch((0,i.backendSuspendSuccess)())};;){var e=window.__updateQueue__.shift();if(!e)break;window.update(e)}};window.__logger__={fatal:function(e,t){var n=(0,i.selectBackend)(u.getState()),o={config:n.config,suspended:n.suspended,suspending:n.suspending};return c.logger.log("FatalError:",e||t),c.logger.log("State:",o),t+="\nState: "+JSON.stringify(o)}},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",m):m()},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(40),a=n(41),c=n(10),l=n(100),d=n(136),u=n(5),s=n(19),m=n(57),p=n(8),f=n(11),h=n(16),C=n(27),g=n(37),b=n(50),N=n(45),v=n(67),V=n(51),y=n(139),_=n(99),x=n(21),k=n(15),w=n(75),L=n(32),B=n(24),S=n(96),I=n(76),E=n(64),T=n(63),A=n(14),O=n(140),M=n(28),P=n(46),F=n(38),D=n(20).forEach,R=I("hidden"),j=A("toPrimitive"),z=F.set,W=F.getterFor("Symbol"),U=Object.prototype,K=r.Symbol,H=i("JSON","stringify"),G=x.f,Y=k.f,q=y.f,$=w.f,X=S("symbols"),J=S("op-symbols"),Z=S("string-to-symbol-registry"),Q=S("symbol-to-string-registry"),ee=S("wks"),te=r.QObject,ne=!te||!te.prototype||!te.prototype.findChild,oe=c&&u((function(){return 7!=N(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=G(U,t);o&&delete U[t],Y(e,t,n),o&&e!==U&&Y(U,t,o)}:Y,re=function(e,t){var n=X[e]=N(K.prototype);return z(n,{type:"Symbol",tag:e,description:t}),c||(n.description=t),n},ie=d?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof K},ae=function(e,t,n){e===U&&ae(J,t,n),f(e);var o=g(t,!0);return f(n),s(X,o)?(n.enumerable?(s(e,R)&&e[R][o]&&(e[R][o]=!1),n=N(n,{enumerable:b(0,!1)})):(s(e,R)||Y(e,R,b(1,{})),e[R][o]=!0),oe(e,o,n)):Y(e,o,n)},ce=function(e,t){f(e);var n=C(t),o=v(n).concat(me(n));return D(o,(function(t){c&&!de.call(n,t)||ae(e,t,n[t])})),e},le=function(e,t){return t===undefined?N(e):ce(N(e),t)},de=function(e){var t=g(e,!0),n=$.call(this,t);return!(this===U&&s(X,t)&&!s(J,t))&&(!(n||!s(this,t)||!s(X,t)||s(this,R)&&this[R][t])||n)},ue=function(e,t){var n=C(e),o=g(t,!0);if(n!==U||!s(X,o)||s(J,o)){var r=G(n,o);return!r||!s(X,o)||s(n,R)&&n[R][o]||(r.enumerable=!0),r}},se=function(e){var t=q(C(e)),n=[];return D(t,(function(e){s(X,e)||s(E,e)||n.push(e)})),n},me=function(e){var t=e===U,n=q(t?J:C(e)),o=[];return D(n,(function(e){!s(X,e)||t&&!s(U,e)||o.push(X[e])})),o};(l||(B((K=function(){if(this instanceof K)throw TypeError("Symbol is not a constructor");var e=arguments.length&&arguments[0]!==undefined?String(arguments[0]):undefined,t=T(e),n=function o(e){this===U&&o.call(J,e),s(this,R)&&s(this[R],t)&&(this[R][t]=!1),oe(this,t,b(1,e))};return c&&ne&&oe(U,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return W(this).tag})),B(K,"withoutSetter",(function(e){return re(T(e),e)})),w.f=de,k.f=ae,x.f=ue,V.f=y.f=se,_.f=me,O.f=function(e){return re(A(e),e)},c&&(Y(K.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||B(U,"propertyIsEnumerable",de,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:K}),D(v(ee),(function(e){M(e)})),o({target:"Symbol",stat:!0,forced:!l},{"for":function(e){var t=String(e);if(s(Z,t))return Z[t];var n=K(t);return Z[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(s(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),o({target:"Object",stat:!0,forced:!l,sham:!c},{create:le,defineProperty:ae,defineProperties:ce,getOwnPropertyDescriptor:ue}),o({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:se,getOwnPropertySymbols:me}),o({target:"Object",stat:!0,forced:u((function(){_.f(1)}))},{getOwnPropertySymbols:function(e){return _.f(h(e))}}),H)&&o({target:"JSON",stat:!0,forced:!l||u((function(){var e=K();return"[null]"!=H([e])||"{}"!=H({a:e})||"{}"!=H(Object(e))}))},{stringify:function(e,t,n){for(var o,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(o=t,(p(t)||e!==undefined)&&!ie(e))return m(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,H.apply(null,r)}});K.prototype[j]||L(K.prototype,j,K.prototype.valueOf),P(K,"Symbol"),E[R]=!0},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(7),a=n(19),c=n(8),l=n(15).f,d=n(133),u=i.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||u().description!==undefined)){var s={},m=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof m?new u(e):e===undefined?u():u(e);return""===e&&(s[t]=!0),t};d(m,u);var p=m.prototype=u.prototype;p.constructor=m;var f=p.toString,h="Symbol(test)"==String(u("test")),C=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=f.call(e);if(a(s,e))return"";var n=h?t.slice(7,-1):t.replace(C,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:m})}},function(e,t,n){"use strict";n(28)("asyncIterator")},function(e,t,n){"use strict";n(28)("hasInstance")},function(e,t,n){"use strict";n(28)("isConcatSpreadable")},function(e,t,n){"use strict";n(28)("iterator")},function(e,t,n){"use strict";n(28)("match")},function(e,t,n){"use strict";n(28)("replace")},function(e,t,n){"use strict";n(28)("search")},function(e,t,n){"use strict";n(28)("species")},function(e,t,n){"use strict";n(28)("split")},function(e,t,n){"use strict";n(28)("toPrimitive")},function(e,t,n){"use strict";n(28)("toStringTag")},function(e,t,n){"use strict";n(28)("unscopables")},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(57),a=n(8),c=n(16),l=n(13),d=n(53),u=n(68),s=n(69),m=n(14),p=n(101),f=m("isConcatSpreadable"),h=p>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),C=s("concat"),g=function(e){if(!a(e))return!1;var t=e[f];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!h||!C},{concat:function(e){var t,n,o,r,i,a=c(this),s=u(a,0),m=0;for(t=-1,o=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");d(s,m++,i)}return s.length=m,s}})},function(e,t,n){"use strict";var o=n(1),r=n(141),i=n(47);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},function(e,t,n){"use strict";var o=n(1),r=n(20).every,i=n(42),a=n(25),c=i("every"),l=a("every");o({target:"Array",proto:!0,forced:!c||!l},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(102),i=n(47);o({target:"Array",proto:!0},{fill:r}),i("fill")},function(e,t,n){"use strict";var o=n(1),r=n(20).filter,i=n(69),a=n(25),c=i("filter"),l=a("filter");o({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(20).find,i=n(47),a=n(25),c=!0,l=a("find");"find"in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("find")},function(e,t,n){"use strict";var o=n(1),r=n(20).findIndex,i=n(47),a=n(25),c=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("findIndex")},function(e,t,n){"use strict";var o=n(1),r=n(142),i=n(16),a=n(13),c=n(33),l=n(68);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=l(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},function(e,t,n){"use strict";var o=n(1),r=n(142),i=n(16),a=n(13),c=n(34),l=n(68);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},function(e,t,n){"use strict";var o=n(1),r=n(217);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){"use strict";var o=n(20).forEach,r=n(42),i=n(25),a=r("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},function(e,t,n){"use strict";var o=n(1),r=n(219);o({target:"Array",stat:!0,forced:!n(79)((function(e){Array.from(e)}))},{from:r})},function(e,t,n){"use strict";var o=n(52),r=n(16),i=n(143),a=n(103),c=n(13),l=n(53),d=n(104);e.exports=function(e){var t,n,u,s,m,p,f=r(e),h="function"==typeof this?this:Array,C=arguments.length,g=C>1?arguments[1]:undefined,b=g!==undefined,N=d(f),v=0;if(b&&(g=o(g,C>2?arguments[2]:undefined,2)),N==undefined||h==Array&&a(N))for(n=new h(t=c(f.length));t>v;v++)p=b?g(f[v],v):f[v],l(n,v,p);else for(m=(s=N.call(f)).next,n=new h;!(u=m.call(s)).done;v++)p=b?i(s,g,[u.value,v],!0):u.value,l(n,v,p);return n.length=v,n}},function(e,t,n){"use strict";var o=n(1),r=n(65).includes,i=n(47);o({target:"Array",proto:!0,forced:!n(25)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},function(e,t,n){"use strict";var o=n(1),r=n(65).indexOf,i=n(42),a=n(25),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,d=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!d||!u},{indexOf:function(e){return l?c.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";n(1)({target:"Array",stat:!0},{isArray:n(57)})},function(e,t,n){"use strict";var o=n(145).IteratorPrototype,r=n(45),i=n(50),a=n(46),c=n(70),l=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,d,!1,!0),c[d]=l,e}},function(e,t,n){"use strict";var o=n(1),r=n(62),i=n(27),a=n(42),c=[].join,l=r!=Object,d=a("join",",");o({target:"Array",proto:!0,forced:l||!d},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},function(e,t,n){"use strict";var o=n(1),r=n(147);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(e,t,n){"use strict";var o=n(1),r=n(20).map,i=n(69),a=n(25),c=i("map"),l=a("map");o({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(53);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var o=n(1),r=n(80).left,i=n(42),a=n(25),c=i("reduce"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(80).right,i=n(42),a=n(25),c=i("reduceRight"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(57),a=n(44),c=n(13),l=n(27),d=n(53),u=n(14),s=n(69),m=n(25),p=s("slice"),f=m("slice",{ACCESSORS:!0,0:0,1:2}),h=u("species"),C=[].slice,g=Math.max;o({target:"Array",proto:!0,forced:!p||!f},{slice:function(e,t){var n,o,u,s=l(this),m=c(s.length),p=a(e,m),f=a(t===undefined?m:t,m);if(i(s)&&("function"!=typeof(n=s.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[h])&&(n=undefined):n=undefined,n===Array||n===undefined))return C.call(s,p,f);for(o=new(n===undefined?Array:n)(g(f-p,0)),u=0;p1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(34),i=n(16),a=n(5),c=n(42),l=[],d=l.sort,u=a((function(){l.sort(undefined)})),s=a((function(){l.sort(null)})),m=c("sort");o({target:"Array",proto:!0,forced:u||!s||!m},{sort:function(e){return e===undefined?d.call(i(this)):d.call(i(this),r(e))}})},function(e,t,n){"use strict";n(58)("Array")},function(e,t,n){"use strict";var o=n(1),r=n(44),i=n(33),a=n(13),c=n(16),l=n(68),d=n(53),u=n(69),s=n(25),m=u("splice"),p=s("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min;o({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var n,o,u,s,m,p,C=c(this),g=a(C.length),b=r(e,g),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=g-b):(n=N-2,o=h(f(i(t),0),g-b)),g+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(C,o),s=0;sg-o+n;s--)delete C[s-1]}else if(n>o)for(s=g-o;s>b;s--)p=s+n-1,(m=s+o-1)in C?C[p]=C[m]:delete C[p];for(s=0;s>1,h=23===t?r(2,-24)-r(2,-77):0,C=e<0||0===e&&1/e<0?1:0,g=0;for((e=o(e))!=e||e===1/0?(d=e!=e?1:0,l=p):(l=i(a(e)/c),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+f>=1?h/u:h*r(2,1-f))*u>=2&&(l++,u/=2),l+f>=p?(d=0,l=p):l+f>=1?(d=(e*u-1)*r(2,t),l+=f):(d=e*r(2,f-1)*r(2,t),l=0));t>=8;s[g++]=255&d,d/=256,t-=8);for(l=l<0;s[g++]=255&l,l/=256,m-=8);return s[--g]|=128*C,s},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<>1,l=i-7,d=o-1,u=e[d--],s=127&u;for(u>>=7;l>0;s=256*s+e[d],d--,l-=8);for(n=s&(1<<-l)-1,s>>=-l,l+=t;l>0;n=256*n+e[d],d--,l-=8);if(0===s)s=1-c;else{if(s===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),s-=c}return(u?-1:1)*n*r(2,s-t)}}},function(e,t,n){"use strict";var o=n(1),r=n(12);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(81),a=n(11),c=n(44),l=n(13),d=n(48),u=i.ArrayBuffer,s=i.DataView,m=u.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new u(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(m!==undefined&&t===undefined)return m.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(d(this,u))(l(r-o)),p=new s(this),f=new s(i),h=0;o9999?"+":"";return n+r(i(e),n?6:4,0)+"-"+r(this.getUTCMonth()+1,2,0)+"-"+r(this.getUTCDate(),2,0)+"T"+r(this.getUTCHours(),2,0)+":"+r(this.getUTCMinutes(),2,0)+":"+r(this.getUTCSeconds(),2,0)+"."+r(t,3,0)+"Z"}:l},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(37);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){"use strict";var o=n(32),r=n(247),i=n(14)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},function(e,t,n){"use strict";var o=n(11),r=n(37);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(o(this),"number"!==e)}},function(e,t,n){"use strict";var o=n(24),r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&o(r,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){"use strict";n(1)({target:"Function",proto:!0},{bind:n(149)})},function(e,t,n){"use strict";var o=n(8),r=n(15),i=n(39),a=n(14)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var o=n(10),r=n(15).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;o&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var o=n(7);n(46)(o.JSON,"JSON",!0)},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(151),i=Math.acosh,a=Math.log,c=Math.sqrt,l=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:r(e-1+c(e-1)*c(e+1))}})},function(e,t,n){"use strict";var o=n(1),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},function(e,t,n){"use strict";var o=n(1),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){"use strict";var o=n(1),r=n(111),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},function(e,t,n){"use strict";var o=n(1),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},function(e,t,n){"use strict";var o=n(1),r=n(84),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(84);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{fround:n(262)})},function(e,t,n){"use strict";var o=n(111),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),l=i(2,127)*(2-c),d=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),u=o(e);return il||n!=n?u*Infinity:u*n}},function(e,t,n){"use strict";var o=n(1),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,l=arguments.length,d=0;c0?(o=n/d)*o:n;return d===Infinity?Infinity:d*a(r)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,o=+t,r=65535&n,i=65535&o;return 0|r*i+((65535&n>>>16)*i+r*(65535&o>>>16)<<16>>>0)}})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{log1p:n(151)})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{sign:n(111)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(84),a=Math.abs,c=Math.exp,l=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(l/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(84),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){"use strict";n(46)(Math,"Math",!0)},function(e,t,n){"use strict";var o=n(1),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(24),c=n(19),l=n(36),d=n(83),u=n(37),s=n(5),m=n(45),p=n(51).f,f=n(21).f,h=n(15).f,C=n(60).trim,g=r.Number,b=g.prototype,N="Number"==l(m(b)),v=function(e){var t,n,o,r,i,a,c,l,d=u(e,!1);if("string"==typeof d&&d.length>2)if(43===(t=(d=C(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+d}for(a=(i=d.slice(2)).length,c=0;cr)return NaN;return parseInt(i,o)}return+d};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var V,y=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof y&&(N?s((function(){b.valueOf.call(n)})):"Number"!=l(n))?d(new g(v(t)),n,y):v(t)},_=o?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)c(g,V=_[x])&&!c(y,V)&&h(y,V,f(g,V));y.prototype=b,b.constructor=y,a(r,"Number",y)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isFinite:n(276)})},function(e,t,n){"use strict";var o=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isInteger:n(152)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";var o=n(1),r=n(152),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){"use strict";var o=n(1),r=n(283);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(85),a=o.parseFloat,c=1/a(i+"-0")!=-Infinity;e.exports=c?function(e){var t=r(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){"use strict";var o=n(1),r=n(153);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o=n(1),r=n(33),i=n(286),a=n(110),c=n(5),l=1..toFixed,d=Math.floor,u=function s(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)};o({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,o,c,l=i(this),s=r(e),m=[0,0,0,0,0,0],p="",f="0",h=function(e,t){for(var n=-1,o=t;++n<6;)o+=e*m[n],m[n]=o%1e7,o=d(o/1e7)},C=function(e){for(var t=6,n=0;--t>=0;)n+=m[t],m[t]=d(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==m[e]){var n=String(m[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),o=s;o>=7;)h(1e7,0),o-=7;for(h(u(10,o,1),0),o=t-1;o>=23;)C(1<<23),o-=23;C(1<0?p+((c=f.length)<=s?"0."+a.call("0",s-c)+f:f.slice(0,c-s)+"."+f.slice(c-s)):p+f}})},function(e,t,n){"use strict";var o=n(36);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var o=n(1),r=n(288);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(67),a=n(99),c=n(75),l=n(16),d=n(62),u=Object.assign,s=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,s=a.f,m=c.f;r>u;)for(var p,f=d(arguments[u++]),h=s?i(f).concat(s(f)):i(f),C=h.length,g=0;C>g;)p=h[g++],o&&!m.call(f,p)||(n[p]=f[p]);return n}:u},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0,sham:!n(10)},{create:n(45)})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(137)})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(15).f})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(154).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(72),i=n(5),a=n(8),c=n(55).onFreeze,l=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!r},{freeze:function(e){return l&&a(e)?l(c(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(73),i=n(53);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),undefined,!0),t}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(27),a=n(21).f,c=n(10),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(97),a=n(27),c=n(21),l=n(53);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,d=i(o),u={},s=0;d.length>s;)(n=r(o,t=d[s++]))!==undefined&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(139).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(39),c=n(107);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{is:n(155)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(16),i=n(67);o({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(86),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.set}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.seal;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{seal:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{setPrototypeOf:n(54)})},function(e,t,n){"use strict";var o=n(105),r=n(24),i=n(312);o||r(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var o=n(105),r=n(78);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(1),r=n(154).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(153);o({global:!0,forced:parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o,r,i,a,c=n(1),l=n(41),d=n(7),u=n(40),s=n(156),m=n(24),p=n(71),f=n(46),h=n(58),C=n(8),g=n(34),b=n(59),N=n(36),v=n(95),V=n(73),y=n(79),_=n(48),x=n(112).set,k=n(158),w=n(159),L=n(316),B=n(160),S=n(317),I=n(38),E=n(66),T=n(14),A=n(101),O=T("species"),M="Promise",P=I.get,F=I.set,D=I.getterFor(M),R=s,j=d.TypeError,z=d.document,W=d.process,U=u("fetch"),K=B.f,H=K,G="process"==N(W),Y=!!(z&&z.createEvent&&d.dispatchEvent),q=E(M,(function(){if(!(v(R)!==String(R))){if(66===A)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!R.prototype["finally"])return!0;if(A>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[O]=t,!(e.then((function(){}))instanceof t)})),$=q||!y((function(e){R.all(e)["catch"]((function(){}))})),X=function(e){var t;return!(!C(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;k((function(){for(var r=t.value,i=1==t.state,a=0;o.length>a;){var c,l,d,u=o[a++],s=i?u.ok:u.fail,m=u.resolve,p=u.reject,f=u.domain;try{s?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===s?c=r:(f&&f.enter(),c=s(r),f&&(f.exit(),d=!0)),c===u.promise?p(j("Promise-chain cycle")):(l=X(c))?l.call(c,m,p):m(c)):p(r)}catch(h){f&&!d&&f.exit(),p(h)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Q(e,t)}))}},Z=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),d.dispatchEvent(o)):o={promise:t,reason:n},(r=d["on"+e])?r(o):"unhandledrejection"===e&&L("Unhandled promise rejection",n)},Q=function(e,t){x.call(d,(function(){var n,o=t.value;if(ee(t)&&(n=S((function(){G?W.emit("unhandledRejection",o,e):Z("unhandledrejection",e,o)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){x.call(d,(function(){G?W.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,o){return function(r){e(t,n,r,o)}},oe=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},re=function ie(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw j("Promise can't be resolved itself");var r=X(n);r?k((function(){var o={done:!1};try{r.call(n,ne(ie,e,o,t),ne(oe,e,o,t))}catch(i){oe(e,o,i,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};q&&(R=function(e){b(this,R,M),g(e),o.call(this);var t=P(this);try{e(ne(re,this,t),ne(oe,this,t))}catch(n){oe(this,t,n)}},(o=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=p(R.prototype,{then:function(e,t){var n=D(this),o=K(_(this,R));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=G?W.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=P(e);this.promise=e,this.resolve=ne(re,e,t),this.reject=ne(oe,e,t)},B.f=K=function(e){return e===R||e===i?new r(e):H(e)},l||"function"!=typeof s||(a=s.prototype.then,m(s.prototype,"then",(function(e,t){var n=this;return new R((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w(R,U.apply(d,arguments))}}))),c({global:!0,wrap:!0,forced:q},{Promise:R}),f(R,M,!1,!0),h(M),i=u(M),c({target:M,stat:!0,forced:q},{reject:function(e){var t=K(this);return t.reject.call(undefined,e),t.promise}}),c({target:M,stat:!0,forced:l||q},{resolve:function(e){return w(l&&this===i?R:this,e)}}),c({target:M,stat:!0,forced:$},{all:function(e){var t=this,n=K(t),o=n.resolve,r=n.reject,i=S((function(){var n=g(t.resolve),i=[],a=0,c=1;V(e,(function(e){var l=a++,d=!1;i.push(undefined),c++,n.call(t,e).then((function(e){d||(d=!0,i[l]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=K(t),o=n.reject,r=S((function(){var r=g(t.resolve);V(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},function(e,t,n){"use strict";var o=n(7);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){"use strict";var o=n(1),r=n(41),i=n(156),a=n(5),c=n(40),l=n(48),d=n(159),u=n(24);o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=l(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return d(t,e()).then((function(){return n}))}:e,n?function(n){return d(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof i||i.prototype["finally"]||u(i.prototype,"finally",c("Promise").prototype["finally"])},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(5),l=r("Reflect","apply"),d=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):d.call(e,t,n)}})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(8),l=n(45),d=n(149),u=n(5),s=r("Reflect","construct"),m=u((function(){function e(){}return!(s((function(){}),[],e)instanceof e)})),p=!u((function(){s((function(){}))})),f=m||p;o({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!m)return s(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(d.apply(e,o))}var r=n.prototype,u=l(c(r)?r:Object.prototype),f=Function.apply.call(e,u,t);return c(f)?f:u}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(37),c=n(15);o({target:"Reflect",stat:!0,forced:n(5)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t,!0);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(21).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(11),a=n(19),c=n(21),l=n(39);o({target:"Reflect",stat:!0},{get:function d(e,t){var n,o,u=arguments.length<3?e:arguments[2];return i(e)===u?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(u):r(o=l(e))?d(o,t,u):void 0}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(21);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(39);o({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{ownKeys:n(97)})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(11);o({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(8),a=n(19),c=n(5),l=n(15),d=n(21),u=n(39),s=n(50);o({target:"Reflect",stat:!0,forced:c((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function m(e,t,n){var o,c,p=arguments.length<4?e:arguments[3],f=d.f(r(e),t);if(!f){if(i(c=u(e)))return m(c,t,n,p);f=s(0)}if(a(f,"value")){if(!1===f.writable||!i(p))return!1;if(o=d.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,l.f(p,t,o)}else l.f(p,t,s(0,n));return!0}return f.set!==undefined&&(f.set.call(p,n),!0)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(146),a=n(54);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(83),c=n(15).f,l=n(51).f,d=n(113),u=n(87),s=n(114),m=n(24),p=n(5),f=n(38).set,h=n(58),C=n(14)("match"),g=r.RegExp,b=g.prototype,N=/a/g,v=/a/g,V=new g(N)!==N,y=s.UNSUPPORTED_Y;if(o&&i("RegExp",!V||y||p((function(){return v[C]=!1,g(N)!=N||g(v)==v||"/a/i"!=g(N,"i")})))){for(var _=function(e,t){var n,o=this instanceof _,r=d(e),i=t===undefined;if(!o&&r&&e.constructor===_&&i)return e;V?r&&!i&&(e=e.source):e instanceof _&&(i&&(t=u.call(e)),e=e.source),y&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(V?new g(e,t):g(e,t),o?this:b,_);return y&&n&&f(c,{sticky:n}),c},x=function(e){e in _||c(_,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},k=l(g),w=0;k.length>w;)x(k[w++]);b.constructor=_,_.prototype=b,m(r,"RegExp",_)}h("RegExp")},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(87),a=n(114).UNSUPPORTED_Y;o&&("g"!=/./g.flags||a)&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var o=n(24),r=n(11),i=n(5),a=n(87),c=RegExp.prototype,l=c.toString,d=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(d||u)&&o(RegExp.prototype,"toString",(function(){var e=r(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(n===undefined&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var o=n(82),r=n(150);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(115).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var o,r=n(1),i=n(21).f,a=n(13),c=n(116),l=n(23),d=n(117),u=n(41),s="".endsWith,m=Math.min,p=d("endsWith");r({target:"String",proto:!0,forced:!!(u||p||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!p},{endsWith:function(e){var t=String(l(this));c(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:m(a(n),o),i=String(e);return s?s.call(t,i,r):t.slice(r-i.length,r)===i}})},function(e,t,n){"use strict";var o=n(1),r=n(44),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var o=n(1),r=n(116),i=n(23);o({target:"String",proto:!0,forced:!n(117)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(115).charAt,r=n(38),i=n(106),a=r.set,c=r.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(13),a=n(23),c=n(118),l=n(90);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),d=String(this);if(!a.global)return l(a,d);var u=a.unicode;a.lastIndex=0;for(var s,m=[],p=0;null!==(s=l(a,d));){var f=String(s[0]);m[p]=f,""===f&&(a.lastIndex=c(d,i(a.lastIndex),u)),p++}return 0===p?null:m}]}))},function(e,t,n){"use strict";var o=n(1),r=n(109).end;o({target:"String",proto:!0,forced:n(162)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(109).start;o({target:"String",proto:!0,forced:n(162)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(27),i=n(13);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c]*>)/g,h=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var C=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=o.REPLACE_KEEPS_$0,b=C?"$":"$0";return[function(n,o){var r=l(this),i=n==undefined?undefined:n[e];return i!==undefined?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!C&&g||"string"==typeof o&&-1===o.indexOf(b)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),p=String(this),f="function"==typeof o;f||(o=String(o));var h=l.global;if(h){var v=l.unicode;l.lastIndex=0}for(var V=[];;){var y=u(l,p);if(null===y)break;if(V.push(y),!h)break;""===String(y[0])&&(l.lastIndex=d(p,a(l.lastIndex),v))}for(var _,x="",k=0,w=0;w=k&&(x+=p.slice(k,B)+A,k=B+L.length)}return x+p.slice(k)}];function N(e,n,o,r,a,c){var l=o+e.length,d=r.length,u=h;return a!==undefined&&(a=i(a),u=f),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>d){var s=p(u/10);return 0===s?t:s<=d?r[s-1]===undefined?i.charAt(1):r[s-1]+i.charAt(1):t}c=r[u-1]}return c===undefined?"":c}))}}))},function(e,t,n){"use strict";var o=n(89),r=n(11),i=n(23),a=n(155),c=n(90);o("search",1,(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var i=r(e),l=String(this),d=i.lastIndex;a(d,0)||(i.lastIndex=0);var u=c(i,l);return a(i.lastIndex,d)||(i.lastIndex=d),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var o=n(89),r=n(113),i=n(11),a=n(23),c=n(48),l=n(118),d=n(13),u=n(90),s=n(88),m=n(5),p=[].push,f=Math.min,h=!m((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=n===undefined?4294967295:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,d,u=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=new RegExp(e.source,m+"g");(c=s.call(h,o))&&!((l=h.lastIndex)>f&&(u.push(o.slice(f,c.index)),c.length>1&&c.index=i));)h.lastIndex===c.index&&h.lastIndex++;return f===o.length?!d&&h.test("")||u.push(""):u.push(o.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var s=i(e),m=String(this),p=c(s,RegExp),C=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),b=new p(h?s:"^(?:"+s.source+")",g),N=r===undefined?4294967295:r>>>0;if(0===N)return[];if(0===m.length)return null===u(b,m)?[m]:[];for(var v=0,V=0,y=[];V1?arguments[1]:undefined,t.length)),o=String(e);return s?s.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var o=n(1),r=n(60).trim;o({target:"String",proto:!0,forced:n(119)("trim")},{trim:function(){return r(this)}})},function(e,t,n){"use strict";var o=n(1),r=n(60).end,i=n(119)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var o=n(1),r=n(60).start,i=n(119)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("big")},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("blink")},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("bold")},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("italics")},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("link")},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("small")},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("strike")},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("sub")},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(29);o({target:"String",proto:!0,forced:n(30)("sup")},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){"use strict";n(43)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(33);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n(43)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},function(e,t,n){"use strict";n(43)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(12),r=n(141),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(102),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).filter,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("filter",(function(e){for(var t=r(a(this),e,arguments.length>1?arguments[1]:undefined),n=i(this,this.constructor),o=0,l=t.length,d=new(c(n))(l);l>o;)d[o]=t[o++];return d}))},function(e,t,n){"use strict";var o=n(12),r=n(20).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(120);(0,n(12).exportTypedArrayStaticMethod)("from",n(164),o)},function(e,t,n){"use strict";var o=n(12),r=n(65).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(65).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(144),a=n(14)("iterator"),c=o.Uint8Array,l=i.values,d=i.keys,u=i.entries,s=r.aTypedArray,m=r.exportTypedArrayMethod,p=c&&c.prototype[a],f=!!p&&("values"==p.name||p.name==undefined),h=function(){return l.call(s(this))};m("entries",(function(){return u.call(s(this))})),m("keys",(function(){return d.call(s(this))})),m("values",h,!f),m(a,h,!f)},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(147),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).map,i=n(48),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var o=n(12),r=n(120),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},function(e,t,n){"use strict";var o=n(12),r=n(80).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(80).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=r(this).length,n=a(t/2),o=0;o1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),d=0;if(c+t>n)throw RangeError("Wrong length");for(;di;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var o=n(12),r=n(20).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(r(this),e)}))},function(e,t,n){"use strict";var o=n(12),r=n(13),i=n(44),a=n(48),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,l=i(e,o);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-l))}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(5),a=o.Int8Array,c=r.aTypedArray,l=r.exportTypedArrayMethod,d=[].toLocaleString,u=[].slice,s=!!a&&i((function(){d.call(new a(1))}));l("toLocaleString",(function(){return d.apply(s?u.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var o=n(12).exportTypedArrayMethod,r=n(5),i=n(7).Uint8Array,a=i&&i.prototype||{},c=[].toString,l=[].join;r((function(){c.call({})}))&&(c=function(){return l.call(this)});var d=a.toString!=c;o("toString",c,d)},function(e,t,n){"use strict";var o,r=n(7),i=n(71),a=n(55),c=n(82),l=n(165),d=n(8),u=n(38).enforce,s=n(132),m=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",f,l);if(s&&m){o=l.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var C=h.prototype,g=C["delete"],b=C.has,N=C.get,v=C.set;i(C,{"delete":function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)?N.call(this,e):t.frozen.get(e)}return N.call(this,e)},set:function(e,t){if(d(e)&&!p(e)){var n=u(this);n.frozen||(n.frozen=new o),b.call(this,e)?v.call(this,e,t):n.frozen.set(e,t)}else v.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(82)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(165))},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(112);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(158),a=n(36),c=r.process,l="process"==a(c);o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&c.domain;i(t?t.bind(e):e)}})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(77),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";t.__esModule=!0,t._CI=Be,t._HI=F,t._M=Se,t._MCCC=Ae,t._ME=Ee,t._MFCC=Oe,t._MP=we,t._MR=be,t.__render=Re,t.createComponentVNode=function(e,t,n,o,r){var a=new S(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(i(o))return n;if(i(n))return u(o,null);return L(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(i(o))return n;if(i(n))return o;return L(n,o)}(e,t,r),t);x.createVNode&&x.createVNode(a);return a},t.createFragment=T,t.createPortal=function(e,t){var n=F(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),je(n,e,o,r)}},t.createTextVNode=E,t.createVNode=I,t.directClone=A,t.findDOMfromVNode=N,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(c(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&i(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?u(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=je,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var o=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function i(e){return null==e}function a(e){return null===e||!1===e||!0===e||void 0===e}function c(e){return"function"==typeof e}function l(e){return"string"==typeof e}function d(e){return null===e}function u(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!d(e)&&"object"==typeof e}var m={};t.EMPTY_OBJ=m;function p(e){return e.substr(2).toLowerCase()}function f(e,t){e.appendChild(t)}function h(e,t,n){d(n)?f(e,t):e.insertBefore(t,n)}function C(e,t){e.removeChild(t)}function g(e){for(var t=0;t0,f=d(m),h=l(m)&&"$"===m[0];p||f||h?(n=n||t.slice(0,u),(p||h)&&(s=A(s)),(f||h)&&(s.key="$"+u),n.push(s)):n&&n.push(s),s.flags|=65536}}i=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=A(t)),i=2;return e.children=n,e.childFlags=i,e}function F(e){return a(e)||r(e)?E(e,null):o(e)?T(e,0,null):16384&e.flags?A(e):e}var D="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":D,"xlink:arcrole":D,"xlink:href":D,"xlink:role":D,"xlink:show":D,"xlink:title":D,"xlink:type":D,"xml:base":R,"xml:lang":R,"xml:space":R};function z(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var W=z(0),U=z(null),K=z(!0);function H(e,t){var n=t.$EV;return n||(n=t.$EV=z(null)),n[e]||1==++W[e]&&(U[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?Y(t,!0,e,J(t)):t.stopPropagation()}}(e):function(e){return function(t){Y(t,!1,e,J(t))}}(e);return document.addEventListener(p(e),t),t}(e)),n}function G(e,t){var n=t.$EV;n&&n[e]&&(0==--W[e]&&(document.removeEventListener(p(e),U[e]),U[e]=null),n[e]=null)}function Y(e,t,n,o){var r=function(e){return c(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var a=i[n];if(a&&(o.dom=r,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}r=r.parentNode}while(!d(r))}function q(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function $(){return this.defaultPrevented}function X(){return this.cancelBubble}function J(e){var t={dom:document};return e.isDefaultPrevented=$,e.isPropagationStopped=X,e.stopPropagation=q,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Z(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Q(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||m,i=o.dom;if(l(e))Z(r,e,n);else for(var a=0;a-1&&t.options[a]&&(c=t.options[a].value),n&&i(c)&&(c=e.defaultValue),ae(o,c)}}var de,ue,se=Q("onInput",pe),me=Q("onChange");function pe(e,t,n){var o=e.value,r=t.value;if(i(o)){if(n){var a=e.defaultValue;i(a)||a===r||(t.defaultValue=a,t.value=a)}}else r!==o&&(t.defaultValue=o,t.value=o)}function fe(e,t,n,o,r,i){64&e?ie(o,n):256&e?le(o,n,r,t):128&e&&pe(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",se),t.onChange&&ee(e,"change",me)}(t,n)}function Ce(e){return e.type&&te(e.type)?!i(e.checked):!i(e.value)}function ge(e){e&&!B(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(c(e)||void 0!==e.current)&&n.push((function(){B(e,t)||void 0===e.current||(e.current=t)}))}function Ne(e,t){ve(e),v(e,t)}function ve(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var r=e.props;ge(t);var a=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0;for(var c in a&&(i=Ce(n))&&he(t,o,n),n)ke(c,null,n[c],o,r,i,null);a&&fe(t,e,o,n,!0,i)}function Le(e,t,n){var o=F(e.render(t,e.state,n)),r=n;return c(e.getChildContext)&&(r=u(n,e.getChildContext())),e.$CX=r,o}function Be(e,t,n,o,r,i){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=r,a.$L=i,e.children=a,a.$BS=!1,a.context=o,a.props===m&&(a.props=n),l)a.state=y(a,n,a.state);else if(c(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!d(u)){var s=a.state;if(d(s))a.state=u;else for(var p in u)s[p]=u[p];a.$PS=null}a.$BR=!1}return a.$LI=Le(a,n,o),a}function Se(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Ee(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Be(e,e.type,e.props||m,n,o,i);Se(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Se(e.children=F(function(e,t){return 32768&e.flags?e.type.render(e.props||m,e.ref,t):e.type(e.props||m,t)}(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Oe(e,i)):512&a||16&a?Ie(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=O());2===c?Se(a,n,r,o,r,i):Te(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Se(e.children,e.ref,t,!1,null,r);var i=O();Ie(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Ie(e,t,n){var o=e.dom=document.createTextNode(e.children);d(t)||h(t,o,n)}function Ee(e,t,n,o,r,a){var c=e.flags,l=e.props,u=e.className,s=e.children,m=e.childFlags,p=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0);if(i(u)||""===u||(o?p.setAttribute("class",u):p.className=u),16===m)k(p,s);else if(1!==m){var f=o&&"foreignObject"!==e.type;2===m?(16384&s.flags&&(e.children=s=A(s)),Se(s,p,n,f,null,a)):8!==m&&4!==m||Te(s,p,n,f,null,a)}d(t)||h(t,p,r),d(l)||we(e,c,l,p,o),be(e.ref,p,a)}function Te(e,t,n,o,r,i){for(var a=0;a0,d!==u){var f=d||m;if((c=u||m)!==m)for(var h in(s=(448&r)>0)&&(p=Ce(c)),c){var C=f[h],g=c[h];C!==g&&ke(h,C,g,l,o,p,e)}if(f!==m)for(var b in f)i(c[b])&&!i(f[b])&&ke(b,f[b],null,l,o,p,e)}var N=t.children,v=t.className;e.className!==v&&(i(v)?l.removeAttribute("class"):o?l.setAttribute("class",v):l.className=v);4096&r?function(e,t){e.textContent!==t&&(e.textContent=t)}(l,N):Pe(e.childFlags,t.childFlags,e.children,N,l,n,o&&"foreignObject"!==t.type,null,e,a);s&&fe(r,t,l,c,!1,p);var V=t.ref,y=e.ref;y!==V&&(ge(y),be(V,l,a))}(e,t,o,r,p,s):4&p?function(e,t,n,o,r,i,a){var l=t.children=e.children;if(d(l))return;l.$L=a;var s=t.props||m,p=t.ref,f=e.ref,h=l.state;if(!l.$N){if(c(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,o),l.$UN)return;l.$BR=!1}d(l.$PS)||(h=u(h,l.$PS),l.$PS=null)}Fe(l,h,s,n,o,r,!1,i,a),f!==p&&(ge(f),be(p,l,a))}(e,t,n,o,r,l,s):8&p?function(e,t,n,o,r,a,l){var d=!0,u=t.props||m,s=t.ref,p=e.props,f=!i(s),h=e.children;f&&c(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(p,u));if(!1!==d){f&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(p,u);var C=t.type,g=F(32768&t.flags?C.render(u,s,o):C(u,o));Me(h,g,n,o,r,a,l),t.children=g,f&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(p,u)}else t.children=h}(e,t,n,o,r,l,s):16&p?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&p?t.dom=e.dom:8192&p?function(e,t,n,o,r,i){var a=e.children,c=t.children,l=e.childFlags,d=t.childFlags,u=null;12&d&&0===c.length&&(d=t.childFlags=2,c=t.children=O());var s=0!=(2&d);if(12&l){var m=a.length;(8&l&&8&d||s||!s&&c.length>m)&&(u=N(a[m-1],!1).nextSibling)}Pe(l,d,a,c,n,o,r,u,e,i)}(e,t,n,o,r,s):function(e,t,n,o){var r=e.ref,i=t.ref,c=t.children;if(Pe(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==i&&!a(c)){var l=c.dom;C(r,l),f(i,l)}}(e,t,o,s)}function Pe(e,t,n,o,r,i,a,c,l,d){switch(e){case 2:switch(t){case 2:Me(n,o,r,i,a,c,d);break;case 1:Ne(n,r);break;case 16:ve(n),k(r,o);break;default:!function(e,t,n,o,r,i){ve(e),Te(t,n,o,r,N(e,!0),i),v(e,n)}(n,o,r,i,a,d)}break;case 1:switch(t){case 2:Se(o,r,i,a,c,d);break;case 1:break;case 16:k(r,o);break;default:Te(o,r,i,a,c,d)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:k(n,t))}(n,o,r);break;case 2:ye(r),Se(o,r,i,a,c,d);break;case 1:ye(r);break;default:ye(r),Te(o,r,i,a,c,d)}break;default:switch(t){case 16:Ve(n),k(r,o);break;case 2:_e(r,l,n),Se(o,r,i,a,c,d);break;case 1:_e(r,l,n);break;default:var u=0|n.length,s=0|o.length;0===u?s>0&&Te(o,r,i,a,c,d):0===s?_e(r,l,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,l,d){var u,s,m=i-1,p=a-1,f=0,h=e[f],C=t[f];e:{for(;h.key===C.key;){if(16384&C.flags&&(t[f]=C=A(C)),Me(h,C,n,o,r,c,d),e[f]=C,++f>m||f>p)break e;h=e[f],C=t[f]}for(h=e[m],C=t[p];h.key===C.key;){if(16384&C.flags&&(t[p]=C=A(C)),Me(h,C,n,o,r,c,d),e[m]=C,m--,p--,f>m||f>p)break e;h=e[m],C=t[p]}}if(f>m){if(f<=p)for(s=(u=p+1)p)for(;f<=m;)Ne(e[f++],n);else!function(e,t,n,o,r,i,a,c,l,d,u,s,m){var p,f,h,C=0,g=c,b=c,v=i-c+1,y=a-c+1,_=new Int32Array(y+1),x=v===o,k=!1,w=0,L=0;if(r<4||(v|y)<32)for(C=g;C<=i;++C)if(p=e[C],Lc?k=!0:w=c,16384&f.flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L;break}!x&&c>a&&Ne(p,l)}else x||Ne(p,l);else{var B={};for(C=b;C<=a;++C)B[t[C].key]=C;for(C=g;C<=i;++C)if(p=e[C],Lg;)Ne(e[g++],l);_[c-b]=C+1,w>c?k=!0:w=c,16384&(f=t[c]).flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L}else x||Ne(p,l);else x||Ne(p,l)}if(x)_e(l,s,e),Te(t,l,n,d,u,m);else if(k){var S=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,l=e.length;l>De&&(De=l,de=new Int32Array(l),ue=new Int32Array(l));for(;n>1]]0&&(ue[n]=de[i-1]),de[i]=n)}i=r+1;var d=new Int32Array(i);a=de[i-1];for(;i-- >0;)d[i]=a,a=ue[a],de[i]=0;return d}(_);for(c=S.length-1,C=y-1;C>=0;C--)0===_[C]?(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)=0;C--)0===_[C]&&(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)a?a:i,m=0;ma)for(m=s;m=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),V(n),d}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;V(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:_(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=o}catch(r){Function("r","regeneratorRuntime = r")(o)}},function(e,t,n){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l=0,d={};function u(){var e=f.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=d[e._html5shiv];return t||(t={},l++,e._html5shiv=l,d[l]=t),t}function m(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=s(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function p(e){e||(e=n);var t=s(e);return!f.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return f.shivMethods?m(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(f,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var f={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:p,createElement:m,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||s(e)).frag.cloneNode(),i=0,a=u(),c=a.length;ii;)r.push(arguments[i++]);if(o=t,(p(t)||e!==undefined)&&!ie(e))return m(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!ie(t))return t}),r[1]=t,H.apply(null,r)}});K.prototype[j]||L(K.prototype,j,K.prototype.valueOf),P(K,"Symbol"),E[R]=!0},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(7),a=n(19),c=n(8),l=n(15).f,d=n(135),u=i.Symbol;if(r&&"function"==typeof u&&(!("description"in u.prototype)||u().description!==undefined)){var s={},m=function(){var e=arguments.length<1||arguments[0]===undefined?undefined:String(arguments[0]),t=this instanceof m?new u(e):e===undefined?u():u(e);return""===e&&(s[t]=!0),t};d(m,u);var p=m.prototype=u.prototype;p.constructor=m;var f=p.toString,h="Symbol(test)"==String(u("test")),C=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=f.call(e);if(a(s,e))return"";var n=h?t.slice(7,-1):t.replace(C,"$1");return""===n?undefined:n}}),o({global:!0,forced:!0},{Symbol:m})}},function(e,t,n){"use strict";n(29)("asyncIterator")},function(e,t,n){"use strict";n(29)("hasInstance")},function(e,t,n){"use strict";n(29)("isConcatSpreadable")},function(e,t,n){"use strict";n(29)("iterator")},function(e,t,n){"use strict";n(29)("match")},function(e,t,n){"use strict";n(29)("replace")},function(e,t,n){"use strict";n(29)("search")},function(e,t,n){"use strict";n(29)("species")},function(e,t,n){"use strict";n(29)("split")},function(e,t,n){"use strict";n(29)("toPrimitive")},function(e,t,n){"use strict";n(29)("toStringTag")},function(e,t,n){"use strict";n(29)("unscopables")},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(57),a=n(8),c=n(16),l=n(13),d=n(53),u=n(68),s=n(69),m=n(14),p=n(101),f=m("isConcatSpreadable"),h=p>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),C=s("concat"),g=function(e){if(!a(e))return!1;var t=e[f];return t!==undefined?!!t:i(e)};o({target:"Array",proto:!0,forced:!h||!C},{concat:function(e){var t,n,o,r,i,a=c(this),s=u(a,0),m=0;for(t=-1,o=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");d(s,m++,i)}return s.length=m,s}})},function(e,t,n){"use strict";var o=n(1),r=n(143),i=n(48);o({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},function(e,t,n){"use strict";var o=n(1),r=n(20).every,i=n(42),a=n(26),c=i("every"),l=a("every");o({target:"Array",proto:!0,forced:!c||!l},{every:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(102),i=n(48);o({target:"Array",proto:!0},{fill:r}),i("fill")},function(e,t,n){"use strict";var o=n(1),r=n(20).filter,i=n(69),a=n(26),c=i("filter"),l=a("filter");o({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(20).find,i=n(48),a=n(26),c=!0,l=a("find");"find"in[]&&Array(1).find((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("find")},function(e,t,n){"use strict";var o=n(1),r=n(20).findIndex,i=n(48),a=n(26),c=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),o({target:"Array",proto:!0,forced:c||!l},{findIndex:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("findIndex")},function(e,t,n){"use strict";var o=n(1),r=n(144),i=n(16),a=n(13),c=n(33),l=n(68);o({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:undefined,t=i(this),n=a(t.length),o=l(t,0);return o.length=r(o,t,t,n,0,e===undefined?1:c(e)),o}})},function(e,t,n){"use strict";var o=n(1),r=n(144),i=n(16),a=n(13),c=n(34),l=n(68);o({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),o=a(n.length);return c(e),(t=l(n,0)).length=r(t,n,n,o,0,1,e,arguments.length>1?arguments[1]:undefined),t}})},function(e,t,n){"use strict";var o=n(1),r=n(217);o({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},function(e,t,n){"use strict";var o=n(20).forEach,r=n(42),i=n(26),a=r("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:undefined)}},function(e,t,n){"use strict";var o=n(1),r=n(219);o({target:"Array",stat:!0,forced:!n(80)((function(e){Array.from(e)}))},{from:r})},function(e,t,n){"use strict";var o=n(52),r=n(16),i=n(145),a=n(103),c=n(13),l=n(53),d=n(104);e.exports=function(e){var t,n,u,s,m,p,f=r(e),h="function"==typeof this?this:Array,C=arguments.length,g=C>1?arguments[1]:undefined,b=g!==undefined,N=d(f),v=0;if(b&&(g=o(g,C>2?arguments[2]:undefined,2)),N==undefined||h==Array&&a(N))for(n=new h(t=c(f.length));t>v;v++)p=b?g(f[v],v):f[v],l(n,v,p);else for(m=(s=N.call(f)).next,n=new h;!(u=m.call(s)).done;v++)p=b?i(s,g,[u.value,v],!0):u.value,l(n,v,p);return n.length=v,n}},function(e,t,n){"use strict";var o=n(1),r=n(65).includes,i=n(48);o({target:"Array",proto:!0,forced:!n(26)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}}),i("includes")},function(e,t,n){"use strict";var o=n(1),r=n(65).indexOf,i=n(42),a=n(26),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,d=i("indexOf"),u=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:l||!d||!u},{indexOf:function(e){return l?c.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";n(1)({target:"Array",stat:!0},{isArray:n(57)})},function(e,t,n){"use strict";var o=n(147).IteratorPrototype,r=n(46),i=n(50),a=n(47),c=n(70),l=function(){return this};e.exports=function(e,t,n){var d=t+" Iterator";return e.prototype=r(o,{next:i(1,n)}),a(e,d,!1,!0),c[d]=l,e}},function(e,t,n){"use strict";var o=n(1),r=n(62),i=n(28),a=n(42),c=[].join,l=r!=Object,d=a("join",",");o({target:"Array",proto:!0,forced:l||!d},{join:function(e){return c.call(i(this),e===undefined?",":e)}})},function(e,t,n){"use strict";var o=n(1),r=n(149);o({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},function(e,t,n){"use strict";var o=n(1),r=n(20).map,i=n(69),a=n(26),c=i("map"),l=a("map");o({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(53);o({target:"Array",stat:!0,forced:r((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var o=n(1),r=n(81).left,i=n(42),a=n(26),c=i("reduce"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduce:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(81).right,i=n(42),a=n(26),c=i("reduceRight"),l=a("reduce",{1:0});o({target:"Array",proto:!0,forced:!c||!l},{reduceRight:function(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(57),a=n(45),c=n(13),l=n(28),d=n(53),u=n(14),s=n(69),m=n(26),p=s("slice"),f=m("slice",{ACCESSORS:!0,0:0,1:2}),h=u("species"),C=[].slice,g=Math.max;o({target:"Array",proto:!0,forced:!p||!f},{slice:function(e,t){var n,o,u,s=l(this),m=c(s.length),p=a(e,m),f=a(t===undefined?m:t,m);if(i(s)&&("function"!=typeof(n=s.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[h])&&(n=undefined):n=undefined,n===Array||n===undefined))return C.call(s,p,f);for(o=new(n===undefined?Array:n)(g(f-p,0)),u=0;p1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(34),i=n(16),a=n(5),c=n(42),l=[],d=l.sort,u=a((function(){l.sort(undefined)})),s=a((function(){l.sort(null)})),m=c("sort");o({target:"Array",proto:!0,forced:u||!s||!m},{sort:function(e){return e===undefined?d.call(i(this)):d.call(i(this),r(e))}})},function(e,t,n){"use strict";n(58)("Array")},function(e,t,n){"use strict";var o=n(1),r=n(45),i=n(33),a=n(13),c=n(16),l=n(68),d=n(53),u=n(69),s=n(26),m=u("splice"),p=s("splice",{ACCESSORS:!0,0:0,1:2}),f=Math.max,h=Math.min;o({target:"Array",proto:!0,forced:!m||!p},{splice:function(e,t){var n,o,u,s,m,p,C=c(this),g=a(C.length),b=r(e,g),N=arguments.length;if(0===N?n=o=0:1===N?(n=0,o=g-b):(n=N-2,o=h(f(i(t),0),g-b)),g+n-o>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(C,o),s=0;sg-o+n;s--)delete C[s-1]}else if(n>o)for(s=g-o;s>b;s--)p=s+n-1,(m=s+o-1)in C?C[p]=C[m]:delete C[p];for(s=0;s>1,h=23===t?r(2,-24)-r(2,-77):0,C=e<0||0===e&&1/e<0?1:0,g=0;for((e=o(e))!=e||e===1/0?(d=e!=e?1:0,l=p):(l=i(a(e)/c),e*(u=r(2,-l))<1&&(l--,u*=2),(e+=l+f>=1?h/u:h*r(2,1-f))*u>=2&&(l++,u/=2),l+f>=p?(d=0,l=p):l+f>=1?(d=(e*u-1)*r(2,t),l+=f):(d=e*r(2,f-1)*r(2,t),l=0));t>=8;s[g++]=255&d,d/=256,t-=8);for(l=l<0;s[g++]=255&l,l/=256,m-=8);return s[--g]|=128*C,s},unpack:function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<>1,l=i-7,d=o-1,u=e[d--],s=127&u;for(u>>=7;l>0;s=256*s+e[d],d--,l-=8);for(n=s&(1<<-l)-1,s>>=-l,l+=t;l>0;n=256*n+e[d],d--,l-=8);if(0===s)s=1-c;else{if(s===a)return n?NaN:u?-1/0:1/0;n+=r(2,t),s-=c}return(u?-1:1)*n*r(2,s-t)}}},function(e,t,n){"use strict";var o=n(1),r=n(12);o({target:"ArrayBuffer",stat:!0,forced:!r.NATIVE_ARRAY_BUFFER_VIEWS},{isView:r.isView})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(82),a=n(11),c=n(45),l=n(13),d=n(49),u=i.ArrayBuffer,s=i.DataView,m=u.prototype.slice;o({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:r((function(){return!new u(2).slice(1,undefined).byteLength}))},{slice:function(e,t){if(m!==undefined&&t===undefined)return m.call(a(this),e);for(var n=a(this).byteLength,o=c(e,n),r=c(t===undefined?n:t,n),i=new(d(this,u))(l(r-o)),p=new s(this),f=new s(i),h=0;o9999?"+":"";return n+r(i(e),n?6:4,0)+"-"+r(this.getUTCMonth()+1,2,0)+"-"+r(this.getUTCDate(),2,0)+"T"+r(this.getUTCHours(),2,0)+":"+r(this.getUTCMinutes(),2,0)+":"+r(this.getUTCSeconds(),2,0)+"."+r(t,3,0)+"Z"}:l},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(37);o({target:"Date",proto:!0,forced:r((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){"use strict";var o=n(32),r=n(247),i=n(14)("toPrimitive"),a=Date.prototype;i in a||o(a,i,r)},function(e,t,n){"use strict";var o=n(11),r=n(37);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return r(o(this),"number"!==e)}},function(e,t,n){"use strict";var o=n(25),r=Date.prototype,i=r.toString,a=r.getTime;new Date(NaN)+""!="Invalid Date"&&o(r,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){"use strict";n(1)({target:"Function",proto:!0},{bind:n(151)})},function(e,t,n){"use strict";var o=n(8),r=n(15),i=n(39),a=n(14)("hasInstance"),c=Function.prototype;a in c||r.f(c,a,{value:function(e){if("function"!=typeof this||!o(e))return!1;if(!o(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var o=n(10),r=n(15).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/;o&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var o=n(7);n(47)(o.JSON,"JSON",!0)},function(e,t,n){"use strict";var o=n(83),r=n(152);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(153),i=Math.acosh,a=Math.log,c=Math.sqrt,l=Math.LN2;o({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(Infinity)!=Infinity},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:r(e-1+c(e-1)*c(e+1))}})},function(e,t,n){"use strict";var o=n(1),r=Math.asinh,i=Math.log,a=Math.sqrt;o({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:function c(e){return isFinite(e=+e)&&0!=e?e<0?-c(-e):i(e+a(e*e+1)):e}})},function(e,t,n){"use strict";var o=n(1),r=Math.atanh,i=Math.log;o({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){"use strict";var o=n(1),r=n(111),i=Math.abs,a=Math.pow;o({target:"Math",stat:!0},{cbrt:function(e){return r(e=+e)*a(i(e),1/3)}})},function(e,t,n){"use strict";var o=n(1),r=Math.floor,i=Math.log,a=Math.LOG2E;o({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-r(i(e+.5)*a):32}})},function(e,t,n){"use strict";var o=n(1),r=n(85),i=Math.cosh,a=Math.abs,c=Math.E;o({target:"Math",stat:!0,forced:!i||i(710)===Infinity},{cosh:function(e){var t=r(a(e)-1)+1;return(t+1/(t*c*c))*(c/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(85);o({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{fround:n(262)})},function(e,t,n){"use strict";var o=n(111),r=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),l=i(2,127)*(2-c),d=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=r(e),u=o(e);return il||n!=n?u*Infinity:u*n}},function(e,t,n){"use strict";var o=n(1),r=Math.hypot,i=Math.abs,a=Math.sqrt;o({target:"Math",stat:!0,forced:!!r&&r(Infinity,NaN)!==Infinity},{hypot:function(e,t){for(var n,o,r=0,c=0,l=arguments.length,d=0;c0?(o=n/d)*o:n;return d===Infinity?Infinity:d*a(r)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=Math.imul;o({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(e,t){var n=+e,o=+t,r=65535&n,i=65535&o;return 0|r*i+((65535&n>>>16)*i+r*(65535&o>>>16)<<16>>>0)}})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LOG10E;o({target:"Math",stat:!0},{log10:function(e){return r(e)*i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{log1p:n(153)})},function(e,t,n){"use strict";var o=n(1),r=Math.log,i=Math.LN2;o({target:"Math",stat:!0},{log2:function(e){return r(e)/i}})},function(e,t,n){"use strict";n(1)({target:"Math",stat:!0},{sign:n(111)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(85),a=Math.abs,c=Math.exp,l=Math.E;o({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(c(e-1)-c(-e-1))*(l/2)}})},function(e,t,n){"use strict";var o=n(1),r=n(85),i=Math.exp;o({target:"Math",stat:!0},{tanh:function(e){var t=r(e=+e),n=r(-e);return t==Infinity?1:n==Infinity?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){"use strict";n(47)(Math,"Math",!0)},function(e,t,n){"use strict";var o=n(1),r=Math.ceil,i=Math.floor;o({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:r)(e)}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(25),c=n(19),l=n(36),d=n(84),u=n(37),s=n(5),m=n(46),p=n(51).f,f=n(21).f,h=n(15).f,C=n(60).trim,g=r.Number,b=g.prototype,N="Number"==l(m(b)),v=function(e){var t,n,o,r,i,a,c,l,d=u(e,!1);if("string"==typeof d&&d.length>2)if(43===(t=(d=C(d)).charCodeAt(0))||45===t){if(88===(n=d.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(d.charCodeAt(1)){case 66:case 98:o=2,r=49;break;case 79:case 111:o=8,r=55;break;default:return+d}for(a=(i=d.slice(2)).length,c=0;cr)return NaN;return parseInt(i,o)}return+d};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var V,y=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof y&&(N?s((function(){b.valueOf.call(n)})):"Number"!=l(n))?d(new g(v(t)),n,y):v(t)},k=o?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;k.length>x;x++)c(g,V=k[x])&&!c(y,V)&&h(y,V,f(g,V));y.prototype=b,b.constructor=y,a(r,"Number",y)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isFinite:n(276)})},function(e,t,n){"use strict";var o=n(7).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isInteger:n(154)})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){"use strict";var o=n(1),r=n(154),i=Math.abs;o({target:"Number",stat:!0},{isSafeInteger:function(e){return r(e)&&i(e)<=9007199254740991}})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){"use strict";n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){"use strict";var o=n(1),r=n(283);o({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},function(e,t,n){"use strict";var o=n(7),r=n(60).trim,i=n(86),a=o.parseFloat,c=1/a(i+"-0")!=-Infinity;e.exports=c?function(e){var t=r(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){"use strict";var o=n(1),r=n(155);o({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o=n(1),r=n(33),i=n(286),a=n(110),c=n(5),l=1..toFixed,d=Math.floor,u=function s(e,t,n){return 0===t?n:t%2==1?s(e,t-1,n*e):s(e*e,t/2,n)};o({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){l.call({})}))},{toFixed:function(e){var t,n,o,c,l=i(this),s=r(e),m=[0,0,0,0,0,0],p="",f="0",h=function(e,t){for(var n=-1,o=t;++n<6;)o+=e*m[n],m[n]=o%1e7,o=d(o/1e7)},C=function(e){for(var t=6,n=0;--t>=0;)n+=m[t],m[t]=d(n/e),n=n%e*1e7},g=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==m[e]){var n=String(m[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(s<0||s>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(p="-",l=-l),l>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(l*u(2,69,1))-69)<0?l*u(2,-t,1):l/u(2,t,1),n*=4503599627370496,(t=52-t)>0){for(h(0,n),o=s;o>=7;)h(1e7,0),o-=7;for(h(u(10,o,1),0),o=t-1;o>=23;)C(1<<23),o-=23;C(1<0?p+((c=f.length)<=s?"0."+a.call("0",s-c)+f:f.slice(0,c-s)+"."+f.slice(c-s)):p+f}})},function(e,t,n){"use strict";var o=n(36);e.exports=function(e){if("number"!=typeof e&&"Number"!=o(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var o=n(1),r=n(288);o({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},function(e,t,n){"use strict";var o=n(10),r=n(5),i=n(67),a=n(99),c=n(76),l=n(16),d=n(62),u=Object.assign,s=Object.defineProperty;e.exports=!u||r((function(){if(o&&1!==u({b:1},u(s({},"a",{enumerable:!0,get:function(){s(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")}))?function(e,t){for(var n=l(e),r=arguments.length,u=1,s=a.f,m=c.f;r>u;)for(var p,f=d(arguments[u++]),h=s?i(f).concat(s(f)):i(f),C=h.length,g=0;C>g;)p=h[g++],o&&!m.call(f,p)||(n[p]=f[p]);return n}:u},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0,sham:!n(10)},{create:n(46)})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(87),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:n(139)})},function(e,t,n){"use strict";var o=n(1),r=n(10);o({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:n(15).f})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(87),a=n(16),c=n(34),l=n(15);r&&o({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:c(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var o=n(1),r=n(156).entries;o({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(72),i=n(5),a=n(8),c=n(55).onFreeze,l=Object.freeze;o({target:"Object",stat:!0,forced:i((function(){l(1)})),sham:!r},{freeze:function(e){return l&&a(e)?l(c(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(73),i=n(53);o({target:"Object",stat:!0},{fromEntries:function(e){var t={};return r(e,(function(e,n){i(t,e,n)}),undefined,!0),t}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(28),a=n(21).f,c=n(10),l=r((function(){a(1)}));o({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(97),a=n(28),c=n(21),l=n(53);o({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function(e){for(var t,n,o=a(e),r=c.f,d=i(o),u={},s=0;d.length>s;)(n=r(o,t=d[s++]))!==undefined&&l(u,t,n);return u}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(141).f;o({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(16),a=n(39),c=n(107);o({target:"Object",stat:!0,forced:r((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{is:n(157)})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isExtensible;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isFrozen;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(5),i=n(8),a=Object.isSealed;o({target:"Object",stat:!0,forced:r((function(){a(1)}))},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(16),i=n(67);o({target:"Object",stat:!0,forced:n(5)((function(){i(1)}))},{keys:function(e){return i(r(e))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(87),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(87),a=n(16),c=n(37),l=n(39),d=n(21).f;r&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),o=c(e,!0);do{if(t=d(n,o))return t.set}while(n=l(n))}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.preventExtensions;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{preventExtensions:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(55).onFreeze,a=n(72),c=n(5),l=Object.seal;o({target:"Object",stat:!0,forced:c((function(){l(1)})),sham:!a},{seal:function(e){return l&&r(e)?l(i(e)):e}})},function(e,t,n){"use strict";n(1)({target:"Object",stat:!0},{setPrototypeOf:n(54)})},function(e,t,n){"use strict";var o=n(105),r=n(25),i=n(312);o||r(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var o=n(105),r=n(79);e.exports=o?{}.toString:function(){return"[object "+r(this)+"]"}},function(e,t,n){"use strict";var o=n(1),r=n(156).values;o({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,t,n){"use strict";var o=n(1),r=n(155);o({global:!0,forced:parseInt!=r},{parseInt:r})},function(e,t,n){"use strict";var o,r,i,a,c=n(1),l=n(41),d=n(7),u=n(40),s=n(158),m=n(25),p=n(71),f=n(47),h=n(58),C=n(8),g=n(34),b=n(59),N=n(36),v=n(95),V=n(73),y=n(80),k=n(49),x=n(112).set,_=n(160),w=n(161),L=n(316),B=n(162),S=n(317),I=n(38),E=n(66),T=n(14),A=n(101),O=T("species"),M="Promise",P=I.get,F=I.set,D=I.getterFor(M),R=s,j=d.TypeError,z=d.document,W=d.process,U=u("fetch"),K=B.f,H=K,G="process"==N(W),Y=!!(z&&z.createEvent&&d.dispatchEvent),q=E(M,(function(){if(!(v(R)!==String(R))){if(66===A)return!0;if(!G&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!R.prototype["finally"])return!0;if(A>=51&&/native code/.test(R))return!1;var e=R.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[O]=t,!(e.then((function(){}))instanceof t)})),$=q||!y((function(e){R.all(e)["catch"]((function(){}))})),X=function(e){var t;return!(!C(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;_((function(){for(var r=t.value,i=1==t.state,a=0;o.length>a;){var c,l,d,u=o[a++],s=i?u.ok:u.fail,m=u.resolve,p=u.reject,f=u.domain;try{s?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===s?c=r:(f&&f.enter(),c=s(r),f&&(f.exit(),d=!0)),c===u.promise?p(j("Promise-chain cycle")):(l=X(c))?l.call(c,m,p):m(c)):p(r)}catch(h){f&&!d&&f.exit(),p(h)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Q(e,t)}))}},Z=function(e,t,n){var o,r;Y?((o=z.createEvent("Event")).promise=t,o.reason=n,o.initEvent(e,!1,!0),d.dispatchEvent(o)):o={promise:t,reason:n},(r=d["on"+e])?r(o):"unhandledrejection"===e&&L("Unhandled promise rejection",n)},Q=function(e,t){x.call(d,(function(){var n,o=t.value;if(ee(t)&&(n=S((function(){G?W.emit("unhandledRejection",o,e):Z("unhandledrejection",e,o)})),t.rejection=G||ee(t)?2:1,n.error))throw n.value}))},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){x.call(d,(function(){G?W.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},ne=function(e,t,n,o){return function(r){e(t,n,r,o)}},oe=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,J(e,t,!0))},re=function ie(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw j("Promise can't be resolved itself");var r=X(n);r?_((function(){var o={done:!1};try{r.call(n,ne(ie,e,o,t),ne(oe,e,o,t))}catch(i){oe(e,o,i,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};q&&(R=function(e){b(this,R,M),g(e),o.call(this);var t=P(this);try{e(ne(re,this,t),ne(oe,this,t))}catch(n){oe(this,t,n)}},(o=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:undefined})}).prototype=p(R.prototype,{then:function(e,t){var n=D(this),o=K(k(this,R));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=G?W.domain:undefined,n.parent=!0,n.reactions.push(o),0!=n.state&&J(this,n,!1),o.promise},"catch":function(e){return this.then(undefined,e)}}),r=function(){var e=new o,t=P(e);this.promise=e,this.resolve=ne(re,e,t),this.reject=ne(oe,e,t)},B.f=K=function(e){return e===R||e===i?new r(e):H(e)},l||"function"!=typeof s||(a=s.prototype.then,m(s.prototype,"then",(function(e,t){var n=this;return new R((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return w(R,U.apply(d,arguments))}}))),c({global:!0,wrap:!0,forced:q},{Promise:R}),f(R,M,!1,!0),h(M),i=u(M),c({target:M,stat:!0,forced:q},{reject:function(e){var t=K(this);return t.reject.call(undefined,e),t.promise}}),c({target:M,stat:!0,forced:l||q},{resolve:function(e){return w(l&&this===i?R:this,e)}}),c({target:M,stat:!0,forced:$},{all:function(e){var t=this,n=K(t),o=n.resolve,r=n.reject,i=S((function(){var n=g(t.resolve),i=[],a=0,c=1;V(e,(function(e){var l=a++,d=!1;i.push(undefined),c++,n.call(t,e).then((function(e){d||(d=!0,i[l]=e,--c||o(i))}),r)})),--c||o(i)}));return i.error&&r(i.value),n.promise},race:function(e){var t=this,n=K(t),o=n.reject,r=S((function(){var r=g(t.resolve);V(e,(function(e){r.call(t,e).then(n.resolve,o)}))}));return r.error&&o(r.value),n.promise}})},function(e,t,n){"use strict";var o=n(7);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){"use strict";var o=n(1),r=n(41),i=n(158),a=n(5),c=n(40),l=n(49),d=n(161),u=n(25);o({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype["finally"].call({then:function(){}},(function(){}))}))},{"finally":function(e){var t=l(this,c("Promise")),n="function"==typeof e;return this.then(n?function(n){return d(t,e()).then((function(){return n}))}:e,n?function(n){return d(t,e()).then((function(){throw n}))}:e)}}),r||"function"!=typeof i||i.prototype["finally"]||u(i.prototype,"finally",c("Promise").prototype["finally"])},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(5),l=r("Reflect","apply"),d=Function.apply;o({target:"Reflect",stat:!0,forced:!c((function(){l((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):d.call(e,t,n)}})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(34),a=n(11),c=n(8),l=n(46),d=n(151),u=n(5),s=r("Reflect","construct"),m=u((function(){function e(){}return!(s((function(){}),[],e)instanceof e)})),p=!u((function(){s((function(){}))})),f=m||p;o({target:"Reflect",stat:!0,forced:f,sham:f},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!m)return s(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var o=[null];return o.push.apply(o,t),new(d.apply(e,o))}var r=n.prototype,u=l(c(r)?r:Object.prototype),f=Function.apply.call(e,u,t);return c(f)?f:u}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(37),c=n(15);o({target:"Reflect",stat:!0,forced:n(5)((function(){Reflect.defineProperty(c.f({},1,{value:1}),1,{value:2})})),sham:!r},{defineProperty:function(e,t,n){i(e);var o=a(t,!0);i(n);try{return c.f(e,o,n),!0}catch(r){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(21).f;o({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(r(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var o=n(1),r=n(8),i=n(11),a=n(19),c=n(21),l=n(39);o({target:"Reflect",stat:!0},{get:function d(e,t){var n,o,u=arguments.length<3?e:arguments[2];return i(e)===u?e[t]:(n=c.f(e,t))?a(n,"value")?n.value:n.get===undefined?undefined:n.get.call(u):r(o=l(e))?d(o,t,u):void 0}})},function(e,t,n){"use strict";var o=n(1),r=n(10),i=n(11),a=n(21);o({target:"Reflect",stat:!0,sham:!r},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(39);o({target:"Reflect",stat:!0,sham:!n(107)},{getPrototypeOf:function(e){return i(r(e))}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=Object.isExtensible;o({target:"Reflect",stat:!0},{isExtensible:function(e){return r(e),!i||i(e)}})},function(e,t,n){"use strict";n(1)({target:"Reflect",stat:!0},{ownKeys:n(97)})},function(e,t,n){"use strict";var o=n(1),r=n(40),i=n(11);o({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(e){i(e);try{var t=r("Object","preventExtensions");return t&&t(e),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(8),a=n(19),c=n(5),l=n(15),d=n(21),u=n(39),s=n(50);o({target:"Reflect",stat:!0,forced:c((function(){var e=l.f({},"a",{configurable:!0});return!1!==Reflect.set(u(e),"a",1,e)}))},{set:function m(e,t,n){var o,c,p=arguments.length<4?e:arguments[3],f=d.f(r(e),t);if(!f){if(i(c=u(e)))return m(c,t,n,p);f=s(0)}if(a(f,"value")){if(!1===f.writable||!i(p))return!1;if(o=d.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,l.f(p,t,o)}else l.f(p,t,s(0,n));return!0}return f.set!==undefined&&(f.set.call(p,n),!0)}})},function(e,t,n){"use strict";var o=n(1),r=n(11),i=n(148),a=n(54);a&&o({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){r(e),i(t);try{return a(e,t),!0}catch(n){return!1}}})},function(e,t,n){"use strict";var o=n(10),r=n(7),i=n(66),a=n(84),c=n(15).f,l=n(51).f,d=n(113),u=n(88),s=n(114),m=n(25),p=n(5),f=n(38).set,h=n(58),C=n(14)("match"),g=r.RegExp,b=g.prototype,N=/a/g,v=/a/g,V=new g(N)!==N,y=s.UNSUPPORTED_Y;if(o&&i("RegExp",!V||y||p((function(){return v[C]=!1,g(N)!=N||g(v)==v||"/a/i"!=g(N,"i")})))){for(var k=function(e,t){var n,o=this instanceof k,r=d(e),i=t===undefined;if(!o&&r&&e.constructor===k&&i)return e;V?r&&!i&&(e=e.source):e instanceof k&&(i&&(t=u.call(e)),e=e.source),y&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var c=a(V?new g(e,t):g(e,t),o?this:b,k);return y&&n&&f(c,{sticky:n}),c},x=function(e){e in k||c(k,e,{configurable:!0,get:function(){return g[e]},set:function(t){g[e]=t}})},_=l(g),w=0;_.length>w;)x(_[w++]);b.constructor=k,k.prototype=b,m(r,"RegExp",k)}h("RegExp")},function(e,t,n){"use strict";var o=n(10),r=n(15),i=n(88),a=n(114).UNSUPPORTED_Y;o&&("g"!=/./g.flags||a)&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){"use strict";var o=n(25),r=n(11),i=n(5),a=n(88),c=RegExp.prototype,l=c.toString,d=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u="toString"!=l.name;(d||u)&&o(RegExp.prototype,"toString",(function(){var e=r(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(n===undefined&&e instanceof RegExp&&!("flags"in c)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var o=n(83),r=n(152);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),r)},function(e,t,n){"use strict";var o=n(1),r=n(115).codeAt;o({target:"String",proto:!0},{codePointAt:function(e){return r(this,e)}})},function(e,t,n){"use strict";var o,r=n(1),i=n(21).f,a=n(13),c=n(116),l=n(24),d=n(117),u=n(41),s="".endsWith,m=Math.min,p=d("endsWith");r({target:"String",proto:!0,forced:!!(u||p||(o=i(String.prototype,"endsWith"),!o||o.writable))&&!p},{endsWith:function(e){var t=String(l(this));c(e);var n=arguments.length>1?arguments[1]:undefined,o=a(t.length),r=n===undefined?o:m(a(n),o),i=String(e);return s?s.call(t,i,r):t.slice(r-i.length,r)===i}})},function(e,t,n){"use strict";var o=n(1),r=n(45),i=String.fromCharCode,a=String.fromCodePoint;o({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],o=arguments.length,a=0;o>a;){if(t=+arguments[a++],r(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var o=n(1),r=n(116),i=n(24);o({target:"String",proto:!0,forced:!n(117)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(115).charAt,r=n(38),i=n(106),a=r.set,c=r.getterFor("String Iterator");i(String,"String",(function(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:undefined,done:!0}:(e=o(n,r),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var o=n(90),r=n(11),i=n(13),a=n(24),c=n(118),l=n(91);o("match",1,(function(e,t,n){return[function(t){var n=a(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var a=r(e),d=String(this);if(!a.global)return l(a,d);var u=a.unicode;a.lastIndex=0;for(var s,m=[],p=0;null!==(s=l(a,d));){var f=String(s[0]);m[p]=f,""===f&&(a.lastIndex=c(d,i(a.lastIndex),u)),p++}return 0===p?null:m}]}))},function(e,t,n){"use strict";var o=n(1),r=n(109).end;o({target:"String",proto:!0,forced:n(164)},{padEnd:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(109).start;o({target:"String",proto:!0,forced:n(164)},{padStart:function(e){return r(this,e,arguments.length>1?arguments[1]:undefined)}})},function(e,t,n){"use strict";var o=n(1),r=n(28),i=n(13);o({target:"String",stat:!0},{raw:function(e){for(var t=r(e.raw),n=i(t.length),o=arguments.length,a=[],c=0;n>c;)a.push(String(t[c++])),c]*>)/g,h=/\$([$&'`]|\d\d?)/g;o("replace",2,(function(e,t,n,o){var C=o.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=o.REPLACE_KEEPS_$0,b=C?"$":"$0";return[function(n,o){var r=l(this),i=n==undefined?undefined:n[e];return i!==undefined?i.call(n,r,o):t.call(String(r),n,o)},function(e,o){if(!C&&g||"string"==typeof o&&-1===o.indexOf(b)){var i=n(t,e,this,o);if(i.done)return i.value}var l=r(e),p=String(this),f="function"==typeof o;f||(o=String(o));var h=l.global;if(h){var v=l.unicode;l.lastIndex=0}for(var V=[];;){var y=u(l,p);if(null===y)break;if(V.push(y),!h)break;""===String(y[0])&&(l.lastIndex=d(p,a(l.lastIndex),v))}for(var k,x="",_=0,w=0;w=_&&(x+=p.slice(_,B)+A,_=B+L.length)}return x+p.slice(_)}];function N(e,n,o,r,a,c){var l=o+e.length,d=r.length,u=h;return a!==undefined&&(a=i(a),u=f),t.call(c,u,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,o);case"'":return n.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var u=+i;if(0===u)return t;if(u>d){var s=p(u/10);return 0===s?t:s<=d?r[s-1]===undefined?i.charAt(1):r[s-1]+i.charAt(1):t}c=r[u-1]}return c===undefined?"":c}))}}))},function(e,t,n){"use strict";var o=n(90),r=n(11),i=n(24),a=n(157),c=n(91);o("search",1,(function(e,t,n){return[function(t){var n=i(this),o=t==undefined?undefined:t[e];return o!==undefined?o.call(t,n):new RegExp(t)[e](String(n))},function(e){var o=n(t,e,this);if(o.done)return o.value;var i=r(e),l=String(this),d=i.lastIndex;a(d,0)||(i.lastIndex=0);var u=c(i,l);return a(i.lastIndex,d)||(i.lastIndex=d),null===u?-1:u.index}]}))},function(e,t,n){"use strict";var o=n(90),r=n(113),i=n(11),a=n(24),c=n(49),l=n(118),d=n(13),u=n(91),s=n(89),m=n(5),p=[].push,f=Math.min,h=!m((function(){return!RegExp(4294967295,"y")}));o("split",2,(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=String(a(this)),i=n===undefined?4294967295:n>>>0;if(0===i)return[];if(e===undefined)return[o];if(!r(e))return t.call(o,e,i);for(var c,l,d,u=[],m=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=new RegExp(e.source,m+"g");(c=s.call(h,o))&&!((l=h.lastIndex)>f&&(u.push(o.slice(f,c.index)),c.length>1&&c.index=i));)h.lastIndex===c.index&&h.lastIndex++;return f===o.length?!d&&h.test("")||u.push(""):u.push(o.slice(f)),u.length>i?u.slice(0,i):u}:"0".split(undefined,0).length?function(e,n){return e===undefined&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var r=a(this),i=t==undefined?undefined:t[e];return i!==undefined?i.call(t,r,n):o.call(String(r),t,n)},function(e,r){var a=n(o,e,this,r,o!==t);if(a.done)return a.value;var s=i(e),m=String(this),p=c(s,RegExp),C=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(h?"y":"g"),b=new p(h?s:"^(?:"+s.source+")",g),N=r===undefined?4294967295:r>>>0;if(0===N)return[];if(0===m.length)return null===u(b,m)?[m]:[];for(var v=0,V=0,y=[];V1?arguments[1]:undefined,t.length)),o=String(e);return s?s.call(t,o,n):t.slice(n,n+o.length)===o}})},function(e,t,n){"use strict";var o=n(1),r=n(60).trim;o({target:"String",proto:!0,forced:n(119)("trim")},{trim:function(){return r(this)}})},function(e,t,n){"use strict";var o=n(1),r=n(60).end,i=n(119)("trimEnd"),a=i?function(){return r(this)}:"".trimEnd;o({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(e,t,n){"use strict";var o=n(1),r=n(60).start,i=n(119)("trimStart"),a=i?function(){return r(this)}:"".trimStart;o({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("anchor")},{anchor:function(e){return r(this,"a","name",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("big")},{big:function(){return r(this,"big","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("blink")},{blink:function(){return r(this,"blink","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("bold")},{bold:function(){return r(this,"b","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("fixed")},{fixed:function(){return r(this,"tt","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("fontcolor")},{fontcolor:function(e){return r(this,"font","color",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("fontsize")},{fontsize:function(e){return r(this,"font","size",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("italics")},{italics:function(){return r(this,"i","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("link")},{link:function(e){return r(this,"a","href",e)}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("small")},{small:function(){return r(this,"small","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("strike")},{strike:function(){return r(this,"strike","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("sub")},{sub:function(){return r(this,"sub","","")}})},function(e,t,n){"use strict";var o=n(1),r=n(30);o({target:"String",proto:!0,forced:n(31)("sup")},{sup:function(){return r(this,"sup","","")}})},function(e,t,n){"use strict";n(43)("Float32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(33);e.exports=function(e){var t=o(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){"use strict";n(43)("Float64",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Int32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint8",(function(e){return function(t,n,o){return e(this,t,n,o)}}),!0)},function(e,t,n){"use strict";n(43)("Uint16",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";n(43)("Uint32",(function(e){return function(t,n,o){return e(this,t,n,o)}}))},function(e,t,n){"use strict";var o=n(12),r=n(143),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("copyWithin",(function(e,t){return r.call(i(this),e,t,arguments.length>2?arguments[2]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).every,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("every",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(102),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("fill",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).filter,i=n(49),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("filter",(function(e){for(var t=r(a(this),e,arguments.length>1?arguments[1]:undefined),n=i(this,this.constructor),o=0,l=t.length,d=new(c(n))(l);l>o;)d[o]=t[o++];return d}))},function(e,t,n){"use strict";var o=n(12),r=n(20).find,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("find",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).findIndex,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("findIndex",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).forEach,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("forEach",(function(e){r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(120);(0,n(12).exportTypedArrayStaticMethod)("from",n(166),o)},function(e,t,n){"use strict";var o=n(12),r=n(65).includes,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("includes",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(65).indexOf,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("indexOf",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(146),a=n(14)("iterator"),c=o.Uint8Array,l=i.values,d=i.keys,u=i.entries,s=r.aTypedArray,m=r.exportTypedArrayMethod,p=c&&c.prototype[a],f=!!p&&("values"==p.name||p.name==undefined),h=function(){return l.call(s(this))};m("entries",(function(){return u.call(s(this))})),m("keys",(function(){return d.call(s(this))})),m("values",h,!f),m(a,h,!f)},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(r(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(149),i=o.aTypedArray;(0,o.exportTypedArrayMethod)("lastIndexOf",(function(e){return r.apply(i(this),arguments)}))},function(e,t,n){"use strict";var o=n(12),r=n(20).map,i=n(49),a=o.aTypedArray,c=o.aTypedArrayConstructor;(0,o.exportTypedArrayMethod)("map",(function(e){return r(a(this),e,arguments.length>1?arguments[1]:undefined,(function(e,t){return new(c(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var o=n(12),r=n(120),i=o.aTypedArrayConstructor;(0,o.exportTypedArrayStaticMethod)("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),r)},function(e,t,n){"use strict";var o=n(12),r=n(81).left,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduce",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=n(81).right,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("reduceRight",(function(e){return r(i(this),e,arguments.length,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=r(this).length,n=a(t/2),o=0;o1?arguments[1]:undefined,1),n=this.length,o=a(e),c=r(o.length),d=0;if(c+t>n)throw RangeError("Wrong length");for(;di;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},function(e,t,n){"use strict";var o=n(12),r=n(20).some,i=o.aTypedArray;(0,o.exportTypedArrayMethod)("some",(function(e){return r(i(this),e,arguments.length>1?arguments[1]:undefined)}))},function(e,t,n){"use strict";var o=n(12),r=o.aTypedArray,i=o.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(r(this),e)}))},function(e,t,n){"use strict";var o=n(12),r=n(13),i=n(45),a=n(49),c=o.aTypedArray;(0,o.exportTypedArrayMethod)("subarray",(function(e,t){var n=c(this),o=n.length,l=i(e,o);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,r((t===undefined?o:i(t,o))-l))}))},function(e,t,n){"use strict";var o=n(7),r=n(12),i=n(5),a=o.Int8Array,c=r.aTypedArray,l=r.exportTypedArrayMethod,d=[].toLocaleString,u=[].slice,s=!!a&&i((function(){d.call(new a(1))}));l("toLocaleString",(function(){return d.apply(s?u.call(c(this)):c(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},function(e,t,n){"use strict";var o=n(12).exportTypedArrayMethod,r=n(5),i=n(7).Uint8Array,a=i&&i.prototype||{},c=[].toString,l=[].join;r((function(){c.call({})}))&&(c=function(){return l.call(this)});var d=a.toString!=c;o("toString",c,d)},function(e,t,n){"use strict";var o,r=n(7),i=n(71),a=n(55),c=n(83),l=n(167),d=n(8),u=n(38).enforce,s=n(134),m=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,f=function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}},h=e.exports=c("WeakMap",f,l);if(s&&m){o=l.getConstructor(f,"WeakMap",!0),a.REQUIRED=!0;var C=h.prototype,g=C["delete"],b=C.has,N=C.get,v=C.set;i(C,{"delete":function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),g.call(this,e)||t.frozen["delete"](e)}return g.call(this,e)},has:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)||t.frozen.has(e)}return b.call(this,e)},get:function(e){if(d(e)&&!p(e)){var t=u(this);return t.frozen||(t.frozen=new o),b.call(this,e)?N.call(this,e):t.frozen.get(e)}return N.call(this,e)},set:function(e,t){if(d(e)&&!p(e)){var n=u(this);n.frozen||(n.frozen=new o),b.call(this,e)?v.call(this,e,t):n.frozen.set(e,t)}else v.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(83)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:undefined)}}),n(167))},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(112);o({global:!0,bind:!0,enumerable:!0,forced:!r.setImmediate||!r.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(160),a=n(36),c=r.process,l="process"==a(c);o({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=l&&c.domain;i(t?t.bind(e):e)}})},function(e,t,n){"use strict";var o=n(1),r=n(7),i=n(78),a=[].slice,c=function(e){return function(t,n){var o=arguments.length>2,r=o?a.call(arguments,2):undefined;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,n)}};o({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(e,t,n){"use strict";t.__esModule=!0,t._CI=Be,t._HI=F,t._M=Se,t._MCCC=Ae,t._ME=Ee,t._MFCC=Oe,t._MP=we,t._MR=be,t.__render=Re,t.createComponentVNode=function(e,t,n,o,r){var a=new S(1,null,null,e=function(e,t){if(12&e)return e;if(t.prototype&&t.prototype.render)return 4;if(t.render)return 32776;return 8}(e,t),o,function(e,t,n){var o=(32768&e?t.render:t).defaultProps;if(i(o))return n;if(i(n))return u(o,null);return L(n,o)}(e,t,n),function(e,t,n){if(4&e)return n;var o=(32768&e?t.render:t).defaultHooks;if(i(o))return n;if(i(n))return o;return L(n,o)}(e,t,r),t);x.createVNode&&x.createVNode(a);return a},t.createFragment=T,t.createPortal=function(e,t){var n=F(e);return I(1024,1024,null,n,0,null,n.key,t)},t.createRef=function(){return{current:null}},t.createRenderer=function(e){return function(t,n,o,r){e||(e=t),je(n,e,o,r)}},t.createTextVNode=E,t.createVNode=I,t.directClone=A,t.findDOMfromVNode=N,t.forwardRef=function(e){return{render:e}},t.getFlagsForElementVnode=function(e){switch(e){case"svg":return 32;case"input":return 64;case"select":return 256;case"textarea":return 128;case"$F":return 8192;default:return 1}},t.linkEvent=function(e,t){if(c(t))return{data:e,event:t};return null},t.normalizeProps=function(e){var t=e.props;if(t){var n=e.flags;481&n&&(void 0!==t.children&&i(e.children)&&P(e,t.children),void 0!==t.className&&(e.className=t.className||null,t.className=undefined)),void 0!==t.key&&(e.key=t.key,t.key=undefined),void 0!==t.ref&&(e.ref=8&n?u(e.ref,t.ref):t.ref,t.ref=undefined)}return e},t.render=je,t.rerender=Ge,t.version=t.options=t.Fragment=t.EMPTY_OBJ=t.Component=void 0;var o=Array.isArray;function r(e){var t=typeof e;return"string"===t||"number"===t}function i(e){return null==e}function a(e){return null===e||!1===e||!0===e||void 0===e}function c(e){return"function"==typeof e}function l(e){return"string"==typeof e}function d(e){return null===e}function u(e,t){var n={};if(e)for(var o in e)n[o]=e[o];if(t)for(var r in t)n[r]=t[r];return n}function s(e){return!d(e)&&"object"==typeof e}var m={};t.EMPTY_OBJ=m;function p(e){return e.substr(2).toLowerCase()}function f(e,t){e.appendChild(t)}function h(e,t,n){d(n)?f(e,t):e.insertBefore(t,n)}function C(e,t){e.removeChild(t)}function g(e){for(var t=0;t0,f=d(m),h=l(m)&&"$"===m[0];p||f||h?(n=n||t.slice(0,u),(p||h)&&(s=A(s)),(f||h)&&(s.key="$"+u),n.push(s)):n&&n.push(s),s.flags|=65536}}i=0===(n=n||t).length?1:8}else(n=t).flags|=65536,81920&t.flags&&(n=A(t)),i=2;return e.children=n,e.childFlags=i,e}function F(e){return a(e)||r(e)?E(e,null):o(e)?T(e,0,null):16384&e.flags?A(e):e}var D="http://www.w3.org/1999/xlink",R="http://www.w3.org/XML/1998/namespace",j={"xlink:actuate":D,"xlink:arcrole":D,"xlink:href":D,"xlink:role":D,"xlink:show":D,"xlink:title":D,"xlink:type":D,"xml:base":R,"xml:lang":R,"xml:space":R};function z(e){return{onClick:e,onDblClick:e,onFocusIn:e,onFocusOut:e,onKeyDown:e,onKeyPress:e,onKeyUp:e,onMouseDown:e,onMouseMove:e,onMouseUp:e,onTouchEnd:e,onTouchMove:e,onTouchStart:e}}var W=z(0),U=z(null),K=z(!0);function H(e,t){var n=t.$EV;return n||(n=t.$EV=z(null)),n[e]||1==++W[e]&&(U[e]=function(e){var t="onClick"===e||"onDblClick"===e?function(e){return function(t){0===t.button?Y(t,!0,e,J(t)):t.stopPropagation()}}(e):function(e){return function(t){Y(t,!1,e,J(t))}}(e);return document.addEventListener(p(e),t),t}(e)),n}function G(e,t){var n=t.$EV;n&&n[e]&&(0==--W[e]&&(document.removeEventListener(p(e),U[e]),U[e]=null),n[e]=null)}function Y(e,t,n,o){var r=function(e){return c(e.composedPath)?e.composedPath()[0]:e.target}(e);do{if(t&&r.disabled)return;var i=r.$EV;if(i){var a=i[n];if(a&&(o.dom=r,a.event?a.event(a.data,e):a(e),e.cancelBubble))return}r=r.parentNode}while(!d(r))}function q(){this.cancelBubble=!0,this.immediatePropagationStopped||this.stopImmediatePropagation()}function $(){return this.defaultPrevented}function X(){return this.cancelBubble}function J(e){var t={dom:document};return e.isDefaultPrevented=$,e.isPropagationStopped=X,e.stopPropagation=q,Object.defineProperty(e,"currentTarget",{configurable:!0,get:function(){return t.dom}}),t}function Z(e,t,n){if(e[t]){var o=e[t];o.event?o.event(o.data,n):o(n)}else{var r=t.toLowerCase();e[r]&&e[r](n)}}function Q(e,t){var n=function(n){var o=this.$V;if(o){var r=o.props||m,i=o.dom;if(l(e))Z(r,e,n);else for(var a=0;a-1&&t.options[a]&&(c=t.options[a].value),n&&i(c)&&(c=e.defaultValue),ae(o,c)}}var de,ue,se=Q("onInput",pe),me=Q("onChange");function pe(e,t,n){var o=e.value,r=t.value;if(i(o)){if(n){var a=e.defaultValue;i(a)||a===r||(t.defaultValue=a,t.value=a)}}else r!==o&&(t.defaultValue=o,t.value=o)}function fe(e,t,n,o,r,i){64&e?ie(o,n):256&e?le(o,n,r,t):128&e&&pe(o,n,r),i&&(n.$V=t)}function he(e,t,n){64&e?function(e,t){te(t.type)?(ee(e,"change",oe),ee(e,"click",re)):ee(e,"input",ne)}(t,n):256&e?function(e){ee(e,"change",ce)}(t):128&e&&function(e,t){ee(e,"input",se),t.onChange&&ee(e,"change",me)}(t,n)}function Ce(e){return e.type&&te(e.type)?!i(e.checked):!i(e.value)}function ge(e){e&&!B(e,null)&&e.current&&(e.current=null)}function be(e,t,n){e&&(c(e)||void 0!==e.current)&&n.push((function(){B(e,t)||void 0===e.current||(e.current=t)}))}function Ne(e,t){ve(e),v(e,t)}function ve(e){var t,n=e.flags,o=e.children;if(481&n){t=e.ref;var r=e.props;ge(t);var a=e.childFlags;if(!d(r))for(var l=Object.keys(r),u=0,s=l.length;u0;for(var c in a&&(i=Ce(n))&&he(t,o,n),n)_e(c,null,n[c],o,r,i,null);a&&fe(t,e,o,n,!0,i)}function Le(e,t,n){var o=F(e.render(t,e.state,n)),r=n;return c(e.getChildContext)&&(r=u(n,e.getChildContext())),e.$CX=r,o}function Be(e,t,n,o,r,i){var a=new t(n,o),l=a.$N=Boolean(t.getDerivedStateFromProps||a.getSnapshotBeforeUpdate);if(a.$SVG=r,a.$L=i,e.children=a,a.$BS=!1,a.context=o,a.props===m&&(a.props=n),l)a.state=y(a,n,a.state);else if(c(a.componentWillMount)){a.$BR=!0,a.componentWillMount();var u=a.$PS;if(!d(u)){var s=a.state;if(d(s))a.state=u;else for(var p in u)s[p]=u[p];a.$PS=null}a.$BR=!1}return a.$LI=Le(a,n,o),a}function Se(e,t,n,o,r,i){var a=e.flags|=16384;481&a?Ee(e,t,n,o,r,i):4&a?function(e,t,n,o,r,i){var a=Be(e,e.type,e.props||m,n,o,i);Se(a.$LI,t,a.$CX,o,r,i),Ae(e.ref,a,i)}(e,t,n,o,r,i):8&a?(!function(e,t,n,o,r,i){Se(e.children=F(function(e,t){return 32768&e.flags?e.type.render(e.props||m,e.ref,t):e.type(e.props||m,t)}(e,n)),t,n,o,r,i)}(e,t,n,o,r,i),Oe(e,i)):512&a||16&a?Ie(e,t,r):8192&a?function(e,t,n,o,r,i){var a=e.children,c=e.childFlags;12&c&&0===a.length&&(c=e.childFlags=2,a=e.children=O());2===c?Se(a,n,r,o,r,i):Te(a,n,t,o,r,i)}(e,n,t,o,r,i):1024&a&&function(e,t,n,o,r){Se(e.children,e.ref,t,!1,null,r);var i=O();Ie(i,n,o),e.dom=i.dom}(e,n,t,r,i)}function Ie(e,t,n){var o=e.dom=document.createTextNode(e.children);d(t)||h(t,o,n)}function Ee(e,t,n,o,r,a){var c=e.flags,l=e.props,u=e.className,s=e.children,m=e.childFlags,p=e.dom=function(e,t){return t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e)}(e.type,o=o||(32&c)>0);if(i(u)||""===u||(o?p.setAttribute("class",u):p.className=u),16===m)_(p,s);else if(1!==m){var f=o&&"foreignObject"!==e.type;2===m?(16384&s.flags&&(e.children=s=A(s)),Se(s,p,n,f,null,a)):8!==m&&4!==m||Te(s,p,n,f,null,a)}d(t)||h(t,p,r),d(l)||we(e,c,l,p,o),be(e.ref,p,a)}function Te(e,t,n,o,r,i){for(var a=0;a0,d!==u){var f=d||m;if((c=u||m)!==m)for(var h in(s=(448&r)>0)&&(p=Ce(c)),c){var C=f[h],g=c[h];C!==g&&_e(h,C,g,l,o,p,e)}if(f!==m)for(var b in f)i(c[b])&&!i(f[b])&&_e(b,f[b],null,l,o,p,e)}var N=t.children,v=t.className;e.className!==v&&(i(v)?l.removeAttribute("class"):o?l.setAttribute("class",v):l.className=v);4096&r?function(e,t){e.textContent!==t&&(e.textContent=t)}(l,N):Pe(e.childFlags,t.childFlags,e.children,N,l,n,o&&"foreignObject"!==t.type,null,e,a);s&&fe(r,t,l,c,!1,p);var V=t.ref,y=e.ref;y!==V&&(ge(y),be(V,l,a))}(e,t,o,r,p,s):4&p?function(e,t,n,o,r,i,a){var l=t.children=e.children;if(d(l))return;l.$L=a;var s=t.props||m,p=t.ref,f=e.ref,h=l.state;if(!l.$N){if(c(l.componentWillReceiveProps)){if(l.$BR=!0,l.componentWillReceiveProps(s,o),l.$UN)return;l.$BR=!1}d(l.$PS)||(h=u(h,l.$PS),l.$PS=null)}Fe(l,h,s,n,o,r,!1,i,a),f!==p&&(ge(f),be(p,l,a))}(e,t,n,o,r,l,s):8&p?function(e,t,n,o,r,a,l){var d=!0,u=t.props||m,s=t.ref,p=e.props,f=!i(s),h=e.children;f&&c(s.onComponentShouldUpdate)&&(d=s.onComponentShouldUpdate(p,u));if(!1!==d){f&&c(s.onComponentWillUpdate)&&s.onComponentWillUpdate(p,u);var C=t.type,g=F(32768&t.flags?C.render(u,s,o):C(u,o));Me(h,g,n,o,r,a,l),t.children=g,f&&c(s.onComponentDidUpdate)&&s.onComponentDidUpdate(p,u)}else t.children=h}(e,t,n,o,r,l,s):16&p?function(e,t){var n=t.children,o=t.dom=e.dom;n!==e.children&&(o.nodeValue=n)}(e,t):512&p?t.dom=e.dom:8192&p?function(e,t,n,o,r,i){var a=e.children,c=t.children,l=e.childFlags,d=t.childFlags,u=null;12&d&&0===c.length&&(d=t.childFlags=2,c=t.children=O());var s=0!=(2&d);if(12&l){var m=a.length;(8&l&&8&d||s||!s&&c.length>m)&&(u=N(a[m-1],!1).nextSibling)}Pe(l,d,a,c,n,o,r,u,e,i)}(e,t,n,o,r,s):function(e,t,n,o){var r=e.ref,i=t.ref,c=t.children;if(Pe(e.childFlags,t.childFlags,e.children,c,r,n,!1,null,e,o),t.dom=e.dom,r!==i&&!a(c)){var l=c.dom;C(r,l),f(i,l)}}(e,t,o,s)}function Pe(e,t,n,o,r,i,a,c,l,d){switch(e){case 2:switch(t){case 2:Me(n,o,r,i,a,c,d);break;case 1:Ne(n,r);break;case 16:ve(n),_(r,o);break;default:!function(e,t,n,o,r,i){ve(e),Te(t,n,o,r,N(e,!0),i),v(e,n)}(n,o,r,i,a,d)}break;case 1:switch(t){case 2:Se(o,r,i,a,c,d);break;case 1:break;case 16:_(r,o);break;default:Te(o,r,i,a,c,d)}break;case 16:switch(t){case 16:!function(e,t,n){e!==t&&(""!==e?n.firstChild.nodeValue=t:_(n,t))}(n,o,r);break;case 2:ye(r),Se(o,r,i,a,c,d);break;case 1:ye(r);break;default:ye(r),Te(o,r,i,a,c,d)}break;default:switch(t){case 16:Ve(n),_(r,o);break;case 2:ke(r,l,n),Se(o,r,i,a,c,d);break;case 1:ke(r,l,n);break;default:var u=0|n.length,s=0|o.length;0===u?s>0&&Te(o,r,i,a,c,d):0===s?ke(r,l,n):8===t&&8===e?function(e,t,n,o,r,i,a,c,l,d){var u,s,m=i-1,p=a-1,f=0,h=e[f],C=t[f];e:{for(;h.key===C.key;){if(16384&C.flags&&(t[f]=C=A(C)),Me(h,C,n,o,r,c,d),e[f]=C,++f>m||f>p)break e;h=e[f],C=t[f]}for(h=e[m],C=t[p];h.key===C.key;){if(16384&C.flags&&(t[p]=C=A(C)),Me(h,C,n,o,r,c,d),e[m]=C,m--,p--,f>m||f>p)break e;h=e[m],C=t[p]}}if(f>m){if(f<=p)for(s=(u=p+1)p)for(;f<=m;)Ne(e[f++],n);else!function(e,t,n,o,r,i,a,c,l,d,u,s,m){var p,f,h,C=0,g=c,b=c,v=i-c+1,y=a-c+1,k=new Int32Array(y+1),x=v===o,_=!1,w=0,L=0;if(r<4||(v|y)<32)for(C=g;C<=i;++C)if(p=e[C],Lc?_=!0:w=c,16384&f.flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L;break}!x&&c>a&&Ne(p,l)}else x||Ne(p,l);else{var B={};for(C=b;C<=a;++C)B[t[C].key]=C;for(C=g;C<=i;++C)if(p=e[C],Lg;)Ne(e[g++],l);k[c-b]=C+1,w>c?_=!0:w=c,16384&(f=t[c]).flags&&(t[c]=f=A(f)),Me(p,f,l,n,d,u,m),++L}else x||Ne(p,l);else x||Ne(p,l)}if(x)ke(l,s,e),Te(t,l,n,d,u,m);else if(_){var S=function(e){var t=0,n=0,o=0,r=0,i=0,a=0,c=0,l=e.length;l>De&&(De=l,de=new Int32Array(l),ue=new Int32Array(l));for(;n>1]]0&&(ue[n]=de[i-1]),de[i]=n)}i=r+1;var d=new Int32Array(i);a=de[i-1];for(;i-- >0;)d[i]=a,a=ue[a],de[i]=0;return d}(k);for(c=S.length-1,C=y-1;C>=0;C--)0===k[C]?(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)=0;C--)0===k[C]&&(16384&(f=t[w=C+b]).flags&&(t[w]=f=A(f)),Se(f,l,n,d,(h=w+1)a?a:i,m=0;ma)for(m=s;m=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),V(n),d}},"catch":function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;V(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:k(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}(e.exports);try{regeneratorRuntime=o}catch(r){Function("r","regeneratorRuntime = r")(o)}},function(e,t,n){"use strict";!function(t,n){var o,r,i=t.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,c=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,l=0,d={};function u(){var e=f.elements;return"string"==typeof e?e.split(" "):e}function s(e){var t=d[e._html5shiv];return t||(t={},l++,e._html5shiv=l,d[l]=t),t}function m(e,t,o){return t||(t=n),r?t.createElement(e):(o||(o=s(t)),!(i=o.cache[e]?o.cache[e].cloneNode():c.test(e)?(o.cache[e]=o.createElem(e)).cloneNode():o.createElem(e)).canHaveChildren||a.test(e)||i.tagUrn?i:o.frag.appendChild(i));var i}function p(e){e||(e=n);var t=s(e);return!f.shivCSS||o||t.hasCSS||(t.hasCSS=!!function(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",o.insertBefore(n.lastChild,o.firstChild)}(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),r||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return f.shivMethods?m(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,(function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'}))+");return n}")(f,t.frag)}(e,t),e}!function(){try{var e=n.createElement("a");e.innerHTML="",o="hidden"in e,r=1==e.childNodes.length||function(){n.createElement("a");var e=n.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(t){o=!0,r=!0}}();var f={elements:i.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==i.shivCSS,supportsUnknownElements:r,shivMethods:!1!==i.shivMethods,type:"default",shivDocument:p,createElement:m,createDocumentFragment:function(e,t){if(e||(e=n),r)return e.createDocumentFragment();for(var o=(t=t||s(e)).frag.cloneNode(),i=0,a=u(),c=a.length;i3?c(a):null,N=String(a.key),v=String(a.char),V=a.location,y=a.keyCode||(a.keyCode=N)&&N.charCodeAt(0)||0,_=a.charCode||(a.charCode=v)&&v.charCodeAt(0)||0,x=a.bubbles,k=a.cancelable,w=a.repeat,L=a.locale,B=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in m)m.initKeyEvent(t,x,k,B,p,h,f,C,y,_);else if(0>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,l=e.addEventListener,d=e.removeEventListener,u=0,s=function(){u++},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",s,{once:!0}),c(new a("_")),c(new a("_")),d("_",s,{once:!0})}catch(f){}1!==u&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,l,d,u=i.get(this),s=p(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(c=m.call(l.handler,r))<0?(c=l.handler.push(r)-1,l.wrap[c]=d=new n):d=l.wrap[c],s in d||(d[s]=o(t,r,a),e.call(this,t,d[s],d[s].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,l,d=i.get(this);if(d&&t in d&&(c=d[t],-1<(a=m.call(c.handler,n))&&(r=p(o))in(l=c.wrap[a]))){for(r in e.call(this,t,l[r],l[r].capture),delete l[r],l)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete d[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},function(e,t,n){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},function(e,t,n){"use strict";window.Int32Array||(window.Int32Array=Array)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(423),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,n(74))},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var o,r,i,a,c,l=1,d={},u=!1,s=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(r=s.documentElement,o=function(e){var t=s.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),o=function(t){e.postMessage(a+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),a=1;a1?t-1:0),o=1;o3?c(a):null,N=String(a.key),v=String(a.char),V=a.location,y=a.keyCode||(a.keyCode=N)&&N.charCodeAt(0)||0,k=a.charCode||(a.charCode=v)&&v.charCodeAt(0)||0,x=a.bubbles,_=a.cancelable,w=a.repeat,L=a.locale,B=a.view||e;if(a.which||(a.which=a.keyCode),"initKeyEvent"in m)m.initKeyEvent(t,x,_,B,p,h,f,C,y,k);else if(0>>0),t=Element.prototype,n=t.querySelector,o=t.querySelectorAll;function r(t,n,o){t.setAttribute(e,null);var r=n.call(t,String(o).replace(/(^|,\s*)(:scope([ >]|$))/g,(function(t,n,o,r){return n+"["+e+"]"+(r||" ")})));return t.removeAttribute(e),r}t.querySelector=function(e){return r(this,n,e)},t.querySelectorAll=function(e){return r(this,o,e)}}()}}(window),function(e){var t=e.WeakMap||function(){var e,t=0,n=!1,o=!1;function r(t,r,i){o=i,n=!1,e=undefined,t.dispatchEvent(r)}function i(e){this.value=e}function c(){t++,this.__ce__=new a("@DOMMap:"+t+Math.random())}return i.prototype.handleEvent=function(t){n=!0,o?t.currentTarget.removeEventListener(t.type,this,!1):e=this.value},c.prototype={constructor:c,"delete":function(e){return r(e,this.__ce__,!0),n},get:function(t){r(t,this.__ce__,!1);var n=e;return e=undefined,n},has:function(e){return r(e,this.__ce__,!1),n},set:function(e,t){return r(e,this.__ce__,!0),e.addEventListener(this.__ce__.type,new i(t),!1),this}},c}();function n(){}function o(e,t,n){function r(e){r.once&&(e.currentTarget.removeEventListener(e.type,t,r),r.removed=!0),r.passive&&(e.preventDefault=o.preventDefault),"function"==typeof r.callback?r.callback.call(this,e):r.callback&&r.callback.handleEvent(e),r.passive&&delete e.preventDefault}return r.type=e,r.callback=t,r.capture=!!n.capture,r.passive=!!n.passive,r.once=!!n.once,r.removed=!1,r}n.prototype=(Object.create||Object)(null),o.preventDefault=function(){};var r,i,a=e.CustomEvent,c=e.dispatchEvent,l=e.addEventListener,d=e.removeEventListener,u=0,s=function(){u++},m=[].indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},p=function(e){return"".concat(e.capture?"1":"0",e.passive?"1":"0",e.once?"1":"0")};try{l("_",s,{once:!0}),c(new a("_")),c(new a("_")),d("_",s,{once:!0})}catch(f){}1!==u&&(i=new t,r=function(e){if(e){var t=e.prototype;t.addEventListener=function(e){return function(t,r,a){if(a&&"boolean"!=typeof a){var c,l,d,u=i.get(this),s=p(a);u||i.set(this,u=new n),t in u||(u[t]={handler:[],wrap:[]}),l=u[t],(c=m.call(l.handler,r))<0?(c=l.handler.push(r)-1,l.wrap[c]=d=new n):d=l.wrap[c],s in d||(d[s]=o(t,r,a),e.call(this,t,d[s],d[s].capture))}else e.call(this,t,r,a)}}(t.addEventListener),t.removeEventListener=function(e){return function(t,n,o){if(o&&"boolean"!=typeof o){var r,a,c,l,d=i.get(this);if(d&&t in d&&(c=d[t],-1<(a=m.call(c.handler,n))&&(r=p(o))in(l=c.wrap[a]))){for(r in e.call(this,t,l[r],l[r].capture),delete l[r],l)return;c.handler.splice(a,1),c.wrap.splice(a,1),0===c.handler.length&&delete d[t]}}else e.call(this,t,n,o)}}(t.removeEventListener)}},e.EventTarget?r(EventTarget):(r(e.Text),r(e.Element||e.HTMLElement),r(e.HTMLDocument),r(e.Window||{prototype:e}),r(e.XMLHttpRequest)))}(window)},function(e,t,n){"use strict";!function(e){if("undefined"!=typeof e.setAttribute){var t=function(e){return e.replace(/-[a-z]/g,(function(e){return e[1].toUpperCase()}))};e.setProperty=function(e,n){var o=t(e);if(!n)return this.removeAttribute(o);var r=String(n);return this.setAttribute(o,r)},e.getPropertyValue=function(e){var n=t(e);return this.getAttribute(n)||null},e.removeProperty=function(e){var n=t(e),o=this.getAttribute(n);return this.removeAttribute(n),o}}}(CSSStyleDeclaration.prototype)},function(e,t,n){"use strict";window.Int32Array||(window.Int32Array=Array)},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";(function(e){var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(423),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(this,n(75))},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var o,r,i,a,c,l=1,d={},u=!1,s=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?o=function(e){t.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},o=function(e){i.port2.postMessage(e)}):s&&"onreadystatechange"in s.createElement("script")?(r=s.documentElement,o=function(e){var t=s.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):o=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",c=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",c,!1):e.attachEvent("onmessage",c),o=function(t){e.postMessage(a+t,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n1?r-1:0),a=1;a1?t-1:0),o=1;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(0),r=n(9),i=n(433),a=n(26),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(0),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,m=t.width,p=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:m,"max-height":p}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:m,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(0),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,m=e.onChange,p=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,_=e.ranges,x=void 0===_?{}:_,k=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:m,onDrag:p,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,m=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,x)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*p)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":k+"rem"},v)},B)),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(0),r=n(174);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(0),r=n(9),i=n(17),a=n(173),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,m=e.content,p=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[m,p]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(0),r=n(3),i=n(2);n(122),n(26);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,m=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:m+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(0),r=n(9),i=n(17),a=n(172);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(0),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,m=e.ranges,p=void 0===m?{}:m,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,p)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,m=e.children,p=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(m);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",p&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),m,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,m=e.onDrag,p=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,_=e.children,x=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),k=_!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:m,step:p,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,m=e.handleDragStart,p=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(x)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",k?_:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(x),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(0),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":451,"./APC.js":452,"./AiAirlock.js":453,"./AiRestorer.js":454,"./AiSupermatter.js":455,"./AirAlarm.js":456,"./AlgaeFarm.js":458,"./AppearanceChanger.js":459,"./AreaScrubberControl.js":460,"./AtmosAlertConsole.js":461,"./AtmosControl.js":177,"./AtmosFilter.js":462,"./AtmosMixer.js":463,"./BodyDesigner.js":464,"./BodyScanner.js":465,"./CameraConsole.js":178,"./Canister.js":466,"./ChemDispenser.js":467,"./ChemMaster.js":471,"./CloningConsole.js":472,"./CrewMonitor.js":180,"./Cryo.js":473,"./DNAModifier.js":474,"./DestinationTagger.js":475,"./DiseaseSplicer.js":476,"./DishIncubator.js":477,"./DisposalBin.js":478,"./DroneConsole.js":479,"./EmbeddedController.js":480,"./ExonetNode.js":481,"./FileCabinet.js":482,"./GasPump.js":483,"./GasTemperatureSystem.js":484,"./GeneralAtmoControl.js":485,"./GeneralRecords.js":486,"./Gps.js":487,"./GravityGenerator.js":488,"./IDCard.js":489,"./IsolationCentrifuge.js":490,"./MedicalRecords.js":491,"./MessageMonitor.js":492,"./MiningOreProcessingConsole.js":493,"./MiningStackingConsole.js":494,"./MiningVendor.js":495,"./MuleBot.js":496,"./NTNetRelay.js":497,"./NoticeBoard.js":498,"./NtosAtmosControl.js":499,"./NtosCameraConsole.js":500,"./NtosCrewMonitor.js":501,"./NtosPowerMonitor.js":502,"./NtosRCON.js":503,"./NtosShutoffMonitor.js":504,"./NtosStationAlertConsole.js":505,"./NtosSupermatterMonitor.js":506,"./OmniFilter.js":507,"./OmniMixer.js":508,"./OperatingComputer.js":509,"./ParticleAccelerator.js":510,"./PathogenicIsolator.js":511,"./PipeDispenser.js":512,"./PortableGenerator.js":513,"./PortablePump.js":514,"./PortableScrubber.js":515,"./PowerMonitor.js":184,"./PressureRegulator.js":516,"./RCON.js":185,"./RIGSuit.js":517,"./Radio.js":518,"./RapidPipeDispenser.js":189,"./RequestConsole.js":519,"./ResleevingConsole.js":520,"./ResleevingPod.js":521,"./RogueZones.js":522,"./ShieldCapacitor.js":523,"./ShieldGenerator.js":524,"./ShutoffMonitor.js":186,"./ShuttleControl.js":525,"./Signaler.js":526,"./Sleeper.js":527,"./SmartVend.js":528,"./Smes.js":529,"./SolarControl.js":530,"./SpaceHeater.js":531,"./StationAlertConsole.js":187,"./SuitCycler.js":532,"./SuitStorageUnit.js":533,"./SupermatterMonitor.js":188,"./SupplyConsole.js":534,"./TEGenerator.js":535,"./Tank.js":536,"./TankDispenser.js":537,"./TelecommsLogBrowser.js":538,"./TelecommsMachineBrowser.js":539,"./TelecommsMultitoolMenu.js":540,"./Turbolift.js":541,"./Vending.js":542,"./VorePanel.js":543,"./Wires.js":544};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=450},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,m=l.flushing,p=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(176),l=n(61);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[p.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],m=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,m=c.isDead,p=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(31),n(61));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(0),r=n(6),i=(n(18),n(2)),a=n(3),c=n(35),l=n(4),d=n(176),u=n(457);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(0),r=n(18),i=n(2),a=n(3);n(35);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,m=n.excheck,p=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,m=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(0),r=n(2),i=n(3),a=(n(31),n(4)),c=(n(6),n(18));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,m=d.last_flow_rate,p=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(0),r=n(22),i=n(18),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,_=f.change_eye_color,x=f.change_skin_tone,k=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=_||x||k||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,m):null,S&&4===M?(0,o.createComponentVNode)(2,p):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,m=i.change_facial_hair_color,p=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,m?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c=n(18);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],m=u[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return m(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,m=d.diskStored,p=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},m=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,_);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},_=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(31),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,m=u.can_relabel,p=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(179),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},m=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,f=void 0===p?[]:p;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",m," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(469)()},function(e,t,n){"use strict";var o=n(470);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(179),l=n(49),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,p=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,m=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:m?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(35),l=n(49),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,m=d.health,p=d.unidentity,f=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,p):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,m=l.locked,p=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=m&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,m=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,m=d.hasOccupant,p=d.occupant,f=void 0===p?[]:p,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(49),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,p=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,m=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,m=c.split(""),p=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:m[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(0),r=(n(6),n(31)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,m=d.food_supply,p=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,_=d.analysed,x=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":f>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:_?x:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(0),r=(n(18),n(6),n(2)),i=n(3),a=n(4),c=((0,n(26).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,m=n.fingerprint_hash,p=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(0),r=(n(6),n(31),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return p&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return c("sample")}})})]}),f]}),u&&!m||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(49),c=n(4),l=n(181),d=n(182),u=n(92),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=n(92),d=n(61);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),p=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):p?f?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,p):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,m=c.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=(n(22),n(183));t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.unclaimedPoints,s=(d.ores,d.showAllOres,d.power);return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,onClick:function(){return r("power")},children:s?"Smelting":"Not Smelting"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:u<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:u})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],u=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],s=function(e,t){return-1===u.indexOf(e.ore)||-1===u.indexOf(t.ore)?e.ore-t.ore:u.indexOf(t.ore)-u.indexOf(e.ore)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,u=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return c("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:u.length&&u.sort(s).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:d.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);n(22);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.stacktypes,s=d.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return l("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),u.length&&u.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=n(183);var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),l=(n.act,n.data),u=l.has_id,s=l.id,p=l.items,f=(0,i.useLocalState)(t,"search",""),h=f[0],C=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),g=C[0],b=(C[1],(0,i.useLocalState)(t,"descending",!1)),N=b[0],v=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),V=!1,y=Object.entries(p).map((function(e,t){var n=Object.entries(e[1]).filter(v).map((function(e){return e[1].affordable=u&&s.points>=e[1].price,e[1]})).sort(d[g]);if(0!==n.length)return N&&(n=n.reverse()),V=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,c.refocusLayout)()},children:V?y:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),l=(c[0],c[1]),u=(0,i.useLocalState)(t,"descending",!1),s=u[0],m=u[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-left",ml:"0.5rem",onClick:function(){return m(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=e.title,d=e.items,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},u,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!c.has_id||c.id.points=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(190);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,m=d.default_pressure,p=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4)),c=n(190);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:m,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=n(18);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,m=c.malf,p=c.aicontrol,f=c.ai,h=null;return s||m?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&p&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,m=c.sealing,p=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,m=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),m&&m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(0),r=(n(22),n(6)),i=n(2),a=n(3),c=n(35),l=n(4);(0,n(26).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,m=u.minFrequency,p=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,_=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),x=156;return b&&b.length>0?x+=28*b.length+6:x+=24,g&&(x+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:x,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:_.color,ml:2,children:["[",_.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RequestConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n=(0,i.useBackend)(t).act,r=e.dept_list,c=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==c&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return n("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return n("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!c,icon:c?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",c?"OFF":"ON"]})})},1:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},2:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},3:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},4:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print",{print:t+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},t)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.message,u=l.recipient,s=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+u,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===s?"High Priority":1===s?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return c("department",{department:u})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return c("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(c.department,c.screen,c.message_log,c.newmessagepriority,c.silent,c.announcementConsole,c.assist_dept,c.supply_dept,c.info_dept,c.message),d=(c.recipient,c.priority,c.msgStamped,c.msgVerified,c.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};t.RequestConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,u=l.screen,s=l.newmessagepriority,m=l.announcementConsole,p=d[u];return(0,o.createComponentVNode)(2,c.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===u,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===u,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),s&&(0,o.createComponentVNode)(2,a.Section,{title:s>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:s>1?"bad":"average",bold:s>1})||null,(0,o.createComponentVNode)(2,p)]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=(n(35),n(49)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,m=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,m=c.mind_compat,p=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(g=(0,o.createComponentVNode)(2,p)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},p=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(0),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,m=n.mindStatus,p=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RogueZones=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.RogueZones=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.timeout_percent,u=l.diffstep,s=l.difficulty,m=l.occupied,p=l.scanning,f=l.updated,h=l.debug,C=l.shuttle_location,g=l.shuttle_at_station,b=l.scan_ready,N=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mineral Content",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shuttle Location",buttons:N&&(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"rocket",onClick:function(){return c("recall_shuttle")},children:"Recall Shuttle"})||null,children:C}),m&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return c("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,f&&!p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,i.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,i.Box,{children:["Diffstep: ",u]}),(0,o.createComponentVNode)(2,i.Box,{children:["Difficulty: ",s]}),(0,o.createComponentVNode)(2,i.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,i.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle Location: ",C]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle at station: ",g]}),(0,o.createComponentVNode)(2,i.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,m=u.time_since_fail,p=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(p/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(31),d=n(61);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,m=d.failing,p=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,_=d.max_strengthen_rate,x=d.gen_power,k=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(x)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:k?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:p,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:_,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ShuttleControl=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n="ERROR",r="bad",i=!1;return"docked"===e?(n="DOCKED",r="good"):"docking"===e?(n="DOCKING",r="average",i=!0):"undocking"===e?(n="UNDOCKING",r="average",i=!0):"undocked"===e&&(n="UNDOCKED",r="#676767"),i&&t&&(n+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:n})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,d=e.engineName,u=void 0===d?"Bluespace Drive":d,s=c.shuttle_status,m=c.shuttle_state,p=c.has_docking,f=c.docking_status,h=c.docking_override,C=c.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:s}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:u,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(f,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:C||"Not Set"})})],4)||null]})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_launch,d=c.can_cancel,u=c.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!u,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},s={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t);n.act,n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_cloak,s=c.can_pick,m=c.legit,p=c.cloaked,f=c.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!s,onClick:function(){return r("pick")},children:f})})]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_pick,s=c.destination_name,m=c.fuel_usage,p=c.fuel_span,f=c.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:s})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[f," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.autopilot,s=d.can_rename,m=d.shuttle_state,p=d.is_moving,f=d.skip_docking,h=d.docking_status,C=d.docking_override,g=d.shuttle_location,b=d.can_cloak,N=d.cloaked,v=d.can_autopilot,V=d.routes,y=d.is_in_transit,_=d.travel_progress,x=d.time_left,k=d.doors,w=d.sensors;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:s&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(g)}),!f&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return c("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return c("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,C)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:N,icon:N?"eye":"eye-o",onClick:function(){return c("toggle_cloaked")},children:N?"Enabled":"Disabled"})})||null,v&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"eye":"eye-o",onClick:function(){return c("toggle_autopilot")},children:u?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return c("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),y&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:_,children:[x,"s"]})})})})||null,Object.keys(k).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(k).map((function(e){var t=k[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",t.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(w).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(w).map((function(e){var t=w[e];return-1!==t.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[t.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[t.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[t.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[t.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[t.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[t.phoron,"%"]}),t.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[t.other,"%"]})||null]})},e)}))})})||null],0)}))};t.ShuttleControl=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.subtemplate);return(0,o.createComponentVNode)(2,c.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:s[r]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,m=d.minFrequency,p=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,m=e.actToDo,p=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isBeakerLoaded;return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected.",c&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Remove Beaker",onClick:function(){return r("removebeaker")}})})||null]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(0),r=n(2),i=n(3),a=n(31),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,m=u.capacity,p=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,_=u.outputUsed,x=(s>=100?"good":h&&"average")||"bad",k=(v?"good":p>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(p/6e4,1)," kWh / ",(0,l.round)(m/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:k,children:v?"Sending":p>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(_)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,m=d.sun_angle,p=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(0),r=n(35),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,m=d.maxTemp,p=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,m=i.locked,p=i.uv_active,f=(0,o.createComponentVNode)(2,c);return p?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,m=c.departments,p=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,m=i.uv_active,p=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):p&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,m=c.suit,p=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SupplyConsole=void 0;var o=n(0),r=n(22),i=(n(6),n(31)),a=n(2),c=n(3),l=n(49),d=n(4),u=n(56),s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data.supply_points,l=e.args,d=l.name,u=l.cost,s=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,c.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"shopping-cart",content:"Buy - "+u+" points",disabled:u>i,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})})};t.SupplyConsole=function(e,t){var n=(0,a.useBackend)(t);n.act,n.data;return(0,l.modalRegisterBodyOverride)("view_crate",s),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,c.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,l=n.data,d=l.supply_points,u=l.shuttle,s=null,m=!1;return l.shuttle_auth&&(1===u.launch&&0===u.mode?s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==u.launch||3!==u.mode&&1!==u.mode?1===u.launch&&5===u.mode&&(s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):s=(0,o.createComponentVNode)(2,c.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),u.force&&(m=!0)),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([s,m?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:u.location}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engine",children:u.engine}),4===u.mode?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA",children:u.time>1?(0,i.formatTime)(u.time):"LATE"}):null]})})]})},p=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data.order_auth,(0,a.useLocalState)(t,"tabIndex",0)),i=r[0],l=r[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"box",selected:0===i,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"check-circle-o",selected:1===i,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"circle-o",selected:2===i,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:3===i,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:4===i,onClick:function(){return l(4)},children:"Export history"})]}),0===i?(0,o.createComponentVNode)(2,f):null,1===i?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===i?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===i?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===i?(0,o.createComponentVNode)(2,C):null]})},f=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.categories,s=l.supply_packs,m=l.contraband,p=l.supply_points,f=(0,a.useLocalState)(t,"activeCategory",null),h=f[0],C=f[1],g=(0,u.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(s);return(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return C(e)}},e)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"flex-start",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return i("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return i("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return i("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=e.mode,d=i.orders,u=i.order_auth,s=i.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:["Requested"===l&&u?(0,o.createComponentVNode)(2,c.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{title:"Order "+(t+1),buttons:"All"===l&&u?(0,o.createComponentVNode)(2,c.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.entries.map((function(t){return t.entry?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:u?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.status}):null]}),u&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Approve",disabled:e.cost>s,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},t)}))]}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No orders found."})},C=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.receipts,d=i.order_auth;return l.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:l.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.title.map((function(t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:d?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry},t.field)})),e.error?(0,o.createComponentVNode)(2,c.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(t,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:n+1,edit:"meow","default":t.object})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:n+1})}})],4):null,children:[t.quantity,"x -> ",t.value," points"]},n)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},t)}))}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No receipts found."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(31);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,m=n.primary,p=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,m=i.inletTemperature,p=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,m=l.releasePressure,p=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:m===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(m),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:m===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:m===p,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,m=u.network,p=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:m,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,m=l.job,p=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,c,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(92),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,m=c.shadowlink,p=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,m=c.broadcasting,p=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(0),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,m=null;return 0===c?m=(0,o.createComponentVNode)(2,l):1===c&&(m=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[m,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,m=r.desc,p=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[p,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:m}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,p,{belly:u})]})},p=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,m=c.mode,p=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,_=c.digest_burn,x=c.bulge_size,k=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[m],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:_})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*x+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*k+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,m=c.digest_leave_remains,p=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(p?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:p?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltipPosition:"top",tooltip:m?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:m?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file +var n;n=void 0!==e?e:void 0,t.loadCSS=function(e,t,o,r){var i,a=n.document,c=a.createElement("link");if(t)i=t;else{var l=(a.body||a.getElementsByTagName("head")[0]).childNodes;i=l[l.length-1]}var d=a.styleSheets;if(r)for(var u in r)r.hasOwnProperty(u)&&c.setAttribute(u,r[u]);c.rel="stylesheet",c.href=e,c.media="only x",function p(e){if(a.body)return e();setTimeout((function(){p(e)}))}((function(){i.parentNode.insertBefore(c,t?i:i.nextSibling)}));var s=function f(e){for(var t=c.href,n=d.length;n--;)if(d[n].href===t)return e();setTimeout((function(){f(e)}))};function m(){c.addEventListener&&c.removeEventListener("load",m),c.media=o||"all"}return c.addEventListener&&c.addEventListener("load",m),c.onloadcssdefined=s,s(m),c}}).call(this,n(75))},function(e,t,n){"use strict";t.__esModule=!0,t.getRoutedComponent=void 0;var o=n(0),r=n(2),i=(n(121),n(4)),a=n(450),c=function(e,t){return function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0,children:["notFound"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" was not found.")],4),"missingExport"===e&&(0,o.createVNode)(1,"div",null,[(0,o.createTextVNode)("Interface "),(0,o.createVNode)(1,"b",null,t,0),(0,o.createTextVNode)(" is missing an export.")],4)]})})}},l=function(){return(0,o.createComponentVNode)(2,i.Window,{resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{scrollable:!0})})};t.getRoutedComponent=function(e){var t=(0,r.selectBackend)(e),n=t.suspended,o=t.config;if(n)return l;var i,d=null==o?void 0:o["interface"];try{i=a("./"+d+".js")}catch(s){if("MODULE_NOT_FOUND"===s.code)return c("notFound",d);throw s}var u=i[d];return u||c("missingExport",d)}},function(e,t,n){"use strict";var o,r;t.__esModule=!0,t.VNodeFlags=t.ChildFlags=void 0,t.VNodeFlags=o,function(e){e[e.HtmlElement=1]="HtmlElement",e[e.ComponentUnknown=2]="ComponentUnknown",e[e.ComponentClass=4]="ComponentClass",e[e.ComponentFunction=8]="ComponentFunction",e[e.Text=16]="Text",e[e.SvgElement=32]="SvgElement",e[e.InputElement=64]="InputElement",e[e.TextareaElement=128]="TextareaElement",e[e.SelectElement=256]="SelectElement",e[e.Void=512]="Void",e[e.Portal=1024]="Portal",e[e.ReCreate=2048]="ReCreate",e[e.ContentEditable=4096]="ContentEditable",e[e.Fragment=8192]="Fragment",e[e.InUse=16384]="InUse",e[e.ForwardRef=32768]="ForwardRef",e[e.Normalized=65536]="Normalized",e[e.ForwardRefComponent=32776]="ForwardRefComponent",e[e.FormElement=448]="FormElement",e[e.Element=481]="Element",e[e.Component=14]="Component",e[e.DOMRef=2033]="DOMRef",e[e.InUseOrNormalized=81920]="InUseOrNormalized",e[e.ClearInUse=-16385]="ClearInUse",e[e.ComponentKnown=12]="ComponentKnown"}(o||(t.VNodeFlags=o={})),t.ChildFlags=r,function(e){e[e.UnknownChildren=0]="UnknownChildren",e[e.HasInvalidChildren=1]="HasInvalidChildren",e[e.HasVNodeChildren=2]="HasVNodeChildren",e[e.HasNonKeyedChildren=4]="HasNonKeyedChildren",e[e.HasKeyedChildren=8]="HasKeyedChildren",e[e.HasTextChildren=16]="HasTextChildren",e[e.MultipleChildren=12]="MultipleChildren"}(r||(t.ChildFlags=r={}))},function(e,t,n){"use strict";t.__esModule=!0,t.NtosWindow=void 0;var o=n(0),r=n(122),i=n(2),a=n(3),c=n(123),l=n(177),d=function(e,t){var n=e.title,d=e.width,u=void 0===d?575:d,s=e.height,m=void 0===s?700:s,p=e.resizable,f=e.theme,h=void 0===f?"ntos":f,C=e.children,g=(0,i.useBackend)(t),b=g.act,N=g.data,v=N.PC_device_theme,V=N.PC_batteryicon,y=N.PC_showbatteryicon,k=N.PC_batterypercent,x=N.PC_ntneticon,_=N.PC_apclinkicon,w=N.PC_stationtime,L=N.PC_programheaders,B=void 0===L?[]:L,S=N.PC_showexitprogram;return(0,o.createComponentVNode)(2,l.Window,{title:n,width:u,height:m,theme:h,resizable:p,children:(0,o.createVNode)(1,"div","NtosWindow",[(0,o.createVNode)(1,"div","NtosWindow__header NtosHeader",[(0,o.createVNode)(1,"div","NtosHeader__left",[(0,o.createComponentVNode)(2,a.Box,{inline:!0,bold:!0,mr:2,children:w}),(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,mr:2,opacity:.33,children:["ntos"===v&&"NtOS","syndicate"===v&&"Syndix"]})],4),(0,o.createVNode)(1,"div","NtosHeader__right",[B.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(e.icon)})},e.icon)})),(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:x&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(x)})}),!!y&&V&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:[V&&(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(V)}),k&&k]}),_&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,mr:1,children:(0,o.createVNode)(1,"img","NtosHeader__icon",null,1,{src:(0,r.resolveAsset)(_)})}),!!S&&(0,o.createComponentVNode)(2,a.Button,{width:"26px",textAlign:"center",color:"transparent",icon:"window-minimize-o",tooltip:"Minimize",tooltipPosition:"bottom",onClick:function(){return b("PC_minimize")}}),!!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",textAlign:"center",color:"transparent",icon:"window-close-o",tooltip:"Close",tooltipPosition:"bottom-left",onClick:function(){return b("PC_exit")}}),!S&&(0,o.createComponentVNode)(2,a.Button,{mr:"-3px",width:"26px",lineHeight:"22px",textAlign:"center",color:"transparent",icon:"power-off",tooltip:"Power off",tooltipPosition:"bottom-left",onClick:function(){return b("PC_shutdown")}})],0)],4,{onMouseDown:function(){(0,c.refocusLayout)()}}),C],0)})};t.NtosWindow=d;d.Content=function(e){return(0,o.createVNode)(1,"div","NtosWindow__content",(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.Window.Content,Object.assign({},e))),2)}},function(e,t,n){"use strict";t.__esModule=!0,t.BlockQuote=void 0;var o=n(0),r=n(9),i=n(17);t.BlockQuote=function(e){var t=e.className,n=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["BlockQuote",t])},n)))}},function(e,t,n){"use strict";t.__esModule=!0,t.ByondUi=void 0;var o=n(0),r=n(9),i=n(433),a=n(27),c=n(17);function l(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var d=(0,a.createLogger)("ByondUi"),u=[];window.addEventListener("beforeunload",(function(){for(var e=0;e=0||(r[n]=e[n]);return r}(t,["data","rangeX","rangeY","fillColor","strokeColor","strokeWidth"]),C=this.state.viewBox,g=function(e,t,n,o){if(0===e.length)return[];var i=(0,r.zipWith)(Math.min).apply(void 0,e),a=(0,r.zipWith)(Math.max).apply(void 0,e);return n!==undefined&&(i[0]=n[0],a[0]=n[1]),o!==undefined&&(i[1]=o[0],a[1]=o[1]),(0,r.map)((function(e){return(0,r.zipWith)((function(e,t,n,o){return(e-t)/(n-t)*o}))(e,i,a,t)}))(e)}(i,C,c,l);if(g.length>0){var b=g[0],N=g[g.length-1];g.push([C[0]+f,N[1]]),g.push([C[0]+f,-f]),g.push([-f,-f]),g.push([-f,b[1]])}var v=function(e){for(var t="",n=0;n=0||(r[n]=e[n]);return r}(t,["children","color","title","buttons"]);return(0,o.createComponentVNode)(2,r.Box,{mb:1,children:[(0,o.createVNode)(1,"div","Table",[(0,o.createVNode)(1,"div","Table__cell",(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Button,Object.assign({fluid:!0,color:l,icon:n?"chevron-down":"chevron-right",onClick:function(){return e.setState({open:!n})}},s,{children:d}))),2),u&&(0,o.createVNode)(1,"div","Table__cell Table__cell--collapsing",u,0)],0),n&&(0,o.createComponentVNode)(2,r.Box,{mt:1,children:a})]})},a}(o.Component);t.Collapsible=a},function(e,t,n){"use strict";t.__esModule=!0,t.ColorBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.content,n=(e.children,e.className),a=e.color,c=e.backgroundColor,l=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["content","children","className","color","backgroundColor"]);return l.color=t?null:"transparent",l.backgroundColor=a||c,(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["ColorBox",n,(0,i.computeBoxClassName)(l)]),t||".",0,Object.assign({},(0,i.computeBoxProps)(l))))};t.ColorBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Dropdown=void 0;var o=n(0),r=n(9),i=n(17),a=n(126);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t,n;function l(t){var n;return(n=e.call(this,t)||this).state={selected:t.selected,open:!1},n.handleClick=function(){n.state.open&&n.setOpen(!1)},n}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentWillUnmount=function(){window.removeEventListener("click",this.handleClick)},d.setOpen=function(e){var t=this;this.setState({open:e}),e?(setTimeout((function(){return window.addEventListener("click",t.handleClick)})),this.menuRef.focus()):window.removeEventListener("click",this.handleClick)},d.setSelected=function(e){this.setState({selected:e}),this.setOpen(!1),this.props.onSelected(e)},d.buildMenu=function(){var e=this,t=this.props,n=t.options,r=void 0===n?[]:n,i=t.placeholder,a=r.map((function(t){return(0,o.createVNode)(1,"div","Dropdown__menuentry",t,0,{onClick:function(){e.setSelected(t)}},t)}));return i&&a.unshift((0,o.createVNode)(1,"div","Dropdown__menuentry",[(0,o.createTextVNode)("-- "),i,(0,o.createTextVNode)(" --")],0,{onClick:function(){e.setSelected(null)}},i)),a},d.render=function(){var e=this,t=this.props,n=t.color,l=void 0===n?"default":n,d=t.over,u=t.noscroll,s=t.nochevron,m=t.width,p=t.maxHeight,f=(t.onClick,t.selected,t.disabled),h=t.placeholder,C=c(t,["color","over","noscroll","nochevron","width","maxHeight","onClick","selected","disabled","placeholder"]),g=C.className,b=c(C,["className"]),N=d?!this.state.open:this.state.open,v=this.state.open?(0,o.createVNode)(1,"div",(0,r.classes)([u?"Dropdown__menu-noscroll":"Dropdown__menu",d&&"Dropdown__over"]),this.buildMenu(),0,{tabIndex:"-1",style:{width:m,"max-height":p}},null,(function(t){e.menuRef=t})):null;return(0,o.createVNode)(1,"div","Dropdown",[(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({width:m,className:(0,r.classes)(["Dropdown__control","Button","Button--color--"+l,f&&"Button--disabled",g])},b,{onClick:function(){f&&!e.state.open||e.setOpen(!e.state.open)},children:[(0,o.createVNode)(1,"span","Dropdown__selected-text",this.state.selected||h,0),!!s||(0,o.createVNode)(1,"span","Dropdown__arrow-button",(0,o.createComponentVNode)(2,a.Icon,{name:N?"chevron-up":"chevron-down"}),2)]}))),v],0)},l}(o.Component);t.Dropdown=l},function(e,t,n){"use strict";t.__esModule=!0,t.GridColumn=t.Grid=void 0;var o=n(0),r=n(128),i=n(9);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){var t=e.children,n=a(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table,Object.assign({},n,{children:(0,o.createComponentVNode)(2,r.Table.Row,{children:t})})))};t.Grid=c,c.defaultHooks=i.pureComponentHooks;var l=function(e){var t=e.size,n=void 0===t?1:t,i=e.style,c=a(e,["size","style"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Table.Cell,Object.assign({style:Object.assign({width:n+"%"},i)},c)))};t.GridColumn=l,c.defaultHooks=i.pureComponentHooks,c.Column=l},function(e,t,n){"use strict";t.__esModule=!0,t.Input=void 0;var o=n(0),r=n(9),i=n(17);function a(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var c=function(e){return(0,r.isFalsy)(e)?"":e},l=function(e){var t,n;function l(){var t;return(t=e.call(this)||this).inputRef=(0,o.createRef)(),t.state={editing:!1},t.handleInput=function(e){var n=t.state.editing,o=t.props.onInput;n||t.setEditing(!0),o&&o(e,e.target.value)},t.handleFocus=function(e){t.state.editing||t.setEditing(!0)},t.handleBlur=function(e){var n=t.state.editing,o=t.props.onChange;n&&(t.setEditing(!1),o&&o(e,e.target.value))},t.handleKeyDown=function(e){var n=t.props,o=n.onInput,r=n.onChange,i=n.onEnter;return 13===e.keyCode?(t.setEditing(!1),r&&r(e,e.target.value),o&&o(e,e.target.value),i&&i(e,e.target.value),void(t.props.selfClear?e.target.value="":e.target.blur())):27===e.keyCode?(t.setEditing(!1),e.target.value=c(t.props.value),void e.target.blur()):void 0},t}n=e,(t=l).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var d=l.prototype;return d.componentDidMount=function(){var e=this.props.value,t=this.inputRef.current;t&&(t.value=c(e),this.props.autofocus&&(t.focus(),t.selectionStart=0,t.selectionEnd=t.value.length))},d.componentDidUpdate=function(e,t){var n=this.state.editing,o=e.value,r=this.props.value,i=this.inputRef.current;i&&!n&&o!==r&&(i.value=c(r))},d.setEditing=function(e){this.setState({editing:e})},d.render=function(){var e=this.props,t=(e.selfClear,e.onInput,e.onChange,e.onEnter,e.value,e.maxLength),n=e.placeholder,c=(e.autofocus,a(e,["selfClear","onInput","onChange","onEnter","value","maxLength","placeholder","autofocus"])),l=c.className,d=c.fluid,u=a(c,["className","fluid"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["Input",d&&"Input--fluid",l])},u,{children:[(0,o.createVNode)(1,"div","Input__baseline",".",16),(0,o.createVNode)(64,"input","Input__input",null,1,{placeholder:n,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,maxLength:t},null,this.inputRef)]})))},l}(o.Component);t.Input=l},function(e,t,n){"use strict";t.__esModule=!0,t.Knob=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Knob=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.forcedInputWidth,d=e.format,u=e.maxValue,s=e.minValue,m=e.onChange,p=e.onDrag,f=e.step,h=e.stepPixelSize,C=e.suppressFlicker,g=e.unit,b=e.value,N=e.className,v=e.style,V=e.fillValue,y=e.color,k=e.ranges,x=void 0===k?{}:k,_=e.size,w=e.bipolar,L=(e.children,e.popUpPosition),B=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","forcedInputWidth","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","style","fillValue","color","ranges","size","bipolar","children","popUpPosition"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[0,-1]},{animated:t,forcedInputWidth:n,format:d,maxValue:u,minValue:s,onChange:m,onDrag:p,step:f,stepPixelSize:h,suppressFlicker:C,unit:g,value:b},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,d=e.inputElement,m=e.handleDragStart,p=(0,r.scale)(null!=V?V:c,s,u),f=(0,r.scale)(c,s,u),h=y||(0,r.keyOfMatchingRange)(null!=V?V:n,x)||"default",C=270*(f-.5);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Knob","Knob--color--"+h,w&&"Knob--bipolar",N,(0,a.computeBoxClassName)(B)]),[(0,o.createVNode)(1,"div","Knob__circle",(0,o.createVNode)(1,"div","Knob__cursorBox",(0,o.createVNode)(1,"div","Knob__cursor"),2,{style:{transform:"rotate("+C+"deg)"}}),2),t&&(0,o.createVNode)(1,"div",(0,i.classes)(["Knob__popupValue",L&&"Knob__popupValue--"+L]),l,0),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringTrackPivot",(0,o.createVNode)(32,"circle","Knob__ringTrack",null,1,{cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),(0,o.createVNode)(32,"svg","Knob__ring Knob__ringFillPivot",(0,o.createVNode)(32,"circle","Knob__ringFill",null,1,{style:{"stroke-dashoffset":((w?2.75:2)-1.5*p)*Math.PI*50},cx:"50",cy:"50",r:"50"}),2,{viewBox:"0 0 100 100"}),d],0,Object.assign({},(0,a.computeBoxProps)(Object.assign({style:Object.assign({"font-size":_+"rem"},v)},B)),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledControls=void 0;var o=n(0),r=n(176);function i(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var a=function(e){var t=e.children,n=i(e,["children"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({mx:-.5,align:"stretch",justify:"space-between"},n,{children:t})))};t.LabeledControls=a;a.Item=function(e){var t=e.label,n=e.children,a=i(e,["label","children"]);return(0,o.createComponentVNode)(2,r.Flex.Item,{mx:1,children:(0,o.normalizeProps)((0,o.createComponentVNode)(2,r.Flex,Object.assign({minWidth:"52px",height:"100%",direction:"column",align:"center",textAlign:"center",justify:"space-between"},a,{children:[(0,o.createComponentVNode)(2,r.Flex.Item),(0,o.createComponentVNode)(2,r.Flex.Item,{children:n}),(0,o.createComponentVNode)(2,r.Flex.Item,{color:"label",children:t})]})))})}},function(e,t,n){"use strict";t.__esModule=!0,t.LabeledListDivider=t.LabeledListItem=t.LabeledList=void 0;var o=n(0),r=n(9),i=n(17),a=n(175),c=function(e){var t=e.children;return(0,o.createVNode)(1,"table","LabeledList",t,0)};t.LabeledList=c,c.defaultHooks=r.pureComponentHooks;var l=function(e){var t=e.className,n=e.label,a=e.labelColor,c=void 0===a?"label":a,l=e.color,d=e.textAlign,u=e.verticalAlign,s=e.buttons,m=e.content,p=e.children;return(0,o.createVNode)(1,"tr",(0,r.classes)(["LabeledList__row",t]),[(0,o.createComponentVNode)(2,i.Box,{as:"td",color:c,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__label"]),children:n?n+":":null}),(0,o.createComponentVNode)(2,i.Box,{as:"td",color:l,textAlign:d,verticalAlign:u,className:(0,r.classes)(["LabeledList__cell","LabeledList__content"]),colSpan:s?undefined:2,children:[m,p]}),s&&(0,o.createVNode)(1,"td","LabeledList__cell LabeledList__buttons",s,0)],0)};t.LabeledListItem=l,l.defaultHooks=r.pureComponentHooks;var d=function(e){var t=e.size?(0,i.unit)(Math.max(0,e.size-1)):0;return(0,o.createVNode)(1,"tr","LabeledList__row",(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Divider),2,{colSpan:3,style:{"padding-top":t,"padding-bottom":t}}),2)};t.LabeledListDivider=d,d.defaultHooks=r.pureComponentHooks,c.Item=l,c.Divider=d},function(e,t,n){"use strict";t.__esModule=!0,t.NanoMap=void 0;var o=n(0),r=n(3),i=n(2);n(122),n(27);var a=function(e){var t,n;function a(t){var n;return(n=e.call(this,t)||this).state={offsetX:0,offsetY:0,transform:"none",dragging:!1,originX:null,originY:null},n.handleDragStart=function(e){document.body.style["pointer-events"]="none",n.ref=e.target,n.setState({dragging:!1,originX:e.screenX,originY:e.screenY}),n.timer=setTimeout((function(){n.setState({dragging:!0})}),250),document.addEventListener("mousemove",n.handleDragMove),document.addEventListener("mouseup",n.handleDragEnd)},n.handleDragMove=function(e){n.setState((function(t){var o=Object.assign({},t),r=e.screenX-o.originX,i=e.screenY-o.originY;return t.dragging?(o.offsetX+=r/n.props.zoom,o.offsetY+=i/n.props.zoom,o.originX=e.screenX,o.originY=e.screenY):o.dragging=!0,o}))},n.handleDragEnd=function(e){document.body.style["pointer-events"]="auto",clearTimeout(n.timer),n.setState({dragging:!1,originX:null,originY:null}),document.removeEventListener("mousemove",n.handleDragMove),document.removeEventListener("mouseup",n.handleDragEnd)},n}return n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,a.prototype.render=function(){var e=(0,i.useBackend)(this.context).config,t=this.state,n=t.offsetX,a=t.offsetY,c=this.props,l=c.children,d=c.zoom,u=(c.reset,"matrix("+d+", 0, 0, "+d+", "+n*d+", "+a*d+")"),s={width:"560px",height:"560px",overflow:"hidden",position:"relative",padding:"0px","background-image":"url("+e.map+"_nanomap_z"+e.mapZLevel+".png)","background-size":"cover","text-align":"center",transform:u};return(0,o.createComponentVNode)(2,r.Box,{className:"NanoMap__container",children:(0,o.createComponentVNode)(2,r.Box,{style:s,textAlign:"center",onMouseDown:this.handleDragStart,children:(0,o.createComponentVNode)(2,r.Box,{children:l})})})},a}(o.Component);t.NanoMap=a;a.Marker=function(e,t){var n=e.x,i=e.y,a=e.zoom,c=e.icon,l=e.tooltip,d=e.color,u=e.onClick,s=4*n-5,m=4*i-4;return(0,o.createComponentVNode)(2,r.Box,{position:"absolute",className:"NanoMap__marker",lineHeight:"0",bottom:m+"px",left:s+"px",onMouseDown:u,children:[(0,o.createComponentVNode)(2,r.Icon,{name:c,color:d,fontSize:"4px"}),(0,o.createComponentVNode)(2,r.Tooltip,{content:l,scale:a})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Modal=void 0;var o=n(0),r=n(9),i=n(17),a=n(174);t.Modal=function(e){var t,n=e.className,c=e.children,l=e.onEnter,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","children","onEnter"]);return l&&(t=function(e){13===(e.which||e.keyCode)&&l(e)}),(0,o.createComponentVNode)(2,a.Dimmer,{onKeyDown:t,children:(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Modal",n,(0,i.computeBoxClassName)(d)]),c,0,Object.assign({},(0,i.computeBoxProps)(d))))})}},function(e,t,n){"use strict";t.__esModule=!0,t.NoticeBox=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.color,a=e.info,c=(e.warning,e.success),l=e.danger,d=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","color","info","warning","success","danger"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,i.Box,Object.assign({className:(0,r.classes)(["NoticeBox",n&&"NoticeBox--color--"+n,a&&"NoticeBox--type--info",c&&"NoticeBox--type--success",l&&"NoticeBox--type--danger",t])},d)))};t.NoticeBox=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.ProgressBar=void 0;var o=n(0),r=n(6),i=n(9),a=n(17);var c=function(e){var t=e.className,n=e.value,c=e.minValue,l=void 0===c?0:c,d=e.maxValue,u=void 0===d?1:d,s=e.color,m=e.ranges,p=void 0===m?{}:m,f=e.children,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","value","minValue","maxValue","color","ranges","children"]),C=(0,r.scale)(n,l,u),g=f!==undefined,b=s||(0,r.keyOfMatchingRange)(n,p)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar","ProgressBar--color--"+b,t,(0,a.computeBoxClassName)(h)]),[(0,o.createVNode)(1,"div","ProgressBar__fill ProgressBar__fill--animated",null,1,{style:{width:100*(0,r.clamp01)(C)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",g?f:(0,r.toFixed)(100*C)+"%",0)],4,Object.assign({},(0,a.computeBoxProps)(h))))};t.ProgressBar=c,c.defaultHooks=i.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Section=void 0;var o=n(0),r=n(9),i=n(17);var a=function(e){var t=e.className,n=e.title,a=e.level,c=void 0===a?1:a,l=e.buttons,d=e.fill,u=e.stretchContents,s=e.noTopPadding,m=e.children,p=e.scrollable,f=e.flexGrow,h=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["className","title","level","buttons","fill","stretchContents","noTopPadding","children","scrollable","flexGrow"]),C=!(0,r.isFalsy)(n)||!(0,r.isFalsy)(l),g=!(0,r.isFalsy)(m);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Section","Section--level--"+c,d&&"Section--fill",p&&"Section--scrollable",f&&"Section--flex",t].concat((0,i.computeBoxClassName)(h))),[C&&(0,o.createVNode)(1,"div","Section__title",[(0,o.createVNode)(1,"span","Section__titleText",n,0),(0,o.createVNode)(1,"div","Section__buttons",l,0)],4),g&&(0,o.createVNode)(1,"div",(0,r.classes)(["Section__content",!!u&&"Section__content--stretchContents",!!s&&"Section__content--noTopPadding"]),m,0)],0,Object.assign({},(0,i.computeBoxProps)(h))))};t.Section=a,a.defaultHooks=r.pureComponentHooks},function(e,t,n){"use strict";t.__esModule=!0,t.Slider=void 0;var o=n(0),r=n(6),i=n(9),a=n(17),c=n(127),l=n(129);t.Slider=function(e){if(Byond.IS_LTE_IE8)return(0,o.normalizeProps)((0,o.createComponentVNode)(2,l.NumberInput,Object.assign({},e)));var t=e.animated,n=e.format,d=e.maxValue,u=e.minValue,s=e.onChange,m=e.onDrag,p=e.step,f=e.stepPixelSize,h=e.suppressFlicker,C=e.unit,g=e.value,b=e.className,N=e.fillValue,v=e.color,V=e.ranges,y=void 0===V?{}:V,k=e.children,x=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["animated","format","maxValue","minValue","onChange","onDrag","step","stepPixelSize","suppressFlicker","unit","value","className","fillValue","color","ranges","children"]),_=k!==undefined;return(0,o.normalizeProps)((0,o.createComponentVNode)(2,c.DraggableControl,Object.assign({dragMatrix:[1,0]},{animated:t,format:n,maxValue:d,minValue:u,onChange:s,onDrag:m,step:p,stepPixelSize:f,suppressFlicker:h,unit:C,value:g},{children:function(e){var t=e.dragging,n=(e.editing,e.value),c=e.displayValue,l=e.displayElement,s=e.inputElement,m=e.handleDragStart,p=N!==undefined&&null!==N,f=((0,r.scale)(n,u,d),(0,r.scale)(null!=N?N:c,u,d)),h=(0,r.scale)(c,u,d),C=v||(0,r.keyOfMatchingRange)(null!=N?N:n,y)||"default";return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,i.classes)(["Slider","ProgressBar","ProgressBar--color--"+C,b,(0,a.computeBoxClassName)(x)]),[(0,o.createVNode)(1,"div",(0,i.classes)(["ProgressBar__fill",p&&"ProgressBar__fill--animated"]),null,1,{style:{width:100*(0,r.clamp01)(f)+"%",opacity:.4}}),(0,o.createVNode)(1,"div","ProgressBar__fill",null,1,{style:{width:100*(0,r.clamp01)(Math.min(f,h))+"%"}}),(0,o.createVNode)(1,"div","Slider__cursorOffset",[(0,o.createVNode)(1,"div","Slider__cursor"),(0,o.createVNode)(1,"div","Slider__pointer"),t&&(0,o.createVNode)(1,"div","Slider__popupValue",l,0)],0,{style:{width:100*(0,r.clamp01)(h)+"%"}}),(0,o.createVNode)(1,"div","ProgressBar__content",_?k:l,0),s],0,Object.assign({},(0,a.computeBoxProps)(x),{onMouseDown:m})))}})))}},function(e,t,n){"use strict";t.__esModule=!0,t.Tabs=void 0;var o=n(0),r=n(9),i=n(17),a=n(125);function c(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}var l=function(e){var t=e.className,n=e.vertical,a=e.children,l=c(e,["className","vertical","children"]);return(0,o.normalizeProps)((0,o.createVNode)(1,"div",(0,r.classes)(["Tabs",n?"Tabs--vertical":"Tabs--horizontal",t,(0,i.computeBoxClassName)(l)]),(0,o.createVNode)(1,"div","Tabs__tabBox",a,0),2,Object.assign({},(0,i.computeBoxProps)(l))))};t.Tabs=l;l.Tab=function(e){var t=e.className,n=e.selected,i=e.altSelection,l=c(e,["className","selected","altSelection"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Button,Object.assign({className:(0,r.classes)(["Tabs__tab",n&&"Tabs__tab--selected",i&&n&&"Tabs__tab--altSelection",t]),selected:!i&&n,color:"transparent"},l)))}},function(e,t,n){var o={"./AICard.js":451,"./APC.js":452,"./AiAirlock.js":453,"./AiRestorer.js":454,"./AiSupermatter.js":455,"./AirAlarm.js":456,"./AlgaeFarm.js":458,"./AppearanceChanger.js":459,"./AreaScrubberControl.js":460,"./AtmosAlertConsole.js":461,"./AtmosControl.js":179,"./AtmosFilter.js":462,"./AtmosMixer.js":463,"./BodyDesigner.js":464,"./BodyScanner.js":465,"./BrigTimer.js":466,"./CameraConsole.js":180,"./Canister.js":467,"./ChemDispenser.js":468,"./ChemMaster.js":472,"./CloningConsole.js":473,"./CrewMonitor.js":182,"./Cryo.js":474,"./DNAForensics.js":475,"./DNAModifier.js":476,"./DestinationTagger.js":477,"./DiseaseSplicer.js":478,"./DishIncubator.js":479,"./DisposalBin.js":480,"./DroneConsole.js":481,"./EmbeddedController.js":482,"./ExonetNode.js":483,"./FileCabinet.js":484,"./GasPump.js":485,"./GasTemperatureSystem.js":486,"./GeneralAtmoControl.js":487,"./GeneralRecords.js":488,"./Gps.js":489,"./GravityGenerator.js":490,"./IDCard.js":491,"./IsolationCentrifuge.js":492,"./MedicalRecords.js":493,"./MessageMonitor.js":494,"./MiningOreProcessingConsole.js":495,"./MiningStackingConsole.js":496,"./MiningVendor.js":497,"./MuleBot.js":498,"./NTNetRelay.js":499,"./NoticeBoard.js":500,"./NtosAtmosControl.js":501,"./NtosCameraConsole.js":502,"./NtosCrewMonitor.js":503,"./NtosPowerMonitor.js":504,"./NtosRCON.js":505,"./NtosShutoffMonitor.js":506,"./NtosStationAlertConsole.js":507,"./NtosSupermatterMonitor.js":508,"./OmniFilter.js":509,"./OmniMixer.js":510,"./OperatingComputer.js":511,"./ParticleAccelerator.js":512,"./PathogenicIsolator.js":513,"./PipeDispenser.js":514,"./PortableGenerator.js":515,"./PortablePump.js":516,"./PortableScrubber.js":517,"./PowerMonitor.js":184,"./PressureRegulator.js":518,"./PrisonerManagement.js":519,"./RCON.js":185,"./RIGSuit.js":520,"./Radio.js":521,"./RapidPipeDispenser.js":189,"./RequestConsole.js":522,"./ResleevingConsole.js":523,"./ResleevingPod.js":524,"./RogueZones.js":525,"./SecurityRecords.js":526,"./ShieldCapacitor.js":527,"./ShieldGenerator.js":528,"./ShutoffMonitor.js":186,"./ShuttleControl.js":529,"./Signaler.js":530,"./Sleeper.js":531,"./SmartVend.js":532,"./Smes.js":533,"./SolarControl.js":534,"./SpaceHeater.js":535,"./StationAlertConsole.js":187,"./SuitCycler.js":536,"./SuitStorageUnit.js":537,"./SupermatterMonitor.js":188,"./SupplyConsole.js":538,"./TEGenerator.js":539,"./Tank.js":540,"./TankDispenser.js":541,"./TelecommsLogBrowser.js":542,"./TelecommsMachineBrowser.js":543,"./TelecommsMultitoolMenu.js":544,"./Turbolift.js":545,"./Vending.js":546,"./VorePanel.js":547,"./Wires.js":548};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=450},function(e,t,n){"use strict";t.__esModule=!0,t.AICard=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AICard=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.has_ai,u=l.integrity,s=l.backup_capacitor,m=l.flushing,p=l.has_laws,f=l.laws,h=l.wireless,C=l.radio;if(0===d)return(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createVNode)(1,"h3",null,"No AI detected.",16)})})})});var g=null;g=u>=75?"green":u>=25?"yellow":"red";var b=null;return s>=75&&(b="green"),b=s>=25?"yellow":"red",(0,o.createComponentVNode)(2,a.Window,{width:600,height:470,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored AI",children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,display:"inline-block",children:(0,o.createVNode)(1,"h3",null,name,0)}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:g,value:u/100})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:b,value:s/100})})]})}),(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h2",null,1===m?"Wipe of AI in progress...":"",0)})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",children:!!p&&(0,o.createComponentVNode)(2,i.Box,{children:f.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",children:e},t)}))})||(0,o.createComponentVNode)(2,i.Box,{color:"red",children:(0,o.createVNode)(1,"h3",null,"No laws detected.",16)})}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Wireless Activity",children:(0,o.createComponentVNode)(2,i.Button,{icon:h?"check":"times",content:h?"Enabled":"Disabled",color:h?"green":"red",onClick:function(){return c("wireless")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subspace Transceiver",children:(0,o.createComponentVNode)(2,i.Button,{icon:C?"check":"times",content:C?"Enabled":"Disabled",color:C?"green":"red",onClick:function(){return c("radio")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"AI Power",children:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"radiation",confirmIcon:"radiation",disabled:m||0===u,confirmColor:"red",content:"Shutdown",onClick:function(){return c("wipe")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.APC=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(178),l=n(61);t.APC=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=(0,o.createComponentVNode)(2,u);return i.gridCheck?c=(0,o.createComponentVNode)(2,s):i.failTime&&(c=(0,o.createComponentVNode)(2,m)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:475,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:c})})};var d={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"}},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,u=l.locked&&!l.siliconUser,s=(l.normallyLocked,d[l.externalPower]||d[0]),m=d[l.chargingStatus]||d[0],p=l.powerChannels||[],f=l.powerCellStatus/100;return(0,o.createFragment)([(0,o.createComponentVNode)(2,c.InterfaceLockNoticeBox,{deny:l.emagged,denialMessage:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"bad",fontSize:"1.5rem",children:"Fault in ID authenticator."}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Please contact maintenance for service."})],4)}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main Breaker",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.isOperating?"power-off":"times",content:l.isOperating?"On":"Off",selected:l.isOperating&&!u,color:l.isOperating?"":"bad",disabled:u,onClick:function(){return a("breaker")}}),children:["[ ",s.externalPowerText," ]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Cell",children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:"good",value:f})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",color:m.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.chargeMode?"sync":"times",content:l.chargeMode?"Auto":"Off",selected:l.chargeMode,disabled:u,onClick:function(){return a("charge")}}),children:["[ ",m.chargingText," ]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Power Channels",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[p.map((function(e){var t=e.topicParams;return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.title,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{inline:!0,mx:2,color:e.status>=2?"good":"bad",children:e.status>=2?"On":"Off"}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:!u&&(1===e.status||3===e.status),disabled:u,onClick:function(){return a("channel",t.auto)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"On",selected:!u&&2===e.status,disabled:u,onClick:function(){return a("channel",t.on)}}),(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:!u&&0===e.status,disabled:u,onClick:function(){return a("channel",t.off)}})],4),children:[e.powerLoad," W"]},e.title)})),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Load",children:l.totalCharging?(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W (+ "),l.totalCharging,(0,o.createTextVNode)(" W charging)")],0):(0,o.createVNode)(1,"b",null,[l.totalLoad,(0,o.createTextVNode)(" W")],0)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Misc",buttons:!!l.siliconUser&&(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Overload",onClick:function(){return a("overload")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.coverLocked?"lock":"unlock",content:l.coverLocked?"Engaged":"Disengaged",selected:l.coverLocked,disabled:u,onClick:function(){return a("cover")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Night Shift Lighting",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Disabled",selected:2===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Automatic",selected:1===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:"Enabled",selected:3===l.nightshiftSetting,onClick:function(){return a("nightshift",{nightshift:3})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Emergency Lighting",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",content:l.emergencyLights?"Enabled":"Disabled",selected:l.emergencyLights,onClick:function(){return a("emergency_lighting")}})})]})})],4)},s=function(e,t){return(0,o.createComponentVNode)(2,l.FullscreenNotice,{title:"System Failure",children:[(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,children:"Power surge detected, grid check in effect..."})]})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=(0,o.createComponentVNode)(2,i.Button,{icon:"repeat",content:"Restart Now",color:"good",onClick:function(){return c("reboot")}});return a.locked&&!a.siliconUser&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Swipe an ID card for manual reboot."})),(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"SYSTEM FAILURE",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h2",null,"I/O regulators malfunction detected! Waiting for system reboot...",16)}),(0,o.createComponentVNode)(2,i.Box,{color:"good",children:["Automatic reboot in ",a.failTime," seconds..."]}),(0,o.createComponentVNode)(2,i.Box,{mt:4,children:l})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiAirlock=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c={2:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},0:{color:"bad",localStatusText:"Offline"}};t.AiAirlock=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=c[d.power.main]||c[0],s=c[d.power.backup]||c[0],m=c[d.shock]||c[0];return(0,o.createComponentVNode)(2,a.Window,{width:500,height:390,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Power Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Main",color:u.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.main,content:"Disrupt",onClick:function(){return l("disrupt-main")}}),children:[d.power.main?"Online":"Offline"," ",d.wires.main_1&&d.wires.main_2?d.power.main_timeleft>0&&"["+d.power.main_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Backup",color:s.color,buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lightbulb-o",disabled:!d.power.backup,content:"Disrupt",onClick:function(){return l("disrupt-backup")}}),children:[d.power.backup?"Online":"Offline"," ",d.wires.backup_1&&d.wires.backup_2?d.power.backup_timeleft>0&&"["+d.power.backup_timeleft+"s]":"[Wires have been cut!]"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Electrify",color:m.color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",disabled:!(d.wires.shock&&0===d.shock),content:"Restore",onClick:function(){return l("shock-restore")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Temporary",onClick:function(){return l("shock-temp")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"bolt",disabled:!d.wires.shock,content:"Permanent",onClick:function(){return l("shock-perm")}})],4),children:[2===d.shock?"Safe":"Electrified"," ",(d.wires.shock?d.shock_timeleft>0&&"["+d.shock_timeleft+"s]":"[Wires have been cut!]")||-1===d.shock_timeleft&&"[Permanent]"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Access and Door Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"ID Scan",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.id_scanner?"power-off":"times",content:d.id_scanner?"Enabled":"Disabled",selected:d.id_scanner,disabled:!d.wires.id_scanner,onClick:function(){return l("idscan-toggle")}}),children:!d.wires.id_scanner&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolts",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.locked?"lock":"unlock",content:d.locked?"Lowered":"Raised",selected:d.locked,disabled:!d.wires.bolts,onClick:function(){return l("bolt-toggle")}}),children:!d.wires.bolts&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Bolt Lights",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.lights?"power-off":"times",content:d.lights?"Enabled":"Disabled",selected:d.lights,disabled:!d.wires.lights,onClick:function(){return l("light-toggle")}}),children:!d.wires.lights&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Force Sensors",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.safe?"power-off":"times",content:d.safe?"Enabled":"Disabled",selected:d.safe,disabled:!d.wires.safe,onClick:function(){return l("safe-toggle")}}),children:!d.wires.safe&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Timing Safety",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.speed?"power-off":"times",content:d.speed?"Enabled":"Disabled",selected:d.speed,disabled:!d.wires.timing,onClick:function(){return l("speed-toggle")}}),children:!d.wires.timing&&"[Wires have been cut!]"}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Door Control",color:"bad",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d.opened?"sign-out-alt":"sign-in-alt",content:d.opened?"Open":"Closed",selected:d.opened,disabled:d.locked||d.welded,onClick:function(){return l("open-close")}}),children:!(!d.locked&&!d.welded)&&(0,o.createVNode)(1,"span",null,[(0,o.createTextVNode)("[Door is "),d.locked?"bolted":"",d.locked&&d.welded?" and ":"",d.welded?"welded":"",(0,o.createTextVNode)("!]")],0)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AiRestorerContent=t.AiRestorer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AiRestorer=function(){return(0,o.createComponentVNode)(2,a.Window,{width:370,height:360,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,c)})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.AI_present,d=c.error,u=c.name,s=c.laws,m=c.isDead,p=c.restoring,f=c.health,h=c.ejectable;return(0,o.createFragment)([d&&(0,o.createComponentVNode)(2,i.NoticeBox,{textAlign:"center",children:d}),!!h&&(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:l?u:"----------",disabled:!l,onClick:function(){return a("PRG_eject")}}),!!l&&(0,o.createComponentVNode)(2,i.Section,{title:h?"System Status":u,buttons:(0,o.createComponentVNode)(2,i.Box,{inline:!0,bold:!0,color:m?"bad":"good",children:m?"Nonfunctional":"Functional"}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f,minValue:0,maxValue:100,ranges:{good:[70,Infinity],average:[50,70],bad:[-Infinity,50]}})})}),!!p&&(0,o.createComponentVNode)(2,i.Box,{bold:!0,textAlign:"center",fontSize:"20px",color:"good",mt:1,children:"RECONSTRUCTION IN PROGRESS"}),(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"plus",content:"Begin Reconstruction",disabled:p,mt:1,onClick:function(){return a("PRG_beginReconstruction")}}),(0,o.createComponentVNode)(2,i.Section,{title:"Laws",level:2,children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{className:"candystripe",children:e},e)}))})]})],0)};t.AiRestorerContent=c},function(e,t,n){"use strict";t.__esModule=!0,t.AiSupermatter=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=(n(23),n(61));t.AiSupermatter=function(e,t){var n=(0,r.useBackend)(t).data,i=(n.integrity_percentage,n.ambient_temp,n.ambient_pressure,n.detonating),c=(0,o.createComponentVNode)(2,d);return i&&(c=(0,o.createComponentVNode)(2,l)),(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:c})})};var l=function(e,t){return(0,o.createComponentVNode)(2,c.FullscreenNotice,{title:"DETONATION IMMINENT",children:(0,o.createComponentVNode)(2,i.Box,{fontSize:"1.5rem",bold:!0,color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{color:"bad",name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"CRYSTAL DELAMINATING"}),(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Evacuate area immediately"})]})})},d=function(e,t){var n=(0,r.useBackend)(t).data,a=n.integrity_percentage,c=n.ambient_temp,l=n.ambient_pressure;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Crystal Integrity",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:a,maxValue:100,ranges:{good:[90,Infinity],average:[25,90],bad:[-Infinity,25]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:c,maxValue:1e4,ranges:{bad:[5e3,Infinity],average:[4e3,5e3],good:[-Infinity,4e3]},children:[c," K"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Environment Pressure",children:[l," kPa"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AirAlarm=void 0;var o=n(0),r=n(6),i=(n(18),n(2)),a=n(3),c=n(35),l=n(4),d=n(178),u=n(457);t.AirAlarm=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=r.locked&&!r.siliconUser&&!r.remoteUser;return(0,o.createComponentVNode)(2,l.Window,{width:440,height:650,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,d.InterfaceLockNoticeBox),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),!a&&(0,o.createComponentVNode)(2,f)]})})};var s=function(e,t){var n=(0,i.useBackend)(t).data,l=(n.environment_data||[]).filter((function(e){return e.value>=.01})),d={0:{color:"good",localStatusText:"Optimal"},1:{color:"average",localStatusText:"Caution"},2:{color:"bad",localStatusText:"Danger (Internals Required)"}},u=d[n.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.Section,{title:"Air Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l.length>0&&(0,o.createFragment)([l.map((function(e){var t=d[e.danger_level]||d[0];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,c.getGasLabel)(e.name),color:t.color,children:[(0,r.toFixed)(e.value,2),e.unit]},e.name)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Local status",color:u.color,children:u.localStatusText}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Area status",color:n.atmos_alarm||n.fire_alarm?"bad":"good",children:(n.atmos_alarm?"Atmosphere Alarm":n.fire_alarm&&"Fire Alarm")||"Nominal"})],0)||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Cannot obtain air sample for analysis."}),!!n.emagged&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Warning",color:"bad",children:"Safety measures offline. Device may exhibit abnormal behavior."})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.target_temperature,d=c.rcon;return(0,o.createComponentVNode)(2,a.Section,{title:"Comfort Settings",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remote Control",children:[(0,o.createComponentVNode)(2,a.Button,{selected:1===d,content:"Off",onClick:function(){return r("rcon",{rcon:1})}}),(0,o.createComponentVNode)(2,a.Button,{selected:2===d,content:"Auto",onClick:function(){return r("rcon",{rcon:2})}}),(0,o.createComponentVNode)(2,a.Button,{selected:3===d,content:"On",onClick:function(){return r("rcon",{rcon:3})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Button,{content:l,onClick:function(){return r("temperature")}})})]})})},p={home:{title:"Air Controls",component:function(){return h}},vents:{title:"Vent Controls",component:function(){return C}},scrubbers:{title:"Scrubber Controls",component:function(){return g}},modes:{title:"Operating Mode",component:function(){return b}},thresholds:{title:"Alarm Thresholds",component:function(){return N}}},f=function(e,t){var n=(0,i.useLocalState)(t,"screen"),r=n[0],c=n[1],l=p[r]||p.home,d=l.component();return(0,o.createComponentVNode)(2,a.Section,{title:l.title,buttons:r&&(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c()}}),children:(0,o.createComponentVNode)(2,d)})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(0,i.useLocalState)(t,"screen"),d=(l[0],l[1]),u=c.mode,s=c.atmos_alarm;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:s?"exclamation-triangle":"exclamation",color:s&&"caution",content:"Area Atmosphere Alarm",onClick:function(){return r(s?"reset":"alarm")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:3===u?"exclamation-triangle":"exclamation",color:3===u&&"danger",content:"Panic Siphon",onClick:function(){return r("mode",{mode:3===u?1:3})}}),(0,o.createComponentVNode)(2,a.Box,{mt:2}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"Vent Controls",onClick:function(){return d("vents")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"filter",content:"Scrubber Controls",onClick:function(){return d("scrubbers")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"cog",content:"Operating Mode",onClick:function(){return d("modes")}}),(0,o.createComponentVNode)(2,a.Box,{mt:1}),(0,o.createComponentVNode)(2,a.Button,{icon:"chart-bar",content:"Alarm Thresholds",onClick:function(){return d("thresholds")}})],4)},C=function(e,t){var n=(0,i.useBackend)(t).data.vents;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Vent,{vent:e},e.id_tag)})):"Nothing to show"},g=function(e,t){var n=(0,i.useBackend)(t).data.scrubbers;return n&&0!==n.length?n.map((function(e){return(0,o.createComponentVNode)(2,u.Scrubber,{scrubber:e},e.id_tag)})):"Nothing to show"},b=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.modes;return c&&0!==c.length?c.map((function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:e.selected?"check-square-o":"square-o",selected:e.selected,color:e.selected&&e.danger&&"danger",content:e.name,onClick:function(){return r("mode",{mode:e.mode})}}),(0,o.createComponentVNode)(2,a.Box,{mt:1})],4,e.mode)})):"Nothing to show"},N=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.thresholds;return(0,o.createVNode)(1,"table","LabeledList",[(0,o.createVNode)(1,"thead",null,(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td"),(0,o.createVNode)(1,"td","color-bad","min2",16),(0,o.createVNode)(1,"td","color-average","min1",16),(0,o.createVNode)(1,"td","color-average","max1",16),(0,o.createVNode)(1,"td","color-bad","max2",16)],4),2),(0,o.createVNode)(1,"tbody",null,d.map((function(e){return(0,o.createVNode)(1,"tr",null,[(0,o.createVNode)(1,"td","LabeledList__label",(0,o.createVNode)(1,"span","color-"+(0,c.getGasColor)(e.name),(0,c.getGasLabel)(e.name),0),2),e.settings.map((function(e){return(0,o.createVNode)(1,"td",null,(0,o.createComponentVNode)(2,a.Button,{content:(0,r.toFixed)(e.selected,2),onClick:function(){return l("threshold",{env:e.env,"var":e.val})}}),2,null,e.val)}))],0,null,e.name)})),0)],4,{style:{width:"100%"}})}},function(e,t,n){"use strict";t.__esModule=!0,t.Scrubber=t.Vent=void 0;var o=n(0),r=n(18),i=n(2),a=n(3);n(35);t.Vent=function(e,t){var n=e.vent,c=(0,i.useBackend)(t).act,l=n.id_tag,d=n.long_name,u=n.power,s=n.checks,m=n.excheck,p=n.incheck,f=n.direction,h=n.external,C=n.internal,g=n.extdefault,b=n.intdefault;return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(d),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:u?"power-off":"times",selected:u,content:u?"On":"Off",onClick:function(){return c("power",{id_tag:l,val:Number(!u)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"siphon"!==f?"Pressurizing":"Siphoning",color:"siphon"===f&&"danger",onClick:function(){return c("direction",{id_tag:l,val:Number("siphon"===f)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"sign-in-alt",content:"Internal",selected:p,onClick:function(){return c("incheck",{id_tag:l,val:s})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"sign-out-alt",content:"External",selected:m,onClick:function(){return c("excheck",{id_tag:l,val:s})}})]}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(C),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_internal_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:b,content:"Reset",onClick:function(){return c("reset_internal_pressure",{id_tag:l})}})]}),!!m&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"External Target",children:[(0,o.createComponentVNode)(2,a.NumberInput,{value:Math.round(h),unit:"kPa",width:"75px",minValue:0,step:10,maxValue:5066,onChange:function(e,t){return c("set_external_pressure",{id_tag:l,value:t})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",disabled:g,content:"Reset",onClick:function(){return c("reset_external_pressure",{id_tag:l})}})]})]})})};t.Scrubber=function(e,t){var n=e.scrubber,c=(0,i.useBackend)(t).act,l=n.long_name,d=n.power,u=n.scrubbing,s=n.id_tag,m=(n.widenet,n.filters);return(0,o.createComponentVNode)(2,a.Section,{level:2,title:(0,r.decodeHtmlEntities)(l),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:d?"power-off":"times",content:d?"On":"Off",selected:d,onClick:function(){return c("power",{id_tag:s,val:Number(!d)})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:u?"filter":"sign-in-alt",color:u||"danger",content:u?"Scrubbing":"Siphoning",onClick:function(){return c("scrubbing",{id_tag:s,val:Number(!u)})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Filters",children:u&&m.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:e.val?"check-square-o":"square-o",content:e.name,title:e.name,selected:e.val,onClick:function(){return c(e.command,{id_tag:s,val:!e.val})}},e.name)}))||"N/A"})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AlgaeFarm=void 0;var o=n(0),r=n(2),i=n(3),a=(n(23),n(4)),c=(n(6),n(18));t.AlgaeFarm=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.usePower,s=d.materials,m=d.last_flow_rate,p=d.last_power_draw,f=d.inputDir,h=d.outputDir,C=d.input,g=d.output,b=d.errorText;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[b&&(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",verticalAlign:"middle",children:b})}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Processing",selected:2===u,onClick:function(){return l("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[m," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Draw",children:[p," W"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(e.display),children:[(0,o.createComponentVNode)(2,i.ProgressBar,{width:"80%",value:e.qty,maxValue:e.max,children:[e.qty,"/",e.max]}),(0,o.createComponentVNode)(2,i.Button,{ml:1,content:"Eject",onClick:function(){return l("ejectMaterial",{mat:e.name})}})]},e.name)}))]}),(0,o.createComponentVNode)(2,i.Table,{mt:1,children:(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Input ("+f+")",children:C?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[C.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:C.name,children:[C.percent,"% (",C.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})}),(0,o.createComponentVNode)(2,i.Table.Cell,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Gas Output ("+h+")",children:g?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Total Pressure",children:[g.pressure," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:g.name,children:[g.percent,"% (",g.moles," moles)"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No connection detected."})})})]})})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AppearanceChanger=void 0;var o=n(0),r=n(22),i=n(18),a=n(2),c=n(3),l=n(4);t.AppearanceChanger=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.config),f=n.data,h=f.name,C=f.specimen,g=f.gender,b=f.gender_id,N=f.hair_style,v=f.facial_hair_style,V=f.change_race,y=f.change_gender,k=f.change_eye_color,x=f.change_skin_tone,_=f.change_skin_color,w=f.change_hair_color,L=f.change_facial_hair_color,B=f.change_hair,S=f.change_facial_hair,I=f.mapRef,E=r.title,T=k||x||_||w||L,A=-1;V?A=0:y?A=1:T?A=2:B?A=4:S&&(A=5);var O=(0,a.useLocalState)(t,"tabIndex",A),M=O[0],P=O[1];return(0,o.createComponentVNode)(2,l.Window,{width:700,height:650,title:(0,i.decodeHtmlEntities)(E),children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,c.Section,{title:"Reflection",children:(0,o.createComponentVNode)(2,c.Flex,{children:[(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Name",children:h}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Species",color:V?null:"grey",children:C}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",color:y?null:"grey",children:(0,i.capitalize)(g)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",color:T?null:"grey",children:(0,i.capitalize)(b)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Hair Style",color:B?null:"grey",children:(0,i.capitalize)(N)}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Facial Hair Style",color:S?null:"grey",children:(0,i.capitalize)(v)})]})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.ByondUi,{style:{width:"256px",height:"256px"},params:{id:I,type:"map"}})})]})}),(0,o.createComponentVNode)(2,c.Tabs,{children:[V?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:0===M,onClick:function(){return P(0)},children:"Race"}):null,y?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:1===M,onClick:function(){return P(1)},children:"Gender & Sex"}):null,T?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:2===M,onClick:function(){return P(2)},children:"Colors"}):null,B?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:3===M,onClick:function(){return P(3)},children:"Hair"}):null,S?(0,o.createComponentVNode)(2,c.Tabs.Tab,{selected:4===M,onClick:function(){return P(4)},children:"Facial Hair"}):null]}),(0,o.createComponentVNode)(2,c.Box,{height:"43%",children:[V&&0===M?(0,o.createComponentVNode)(2,d):null,y&&1===M?(0,o.createComponentVNode)(2,u):null,T&&2===M?(0,o.createComponentVNode)(2,s):null,B&&3===M?(0,o.createComponentVNode)(2,m):null,S&&4===M?(0,o.createComponentVNode)(2,p):null]})]})})};var d=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.species,u=l.specimen,s=(0,r.sortBy)((function(e){return e.specimen}))(d||[]);return(0,o.createComponentVNode)(2,c.Section,{title:"Species",fill:!0,scrollable:!0,children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{content:e.specimen,selected:u===e.specimen,onClick:function(){return i("race",{race:e.specimen})}},e.specimen)}))})},u=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.gender,d=i.gender_id,u=i.genders,s=i.id_genders;return(0,o.createComponentVNode)(2,c.Section,{title:"Gender & Sex",fill:!0,scrollable:!0,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Biological Sex",children:u.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===l,content:e.gender_name,onClick:function(){return r("gender",{gender:e.gender_key})}},e.gender_key)}))}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Gender Identity",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{selected:e.gender_key===d,content:e.gender_name,onClick:function(){return r("gender_id",{gender_id:e.gender_key})}},e.gender_key)}))})]})})},s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.change_eye_color,d=i.change_skin_tone,u=i.change_skin_color,s=i.change_hair_color,m=i.change_facial_hair_color,p=i.eye_color,f=i.skin_color,h=i.hair_color,C=i.facial_hair_color;return(0,o.createComponentVNode)(2,c.Section,{title:"Colors",fill:!0,scrollable:!0,children:[l?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:p,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Eye Color",onClick:function(){return r("eye_color")}})]}):null,d?(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Tone",onClick:function(){return r("skin_tone")}})}):null,u?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:f,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Skin Color",onClick:function(){return r("skin_color")}})]}):null,s?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:h,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Hair Color",onClick:function(){return r("hair_color")}})]}):null,m?(0,o.createComponentVNode)(2,c.Box,{children:[(0,o.createComponentVNode)(2,c.ColorBox,{color:C,mr:1}),(0,o.createComponentVNode)(2,c.Button,{content:"Change Facial Hair Color",onClick:function(){return r("facial_hair_color")}})]}):null]})},m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.hair_style,d=i.hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("hair",{hair:e.hairstyle})},selected:e.hairstyle===l,content:e.hairstyle},e.hairstyle)}))})},p=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.facial_hair_style,d=i.facial_hair_styles;return(0,o.createComponentVNode)(2,c.Section,{title:"Facial Hair",fill:!0,scrollable:!0,children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{onClick:function(){return r("facial_hair",{facial_hair:e.facialhairstyle})},selected:e.facialhairstyle===l,content:e.facialhairstyle},e.facialhairstyle)}))})}},function(e,t,n){"use strict";t.__esModule=!0,t.AreaScrubberControl=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c=n(18);t.AreaScrubberControl=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=(0,i.useLocalState)(t,"showArea",!1),s=u[0],m=u[1],p=d.scrubbers;return p?(0,o.createComponentVNode)(2,a.Window,{width:600,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"layer-group",content:"Show Areas",selected:s,onClick:function(){return m(!s)}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-on",content:"All On",onClick:function(){return c("allon")}})}),(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,r.Button,{textAlign:"center",fluid:!0,icon:"toggle-off",content:"All Off",onClick:function(){return c("alloff")}})})]}),(0,o.createComponentVNode)(2,r.Flex,{wrap:"wrap",children:p.map((function(e){return(0,o.createComponentVNode)(2,r.Flex.Item,{m:"2px",basis:"32%",children:(0,o.createComponentVNode)(2,l,{scrubber:e,showArea:s})},e.id)}))})]})})}):(0,o.createComponentVNode)(2,r.Section,{title:"Error",children:[(0,o.createComponentVNode)(2,r.Box,{color:"bad",children:"No Scrubbers Detected."}),(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"search",content:"Scan",onClick:function(){return c("scan")}})]})};var l=function(e,t){var n=(0,i.useBackend)(t).act,a=e.scrubber,l=e.showArea;return(0,o.createComponentVNode)(2,r.Section,{title:a.name,children:[(0,o.createComponentVNode)(2,r.Button,{fluid:!0,icon:"power-off",content:a.on?"Enabled":"Disabled",selected:a.on,onClick:function(){return n("toggle",{id:a.id})}}),(0,o.createComponentVNode)(2,r.LabeledList,{children:[(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Pressure",children:[a.pressure," kPa"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Flow Rate",children:[a.flow_rate," L/s"]}),(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Load",children:[a.load," W"]}),l&&(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:"Area",children:(0,c.toTitleCase)(a.area)})]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosAlertConsole=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosAlertConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.priority_alarms||[],u=l.minor_alarms||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,i.Section,{title:"Alarms",children:(0,o.createVNode)(1,"ul",null,[0===d.length&&(0,o.createVNode)(1,"li","color-good","No Priority Alerts",16),d.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"bad",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)})),0===u.length&&(0,o.createVNode)(1,"li","color-good","No Minor Alerts",16),u.map((function(e){return(0,o.createVNode)(1,"li",null,(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:e.name,color:"average",onClick:function(){return c("clear",{ref:e.ref})}}),2,null,e.name)}))],0)})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosFilter=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4));t.AtmosFilter=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.filter_types||[];return(0,o.createComponentVNode)(2,a.Window,{width:390,height:187,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer Rate",children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,mr:1,children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:l.last_flow_rate,format:function(e){return e+" L/s"}})}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.rate),width:"63px",unit:"L/s",minValue:0,maxValue:200,onDrag:function(e,t){return c("rate",{rate:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.rate===l.max_rate,onClick:function(){return c("rate",{rate:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Filter",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{selected:e.selected,content:e.name,onClick:function(){return c("filter",{filterset:e.f_type})}},e.name)}))})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.AtmosMixer=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.AtmosMixer=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:370,height:195,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:l.on?"power-off":"times",content:l.on?"On":"Off",selected:l.on,onClick:function(){return c("power")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(l.set_pressure),unit:"kPa",width:"75px",minValue:0,maxValue:l.max_pressure,step:10,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"plus",content:"Max",disabled:l.set_pressure===l.max_pressure,onClick:function(){return c("pressure",{pressure:"max"})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider,{size:1}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"label",children:(0,o.createVNode)(1,"u",null,"Concentrations",16)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 1 ("+l.node1_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node1_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node1",{concentration:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Node 2 ("+l.node2_dir+")",children:(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:l.node2_concentration,unit:"%",width:"60px",minValue:0,maxValue:100,stepPixelSize:2,onDrag:function(e,t){return c("node2",{concentration:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyDesigner=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);t.BodyDesigner=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.menu,s=d.disk,m=d.diskStored,p=d.activeBodyRecord,f=l[u];return(0,o.createComponentVNode)(2,c.Window,{width:400,height:650,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[s?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Save To Disk",onClick:function(){return r("savetodisk")},disabled:!p}),(0,o.createComponentVNode)(2,a.Button,{icon:"save",content:"Load From Disk",onClick:function(){return r("loadfromdisk")},disabled:!m}),(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject",onClick:function(){return r("ejectdisk")}})]}):null,f]})})};var l={Main:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{title:"Database Functions",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Individual Body Records",onClick:function(){return r("menu",{menu:"Body Records"})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:"View Stock Body Records",onClick:function(){return r("menu",{menu:"Stock Records"})}})]})})),"Body Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Body Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e.name,onClick:function(){return r("view_brec",{view_brec:e.recref})}},e.name)}))})})),"Stock Records":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.stock_bodyrecords;return(0,o.createComponentVNode)(2,a.Section,{title:"Stock Records",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Main"})}}),children:c.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{icon:"eye",content:e,onClick:function(){return r("view_stock_brec",{view_stock_brec:e})}},e)}))})})),"Specific Record":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.activeBodyRecord,u=l.mapRef;return d?(0,o.createComponentVNode)(2,a.Flex,{direction:"column",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"165px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Specific Record",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return c("menu",{menu:"Main"})}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d.real_name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:d.speciesname}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:(0,r.capitalize)(d.gender),onClick:function(){return c("href_conversion",{target_href:"bio_gender",target_value:1})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:d.synthetic}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:[d.locked,(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"eye",content:"View OOC Notes",disabled:!d.booc,onClick:function(){return c("boocnotes")}})]})]})})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"130px",children:(0,o.createComponentVNode)(2,a.ByondUi,{style:{width:"100%",height:"128px"},params:{id:u,type:"map"}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"300px",children:(0,o.createComponentVNode)(2,a.Section,{title:"Customize",height:"300px",style:{overflow:"auto"},children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scale",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:d.scale,onClick:function(){return c("href_conversion",{target_href:"size_multiplier",target_value:1})}})}),Object.keys(d.styles).map((function(e){var t=d.styles[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.styleHref?(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.style,onClick:function(){return c("href_conversion",{target_href:t.styleHref,target_value:1})}}):null,t.colorHref?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color,onClick:function(){return c("href_conversion",{target_href:t.colorHref,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color,style:{border:"1px solid #fff"}})]}):null,t.colorHref2?(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"pen",content:t.color2,onClick:function(){return c("href_conversion",{target_href:t.colorHref2,target_value:1})}}),(0,o.createComponentVNode)(2,a.ColorBox,{verticalAlign:"top",width:"32px",height:"20px",color:t.color2,style:{border:"1px solid #fff"}})]}):null]},e)})),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Body Markings",children:[(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add Marking",onClick:function(){return c("href_conversion",{target_href:"marking_style",target_value:1})}}),(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:Object.keys(d.markings).map((function(e){var t=d.markings[e];return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{mr:.2,fluid:!0,icon:"times",color:"red",onClick:function(){return c("href_conversion",{target_href:"marking_remove",target_value:e})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,backgroundColor:t,content:e,onClick:function(){return c("href_conversion",{target_href:"marking_color",target_value:e})}})})]})},e)}))})]})]})})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR: Record Not Found!"})})),"OOC Notes":(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.activeBodyRecord;return(0,o.createComponentVNode)(2,a.Section,{title:"Body OOC Notes (This is OOC!)",height:"100%",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-left",content:"Back",onClick:function(){return r("menu",{menu:"Specific Record"})}}),style:{"word-break":"break-all"},children:c&&c.booc||"ERROR: Body record not found!"})}))}},function(e,t,n){"use strict";t.__esModule=!0,t.BodyScanner=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["hasBorer","bad",function(e){return"Large growth detected in frontal lobe, possibly cancerous. Surgical removal is recommended."}],["hasVirus","bad",function(e){return"Viral pathogen detected in blood stream."}],["blind","average",function(e){return"Cataracts detected."}],["colourblind","average",function(e){return"Photoreceptor abnormalities detected."}],["nearsighted","average",function(e){return"Retinal misalignment detected."}],["humanPrey","average",function(e){return"Foreign Humanoid(s) detected: "+e.humanPrey}],["livingPrey","average",function(e){return"Foreign Creature(s) detected: "+e.livingPrey}],["objectPrey","average",function(e){return"Foreign Object(s) detected: "+e.objectPrey}]],u=[["Respiratory","oxyLoss"],["Brain","brainLoss"],["Toxin","toxLoss"],["Radiation","radLoss"],["Brute","bruteLoss"],["Genetic","cloneLoss"],["Burn","fireLoss"],["Paralysis","paralysis"]],s={average:[.25,.5],bad:[.5,Infinity]},m=function(e,t){for(var n=[],o=0;o0?e.reduce((function(e,t){return null===e?t:(0,o.createFragment)([e,!!t&&(0,o.createComponentVNode)(2,a.Box,{children:t})],0)})):null},f=function(e){if(e>100){if(e<300)return"mild infection";if(e<400)return"mild infection+";if(e<500)return"mild infection++";if(e<700)return"acute infection";if(e<800)return"acute infection+";if(e<900)return"acute infection++";if(e>=900)return"septic"}return""};t.BodyScanner=function(e,t){var n=(0,i.useBackend)(t).data,r=n.occupied,a=n.occupant,l=void 0===a?{}:a,d=r?(0,o.createComponentVNode)(2,h,{occupant:l}):(0,o.createComponentVNode)(2,k);return(0,o.createComponentVNode)(2,c.Window,{width:690,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:d})})};var h=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,C,{occupant:t}),(0,o.createComponentVNode)(2,g,{occupant:t}),(0,o.createComponentVNode)(2,b,{occupant:t}),(0,o.createComponentVNode)(2,N,{occupant:t}),(0,o.createComponentVNode)(2,V,{organs:t.extOrgan}),(0,o.createComponentVNode)(2,y,{organs:t.intOrgan})]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",onClick:function(){return c("ejectify")},children:"Eject"}),(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print_p")},children:"Print Report"})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempC,0)}),"\xb0C,\xa0",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.bodyTempF,0)}),"\xb0F"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Volume",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.volume,0)})," units\xa0(",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:(0,r.round)(u.blood.percent,0)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Weight",children:(0,r.round)(d.occupant.weight)+"lbs, "+(0,r.round)(d.occupant.weight/2.20463)+"kgs"})]})})},g=function(e){var t=e.occupant;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Blood Reagents",children:t.reagents?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.reagents.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Blood Reagents Detected"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stomach Reagents",children:t.ingested?(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Reagent"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Amount"})]}),t.ingested.map((function(e){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:[e.amount," Units ",e.overdose?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"OVERDOSING"}):null]})]},e.name)}))]}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"No Stomach Reagents Detected"})})],4)},b=function(e){var t=e.occupant,n=t.hasBorer||t.blind||t.colourblind||t.nearsighted||t.hasVirus;return(n=n||t.humanPrey||t.livingPrey||t.objectPrey)?(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:d.map((function(e,n){if(t[e[0]])return(0,o.createComponentVNode)(2,a.Box,{color:e[1],bold:"bad"===e[1],children:e[2](t)})}))}):(0,o.createComponentVNode)(2,a.Section,{title:"Abnormalities",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No abnormalities found."})})},N=function(e){var t=e.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.Table,{children:m(u,(function(e,n,r){return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Table.Row,{color:"label",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:[e[0],":"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{children:!!n&&n[0]+":"})]}),(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:(0,o.createComponentVNode)(2,v,{value:t[e[1]],marginBottom:r0&&"0.5rem",value:e.totalLoss/100,ranges:s,children:[(0,o.createComponentVNode)(2,a.Box,{float:"left",display:"inline",children:[!!e.bruteLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bone"}),(0,r.round)(e.bruteLoss,0),"\xa0",(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Brute damage"})]}),!!e.fireLoss&&(0,o.createComponentVNode)(2,a.Box,{display:"inline",position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"fire"}),(0,r.round)(e.fireLoss,0),(0,o.createComponentVNode)(2,a.Tooltip,{position:"top",content:"Burn damage"})]})]}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:(0,r.round)(e.totalLoss,0)})]})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([e.internalBleeding&&"Internal bleeding",!!e.status.bleeding&&"External bleeding",e.lungRuptured&&"Ruptured lung",e.destroyed&&"Destroyed",!!e.status.broken&&e.status.broken,f(e.germ_level),!!e.open&&"Open incision"])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:[p([!!e.status.splinted&&"Splinted",!!e.status.robotic&&"Robotic",!!e.status.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})]),p(e.implants.map((function(e){return e.known?e.name:"Unknown object"})))]})]})]},t)}))]})})},y=function(e){return 0===e.organs.length?(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"N/A"})}):(0,o.createComponentVNode)(2,a.Section,{title:"Internal Organs",children:(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{children:"Name"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:"Damage"}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",children:"Injuries"})]}),e.organs.map((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{textTransform:"capitalize",children:[(0,o.createComponentVNode)(2,a.Table.Cell,{width:"33%",children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:e.maxHealth,value:e.damage/100,mt:t>0&&"0.5rem",ranges:s,children:(0,r.round)(e.damage,0)})}),(0,o.createComponentVNode)(2,a.Table.Cell,{textAlign:"right",width:"33%",children:[(0,o.createComponentVNode)(2,a.Box,{color:"average",display:"inline",children:p([f(e.germ_level)])}),(0,o.createComponentVNode)(2,a.Box,{display:"inline",children:p([1===e.robotic&&"Robotic",2===e.robotic&&"Assisted",!!e.dead&&(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"})])})]})]},t)}))]})})},k=function(){return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.BrigTimer=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(23);t.BrigTimer=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:138,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Cell Timer",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"clock-o",content:u.timing?"Stop":"Start",selected:u.timing,onClick:function(){return d(u.timing?"stop":"start")}}),u.flash_found&&(0,o.createComponentVNode)(2,a.Button,{icon:"lightbulb-o",content:u.flash_charging?"Recharging":"Flash",disabled:u.flash_charging,onClick:function(){return d("flash")}})||null],0),children:[(0,o.createComponentVNode)(2,a.NumberInput,{animated:!0,fluid:!0,value:u.time_left/10,minValue:0,maxValue:u.max_time_left/10,format:function(e){return(0,l.formatTime)((0,r.round)(e))},onDrag:function(e,t){return d("time",{time:t})}}),(0,o.createComponentVNode)(2,a.Flex,{mt:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Short",onClick:function(){return d("preset",{preset:"short"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Medium",onClick:function(){return d("preset",{preset:"medium"})}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"hourglass-start",content:"Long",onClick:function(){return d("preset",{preset:"long"})}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Canister=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(23),l=n(4);t.Canister=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.connected,m=u.can_relabel,p=u.pressure,f=u.releasePressure,h=u.defaultReleasePressure,C=u.minReleasePressure,g=u.maxReleasePressure,b=u.valveOpen,N=u.holding;return(0,o.createComponentVNode)(2,l.Window,{width:360,height:242,resizable:!0,children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Canister",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"pencil-alt",disabled:!m,content:"Relabel",onClick:function(){return d("relabel")}}),children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{minWidth:"66px",label:"Tank Pressure",children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return e<1e4?(0,r.toFixed)(e)+" kPa":(0,c.formatSiUnit)(1e3*e,1,"Pa")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Regulator",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",left:"-8px",children:[(0,o.createComponentVNode)(2,a.Knob,{forcedInputWidth:"60px",size:1.25,color:!!b&&"yellow",value:f,unit:"kPa",minValue:C,maxValue:g,stepPixelSize:1,onDrag:function(e,t){return d("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"-2px",right:"-20px",color:"transparent",icon:"fast-forward",onClick:function(){return d("pressure",{pressure:g})}}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,position:"absolute",top:"16px",right:"-20px",color:"transparent",icon:"undo",onClick:function(){return d("pressure",{pressure:h})}})]})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Valve",children:(0,o.createComponentVNode)(2,a.Button,{my:.5,width:"50px",lineHeight:2,fontSize:"11px",color:b?N?"caution":"danger":null,content:b?"Open":"Closed",onClick:function(){return d("valve")}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{mr:1,label:"Port",children:(0,o.createComponentVNode)(2,a.Box,{position:"relative",children:[(0,o.createComponentVNode)(2,a.Icon,{size:1.25,name:s?"plug":"times",color:s?"good":"bad"}),(0,o.createComponentVNode)(2,a.Tooltip,{content:s?"Connected":"Disconnected",position:"top"})]})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Holding Tank",buttons:!!N&&(0,o.createComponentVNode)(2,a.Button,{icon:"eject",color:b&&"danger",content:"Eject",onClick:function(){return d("eject")}}),children:[!!N&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Label",children:N.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:N.pressure})," kPa"]})]}),!N&&(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No Holding Tank"})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ChemDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(181),c=n(4),l=[5,10,20,30,40,60],d=[1,5,10];t.ChemDispenser=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:390,height:655,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.amount;return(0,o.createComponentVNode)(2,i.Section,{title:"Settings",flex:"content",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dispense",verticalAlign:"middle",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",spacing:"1",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",children:(0,o.createComponentVNode)(2,i.Button,{textAlign:"center",selected:c===e,content:e+"u",m:"0",fluid:!0,onClick:function(){return a("amount",{amount:e})}})},t)}))})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Custom Amount",children:(0,o.createComponentVNode)(2,i.Slider,{step:1,stepPixelSize:5,value:c,minValue:1,maxValue:120,onDrag:function(e,t){return a("amount",{amount:t})}})})]})})},s=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chemicals,d=void 0===l?[]:l,u=[],s=0;s<(d.length+1)%3;s++)u.push(!0);return(0,o.createComponentVNode)(2,i.Section,{title:c.glass?"Drink Dispenser":"Chemical Dispenser",flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{direction:"row",wrap:"wrap",height:"100%",spacingPrecise:"2",align:"flex-start",alignContent:"flex-start",children:[d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"40%",height:"20px",children:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",width:"100%",height:"100%",align:"flex-start",content:e.title+" ("+e.amount+")",onClick:function(){return a("dispense",{reagent:e.id})}})},t)})),u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",basis:"25%",height:"20px"},t)}))]})})},m=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,u=l.isBeakerLoaded,s=l.beakerCurrentVolume,m=l.beakerMaxVolume,p=l.beakerContents,f=void 0===p?[]:p;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",flex:"content",minHeight:"25%",buttons:(0,o.createComponentVNode)(2,i.Box,{children:[!!u&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mr:2,children:[s," / ",m," units"]}),(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject",disabled:!u,onClick:function(){return c("ejectBeaker")}})]}),children:(0,o.createComponentVNode)(2,a.BeakerContents,{beakerLoaded:u,beakerContents:f,buttons:function(e){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:"Isolate",icon:"compress-arrows-alt",onClick:function(){return c("remove",{reagent:e.id,amount:-1})}}),d.map((function(t,n){return(0,o.createComponentVNode)(2,i.Button,{content:t,onClick:function(){return c("remove",{reagent:e.id,amount:t})}},n)})),(0,o.createComponentVNode)(2,i.Button,{content:"ALL",onClick:function(){return c("remove",{reagent:e.id,amount:e.volume})}})],0)}})})}},function(e,t,n){"use strict";e.exports=n(470)()},function(e,t,n){"use strict";var o=n(471);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var c=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 c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";t.__esModule=!0,t.ChemMaster=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(181),l=n(44),d=[1,5,10,30,60];t.ChemMaster=function(e,t){var n=(0,r.useBackend)(t).data,i=n.condi,c=n.beaker,d=n.beaker_reagents,p=void 0===d?[]:d,f=n.buffer_reagents,h=void 0===f?[]:f,C=n.mode;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:500,resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal),(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,u,{beaker:c,beakerReagents:p,bufferNonEmpty:h.length>0}),(0,o.createComponentVNode)(2,s,{mode:C,bufferReagents:h}),(0,o.createComponentVNode)(2,m,{isCondiment:i,bufferNonEmpty:h.length>0})]})]})};var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,u=(n.data,e.beaker),s=e.beakerReagents,m=e.bufferNonEmpty;return(0,o.createComponentVNode)(2,i.Section,{title:"Beaker",buttons:m?(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}):(0,o.createComponentVNode)(2,i.Button,{icon:"eject",disabled:!u,content:"Eject and Clear Buffer",onClick:function(){return a("eject")}}),children:u?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,n){return(0,o.createComponentVNode)(2,i.Box,{mb:n0?(0,o.createComponentVNode)(2,c.BeakerContents,{beakerLoaded:!0,beakerContents:s,buttons:function(e,r){return(0,o.createComponentVNode)(2,i.Box,{mb:r0?l.desc:"N/A"}),l.blood_type&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood type",children:l.blood_type}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Blood DNA",className:"LabeledList__breakContents",children:l.blood_dna})],4),!c.condi&&(0,o.createComponentVNode)(2,i.Button,{icon:c.printing?"spinner":"print",disabled:c.printing,iconSpin:!!c.printing,ml:"0.5rem",content:"Print",onClick:function(){return a("print",{idx:l.idx,beaker:e.args.beaker})}})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.CloningConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(35),l=n(44),d=n(4),u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,d=e.args,u=d.activerecord,s=d.realname,m=d.health,p=d.unidentity,f=d.strucenzymes,h=m.split(" - ");return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Records of "+s,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Damage",children:h.length>1?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.oxy,display:"inline",children:h[0]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.toxin,display:"inline",children:h[2]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.brute,display:"inline",children:h[3]}),(0,o.createTextVNode)("\xa0|\xa0"),(0,o.createComponentVNode)(2,a.Box,{color:c.COLORS.damageType.burn,display:"inline",children:h[1]})],4):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unknown"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"UI",className:"LabeledList__breakContents",children:p}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SE",className:"LabeledList__breakContents",children:f}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Disk",children:[(0,o.createComponentVNode)(2,a.Button.Confirm,{disabled:!l.disk,icon:"arrow-circle-down",content:"Import",onClick:function(){return r("disk",{option:"load"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI",onClick:function(){return r("disk",{option:"save",savetype:"ui"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export UI and UE",onClick:function(){return r("disk",{option:"save",savetype:"ue"})}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l.disk,icon:"arrow-circle-up",content:"Export SE",onClick:function(){return r("disk",{option:"save",savetype:"se"})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!l.podready,icon:"user-plus",content:"Clone",onClick:function(){return r("clone",{ref:u})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"trash",content:"Delete",onClick:function(){return r("del_rec")}})]})]})})};t.CloningConsole=function(e,t){var n=(0,i.useBackend)(t);n.act,n.data.menu;return(0,l.modalRegisterBodyOverride)("view_rec",u),(0,o.createComponentVNode)(2,d.Window,{resizable:!0,children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,d.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,h),(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})]})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data.menu;return 1===r?n=(0,o.createComponentVNode)(2,p):2===r&&(n=(0,o.createComponentVNode)(2,f)),n},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.loading,u=l.scantemp,s=l.occupant,m=l.locked,p=l.can_brainscan,f=l.scan_mode,h=l.numberofpods,C=l.pods,g=l.selected_pod,b=m&&!!s;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Scanner",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Scanner Lock:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s,selected:b,icon:b?"toggle-on":"toggle-off",content:b?"Engaged":"Disengaged",onClick:function(){return c("lock")}}),(0,o.createComponentVNode)(2,a.Button,{disabled:b||!s,icon:"user-slash",content:"Eject Occupant",onClick:function(){return c("eject")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"spinner",spin:!0}),"\xa0 Scanning..."]}):(0,o.createComponentVNode)(2,a.Box,{color:u.color,children:u.text})}),!!p&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scan Mode",children:(0,o.createComponentVNode)(2,a.Button,{icon:f?"brain":"male",content:f?"Brain":"Body",onClick:function(){return c("toggle_mode")}})})]}),(0,o.createComponentVNode)(2,a.Button,{disabled:!s||d,icon:"user",content:"Scan Occupant",mt:"0.5rem",mb:"0",onClick:function(){return c("scan")}})]}),(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:h?C.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:g===e.pod,icon:g===e.pod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:["Pod #",t+1]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No pods detected. Unable to clone."})})],4)},f=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.records;return c.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.realname,onClick:function(){return r("view_rec",{ref:e.record})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},h=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.scanner,d=c.numberofpods,u=c.autoallowed,s=c.autoprocess,m=c.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createFragment)([!!u&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{display:"inline",color:"label",children:"Auto-processing:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{selected:s,icon:s?"toggle-on":"toggle-off",content:s?"Enabled":"Disabled",onClick:function(){return r("autoprocess",{on:s?0:1})}})],4),(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"eject",content:"Eject Disk",onClick:function(){return r("disk",{option:"eject"})}})],0),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Scanner",children:l?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Connected"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Not connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:d?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Cryo=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=[{label:"Resp.",type:"oxyLoss"},{label:"Toxin",type:"toxLoss"},{label:"Brute",type:"bruteLoss"},{label:"Burn",type:"fireLoss"}],l=[["good","Conscious"],["average","Unconscious"],["bad","DEAD"]];t.Cryo=function(e,t){return(0,o.createComponentVNode)(2,a.Window,{width:520,height:470,resizeable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:(0,o.createComponentVNode)(2,d)})})};var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,d=n.data,s=d.isOperating,m=d.hasOccupant,p=d.occupant,f=void 0===p?[]:p,h=d.cellTemperature,C=d.cellTemperatureStatus,g=d.isBeakerLoaded;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",flexGrow:"1",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"user-slash",onClick:function(){return a("ejectOccupant")},disabled:!m,children:"Eject"}),children:m?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Occupant",children:f.name||"Unknown"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:f.health,max:f.maxHealth,value:f.health/f.maxHealth,color:f.health>0?"good":"average",children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.health)})})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[f.stat][0],children:l[f.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f.bodyTemperature)})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider),c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:f[e.type]/100,ranges:{bad:[.01,Infinity]},children:(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:Math.round(f[e.type])})})},e.id)}))]}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected."]})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Cell",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",onClick:function(){return a("ejectBeaker")},disabled:!g,children:"Eject Beaker"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",onClick:function(){return a(s?"switchOff":"switchOn")},selected:s,children:s?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",color:C,children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h})," K"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:(0,o.createComponentVNode)(2,u)})]})})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data),c=a.isBeakerLoaded,l=a.beakerLabel,d=a.beakerVolume;return c?(0,o.createFragment)([l||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No label"}),(0,o.createComponentVNode)(2,i.Box,{color:!d&&"bad",children:d?(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:d,format:function(e){return Math.round(e)+" units remaining"}}):"Beaker is empty"})],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No beaker loaded"})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAForensics=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DNAForensics=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.scan_progress,u=l.scanning,s=l.bloodsamp,m=l.bloodsamp_desc;return(0,o.createComponentVNode)(2,a.Window,{width:540,height:326,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{selected:u,disabled:!s,icon:"power-off",onClick:function(){return c("scanItem")},children:u?"Halt Scan":"Begin Scan"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:"eject",onClick:function(){return c("ejectItem")},children:"Eject Bloodsample"})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scan Progress",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[99,Infinity],violet:[-Infinity,99]},value:d,maxValue:100})})})}),(0,o.createComponentVNode)(2,i.Section,{title:"Blood Sample",children:s&&(0,o.createComponentVNode)(2,i.Box,{children:[s,(0,o.createComponentVNode)(2,i.Box,{color:"label",children:m})]})||(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No blood sample inserted."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DNAModifier=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(44),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["ui","Modify U.I.","dna"],["se","Modify S.E.","dna"],["buffer","Transfer Buffers","syringe"],["rejuvenators","Rejuvenators","flask"]],u=[5,10,20,30,50];t.DNAModifier=function(e,t){var n,i=(0,r.useBackend)(t),l=(i.act,i.data),d=l.irradiating,u=l.dnaBlockSize,p=l.occupant;return t.dnaBlockSize=u,t.isDNAInvalid=!p.isViableSubject||!p.uniqueIdentity||!p.structuralEnzymes,d&&(n=(0,o.createComponentVNode)(2,v,{duration:d})),(0,o.createComponentVNode)(2,a.Window,{width:660,height:700,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal),n,(0,o.createComponentVNode)(2,a.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m)]})]})};var s=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,d=c.locked,u=c.hasOccupant,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",mr:"0.5rem",children:"Door Lock:"}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u,selected:d,icon:d?"toggle-on":"toggle-off",content:d?"Engaged":"Disengaged",onClick:function(){return a("toggleLock")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u||d,icon:"user-slash",content:"Eject",onClick:function(){return a("ejectOccupant")}})],4),children:u?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Name",children:s.name}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:s.minHealth,max:s.maxHealth,value:s.health/s.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",color:l[s.stat][0],children:l[s.stat][1]}),(0,o.createComponentVNode)(2,i.LabeledList.Divider)]})}),t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 The occupant's DNA structure is ruined beyond recognition, please insert a subject with an intact DNA structure."]}):(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation",children:(0,o.createComponentVNode)(2,i.ProgressBar,{min:"0",max:"100",value:s.radiationLevel/100,color:"average"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Unique Enzymes",children:c.occupant.uniqueEnzymes?c.occupant.uniqueEnzymes:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-circle"}),"\xa0 Unknown"]})})]})],0):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Cell unoccupied."})})},m=function(e,t){var n,a=(0,r.useBackend)(t),c=a.act,l=a.data,u=l.selectedMenuKey,s=l.hasOccupant;l.occupant;return s?t.isDNAInvalid?(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No operation possible on this subject."]})})}):("ui"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,h)],4):"se"===u?n=(0,o.createFragment)([(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h)],4):"buffer"===u?n=(0,o.createComponentVNode)(2,C):"rejuvenators"===u&&(n=(0,o.createComponentVNode)(2,N)),(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:[(0,o.createComponentVNode)(2,i.Tabs,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:u===e[0],onClick:function(){return c("selectMenuKey",{key:e[0]})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:e[2]}),e[1]]},t)}))}),n]})):(0,o.createComponentVNode)(2,i.Section,{flexGrow:"1",children:(0,o.createComponentVNode)(2,i.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant in DNA modifier."]})})})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedUIBlock,d=c.selectedUISubBlock,u=c.selectedUITarget,s=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Unique Identifier",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:s.uniqueIdentity,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectUIBlock"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"15",stepPixelSize:"20",value:u,format:function(e){return e.toString(16).toUpperCase()},ml:"0",onChange:function(e,t){return a("changeUITarget",{value:t})}})})}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",mt:"0.5rem",onClick:function(){return a("pulseUIRadiation")}})]})},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.selectedSEBlock,d=c.selectedSESubBlock,u=c.occupant;return(0,o.createComponentVNode)(2,i.Section,{title:"Modify Structural Enzymes",level:"2",children:[(0,o.createComponentVNode)(2,V,{dnaString:u.structuralEnzymes,selectedBlock:l,selectedSubblock:d,blockSize:t.dnaBlockSize,action:"selectSEBlock"}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Irradiate Block",onClick:function(){return a("pulseSERadiation")}})]})},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.radiationIntensity,d=c.radiationDuration;return(0,o.createComponentVNode)(2,i.Section,{title:"Radiation Emitter",level:"2",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Intensity",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"10",stepPixelSize:"20",value:l,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationIntensity",{value:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Duration",children:(0,o.createComponentVNode)(2,i.Knob,{minValue:"1",maxValue:"20",stepPixelSize:"10",unit:"s",value:d,popUpPosition:"right",ml:"0",onChange:function(e,t){return a("radiationDuration",{value:t})}})})]}),(0,o.createComponentVNode)(2,i.Button,{icon:"radiation",content:"Pulse Radiation",tooltip:"Mutates a random block of either the occupant's UI or SE.",tooltipPosition:"top-right",mt:"0.5rem",onClick:function(){return a("pulseRadiation")}})]})},C=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.buffers.map((function(e,t){return(0,o.createComponentVNode)(2,g,{id:t+1,name:"Buffer "+(t+1),buffer:e},t)})));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Buffers",level:"2",children:a}),(0,o.createComponentVNode)(2,b)],4)},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=e.id,d=e.name,u=e.buffer,s=c.isInjectorReady,m=d+(u.data?" - "+u.label:"");return(0,o.createComponentVNode)(2,i.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,i.Section,{title:m,level:"3",mx:"0",lineHeight:"18px",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!u.data,icon:"trash",content:"Clear",onClick:function(){return a("bufferOption",{option:"clear",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data,icon:"pen",content:"Rename",onClick:function(){return a("bufferOption",{option:"changeLabel",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!u.data||!c.hasDisk,icon:"save",content:"Export",tooltip:"Exports this buffer to the currently loaded data disk.",tooltipPosition:"bottom-left",onClick:function(){return a("bufferOption",{option:"saveDisk",id:l})}})],4),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Write",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUI",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject U.I and U.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveUIAndUE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-circle-down",content:"Subject S.E.",mb:"0",onClick:function(){return a("bufferOption",{option:"saveSE",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!c.hasDisk||!c.disk.data,icon:"arrow-circle-down",content:"From Disk",mb:"0",onClick:function(){return a("bufferOption",{option:"loadDisk",id:l})}})]}),!!u.data&&(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:u.owner||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===u.type?"Unique Identifiers":"Structural Enzymes",!!u.ue&&" and Unique Enzymes"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Transfer to",children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l})}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!s,icon:s?"syringe":"spinner",iconSpin:!s,content:"Block Injector",mb:"0",onClick:function(){return a("bufferOption",{option:"createInjector",id:l,block:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"user",content:"Subject",mb:"0",onClick:function(){return a("bufferOption",{option:"transfer",id:l})}})]})],4)]}),!u.data&&(0,o.createComponentVNode)(2,i.Box,{color:"label",mt:"0.5rem",children:"This buffer is empty."})]})})},b=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.hasDisk,d=c.disk;return(0,o.createComponentVNode)(2,i.Section,{title:"Data Disk",level:"2",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:!l||!d.data,icon:"trash",content:"Wipe",onClick:function(){return a("wipeDisk")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectDisk")}})],4),children:l?d.data?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Label",children:d.label?d.label:"No label"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Subject",children:d.owner?d.owner:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Unknown"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Data Type",children:["ui"===d.type?"Unique Identifiers":"Structural Enzymes",!!d.ue&&" and Unique Enzymes"]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"Disk is blank."}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"1rem",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"save-o",size:"4"}),(0,o.createVNode)(1,"br"),"No disk inserted."]})})},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerVolume,s=c.beakerLabel;return(0,o.createComponentVNode)(2,i.Section,{title:"Rejuvenators and Beaker",level:"2",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return a("ejectBeaker")}}),children:l?(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Inject",children:[u.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{disabled:e>d,icon:"syringe",content:e,onClick:function(){return a("injectRejuvenators",{amount:e})}},t)})),(0,o.createComponentVNode)(2,i.Button,{disabled:d<=0,icon:"syringe",content:"All",onClick:function(){return a("injectRejuvenators",{amount:d})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Beaker",children:[(0,o.createComponentVNode)(2,i.Box,{mb:"0.5rem",children:s||"No label"}),d?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:[d," unit",1===d?"":"s"," remaining"]}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Empty"})]})]}):(0,o.createComponentVNode)(2,i.Box,{color:"label",textAlign:"center",my:"25%",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"exclamation-triangle",size:"4"}),(0,o.createVNode)(1,"br"),"No beaker loaded."]})})},v=function(e,t){return(0,o.createComponentVNode)(2,i.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"spinner",size:"5",spin:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:(0,o.createVNode)(1,"h1",null,[(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"}),(0,o.createTextVNode)("\xa0Irradiating occupant\xa0"),(0,o.createComponentVNode)(2,i.Icon,{name:"radiation"})],4)}),(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"h3",null,[(0,o.createTextVNode)("For "),e.duration,(0,o.createTextVNode)(" second"),1===e.duration?"":"s"],0)})]})},V=function(e,t){for(var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.dnaString),l=e.selectedBlock,d=e.selectedSubblock,u=e.blockSize,s=e.action,m=c.split(""),p=[],f=function(e){for(var t=e/u+1,n=[],r=function(r){var c=r+1;n.push((0,o.createComponentVNode)(2,i.Button,{selected:l===t&&d===c,content:m[e+r],mb:"0",onClick:function(){return a(s,{block:t,subblock:c})}}))},c=0;c1?"Dangerous!":null]},e.stage)}))||(0,o.createComponentVNode)(2,i.Box,{children:"No virus sample loaded."})}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Affected Species",color:"label",children:[m&&m.length?null:"None",m.sort().join(", ")]}),(0,o.createComponentVNode)(2,i.Section,{level:2,title:"Reverse Engineering",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",mb:1,children:(0,o.createVNode)(1,"i",null,"CAUTION: Reverse engineering will destroy the viral sample.",16)}),d.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{content:e.stage,icon:"exchange-alt",onClick:function(){return a("grab",{grab:e.reference})}},e.stage)})),(0,o.createComponentVNode)(2,i.Button,{content:"Species",icon:"exchange-alt",onClick:function(){return a("affected_species")}})]})],4)]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.dish_inserted,c.buffer),d=c.species_buffer,u=(c.effects,c.info);c.growth,c.affected_species,c.busy;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Memory Buffer",children:l?(0,o.createComponentVNode)(2,i.Box,{children:[l.name," (",l.stage,")"]}):d?(0,o.createComponentVNode)(2,i.Box,{children:d}):"Empty"})}),(0,o.createComponentVNode)(2,i.Button,{mt:1,icon:"save",content:"Save To Disk",disabled:!l&&!d,onClick:function(){return a("disk")}}),l?(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #1",disabled:l.stage>1,onClick:function(){return a("splice",{splice:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #2",disabled:l.stage>2,onClick:function(){return a("splice",{splice:2})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #3",disabled:l.stage>3,onClick:function(){return a("splice",{splice:3})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice #4",disabled:l.stage>4,onClick:function(){return a("splice",{splice:4})}})]}):d?(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"Splice Species",disabled:!d||u,onClick:function(){return a("splice",{splice:5})}})}):null]})}},function(e,t,n){"use strict";t.__esModule=!0,t.DishIncubator=void 0;var o=n(0),r=(n(6),n(23)),i=n(2),a=n(3),c=n(4);t.DishIncubator=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.on,s=d.system_in_use,m=d.food_supply,p=d.radiation,f=d.growth,h=d.toxins,C=d.chemicals_inserted,g=d.can_breed_virus,b=d.chemical_volume,N=d.max_chemical_volume,v=d.dish_inserted,V=d.blood_already_infected,y=d.virus,k=d.analysed,x=d.infection_rate;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:600,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Section,{title:"Environmental Conditions",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:u,content:u?"On":"Off",onClick:function(){return l("power")}}),children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"radiation",content:"Add Radiation",onClick:function(){return l("rad")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,color:"red",icon:"trash",confirmIcon:"trash",content:"Flush System",disabled:!s,onClick:function(){return l("flush")}})})]}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Virus Food",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[40,Infinity],average:[20,40],bad:[-Infinity,20]},value:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,color:p>=50?"bad":f>=25?"average":"good",value:p,children:[(0,r.formatCommaNumber)(1e4*p)," \xb5Sv"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Toxicity",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{bad:[50,Infinity],average:[25,50],good:[-Infinity,25]},value:h})})]})]}),(0,o.createComponentVNode)(2,a.Section,{title:g?"Vial":"Chemicals",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject "+(g?"Vial":"Chemicals"),disabled:!C,onClick:function(){return l("ejectchem")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"virus",content:"Breed Virus",disabled:!g,onClick:function(){return l("virus")}})],4),children:C&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Volume",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:N,value:b,children:[b,"/",N]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Breeding Environment",color:g?"good":"average",children:[v?g?"Suitable":"No hemolytic samples detected":"N/A",V?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"CAUTION: Viral infection detected in blood sample."}):null]})]})})||(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No chemicals inserted."})}),(0,o.createComponentVNode)(2,a.Section,{title:"Virus Dish",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Dish",disabled:!v,onClick:function(){return l("ejectdish")}}),children:v?y?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Growth Density",children:(0,o.createComponentVNode)(2,a.ProgressBar,{minValue:0,maxValue:100,ranges:{good:[50,Infinity],average:[25,50],bad:[-Infinity,25]},value:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Infection Rate",children:k?x:"Unknown."})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No virus detected."}):(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"No dish loaded."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DisposalBin=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.DisposalBin=function(e,t){var n,c,l=(0,r.useBackend)(t),d=l.act,u=l.data;return 2===u.mode?(n="good",c="Ready"):u.mode<=0?(n="bad",c="N/A"):1===u.mode?(n="average",c="Pressurizing"):(n="average",c="Idle"),(0,o.createComponentVNode)(2,a.Window,{width:300,height:250,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:[(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Status"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"State",color:n,children:c}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{bad:[-Infinity,0],average:[0,99],good:[99,Infinity]},value:u.pressure,minValue:0,maxValue:100})})]}),(0,o.createComponentVNode)(2,i.Box,{bold:!0,m:1,children:"Controls"}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Handle",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:u.isAI||u.panel_open,content:"Disengaged",selected:u.flushing?null:"selected",onClick:function(){return d("disengageHandle")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:u.isAI||u.panel_open,content:"Engaged",selected:u.flushing?"selected":null,onClick:function(){return d("engageHandle")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-off",disabled:-1===u.mode,content:"Off",selected:u.mode?null:"selected",onClick:function(){return d("pumpOff")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"toggle-on",disabled:-1===u.mode,content:"On",selected:u.mode?"selected":null,onClick:function(){return d("pumpOn")}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Eject",children:(0,o.createComponentVNode)(2,i.Button,{icon:"sign-out-alt",disabled:u.isAI,content:"Eject Contents",onClick:function(){return d("eject")}})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.DroneConsole=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.DroneConsole=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.drones,u=l.areas,s=l.selected_area,m=l.fabricator,p=l.fabPower;return(0,o.createComponentVNode)(2,a.Window,{width:600,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Drone Fabricator",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!m,selected:p,icon:"power-off",content:p?"Enabled":"Disabled",onClick:function(){return c("toggle_fab")}}),children:m?(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Linked."}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Fabricator not detected.",(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Search for Fabricator",onClick:function(){return c("search_fab")}})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Request Drone",children:[(0,o.createComponentVNode)(2,i.Dropdown,{options:u?u.sort():null,selected:s,width:"100%",onSelected:function(e){return c("set_dcall_area",{area:e})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"share-square",content:"Send Ping",onClick:function(){return c("ping")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Units",children:d&&d.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Resync",onClick:function(){return c("resync",{ref:e.ref})}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",color:"red",content:"Shutdown",onClick:function(){return c("shutdown",{ref:e.ref})}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:e.loc}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[e.charge," / ",e.maxCharge]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Active",children:e.active?"Yes":"No"})]})},e.name)}))}):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"No drones detected."})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.EmbeddedController=void 0;var o=n(0),r=(n(18),n(6),n(2)),i=n(3),a=n(4),c=((0,n(27).createLogger)("fuck"),{});t.EmbeddedController=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data.internalTemplateName),l=c[i];if(!l)throw Error("Unable to find Component for template name: "+i);return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,l)})})};var l=function(e,t){var n=e.bars;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.label,children:(0,o.createComponentVNode)(2,i.ProgressBar,{color:e.color(e.value),minValue:e.minValue,maxValue:e.maxValue,value:e.value,children:e.textValue})},e.label)}))})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act,l=!0;a.interior_status&&"open"===a.interior_status.state?l=!1:a.external_pressure&&a.chamber_pressure&&(l=!(Math.abs(a.external_pressure-a.chamber_pressure)>5));var d=!0;return a.exterior_status&&"open"===a.exterior_status.state?d=!1:a.internal_pressure&&a.chamber_pressure&&(d=!(Math.abs(a.internal_pressure-a.chamber_pressure)>5)),(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-left",content:"Cycle to Exterior",onClick:function(){return c("cycle_ext")}}),(0,o.createComponentVNode)(2,i.Button,{disabled:a.airlock_disabled,icon:"arrow-right",content:"Cycle to Interior",onClick:function(){return c("cycle_int")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:l?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Exterior Door",onClick:function(){return c("force_ext")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{disabled:a.airlock_disabled,color:d?"":"bad",icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Force Interior Door",onClick:function(){return c("force_int")}})]})],4)},u=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,s),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"EJECTING-STAND CLEAR!"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"POD EJECTED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"INITIALIZING..."})}),l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===a.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===a.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===a.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Escape Pod Status",children:c[a.docking_status]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})},s=function(e,t){var n=(0,r.useBackend)(t),a=n.data;n.act;return a.armed?(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"ARMED"}):(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SYSTEMS OK"})},m=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=n.act;return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{disabled:!a.override_enabled,icon:"exclamation-triangle",content:"Force Exterior Door",color:"docked"!==a.docking_status?"bad":"",onClick:function(){return c("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{selected:a.override_enabled,color:"docked"!==a.docking_status?"bad":"average",icon:"exclamation-triangle",content:"Override",onClick:function(){return c("toggle_override")}})]})},p=function(e,t){var n=(0,r.useBackend)(t),a=n.data,c=(n.act,{docked:(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"DOCKED"}),docking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"DOCKING"}),undocking:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNDOCKING"}),undocked:(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"NOT IN USE"})}[a.docking_status]);return a.override_enabled&&(c=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:[a.docking_status.toUpperCase(),"-OVERRIDE ENABLED"]})),c};c.AirlockConsoleAdvanced=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"},s=[{minValue:0,maxValue:202,value:c.external_pressure,label:"External Pressure",textValue:c.external_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:u},{minValue:0,maxValue:202,value:c.internal_pressure,label:"Internal Pressure",textValue:c.internal_pressure+" kPa",color:u}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:s}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Purge",onClick:function(){return a("purge")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"lock-open",content:"Secure",onClick:function(){return a("secure")}})]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsolePhoron=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}},{minValue:0,maxValue:100,value:c.chamber_phoron,label:"Chamber Phoron",textValue:c.chamber_phoron+" mol",color:function(e){return e>5?"bad":e>.5?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.AirlockConsoleDocking=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,u=[{minValue:0,maxValue:202,value:c.chamber_pressure,label:"Chamber Pressure",textValue:c.chamber_pressure+" kPa",color:function(e){return e<80||e>120?"bad":e<95||e>110?"average":"good"}}];return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Dock",buttons:c.airlock_disabled||c.override_enabled?(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}}):null,children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,l,{bars:u}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{disabled:!c.processing,icon:"ban",color:"bad",content:"Abort",onClick:function(){return a("abort")}})})]})],4)};c.DockingConsoleSimple=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"ERROR"});return"open"===c.exterior_status.state?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"OPEN"}):"unlocked"===c.exterior_status.lock?l=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"UNSECURED"}):"locked"===c.exterior_status.lock&&(l=(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"SECURED"})),(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.override_enabled,content:"Force exterior door",onClick:function(){return a("force_door")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:c.override_enabled?"red":"",content:"Override",onClick:function(){return a("toggle_override")}})],4),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Dock Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Docking Hatch",children:l})]})})};c.DockingConsoleMulti=function(e,t){var n=(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Docking Status",children:(0,o.createComponentVNode)(2,p)}),(0,o.createComponentVNode)(2,i.Section,{title:"Airlocks",children:n.airlocks.length?(0,o.createComponentVNode)(2,i.LabeledList,{children:n.airlocks.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:e.override_enabled?"bad":"good",label:e.name,children:e.override_enabled?"OVERRIDE ENABLED":"STATUS OK"},e.name)}))}):(0,o.createComponentVNode)(2,i.Flex,{height:"100%",mt:"0.5em",children:(0,o.createComponentVNode)(2,i.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"bad",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"door-closed",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No airlocks found."]})})})],4)};c.DoorAccessConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l="open"===c.interior_status.state||"closed"===c.exterior_status.state,d="open"===c.exterior_status.state||"closed"===c.interior_status.state;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:l?"arrow-left":"exclamation-triangle",content:l?"Cycle To Exterior":"Lock Exterior Door",onClick:function(){a(l?"cycle_ext_door":"force_ext")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"arrow-right":"exclamation-triangle",content:d?"Cycle To Interior":"Lock Interior Door",onClick:function(){a(d?"cycle_int_door":"force_int")}})],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Exterior Door Status",children:"closed"===c.exterior_status.state?"Locked":"Open"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Interior Door Status",children:"closed"===c.interior_status.state?"Locked":"Open"})]})})};c.EscapePodConsole=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:c.armed,color:c.armed?"bad":"average",content:"ARM",onClick:function(){return a("manual_arm")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",disabled:!c.can_force,color:"bad",content:"MANUAL EJECT",onClick:function(){return a("force_launch")}})]})]})],4)};c.EscapePodBerthConsole=function(e,t){(0,r.useBackend)(t).data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,u),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,m)})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ExonetNode=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.ExonetNode=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.allowPDAs,s=l.allowCommunicators,m=l.allowNewscasters,p=l.logs;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:d,content:"Power "+(d?"On":"Off"),onClick:function(){return c("toggle_power")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming PDA Messages",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:u,content:u?"Open":"Closed",onClick:function(){return c("toggle_PDA_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Communicators",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:s,content:s?"Open":"Closed",onClick:function(){return c("toggle_communicator_port")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Incoming Newscaster Content",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Open":"Closed",onClick:function(){return c("toggle_newscaster_port")}})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Logging",children:(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:[p.map((function(e,t){return(0,o.createComponentVNode)(2,i.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:e},t)})),p&&0!==p.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No logs found."})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.FileCabinet=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.FileCabinet=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data.contents,u=(0,r.sortBy)((function(e){return e.name}))(d||[]);return(0,o.createComponentVNode)(2,c.Window,{width:350,height:300,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"file",content:e.name,onClick:function(){return l("retrieve",{ref:e.ref})}},e.ref)}))})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.GasPump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.GasPump=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=l.last_flow_rate,m=l.last_power_draw,p=l.max_power_draw;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:290,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/10})," L/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Load",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:m,minValue:0,maxValue:p,color:m=100?s="Running":!d&&u>0&&(s="DISCHARGING"),(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",color:"red",content:"Toggle Breaker",confirmContent:d?"This will disable gravity!":"This will enable gravity!",onClick:function(){return c("gentoggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Breaker Setting",children:d?"Generator Enabled":"Generator Disabled"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",children:["Generator ",s]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Status",children:[u,"%"]})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IDCard=void 0;var o=n(0),r=n(3),i=n(2),a=n(4),c={"Colony Director":"user-tie","Site Manager":"user-tie",Overseer:"user-tie","Head of Personnel":"briefcase","Crew Resources Officer":"briefcase","Deputy Director":"briefcase","Command Secretary":"user-tie","Head of Security":"user-shield","Security Commander":"user-shield","Chief of Security":"user-shield",Warden:["city","shield-alt"],Detective:"search","Forensic Technician":"search","Security Officer":"user-shield","Junior Officer":"user-shield","Chief Engineer":"toolbox","Atmospheric Technician":"wind","Station Engineer":"toolbox","Maintenance Technician":"wrench","Engine Technician":"toolbox",Electrician:"toolbox","Chief Medical Officer":"user-md",Chemist:"mortar-pestle",Pharmacist:"mortar-pestle","Medical Doctor":"user-md",Surgeon:"user-md","Emergency Physician":"user-md",Nurse:"user-md",Virologist:"disease",Paramedic:"ambulance","Emergency Medical Technician":"ambulance",Psychiatrist:"couch",Psychologist:"couch","Research Director":"user-graduate","Research Supervisor":"user-graduate",Roboticist:"robot","Biomechanical Engineer":["wrench","heartbeat"],"Mechatronic Engineer":"wrench",Scientist:"flask",Xenoarchaeologist:"flask",Anomalist:"flask","Phoron Researcher":"flask","Circuit Designer":"car-battery",Xenobiologist:"meteor",Xenobotanist:["biohazard","seedling"],Quartermaster:"box-open","Supply Chief":"warehouse","Cargo Technician":"box-open","Shaft Miner":"hard-hat","Drill Technician":"hard-hat",Pathfinder:"binoculars",Explorer:"user-astronaut","Field Medic":["user-md","user-astronaut"],Pilot:"space-shuttle",Bartender:"glass-martini",Barista:"coffee",Botanist:"leaf",Gardener:"leaf",Chaplain:"place-of-worship",Counselor:"couch",Chef:"utensils",Cook:"utensils",Entertainer:"smile-beam",Performer:"smile-beam",Musician:"guitar",Stagehand:"smile-beam",Intern:"school","Apprentice Engineer":["school","wrench"],"Medical Intern":["school","user-md"],"Lab Assistant":["school","flask"],"Security Cadet":["school","shield-alt"],"Jr. Cargo Tech":["school","box"],"Jr. Explorer":["school","user-astronaut"],Server:["school","utensils"],"Internal Affairs Agent":"balance-scale",Janitor:"broom",Custodian:"broom","Sanitation Technician":"hand-sparkles",Maid:"broom",Librarian:"book",Journalist:"newspaper",Writer:"book",Historian:"chalkboard-teacher",Professor:"chalkboard-teacher",Visitor:"user","Emergency Responder":"fighter-jet"},l=function(e,t){var n=e.rank,i=c[n];return"string"==typeof i?(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:i,size:2}):Array.isArray(i)?i.map((function(e){return(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:e,size:2},e)})):(0,o.createComponentVNode)(2,r.Icon,{inline:!0,color:"label",name:"user",size:2})};t.IDCard=function(e,t){var n=(0,i.useBackend)(t).data,c=n.registered_name,d=n.sex,u=n.age,s=n.assignment,m=n.fingerprint_hash,p=n.blood_type,f=n.dna_hash,h=n.photo_front,C=[{name:"Sex",val:d},{name:"Age",val:u},{name:"Blood Type",val:p},{name:"Fingerprint",val:m},{name:"DNA Hash",val:f}];return(0,o.createComponentVNode)(2,a.Window,{width:470,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,r.Section,{children:[(0,o.createComponentVNode)(2,r.Flex,{children:[(0,o.createComponentVNode)(2,r.Flex.Item,{basis:"25%",textAlign:"left",children:(0,o.createComponentVNode)(2,r.Box,{inline:!0,style:{width:"101px",height:"120px",overflow:"hidden",outline:"2px solid #4972a1"},children:(0,o.createVNode)(1,"img",null,null,1,{src:h.substr(1,h.length-1),style:{width:"300px","margin-left":"-94px","-ms-interpolation-mode":"nearest-neighbor"}})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{basis:0,grow:1,children:(0,o.createComponentVNode)(2,r.LabeledList,{children:C.map((function(e){return(0,o.createComponentVNode)(2,r.LabeledList.Item,{label:e.name,children:e.val},e.name)}))})})]}),(0,o.createComponentVNode)(2,r.Flex,{className:"IDCard__NamePlate",align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:c})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:(0,o.createComponentVNode)(2,l,{rank:s})})}),(0,o.createComponentVNode)(2,r.Flex.Item,{children:(0,o.createComponentVNode)(2,r.Box,{textAlign:"center",children:s})})]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.IsolationCentrifuge=void 0;var o=n(0),r=(n(6),n(23),n(2)),i=n(3),a=n(4);t.IsolationCentrifuge=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.busy,u=l.antibodies,s=l.pathogens,m=l.is_antibody_sample,p=l.sample_inserted,f=(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No vial detected."});return p&&(f=u||s?(0,o.createFragment)([u?(0,o.createComponentVNode)(2,i.Section,{title:"Antibodies",children:u}):null,s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Pathogens",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:s.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name,children:e.spread_type},e.name)}))})}):null],0):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No antibodies or viral strains detected."})),(0,o.createComponentVNode)(2,a.Window,{width:400,height:500,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d?(0,o.createComponentVNode)(2,i.Section,{title:"The Centrifuge is currently busy.",color:"bad",children:(0,o.createVNode)(1,"center",null,(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:d}),2)}):(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:m?"Antibody Sample":"Blood Sample",children:[(0,o.createComponentVNode)(2,i.Flex,{spacing:1,mb:1,children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"print",content:"Print",disabled:!u&&!s.length,onClick:function(){return c("print")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",content:"Eject Vial",disabled:!p,onClick:function(){return c("sample")}})})]}),f]}),u&&!m||s.length?(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[u&&!m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Antibodies",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return c("antibody")}})}):null,s.length?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Isolate Strain",children:s.map((function(e){return(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:e.name,onClick:function(){return c("isolate",{isolate:e.reference})}},e.name)}))}):null]})}):null],0)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MedicalRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(44),c=n(4),l=n(130),d=n(131),u=n(74),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.MedicalRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C?n=(0,o.createComponentVNode)(2,f):5===C?n=(0,o.createComponentVNode)(2,g):6===C&&(n=(0,o.createComponentVNode)(2,b)),(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"80%"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,N),(0,o.createComponentVNode)(2,i.Section,{height:"calc(100% - 5rem)",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:800,height:380,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",content:e.id+": "+e.name,onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Medical Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.medical,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Medical Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Medical Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t).data.general;return n&&n.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:n.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:!!n.has_photos&&n.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)}))})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.medical;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment-medical",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Medical records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.virus;return c.sort((function(e,t){return e.name>t.name?1:-1})),c.map((function(e,t){return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"flask",content:e.name,mb:"0.5rem",onClick:function(){return a("vir",{vir:e.D})}}),(0,o.createVNode)(1,"br")],4,t)}))},b=function(e,t){var n=(0,r.useBackend)(t).data.medbots;return 0===n.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"There are no Medbots."}):n.map((function(e,t){return(0,o.createComponentVNode)(2,i.Collapsible,{open:!0,title:e.name,children:(0,o.createComponentVNode)(2,i.Box,{px:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Location",children:[e.area||"Unknown"," (",e.x,", ",e.y,")"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Status",children:e.on?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{color:"good",children:"Online"}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:e.use_beaker?"Reservoir: "+e.total_volume+"/"+e.maximum_volume:"Using internal synthesizer."})],4):(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"Offline"})})]})})},t)}))},N=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:5===c,onClick:function(){return a("screen",{screen:5})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"database"}),"Virus Database"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:6===c,onClick:function(){return a("screen",{screen:6})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"plus-square"}),"Medbot Tracking"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})};(0,a.modalRegisterBodyOverride)("virus",(function(e,t){var n=(0,r.useBackend)(t).act,a=e.args;return(0,o.createComponentVNode)(2,i.Section,{level:2,m:"-1rem",title:a.name||"Virus",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"times",color:"red",onClick:function(){return n("modal_close")}}),children:(0,o.createComponentVNode)(2,i.Box,{mx:"0.5rem",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Spread",children:[a.spread_text," Transmission"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Possible cure",children:a.antigen}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Rate of Progression",children:a.rate}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Antibiotic Resistance",children:[a.resistance,"%"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Species Affected",children:a.species}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Symptoms",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:a.symptoms.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.stage+". "+e.name,children:[(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Strength:"})," ",e.strength,"\xa0",(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",children:"Aggressiveness:"})," ",e.aggressiveness]},e.stage)}))})})]})})})}))},function(e,t,n){"use strict";t.__esModule=!0,t.MessageMonitor=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=n(74),d=n(61);t.MessageMonitor=function(e,t){var n,r=(0,i.useBackend)(t),d=(r.act,r.data),p=d.auth,f=d.linkedServer,h=(d.message,d.hacking),C=d.emag;return n=h||C?(0,o.createComponentVNode)(2,u):p?f?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"}):(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,c.Window,{width:670,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,l.TemporaryNotice),n]})})};var u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.isMalfAI);return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"ERROR",children:r?(0,o.createComponentVNode)(2,a.Box,{children:"Brute-forcing for server key. It will take 20 seconds for every character that the password has."}):(0,o.createComponentVNode)(2,a.Box,{children:["01000010011100100111010101110100011001010010110",(0,o.createVNode)(1,"br"),"10110011001101111011100100110001101101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001100110011011110111001000100000011100110110010",(0,o.createVNode)(1,"br"),"10111001001110110011001010111001000100000011010110110010",(0,o.createVNode)(1,"br"),"10111100100101110001000000100100101110100001000000111011",(0,o.createVNode)(1,"br"),"10110100101101100011011000010000001110100011000010110101",(0,o.createVNode)(1,"br"),"10110010100100000001100100011000000100000011100110110010",(0,o.createVNode)(1,"br"),"10110001101101111011011100110010001110011001000000110011",(0,o.createVNode)(1,"br"),"00110111101110010001000000110010101110110011001010111001",(0,o.createVNode)(1,"br"),"00111100100100000011000110110100001100001011100100110000",(0,o.createVNode)(1,"br"),"10110001101110100011001010111001000100000011101000110100",(0,o.createVNode)(1,"br"),"00110000101110100001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00111000001100001011100110111001101110111011011110111001",(0,o.createVNode)(1,"br"),"00110010000100000011010000110000101110011001011100010000",(0,o.createVNode)(1,"br"),"00100100101101110001000000111010001101000011001010010000",(0,o.createVNode)(1,"br"),"00110110101100101011000010110111001110100011010010110110",(0,o.createVNode)(1,"br"),"10110010100101100001000000111010001101000011010010111001",(0,o.createVNode)(1,"br"),"10010000001100011011011110110111001110011011011110110110",(0,o.createVNode)(1,"br"),"00110010100100000011000110110000101101110001000000111001",(0,o.createVNode)(1,"br"),"00110010101110110011001010110000101101100001000000111100",(0,o.createVNode)(1,"br"),"10110111101110101011100100010000001110100011100100111010",(0,o.createVNode)(1,"br"),"10110010100100000011010010110111001110100011001010110111",(0,o.createVNode)(1,"br"),"00111010001101001011011110110111001110011001000000110100",(0,o.createVNode)(1,"br"),"10110011000100000011110010110111101110101001000000110110",(0,o.createVNode)(1,"br"),"00110010101110100001000000111001101101111011011010110010",(0,o.createVNode)(1,"br"),"10110111101101110011001010010000001100001011000110110001",(0,o.createVNode)(1,"br"),"10110010101110011011100110010000001101001011101000010111",(0,o.createVNode)(1,"br"),"00010000001001101011000010110101101100101001000000111001",(0,o.createVNode)(1,"br"),"10111010101110010011001010010000001101110011011110010000",(0,o.createVNode)(1,"br"),"00110100001110101011011010110000101101110011100110010000",(0,o.createVNode)(1,"br"),"00110010101101110011101000110010101110010001000000111010",(0,o.createVNode)(1,"br"),"00110100001100101001000000111001001101111011011110110110",(0,o.createVNode)(1,"br"),"10010000001100100011101010111001001101001011011100110011",(0,o.createVNode)(1,"br"),"10010000001110100011010000110000101110100001000000111010",(0,o.createVNode)(1,"br"),"001101001011011010110010100101110"]})})},s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isMalfAI;return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Welcome",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"}),"Unauthorized"]}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:["Decryption Key:",(0,o.createComponentVNode)(2,a.Input,{placeholder:"Decryption Key",ml:"0.5rem",onChange:function(e,t){return r("auth",{key:t})}})]}),!!c&&(0,o.createComponentVNode)(2,a.Button,{icon:"terminal",content:"Hack",onClick:function(){return r("hack")}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"Please authenticate with the server in order to show additional options."})]})},m=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.linkedServer,d=(0,i.useLocalState)(t,"tabIndex",0),u=d[0],s=d[1];return 0===u?n=(0,o.createComponentVNode)(2,p):1===u?n=(0,o.createComponentVNode)(2,f,{logs:l.pda_msgs,pda:!0}):2===u?n=(0,o.createComponentVNode)(2,f,{logs:l.rc_msgs,rc:!0}):3===u?n=(0,o.createComponentVNode)(2,h):4===u&&(n=(0,o.createComponentVNode)(2,C)),(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return s(0)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bars"})," Main Menu"]},"Main"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return s(1)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"font"})," Message Logs"]},"MessageLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return s(2)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"bold"})," Request Logs"]},"RequestLogs"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return s(3)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-alt"})," Admin Messaging"]},"AdminMessage"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:4===u,onClick:function(){return s(4)},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"comment-slash"})," Spam Filter"]},"SpamFilter"),(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:"red",onClick:function(){return c("deauth")},children:[(0,o.createComponentVNode)(2,a.Icon,{name:"sign-out-alt"})," Log Out"]},"Logout")]}),(0,o.createComponentVNode)(2,a.Box,{m:2,children:n})],4)},p=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Main Menu",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"link",content:"Server Link",onClick:function(){return r("find")}}),(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:"Server "+(c.active?"Enabled":"Disabled"),selected:c.active,onClick:function(){return r("active")}})],4),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Server Status",children:(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Good"})})}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"key",content:"Set Custom Key",onClick:function(){return r("pass")}}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Message Logs"}),(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",confirmIcon:"exclamation-triangle",icon:"exclamation-triangle",content:"Clear Request Logs"})]})},f=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.logs),d=e.pda,u=e.rc;return(0,o.createComponentVNode)(2,a.Section,{title:d?"PDA Logs":u?"Request Logs":"Logs",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{color:"red",icon:"trash",confirmIcon:"trash",content:"Delete All",onClick:function(){return c(d?"del_pda":"del_rc")}}),children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:t%2,children:(0,o.createComponentVNode)(2,a.Section,{title:e.sender+" -> "+e.recipient,buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.ref,type:u?"rc":"pda"})}}),children:u?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",children:e.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Verification",color:"Unauthenticated"===e.id_auth?"bad":"good",children:(0,r.decodeHtmlEntities)(e.id_auth)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamp",children:e.stamp})]}):e.message})},e.ref)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.possibleRecipients,d=c.customsender,u=c.customrecepient,s=c.customjob,m=c.custommessage,p=Object.keys(l);return(0,o.createComponentVNode)(2,a.Section,{title:"Admin Messaging",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:d,onChange:function(e,t){return r("set_sender",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sender's Job",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,value:s,onChange:function(e,t){return r("set_sender_job",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Recipient",children:(0,o.createComponentVNode)(2,a.Dropdown,{value:u,options:p,width:"100%",mb:-.7,onSelected:function(e){return r("set_recipient",{val:l[e]})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message",verticalAlign:"top",children:(0,o.createComponentVNode)(2,a.Input,{fluid:!0,mb:.5,value:m,onChange:function(e,t){return r("set_message",{val:t})}})})]}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,icon:"comment",content:"Send Message",onClick:function(){return r("send_message")}})]})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.linkedServer;return(0,o.createComponentVNode)(2,a.Section,{title:"Spam Filtering",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:c.spamFilter.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.index,buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",color:"bad",content:"Delete",onClick:function(){return r("deltoken",{deltoken:e.index})}}),children:e.token},e.index)}))}),(0,o.createComponentVNode)(2,a.Button,{icon:"plus",content:"Add New Entry",onClick:function(){return r("addtoken")}})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningOreProcessingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=(n(22),n(183));t.MiningOreProcessingConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,d=n.data,u=d.unclaimedPoints,s=(d.ores,d.showAllOres,d.power);return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",mr:1,onClick:function(){return r("insert")},children:"Insert ID"}),"in order to claim points."]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,onClick:function(){return r("power")},children:s?"Smelting":"Not Smelting"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current unclaimed points",buttons:(0,o.createComponentVNode)(2,a.Button,{disabled:u<1,icon:"download",onClick:function(){return r("claim")},children:"Claim"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:u})})})}),(0,o.createComponentVNode)(2,m)]})})};var d=["Not Processing","Smelting","Compressing","Alloying"],u=["verdantium","mhydrogen","diamond","platinum","uranium","gold","silver","rutile","phoron","marble","lead","sand","carbon","hematite"],s=function(e,t){return-1===u.indexOf(e.ore)||-1===u.indexOf(t.ore)?e.ore-t.ore:u.indexOf(t.ore)-u.indexOf(e.ore)},m=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,u=l.ores,m=l.showAllOres;l.power;return(0,o.createComponentVNode)(2,a.Section,{title:"Ore Processing Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,onClick:function(){return c("showAllOres")},children:m?"All Ores":"Ores in Machine"}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:u.length&&u.sort(s).map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.name),buttons:(0,o.createComponentVNode)(2,a.Dropdown,{width:"120px",color:(0===e.processing?"red":1===e.processing&&"green")||2===e.processing&&"blue"||3===e.processing&&"yellow",options:d,selected:d[e.processing],onSelected:function(t){return c("toggleSmelting",{ore:e.ore,set:d.indexOf(t)})}}),children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amount})})},e.ore)}))||(0,o.createComponentVNode)(2,a.Box,{color:"bad",textAlign:"center",children:"No ores in machine."})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningStackingConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4);n(22);t.MiningStackingConsole=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.stacktypes,s=d.stackingAmt;return(0,o.createComponentVNode)(2,c.Window,{width:400,height:500,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Stacker Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stacking",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,value:s,minValue:1,maxValue:50,stepPixelSize:5,onChange:function(e,t){return l("change_stack",{amt:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),u.length&&u.sort().map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.toTitleCase)(e.type),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",onClick:function(){return l("release_stack",{stack:e.type})},children:"Eject"}),children:(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:e.amt})},e.type)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Empty",color:"average",children:"No stacks in machine."})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.MiningVendor=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=n(183);var d={Alphabetical:function(e,t){return e-t},"By availability":function(e,t){return-(e.affordable-t.affordable)},"By price":function(e,t){return e.price-t.price}};t.MiningVendor=function(e,t){return(0,o.createComponentVNode)(2,c.Window,{width:400,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",scrollable:!0,children:[(0,o.createComponentVNode)(2,l.MiningUser,{insertIdText:"Please insert an ID in order to make purchases."}),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,u)]})})};var u=function(e,t){var n=(0,i.useBackend)(t),l=(n.act,n.data),u=l.has_id,s=l.id,p=l.items,f=(0,i.useLocalState)(t,"search",""),h=f[0],C=(f[1],(0,i.useLocalState)(t,"sort","Alphabetical")),g=C[0],b=(C[1],(0,i.useLocalState)(t,"descending",!1)),N=b[0],v=(b[1],(0,r.createSearch)(h,(function(e){return e[0]}))),V=!1,y=Object.entries(p).map((function(e,t){var n=Object.entries(e[1]).filter(v).map((function(e){return e[1].affordable=u&&s.points>=e[1].price,e[1]})).sort(d[g]);if(0!==n.length)return N&&(n=n.reverse()),V=!0,(0,o.createComponentVNode)(2,m,{title:e[0],items:n},e[0])}));return(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",overflow:"auto",children:(0,o.createComponentVNode)(2,a.Section,{onClick:function(e){return(0,c.refocusLayout)()},children:V?y:(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No items matching your criteria was found!"})})})},s=function(e,t){var n=(0,i.useLocalState)(t,"search",""),r=(n[0],n[1]),c=(0,i.useLocalState)(t,"sort",""),l=(c[0],c[1]),u=(0,i.useLocalState)(t,"descending",!1),s=u[0],m=u[1];return(0,o.createComponentVNode)(2,a.Box,{mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex,{width:"100%",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",mr:"0.5rem",children:(0,o.createComponentVNode)(2,a.Input,{placeholder:"Search by item name..",width:"100%",onInput:function(e,t){return r(t)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"30%",children:(0,o.createComponentVNode)(2,a.Dropdown,{selected:"Alphabetical",options:Object.keys(d),width:"100%",lineHeight:"19px",onSelected:function(e){return l(e)}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{icon:s?"arrow-down":"arrow-up",height:"19px",tooltip:s?"Descending order":"Ascending order",tooltipPosition:"bottom-left",ml:"0.5rem",onClick:function(){return m(!s)}})})]})})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=e.title,d=e.items,u=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o=0||(r[n]=e[n]);return r}(e,["title","items"]);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.Collapsible,Object.assign({open:!0,title:l},u,{children:d.map((function(e){return(0,o.createComponentVNode)(2,a.Box,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",lineHeight:"20px",style:{float:"left"},children:e.name}),(0,o.createComponentVNode)(2,a.Button,{disabled:!c.has_id||c.id.points=.5?"good":u>.15&&"average")||"bad";return(0,o.createComponentVNode)(2,a.Window,{width:450,height:340,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[!d.anchored&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Generator not anchored."}),(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power switch",children:(0,o.createComponentVNode)(2,i.Button,{icon:d.active?"power-off":"times",onClick:function(){return l("toggle_power")},selected:d.active,disabled:!d.ready_to_boot,children:d.active?"On":"Off"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Type",buttons:d.fuel_stored>=1&&(0,o.createComponentVNode)(2,i.Button,{ml:1,icon:"eject",disabled:d.active,onClick:function(){return l("eject")},children:"Eject"}),children:(0,o.createComponentVNode)(2,i.Box,{color:s,children:[d.fuel_stored,"cm\xb3 ",d.sheet_name]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current fuel level",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.fuel_stored/d.fuel_capacity,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[d.fuel_stored,"cm\xb3 / ",d.fuel_capacity,"cm\xb3"]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Fuel Usage",children:[d.fuel_usage," cm\xb3/s"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d.temperature_current,maxValue:d.temperature_max+30,color:d.temperature_overheat?"bad":"good",children:[(0,c.round)(d.temperature_current),"\xb0C"]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current output",color:d.unsafe_output?"bad":null,children:d.power_output}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Adjust output",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",onClick:function(){return l("lower_power")},children:d.power_generated}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",onClick:function(){return l("higher_power")},children:d.power_generated})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power available",children:(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:!d.connected&&"bad",children:d.connected?d.power_available:"Unconnected"})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortablePump=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(190);t.PortablePump=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.direction,s=d.target_pressure,m=d.default_pressure,p=d.min_pressure,f=d.max_pressure;return(0,o.createComponentVNode)(2,a.Window,{width:330,height:375,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Pump",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:u?"sign-in-alt":"sign-out-alt",content:u?"In":"Out",selected:u,onClick:function(){return l("direction")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:p,maxValue:f,value:s,unit:"kPa",stepPixelSize:.3,onChange:function(e,t){return l("pressure",{pressure:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Presets",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"minus",disabled:s===p,onClick:function(){return l("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",disabled:s===m,onClick:function(){return l("pressure",{pressure:"reset"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"plus",disabled:s===f,onClick:function(){return l("pressure",{pressure:"max"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PortableScrubber=void 0;var o=n(0),r=n(2),i=n(3),a=(n(35),n(4)),c=n(190);t.PortableScrubber=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.rate,s=d.minrate,m=d.maxrate;return(0,o.createComponentVNode)(2,a.Window,{width:320,height:350,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,c.PortableBasicInfo),(0,o.createComponentVNode)(2,i.Section,{title:"Power Regulator",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Volume Rate",children:(0,o.createComponentVNode)(2,i.Slider,{mt:"0.4em",animated:!0,minValue:s,maxValue:m,value:u,unit:"L/s",onChange:function(e,t){return l("volume_adj",{vol:t})}})})})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PressureRegulator=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.PressureRegulator=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.on,u=l.pressure_set,s=(l.max_pressure,l.input_pressure),m=l.output_pressure,p=l.regulate_mode,f=l.set_flow_rate,h=l.last_flow_rate;return(0,o.createComponentVNode)(2,a.Window,{width:470,height:370,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Input Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:s/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Pressure",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:m/100})," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate",children:[(0,o.createComponentVNode)(2,i.AnimatedNumber,{value:h/10})," L/s"]})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:d?"Unlocked":"Closed",selected:d,onClick:function(){return c("toggle_valve")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulation",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",content:"Off",selected:0===p,onClick:function(){return c("regulate_mode",{mode:"off"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"Input",selected:1===p,onClick:function(){return c("regulate_mode",{mode:"input"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"Output",selected:2===p,onClick:function(){return c("regulate_mode",{mode:"output"})}})],4)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Desired Output Pressure",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_press",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_press",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_press",{press:"set"})}})],4),children:[u/100," kPa"]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Flow Rate Limit",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"compress-arrows-alt",content:"MIN",onClick:function(){return c("set_flow_rate",{press:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"expand-arrows-alt",content:"MAX",onClick:function(){return c("set_flow_rate",{press:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"SET",onClick:function(){return c("set_flow_rate",{press:"set"})}})],4),children:[f/10," L/s"]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.PrisonerManagement=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);n(23);t.PrisonerManagement=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.locked,u=l.chemImplants,s=l.trackImplants;return(0,o.createComponentVNode)(2,a.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:d&&(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:["This interface is currently locked.",(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",onClick:function(){return c("lock")},children:"Unlock"})})]})||(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Interface Lock",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",onClick:function(){return c("lock")},children:"Lock Interface"})}),(0,o.createComponentVNode)(2,i.Section,{title:"Chemical Implants",children:u.length&&(0,o.createComponentVNode)(2,i.Table,{children:[(0,o.createComponentVNode)(2,i.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Units Remaining"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Inject"})]}),u.map((function(e){return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:e.host}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:[e.units,"u remaining"]}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("inject",{imp:e.ref,val:1})},children:"(1)"}),(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("inject",{imp:e.ref,val:5})},children:"(5)"}),(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("inject",{imp:e.ref,val:10})},children:"(10)"})]})]},e.ref)}))]})||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No chemical implants found."})}),(0,o.createComponentVNode)(2,i.Section,{title:"Tracking Implants",children:s.length&&(0,o.createComponentVNode)(2,i.Table,{children:[(0,o.createComponentVNode)(2,i.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Host"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Location"}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:"Message"})]}),s.map((function(e){return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:[e.host," (",e.id,")"]}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:e.loc}),(0,o.createComponentVNode)(2,i.Table.Cell,{textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return c("warn",{imp:e.ref})},children:"Message"})})]},e.ref)}))]})||(0,o.createComponentVNode)(2,i.Box,{color:"average",children:"No chemical implants found."})})],4)})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RIGSuit=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4),c=n(18);t.RIGSuit=function(e,t){var n=(0,r.useBackend)(t),c=(n.act,n.data),s=c.interfacelock,m=c.malf,p=c.aicontrol,f=c.ai,h=null;return s||m?h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"--HARDSUIT INTERFACE OFFLINE--"}):!f&&p&&(h=(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- HARDSUIT CONTROL OVERRIDDEN BY AI --"})),(0,o.createComponentVNode)(2,a.Window,{height:480,width:550,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:h||(0,o.createFragment)([(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.chargestatus,d=c.charge,u=c.maxcharge,s=c.aioverride,m=c.sealing,p=c.sealed,f=c.emagged,h=c.securitycheck,C=c.coverlock,g=(0,o.createComponentVNode)(2,i.Button,{content:"Suit "+(m?"seals working...":p?"is Active":"is Inactive"),icon:m?"redo":p?"power-off":"lock-open",iconSpin:m,disabled:m,selected:p,onClick:function(){return a("toggle_seals")}}),b=(0,o.createComponentVNode)(2,i.Button,{content:"AI Control "+(s?"Enabled":"Disabled"),selected:s,icon:"robot",onClick:function(){return a("toggle_ai_control")}});return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createFragment)([g,b],0),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power Supply",children:(0,o.createComponentVNode)(2,i.ProgressBar,{minValue:0,maxValue:50,value:l,ranges:{good:[35,Infinity],average:[15,35],bad:[-Infinity,15]},children:[d," / ",u]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Cover Status",children:f||!h?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"Error - Maintenance Lock Control Offline"}):(0,o.createComponentVNode)(2,i.Button,{icon:C?"lock":"lock-open",content:C?"Locked":"Unlocked",onClick:function(){return a("toggle_suit_lock")}})})]})})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealing,u=l.helmet,s=l.helmetDeployed,m=l.gauntlets,p=l.gauntletsDeployed,f=l.boots,h=l.bootsDeployed,C=l.chest,g=l.chestDeployed;return(0,o.createComponentVNode)(2,i.Section,{title:"Hardware",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:s?"sign-out-alt":"sign-in-alt",content:s?"Deployed":"Deploy",disabled:d,selected:s,onClick:function(){return a("toggle_piece",{piece:"helmet"})}}),children:(0,c.capitalize)(u)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Gauntlets",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:p?"sign-out-alt":"sign-in-alt",content:p?"Deployed":"Deploy",disabled:d,selected:p,onClick:function(){return a("toggle_piece",{piece:"gauntlets"})}}),children:(0,c.capitalize)(m)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Boots",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:h?"sign-out-alt":"sign-in-alt",content:h?"Deployed":"Deploy",disabled:d,selected:h,onClick:function(){return a("toggle_piece",{piece:"boots"})}}),children:(0,c.capitalize)(f)}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Chestpiece",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:g?"sign-out-alt":"sign-in-alt",content:g?"Deployed":"Deploy",disabled:d,selected:g,onClick:function(){return a("toggle_piece",{piece:"chest"})}}),children:(0,c.capitalize)(C)})]})})},u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.sealed,u=l.sealing,s=l.primarysystem,m=l.modules;return!d||u?(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"HARDSUIT SYSTEMS OFFLINE"})}):(0,o.createComponentVNode)(2,i.Section,{title:"Modules",children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",mb:"0.2rem",fontSize:1.5,children:["Selected Primary: ",(0,c.capitalize)(s||"None")]}),m&&m.map((function(e,t){return(0,o.createComponentVNode)(2,i.Section,{level:2,title:(0,c.toTitleCase)(e.name)+(e.damage?" (damaged)":""),buttons:(0,o.createFragment)([e.can_select?(0,o.createComponentVNode)(2,i.Button,{selected:e.name===s,content:e.name===s?"Selected":"Select",icon:"arrow-circle-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select"})}}):null,e.can_use?(0,o.createComponentVNode)(2,i.Button,{content:e.engagestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"engage"})}}):null,e.can_toggle?(0,o.createComponentVNode)(2,i.Button,{selected:e.is_active,content:e.is_active?e.deactivatestring:e.activatestring,icon:"arrow-circle-down",onClick:function(){return a("interact_module",{module:e.index,module_mode:"toggle"})}}):null],0),children:e.damage>=2?(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"-- MODULE DESTROYED --"}):(0,o.createComponentVNode)(2,i.Flex,{children:[(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:[(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Engage: ",e.engagecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Active: ",e.activecost]}),(0,o.createComponentVNode)(2,i.Box,{color:"average",children:["Passive: ",e.passivecost]})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:e.desc}),e.charges?(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,i.Section,{title:"Module Charges",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Selected",children:(0,c.capitalize)(e.chargetype)}),e.charges.map((function(t,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(0,c.capitalize)(t.caption),buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-right",onClick:function(){return a("interact_module",{module:e.index,module_mode:"select_charge_type",charge_type:n})}})},t.caption)}))]})})}):null]})},e.name)}))]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Radio=void 0;var o=n(0),r=(n(22),n(6)),i=n(2),a=n(3),c=n(35),l=n(4);(0,n(27).createLogger)("fuck");t.Radio=function(e,t){var n=(0,i.useBackend)(t),d=n.act,u=n.data,s=u.rawfreq,m=u.minFrequency,p=u.maxFrequency,f=u.listening,h=u.broadcasting,C=u.subspace,g=u.subspaceSwitchable,b=u.chan_list,N=u.loudspeaker,v=u.mic_cut,V=u.spk_cut,y=u.useSyndMode,k=c.RADIO_CHANNELS.find((function(e){return e.freq===Number(s)})),x=156;return b&&b.length>0?x+=28*b.length+6:x+=24,g&&(x+=38),(0,o.createComponentVNode)(2,l.Window,{width:310,height:x,resizable:!0,theme:y?"syndicate":"",children:(0,o.createComponentVNode)(2,l.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Frequency",children:[(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:10,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},onDrag:function(e,t){return d("setFrequency",{freq:(0,r.round)(10*t)})}}),k&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:k.color,ml:2,children:["[",k.name,"]"]})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Audio",children:[(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:f?"volume-up":"volume-mute",selected:f,disabled:V,onClick:function(){return d("listen")}}),(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",width:"37px",icon:h?"microphone":"microphone-slash",selected:h,disabled:v,onClick:function(){return d("broadcast")}}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"bullhorn",selected:C,content:"Subspace Tx "+(C?"ON":"OFF"),onClick:function(){return d("subspace")}})}),!!g&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:N?"volume-up":"volume-mute",selected:N,content:"Loudspeaker",onClick:function(){return d("toggleLoudspeaker")}})})]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Channels",children:[(!b||0===b.length)&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"No channels detected."}),(0,o.createComponentVNode)(2,a.LabeledList,{children:b?b.map((function(e){var t=c.RADIO_CHANNELS.find((function(t){return t.freq===Number(e.freq)})),n="default";return t&&(n=t.color),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.display_name,labelColor:n,textAlign:"right",children:e.secure_channel&&C?(0,o.createComponentVNode)(2,a.Button,{icon:e.sec_channel_listen?"square-o":"check-square-o",selected:!e.sec_channel_listen,content:e.sec_channel_listen?"Off":"On",onClick:function(){return d("channel",{channel:e.chan})}}):(0,o.createComponentVNode)(2,a.Button,{content:"Switch",selected:e.chan===s,onClick:function(){return d("specFreq",{channel:e.chan})}})},e.chan)})):null})]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RequestConsole=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n=(0,i.useBackend)(t).act,r=e.dept_list,c=e.department;return(0,o.createComponentVNode)(2,a.LabeledList,{children:r.sort().map((function(e){return e!==c&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"envelope-open-text",onClick:function(){return n("write",{write:e,priority:1})},children:"Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"exclamation-triangle",onClick:function(){return n("write",{write:e,priority:2})},children:"High Priority"})],4)})||null}))})},d={0:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.silent;return(0,o.createComponentVNode)(2,a.Section,{title:"Settings",children:(0,o.createComponentVNode)(2,a.Button,{selected:!c,icon:c?"volume-mute":"volume-up",onClick:function(){return r("toggleSilent")},children:["Speaker ",c?"OFF":"ON"]})})},1:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.assist_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Request assistance from another department",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},2:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.supply_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Supplies",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},3:function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.department,d=r.info_dept;return(0,o.createComponentVNode)(2,a.Section,{title:"Report Anonymous Information",children:(0,o.createComponentVNode)(2,l,{dept_list:d,department:c})})},4:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:2,color:"good",children:"Message Sent Successfully"}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},5:function(e,t){var n=(0,i.useBackend)(t),r=n.act;n.data;return(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:1.5,bold:!0,color:"bad",children:"An error occured. Message Not Sent."}),(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"arrow-right",onClick:function(){return r("setScreen",{setScreen:0})},children:"Continue"})})]})},6:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data.message_log;return(0,o.createComponentVNode)(2,a.Section,{title:"Messages",children:l.length&&l.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:(0,r.decodeHtmlEntities)(e[0]),buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"print",onClick:function(){return c("print",{print:t+1})},children:"Print"}),children:(0,r.decodeHtmlEntities)(e[1])},t)}))||(0,o.createComponentVNode)(2,a.Box,{children:"No messages."})})},7:function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.message,u=l.recipient,s=l.priority,m=l.msgStamped,p=l.msgVerified;return(0,o.createComponentVNode)(2,a.Section,{title:"Message Authentication",children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Message for "+u,children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Priority",children:2===s?"High Priority":1===s?"Normal Priority":"Unknown"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Validated By",color:p?"good":"bad",children:(0,r.decodeHtmlEntities)(p)||"No Validation"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stamped By",color:m?"good":"bad",children:(0,r.decodeHtmlEntities)(m)||"No Stamp"})]}),(0,o.createComponentVNode)(2,a.Button,{mt:1,icon:"share",onClick:function(){return c("department",{department:u})},children:"Send Message"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return c("setScreen",{setScreen:0})},children:"Back"})]})},8:function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=(c.department,c.screen,c.message_log,c.newmessagepriority,c.silent,c.announcementConsole,c.assist_dept,c.supply_dept,c.info_dept,c.message),d=(c.recipient,c.priority,c.msgStamped,c.msgVerified,c.announceAuth);return(0,o.createComponentVNode)(2,a.Section,{title:"Send Station-Wide Announcement",children:[d&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"good",mb:1,children:"ID Verified. Authentication Accepted."}),(0,o.createComponentVNode)(2,a.Section,{title:"Message",mt:1,maxHeight:"200px",scrollable:!0,buttons:(0,o.createComponentVNode)(2,a.Button,{ml:1,icon:"pen",onClick:function(){return r("writeAnnouncement")},children:"Edit"}),children:l||"No Message"})],4)||(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mb:1,children:"Swipe your ID card to authenticate yourself."}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l||!d,icon:"share",onClick:function(){return r("sendAnnouncement")},children:"Announce"}),(0,o.createComponentVNode)(2,a.Button,{icon:"undo",onClick:function(){return r("setScreen",{setScreen:0})},children:"Back"})]})}};t.RequestConsole=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data,u=l.screen,s=l.newmessagepriority,m=l.announcementConsole,p=d[u];return(0,o.createComponentVNode)(2,c.Window,{width:520,height:410,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:6===u,onClick:function(){return r("setScreen",{setScreen:6})},icon:"envelope-open-text",children:"Messages"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===u,onClick:function(){return r("setScreen",{setScreen:1})},icon:"share-square",children:"Assistance"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===u,onClick:function(){return r("setScreen",{setScreen:2})},icon:"share-square",children:"Supplies"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===u,onClick:function(){return r("setScreen",{setScreen:3})},icon:"share-square-o",children:"Report"}),m&&(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:8===u,onClick:function(){return r("setScreen",{setScreen:8})},icon:"volume-up",children:"Announce"})||null,(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===u,onClick:function(){return r("setScreen",{setScreen:0})},icon:"cog"})]}),s&&(0,o.createComponentVNode)(2,a.Section,{title:s>1?"NEW PRIORITY MESSAGES":"There are new messages!",color:s>1?"bad":"average",bold:s>1})||null,(0,o.createComponentVNode)(2,p)]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingConsole=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=(n(35),n(44)),l=n(4),d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.obviously_dead,s=c.oocnotes,m=c.can_sleeve_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Mind Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:[(0,o.createComponentVNode)(2,a.Button,{disabled:!m,icon:"user-plus",content:"Sleeve",onClick:function(){return r("sleeve",{ref:l,mode:1})}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-plus",content:"Card",onClick:function(){return r("sleeve",{ref:l,mode:2})}})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:s})})]})})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.args),l=c.activerecord,d=c.realname,u=c.species,s=c.sex,m=c.mind_compat,p=c.synthetic,f=c.oocnotes,h=c.can_grow_active;return(0,o.createComponentVNode)(2,a.Section,{level:2,m:"-1rem",pb:"1rem",title:"Body Record ("+d+")",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"times",color:"red",onClick:function(){return r("modal_close")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Species",children:u}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Bio. Sex",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Compat",children:m}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Synthetic",children:p?"Yes":"No"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"OOC Notes",children:(0,o.createComponentVNode)(2,a.Section,{style:{"word-break":"break-all",height:"100px"},scrollable:!0,children:f})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Actions",children:(0,o.createComponentVNode)(2,a.Button,{disabled:!h,icon:"user-plus",content:p?"Build":"Grow",onClick:function(){return r("create",{ref:l})}})})]})})};t.ResleevingConsole=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),h=(r.menu,r.coredumped),C=r.emergency,g=(0,o.createFragment)([(0,o.createComponentVNode)(2,v),(0,o.createComponentVNode)(2,V),(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,a.Section,{noTopPadding:!0,flexGrow:"1",children:(0,o.createComponentVNode)(2,m)})],4);return h&&(g=(0,o.createComponentVNode)(2,p)),C&&(g=(0,o.createComponentVNode)(2,f)),(0,c.modalRegisterBodyOverride)("view_b_rec",u),(0,c.modalRegisterBodyOverride)("view_m_rec",d),(0,o.createComponentVNode)(2,l.Window,{width:640,height:520,resizable:!0,children:[(0,o.createComponentVNode)(2,c.ComplexModal,{maxWidth:"75%",maxHeight:"75%"}),(0,o.createComponentVNode)(2,l.Window.Content,{className:"Layout__content--flexColumn",children:g})]})};var s=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.menu;return(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===c,icon:"home",onClick:function(){return r("menu",{num:1})},children:"Main"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===c,icon:"folder",onClick:function(){return r("menu",{num:2})},children:"Body Records"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===c,icon:"folder",onClick:function(){return r("menu",{num:3})},children:"Mind Records"})]})},m=function(e,t){var n,r=(0,i.useBackend)(t).data,a=r.menu,c=r.bodyrecords,l=r.mindrecords;return 1===a?n=(0,o.createComponentVNode)(2,h):2===a?n=(0,o.createComponentVNode)(2,N,{records:c,actToDo:"view_b_rec"}):3===a&&(n=(0,o.createComponentVNode)(2,N,{records:l,actToDo:"view_m_rec"})),n},p=function(e,t){return(0,o.createComponentVNode)(2,a.Dimmer,{children:(0,o.createComponentVNode)(2,a.Flex,{direction:"column",justify:"space-evenly",align:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Icon,{size:12,color:"bad",name:"exclamation-triangle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,color:"bad",mt:5,children:(0,o.createVNode)(1,"h2",null,"TransCore dump completed. Resleeving offline.",16)})]})})},f=function(e,t){var n=(0,i.useBackend)(t).act;return(0,o.createComponentVNode)(2,a.Dimmer,{textAlign:"center",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h1",null,"TRANSCORE DUMP",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:(0,o.createVNode)(1,"h2",null,"!!WARNING!!",16)}),(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"This will transfer all minds to the dump disk, and the TransCore will be made unusable until post-shift maintenance! This should only be used in emergencies!"}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Disk",color:"good",onClick:function(){return n("ejectdisk")}})}),(0,o.createComponentVNode)(2,a.Box,{mt:4,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{icon:"exclamation-triangle",confirmIcon:"exclamation-triangle",content:"Core Dump",confirmContent:"Disable Transcore?",color:"bad",onClick:function(){return n("coredump")}})})]})},h=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data);r.loading,r.scantemp,r.occupant,r.locked,r.can_brainscan,r.scan_mode,r.pods,r.selected_pod;return(0,o.createComponentVNode)(2,a.Section,{title:"Pods",level:"2",children:[(0,o.createComponentVNode)(2,C),(0,o.createComponentVNode)(2,b),(0,o.createComponentVNode)(2,g)]})},C=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.pods,u=l.spods,s=l.selected_pod;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:s===e.pod,icon:s===e.pod&&"check",content:"Select",mt:u&&u.length?"2rem":"0.5rem",onClick:function(){return c("selectpod",{ref:e.pod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"pod_"+e.status+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.biomass>=150?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.biomass>=150?"circle":"circle-o"}),"\xa0",e.biomass]}),n]},t)})):null},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.sleevers,d=c.spods,u=c.selected_sleever;return l&&l.length?l.map((function(e,t){return(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"sleeve_"+(e.occupied?"occupied":"empty")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:e.occupied?"label":"bad",children:e.name}),(0,o.createComponentVNode)(2,a.Button,{selected:u===e.sleever,icon:u===e.sleever&&"check",content:"Select",mt:d&&d.length?"3rem":"1.5rem",onClick:function(){return r("selectsleever",{ref:e.sleever})}})]},t)})):null},b=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=n.data,d=l.spods,u=l.selected_printer;return d&&d.length?d.map((function(e,t){var n;return n="cloning"===e.status?(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:e.progress/100,ranges:{good:[.75,Infinity],average:[.25,.75],bad:[-Infinity,.25]},mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Box,{textAlign:"center",children:(0,r.round)(e.progress,0)+"%"})}):"mess"===e.status?(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:"bad",mt:"0.5rem",children:"ERROR"}):(0,o.createComponentVNode)(2,a.Button,{selected:u===e.spod,icon:u===e.spod&&"check",content:"Select",mt:"0.5rem",onClick:function(){return c("selectprinter",{ref:e.spod})}}),(0,o.createComponentVNode)(2,a.Box,{width:"64px",textAlign:"center",display:"inline-block",mr:"0.5rem",children:[(0,o.createVNode)(1,"img",null,null,1,{src:"synthprinter"+(e.busy?"_working":"")+".gif",style:{width:"100%","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createComponentVNode)(2,a.Box,{color:"label",children:e.name}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.steel>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.steel>=15e3?"circle":"circle-o"}),"\xa0",e.steel]}),(0,o.createComponentVNode)(2,a.Box,{bold:!0,color:e.glass>=15e3?"good":"bad",display:"inline",children:[(0,o.createComponentVNode)(2,a.Icon,{name:e.glass>=15e3?"circle":"circle-o"}),"\xa0",e.glass]}),n]},t)})):null},N=function(e,t){var n=(0,i.useBackend)(t).act,r=e.records,c=e.actToDo;return r.length?(0,o.createComponentVNode)(2,a.Box,{mt:"0.5rem",children:r.map((function(e,t){return(0,o.createComponentVNode)(2,a.Button,{icon:"user",mb:"0.5rem",content:e.name,onClick:function(){return n(c,{ref:e.recref})}},t)}))}):(0,o.createComponentVNode)(2,a.Flex,{height:"100%",mt:"0.5rem",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",textAlign:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No records found."]})})},v=function(e,t){var n,r=(0,i.useBackend)(t),c=r.act,l=r.data.temp;if(l&&l.text&&!(l.text.length<=0)){var d=((n={})[l.style]=!0,n);return(0,o.normalizeProps)((0,o.createComponentVNode)(2,a.NoticeBox,Object.assign({},d,{children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-block",verticalAlign:"middle",children:l.text}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return c("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]})))}},V=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),c=r.pods,l=r.spods,d=r.sleevers;r.autoallowed,r.autoprocess,r.disk;return(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pods",children:c&&c.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[c.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"SynthFabs",children:l&&l.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[l.length," connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Sleevers",children:d&&d.length?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:[d.length," Connected"]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"None connected!"})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ResleevingPod=void 0;var o=n(0),r=n(4),i=n(2),a=n(3);t.ResleevingPod=function(e,t){var n=(0,i.useBackend)(t).data,c=n.occupied,l=n.name,d=n.health,u=n.maxHealth,s=n.stat,m=n.mindStatus,p=n.mindName,f=n.resleeveSick,h=n.initialSick;return(0,o.createComponentVNode)(2,r.Window,{width:300,height:350,resizeable:!0,children:(0,o.createComponentVNode)(2,r.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",children:c?(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:l}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:2===s?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"DEAD"}):1===s?(0,o.createComponentVNode)(2,a.Box,{color:"average",children:"Unconscious"}):(0,o.createComponentVNode)(2,a.ProgressBar,{ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},value:d/u,children:[d,"%"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Status",children:m?"Present":"Missing"}),m?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mind Occupying",children:p}):""]}),f?(0,o.createComponentVNode)(2,a.Box,{color:"average",mt:3,children:["Warning: Resleeving Sickness detected.",h?(0,o.createFragment)([(0,o.createTextVNode)(" Motion Sickness also detected. Please allow the newly resleeved person a moment to get their bearings. This warning will disappear when Motion Sickness is no longer detected.")],4):""]}):""],0):(0,o.createComponentVNode)(2,a.Box,{bold:!0,m:1,children:"Unoccupied."})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.RogueZones=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.RogueZones=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.timeout_percent,u=l.diffstep,s=l.difficulty,m=l.occupied,p=l.scanning,f=l.updated,h=l.debug,C=l.shuttle_location,g=l.shuttle_at_station,b=l.scan_ready,N=l.can_recall_shuttle;return(0,o.createComponentVNode)(2,a.Window,{width:360,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Current Area",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mineral Content",children:s}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shuttle Location",buttons:N&&(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"rocket",onClick:function(){return c("recall_shuttle")},children:"Recall Shuttle"})||null,children:C}),m&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",labelColor:"bad",label:"Personnel",children:["WARNING: Area occupied by ",m," personnel!"]})||(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Personnel",color:"good",children:"No personnel detected."})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Scanner",buttons:(0,o.createComponentVNode)(2,i.Button,{disabled:!b,fluid:!0,icon:"search",onClick:function(){return c("scan_for_new")},children:"Scan For Asteroids"}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scn Ramestat Core",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:d,maxValue:100,ranges:{good:[100,Infinity],average:[75,100],bad:[-Infinity,75]}})}),p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Scanning",children:"In progress."})||null,f&&!p&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Info",children:"Updated shuttle destination!"})||null,h&&(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Debug",labelColor:"bad",children:[(0,o.createComponentVNode)(2,i.Box,{children:["Timeout Percent: ",d]}),(0,o.createComponentVNode)(2,i.Box,{children:["Diffstep: ",u]}),(0,o.createComponentVNode)(2,i.Box,{children:["Difficulty: ",s]}),(0,o.createComponentVNode)(2,i.Box,{children:["Occupied: ",m]}),(0,o.createComponentVNode)(2,i.Box,{children:["Debug: ",h]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle Location: ",C]}),(0,o.createComponentVNode)(2,i.Box,{children:["Shuttle at station: ",g]}),(0,o.createComponentVNode)(2,i.Box,{children:["Scan Ready: ",b]})]})||null]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SecurityRecords=void 0;var o=n(0),r=n(2),i=n(3),a=n(44),c=n(4),l=n(130),d=n(131),u=n(74),s=(n(18),function(e,t){(0,a.modalOpen)(e,"edit",{field:t.edit,value:t.value})});t.SecurityRecords=function(e,t){var n,s=(0,r.useBackend)(t).data,h=s.authenticated,C=s.screen;return h?(2===C?n=(0,o.createComponentVNode)(2,m):3===C?n=(0,o.createComponentVNode)(2,p):4===C&&(n=(0,o.createComponentVNode)(2,f)),(0,o.createComponentVNode)(2,c.Window,{width:700,height:680,resizable:!0,children:[(0,o.createComponentVNode)(2,a.ComplexModal,{maxHeight:"100%",maxWidth:"400px"}),(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:[(0,o.createComponentVNode)(2,l.LoginInfo),(0,o.createComponentVNode)(2,u.TemporaryNotice),(0,o.createComponentVNode)(2,g),(0,o.createComponentVNode)(2,i.Section,{height:"89%",flexGrow:"1",children:n})]})]})):(0,o.createComponentVNode)(2,c.Window,{width:700,height:680,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,d.LoginScreen)})})};var m=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.records;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Input,{fluid:!0,placeholder:"Search by Name, DNA, or ID",onChange:function(e,t){return a("search",{t1:t})}}),(0,o.createComponentVNode)(2,i.Box,{mt:"0.5rem",children:c.map((function(e,t){return(0,o.createComponentVNode)(2,i.Button,{icon:"user",mb:"0.5rem",color:e.color,content:e.id+": "+e.name+" (Criminal Status: "+e.criminal+")",onClick:function(){return a("d_rec",{d_rec:e.ref})}},t)}))})],4)},p=function(e,t){var n=(0,r.useBackend)(t).act;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"download",content:"Backup to Disk",disabled:!0}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"upload",content:"Upload from Disk",my:"0.5rem",disabled:!0}),(0,o.createTextVNode)(" "),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",content:"Delete All Security Records",onClick:function(){return n("del_all")}})],4)},f=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.security,d=c.printing;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"General Data",level:2,mt:"-6px",children:(0,o.createComponentVNode)(2,h)}),(0,o.createComponentVNode)(2,i.Section,{title:"Security Data",level:2,children:(0,o.createComponentVNode)(2,C)}),(0,o.createComponentVNode)(2,i.Section,{title:"Actions",level:2,children:[(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Security Record",color:"bad",onClick:function(){return a("del_r")}}),(0,o.createComponentVNode)(2,i.Button.Confirm,{icon:"trash",disabled:!!l.empty,content:"Delete Record (All)",color:"bad",onClick:function(){return a("del_r_2")}}),(0,o.createComponentVNode)(2,i.Button,{icon:d?"spinner":"print",disabled:d,iconSpin:!!d,content:"Print Entry",ml:"0.5rem",onClick:function(){return a("print_p")}}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Button,{icon:"arrow-left",content:"Back",mt:"0.5rem",onClick:function(){return a("screen",{screen:2})}})]})],4)},h=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.general;return c&&c.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"left",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:c.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[(0,o.createComponentVNode)(2,i.Box,{height:"20px",display:"inline-block",children:e.value}),!!e.edit&&(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",onClick:function(){return s(t,e)}})]},n)}))})}),(0,o.createComponentVNode)(2,i.Box,{width:"50%",float:"right",textAlign:"right",children:[!!c.has_photos&&c.photos.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{display:"inline-block",textAlign:"center",color:"label",children:[(0,o.createVNode)(1,"img",null,null,1,{src:e.substr(1,e.length-1),style:{width:"96px","margin-bottom":"0.5rem","-ms-interpolation-mode":"nearest-neighbor"}}),(0,o.createVNode)(1,"br"),"Photo #",t+1]},t)})),(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return a("photo_front")},children:"Update Front Photo"}),(0,o.createComponentVNode)(2,i.Button,{onClick:function(){return a("photo_side")},children:"Update Side Photo"})]})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:"General records lost!"})},C=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data.security;return l&&l.fields?(0,o.createFragment)([(0,o.createComponentVNode)(2,i.LabeledList,{children:l.fields.map((function(e,n){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.field,children:[e.value,(0,o.createComponentVNode)(2,i.Button,{icon:"pen",ml:"0.5rem",mb:e.line_break?"1rem":"initial",onClick:function(){return s(t,e)}})]},n)}))}),(0,o.createComponentVNode)(2,i.Section,{title:"Comments/Log",level:2,children:[0===l.comments.length?(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No comments found."}):l.comments.map((function(e,t){return(0,o.createComponentVNode)(2,i.Box,{children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",display:"inline",children:e.header}),(0,o.createVNode)(1,"br"),e.text,(0,o.createComponentVNode)(2,i.Button,{icon:"comment-slash",color:"bad",ml:"0.5rem",onClick:function(){return c("del_c",{del_c:t+1})}})]},t)})),(0,o.createComponentVNode)(2,i.Button,{icon:"comment",content:"Add Entry",color:"good",mt:"0.5rem",mb:"0",onClick:function(){return(0,a.modalOpen)(t,"add_c")}})]})],4):(0,o.createComponentVNode)(2,i.Box,{color:"bad",children:["Security records lost!",(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:"New Record",ml:"0.5rem",onClick:function(){return c("new")}})]})},g=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.screen;return(0,o.createComponentVNode)(2,i.Tabs,{children:[(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:2===c,onClick:function(){return a("screen",{screen:2})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"list"}),"List Records"]}),(0,o.createComponentVNode)(2,i.Tabs.Tab,{selected:3===c,onClick:function(){return a("screen",{screen:3})},children:[(0,o.createComponentVNode)(2,i.Icon,{name:"wrench"}),"Record Maintenance"]})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldCapacitor=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(23);t.ShieldCapacitor=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.active,m=u.time_since_fail,p=u.stored_charge,f=u.max_charge,h=u.charge_rate,C=u.max_charge_rate;return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",selected:s,content:s?"Online":"Offline",onClick:function(){return d("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor Status",children:m>2?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging!"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Stored Energy",children:[(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:p,format:function(e){return(0,l.formatSiUnit)(e,0,"J")}})," (",(0,o.createComponentVNode)(2,a.AnimatedNumber,{value:100*(0,c.round)(p/f,1)}),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{value:h,step:100,stepPixelSize:.2,minValue:1e4,maxValue:C,format:function(e){return(0,l.formatPower)(e)},onDrag:function(e,t){return d("charge_rate",{rate:t})}})})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.ShieldGenerator=void 0;var o=n(0),r=n(2),i=n(4),a=n(3),c=n(6),l=n(23),d=n(61);t.ShieldGenerator=function(e,t){var n=(0,r.useBackend)(t),a=(n.act,n.data.locked);return(0,o.createComponentVNode)(2,i.Window,{width:500,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,i.Window.Content,{children:a?(0,o.createComponentVNode)(2,u):(0,o.createComponentVNode)(2,s)})})};var u=function(e,t){return(0,o.createComponentVNode)(2,d.FullscreenNotice,{title:"Locked",children:[(0,o.createComponentVNode)(2,a.Box,{fontSize:"1.5rem",bold:!0,children:(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle",verticalAlign:"middle",size:3,mr:"1rem"})}),(0,o.createComponentVNode)(2,a.Box,{color:"label",my:"1rem",children:"Swipe your ID to begin."})]})},s=function(e,t){var n=(0,r.useBackend)(t),i=n.act,d=n.data.lockedData,u=d.capacitors,s=d.active,m=d.failing,p=d.radius,f=d.max_radius,h=d.z_range,C=d.max_z_range,g=d.average_field_strength,b=d.target_field_strength,N=d.max_field_strength,v=d.shields,V=d.upkeep,y=d.strengthen_rate,k=d.max_strengthen_rate,x=d.gen_power,_=(u||[]).length;return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Field Status",children:m?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Unstable"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Stable"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Overall Field Strength",children:[(0,c.round)(g,2)," Renwick (",b&&(0,c.round)(100*g/b,1)||"NA","%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Upkeep Power",children:(0,l.formatPower)(V)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shield Generation Power",children:(0,l.formatPower)(x)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Currently Shielded",children:[v," m\xb2"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:_?u.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Capacitor #"+t,children:[e.active?(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"Online"}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Offline"}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge",children:[(0,l.formatSiUnit)(e.stored_charge,0,"J")," (",100*(0,c.round)(e.stored_charge/e.max_charge,2),"%)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",children:e.failing?(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Discharging"}):(0,o.createComponentVNode)(2,a.Box,{color:"good",children:"OK."})})]})]},t)})):(0,o.createComponentVNode)(2,a.LabeledList.Item,{color:"bad",children:"No Capacitors Connected"})})})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",buttons:(0,o.createComponentVNode)(2,a.Button,{icon:"power-off",content:s?"Online":"Offline",selected:s,onClick:function(){return i("toggle")}}),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Coverage Radius",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:6,minValue:0,maxValue:f,value:p,unit:"m",onDrag:function(e,t){return i("change_radius",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vertical Shielding",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,maxValue:C,value:h,unit:"vertical range",onDrag:function(e,t){return i("z_range",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Charge Rate",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:0,step:.1,maxValue:k,value:y,format:function(e){return(0,c.round)(e,1)},unit:"Renwick/s",onDrag:function(e,t){return i("strengthen_rate",{val:t})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Maximum Field Strength",children:(0,o.createComponentVNode)(2,a.NumberInput,{fluid:!0,stepPixelSize:12,minValue:1,maxValue:N,value:b,unit:"Renwick",onDrag:function(e,t){return i("target_field_strength",{val:t})}})})]})})],4)}},function(e,t,n){"use strict";t.__esModule=!0,t.ShuttleControl=void 0;var o=n(0),r=n(18),i=n(2),a=n(3),c=n(4),l=function(e,t){var n="ERROR",r="bad",i=!1;return"docked"===e?(n="DOCKED",r="good"):"docking"===e?(n="DOCKING",r="average",i=!0):"undocking"===e?(n="UNDOCKING",r="average",i=!0):"undocked"===e&&(n="UNDOCKED",r="#676767"),i&&t&&(n+="-MANUAL"),(0,o.createComponentVNode)(2,a.Box,{color:r,children:n})},d=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,d=e.engineName,u=void 0===d?"Bluespace Drive":d,s=c.shuttle_status,m=c.shuttle_state,p=c.has_docking,f=c.docking_status,h=c.docking_override,C=c.docking_codes;return(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",children:[(0,o.createComponentVNode)(2,a.Box,{color:"label",mb:1,children:s}),(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:u,children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",children:l(f,h)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Codes",children:(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return r("set_codes")},children:C||"Not Set"})})],4)||null]})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_launch,d=c.can_cancel,u=c.can_force;return(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("move")},disabled:!l,icon:"rocket",fluid:!0,children:"Launch Shuttle"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("cancel")},disabled:!d,icon:"ban",fluid:!0,children:"Cancel Launch"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("force")},color:"bad",disabled:!u,icon:"exclamation-triangle",fluid:!0,children:"Force Launch"})})]})})},s={ShuttleControlConsoleDefault:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t);n.act,n.data;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleMulti:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_cloak,s=c.can_pick,m=c.legit,p=c.cloaked,f=c.destination_name;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d),(0,o.createComponentVNode)(2,a.Section,{title:"Multishuttle Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[l&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:m?"ATC Inhibitor":"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:p,icon:p?"eye":"eye-o",onClick:function(){return r("toggle_cloaked")},children:p?"Enabled":"Disabled"})})||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!s,onClick:function(){return r("pick")},children:f})})]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleExploration:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.can_pick,s=c.destination_name,m=c.fuel_usage,p=c.fuel_span,f=c.remaining_fuel;return(0,o.createFragment)([(0,o.createComponentVNode)(2,d,{engineName:"Engines"}),(0,o.createComponentVNode)(2,a.Section,{title:"Jump Controls",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Destination",children:(0,o.createComponentVNode)(2,a.Button,{icon:"taxi",disabled:!l,onClick:function(){return r("pick")},children:s})}),m&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Est. Delta-V Budget",color:p,children:[f," m/s"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Avg. Delta-V Per Maneuver",children:[m," m/s"]})],4)||null]})}),(0,o.createComponentVNode)(2,u)],4)})),ShuttleControlConsoleWeb:(0,o.createComponentVNode)(2,(function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.autopilot,s=d.can_rename,m=d.shuttle_state,p=d.is_moving,f=d.skip_docking,h=d.docking_status,C=d.docking_override,g=d.shuttle_location,b=d.can_cloak,N=d.cloaked,v=d.can_autopilot,V=d.routes,y=d.is_in_transit,k=d.travel_progress,x=d.time_left,_=d.doors,w=d.sensors;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Section,{title:"AI PILOT (CLASS D) ACTIVE",children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,italic:!0,children:"This vessel will start and stop automatically. Ensure that all non-cycling capable hatches and doors are closed, as the automated system may not be able to control them. Docking and flight controls are locked. To unlock, disable the automated flight system."})})||null,(0,o.createComponentVNode)(2,a.Section,{title:"Shuttle Status",buttons:s&&(0,o.createComponentVNode)(2,a.Button,{icon:"pen",onClick:function(){return c("rename_command")},children:"Rename"})||null,children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Engines",children:"idle"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#676767",bold:!0,children:"IDLE"})||"warmup"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"SPINNING UP"})||"in_transit"===m&&(0,o.createComponentVNode)(2,a.Box,{color:"#336699",children:"ENGAGED"})||(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"ERROR"})}),!p&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Location",children:(0,r.toTitleCase)(g)}),!f&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Docking Status",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{selected:"docked"===h,disabled:"undocked"!==h&&"docked"!==h,onClick:function(){return c("dock_command")},children:"Dock"}),(0,o.createComponentVNode)(2,a.Button,{selected:"undocked"===h,disabled:"docked"!==h&&"undocked"!==h,onClick:function(){return c("undock_command")},children:"Undock"})],4),children:(0,o.createComponentVNode)(2,a.Box,{bold:!0,inline:!0,children:l(h,C)})})||null,b&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Cloaking",children:(0,o.createComponentVNode)(2,a.Button,{selected:N,icon:N?"eye":"eye-o",onClick:function(){return c("toggle_cloaked")},children:N?"Enabled":"Disabled"})})||null,v&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Autopilot",children:(0,o.createComponentVNode)(2,a.Button,{selected:u,icon:u?"eye":"eye-o",onClick:function(){return c("toggle_autopilot")},children:u?"Enabled":"Disabled"})})||null],0)||null]}),!p&&(0,o.createComponentVNode)(2,a.Section,{level:2,title:"Available Destinations",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:V.length&&V.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name,children:(0,o.createComponentVNode)(2,a.Button,{icon:"rocket",onClick:function(){return c("traverse",{traverse:e.index})},children:e.travel_time})},e.name)}))||(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Error",color:"bad",children:"No routes found."})})})||null]}),y&&(0,o.createComponentVNode)(2,a.Section,{title:"Transit ETA",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Distance from target",children:(0,o.createComponentVNode)(2,a.ProgressBar,{color:"good",minValue:0,maxValue:100,value:k,children:[x,"s"]})})})})||null,Object.keys(_).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Hatch Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(_).map((function(e){var t=_[e];return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:[t.open&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Open"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Closed"}),"\xa0-\xa0",t.bolted&&(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"good",children:"Bolted"})||(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:"bad",children:"Unbolted"})]},e)}))})})||null,Object.keys(w).length&&(0,o.createComponentVNode)(2,a.Section,{title:"Sensors",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:Object.keys(w).map((function(e){var t=w[e];return-1!==t.reading?(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,color:"bad",children:"Unable to get sensor air reading."}):(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pressure",children:[t.pressure,"kPa"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:[t.temp,"\xb0C"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Oxygen",children:[t.oxygen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nitrogen",children:[t.nitrogen,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Carbon Dioxide",children:[t.carbon_dioxide,"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Phoron",children:[t.phoron,"%"]}),t.other&&(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Other",children:[t.other,"%"]})||null]})},e)}))})})||null],0)}))};t.ShuttleControl=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.subtemplate);return(0,o.createComponentVNode)(2,c.Window,{width:470,height:"ShuttleControlConsoleWeb"===r?560:370,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:s[r]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Signaler=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.Signaler=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.code,s=d.frequency,m=d.minFrequency,p=d.maxFrequency;return(0,o.createComponentVNode)(2,c.Window,{width:280,height:132,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:(0,o.createComponentVNode)(2,a.Section,{children:[(0,o.createComponentVNode)(2,a.Grid,{children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Frequency:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,unit:"kHz",step:.2,stepPixelSize:6,minValue:m/10,maxValue:p/10,value:s/10,format:function(e){return(0,r.toFixed)(e,1)},width:"80px",onDrag:function(e,t){return l("freq",{freq:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"freq"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.6,children:[(0,o.createComponentVNode)(2,a.Grid.Column,{size:1.4,color:"label",children:"Code:"}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.NumberInput,{animate:!0,step:1,stepPixelSize:6,minValue:1,maxValue:100,value:u,width:"80px",onDrag:function(e,t){return l("code",{code:t})}})}),(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{ml:1.3,icon:"sync",content:"Reset",onClick:function(){return l("reset",{reset:"code"})}})})]}),(0,o.createComponentVNode)(2,a.Grid,{mt:.8,children:(0,o.createComponentVNode)(2,a.Grid.Column,{children:(0,o.createComponentVNode)(2,a.Button,{mb:-.1,fluid:!0,icon:"arrow-up",content:"Send Signal",textAlign:"center",onClick:function(){return l("signal")}})})})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Sleeper=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=[["good","Alive"],["average","Unconscious"],["bad","DEAD"]],d=[["Resp","oxyLoss"],["Toxin","toxLoss"],["Brute","bruteLoss"],["Burn","fireLoss"]],u={average:[.25,.5],bad:[.5,Infinity]},s=["bad","average","average","good","average","average","bad"];t.Sleeper=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.hasOccupant?(0,o.createComponentVNode)(2,m):(0,o.createComponentVNode)(2,g));return(0,o.createComponentVNode)(2,c.Window,{width:550,height:820,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{className:"Layout__content--flexColumn",children:r})})};var m=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data),a=(r.occupant,r.dialysis),c=r.stomachpumping;return(0,o.createFragment)([(0,o.createComponentVNode)(2,p),(0,o.createComponentVNode)(2,f),(0,o.createComponentVNode)(2,h,{title:"Dialysis",active:a,actToDo:"togglefilter"}),(0,o.createComponentVNode)(2,h,{title:"Stomach Pump",active:c,actToDo:"togglepump"}),(0,o.createComponentVNode)(2,C)],4)},p=function(e,t){var n=(0,i.useBackend)(t),c=n.act,d=n.data,u=d.occupant,m=d.auto_eject_dead,p=d.stasis;return(0,o.createComponentVNode)(2,a.Section,{title:"Occupant",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Box,{color:"label",display:"inline",children:"Auto-eject if dead:\xa0"}),(0,o.createComponentVNode)(2,a.Button,{icon:m?"toggle-on":"toggle-off",selected:m,content:m?"On":"Off",onClick:function(){return c("auto_eject_dead_"+(m?"off":"on"))}}),(0,o.createComponentVNode)(2,a.Button,{icon:"user-slash",content:"Eject",onClick:function(){return c("ejectify")}}),(0,o.createComponentVNode)(2,a.Button,{content:p,onClick:function(){return c("changestasis")}})],4),children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:u.name}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Health",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:0,max:u.maxHealth,value:u.health/u.maxHealth,ranges:{good:[.5,Infinity],average:[0,.5],bad:[-Infinity,0]},children:(0,r.round)(u.health,0)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Status",color:l[u.stat][0],children:l[u.stat][1]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Temperature",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.maxTemp,value:u.bodyTemperature/u.maxTemp,color:s[u.temperatureSuitability+3],children:[(0,r.round)(u.btCelsius,0),"\xb0C,",(0,r.round)(u.btFaren,0),"\xb0F"]})}),!!u.hasBlood&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Blood Level",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u.bloodMax,value:u.bloodLevel/u.bloodMax,ranges:{bad:[-Infinity,.6],average:[.6,.9],good:[.6,Infinity]},children:[u.bloodPercent,"%, ",u.bloodLevel,"cl"]})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Pulse",verticalAlign:"middle",children:[u.pulse," BPM"]})],4)]})})},f=function(e,t){var n=(0,i.useBackend)(t).data.occupant;return(0,o.createComponentVNode)(2,a.Section,{title:"Damage",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:d.map((function(e,t){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e[0],children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:"100",value:n[e[1]]/100,ranges:u,children:(0,r.round)(n[e[1]],0)},t)},t)}))})})},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.isBeakerLoaded,d=c.beakerMaxSpace,u=c.beakerFreeSpace,s=e.active,m=e.actToDo,p=e.title,f=s&&u>0;return(0,o.createComponentVNode)(2,a.Section,{title:p,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{disabled:!l||u<=0,selected:f,icon:f?"toggle-on":"toggle-off",content:f?"Active":"Inactive",onClick:function(){return r(m)}}),(0,o.createComponentVNode)(2,a.Button,{disabled:!l,icon:"eject",content:"Eject",onClick:function(){return r("removebeaker")}})],4),children:l?(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Remaining Space",children:(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:d,value:u/d,ranges:{good:[.5,Infinity],average:[.25,.5],bad:[-Infinity,.25]},children:[u,"u"]})})}):(0,o.createComponentVNode)(2,a.Box,{color:"label",children:"No beaker loaded."})})},C=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.occupant,d=c.chemicals,u=c.maxchem,s=c.amounts;return(0,o.createComponentVNode)(2,a.Section,{title:"Chemicals",flexGrow:"1",children:d.map((function(e,t){var n,i="";return e.overdosing?(i="bad",n=(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-circle"}),"\xa0 Overdosing!"]})):e.od_warning&&(i="average",n=(0,o.createComponentVNode)(2,a.Box,{color:"average",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"exclamation-triangle"}),"\xa0 Close to overdosing"]})),(0,o.createComponentVNode)(2,a.Box,{backgroundColor:"rgba(0, 0, 0, 0.33)",mb:"0.5rem",children:(0,o.createComponentVNode)(2,a.Section,{title:e.title,level:"3",mx:"0",lineHeight:"18px",buttons:n,children:(0,o.createComponentVNode)(2,a.Flex,{align:"flex-start",children:[(0,o.createComponentVNode)(2,a.ProgressBar,{min:"0",max:u,value:e.occ_amount/u,color:i,mr:"0.5rem",children:[e.pretty_amount,"/",u,"u"]}),s.map((function(t,n){return(0,o.createComponentVNode)(2,a.Button,{disabled:!e.injectable||e.occ_amount+t>u||2===l.stat,icon:"syringe",content:t,mb:"0",height:"19px",onClick:function(){return r("chemical",{chemid:e.id,amount:t})}},n)}))]})})},t)}))})},g=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.isBeakerLoaded;return(0,o.createComponentVNode)(2,a.Section,{textAlign:"center",flexGrow:"1",children:(0,o.createComponentVNode)(2,a.Flex,{height:"100%",children:(0,o.createComponentVNode)(2,a.Flex.Item,{grow:"1",align:"center",color:"label",children:[(0,o.createComponentVNode)(2,a.Icon,{name:"user-slash",mb:"0.5rem",size:"5"}),(0,o.createVNode)(1,"br"),"No occupant detected.",c&&(0,o.createComponentVNode)(2,a.Box,{children:(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Remove Beaker",onClick:function(){return r("removebeaker")}})})||null]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SmartVend=void 0;var o=n(0),r=n(22),i=n(2),a=n(3),c=n(4);t.SmartVend=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.config,u=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:440,height:550,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:(0,o.createComponentVNode)(2,a.Section,{title:"Storage",children:[u.secure&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:-1===u.locked,info:-1!==u.locked,children:-1===u.locked?(0,o.createComponentVNode)(2,a.Box,{children:"Sec.re ACC_** //):securi_nt.diag=>##'or 1=1'%($..."}):(0,o.createComponentVNode)(2,a.Box,{children:"Secure Access: Please have your identification ready."})})||null,0===u.contents.length&&(0,o.createComponentVNode)(2,a.NoticeBox,{children:["Unfortunately, this ",d.title," is empty."]})||(0,o.createComponentVNode)(2,a.Table,{children:[(0,o.createComponentVNode)(2,a.Table.Row,{header:!0,children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:"Item"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Amount"}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:"Dispense"})]}),(0,r.map)((function(e,t){return(0,o.createComponentVNode)(2,a.Table.Row,{children:[(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:e.name}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,textAlign:"center",children:[e.amount," in stock"]}),(0,o.createComponentVNode)(2,a.Table.Cell,{collapsing:!0,children:[(0,o.createComponentVNode)(2,a.Button,{content:"1",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:1})}}),(0,o.createComponentVNode)(2,a.Button,{content:"5",disabled:e.amount<5,onClick:function(){return l("Release",{index:e.index,amount:5})}}),(0,o.createComponentVNode)(2,a.Button,{content:"Custom",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index})}}),(0,o.createComponentVNode)(2,a.Button,{content:"All",disabled:e.amount<1,onClick:function(){return l("Release",{index:e.index,amount:e.amount})}})]})]},t)}))(u.contents)]})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Smes=void 0;var o=n(0),r=n(2),i=n(3),a=n(23),c=n(4),l=n(6);t.Smes=function(e,t){var n=(0,r.useBackend)(t),d=n.act,u=n.data,s=u.capacityPercent,m=u.capacity,p=u.charge,f=u.inputAttempt,h=u.inputting,C=u.inputLevel,g=u.inputLevelMax,b=u.inputAvailable,N=u.outputAttempt,v=u.outputting,V=u.outputLevel,y=u.outputLevelMax,k=u.outputUsed,x=(s>=100?"good":h&&"average")||"bad",_=(v?"good":p>0&&"average")||"bad";return(0,o.createComponentVNode)(2,c.Window,{width:340,height:350,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Stored Energy",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:.01*s,ranges:{good:[.5,Infinity],average:[.15,.5],bad:[-Infinity,.15]},children:[(0,l.round)(p/6e4,1)," kWh / ",(0,l.round)(m/6e4)," kWh (",s,"%)"]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Input",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:f?"sync-alt":"times",selected:f,onClick:function(){return d("tryinput")},children:f?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:x,children:(s>=100?"Fully Charged":h&&"Charging")||"Not Charging"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Input",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===C,onClick:function(){return d("input",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===C,onClick:function(){return d("input",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:C/1e3,fillValue:b/1e3,minValue:0,maxValue:g/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("input",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:C===g,onClick:function(){return d("input",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:C===g,onClick:function(){return d("input",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Available",children:(0,a.formatPower)(b)})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Output",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Output Mode",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:N?"power-off":"times",selected:N,onClick:function(){return d("tryoutput")},children:N?"On":"Off"}),children:(0,o.createComponentVNode)(2,i.Box,{color:_,children:v?"Sending":p>0?"Not Sending":"No Charge"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Output",children:(0,o.createComponentVNode)(2,i.Flex,{inline:!0,width:"100%",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:0===V,onClick:function(){return d("output",{target:"min"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"backward",disabled:0===V,onClick:function(){return d("output",{adjust:-1e4})}})]}),(0,o.createComponentVNode)(2,i.Flex.Item,{grow:1,mx:1,children:(0,o.createComponentVNode)(2,i.Slider,{value:V/1e3,minValue:0,maxValue:y/1e3,step:5,stepPixelSize:4,format:function(e){return(0,a.formatPower)(1e3*e,1)},onDrag:function(e,t){return d("output",{target:1e3*t})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{children:[(0,o.createComponentVNode)(2,i.Button,{icon:"forward",disabled:V===y,onClick:function(){return d("output",{adjust:1e4})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:V===y,onClick:function(){return d("output",{target:"max"})}})]})]})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Outputting",children:(0,a.formatPower)(k)})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SolarControl=void 0;var o=n(0),r=n(2),i=n(3),a=n(4),c=n(6);t.SolarControl=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.generated,s=d.generated_ratio,m=d.sun_angle,p=d.array_angle,f=d.rotation_rate,h=d.max_rotation_rate,C=d.tracking_state,g=d.connected_panels,b=d.connected_tracker;return(0,o.createComponentVNode)(2,a.Window,{width:380,height:230,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Scan for new hardware",onClick:function(){return l("refresh")}}),children:(0,o.createComponentVNode)(2,i.Grid,{children:[(0,o.createComponentVNode)(2,i.Grid.Column,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar tracker",color:b?"good":"bad",children:b?"OK":"N/A"}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Solar panels",color:g>0?"good":"bad",children:g})]})}),(0,o.createComponentVNode)(2,i.Grid.Column,{size:1.5,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Power output",children:(0,o.createComponentVNode)(2,i.ProgressBar,{ranges:{good:[.66,Infinity],average:[.33,.66],bad:[-Infinity,.33]},minValue:0,maxValue:1,value:s,children:u+" W"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Star orientation",children:[m,"\xb0"]})]})})]})}),(0,o.createComponentVNode)(2,i.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Tracking",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"times",content:"Off",selected:0===C,onClick:function(){return l("tracking",{mode:0})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"clock-o",content:"Timed",selected:1===C,onClick:function(){return l("tracking",{mode:1})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"sync",content:"Auto",selected:2===C,disabled:!b,onClick:function(){return l("tracking",{mode:2})}})]}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Azimuth",children:[(0===C||1===C)&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"52px",unit:"\xb0",step:1,stepPixelSize:2,minValue:-360,maxValue:720,value:p,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth",{value:t})}}),1===C&&(0,o.createComponentVNode)(2,i.NumberInput,{width:"80px",unit:"deg/h",step:1,minValue:-h-.01,maxValue:h+.01,value:f,format:function(e){var t=Math.sign(e)>0?" (CW)":" (CCW)";return Math.abs((0,c.round)(e))+t},onDrag:function(e,t){return l("azimuth_rate",{value:t})}}),2===C&&(0,o.createComponentVNode)(2,i.Box,{inline:!0,color:"label",mt:"3px",children:[p+"\xb0"," (auto)"]})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SpaceHeater=void 0;var o=n(0),r=n(35),i=n(2),a=n(3),c=n(4);t.SpaceHeater=function(e,t){var n=(0,i.useBackend)(t),l=n.act,d=n.data,u=d.temp,s=d.minTemp,m=d.maxTemp,p=d.cell,f=d.power;return(0,o.createComponentVNode)(2,c.Window,{width:300,height:250,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Target Temperature",children:[u," K (",u-r.T0C,"\xb0 C)"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Charge",children:[f,"% ",!p&&"(No Cell Inserted)"]})]})}),(0,o.createComponentVNode)(2,a.Section,{title:"Controls",children:(0,o.createComponentVNode)(2,a.LabeledControls,{children:[(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Thermostat",children:(0,o.createComponentVNode)(2,a.Knob,{animated:!0,value:u-r.T0C,minValue:s-r.T0C,maxValue:m-r.T0C,unit:"C",onChange:function(e,t){return l("temp",{newtemp:t+r.T0C})}})}),(0,o.createComponentVNode)(2,a.LabeledControls.Item,{label:"Cell",children:p?(0,o.createComponentVNode)(2,a.Button,{icon:"eject",content:"Eject Cell",onClick:function(){return l("cellremove")}}):(0,o.createComponentVNode)(2,a.Button,{icon:"car-battery",content:"Insert Cell",onClick:function(){return l("cellinstall")}})})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitCycler=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitCycler=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.active,m=i.locked,p=i.uv_active,f=(0,o.createComponentVNode)(2,c);return p?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):s&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:320,height:400,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.occupied,u=c.suit,s=c.helmet,m=c.departments,p=c.species,f=c.uv_level,h=c.max_uv_level,C=c.can_repair,g=c.damage;return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Storage",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"lock",content:"Lock",onClick:function(){return a("lock")}}),children:[!(!d||!l)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"square":"square-o",content:s||"Empty",disabled:!s,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:u?"square":"square-o",content:u||"Empty",disabled:!u,onClick:function(){return a("dispense",{item:"suit"})}})}),C&&g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit Damage",children:[g,(0,o.createComponentVNode)(2,i.Button,{icon:"wrench",content:"Repair",onClick:function(){return a("repair_suit")}})]}):null]})]}),(0,o.createComponentVNode)(2,i.Section,{title:"Customization",children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Paintjob",children:(0,o.createComponentVNode)(2,i.Dropdown,{noscroll:!0,width:"100%",options:m,selected:m[0],onSelected:function(e){return a("department",{department:e})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Target Species",children:(0,o.createComponentVNode)(2,i.Dropdown,{width:"100%",maxHeight:"160px",options:p,selected:p[0],onSelected:function(e){return a("species",{species:e})}})})]}),(0,o.createComponentVNode)(2,i.Button,{mt:1,fluid:!0,content:"Customize",onClick:function(){return a("apply_paintjob")}})]}),(0,o.createComponentVNode)(2,i.Section,{title:"UV Decontamination",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Radiation Level",children:(0,o.createComponentVNode)(2,i.NumberInput,{width:"50px",value:f,minValue:1,maxValue:h,stepPixelSize:30,onChange:function(e,t){return a("radlevel",{radlevel:t})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Decontaminate",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",disabled:d&&l,textAlign:"center",onClick:function(){return a("uv")}})})]})})],4)},l=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.model_text,d=c.userHasAccess;return(0,o.createComponentVNode)(2,i.Section,{title:"Locked",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Box,{color:"bad",bold:!0,children:["The ",l," suit cycler is currently locked. Please contact your system administrator."]}),(0,o.createComponentVNode)(2,i.Box,{children:(0,o.createComponentVNode)(2,i.Button,{icon:"unlock",content:"[Unlock]",disabled:!d,onClick:function(){return a("lock")}})})]})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being painted. Please wait."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SuitStorageUnit=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.SuitStorageUnit=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),s=i.panelopen,m=i.uv_active,p=i.broken,f=(0,o.createComponentVNode)(2,c);return s?f=(0,o.createComponentVNode)(2,l):m?f=(0,o.createComponentVNode)(2,d):p&&(f=(0,o.createComponentVNode)(2,u)),(0,o.createComponentVNode)(2,a.Window,{width:400,height:365,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:f})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.locked,d=c.open,u=c.safeties,s=c.occupied,m=c.suit,p=c.helmet,f=c.mask;return(0,o.createComponentVNode)(2,i.Section,{title:"Storage",minHeight:"260px",buttons:(0,o.createFragment)([!d&&(0,o.createComponentVNode)(2,i.Button,{icon:l?"unlock":"lock",content:l?"Unlock":"Lock",onClick:function(){return a("lock")}}),!l&&(0,o.createComponentVNode)(2,i.Button,{icon:d?"sign-out-alt":"sign-in-alt",content:d?"Close":"Open",onClick:function(){return a("door")}})],0),children:[!(!s||!u)&&(0,o.createComponentVNode)(2,i.NoticeBox,{children:["Biological entity detected in suit chamber. Please remove before continuing with operation.",(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"eject",color:"red",content:"Eject Entity",onClick:function(){return a("eject_guy")}})]}),l&&(0,o.createComponentVNode)(2,i.Box,{mt:6,bold:!0,textAlign:"center",fontSize:"40px",children:[(0,o.createComponentVNode)(2,i.Box,{children:"Unit Locked"}),(0,o.createComponentVNode)(2,i.Icon,{name:"lock"})]})||d&&(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Helmet",children:(0,o.createComponentVNode)(2,i.Button,{icon:p?"square":"square-o",content:p||"Empty",disabled:!p,onClick:function(){return a("dispense",{item:"helmet"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Suit",children:(0,o.createComponentVNode)(2,i.Button,{icon:m?"square":"square-o",content:m||"Empty",disabled:!m,onClick:function(){return a("dispense",{item:"suit"})}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask",children:(0,o.createComponentVNode)(2,i.Button,{icon:f?"square":"square-o",content:f||"Empty",disabled:!f,onClick:function(){return a("dispense",{item:"mask"})}})})]})||(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:"recycle",content:"Decontaminate",disabled:s&&u,textAlign:"center",onClick:function(){return a("uv")}})]})},l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.safeties,d=c.uv_super;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:[(0,o.createComponentVNode)(2,i.Box,{color:"grey",children:"The panel is ridden with controls, button and meters, labeled in strange signs and symbols that you cannot understand. Probably the manufactoring world's language. Among other things, a few controls catch your eye."}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A small dial with a biohazard symbol next to it. It's pointing towards a gauge that reads ",d?"15nm":"185nm",".",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Knob,{size:2,inline:!0,value:d,minValue:0,maxValue:1,step:1,stepPixelSize:40,color:d?"red":"green",format:function(e){return e?"15nm":"185nm"},onChange:function(e,t){return a("toggleUV")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Icon,{name:"biohazard",size:3,color:"orange"})})]})]}),(0,o.createVNode)(1,"br"),(0,o.createComponentVNode)(2,i.Box,{children:["A thick old-style button, with 2 grimy LED lights next to it. The ",l?(0,o.createVNode)(1,"font",null,"GREEN",16,{color:"green"}):(0,o.createVNode)(1,"font",null,"RED",16,{color:"red"})," LED is on.",(0,o.createComponentVNode)(2,i.Flex,{mt:1,align:"center",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fontSize:"2rem",color:"grey",inline:!0,icon:"caret-square-right",style:{border:"4px solid #777","border-style":"outset"},onClick:function(){return a("togglesafeties")}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",textAlign:"center",children:[(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"black":"red",mr:2}),(0,o.createComponentVNode)(2,i.Icon,{name:"circle",color:l?"green":"black"})]})]})]})]})},d=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{children:"Contents are currently being decontaminated. Please wait."})},u=function(e,t){return(0,o.createComponentVNode)(2,i.NoticeBox,{danger:!0,children:"Unit chamber is too contaminated to continue usage. Please call for a qualified individual to perform maintenance."})}},function(e,t,n){"use strict";t.__esModule=!0,t.SupplyConsole=void 0;var o=n(0),r=n(22),i=(n(6),n(23)),a=n(2),c=n(3),l=n(44),d=n(4),u=n(56),s=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data.supply_points,l=e.args,d=l.name,u=l.cost,s=l.manifest,m=l.ref,p=l.random;return(0,o.createComponentVNode)(2,c.Section,{width:"400px",level:2,m:"-1rem",pb:"1rem",title:d,buttons:(0,o.createComponentVNode)(2,c.Button,{icon:"shopping-cart",content:"Buy - "+u+" points",disabled:u>i,onClick:function(){return r("request_crate",{ref:m})}}),children:(0,o.createComponentVNode)(2,c.Section,{title:"Contains"+(p?" any "+p+" of:":""),scrollable:!0,height:"200px",children:s.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:e},e)}))})})};t.SupplyConsole=function(e,t){var n=(0,a.useBackend)(t);n.act,n.data;return(0,l.modalRegisterBodyOverride)("view_crate",s),(0,o.createComponentVNode)(2,d.Window,{width:700,height:620,children:(0,o.createComponentVNode)(2,d.Window.Content,{children:[(0,o.createComponentVNode)(2,l.ComplexModal,{maxWidth:"100%"}),(0,o.createComponentVNode)(2,c.Section,{title:"Supply Records",children:[(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,p)]})]})})};var m=function(e,t){var n=(0,a.useBackend)(t),r=n.act,l=n.data,d=l.supply_points,u=l.shuttle,s=null,m=!1;return l.shuttle_auth&&(1===u.launch&&0===u.mode?s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Away",onClick:function(){return r("send_shuttle",{mode:"send_away"})}}):2!==u.launch||3!==u.mode&&1!==u.mode?1===u.launch&&5===u.mode&&(s=(0,o.createComponentVNode)(2,c.Button,{icon:"rocket",content:"Send Shuttle",onClick:function(){return r("send_shuttle",{mode:"send_to_station"})}})):s=(0,o.createComponentVNode)(2,c.Button,{icon:"ban",content:"Cancel Launch",onClick:function(){return r("send_shuttle",{mode:"cancel_shuttle"})}}),u.force&&(m=!0)),(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Supply Points",children:(0,o.createComponentVNode)(2,c.AnimatedNumber,{value:d})})}),(0,o.createComponentVNode)(2,c.Section,{level:2,title:"Supply Shuttle",mt:2,children:(0,o.createComponentVNode)(2,c.LabeledList,{children:[(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Location",buttons:(0,o.createFragment)([s,m?(0,o.createComponentVNode)(2,c.Button,{icon:"exclamation-triangle",content:"Force Launch",onClick:function(){return r("send_shuttle",{mode:"force_shuttle"})}}):null],0),children:u.location}),(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Engine",children:u.engine}),4===u.mode?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"ETA",children:u.time>1?(0,i.formatTime)(u.time):"LATE"}):null]})})]})},p=function(e,t){var n=(0,a.useBackend)(t),r=(n.act,n.data.order_auth,(0,a.useLocalState)(t,"tabIndex",0)),i=r[0],l=r[1];return(0,o.createComponentVNode)(2,c.Section,{title:"Menu",children:[(0,o.createComponentVNode)(2,c.Tabs,{children:[(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"box",selected:0===i,onClick:function(){return l(0)},children:"Request"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"check-circle-o",selected:1===i,onClick:function(){return l(1)},children:"Accepted"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"circle-o",selected:2===i,onClick:function(){return l(2)},children:"Requests"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:3===i,onClick:function(){return l(3)},children:"Order history"}),(0,o.createComponentVNode)(2,c.Tabs.Tab,{icon:"book",selected:4===i,onClick:function(){return l(4)},children:"Export history"})]}),0===i?(0,o.createComponentVNode)(2,f):null,1===i?(0,o.createComponentVNode)(2,h,{mode:"Approved"}):null,2===i?(0,o.createComponentVNode)(2,h,{mode:"Requested"}):null,3===i?(0,o.createComponentVNode)(2,h,{mode:"All"}):null,4===i?(0,o.createComponentVNode)(2,C):null]})},f=function(e,t){var n=(0,a.useBackend)(t),i=n.act,l=n.data,d=l.categories,s=l.supply_packs,m=l.contraband,p=l.supply_points,f=(0,a.useLocalState)(t,"activeCategory",null),h=f[0],C=f[1],g=(0,u.flow)([(0,r.filter)((function(e){return e.group===h})),(0,r.filter)((function(e){return!e.contraband||m})),(0,r.sortBy)((function(e){return e.name})),(0,r.sortBy)((function(e){return e.cost>p}))])(s);return(0,o.createComponentVNode)(2,c.Section,{level:2,children:(0,o.createComponentVNode)(2,c.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"25%",children:(0,o.createComponentVNode)(2,c.Section,{title:"Categories",scrollable:!0,fill:!0,height:"290px",children:d.map((function(e){return(0,o.createComponentVNode)(2,c.Button,{fluid:!0,content:e,selected:e===h,onClick:function(){return C(e)}},e)}))})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:(0,o.createComponentVNode)(2,c.Section,{title:"Contents",scrollable:!0,fill:!0,height:"290px",children:g.map((function(e){return(0,o.createComponentVNode)(2,c.Box,{children:(0,o.createComponentVNode)(2,c.Flex,{align:"center",justify:"flex-start",spacing:1,children:[(0,o.createComponentVNode)(2,c.Flex.Item,{basis:"70%",children:(0,o.createComponentVNode)(2,c.Button,{fluid:!0,icon:"shopping-cart",ellipsis:!0,content:e.name,color:e.cost>p?"red":null,onClick:function(){return i("request_crate",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"#",color:e.cost>p?"red":null,onClick:function(){return i("request_crate_multi",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{children:(0,o.createComponentVNode)(2,c.Button,{content:"C",color:e.cost>p?"red":null,onClick:function(){return i("view_crate",{crate:e.ref})}})}),(0,o.createComponentVNode)(2,c.Flex.Item,{grow:1,children:[e.cost," points"]})]})},e.name)}))})})]})})},h=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=e.mode,d=i.orders,u=i.order_auth,s=i.supply_points,m=d.filter((function(e){return e.status===l||"All"===l}));return m.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:["Requested"===l&&u?(0,o.createComponentVNode)(2,c.Button,{mt:-1,mb:1,fluid:!0,color:"red",icon:"trash",content:"Clear all requests",onClick:function(){return r("clear_all_requests")}}):null,m.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{title:"Order "+(t+1),buttons:"All"===l&&u?(0,o.createComponentVNode)(2,c.Button,{color:"red",icon:"trash",content:"Delete Record",onClick:function(){return r("delete_order",{ref:e.ref})}}):null,children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.entries.map((function(t){return t.entry?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:u?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){r("edit_order_value",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry}):null})),"All"===l?(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:"Status",children:e.status}):null]}),u&&"Requested"===l?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"check",content:"Approve",disabled:e.cost>s,onClick:function(){return r("approve_order",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"times",content:"Deny",onClick:function(){return r("deny_order",{ref:e.ref})}})],4):null]},t)}))]}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No orders found."})},C=function(e,t){var n=(0,a.useBackend)(t),r=n.act,i=n.data,l=i.receipts,d=i.order_auth;return l.length?(0,o.createComponentVNode)(2,c.Section,{level:2,children:l.map((function(e,t){return(0,o.createComponentVNode)(2,c.Section,{children:[(0,o.createComponentVNode)(2,c.LabeledList,{children:[e.title.map((function(t){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.field,buttons:d?(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit",{ref:e.ref,edit:t.field,"default":t.entry})}}):null,children:t.entry},t.field)})),e.error?(0,o.createComponentVNode)(2,c.LabeledList.Item,{labelColor:"red",label:"Error",children:e.error}):e.contents.map((function(t,n){return(0,o.createComponentVNode)(2,c.LabeledList.Item,{label:t.object,buttons:d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{icon:"pen",content:"Edit",onClick:function(){return r("export_edit_field",{ref:e.ref,index:n+1,edit:"meow","default":t.object})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",color:"red",content:"Delete",onClick:function(){return r("export_delete_field",{ref:e.ref,index:n+1})}})],4):null,children:[t.quantity,"x -> ",t.value," points"]},n)}))]}),d?(0,o.createFragment)([(0,o.createComponentVNode)(2,c.Button,{mt:1,icon:"plus",content:"Add Item To Record",onClick:function(){return r("export_add_field",{ref:e.ref})}}),(0,o.createComponentVNode)(2,c.Button,{icon:"trash",content:"Delete Record",onClick:function(){return r("export_delete",{ref:e.ref})}})],4):null]},t)}))}):(0,o.createComponentVNode)(2,c.Section,{level:2,children:"No receipts found."})}},function(e,t,n){"use strict";t.__esModule=!0,t.TEGenerator=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4),l=n(23);t.TEGenerator=function(e,t){var n=(0,i.useBackend)(t).data,r=n.totalOutput,u=n.maxTotalOutput,s=n.thermalOutput,m=n.primary,p=n.secondary;return(0,o.createComponentVNode)(2,c.Window,{width:550,height:310,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{children:[(0,o.createComponentVNode)(2,a.Section,{title:"Status",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Output",children:(0,o.createComponentVNode)(2,a.ProgressBar,{value:r,maxValue:u,children:(0,l.formatPower)(r)})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Thermal Output",children:(0,l.formatPower)(s)})]})}),m&&p?(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Primary Circulator",values:m})}),(0,o.createComponentVNode)(2,a.Flex.Item,{shrink:1,grow:1,children:(0,o.createComponentVNode)(2,d,{name:"Secondary Circulator",values:p})})]}):(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"Warning! Both circulators must be connected in order to operate this machine."})]})})};var d=function(e,t){var n=e.name,i=e.values,c=i.dir,d=i.output,u=i.flowCapacity,s=i.inletPressure,m=i.inletTemperature,p=i.outletPressure,f=i.outletTemperature;return(0,o.createComponentVNode)(2,a.Section,{title:n+" ("+c+")",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Turbine Output",children:(0,l.formatPower)(d)}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flow Capacity",children:[(0,r.round)(u,2),"%"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Pressure",children:(0,l.formatSiUnit)(1e3*s,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Inlet Temperature",children:[(0,r.round)(m,2)," K"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Pressure",children:(0,l.formatSiUnit)(1e3*p,0,"Pa")}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Outlet Temperature",children:[(0,r.round)(f,2)," K"]})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.Tank=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Tank=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.connected,u=l.maskConnected,s=l.tankPressure,m=l.releasePressure,p=l.defaultReleasePressure,f=l.minReleasePressure,h=l.maxReleasePressure;return(0,o.createComponentVNode)(2,a.Window,{width:400,height:320,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:d?"air-freshener":"lock-open",selected:d,disabled:!u,content:"Mask Release Valve",onClick:function(){return c("toggle")}}),children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Mask Connected",children:u?"Yes":"No"})})}),(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure",children:(0,o.createComponentVNode)(2,i.ProgressBar,{value:s/1013,ranges:{good:[.35,Infinity],average:[.15,.35],bad:[-Infinity,.15]},children:l.tankPressure+" kPa"})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Pressure Regulator",children:[(0,o.createComponentVNode)(2,i.Button,{icon:"fast-backward",disabled:m===f,onClick:function(){return c("pressure",{pressure:"min"})}}),(0,o.createComponentVNode)(2,i.NumberInput,{animated:!0,value:parseFloat(m),width:"65px",unit:"kPa",minValue:f,maxValue:h,onChange:function(e,t){return c("pressure",{pressure:t})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"fast-forward",disabled:m===h,onClick:function(){return c("pressure",{pressure:"max"})}}),(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"",disabled:m===p,onClick:function(){return c("pressure",{pressure:"reset"})}})]})]})})]})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TankDispenser=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.TankDispenser=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data;return(0,o.createComponentVNode)(2,a.Window,{width:275,height:103,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Phoron",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.plasma?"square":"square-o",content:"Dispense",disabled:!l.plasma,onClick:function(){return c("plasma")}}),children:l.plasma}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Oxygen",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:l.oxygen?"square":"square-o",content:"Dispense",disabled:!l.oxygen,onClick:function(){return c("oxygen")}}),children:l.oxygen})]})})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsLogBrowser=void 0;var o=n(0),r=n(6),i=n(2),a=n(3),c=n(4);t.TelecommsLogBrowser=function(e,t){var n=(0,i.useBackend)(t),r=n.act,u=n.data,s=u.universal_translate,m=u.network,p=u.temp,f=u.servers,h=u.selectedServer;return(0,o.createComponentVNode)(2,c.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[p&&p.length?(0,o.createComponentVNode)(2,a.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,a.Box,{display:"inline-box",verticalAlign:"middle",children:p}),(0,o.createComponentVNode)(2,a.Button,{icon:"times-circle",float:"right",onClick:function(){return r("cleartemp")}}),(0,o.createComponentVNode)(2,a.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,a.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Button,{icon:"search",content:"Refresh",onClick:function(){return r("scan")}}),(0,o.createComponentVNode)(2,a.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===f.length,onClick:function(){return r("release")}})],4),children:(0,o.createComponentVNode)(2,a.Button,{content:m,icon:"pen",onClick:function(){return r("network")}})})})}),h?(0,o.createComponentVNode)(2,d,{network:m,server:h,universal_translate:s}):(0,o.createComponentVNode)(2,l,{network:m,servers:f})]})})};var l=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=(n.data,e.network,e.servers);return c&&c.length?(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunication Servers",children:(0,o.createComponentVNode)(2,a.LabeledList,{children:c.map((function(e){return(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,a.Button,{content:"View",icon:"eye",onClick:function(){return r("view",{id:e.id})}})},e.id)}))})}):(0,o.createComponentVNode)(2,a.Section,{title:"Detected Telecommunications Servers",children:[(0,o.createComponentVNode)(2,a.Box,{color:"bad",children:"No servers detected."}),(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Scan",icon:"search",onClick:function(){return r("scan")}})]})},d=function(e,t){var n=(0,i.useBackend)(t),c=n.act,l=(n.data,e.network,e.server),d=e.universal_translate;return(0,o.createComponentVNode)(2,a.Section,{title:"Server ("+l.id+")",buttons:(0,o.createComponentVNode)(2,a.Button,{content:"Return",icon:"undo",onClick:function(){return c("mainmenu")}}),children:[(0,o.createComponentVNode)(2,a.LabeledList,{children:(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Total Recorded Traffic",children:l.totalTraffic>=1024?(0,r.round)(l.totalTraffic/1024)+" Terrabytes":l.totalTraffic+" Gigabytes"})}),(0,o.createComponentVNode)(2,a.Section,{title:"Stored Logs",mt:"4px",children:(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:l.logs&&l.logs.length?l.logs.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{m:"2px",basis:"49%",grow:e.id%2,children:(0,o.createComponentVNode)(2,a.Section,{title:d||e.parameters.uspeech||e.parameters.intelligible||"Execution Error"===e.input_type?e.input_type:"Audio File",buttons:(0,o.createComponentVNode)(2,a.Button.Confirm,{confirmContent:"Delete Log?",color:"bad",icon:"trash",confirmIcon:"trash",onClick:function(){return c("delete",{id:e.id})}}),children:"Execution Error"===e.input_type?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Data type",children:"Error"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Output",children:e.parameters.message}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Delete",children:(0,o.createComponentVNode)(2,a.Button,{icon:"trash",onClick:function(){return c("delete",{id:e.id})}})})]}):d||e.parameters.uspeech||e.parameters.intelligible?(0,o.createComponentVNode)(2,u,{log:e}):(0,o.createComponentVNode)(2,u,{error:!0})})},e.id)})):"No Logs Detected."})})]})},u=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data,e.log),c=e.error,l=r&&r.parameters||{none:"none"},d=l.timecode,u=l.name,s=l.race,m=l.job,p=l.message;return c?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:"Unidentifiable"}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",children:"Unintelligible"})]}):(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Time Recieved",children:d}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Source",children:[u," (Job: ",m,")"]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Class",children:s}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contents",className:"LabeledList__breakContents",children:p})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMachineBrowser=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.TelecommsMachineBrowser=function(e,t){var n=(0,r.useBackend)(t),l=n.act,d=n.data,u=d.network,s=d.temp,m=d.machinelist,p=d.selectedMachine;return(0,o.createComponentVNode)(2,a.Window,{width:575,height:450,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[s&&s.length?(0,o.createComponentVNode)(2,i.NoticeBox,{warning:!0,children:[(0,o.createComponentVNode)(2,i.Box,{display:"inline-box",verticalAlign:"middle",children:s}),(0,o.createComponentVNode)(2,i.Button,{icon:"times-circle",float:"right",onClick:function(){return l("cleartemp")}}),(0,o.createComponentVNode)(2,i.Box,{clear:"both"})]}):null,(0,o.createComponentVNode)(2,i.Section,{title:"Network Control",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Current Network",buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}}),(0,o.createComponentVNode)(2,i.Button,{color:"bad",icon:"exclamation-triangle",content:"Flush Buffer",disabled:0===m.length,onClick:function(){return l("release")}})],4),children:(0,o.createComponentVNode)(2,i.Button,{content:u,icon:"pen",onClick:function(){return l("network")}})})})}),m&&m.length?(0,o.createComponentVNode)(2,c,{title:p?p.name+" ("+p.id+")":"Detected Network Entities",list:p?p.links:m,showBack:p}):(0,o.createComponentVNode)(2,i.Section,{title:"No Devices Found",children:(0,o.createComponentVNode)(2,i.Button,{icon:"search",content:"Probe Network",onClick:function(){return l("scan")}})})]})})};var c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.list),l=e.title,d=e.showBack;return(0,o.createComponentVNode)(2,i.Section,{title:l,buttons:d&&(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Back to Main Menu",onClick:function(){return a("mainmenu")}}),children:[(0,o.createComponentVNode)(2,i.Box,{color:"label",children:(0,o.createVNode)(1,"u",null,"Linked entities",16)}),(0,o.createComponentVNode)(2,i.LabeledList,{children:c.length?c.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.name+" ("+e.id+")",children:(0,o.createComponentVNode)(2,i.Button,{content:"View",icon:"eye",onClick:function(){return a("view",{id:e.id})}})},e.id)})):(0,o.createComponentVNode)(2,i.LabeledList.Item,{color:"bad",children:"No links detected."})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.TelecommsMultitoolMenu=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(74),c=n(4);t.TelecommsMultitoolMenu=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),u=(i.temp,i.on,i.id,i.network,i.autolinkers,i.shadowlink,i.options);i.linked,i.filter,i.multitool,i.multitool_buffer;return(0,o.createComponentVNode)(2,c.Window,{width:520,height:540,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[(0,o.createComponentVNode)(2,a.TemporaryNotice),(0,o.createComponentVNode)(2,l),(0,o.createComponentVNode)(2,d,{options:u})]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=(c.temp,c.on),d=c.id,u=c.network,s=c.autolinkers,m=c.shadowlink,p=(c.options,c.linked),f=c.filter,h=c.multitool,C=c.multitool_buffer;return(0,o.createComponentVNode)(2,i.Section,{title:"Status",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:l,content:l?"On":"Off",onClick:function(){return a("toggle")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Identification String",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:d,onClick:function(){return a("id")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Network",children:(0,o.createComponentVNode)(2,i.Button,{icon:"pen",content:u,onClick:function(){return a("network")}})}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Prefabrication",children:s?"TRUE":"FALSE"}),m?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Shadow Link",children:"Active."}):null,h?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Multitool Buffer",children:[C?(0,o.createFragment)([C.name,(0,o.createTextVNode)(" ("),C.id,(0,o.createTextVNode)(")")],0):null,(0,o.createComponentVNode)(2,i.Button,{color:C?"green":null,content:C?"Link ("+C.id+")":"Add Machine",icon:C?"link":"plus",onClick:C?function(){return a("link")}:function(){return a("buffer")}}),C?(0,o.createComponentVNode)(2,i.Button,{color:"red",content:"Flush",icon:"trash",onClick:function(){return a("flush")}}):null]}):null]}),(0,o.createComponentVNode)(2,i.Section,{title:"Linked network Entities",mt:1,children:(0,o.createComponentVNode)(2,i.LabeledList,{children:p.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:e.ref+" "+e.name+" ("+e.id+")",buttons:(0,o.createComponentVNode)(2,i.Button.Confirm,{color:"red",icon:"trash",onClick:function(){return a("unlink",{unlink:e.index})}})},e.ref)}))})}),(0,o.createComponentVNode)(2,i.Section,{title:"Filtering Frequencies",mt:1,children:[f.map((function(e){return(0,o.createComponentVNode)(2,i.Button.Confirm,{content:e.name+" GHz",confirmContent:"Delete?",confirmColor:"red",confirmIcon:"trash",onClick:function(){return a("delete",{"delete":e.freq})}},e.index)})),f&&0!==f.length?null:(0,o.createComponentVNode)(2,i.Box,{color:"label",children:"No filters."})]})]})},d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=(n.data,e.options),l=c.use_listening_level,d=c.use_broadcasting,u=c.use_receiving,s=c.listening_level,m=c.broadcasting,p=c.receiving,f=c.use_change_freq,h=c.change_freq,C=c.use_broadcast_range,g=c.use_receive_range,b=c.range,N=c.minRange,v=c.maxRange;return l||d||u||f||C||g?(0,o.createComponentVNode)(2,i.Section,{title:"Options",children:(0,o.createComponentVNode)(2,i.LabeledList,{children:[l?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Signal Locked to Station",children:(0,o.createComponentVNode)(2,i.Button,{icon:s?"lock-closed":"lock-open",content:s?"Yes":"No",onClick:function(){return a("change_listening")}})}):null,d?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Broadcasting",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:m,content:m?"Yes":"No",onClick:function(){return a("broadcast")}})}):null,u?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Receving",children:(0,o.createComponentVNode)(2,i.Button,{icon:"power-off",selected:p,content:p?"Yes":"No",onClick:function(){return a("receive")}})}):null,f?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Change Signal Frequency",children:(0,o.createComponentVNode)(2,i.Button,{icon:"wave-square",selected:!!h,content:h?"Yes ("+h+")":"No",onClick:function(){return a("change_freq")}})}):null,C||g?(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:(C?"Broadcast":"Receive")+" Range",children:(0,o.createComponentVNode)(2,i.NumberInput,{value:b,minValue:N,maxValue:v,unit:"gigameters",stepPixelSize:4,format:function(e){return e+1},onDrag:function(e,t){return a("range",{range:t})}})}):null]})}):(0,o.createComponentVNode)(2,i.Section,{title:"No Options Found"})}},function(e,t,n){"use strict";t.__esModule=!0,t.Turbolift=void 0;var o=n(0),r=(n(6),n(2)),i=n(3),a=n(4);t.Turbolift=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.floors,u=l.doors_open,s=l.fire_mode;return(0,o.createComponentVNode)(2,a.Window,{width:480,height:260+25*s,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:(0,o.createComponentVNode)(2,i.Section,{title:"Floor Selection",className:s?"Section--elevator--fire":null,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{icon:u?"door-open":"door-closed",content:u?s?"Close Doors (SAFETY OFF)":"Doors Open":"Doors Closed",selected:u&&!s,color:s?"red":null,onClick:function(){return c("toggle_doors")}}),(0,o.createComponentVNode)(2,i.Button,{icon:"exclamation-triangle",color:"bad",content:"Emergency Stop",onClick:function(){return c("emergency_stop")}})],4),children:[!s||(0,o.createComponentVNode)(2,i.Section,{className:"Section--elevator--fire",textAlign:"center",title:"FIREFIGHTER MODE ENGAGED"}),(0,o.createComponentVNode)(2,i.Flex,{wrap:"wrap",children:d.map((function(e){return(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,i.Flex,{align:"center",justify:"space-around",children:[(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"22%",textAlign:"right",mr:"3px",children:e.label||"Floor #"+e.id}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"8%",textAlign:"left",children:(0,o.createComponentVNode)(2,i.Button,{icon:"circle",color:e.current?"red":e.target?"green":e.queued?"yellow":null,onClick:function(){return c("move_to_floor",{ref:e.ref})}})}),(0,o.createComponentVNode)(2,i.Flex.Item,{basis:"50%",grow:1,children:e.name})]})},e.id)}))})]})})})}},function(e,t,n){"use strict";t.__esModule=!0,t.VendingMaintenance=t.VendingPurchaseScreen=t.VendingProducts=t.Vending=void 0;var o=n(0),r=(n(9),n(2)),i=n(3),a=n(4),c=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.actively_vending,l=e.product;l.price;return(0,o.createComponentVNode)(2,i.Table.Row,{children:[(0,o.createComponentVNode)(2,i.Table.Cell,{bold:!0,color:l.color,children:l.name}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Box,{color:(l.amount<=0?"bad":l.amount<=l.max_amount/2&&"average")||"good",children:[l.amount," in stock"]})}),(0,o.createComponentVNode)(2,i.Table.Cell,{collapsing:!0,textAlign:"center",children:(0,o.createComponentVNode)(2,i.Button,{fluid:!0,icon:l.price?"credit-card":"download",iconSpin:c===l.name,disabled:0===l.amount,content:l.price?"Buy ("+l.price+"\u20ae)":"Vend",onClick:function(){return a("vend",{vend:l.key})}})})]})};t.Vending=function(e,t){var n=(0,r.useBackend)(t),i=(n.act,n.data),c=i.mode,s=i.panel,m=null;return 0===c?m=(0,o.createComponentVNode)(2,l):1===c&&(m=(0,o.createComponentVNode)(2,d)),(0,o.createComponentVNode)(2,a.Window,{width:450,height:600,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{scrollable:!0,children:[m,s?(0,o.createComponentVNode)(2,u):null]})})};var l=function(e,t){var n=(0,r.useBackend)(t),a=n.act,l=n.data,d=l.coin,u=l.products.filter((function(e){return!!e}));return(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Section,{title:"Products",children:(0,o.createComponentVNode)(2,i.Table,{children:u.map((function(e){return(0,o.createComponentVNode)(2,c,{product:e},e.name)}))})}),!!d&&(0,o.createComponentVNode)(2,i.Section,{title:d+" deposited",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"eject",content:"Eject Coin",onClick:function(){return a("remove_coin")}})})],0)};t.VendingProducts=l;var d=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data,l=c.product,d=c.price,u=c.message,s=c.message_err;return(0,o.createComponentVNode)(2,i.Section,{title:"Payment Confirmation",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:"undo",content:"Cancel",onClick:function(){return a("cancelpurchase")}}),children:[(0,o.createComponentVNode)(2,i.LabeledList,{children:[(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Item selected",children:l}),(0,o.createComponentVNode)(2,i.LabeledList.Item,{label:"Charge",children:[d,"\u20ae"]})]}),(0,o.createComponentVNode)(2,i.Section,{mt:1,label:"Message",color:s?"bad":"",children:u})]})};t.VendingPurchaseScreen=d;var u=function(e,t){var n=(0,r.useBackend)(t),a=n.act,c=n.data.speaker;return(0,o.createComponentVNode)(2,i.Section,{title:"Maintenance Panel",children:(0,o.createComponentVNode)(2,i.Section,{title:"Speaker",buttons:(0,o.createComponentVNode)(2,i.Button,{icon:c?"volume-up":"volume-off",content:c?"Enabled":"Disabled",selected:c,onClick:function(){return a("togglevoice")}})})})};t.VendingMaintenance=u},function(e,t,n){"use strict";t.__esModule=!0,t.VorePanel=void 0;var o=n(0),r=(n(6),n(18)),i=n(2),a=n(3),c=n(4),l=[null,"average","bad"],d={Hold:null,Digest:"red",Absorb:"purple",Unabsorb:"purple",Drain:"purple",Shrink:"purple",Grow:"purple","Size Steal":"purple",Heal:"purple","Encase In Egg":"purple",Transform:"purple","Transform (Hair and eyes)":"purple","Transform (Male)":"purple","Transform (Female)":"purple","Transform (Keep Gender)":"purple","Transform (Replica Of Self)":"purple","Transform (Change Species and Taur)":"purple","Transform (Change Species and Taur) (EGG)":"purple","Transform (Replica Of Self) (EGG)":"purple","Transform (Keep Gender) (EGG)":"purple","Transform (Male) (EGG)":"purple","Transform (Female) (EGG)":"purple"},u={Hold:"being held.",Digest:"being digested.",Absorb:"being absorbed.",Unabsorb:"being unabsorbed.",Drain:"being drained.",Shrink:"being shrunken.",Grow:"being grown.","Size Steal":"having your size stolen.",Heal:"being healed.","Encase In Egg":"being encased in an egg.",Transform:"being transformed.","Transform (Hair and eyes)":"being transformed.","Transform (Male)":"being transformed.","Transform (Female)":"being transformed.","Transform (Keep Gender)":"being transformed.","Transform (Replica Of Self)":"being transformed.","Transform (Change Species and Taur)":"being transformed.","Transform (Change Species and Taur) (EGG)":"being transformed.","Transform (Replica Of Self) (EGG)":"being transformed.","Transform (Keep Gender) (EGG)":"being transformed.","Transform (Male) (EGG)":"being transformed.","Transform (Female) (EGG)":"being transformed."};t.VorePanel=function(e,t){var n=(0,i.useBackend)(t),r=n.act,l=n.data;return(0,o.createComponentVNode)(2,c.Window,{width:700,height:660,resizable:!0,children:(0,o.createComponentVNode)(2,c.Window.Content,{scrollable:!0,children:[l.unsaved_changes&&(0,o.createComponentVNode)(2,a.NoticeBox,{danger:!0,children:(0,o.createComponentVNode)(2,a.Flex,{children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"90%",children:"Warning: Unsaved Changes!"}),(0,o.createComponentVNode)(2,a.Flex.Item,{children:(0,o.createComponentVNode)(2,a.Button,{content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})})]})})||null,(0,o.createComponentVNode)(2,s),(0,o.createComponentVNode)(2,m),(0,o.createComponentVNode)(2,h)]})})};var s=function(e,t){var n=(0,i.useBackend)(t),r=(n.act,n.data.inside),c=r.absorbed,l=r.belly_name,s=r.belly_mode,m=r.desc,p=r.pred,h=r.contents,C=r.ref;return l?(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:[(0,o.createComponentVNode)(2,a.Box,{color:"green",inline:!0,children:["You are currently ",c?"absorbed into":"inside"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:[p,"'s"]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"red",inline:!0,children:l}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"yellow",inline:!0,children:"and you are"}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:d[s],inline:!0,children:u[s]}),"\xa0",(0,o.createComponentVNode)(2,a.Box,{color:"label",children:m}),h.length&&(0,o.createComponentVNode)(2,a.Collapsible,{title:"Belly Contents",children:(0,o.createComponentVNode)(2,f,{contents:h,belly:C})})||"There is nothing else around you."]}):(0,o.createComponentVNode)(2,a.Section,{title:"Inside",children:"You aren't inside anyone."})},m=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data,l=c.our_bellies,u=c.selected;return(0,o.createComponentVNode)(2,a.Section,{title:"My Bellies",children:[(0,o.createComponentVNode)(2,a.Tabs,{children:[l.map((function(e){return(0,o.createComponentVNode)(2,a.Tabs.Tab,{color:e.selected?"green":d[e.digest_mode],onClick:function(){return r("bellypick",{bellypick:e.ref})},children:(0,o.createComponentVNode)(2,a.Box,{inline:!0,color:e.selected&&d[e.digest_mode]||null,children:[e.name," (",e.contents,")"]})},e.name)})),(0,o.createComponentVNode)(2,a.Tabs.Tab,{onClick:function(){return r("newbelly")},children:["New",(0,o.createComponentVNode)(2,a.Icon,{name:"plus",ml:.5})]})]}),u&&(0,o.createComponentVNode)(2,p,{belly:u})]})},p=function(e,t){var n=(0,i.useBackend)(t).act,c=e.belly,l=c.belly_name,u=c.is_wet,s=c.wet_loop,m=c.mode,p=c.item_mode,h=c.verb,C=c.desc,g=c.fancy,b=c.sound,N=c.release_sound,v=c.can_taste,V=c.nutrition_percent,y=c.digest_brute,k=c.digest_burn,x=c.bulge_size,_=c.shrink_grow_size,w=c.addons,L=c.contaminates,B=c.contaminate_flavor,S=c.contaminate_color,I=c.escapable,E=c.interacts,T=c.contents,A=(0,i.useLocalState)(t,"tabIndex",0),O=A[0],M=A[1];return(0,o.createFragment)([(0,o.createComponentVNode)(2,a.Tabs,{children:[(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:0===O,onClick:function(){return M(0)},children:"Controls"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:1===O,onClick:function(){return M(1)},children:"Options"}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:2===O,onClick:function(){return M(2)},children:["Contents (",T.length,")"]}),(0,o.createComponentVNode)(2,a.Tabs.Tab,{selected:3===O,onClick:function(){return M(3)},children:"Interactions"})]}),0===O&&(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Name",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_name"})},content:l})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode",children:(0,o.createComponentVNode)(2,a.Button,{color:d[m],onClick:function(){return n("set_attribute",{attribute:"b_mode"})},content:m})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Flavor Text",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_desc"})},icon:"pen"}),children:C}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Mode Addons",children:[w.length&&w.join(", ")||"None",(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_addons"})},ml:1,icon:"plus"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Item Mode",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_item_mode"})},content:p})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Verb",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_verb"})},content:h})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Belly Messages",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmp"})},content:"Digest Message (to prey)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"dmo"})},content:"Digest Message (to you)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smo"})},content:"Struggle Message (outside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"smi"})},content:"Struggle Message (inside)"}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"em"})},content:"Examine Message (when full)"}),(0,o.createComponentVNode)(2,a.Button,{color:"red",onClick:function(){return n("set_attribute",{attribute:"b_msgs",msgtype:"reset"})},content:"Reset Messages"})]})]})||1===O&&(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Brute Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_brute_dmg"})},content:y})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Burn Damage",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_burn_dmg"})},content:k})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Nutritional Gain",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_nutritionpercent"})},content:V+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contaminates",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contaminates"})},icon:L?"toggle-on":"toggle-off",selected:L,content:L?"Yes":"No"})}),L&&(0,o.createFragment)([(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Flavor",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_flavor"})},icon:"pen",content:B})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Contamination Color",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_contamination_color"})},icon:"pen",content:(0,r.capitalize)(S)})})],4)||null,(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Can Taste",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_tastes"})},icon:v?"toggle-on":"toggle-off",selected:v,content:v?"Yes":"No"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Fleshy Belly",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetness"})},icon:u?"toggle-on":"toggle-off",selected:u,content:u?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Internal Loop",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_wetloop"})},icon:s?"toggle-on":"toggle-off",selected:s,content:s?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Use Fancy Sounds",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_fancy_sound"})},icon:g?"toggle-on":"toggle-off",selected:g,content:g?"Yes":"No"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Vore Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_sound"})},content:b}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_soundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Release Sound",children:[(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_release"})},content:N}),(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_releasesoundtest"})},icon:"volume-up"})]}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Required Examine Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_bulge_size"})},content:100*x+"%"})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Shrink/Grow Size",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_grow_shrink"})},content:100*_+"%"})})]})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",mt:1,children:(0,o.createComponentVNode)(2,a.Button.Confirm,{fluid:!0,icon:"exclamation-triangle",confirmIcon:"trash",color:"red",content:"Delete Belly",confirmContent:"This is irreversable!",onClick:function(){return n("set_attribute",{attribute:"b_del"})}})})]})||2===O&&(0,o.createComponentVNode)(2,f,{outside:!0,contents:T})||3===O&&(0,o.createComponentVNode)(2,a.Section,{title:"Belly Interactions",buttons:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return n("set_attribute",{attribute:"b_escapable"})},icon:I?"toggle-on":"toggle-off",selected:I,content:I?"Interactions On":"Interactions Off"}),children:I?(0,o.createComponentVNode)(2,a.LabeledList,{children:[(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapechance+"%",onClick:function(){return n("set_attribute",{attribute:"b_escapechance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Escape Time",children:(0,o.createComponentVNode)(2,a.Button,{content:E.escapetime/10+"s",onClick:function(){return n("set_attribute",{attribute:"b_escapetime"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_transferchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Transfer Location",children:(0,o.createComponentVNode)(2,a.Button,{content:E.transferlocation?E.transferlocation:"Disabled",onClick:function(){return n("set_attribute",{attribute:"b_transferlocation"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Divider),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Absorb Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.absorbchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_absorbchance"})}})}),(0,o.createComponentVNode)(2,a.LabeledList.Item,{label:"Digest Chance",children:(0,o.createComponentVNode)(2,a.Button,{content:E.digestchance+"%",onClick:function(){return n("set_attribute",{attribute:"b_digestchance"})}})})]}):"These options only display while interactions are turned on."})||"Error."],0)},f=function(e,t){var n=(0,i.useBackend)(t).act,r=e.contents,c=e.belly,d=e.outside,u=void 0!==d&&d;return(0,o.createFragment)([u&&(0,o.createComponentVNode)(2,a.Button,{textAlign:"center",fluid:!0,onClick:function(){return n("pick_from_outside",{pickall:!0})},children:"All"})||null,(0,o.createComponentVNode)(2,a.Flex,{wrap:"wrap",justify:"center",align:"center",children:r.map((function(e){return(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"33%",children:[(0,o.createComponentVNode)(2,a.Button,{width:"64px",color:e.absorbed?"purple":l[e.stat],style:{"vertical-align":"middle","margin-right":"5px","border-radius":"20px"},onClick:function(){return n(e.outside?"pick_from_outside":"pick_from_inside",{pick:e.ref,belly:c})},children:(0,o.createVNode)(1,"img",null,null,1,{src:"data:image/jpeg;base64, "+e.icon,width:"64px",height:"64px",style:{"-ms-interpolation-mode":"nearest-neighbor","margin-left":"-5px"}})}),e.name]},e.name)}))})],0)},h=function(e,t){var n=(0,i.useBackend)(t),r=n.act,c=n.data.prefs,l=c.digestable,d=c.devourable,u=c.feeding,s=c.absorbable,m=c.digest_leave_remains,p=c.allowmobvore,f=c.permit_healbelly,h=c.can_be_drop_prey,C=c.can_be_drop_pred,g=c.noisy;return(0,o.createComponentVNode)(2,a.Section,{title:"Preferences",children:[(0,o.createComponentVNode)(2,a.Flex,{spacing:1,wrap:"wrap",justify:"center",children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_digest")},icon:l?"toggle-on":"toggle-off",selected:l,fluid:!0,tooltip:"This button is for those who don't like being digested. It can make you undigestable."+(l?" Click here to prevent digestion.":" Click here to allow digestion."),content:l?"Digestion Allowed":"No Digestion"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_absorbable")},icon:s?"toggle-on":"toggle-off",selected:s,fluid:!0,tooltip:"This button allows preds to know whether you prefer or don't prefer to be absorbed. "+(s?"Click here to disallow being absorbed.":"Click here to allow being absorbed."),content:s?"Absorption Allowed":"No Absorption"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_devour")},icon:d?"toggle-on":"toggle-off",selected:d,fluid:!0,tooltip:"This button is to toggle your ability to be devoured by others. "+(d?"Click here to prevent being devoured.":"Click here to allow being devoured."),content:d?"Devouring Allowed":"No Devouring"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_mobvore")},icon:p?"toggle-on":"toggle-off",selected:p,fluid:!0,tooltip:"This button is for those who don't like being eaten by mobs. "+(p?"Click here to prevent being eaten by mobs.":"Click here to allow being eaten by mobs."),content:p?"Mobs eating you allowed":"No Mobs eating you"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_feed")},icon:u?"toggle-on":"toggle-off",selected:u,fluid:!0,tooltip:"This button is to toggle your ability to be fed to or by others vorishly. "+(u?"Click here to prevent being fed to/by other people.":"Click here to allow being fed to/by other people."),content:u?"Feeding Allowed":"No Feeding"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_healbelly")},icon:f?"toggle-on":"toggle-off",selected:f,fluid:!0,tooltipPosition:"top",tooltip:"This button is for those who don't like healbelly used on them as a mechanic. It does not affect anything, but is displayed under mechanical prefs for ease of quick checks. "+(f?"Click here to prevent being heal-bellied.":"Click here to allow being heal-bellied."),content:f?"Heal-bellies Allowed":"No Heal-bellies"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_prey")},icon:h?"toggle-on":"toggle-off",selected:h,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as prey, including drop-noms, teleporters, etc. "+(h?"Click here to allow being spontaneous prey.":"Click here to disable being spontaneous prey."),content:h?"Spontaneous Prey Enabled":"Spontaneous Prey Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_dropnom_pred")},icon:C?"toggle-on":"toggle-off",selected:C,fluid:!0,tooltip:"This toggle is for spontaneous, environment related vore as a predator, including drop-noms, teleporters, etc. "+(C?"Click here to allow being spontaneous pred.":"Click here to disable being spontaneous pred."),content:C?"Spontaneous Pred Enabled":"Spontaneous Pred Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"32%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_noisy")},icon:g?"toggle-on":"toggle-off",selected:g,fluid:!0,tooltip:"Toggle audible hunger noises. "+(g?"Click here to turn off hunger noises.":"Click here to turn on hunger noises."),content:g?"Hunger Noises Enabled":"Hunger Noises Disabled"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"100%",children:(0,o.createComponentVNode)(2,a.Button,{onClick:function(){return r("toggle_leaveremains")},icon:m?"toggle-on":"toggle-off",selected:m,fluid:!0,tooltipPosition:"top",tooltip:m?"Your Predator must have this setting enabled in their belly modes to allow remains to show up,if they do not, they will not leave your remains behind, even with this on. Click to disable remains":"Regardless of Predator Setting, you will not leave remains behind. Click this to allow leaving remains.",content:m?"Allow Leaving Remains Behind":"Do Not Allow Leaving Remains Behind"})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Taste",icon:"grin-tongue",onClick:function(){return r("setflavor")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Set Smell",icon:"wind",onClick:function(){return r("setsmell")}})})]}),(0,o.createComponentVNode)(2,a.Section,{children:(0,o.createComponentVNode)(2,a.Flex,{spacing:1,children:[(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Save Prefs",icon:"save",onClick:function(){return r("saveprefs")}})}),(0,o.createComponentVNode)(2,a.Flex.Item,{basis:"49%",grow:1,children:(0,o.createComponentVNode)(2,a.Button,{fluid:!0,content:"Reload Prefs",icon:"undo",onClick:function(){return r("reloadprefs")}})})]})})]})}},function(e,t,n){"use strict";t.__esModule=!0,t.Wires=void 0;var o=n(0),r=n(2),i=n(3),a=n(4);t.Wires=function(e,t){var n=(0,r.useBackend)(t),c=n.act,l=n.data,d=l.wires||[],u=l.status||[];return(0,o.createComponentVNode)(2,a.Window,{width:350,height:150+30*d.length,resizable:!0,children:(0,o.createComponentVNode)(2,a.Window.Content,{children:[(0,o.createComponentVNode)(2,i.Section,{children:(0,o.createComponentVNode)(2,i.LabeledList,{children:d.map((function(e){return(0,o.createComponentVNode)(2,i.LabeledList.Item,{className:"candystripe",label:e.color_name,labelColor:e.seen_color,color:e.seen_color,buttons:(0,o.createFragment)([(0,o.createComponentVNode)(2,i.Button,{content:e.cut?"Mend":"Cut",onClick:function(){return c("cut",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:"Pulse",onClick:function(){return c("pulse",{wire:e.color})}}),(0,o.createComponentVNode)(2,i.Button,{content:e.attached?"Detach":"Attach",onClick:function(){return c("attach",{wire:e.color})}})],4),children:!!e.wire&&(0,o.createVNode)(1,"i",null,[(0,o.createTextVNode)("("),e.wire,(0,o.createTextVNode)(")")],0)},e.seen_color)}))})}),!!u.length&&(0,o.createComponentVNode)(2,i.Section,{children:u.map((function(e){return(0,o.createComponentVNode)(2,i.Box,{color:"lightgray",mt:.1,children:e},e)}))})]})})}}]); \ No newline at end of file From c65b29e9fc18c4e24b717070d34e44316ab17ffd Mon Sep 17 00:00:00 2001 From: Rykka Date: Tue, 18 Aug 2020 12:09:11 -0400 Subject: [PATCH 051/149] Fixes Nanotrasen Uniforms to account for Solgov Path Changes This was introduced thanks to a PR in mid-2019, and NT Sec/etc uniforms had been broken since then. Screenshot of broken uniforms: ![](https://i.imgur.com/AVii80Z.png) As of now, the in-hand sprite is the only one that's 'broken', display JSUIT on your sprite, but the actual UI in-hand works, the on-ground works, the on-mob works, so frankly, after two+ hours, I'm calling it good here. This fixes all derivative NT uniforms too. --- code/modules/clothing/under/nanotrasen_vr.dm | 21 +++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/code/modules/clothing/under/nanotrasen_vr.dm b/code/modules/clothing/under/nanotrasen_vr.dm index f6eeecfb43..65dee31347 100644 --- a/code/modules/clothing/under/nanotrasen_vr.dm +++ b/code/modules/clothing/under/nanotrasen_vr.dm @@ -3,29 +3,32 @@ /obj/item/clothing/under/nanotrasen name = "NanoTrasen uniform" desc = "A comfortable turtleneck and black trousers sporting nanotrasen symbols." - icon_state = "navyutility" - worn_state = "navyutility" + icon = 'icons/obj/clothing/uniforms_solgov.dmi' + icon_override = 'icons/mob/uniform_solgov.dmi' + item_icons = list(slot_w_uniform_str = 'icons/mob/uniform_solgov.dmi', slot_r_hand_str = "black", slot_l_hand_str = "black") + icon_state = "blackutility" + worn_state = "blackutility" armor = list(melee = 0, bullet = 0, laser = 0,energy = 0, bomb = 0, bio = 0, rad = 0) siemens_coefficient = 0.9 /obj/item/clothing/under/nanotrasen/security name = "NanoTrasen security uniform" desc = "The security uniform of NanoTrasen's security. It looks sturdy and well padded" - icon_state = "navyutility_sec" - worn_state = "navyutility_sec" + icon_state = "blackutility_crew" + worn_state = "blackutility_crew" armor = list(melee = 10, bullet = 5, laser = 5, energy = 5, bomb = 5, bio = 0, rad = 0) /obj/item/clothing/under/nanotrasen/security/warden name = "NanoTrasen warden uniform" desc = "The uniform of the NanoTrasen's prison wardens. It looks sturdy and well padded. This one has gold cuffs." - icon_state = "navyutility_com" - worn_state = "navyutility_com" + icon_state = "blackutility_com" + worn_state = "blackutility_com" /obj/item/clothing/under/nanotrasen/security/commander name = "NanoTrasen security command uniform" desc = "The uniform of the NanoTrasen's security commanding officers. It looks sturdy and well padded. This one has gold trim and red blazes." - icon_state = "blackutility_seccom" - worn_state = "blackutility_seccom" + icon_state = "blackutility_com" + worn_state = "blackutility_com" //Head Gear @@ -42,7 +45,7 @@ /obj/item/clothing/head/beret/nanotrasen name = "NanoTrasen security beret" desc = "A NT blue beret belonging to the NanoTrasen security forces. For personnel that are more inclined towards style than safety." - icon_state = "beret_navy" + icon_state = "beret_navy_security" //Armor From 61faa8057cf2603afe74a3743dcb37f2860658f6 Mon Sep 17 00:00:00 2001 From: ShadowLarkens Date: Tue, 18 Aug 2020 13:47:43 -0700 Subject: [PATCH 052/149] Brig timer adjustment & camera console panning --- code/game/machinery/doors/brigdoors.dm | 11 +++++--- code/modules/tgui/modules/camera.dm | 26 +++++++++++++++++-- tgui/packages/tgui/hotkeys.js | 4 +++ tgui/packages/tgui/interfaces/BrigTimer.js | 6 ++--- .../packages/tgui/interfaces/CameraConsole.js | 17 ++++++------ tgui/packages/tgui/public/tgui.bundle.js | 14 +++++----- 6 files changed, 54 insertions(+), 24 deletions(-) diff --git a/code/game/machinery/doors/brigdoors.dm b/code/game/machinery/doors/brigdoors.dm index eb239dfb2b..30e0d6f82f 100644 --- a/code/game/machinery/doors/brigdoors.dm +++ b/code/game/machinery/doors/brigdoors.dm @@ -4,9 +4,9 @@ #define FONT_STYLE "Small Fonts" #define MAX_TIMER 36000 -#define PRESET_SHORT 5 MINUTES -#define PRESET_MEDIUM 15 MINUTES -#define PRESET_LONG 30 MINUTES +#define PRESET_SHORT 1 MINUTES +#define PRESET_MEDIUM 5 MINUTES +#define PRESET_LONG 10 MINUTES //This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31 @@ -162,6 +162,9 @@ data["timing"] = timing data["flash_found"] = FALSE data["flash_charging"] = FALSE + data["preset_short"] = PRESET_SHORT + data["preset_medium"] = PRESET_MEDIUM + data["preset_long"] = PRESET_LONG for(var/obj/machinery/flasher/F in targets) data["flash_found"] = TRUE if(F.last_flash && (F.last_flash + 150) > world.time) @@ -207,7 +210,7 @@ preset_time = PRESET_MEDIUM if("long") preset_time = PRESET_LONG - set_timer(preset_time) + set_timer(timer_duration + preset_time) if(timing) activation_time = world.time else diff --git a/code/modules/tgui/modules/camera.dm b/code/modules/tgui/modules/camera.dm index d9ac311ee3..dbb3c7ae97 100644 --- a/code/modules/tgui/modules/camera.dm +++ b/code/modules/tgui/modules/camera.dm @@ -141,11 +141,33 @@ var/obj/machinery/camera/C = cameras["[ckey(c_tag)]"] active_camera = C playsound(tgui_host(), get_sfx("terminal_type"), 25, FALSE) - reload_cameraview() - return TRUE + if(action == "pan") + var/dir = params["dir"] + var/turf/T = get_turf(active_camera) + for(var/i in 1 to 10) + T = get_step(T, dir) + if(T) + var/obj/machinery/camera/target + var/best_dist = INFINITY + + var/list/possible_cameras = get_available_cameras(usr) + for(var/obj/machinery/camera/C in get_area(T)) + if(!possible_cameras["[ckey(C.c_tag)]"]) + continue + var/dist = get_dist(C, T) + if(dist < best_dist) + best_dist = dist + target = C + + if(target) + active_camera = target + playsound(tgui_host(), get_sfx("terminal_type"), 25, FALSE) + reload_cameraview() + . = TRUE + /datum/tgui_module/camera/proc/differential_check() var/turf/T = get_turf(active_camera) if(T) diff --git a/tgui/packages/tgui/hotkeys.js b/tgui/packages/tgui/hotkeys.js index 0beff6b028..2af94daef9 100644 --- a/tgui/packages/tgui/hotkeys.js +++ b/tgui/packages/tgui/hotkeys.js @@ -17,6 +17,10 @@ export const KEY_CTRL = 17; export const KEY_ALT = 18; export const KEY_ESCAPE = 27; export const KEY_SPACE = 32; +export const KEY_ARROWLEFT = 37; +export const KEY_ARROWUP = 38; +export const KEY_ARROWRIGHT = 39; +export const KEY_ARROWDOWN = 40; export const KEY_0 = 48; export const KEY_1 = 49; export const KEY_2 = 50; diff --git a/tgui/packages/tgui/interfaces/BrigTimer.js b/tgui/packages/tgui/interfaces/BrigTimer.js index 5edcc66c35..f6461a51e0 100644 --- a/tgui/packages/tgui/interfaces/BrigTimer.js +++ b/tgui/packages/tgui/interfaces/BrigTimer.js @@ -44,21 +44,21 @@ export const BrigTimer = (props, context) => { + + {calibration.map((cal, i) => ( + + Cal #{i}: + + + ))} + + + + +
+ + + + + + + + +
+
+ + + + + ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/OvermapEngines.js b/tgui/packages/tgui/interfaces/OvermapEngines.js new file mode 100644 index 0000000000..5dd80a8b70 --- /dev/null +++ b/tgui/packages/tgui/interfaces/OvermapEngines.js @@ -0,0 +1,110 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, AnimatedNumber, Collapsible } from "../components"; +import { Window } from "../layouts"; + +export const OvermapEngines = (props, context) => { + const { act, data } = useBackend(context); + const { + global_state, // This indicates all engines being powered up or not + global_limit, // Global Thrust limit + engines_info, // Array of engines + total_thrust, // Total thrust of all engines together + } = data; + return ( + + +
+ + + + + + +
+
+ {engines_info.map((engine, i) => ( + + + + Engine #{i + 1} | + Thrust: | + Limit: val + "%"} /> + + // "Engine " + (i + 1) + // + " | Thrust: " + engine.eng_thrust + // + " | Limit: " + engine.eng_thrust_limiter + "%" + )}> +
+ + + {engine.eng_type} + + + + {engine.eng_on ? (engine.eng_on === 1 ? "Online" : "Booting") : "Offline"} + + {engine.eng_status.map(status => { + if (Array.isArray(status)) { + return {status[0]}; + } else { + return {status}; + } + })} + + + {engine.eng_thrust} + + + +
+
+
+ + + +
+ ))} +
+
+
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/OvermapHelm.js b/tgui/packages/tgui/interfaces/OvermapHelm.js new file mode 100644 index 0000000000..0ddd5112d6 --- /dev/null +++ b/tgui/packages/tgui/interfaces/OvermapHelm.js @@ -0,0 +1,235 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend, useLocalState } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, Table } from "../components"; +import { Window } from "../layouts"; +import { OvermapFlightData, OvermapPanControls } from './common/Overmap'; + +export const OvermapHelm = (props, context) => { + const { act, data } = useBackend(context); + return ( + + + + + + + + + + + + + + + + + ); +}; + +export const OvermapFlightDataWrap = (props, context) => { + const { act, data } = useBackend(context); + + // While, yes, this is a strange choice to use fieldset over Section + // just look at how pretty the legend is, sticking partially through the border ;///; + return ( +
+ Flight Data + +
+ ); +}; + +const OvermapManualControl = (props, context) => { + const { act, data } = useBackend(context); + + const { + canburn, + manual_control, + } = data; + + return ( +
+ Manual Control + + + + + + + + Direct Control + + + +
+ ); +}; + +const OvermapAutopilot = (props, context) => { + const { act, data } = useBackend(context); + const { + dest, + d_x, + d_y, + speedlimit, + autopilot, + autopilot_disabled, + } = data; + + if (autopilot_disabled) { + return ( +
+ Autopilot + + AUTOPILOT DISABLED + + + Warning: This vessel is equipped with a class I autopilot. + Class I autopilots are unable to do anything but fly in a + straight line directly towards the target, and may result in + collisions. + + + act("apilot_lock")} /> + +
+ ); + } + + return ( +
+ Autopilot + + + {dest && ( + + + + + ) || ( + + )} + + + + + + + +
+ ); +}; + +const OvermapNavComputer = (props, context) => { + const { act, data } = useBackend(context); + + const { + sector, + s_x, + s_y, + sector_info, + landed, + locations, + } = data; + + return ( +
+ + + {sector} + + + {s_x} : {s_y} + + + {sector_info} + + + {landed} + + + + + + + + + + +
+ + + Name + Coordinates + Actions + + {locations.map(loc => ( + + {loc.name} + {loc.x} : {loc.y} + + + + + + ))} +
+
+
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/OvermapNavigation.js b/tgui/packages/tgui/interfaces/OvermapNavigation.js new file mode 100644 index 0000000000..48215060ab --- /dev/null +++ b/tgui/packages/tgui/interfaces/OvermapNavigation.js @@ -0,0 +1,54 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section } from "../components"; +import { Window } from "../layouts"; +import { OvermapFlightData } from "./common/Overmap"; + +export const OvermapNavigation = (props, context) => { + return ( + + + + + + ); +}; + +export const OvermapNavigationContent = (props, context) => { + const { act, data } = useBackend(context); + const { + sector, + s_x, + s_y, + sector_info, + viewing, + } = data; + return ( + +
act("viewing")}> + Map View + + }> + + + {sector} + + + {s_x} : {s_y} + + + {sector_info} + + +
+
+ +
+
+ ); +}; diff --git a/tgui/packages/tgui/interfaces/OvermapShipSensors.js b/tgui/packages/tgui/interfaces/OvermapShipSensors.js new file mode 100644 index 0000000000..980b27446e --- /dev/null +++ b/tgui/packages/tgui/interfaces/OvermapShipSensors.js @@ -0,0 +1,111 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section } from "../components"; +import { Window } from "../layouts"; + +export const OvermapShipSensors = (props, context) => { + const { act, data } = useBackend(context); + const { + viewing, + on, + range, + health, + max_health, + heat, + critical_heat, + status, + contacts, + } = data; + + return ( + + +
+ + + + )}> + + + {status} + + + + + + + {health} / {max_health} + + + + + {heat < critical_heat * 0.5 && ( + Temperature low. + ) || heat < critical_heat * 0.75 && ( + Sensor temperature high! + ) || ( + TEMPERATURE CRITICAL: Disable or reduce power immediately! + )} + + + +
+
+ {contacts.length && contacts.map(alien => ( + + )) || ( + + No contacts on sensors. + + )} +
+ {data.status === "MISSING" && ( +
+ +
+ ) || null} +
+
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/common/Overmap.js b/tgui/packages/tgui/interfaces/common/Overmap.js new file mode 100644 index 0000000000..17a2b2cfee --- /dev/null +++ b/tgui/packages/tgui/interfaces/common/Overmap.js @@ -0,0 +1,117 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend, useLocalState } from "../../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, Table } from "../../components"; + +export const OvermapFlightData = (props, context) => { + const { act, data } = useBackend(context); + + const { + disableLimiterControls, + } = props; + + const { + ETAnext, + speed, + speed_color, + accel, + heading, + accellimit, + } = data; + + // While, yes, this is a strange choice to use fieldset over Section + // just look at how pretty the legend is, sticking partially through the border ;///; + return ( + + + {ETAnext} + + + {speed} Gm/h + + + {accel} Gm/h + + + {heading}° + + {!disableLimiterControls && ( + + + + ) || null} + + ); +}; + +export const OvermapPanControls = (props, context) => { + const { act } = useBackend(context); + + const { + disabled, + actToDo, + selected = val => false, + } = props; + + return ( + + + + }> + + {mode.desc} + + + Multiplier: {mode.multiplier} + + + ))} + + + ); +}; + +const OvermapShieldGeneratorStatus = (props, context) => { + const { act, data } = useBackend(context); + const { + running, + overloaded, + mitigation_max, + mitigation_physical, + mitigation_em, + mitigation_heat, + field_integrity, + max_energy, + current_energy, + percentage_energy, + total_segments, + functional_segments, + field_radius, + target_radius, + input_cap_kw, + upkeep_power_usage, + power_usage, + spinup_counter, + } = data; + + return ( +
+ + + {running === 1 && ( + Shutting Down + ) || running === 2 && ( + overloaded && ( + Overloaded + ) || ( + Running + ) + ) || running === 3 && ( + Inactive + ) || running === 4 && ( + + Spinning Up  + {target_radius !== field_radius && ( + (Adjusting Radius) + ) || ( + {spinup_counter * 2}s + )} + + ) || ( + + Offline + + )} + + + + {current_energy} / {max_energy} MJ ({percentage_energy}%) + + + + % + + + {mitigation_em}% EM / {mitigation_physical}% PH / {mitigation_heat}% HE / {mitigation_max}% MAX + + + kW + + + {input_cap_kw && ( + + + {power_usage} / {input_cap_kw} kW + + + ) || ( + + kW (No Limit) + + )} + + +  /  + m² + (radius , target ) + + +
+ ); +}; + +const OvermapShieldGeneratorControls = (props, context) => { + const { act, data } = useBackend(context); + const { + running, + hacked, + idle_multiplier, + idle_valid_values, + } = data; + + return ( +
+ {running >= 2 && ( + + + {running === 3 && ( + + ) || ( + + )} + + ) || ( + + )} + {running && hacked && ( + + ) || null} + + }> + + + + + {idle_valid_values.map(val => ( + + ))} + + +
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/PointDefenseControl.js b/tgui/packages/tgui/interfaces/PointDefenseControl.js new file mode 100644 index 0000000000..68bcd56d55 --- /dev/null +++ b/tgui/packages/tgui/interfaces/PointDefenseControl.js @@ -0,0 +1,47 @@ +import { round } from 'common/math'; +import { Fragment } from 'inferno'; +import { useBackend, useLocalState } from "../backend"; +import { Box, Button, Flex, Icon, LabeledList, ProgressBar, Section, Table, AnimatedNumber } from "../components"; +import { Window } from "../layouts"; + +export const PointDefenseControl = (props, context) => { + const { act, data } = useBackend(context); + const { + id, + turrets, + } = data; + return ( + + +
+ {turrets.length && turrets.map(pd => ( +
act("toggle_active", { target: pd.ref })}> + {pd.active ? "Online" : "Offline"} + + }> + + + {pd.effective_range} + + + {pd.reaction_wheel_delay} + + + {pd.recharge_time} + + +
+ )) || ( + + Error: No weapon systems detected. Please check network connection. + + )} +
+
+
+ ); +}; \ No newline at end of file diff --git a/tgui/packages/tgui/interfaces/common/Overmap.js b/tgui/packages/tgui/interfaces/common/Overmap.js index 17a2b2cfee..bc0af18f93 100644 --- a/tgui/packages/tgui/interfaces/common/Overmap.js +++ b/tgui/packages/tgui/interfaces/common/Overmap.js @@ -96,7 +96,7 @@ export const OvermapPanControls = (props, context) => {